Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 889 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send Token | 21871996 | 2 hrs ago | IN | 0.00028456 ETH | 0.00008647 | ||||
Submit V1 | 21871828 | 3 hrs ago | IN | 0 ETH | 0.00009534 | ||||
Submit V1 | 21867873 | 16 hrs ago | IN | 0 ETH | 0.0007458 | ||||
Send Token | 21867366 | 17 hrs ago | IN | 0.0003409 ETH | 0.00250908 | ||||
Submit V1 | 21867339 | 18 hrs ago | IN | 0 ETH | 0.00352327 | ||||
Submit V1 | 21866809 | 19 hrs ago | IN | 0 ETH | 0.01213221 | ||||
Send Token | 21866420 | 21 hrs ago | IN | 0.00031734 ETH | 0.0006038 | ||||
Submit V1 | 21866415 | 21 hrs ago | IN | 0 ETH | 0.00069881 | ||||
Send Token | 21866232 | 21 hrs ago | IN | 0.0003409 ETH | 0.00084488 | ||||
Submit V1 | 21865851 | 23 hrs ago | IN | 0 ETH | 0.00058685 | ||||
Submit V1 | 21865835 | 23 hrs ago | IN | 0 ETH | 0.00083682 | ||||
Submit V1 | 21865665 | 23 hrs ago | IN | 0 ETH | 0.00014412 | ||||
Send Token | 21865613 | 23 hrs ago | IN | 0.0003409 ETH | 0.00021591 | ||||
Send Token | 21865200 | 25 hrs ago | IN | 0.00032205 ETH | 0.00008929 | ||||
Send Token | 21855586 | 2 days ago | IN | 0.00043513 ETH | 0.00007274 | ||||
Send Token | 21852846 | 2 days ago | IN | 0.00043513 ETH | 0.00013855 | ||||
Submit V1 | 21851056 | 3 days ago | IN | 0 ETH | 0.00011701 | ||||
Send Token | 21847046 | 3 days ago | IN | 0.00043513 ETH | 0.00008663 | ||||
Submit V1 | 21846238 | 3 days ago | IN | 0 ETH | 0.00021252 | ||||
Send Token | 21845775 | 3 days ago | IN | 0.00032205 ETH | 0.00022617 | ||||
Send Token | 21845485 | 3 days ago | IN | 0.00031734 ETH | 0.0004823 | ||||
Submit V1 | 21845373 | 3 days ago | IN | 0 ETH | 0.00027874 | ||||
Send Token | 21844974 | 3 days ago | IN | 0.00031734 ETH | 0.00021023 | ||||
Send Token | 21844838 | 3 days ago | IN | 0.0003409 ETH | 0.0002167 | ||||
Send Token | 21844818 | 3 days ago | IN | 0.0003409 ETH | 0.0003377 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21871996 | 2 hrs ago | 0.00028456 ETH | ||||
21867366 | 17 hrs ago | 0.0003409 ETH | ||||
21866420 | 21 hrs ago | 0.00031734 ETH | ||||
21866232 | 21 hrs ago | 0.0003409 ETH | ||||
21865613 | 23 hrs ago | 0.0003409 ETH | ||||
21865200 | 25 hrs ago | 0.00032205 ETH | ||||
21855586 | 2 days ago | 0.00043513 ETH | ||||
21852846 | 2 days ago | 0.00043513 ETH | ||||
21847046 | 3 days ago | 0.00043513 ETH | ||||
21845775 | 3 days ago | 0.00032205 ETH | ||||
21845485 | 3 days ago | 0.00031734 ETH | ||||
21844974 | 3 days ago | 0.00031734 ETH | ||||
21844838 | 3 days ago | 0.0003409 ETH | ||||
21844818 | 3 days ago | 0.0003409 ETH | ||||
21844792 | 3 days ago | 0.00032205 ETH | ||||
21844783 | 3 days ago | 0.0003409 ETH | ||||
21844752 | 3 days ago | 0.00031734 ETH | ||||
21844073 | 4 days ago | 0.00043513 ETH | ||||
21843575 | 4 days ago | 0.00043513 ETH | ||||
21842714 | 4 days ago | 0.0003409 ETH | ||||
21841899 | 4 days ago | 0.00043513 ETH | ||||
21840326 | 4 days ago | 0.00043513 ETH | ||||
21837764 | 4 days ago | 0.00043513 ETH | ||||
21835823 | 5 days ago | 0.00043513 ETH | ||||
21835415 | 5 days ago | 0.00043513 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 | 31 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.