ETH Price: $2,692.95 (-0.15%)

Contract

0x78a355f2f1177Ae5a17CAacB9611eeFDB63eBCCD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Submit V1214508282024-12-21 12:16:5957 days ago1734783419IN
0x78a355f2...DB63eBCCD
0 ETH0.001194168.19479079
Send Token214248292024-12-17 21:05:1161 days ago1734469511IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0023948419.65708146
Send Token214103572024-12-15 20:39:2363 days ago1734295163IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0014623211.54792196
Submit V1214084522024-12-15 14:15:3563 days ago1734272135IN
0x78a355f2...DB63eBCCD
0 ETH0.00143978.75846045
Submit V1214025772024-12-14 18:35:3564 days ago1734201335IN
0x78a355f2...DB63eBCCD
0 ETH0.001623299.97028223
Submit V1214013132024-12-14 14:20:3564 days ago1734186035IN
0x78a355f2...DB63eBCCD
0 ETH0.001182718.0720129
Submit V1214006392024-12-14 12:04:5964 days ago1734177899IN
0x78a355f2...DB63eBCCD
0 ETH0.001314187.99288568
Submit V1213977882024-12-14 2:31:5965 days ago1734143519IN
0x78a355f2...DB63eBCCD
0 ETH0.001577699.59707081
Submit V1213972522024-12-14 0:44:4765 days ago1734137087IN
0x78a355f2...DB63eBCCD
0 ETH0.0018276211.16877203
Submit V1213968542024-12-13 23:24:3565 days ago1734132275IN
0x78a355f2...DB63eBCCD
0 ETH0.0015081210.35236907
Submit V1213932642024-12-13 11:22:5965 days ago1734088979IN
0x78a355f2...DB63eBCCD
0 ETH0.0017041911.69828512
Submit V1213706822024-12-10 7:42:1169 days ago1733816531IN
0x78a355f2...DB63eBCCD
0 ETH0.0019199711.51762754
Submit V1213629342024-12-09 5:44:5970 days ago1733723099IN
0x78a355f2...DB63eBCCD
0 ETH0.0015419910.19914323
Submit V1213629312024-12-09 5:44:2370 days ago1733723063IN
0x78a355f2...DB63eBCCD
0 ETH0.001596099.48367039
Send Token213604582024-12-08 21:27:2370 days ago1733693243IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0019202915.16445648
Submit V1213537152024-12-07 22:53:1171 days ago1733611991IN
0x78a355f2...DB63eBCCD
0 ETH0.001630629.8278624
Send Token213515912024-12-07 15:45:1171 days ago1733586311IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0019189315.75078756
Submit V1213509002024-12-07 13:25:4771 days ago1733577947IN
0x78a355f2...DB63eBCCD
0 ETH0.0016872111.58063365
Submit V1213506332024-12-07 12:31:5971 days ago1733574719IN
0x78a355f2...DB63eBCCD
0 ETH0.0016364310.93808083
Submit V1213481012024-12-07 4:02:2372 days ago1733544143IN
0x78a355f2...DB63eBCCD
0 ETH0.001996711.86304449
Send Token213479552024-12-07 3:33:1172 days ago1733542391IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.001519612.47306661
Send Token213402252024-12-06 1:38:4773 days ago1733449127IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0038280530.23290223
Send Token213380052024-12-05 18:12:3573 days ago1733422355IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0030527425.05722682
Send Token213332592024-12-05 2:17:2374 days ago1733365043IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0019983716.40288088
Send Token213182552024-12-02 23:59:1176 days ago1733183951IN
0x78a355f2...DB63eBCCD
0.00000178 ETH0.0027630322.67702683
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214248292024-12-17 21:05:1161 days ago1734469511
0x78a355f2...DB63eBCCD
0.00000178 ETH
214103572024-12-15 20:39:2363 days ago1734295163
0x78a355f2...DB63eBCCD
0.00000178 ETH
213604582024-12-08 21:27:2370 days ago1733693243
0x78a355f2...DB63eBCCD
0.00000178 ETH
213515912024-12-07 15:45:1171 days ago1733586311
0x78a355f2...DB63eBCCD
0.00000178 ETH
213479552024-12-07 3:33:1172 days ago1733542391
0x78a355f2...DB63eBCCD
0.00000178 ETH
213402252024-12-06 1:38:4773 days ago1733449127
0x78a355f2...DB63eBCCD
0.00000178 ETH
213380052024-12-05 18:12:3573 days ago1733422355
0x78a355f2...DB63eBCCD
0.00000178 ETH
213332592024-12-05 2:17:2374 days ago1733365043
0x78a355f2...DB63eBCCD
0.00000178 ETH
213182552024-12-02 23:59:1176 days ago1733183951
0x78a355f2...DB63eBCCD
0.00000178 ETH
213119042024-12-02 2:40:2377 days ago1733107223
0x78a355f2...DB63eBCCD
0.00000178 ETH
213110052024-12-01 23:39:4777 days ago1733096387
0x78a355f2...DB63eBCCD
0.00000178 ETH
213002522024-11-30 11:39:4778 days ago1732966787
0x78a355f2...DB63eBCCD
0.00000178 ETH
212988542024-11-30 6:58:3579 days ago1732949915
0x78a355f2...DB63eBCCD
0.00000178 ETH
212986452024-11-30 6:16:4779 days ago1732947407
0x78a355f2...DB63eBCCD
0.00000178 ETH
212947132024-11-29 17:03:3579 days ago1732899815
0x78a355f2...DB63eBCCD
0.00000178 ETH
212913452024-11-29 5:44:2380 days ago1732859063
0x78a355f2...DB63eBCCD
0.00000178 ETH
212912742024-11-29 5:29:4780 days ago1732858187
0x78a355f2...DB63eBCCD
0.00000178 ETH
212872522024-11-28 16:00:3580 days ago1732809635
0x78a355f2...DB63eBCCD
0.00000178 ETH
212770202024-11-27 5:32:4782 days ago1732685567
0x78a355f2...DB63eBCCD
0.00000178 ETH
212664822024-11-25 18:13:1183 days ago1732558391
0x78a355f2...DB63eBCCD
0.00000178 ETH
212659432024-11-25 16:24:2383 days ago1732551863
0x78a355f2...DB63eBCCD
0.00000178 ETH
212646352024-11-25 12:00:2383 days ago1732536023
0x78a355f2...DB63eBCCD
0.00000178 ETH
212611522024-11-25 0:21:2384 days ago1732494083
0x78a355f2...DB63eBCCD
0.00000178 ETH
212595292024-11-24 18:55:2384 days ago1732474523
0x78a355f2...DB63eBCCD
0.00000178 ETH
212582902024-11-24 14:46:2384 days ago1732459583
0x78a355f2...DB63eBCCD
0.00000178 ETH
View All Internal Transactions
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
File 1 of 4 : GatewayProxy.sol
// 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();
    }
}

File 2 of 4 : IInitializable.sol
// 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;
}

File 3 of 4 : Call.sol
// 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();
            }
        }
    }
}

File 4 of 4 : ERC1967.sol
// 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)
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"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"}]

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.