S Price: $0.461918 (+1.18%)

Contract

0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762
Age:1H
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
214817352025-04-22 3:30:131 hr ago1745292613
Gas.Zip: Contract Deposit v1
4.6008162 S
214528772025-04-21 23:29:105 hrs ago1745278150
Gas.Zip: Contract Deposit v1
0.04406011 S
214511892025-04-21 23:10:055 hrs ago1745277005
Gas.Zip: Contract Deposit v1
0.04763664 S
213256472025-04-21 6:38:3722 hrs ago1745217517
Gas.Zip: Contract Deposit v1
0.71218703 S
212748992025-04-21 1:10:0627 hrs ago1745197806
Gas.Zip: Contract Deposit v1
0.04227582 S
212234172025-04-20 19:04:0533 hrs ago1745175845
Gas.Zip: Contract Deposit v1
0.05024545 S
212226092025-04-20 18:58:2733 hrs ago1745175507
Gas.Zip: Contract Deposit v1
0.04325252 S
211809382025-04-20 13:01:3139 hrs ago1745154091
Gas.Zip: Contract Deposit v1
0.04321988 S
211785012025-04-20 12:37:4340 hrs ago1745152663
Gas.Zip: Contract Deposit v1
0.04339007 S
211610832025-04-20 10:17:2942 hrs ago1745144249
Gas.Zip: Contract Deposit v1
0.04294146 S
211512292025-04-20 8:43:0344 hrs ago1745138583
Gas.Zip: Contract Deposit v1
0.04250591 S
211410542025-04-20 7:01:3645 hrs ago1745132496
Gas.Zip: Contract Deposit v1
0.04224758 S
211169562025-04-20 2:18:062 days ago1745115486
Gas.Zip: Contract Deposit v1
0.0463355 S
210961502025-04-19 22:30:352 days ago1745101835
Gas.Zip: Contract Deposit v1
0.04191513 S
210771112025-04-19 19:11:592 days ago1745089919
Gas.Zip: Contract Deposit v1
4.4218713 S
210540322025-04-19 15:51:202 days ago1745077880
Gas.Zip: Contract Deposit v1
0.04283712 S
210522262025-04-19 15:36:072 days ago1745076967
Gas.Zip: Contract Deposit v1
0.04259002 S
210511352025-04-19 15:27:202 days ago1745076440
Gas.Zip: Contract Deposit v1
4.45494823 S
210455062025-04-19 14:35:522 days ago1745073352
Gas.Zip: Contract Deposit v1
0.89707807 S
210349912025-04-19 12:59:212 days ago1745067561
Gas.Zip: Contract Deposit v1
0.0435131 S
210347452025-04-19 12:57:122 days ago1745067432
Gas.Zip: Contract Deposit v1
0.0435224 S
210334972025-04-19 12:45:392 days ago1745066739
Gas.Zip: Contract Deposit v1
0.04681897 S
210283382025-04-19 11:52:482 days ago1745063568
Gas.Zip: Contract Deposit v1
0.04280609 S
210204932025-04-19 10:33:132 days ago1745058793
Gas.Zip: Contract Deposit v1
4.50936053 S
210178472025-04-19 10:07:212 days ago1745057241
Gas.Zip: Contract Deposit v1
0.04252538 S
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GasZipV2

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 50000 runs

Other Settings:
shanghai EvmVersion, MIT license
/**
 *Submitted for verification at SonicScan.org on 2025-01-02
*/

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.17;

contract GasZipV2 {

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

    constructor(address _owner) {
        owner = _owner;
    }

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

    function deposit(uint256 chains, address to) payable external {
        require(msg.value != 0, "No Value");
        emit Deposit(msg.sender, chains, msg.value, bytes32(bytes20(uint160(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);
}

Contract Security Audit

Contract ABI

API
[{"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":"bytes32","name":"to","type":"bytes32"}],"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":"uint256","name":"chains","type":"uint256"},{"internalType":"bytes32","name":"to","type":"bytes32"}],"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"}]

