Overview
ETH Balance
0.044373927631765084 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 25 from a total of 809 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
Amount
|
||||
|---|---|---|---|---|---|---|---|---|---|
| V2_submit | 10381562 | 8 days ago | IN | 0 ETH | 0.00000012 | ||||
| Submit V1 | 10381504 | 8 days ago | IN | 0 ETH | 0.00000013 | ||||
| V2_send Message | 10377105 | 9 days ago | IN | 0.00058564 ETH | 0.00000009 | ||||
| V2_send Message | 10377102 | 9 days ago | IN | 0.00058564 ETH | 0.00000011 | ||||
| V2_send Message | 10377100 | 9 days ago | IN | 0.00067937 ETH | 0.00000006 | ||||
| Send Token | 10377097 | 9 days ago | IN | 0.0012768 ETH | 0.0000001 | ||||
| Send Token | 10377092 | 9 days ago | IN | 0.0012768 ETH | 0.00000009 | ||||
| V2_send Message | 10376970 | 9 days ago | IN | 0.0006783 ETH | 0.00000006 | ||||
| V2_register Toke... | 10376954 | 9 days ago | IN | 0.00202731 ETH | 0.00000008 | ||||
| Submit V1 | 10376635 | 9 days ago | IN | 0 ETH | 0.00000012 | ||||
| Submit V1 | 10293205 | 21 days ago | IN | 0 ETH | 0.00035573 | ||||
| Submit V1 | 10292669 | 21 days ago | IN | 0 ETH | 0.00034167 | ||||
| V2_submit | 10244615 | 28 days ago | IN | 0 ETH | 0.00125604 | ||||
| V2_submit | 10244537 | 28 days ago | IN | 0 ETH | 0.0011895 | ||||
| V2_submit | 10244465 | 28 days ago | IN | 0 ETH | 0.00123019 | ||||
| V2_submit | 10243091 | 28 days ago | IN | 0 ETH | 0.00124022 | ||||
| V2_submit | 10243065 | 28 days ago | IN | 0 ETH | 0.0012549 | ||||
| Submit V1 | 10237989 | 29 days ago | IN | 0 ETH | 0.00014384 | ||||
| V2_submit | 10065074 | 54 days ago | IN | 0 ETH | 0.0002193 | ||||
| V2_submit | 10065008 | 54 days ago | IN | 0 ETH | 0.00021518 | ||||
| V2_submit | 10065006 | 54 days ago | IN | 0 ETH | 0.00023178 | ||||
| V2_submit | 10022853 | 60 days ago | IN | 0 ETH | 0.00000022 | ||||
| V2_submit | 10022813 | 60 days ago | IN | 0 ETH | 0.00000022 | ||||
| V2_submit | 10022765 | 60 days ago | IN | 0 ETH | 0.00000021 | ||||
| V2_submit | 10022763 | 60 days ago | IN | 0 ETH | 0.00000022 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
To
|
Amount
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 10381504 | 8 days ago | 0.00100014 ETH | ||||
| Transfer | 10377105 | 9 days ago | 0.00058564 ETH | ||||
| Transfer | 10377102 | 9 days ago | 0.00058564 ETH | ||||
| Transfer | 10377100 | 9 days ago | 0.00067937 ETH | ||||
| Transfer | 10376970 | 9 days ago | 0.0006783 ETH | ||||
| Transfer | 10376954 | 9 days ago | 0.00202731 ETH | ||||
| Transfer | 10376635 | 9 days ago | 0.00100014 ETH | ||||
| Transfer | 10293205 | 21 days ago | 0.00139684 ETH | ||||
| Transfer | 10292669 | 21 days ago | 0.00138115 ETH | ||||
| Transfer | 10244358 | 28 days ago | 0.00058454 ETH | ||||
| V2_send Message | 10244358 | 28 days ago | 0.00058454 ETH | ||||
| Transfer | 10239414 | 29 days ago | 0.00157825 ETH | ||||
| V2_send Message | 10239414 | 29 days ago | 0.00157825 ETH | ||||
| Transfer | 10239331 | 29 days ago | 0.00059321 ETH | ||||
| V2_send Message | 10239331 | 29 days ago | 0.00059321 ETH | ||||
| Transfer | 10239210 | 29 days ago | 0.01058715 ETH | ||||
| V2_send Message | 10239210 | 29 days ago | 0.01058715 ETH | ||||
| Transfer | 10239160 | 29 days ago | 0.01058715 ETH | ||||
| V2_send Message | 10239160 | 29 days ago | 0.01058715 ETH | ||||
| Transfer | 10237989 | 29 days ago | 0.00116077 ETH | ||||
| Transfer | 10133186 | 44 days ago | 0.0001 ETH | ||||
| Send Token | 10133186 | 44 days ago | 0.00137778 ETH | ||||
| Transfer | 10076190 | 52 days ago | 0.01058715 ETH | ||||
| V2_send Message | 10076190 | 52 days ago | 0.01058715 ETH | ||||
| Transfer | 10076190 | 52 days ago | 0.01058715 ETH |
Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x02190f8a...4D90b189A The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
GatewayProxy
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 20000 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 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.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 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": 20000
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": true,
"libraries": {
"src/Assets.sol": {
"Assets": "0x529D0D2DB206a7Cde8C7119Cf45dE3F19c138e03"
},
"src/Verification.sol": {
"Verification": "0xD981a496b748D9E60fdDfFB3ffeAABCFD6FCf0C5"
}
}
}Contract ABI
API[{"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
0x6080604090808252346101525761034a803803809161001e8285610157565b833981019082818303126101525780516001600160a01b03811681036101525760208281015190926001600160401b03821161015257019083601f830112156101525781519061006d82610190565b61007987519182610157565b82815284810195858486010111610152578561009f6000959461013b98888897016101ab565b827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5561010b6064895180936100f48a83019663439fab9160e01b88528b6024850152518092816044860152858501906101ab565b601f80199101168101036044810184520182610157565b51915af43d15610149573d61011f81610190565b9061012c86519283610157565b8152600081933d92013e6101ce565b505161016590816101e58239f35b606091506101ce565b600080fd5b601f909101601f19168101906001600160401b0382119082101761017a57604052565b634e487b7160e01b600052604160045260246000fd5b6001600160401b03811161017a57601f01601f191660200190565b60005b8381106101be5750506000910152565b81810151838201526020016101ae565b156101d65790565b805190811561015257602001fdfe60806040526004361015610018575b366100ee576100c4565b6000803560e01c63439fab911461002f575061000e565b346100bd5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100bd5760043567ffffffffffffffff8082116100c057366023830112156100c05781600401359081116100c057369101602401116100bd577f82b429000000000000000000000000000000000000000000000000000000000060805260046080fd5b80fd5b8280fd5b60046040517f858d70bd000000000000000000000000000000000000000000000000000000008152fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000808092368280378136915af43d82803e1561012b573d90f35b3d90fdfea2646970667358221220f380f4d3d1764f1f2ba95c8232c2edc0b248e885c995492de549d2dc774544ce64736f6c634300081900330000000000000000000000000d21649f8d01c03bab97d93dd20c18eb50cc616000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361015610018575b366100ee576100c4565b6000803560e01c63439fab911461002f575061000e565b346100bd5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100bd5760043567ffffffffffffffff8082116100c057366023830112156100c05781600401359081116100c057369101602401116100bd577f82b429000000000000000000000000000000000000000000000000000000000060805260046080fd5b80fd5b8280fd5b60046040517f858d70bd000000000000000000000000000000000000000000000000000000008152fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546000808092368280378136915af43d82803e1561012b573d90f35b3d90fdfea2646970667358221220f380f4d3d1764f1f2ba95c8232c2edc0b248e885c995492de549d2dc774544ce64736f6c63430008190033
Loading...
Loading
Loading...
Loading
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.