Sepolia Testnet

Contract

0xdb7768d759Ff95819Cca0A43335285122A5D7Ca4
Source Code Source Code

Overview

ETH Balance

0 ETH

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount
Withdraw75736702025-01-26 8:52:12353 days ago1737881532IN
0xdb7768d7...22A5D7Ca4
0 ETH0.0005131116.69575808
Withdraw75736462025-01-26 8:47:12353 days ago1737881232IN
0xdb7768d7...22A5D7Ca4
0 ETH0.0003742415.52044097
Transfer75736082025-01-26 8:39:36353 days ago1737880776IN
0xdb7768d7...22A5D7Ca4
0.1 ETH0.0003554216.88097572

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Amount
Transfer75736702025-01-26 8:52:12353 days ago1737881532
0xdb7768d7...22A5D7Ca4
0.1 ETH
Loading...
Loading

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtherWallet

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2025-01-26
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

contract EtherWallet {
    address payable public owner;

    constructor() {
        owner = payable(msg.sender);
    }

    receive() external payable {}

    function withdraw(uint256 _amount) external {
        require(msg.sender == owner, "caller is not owner");
        payable(msg.sender).transfer(_amount);
    }

    function getBalance() external view returns (uint256) {
        return address(this).balance;
    }
}

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052348015600e575f80fd5b50335f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061034c8061005b5f395ff3fe608060405260043610610037575f3560e01c806312065fe0146100425780632e1a7d4d1461006c5780638da5cb5b146100945761003e565b3661003e57005b5f80fd5b34801561004d575f80fd5b506100566100be565b60405161006391906101d4565b60405180910390f35b348015610077575f80fd5b50610092600480360381019061008d919061021b565b6100c5565b005b34801561009f575f80fd5b506100a8610199565b6040516100b59190610285565b60405180910390f35b5f47905090565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610152576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610149906102f8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610195573d5f803e3d5ffd5b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f819050919050565b6101ce816101bc565b82525050565b5f6020820190506101e75f8301846101c5565b92915050565b5f80fd5b6101fa816101bc565b8114610204575f80fd5b50565b5f81359050610215816101f1565b92915050565b5f602082840312156102305761022f6101ed565b5b5f61023d84828501610207565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61026f82610246565b9050919050565b61027f81610265565b82525050565b5f6020820190506102985f830184610276565b92915050565b5f82825260208201905092915050565b7f63616c6c6572206973206e6f74206f776e6572000000000000000000000000005f82015250565b5f6102e260138361029e565b91506102ed826102ae565b602082019050919050565b5f6020820190508181035f83015261030f816102d6565b905091905056fea264697066735822122077641bcbe01cd05943073c29938230f3f77d3ee369443e5e314a7d78a4bb132064736f6c634300081a0033

Deployed Bytecode

0x608060405260043610610037575f3560e01c806312065fe0146100425780632e1a7d4d1461006c5780638da5cb5b146100945761003e565b3661003e57005b5f80fd5b34801561004d575f80fd5b506100566100be565b60405161006391906101d4565b60405180910390f35b348015610077575f80fd5b50610092600480360381019061008d919061021b565b6100c5565b005b34801561009f575f80fd5b506100a8610199565b6040516100b59190610285565b60405180910390f35b5f47905090565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610152576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610149906102f8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610195573d5f803e3d5ffd5b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f819050919050565b6101ce816101bc565b82525050565b5f6020820190506101e75f8301846101c5565b92915050565b5f80fd5b6101fa816101bc565b8114610204575f80fd5b50565b5f81359050610215816101f1565b92915050565b5f602082840312156102305761022f6101ed565b5b5f61023d84828501610207565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61026f82610246565b9050919050565b61027f81610265565b82525050565b5f6020820190506102985f830184610276565b92915050565b5f82825260208201905092915050565b7f63616c6c6572206973206e6f74206f776e6572000000000000000000000000005f82015250565b5f6102e260138361029e565b91506102ed826102ae565b602082019050919050565b5f6020820190508181035f83015261030f816102d6565b905091905056fea264697066735822122077641bcbe01cd05943073c29938230f3f77d3ee369443e5e314a7d78a4bb132064736f6c634300081a0033

Deployed Bytecode Sourcemap

61:444:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;401:101;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;231:162;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;89:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;401:101;446:7;473:21;466:28;;401:101;:::o;231:162::-;308:5;;;;;;;;;;294:19;;:10;:19;;;286:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;356:10;348:28;;:37;377:7;348:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;231:162;:::o;89:28::-;;;;;;;;;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;523:117::-;632:1;629;622:12;769:122;842:24;860:5;842:24;:::i;:::-;835:5;832:35;822:63;;881:1;878;871:12;822:63;769:122;:::o;897:139::-;943:5;981:6;968:20;959:29;;997:33;1024:5;997:33;:::i;:::-;897:139;;;;:::o;1042:329::-;1101:6;1150:2;1138:9;1129:7;1125:23;1121:32;1118:119;;;1156:79;;:::i;:::-;1118:119;1276:1;1301:53;1346:7;1337:6;1326:9;1322:22;1301:53;:::i;:::-;1291:63;;1247:117;1042:329;;;;:::o;1377:126::-;1414:7;1454:42;1447:5;1443:54;1432:65;;1377:126;;;:::o;1509:104::-;1554:7;1583:24;1601:5;1583:24;:::i;:::-;1572:35;;1509:104;;;:::o;1619:142::-;1722:32;1748:5;1722:32;:::i;:::-;1717:3;1710:45;1619:142;;:::o;1767:254::-;1876:4;1914:2;1903:9;1899:18;1891:26;;1927:87;2011:1;2000:9;1996:17;1987:6;1927:87;:::i;:::-;1767:254;;;;:::o;2027:169::-;2111:11;2145:6;2140:3;2133:19;2185:4;2180:3;2176:14;2161:29;;2027:169;;;;:::o;2202:::-;2342:21;2338:1;2330:6;2326:14;2319:45;2202:169;:::o;2377:366::-;2519:3;2540:67;2604:2;2599:3;2540:67;:::i;:::-;2533:74;;2616:93;2705:3;2616:93;:::i;:::-;2734:2;2729:3;2725:12;2718:19;;2377:366;;;:::o;2749:419::-;2915:4;2953:2;2942:9;2938:18;2930:26;;3002:9;2996:4;2992:20;2988:1;2977:9;2973:17;2966:47;3030:131;3156:4;3030:131;:::i;:::-;3022:139;;2749:419;;;:::o

Swarm Source

ipfs://77641bcbe01cd05943073c29938230f3f77d3ee369443e5e314a7d78a4bb1320

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
0xdb7768d759Ff95819Cca0A43335285122A5D7Ca4
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.