6080604052348015600e575f80fd5b50604051610661380380610661833981016040819052602b91604e565b5f80546001600160a01b0319166001600160a01b03929092169190911790556079565b5f60208284031215605d575f80fd5b81516001600160a01b03811681146072575f80fd5b9392505050565b6105db806100865f395ff3fe608060405260043610610058575f3560e01c8063859524541161004157806385952454146100905780638da5cb5b146100af578063c9630cb014610103575f80fd5b806351cff8d91461005c5780636e553f651461007d575b5f80fd5b348015610067575f80fd5b5061007b610076366004610505565b610116565b005b61007b61008b366004610525565b6102e4565b34801561009b575f80fd5b5061007b6100aa366004610505565b6103c5565b3480156100ba575f80fd5b505f546100da9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007b61011136600461054f565b61042d565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610138575f80fd5b73ffffffffffffffffffffffffffffffffffffffff81166101b5575f805460405173ffffffffffffffffffffffffffffffffffffffff9091169147919081818185875af1925050503d805f81146101aa576040519150601f19603f3d011682016040523d82523d5f602084013e6101af565b606091505b50505050565b5f546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8381169263a9059cbb9291169083906370a0823190602401602060405180830381865afa15801561022b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024f919061056f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303815f875af11580156102bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e09190610586565b5050565b345f03610352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4e6f2056616c756500000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60408051338152602081018490523491810191909152606082811b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016908201527f7921786f0ead54b0a0502b86991470e5c4790dadc22242f4ff071f361e8e6c68906080015b60405180910390a15050565b5f5473ffffffffffffffffffffffffffffffffffffffff1633146103e7575f80fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b345f03610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4e6f2056616c75650000000000000000000000000000000000000000000000006044820152606401610349565b60408051338152602081018490523491810191909152606081018290527f7921786f0ead54b0a0502b86991470e5c4790dadc22242f4ff071f361e8e6c68906080016103b9565b803573ffffffffffffffffffffffffffffffffffffffff81168114610500575f80fd5b919050565b5f60208284031215610515575f80fd5b61051e826104dd565b9392505050565b5f8060408385031215610536575f80fd5b82359150610546602084016104dd565b90509250929050565b5f8060408385031215610560575f80fd5b50508035926020909101359150565b5f6020828403121561057f575f80fd5b5051919050565b5f60208284031215610596575f80fd5b8151801515811461051e575f80fdfea2646970667358221220ed1ba6bac95a8383757d60d6bf9186abf457ca5a87ebd1de03b3a8806efb3f5d64736f6c634300081a00330000000000000000000000004c968f6beecf1906710b08e8b472b8ba6e75f957

Deployed Bytecode

0x608060405260043610610058575f3560e01c8063859524541161004157806385952454146100905780638da5cb5b146100af578063c9630cb014610103575f80fd5b806351cff8d91461005c5780636e553f651461007d575b5f80fd5b348015610067575f80fd5b5061007b610076366004610505565b610116565b005b61007b61008b366004610525565b6102e4565b34801561009b575f80fd5b5061007b6100aa366004610505565b6103c5565b3480156100ba575f80fd5b505f546100da9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007b61011136600461054f565b61042d565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610138575f80fd5b73ffffffffffffffffffffffffffffffffffffffff81166101b5575f805460405173ffffffffffffffffffffffffffffffffffffffff9091169147919081818185875af1925050503d805f81146101aa576040519150601f19603f3d011682016040523d82523d5f602084013e6101af565b606091505b50505050565b5f546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8381169263a9059cbb9291169083906370a0823190602401602060405180830381865afa15801561022b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024f919061056f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303815f875af11580156102bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e09190610586565b5050565b345f03610352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4e6f2056616c756500000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60408051338152602081018490523491810191909152606082811b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016908201527f7921786f0ead54b0a0502b86991470e5c4790dadc22242f4ff071f361e8e6c68906080015b60405180910390a15050565b5f5473ffffffffffffffffffffffffffffffffffffffff1633146103e7575f80fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b345f03610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4e6f2056616c75650000000000000000000000000000000000000000000000006044820152606401610349565b60408051338152602081018490523491810191909152606081018290527f7921786f0ead54b0a0502b86991470e5c4790dadc22242f4ff071f361e8e6c68906080016103b9565b803573ffffffffffffffffffffffffffffffffffffffff81168114610500575f80fd5b919050565b5f60208284031215610515575f80fd5b61051e826104dd565b9392505050565b5f8060408385031215610536575f80fd5b82359150610546602084016104dd565b90509250929050565b5f8060408385031215610560575f80fd5b50508035926020909101359150565b5f6020828403121561057f575f80fd5b5051919050565b5f60208284031215610596575f80fd5b8151801515811461051e575f80fdfea2646970667358221220ed1ba6bac95a8383757d60d6bf9186abf457ca5a87ebd1de03b3a8806efb3f5d64736f6c634300081a0033

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


