ETH Price: $3,920.56 (-0.49%)

Contract

0x9E22ebeC84c7e4C4bD6D4aE7FF6f4D436D6D8390
Transaction Hash
Method
Block
From
To
Deposit1288526152024-12-04 9:20:078 days ago1733304007IN
0x9E22ebeC...36D6D8390
0.00053769945289 ETH0.0000020985990.00000129
Deposit1279759672024-11-14 2:18:3129 days ago1731550711IN
0x9E22ebeC...36D6D8390
0.0006 ETH0.0000003581270.00100045
Deposit1277158572024-11-08 1:48:1135 days ago1731030491IN
0x9E22ebeC...36D6D8390
0.001717068346188 ETH0.0000001205820.00011052
Deposit1266323732024-10-13 23:52:0360 days ago1728863523IN
0x9E22ebeC...36D6D8390
0.008108031410513 ETH0.0000001050630.00162826
Withdraw1264659732024-10-10 3:25:2364 days ago1728530723IN
0x9E22ebeC...36D6D8390
0 ETH0.0000002204390.00436683
Deposit1261716122024-10-03 7:53:2170 days ago1727942001IN
0x9E22ebeC...36D6D8390
0.001731667553618 ETH0.0000000573070.00050033
Deposit1261439332024-10-02 16:30:4371 days ago1727886643IN
0x9E22ebeC...36D6D8390
0.001622704886775 ETH0.0000009951440.0301959
Deposit1261388112024-10-02 13:39:5971 days ago1727876399IN
0x9E22ebeC...36D6D8390
0.002887336143673 ETH0.0000002566240.00723353
Deposit1261307942024-10-02 9:12:4571 days ago1727860365IN
0x9E22ebeC...36D6D8390
0.00161548278703 ETH0.0000000838610.0015086
Deposit1261298422024-10-02 8:41:0171 days ago1727858461IN
0x9E22ebeC...36D6D8390
0.004062555307064 ETH0.0000000627140.00055396
Deposit1261163472024-10-02 1:11:1172 days ago1727831471IN
0x9E22ebeC...36D6D8390
0.001619138213685 ETH0.0000001085840.00278246
Deposit1260900452024-10-01 10:34:2772 days ago1727778867IN
0x9E22ebeC...36D6D8390
0.001519179642992 ETH0.0000001100580.00022227
Deposit1260547552024-09-30 14:58:0773 days ago1727708287IN
0x9E22ebeC...36D6D8390
0.015321385206436 ETH0.0000001735650.00098523
Deposit1260500652024-09-30 12:21:4773 days ago1727698907IN
0x9E22ebeC...36D6D8390
0.001520091813545 ETH0.0000000984930.00086617
Deposit1260472092024-09-30 10:46:3573 days ago1727693195IN
0x9E22ebeC...36D6D8390
0.001537893700787 ETH0.0000000816880.0004855
Deposit1260177162024-09-29 18:23:2974 days ago1727634209IN
0x9E22ebeC...36D6D8390
0.018777650089757 ETH0.0000001279270.0027233
Deposit1259968042024-09-29 6:46:2574 days ago1727592385IN
0x9E22ebeC...36D6D8390
0.00300963459274 ETH0.0000000794790.00138311
Deposit1259852462024-09-29 0:21:0975 days ago1727569269IN
0x9E22ebeC...36D6D8390
0.001512757589 ETH0.0000001242360.00344478
Deposit1259848592024-09-29 0:08:1575 days ago1727568495IN
0x9E22ebeC...36D6D8390
0.001867476404435 ETH0.0000001246540.00350365
Deposit1259840072024-09-28 23:39:5175 days ago1727566791IN
0x9E22ebeC...36D6D8390
0.00149622203935 ETH0.0000001302740.00371092
Deposit1259638352024-09-28 12:27:2775 days ago1727526447IN
0x9E22ebeC...36D6D8390
0.007500750075007 ETH0.000000575920.02158804
Deposit1259546662024-09-28 7:21:4975 days ago1727508109IN
0x9E22ebeC...36D6D8390
0.001492047387425 ETH0.0000001364060.00336511
Deposit1259301902024-09-27 17:45:5776 days ago1727459157IN
0x9E22ebeC...36D6D8390
0.014873095314231 ETH0.0000004891030.0158109
Deposit1259219392024-09-27 13:10:5576 days ago1727442655IN
0x9E22ebeC...36D6D8390
0.018838138942577 ETH0.0000002118170.00458086
Deposit1259119512024-09-27 7:37:5976 days ago1727422679IN
0x9E22ebeC...36D6D8390
0.001504098668872 ETH0.0000001342250.0013465
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
1264659732024-10-10 3:25:2364 days ago1728530723
0x9E22ebeC...36D6D8390
0.109951352390582 ETH
1258392652024-09-25 15:15:0778 days ago1727277307
0x9E22ebeC...36D6D8390
0.201261114413389 ETH
1253748652024-09-14 21:15:0789 days ago1726348507
0x9E22ebeC...36D6D8390
0.201634221353302 ETH
1251508802024-09-09 16:48:5794 days ago1725900537
0x9E22ebeC...36D6D8390
0.0005 ETH
1251198672024-09-08 23:35:1195 days ago1725838511
0x9E22ebeC...36D6D8390
0.000555 ETH
1251198152024-09-08 23:33:2795 days ago1725838407
0x9E22ebeC...36D6D8390
0.000555 ETH
1251197892024-09-08 23:32:3595 days ago1725838355
0x9E22ebeC...36D6D8390
0.000555 ETH
1251197572024-09-08 23:31:3195 days ago1725838291
0x9E22ebeC...36D6D8390
0.000555 ETH
1251197362024-09-08 23:30:4995 days ago1725838249
0x9E22ebeC...36D6D8390
0.000555 ETH
1251193572024-09-08 23:18:1195 days ago1725837491
0x9E22ebeC...36D6D8390
0.00055 ETH
1251192352024-09-08 23:14:0795 days ago1725837247
0x9E22ebeC...36D6D8390
0.000555 ETH
1251189062024-09-08 23:03:0995 days ago1725836589
0x9E22ebeC...36D6D8390
0.000555 ETH
1251185242024-09-08 22:50:2595 days ago1725835825
0x9E22ebeC...36D6D8390
0.000555 ETH
1251184122024-09-08 22:46:4195 days ago1725835601
0x9E22ebeC...36D6D8390
0.000555 ETH
1251182742024-09-08 22:42:0595 days ago1725835325
0x9E22ebeC...36D6D8390
0.000559 ETH
1251156642024-09-08 21:15:0595 days ago1725830105
0x9E22ebeC...36D6D8390
0.201194706140655 ETH
1251143782024-09-08 20:32:1395 days ago1725827533
0x9E22ebeC...36D6D8390
0.0007 ETH
1251139842024-09-08 20:19:0595 days ago1725826745
0x9E22ebeC...36D6D8390
0.0007 ETH
1251139392024-09-08 20:17:3595 days ago1725826655
0x9E22ebeC...36D6D8390
0.0007 ETH
1250255892024-09-06 19:12:3597 days ago1725649955
0x9E22ebeC...36D6D8390
0.0007 ETH
1250255032024-09-06 19:09:4397 days ago1725649783
0x9E22ebeC...36D6D8390
0.0006 ETH
1246548652024-08-29 5:15:07106 days ago1724908507
0x9E22ebeC...36D6D8390
0.208836829784397 ETH
1240568202024-08-15 9:00:17119 days ago1723712417
0x9E22ebeC...36D6D8390
0.206571887509054 ETH
1238408152024-08-10 9:00:07124 days ago1723280407
0x9E22ebeC...36D6D8390
0.223701916482559 ETH
1238084282024-08-09 15:00:33125 days ago1723215633
0x9E22ebeC...36D6D8390
0.24233311868028 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GasZip

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : GasZip.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

