Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 531 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send Token | 21364485 | 10 mins ago | IN | 0.00043513 ETH | 0.00121269 | ||||
Submit V1 | 21364472 | 13 mins ago | IN | 0 ETH | 0.00162405 | ||||
Send Token | 21364404 | 27 mins ago | IN | 0.00043513 ETH | 0.00098093 | ||||
Submit V1 | 21364180 | 1 hr ago | IN | 0 ETH | 0.00164809 | ||||
Send Token | 21364129 | 1 hr ago | IN | 0.00043513 ETH | 0.00125611 | ||||
Send Token | 21363978 | 1 hr ago | IN | 0.00043513 ETH | 0.00128949 | ||||
Submit V1 | 21363925 | 2 hrs ago | IN | 0 ETH | 0.00190337 | ||||
Send Token | 21363808 | 2 hrs ago | IN | 0.00043513 ETH | 0.00113249 | ||||
Submit V1 | 21363659 | 2 hrs ago | IN | 0 ETH | 0.0014423 | ||||
Send Token | 21361482 | 10 hrs ago | IN | 0.00043513 ETH | 0.00205369 | ||||
Send Token | 21356261 | 27 hrs ago | IN | 0.00043513 ETH | 0.00087711 | ||||
Send Token | 21355888 | 28 hrs ago | IN | 0.00031734 ETH | 0.00079339 | ||||
Send Token | 21355141 | 31 hrs ago | IN | 0.00043513 ETH | 0.00100758 | ||||
Send Token | 21352764 | 39 hrs ago | IN | 0.00043513 ETH | 0.00139247 | ||||
Send Token | 21351566 | 43 hrs ago | IN | 0.00031734 ETH | 0.00140025 | ||||
Send Token | 21351558 | 43 hrs ago | IN | 0.00031734 ETH | 0.00144128 | ||||
Send Token | 21347811 | 2 days ago | IN | 0.00043513 ETH | 0.00139936 | ||||
Submit V1 | 21345738 | 2 days ago | IN | 0 ETH | 0.00460383 | ||||
Send Token | 21345618 | 2 days ago | IN | 0.00031734 ETH | 0.00284742 | ||||
Send Token | 21344559 | 2 days ago | IN | 0.00031734 ETH | 0.00417172 | ||||
Submit V1 | 21343211 | 2 days ago | IN | 0 ETH | 0.00181092 | ||||
Submit V1 | 21343012 | 3 days ago | IN | 0 ETH | 0.00202343 | ||||
Send Token | 21342974 | 3 days ago | IN | 0.0003409 ETH | 0.00161693 | ||||
Send Token | 21342908 | 3 days ago | IN | 0.0003409 ETH | 0.00173093 | ||||
Send Token | 21342843 | 3 days ago | IN | 0.0003409 ETH | 0.00176671 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21364485 | 10 mins ago | 0.00043513 ETH | ||||
21364404 | 27 mins ago | 0.00043513 ETH | ||||
21364129 | 1 hr ago | 0.00043513 ETH | ||||
21363978 | 1 hr ago | 0.00043513 ETH | ||||
21363808 | 2 hrs ago | 0.00043513 ETH | ||||
21361482 | 10 hrs ago | 0.00043513 ETH | ||||
21356261 | 27 hrs ago | 0.00043513 ETH | ||||
21355888 | 28 hrs ago | 0.00031734 ETH | ||||
21355141 | 31 hrs ago | 0.00043513 ETH | ||||
21352764 | 39 hrs ago | 0.00043513 ETH | ||||
21351566 | 43 hrs ago | 0.00031734 ETH | ||||
21351558 | 43 hrs ago | 0.00031734 ETH | ||||
21347811 | 2 days ago | 0.00043513 ETH | ||||
21345618 | 2 days ago | 0.00031734 ETH | ||||
21344559 | 2 days ago | 0.00031734 ETH | ||||
21342974 | 3 days ago | 0.0003409 ETH | ||||
21342908 | 3 days ago | 0.0003409 ETH | ||||
21342843 | 3 days ago | 0.0003409 ETH | ||||
21342482 | 3 days ago | 0.0003409 ETH | ||||
21340666 | 3 days ago | 0.00043513 ETH | ||||
21340454 | 3 days ago | 0.00043513 ETH | ||||
21340270 | 3 days ago | 0.00043513 ETH | ||||
21340034 | 3 days ago | 0.00043513 ETH | ||||
21335446 | 4 days ago | 0.00043513 ETH | ||||
21335328 | 4 days ago | 0.00031734 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
GatewayProxy
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 100000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> pragma solidity 0.8.23; import {ERC1967} from "./utils/ERC1967.sol"; import {Call} from "./utils/Call.sol"; import {IInitializable} from "./interfaces/IInitializable.sol"; contract GatewayProxy is IInitializable { error Unauthorized(); error NativeCurrencyNotAccepted(); constructor(address implementation, bytes memory params) { // Store the address of the implementation contract ERC1967.store(implementation); // Initialize storage by calling the implementation's `initialize(bytes)` function // using `delegatecall`. (bool success, bytes memory returndata) = implementation.delegatecall(abi.encodeCall(IInitializable.initialize, params)); Call.verifyResult(success, returndata); } // Prevent fallback() from calling `IInitializable.initialize(bytes)` on the implementation contract function initialize(bytes calldata) external pure { revert Unauthorized(); } fallback() external payable { address implementation = ERC1967.load(); assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } // Prevent users from unwittingly sending ether to the gateway, as these funds // would otherwise be lost forever. receive() external payable { revert NativeCurrencyNotAccepted(); } }
// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> pragma solidity 0.8.23; /// @title Minimal implementation of ERC1967 storage slot library ERC1967 { // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1) bytes32 public constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; function load() internal view returns (address implementation) { assembly { implementation := sload(_IMPLEMENTATION_SLOT) } } function store(address implementation) internal { assembly { sstore(_IMPLEMENTATION_SLOT, implementation) } } }
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: 2023 OpenZeppelin // SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> pragma solidity 0.8.23; // Derived from OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) library Call { function verifyResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(); } } } }
// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> pragma solidity 0.8.23; /** * @title Initialization of gateway logic contracts */ interface IInitializable { function initialize(bytes calldata data) external; }
{ "remappings": [ "canonical-weth/=lib/canonical-weth/contracts/", "ds-test/=lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "prb/math/=lib/prb-math/", "@prb/test/=lib/prb-math/lib/prb-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "prb-math/=lib/prb-math/src/", "prb-test/=lib/prb-math/lib/prb-test/src/" ], "optimizer": { "enabled": true, "runs": 100000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"bytes","name":"params","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NativeCurrencyNotAccepted","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"pure","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604090808252346101525761034a803803809161001e8285610157565b833981019082818303126101525780516001600160a01b03811681036101525760208281015190926001600160401b03821161015257019083601f830112156101525781519061006d82610190565b61007987519182610157565b82815284810195858486010111610152578561009f6000959461013b98888897016101ab565b827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5561010b6064895180936100f48a83019663439fab9160e01b88528b6024850152518092816044860152858501906101ab565b601f80199101168101036044810184520182610157565b51915af43d15610149573d61011f81610190565b9061012c86519283610157565b8152600081933d92013e6101ce565b505161016590816101e58239f35b606091506101ce565b600080fd5b601f909101601f19168101906001600160401b0382119082101761017a57604052565b634e487b7160e01b600052604160045260246000fd5b6001600160401b03811161017a57601f01601f191660200190565b60005b8381106101be5750506000910152565b81810151838201526020016101ae565b156101d65790565b805190811561015257602001fdfe60806040526004361015610018575b366100ee576100c4565b6000803560e01c63439fab911461002f575061000e565b346100bd5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100bd5760043567ffffffffffffffff8082116100c057366023830112156100c05781600401359081116100c057369101602401116100bd577f82b429000000000000000000000000000000000000000000000000000000000060805260046080fd5b80fd5b8280fd5b60046040517f858d70bd000000000000000000000000000000000000000000000000000000008152fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000808092368280378136915af43d82803e1561012b573d90f35b3d90fdfea2646970667358221220d8fae508b8669b85b5745726fbaf4c36e7f5050764cceeb27f2c624c2a3c8e9f64736f6c63430008170033000000000000000000000000015637649f83ca8cea840c149178f040fd7bd3a400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361015610018575b366100ee576100c4565b6000803560e01c63439fab911461002f575061000e565b346100bd5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100bd5760043567ffffffffffffffff8082116100c057366023830112156100c05781600401359081116100c057369101602401116100bd577f82b429000000000000000000000000000000000000000000000000000000000060805260046080fd5b80fd5b8280fd5b60046040517f858d70bd000000000000000000000000000000000000000000000000000000008152fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000808092368280378136915af43d82803e1561012b573d90f35b3d90fdfea2646970667358221220d8fae508b8669b85b5745726fbaf4c36e7f5050764cceeb27f2c624c2a3c8e9f64736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000015637649f83ca8cea840c149178f040fd7bd3a400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : implementation (address): 0x015637649F83ca8cea840C149178f040fD7BD3a4
Arg [1] : params (bytes): 0x
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000015637649f83ca8cea840c149178f040fd7bd3a4
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
This the main gateway contract (proxy) for the Snowbridge bridge between Ethereum and PolkadotMultichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.