Deployed Bytecode Sourcemap

65:1023:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;665:297;;;;;;;;;;-1:-1:-1;665:297:0;;;;;:::i;:::-;;:::i;:::-;;456:201;;;;;;:::i;:::-;;:::i;970:115::-;;;;;;;;;;-1:-1:-1;970:115:0;;;;;:::i;:::-;;:::i;176:20::-;;;;;;;;;;-1:-1:-1;176:20:0;;;;;;;;;;;887:42:1;875:55;;;857:74;;845:2;830:18;176:20:0;;;;;;;274:174;;;;;;:::i;:::-;;:::i;665:297::-;740:5;;;;726:10;:19;718:28;;;;;;761:19;;;757:198;;797:5;;;:44;;:5;;;;;815:21;;797:44;;:5;:44;815:21;797:5;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;665:297;:::o;757:198::-;897:5;;904:38;;;;;936:4;904:38;;;857:74:1;874:22:0;;;;;;;897:5;;;874:22;;904:23;;830:18:1;;904:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;874:69;;;;;;;;;;1844:42:1;1832:55;;;874:69:0;;;1814:74:1;1904:18;;;1897:34;1787:18;;874:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;665:297;:::o;456:201::-;537:9;550:1;537:14;529:35;;;;;;;2426:2:1;529:35:0;;;2408:21:1;2465:1;2445:18;;;2438:29;2503:10;2483:18;;;2476:38;2531:18;;529:35:0;;;;;;;;;580:69;;;588:10;2791:74:1;;2896:2;2881:18;;2874:34;;;608:9:0;2924:18:1;;;2917:34;;;;627:20:0;;;;619:29;;2967:18:1;;;2960:34;580:69:0;;2778:3:1;2763:19;580:69:0;;;;;;;;456:201;;:::o;970:115::-;1046:5;;;;1032:10;:19;1024:28;;;;;;1063:5;:14;;;;;;;;;;;;;;;970:115::o;274:174::-;355:9;368:1;355:14;347:35;;;;;;;2426:2:1;347:35:0;;;2408:21:1;2465:1;2445:18;;;2438:29;2503:10;2483:18;;;2476:38;2531:18;;347:35:0;2224:331:1;347:35:0;398:42;;;406:10;2791:74:1;;2896:2;2881:18;;2874:34;;;426:9:0;2924:18:1;;;2917:34;;;;2982:2;2967:18;;2960:34;;;398:42:0;;2778:3:1;2763:19;398:42:0;2560:440:1;14:196;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:1:o;406:300::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:52;;;551:1;548;541:12;503:52;596:23;;;-1:-1:-1;662:38:1;696:2;681:18;;662:38;:::i;:::-;652:48;;406:300;;;;;:::o;942:294::-;1010:6;1018;1071:2;1059:9;1050:7;1046:23;1042:32;1039:52;;;1087:1;1084;1077:12;1039:52;-1:-1:-1;;1132:23:1;;;1226:2;1211:18;;;1198:32;;-1:-1:-1;942:294:1:o;1451:184::-;1521:6;1574:2;1562:9;1553:7;1549:23;1545:32;1542:52;;;1590:1;1587;1580:12;1542:52;-1:-1:-1;1613:16:1;;1451:184;-1:-1:-1;1451:184:1:o;1942:277::-;2009:6;2062:2;2050:9;2041:7;2037:23;2033:32;2030:52;;;2078:1;2075;2068:12;2030:52;2110:9;2104:16;2163:5;2156:13;2149:21;2142:5;2139:32;2129:60;;2185:1;2182;2175:12

Swarm Source

ipfs://ed1ba6bac95a8383757d60d6bf9186abf457ca5a87ebd1de03b3a8806efb3f5d

Block Transaction 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
Loading...
Loading
[ 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.