Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 714 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Submit V1 | 21450828 | 57 days ago | IN | 0 ETH | 0.00119416 | ||||
Send Token | 21424829 | 61 days ago | IN | 0.00000178 ETH | 0.00239484 | ||||
Send Token | 21410357 | 63 days ago | IN | 0.00000178 ETH | 0.00146232 | ||||
Submit V1 | 21408452 | 63 days ago | IN | 0 ETH | 0.0014397 | ||||
Submit V1 | 21402577 | 64 days ago | IN | 0 ETH | 0.00162329 | ||||
Submit V1 | 21401313 | 64 days ago | IN | 0 ETH | 0.00118271 | ||||
Submit V1 | 21400639 | 64 days ago | IN | 0 ETH | 0.00131418 | ||||
Submit V1 | 21397788 | 65 days ago | IN | 0 ETH | 0.00157769 | ||||
Submit V1 | 21397252 | 65 days ago | IN | 0 ETH | 0.00182762 | ||||
Submit V1 | 21396854 | 65 days ago | IN | 0 ETH | 0.00150812 | ||||
Submit V1 | 21393264 | 65 days ago | IN | 0 ETH | 0.00170419 | ||||
Submit V1 | 21370682 | 69 days ago | IN | 0 ETH | 0.00191997 | ||||
Submit V1 | 21362934 | 70 days ago | IN | 0 ETH | 0.00154199 | ||||
Submit V1 | 21362931 | 70 days ago | IN | 0 ETH | 0.00159609 | ||||
Send Token | 21360458 | 70 days ago | IN | 0.00000178 ETH | 0.00192029 | ||||
Submit V1 | 21353715 | 71 days ago | IN | 0 ETH | 0.00163062 | ||||
Send Token | 21351591 | 71 days ago | IN | 0.00000178 ETH | 0.00191893 | ||||
Submit V1 | 21350900 | 71 days ago | IN | 0 ETH | 0.00168721 | ||||
Submit V1 | 21350633 | 71 days ago | IN | 0 ETH | 0.00163643 | ||||
Submit V1 | 21348101 | 72 days ago | IN | 0 ETH | 0.0019967 | ||||
Send Token | 21347955 | 72 days ago | IN | 0.00000178 ETH | 0.0015196 | ||||
Send Token | 21340225 | 73 days ago | IN | 0.00000178 ETH | 0.00382805 | ||||
Send Token | 21338005 | 73 days ago | IN | 0.00000178 ETH | 0.00305274 | ||||
Send Token | 21333259 | 74 days ago | IN | 0.00000178 ETH | 0.00199837 | ||||
Send Token | 21318255 | 76 days ago | IN | 0.00000178 ETH | 0.00276303 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21424829 | 61 days ago | 0.00000178 ETH | ||||
21410357 | 63 days ago | 0.00000178 ETH | ||||
21360458 | 70 days ago | 0.00000178 ETH | ||||
21351591 | 71 days ago | 0.00000178 ETH | ||||
21347955 | 72 days ago | 0.00000178 ETH | ||||
21340225 | 73 days ago | 0.00000178 ETH | ||||
21338005 | 73 days ago | 0.00000178 ETH | ||||
21333259 | 74 days ago | 0.00000178 ETH | ||||
21318255 | 76 days ago | 0.00000178 ETH | ||||
21311904 | 77 days ago | 0.00000178 ETH | ||||
21311005 | 77 days ago | 0.00000178 ETH | ||||
21300252 | 78 days ago | 0.00000178 ETH | ||||
21298854 | 79 days ago | 0.00000178 ETH | ||||
21298645 | 79 days ago | 0.00000178 ETH | ||||
21294713 | 79 days ago | 0.00000178 ETH | ||||
21291345 | 80 days ago | 0.00000178 ETH | ||||
21291274 | 80 days ago | 0.00000178 ETH | ||||
21287252 | 80 days ago | 0.00000178 ETH | ||||
21277020 | 82 days ago | 0.00000178 ETH | ||||
21266482 | 83 days ago | 0.00000178 ETH | ||||
21265943 | 83 days ago | 0.00000178 ETH | ||||
21264635 | 83 days ago | 0.00000178 ETH | ||||
21261152 | 84 days ago | 0.00000178 ETH | ||||
21259529 | 84 days ago | 0.00000178 ETH | ||||
21258290 | 84 days ago | 0.00000178 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
GatewayProxy
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 999999 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.25; 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.25; /** * @title Initialization of gateway logic contracts */ interface IInitializable { function initialize(bytes calldata data) external; }
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: 2023 OpenZeppelin // SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> pragma solidity 0.8.25; // 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.25; /// @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) } } }
{ "optimizer": { "enabled": true, "runs": 999999 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": 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
608060405234801561001057600080fd5b5060405161043438038061043483398101604081905261002f91610168565b610057827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b600080836001600160a01b0316836040516024016100759190610236565b60408051601f198184030181529181526020820180516001600160e01b031663439fab9160e01b179052516100aa9190610269565b600060405180830381855af49150503d80600081146100e5576040519150601f19603f3d011682016040523d82523d6000602084013e6100ea565b606091505b5090925090506100fa8282610104565b5050505050610285565b60608215610113575080610128565b8151156101235781518083602001fd5b600080fd5b92915050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015f578181015183820152602001610147565b50506000910152565b6000806040838503121561017b57600080fd5b82516001600160a01b038116811461019257600080fd5b60208401519092506001600160401b03808211156101af57600080fd5b818501915085601f8301126101c357600080fd5b8151818111156101d5576101d561012e565b604051601f8201601f19908116603f011681019083821181831017156101fd576101fd61012e565b8160405282815288602084870101111561021657600080fd5b610227836020830160208801610144565b80955050505050509250929050565b6020815260008251806020840152610255816040850160208701610144565b601f01601f19169190910160400192915050565b6000825161027b818460208701610144565b9190910192915050565b6101a0806102946000396000f3fe6080604052600436106100225760003560e01c8063439fab91146100ab57610059565b36610059576040517f858d70bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006100837f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b90503660008037600080366000845af43d6000803e8080156100a4573d6000f35b3d6000fd5b005b3480156100b757600080fd5b506100a96100c63660046100f8565b6040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806020838503121561010b57600080fd5b823567ffffffffffffffff8082111561012357600080fd5b818501915085601f83011261013757600080fd5b81358181111561014657600080fd5b86602082850101111561015857600080fd5b6020929092019691955090935050505056fea26469706673582212209eec94d4203acf71cffa066352832f6bca5951cd542a37ce0c25988cf9774f2464736f6c63430008190033000000000000000000000000c7c95b98c55a3ba3bd8cb51af85f465fbffba493000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000df64fb6f66900000000000000000000000000000000000000000000000000000000000003e881c5ab2571199e3188135178f3c2c8e2d268be1313d029b30f534fa579b69b79000000000000000000000000000000000000000000000000002e7a027af3a00000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000016345785d8a000100000000000000000000000000000000000000000000000014d1120d7b160000000000000000000000000000d5c71e38be810c7fd996b752f53fd4de1699b789
Deployed Bytecode
0x6080604052600436106100225760003560e01c8063439fab91146100ab57610059565b36610059576040517f858d70bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006100837f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b90503660008037600080366000845af43d6000803e8080156100a4573d6000f35b3d6000fd5b005b3480156100b757600080fd5b506100a96100c63660046100f8565b6040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806020838503121561010b57600080fd5b823567ffffffffffffffff8082111561012357600080fd5b818501915085601f83011261013757600080fd5b81358181111561014657600080fd5b86602082850101111561015857600080fd5b6020929092019691955090935050505056fea26469706673582212209eec94d4203acf71cffa066352832f6bca5951cd542a37ce0c25988cf9774f2464736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c7c95b98c55a3ba3bd8cb51af85f465fbffba493000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000df64fb6f66900000000000000000000000000000000000000000000000000000000000003e881c5ab2571199e3188135178f3c2c8e2d268be1313d029b30f534fa579b69b79000000000000000000000000000000000000000000000000002e7a027af3a00000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000016345785d8a000100000000000000000000000000000000000000000000000014d1120d7b160000000000000000000000000000d5c71e38be810c7fd996b752f53fd4de1699b789
-----Decoded View---------------
Arg [0] : implementation (address): 0xC7c95B98c55a3bA3BD8cb51AF85f465fBFFbA493
Arg [1] : params (bytes): 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000df64fb6f66900000000000000000000000000000000000000000000000000000000000003e881c5ab2571199e3188135178f3c2c8e2d268be1313d029b30f534fa579b69b79000000000000000000000000000000000000000000000000002e7a027af3a00000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000016345785d8a000100000000000000000000000000000000000000000000000014d1120d7b160000000000000000000000000000d5c71e38be810c7fd996b752f53fd4de1699b789
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 000000000000000000000000c7c95b98c55a3ba3bd8cb51af85f465fbffba493
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [5] : 00000000000000000000000000000000000000000000000000000df64fb6f669
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [7] : 81c5ab2571199e3188135178f3c2c8e2d268be1313d029b30f534fa579b69b79
Arg [8] : 000000000000000000000000000000000000000000000000002e7a027af3a000
Arg [9] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [10] : 000000000000000000000000000000000000000000000000016345785d8a0001
Arg [11] : 00000000000000000000000000000000000000000000000014d1120d7b160000
Arg [12] : 000000000000000000000000d5c71e38be810c7fd996b752f53fd4de1699b789
Loading...
Loading
Loading...
Loading
Multichain 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.