contract GasZip {

    event Deposit(address from, uint256 chains, uint256 amount, address to);

    
    address public owner;

    constructor(address _owner) {
        owner = _owner;
    }

    function deposit(uint256 chains, address to) payable external {
        require(msg.value != 0);
        emit Deposit(msg.sender, chains, msg.value, to);
    }

    function withdraw(address token) external {
        require(msg.sender == owner);
        if (token == address(0)) {
            owner.call{value: address(this).balance}("");
        } else {
            IERC20(token).transfer(owner, IERC20(token).balanceOf(address(this)));
        }
    }

    function newOwner(address _owner) external {
        require(msg.sender == owner);
        owner = _owner;
    }
}

interface IERC20 {
    function balanceOf(address) external view returns (uint256);
    function transfer(address, uint256) external returns (bool);
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "solady/=lib/solady/src/",
    "solmate/=lib/solady/lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"chains","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Deposit","type":"event"},{"inputs":[{"internalType":"uint256","name":"chains","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"newOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161044238038061044283398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6103af806100936000396000f3fe60806040526004361061003f5760003560e01c806351cff8d9146100445780636e553f651461006657806385952454146100795780638da5cb5b14610099575b600080fd5b34801561005057600080fd5b5061006461005f3660046102f0565b6100d5565b005b610064610074366004610312565b61023c565b34801561008557600080fd5b506100646100943660046102f0565b61029b565b3480156100a557600080fd5b506000546100b9906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6000546001600160a01b031633146100ec57600080fd5b6001600160a01b03811661015257600080546040516001600160a01b039091169147919081818185875af1925050503d8060008114610147576040519150601f19603f3d011682016040523d82523d6000602084013e61014c565b606091505b50505050565b6000546040516370a0823160e01b81523060048201526001600160a01b038381169263a9059cbb9291169083906370a0823190602401602060405180830381865afa1580156101a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c9919061033e565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102389190610357565b5050565b3460000361024957600080fd5b604080513381526020810184905234818301526001600160a01b038316606082015290517f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b479181900360800190a15050565b6000546001600160a01b031633146102b257600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b80356001600160a01b03811681146102eb57600080fd5b919050565b60006020828403121561030257600080fd5b61030b826102d4565b9392505050565b6000806040838503121561032557600080fd5b82359150610335602084016102d4565b90509250929050565b60006020828403121561035057600080fd5b5051919050565b60006020828403121561036957600080fd5b8151801515811461030b57600080fdfea264697066735822122009c2f080e8db8dea517e771ae48e38840bb50feffb2d2b2e48775562b95823d664736f6c634300081300330000000000000000000000004c968f6beecf1906710b08e8b472b8ba6e75f957

Deployed Bytecode

0x60806040526004361061003f5760003560e01c806351cff8d9146100445780636e553f651461006657806385952454146100795780638da5cb5b14610099575b600080fd5b34801561005057600080fd5b5061006461005f3660046102f0565b6100d5565b005b610064610074366004610312565b61023c565b34801561008557600080fd5b506100646100943660046102f0565b61029b565b3480156100a557600080fd5b506000546100b9906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6000546001600160a01b031633146100ec57600080fd5b6001600160a01b03811661015257600080546040516001600160a01b039091169147919081818185875af1925050503d8060008114610147576040519150601f19603f3d011682016040523d82523d6000602084013e61014c565b606091505b50505050565b6000546040516370a0823160e01b81523060048201526001600160a01b038381169263a9059cbb9291169083906370a0823190602401602060405180830381865afa1580156101a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c9919061033e565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102389190610357565b5050565b3460000361024957600080fd5b604080513381526020810184905234818301526001600160a01b038316606082015290517f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b479181900360800190a15050565b6000546001600160a01b031633146102b257600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b80356001600160a01b03811681146102eb57600080fd5b919050565b60006020828403121561030257600080fd5b61030b826102d4565b9392505050565b6000806040838503121561032557600080fd5b82359150610335602084016102d4565b90509250929050565b60006020828403121561035057600080fd5b5051919050565b60006020828403121561036957600080fd5b8151801515811461030b57600080fdfea264697066735822122009c2f080e8db8dea517e771ae48e38840bb50feffb2d2b2e48775562b95823d664736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000004c968f6beecf1906710b08e8b472b8ba6e75f957

-----Decoded View---------------
Arg [0] : _owner (address): 0x4c968f6bEecf1906710b08e8B472b8Ba6E75F957

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c968f6beecf1906710b08e8b472b8ba6e75f957


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
[ 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.