ETH Price: $3,248.63 (-0.62%)

Contract

0x8AdDa31FE63696Ac64DED7D0Ea208102b1358c44
 

Overview

ETH Balance

0.43571152242540399 ETH

Eth Value

$1,415.47 (@ $3,248.63/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw201074312024-06-16 22:48:11218 days ago1718578091IN
0x8AdDa31F...2b1358c44
0 ETH0.000073922.45079498
Deposit And Appr...201074132024-06-16 22:44:35218 days ago1718577875IN
0x8AdDa31F...2b1358c44
0.1 ETH0.000199282.67614174
Deposit And Appr...187270912023-12-06 11:48:47411 days ago1701863327IN
0x8AdDa31F...2b1358c44
0.02901517 ETH0.0019182147.30611647
Withdraw184889852023-11-03 3:54:11444 days ago1698983651IN
0x8AdDa31F...2b1358c44
0 ETH0.0003665112.14622465
Deposit And Appr...184886862023-11-03 2:53:59445 days ago1698980039IN
0x8AdDa31F...2b1358c44
0.03008774 ETH0.0011237615.03146678
Deposit And Appr...184872252023-11-02 21:59:47445 days ago1698962387IN
0x8AdDa31F...2b1358c44
0.09 ETH0.0015194720.39753622
Deposit And Appr...183869762023-10-19 21:11:11459 days ago1697749871IN
0x8AdDa31F...2b1358c44
0.01 ETH0.001234416.57612926
Deposit And Appr...182912432023-10-06 11:44:59472 days ago1696592699IN
0x8AdDa31F...2b1358c44
0.01 ETH0.000252616.27132516
Deposit And Appr...182909642023-10-06 10:48:59472 days ago1696589339IN
0x8AdDa31F...2b1358c44
0.01 ETH0.00040997.11328335
Deposit And Appr...182897922023-10-06 6:51:59472 days ago1696575119IN
0x8AdDa31F...2b1358c44
0.01 ETH0.000458676.15732027
Withdraw182851972023-10-05 15:26:59473 days ago1696519619IN
0x8AdDa31F...2b1358c44
0 ETH0.0006669422.10263045
Deposit And Appr...182845152023-10-05 13:09:35473 days ago1696511375IN
0x8AdDa31F...2b1358c44
0.01 ETH0.000770210.31212145
Deposit And Appr...182842552023-10-05 12:16:59473 days ago1696508219IN
0x8AdDa31F...2b1358c44
0.01 ETH0.000449986.04459619
Deposit And Appr...182302632023-09-27 23:06:23481 days ago1695855983IN
0x8AdDa31F...2b1358c44
0.1 ETH0.000576547.73963416
Deposit And Appr...182301912023-09-27 22:51:59481 days ago1695855119IN
0x8AdDa31F...2b1358c44
0.1 ETH0.000629998.45575028
Withdraw182298602023-09-27 21:45:47481 days ago1695851147IN
0x8AdDa31F...2b1358c44
0 ETH0.0006306220.89070667
Deposit And Appr...182295632023-09-27 20:45:35481 days ago1695847535IN
0x8AdDa31F...2b1358c44
0.07467586 ETH0.0010245113.69728255
Withdraw182203502023-09-26 13:48:47482 days ago1695736127IN
0x8AdDa31F...2b1358c44
0 ETH0.0004163113.7910671
Deposit And Appr...182190922023-09-26 9:34:23482 days ago1695720863IN
0x8AdDa31F...2b1358c44
0.2 ETH0.002586334.7131326
Deposit And Appr...182189632023-09-26 9:08:35482 days ago1695719315IN
0x8AdDa31F...2b1358c44
0.17 ETH0.0049813966.87058921
Deposit And Appr...182162562023-09-26 0:03:35483 days ago1695686615IN
0x8AdDa31F...2b1358c44
0.04138561 ETH0.000315437.76988405
Deposit And Appr...182060072023-09-24 13:38:59484 days ago1695562739IN
0x8AdDa31F...2b1358c44
0.01 ETH0.000611498.21135876
Deposit And Appr...182060022023-09-24 13:37:59484 days ago1695562679IN
0x8AdDa31F...2b1358c44
0.05 ETH0.000576257.73817149
Deposit And Appr...182059972023-09-24 13:36:59484 days ago1695562619IN
0x8AdDa31F...2b1358c44
0.1 ETH0.000572467.68354038
Deposit And Appr...182044632023-09-24 8:27:59484 days ago1695544079IN
0x8AdDa31F...2b1358c44
0.3 ETH0.000516566.93441974
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
201074312024-06-16 22:48:11218 days ago1718578091
0x8AdDa31F...2b1358c44
0.1 ETH
184889852023-11-03 3:54:11444 days ago1698983651
0x8AdDa31F...2b1358c44
0.0439625 ETH
184872272023-11-02 22:00:11445 days ago1698962411
0x8AdDa31F...2b1358c44
0.09 ETH
183869832023-10-19 21:12:35459 days ago1697749955
0x8AdDa31F...2b1358c44
0.01 ETH
182912432023-10-06 11:44:59472 days ago1696592699
0x8AdDa31F...2b1358c44
0.01 ETH
182897922023-10-06 6:51:59472 days ago1696575119
0x8AdDa31F...2b1358c44
0.00124663 ETH
182851972023-10-05 15:26:59473 days ago1696519619
0x8AdDa31F...2b1358c44
0.01686803 ETH
182845152023-10-05 13:09:35473 days ago1696511375
0x8AdDa31F...2b1358c44
0.0000784 ETH
182842552023-10-05 12:16:59473 days ago1696508219
0x8AdDa31F...2b1358c44
0.00123582 ETH
182302632023-09-27 23:06:23481 days ago1695855983
0x8AdDa31F...2b1358c44
0.1 ETH
182301932023-09-27 22:52:23481 days ago1695855143
0x8AdDa31F...2b1358c44
0.1 ETH
182298602023-09-27 21:45:47481 days ago1695851147
0x8AdDa31F...2b1358c44
0.07467586 ETH
182203502023-09-26 13:48:47482 days ago1695736127
0x8AdDa31F...2b1358c44
0.08258167 ETH
182190922023-09-26 9:34:23482 days ago1695720863
0x8AdDa31F...2b1358c44
0.2 ETH
182189642023-09-26 9:08:47482 days ago1695719327
0x8AdDa31F...2b1358c44
0.17 ETH
182060082023-09-24 13:39:11484 days ago1695562751
0x8AdDa31F...2b1358c44
0.01 ETH
182060032023-09-24 13:38:11484 days ago1695562691
0x8AdDa31F...2b1358c44
0.05 ETH
182059982023-09-24 13:37:11484 days ago1695562631
0x8AdDa31F...2b1358c44
0.1 ETH
182044642023-09-24 8:28:11484 days ago1695544091
0x8AdDa31F...2b1358c44
0.3 ETH
182018982023-09-23 23:49:23485 days ago1695512963
0x8AdDa31F...2b1358c44
1 ETH
182003872023-09-23 18:45:11485 days ago1695494711
0x8AdDa31F...2b1358c44
0.2 ETH
181962572023-09-23 4:52:47485 days ago1695444767
0x8AdDa31F...2b1358c44
0.2 ETH
181928652023-09-22 17:28:11486 days ago1695403691
0x8AdDa31F...2b1358c44
0.11 ETH
181924872023-09-22 16:11:59486 days ago1695399119
0x8AdDa31F...2b1358c44
0.04 ETH
181811772023-09-21 2:07:47488 days ago1695262067
0x8AdDa31F...2b1358c44
0.02 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MEMETH

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : MEMETH.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

// Fork of the canonical `WETH9` contract that supports `depositAndApprove`
contract MEMETH {
    string public name = "Memswap Ether";
    string public symbol = "MEMETH";
    uint8 public decimals = 18;

    event Approval(address indexed src, address indexed guy, uint256 wad);
    event Transfer(address indexed src, address indexed dst, uint256 wad);
    event Deposit(address indexed dst, uint256 wad);
    event Withdrawal(address indexed src, uint256 wad);

    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    receive() external payable {
        deposit();
    }

    function deposit() public payable {
        balanceOf[msg.sender] += msg.value;
        emit Deposit(msg.sender, msg.value);
    }

    function depositAndApprove(address guy, uint256 wad) public payable {
        deposit();
        approve(guy, wad);
    }

    function withdraw(uint256 wad) public {
        require(balanceOf[msg.sender] >= wad);
        balanceOf[msg.sender] -= wad;
        payable(msg.sender).transfer(wad);
        emit Withdrawal(msg.sender, wad);
    }

    function totalSupply() public view returns (uint256) {
        return address(this).balance;
    }

    function approve(address guy, uint256 wad) public returns (bool) {
        allowance[msg.sender][guy] = wad;
        emit Approval(msg.sender, guy, wad);
        return true;
    }

    function transfer(address dst, uint256 wad) public returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }

    function transferFrom(
        address src,
        address dst,
        uint256 wad
    ) public returns (bool) {
        require(balanceOf[src] >= wad);

        if (
            src != msg.sender && allowance[src][msg.sender] != type(uint256).max
        ) {
            require(allowance[src][msg.sender] >= wad);
            allowance[src][msg.sender] -= wad;
        }

        balanceOf[src] -= wad;
        balanceOf[dst] += wad;

        emit Transfer(src, dst, wad);

        return true;
    }
}

Settings
{
  "viaIR": true,
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"guy","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"depositAndApprove","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052346100cd57600061001581546100d2565b601f81116100a3575b50601a6c26b2b6b9bbb0b81022ba3432b960991b01815560019061004282546100d2565b90601f8211610077575b600c6509a8a9a8aa8960d31b0183556002805460ff1916601217905560405161078c908161010d8239f35b82815282601f60208320930160051c8301925b83811061009857505061004c565b82815501839061008a565b818052601f60208320910160051c8101905b8181106100c2575061001e565b8281556001016100b5565b600080fd5b90600182811c92168015610102575b60208310146100ec57565b634e487b7160e01b600052602260045260246000fd5b91607f16916100e156fe60806040818152600480361015610029575b505050361561001f57600080fd5b610027610588565b005b600092833560e01c90816306fdde03146103f857508063095ea7b3146103d857806318160ddd146103bd57806323b872dd1461038b57806328026ace1461035f5780632e1a7d4d146102cd578063313ce567146102ab57806370a082311461027357806395d89b4114610152578063a9059cbb1461011b578063d0e30db0146101015763dd62ed3e0361001157346100fd57816003193601126100fd5760209282916100d3610534565b6100db61054f565b6001600160a01b03918216845291865283832091168252845220549051908152f35b8280fd5b838060031936011261011857610115610588565b80f35b80fd5b50503461014e578060031936011261014e5760209061014561013b610534565b6024359033610636565b90519015158152f35b5080fd5b5091903461014e578160031936011261014e5780519082600180549081811c90808316928315610269575b60209384841081146102565783885290811561023a57506001146101e5575b505050829003601f01601f191682019267ffffffffffffffff8411838510176101d257508291826101ce9252826104eb565b0390f35b634e487b7160e01b815260418552602490fd5b8087529192508591837fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b838510610226575050505083010138808061019c565b805488860183015293019284908201610210565b60ff1916878501525050151560051b840101905038808061019c565b634e487b7160e01b895260228a52602489fd5b91607f169161017d565b50503461014e57602036600319011261014e5760209181906001600160a01b0361029b610534565b1681526003845220549051908152f35b50503461014e578160031936011261014e5760209060ff600254169051908152f35b50346100fd5760203660031901126100fd5735903383526003602052808320805483811061035b57836102ff916105d1565b90558280838015610351575b8280929181923390f11561034657519081527f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b6560203392a280f35b51913d9150823e3d90fd5b6108fc915061030b565b8480fd5b505036600319011261011857610387610376610534565b61037e610588565b602435906105de565b5080f35b50503461014e57606036600319011261014e576020906101456103ac610534565b6103b461054f565b60443591610636565b50503461014e578160031936011261014e5751478152602090f35b50503461014e578060031936011261014e5760209061014561037e610534565b84915083346100fd57826003193601126100fd57828354600181811c908083169283156104e1575b6020938484108114610256578388529081156104c5575060011461047057505050829003601f01601f191682019267ffffffffffffffff8411838510176101d257508291826101ce9252826104eb565b8680529192508591837f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8385106104b1575050505083010185808061019c565b80548886018301529301928490820161049b565b60ff1916878501525050151560051b840101905085808061019c565b91607f1691610420565b6020808252825181830181905290939260005b82811061052057505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016104fe565b600435906001600160a01b038216820361054a57565b600080fd5b602435906001600160a01b038216820361054a57565b9190820180921161057257565b634e487b7160e01b600052601160045260246000fd5b33600052600360205260406000206105a1348254610565565b90556040513481527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c60203392a2565b9190820391821161057257565b9033600052600460205260406000209160018060a01b03169182600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3600190565b91909160018060a01b03809116916000938385526020926003845260409183838820541061073757338614158061073b575b6106cc575b9180917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef959493878952600386528289206106a98682546105d1565b9055169687815260038552206106c0838254610565565b905551908152a3600190565b858752600485528287203388528552838388205410610737579180917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef95949387895260048652828920338a5286528289206107298682546105d1565b90559150919293945061066d565b8680fd5b5060048552828720338852855282872054600019141561066856fea2646970667358221220985ab836856dfad49c34813d53b860e0d70223b31168d8e8c62477b1fa98e19c64736f6c63430008130033

Deployed Bytecode

0x60806040818152600480361015610029575b505050361561001f57600080fd5b610027610588565b005b600092833560e01c90816306fdde03146103f857508063095ea7b3146103d857806318160ddd146103bd57806323b872dd1461038b57806328026ace1461035f5780632e1a7d4d146102cd578063313ce567146102ab57806370a082311461027357806395d89b4114610152578063a9059cbb1461011b578063d0e30db0146101015763dd62ed3e0361001157346100fd57816003193601126100fd5760209282916100d3610534565b6100db61054f565b6001600160a01b03918216845291865283832091168252845220549051908152f35b8280fd5b838060031936011261011857610115610588565b80f35b80fd5b50503461014e578060031936011261014e5760209061014561013b610534565b6024359033610636565b90519015158152f35b5080fd5b5091903461014e578160031936011261014e5780519082600180549081811c90808316928315610269575b60209384841081146102565783885290811561023a57506001146101e5575b505050829003601f01601f191682019267ffffffffffffffff8411838510176101d257508291826101ce9252826104eb565b0390f35b634e487b7160e01b815260418552602490fd5b8087529192508591837fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b838510610226575050505083010138808061019c565b805488860183015293019284908201610210565b60ff1916878501525050151560051b840101905038808061019c565b634e487b7160e01b895260228a52602489fd5b91607f169161017d565b50503461014e57602036600319011261014e5760209181906001600160a01b0361029b610534565b1681526003845220549051908152f35b50503461014e578160031936011261014e5760209060ff600254169051908152f35b50346100fd5760203660031901126100fd5735903383526003602052808320805483811061035b57836102ff916105d1565b90558280838015610351575b8280929181923390f11561034657519081527f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b6560203392a280f35b51913d9150823e3d90fd5b6108fc915061030b565b8480fd5b505036600319011261011857610387610376610534565b61037e610588565b602435906105de565b5080f35b50503461014e57606036600319011261014e576020906101456103ac610534565b6103b461054f565b60443591610636565b50503461014e578160031936011261014e5751478152602090f35b50503461014e578060031936011261014e5760209061014561037e610534565b84915083346100fd57826003193601126100fd57828354600181811c908083169283156104e1575b6020938484108114610256578388529081156104c5575060011461047057505050829003601f01601f191682019267ffffffffffffffff8411838510176101d257508291826101ce9252826104eb565b8680529192508591837f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8385106104b1575050505083010185808061019c565b80548886018301529301928490820161049b565b60ff1916878501525050151560051b840101905085808061019c565b91607f1691610420565b6020808252825181830181905290939260005b82811061052057505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016104fe565b600435906001600160a01b038216820361054a57565b600080fd5b602435906001600160a01b038216820361054a57565b9190820180921161057257565b634e487b7160e01b600052601160045260246000fd5b33600052600360205260406000206105a1348254610565565b90556040513481527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c60203392a2565b9190820391821161057257565b9033600052600460205260406000209160018060a01b03169182600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3600190565b91909160018060a01b03809116916000938385526020926003845260409183838820541061073757338614158061073b575b6106cc575b9180917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef959493878952600386528289206106a98682546105d1565b9055169687815260038552206106c0838254610565565b905551908152a3600190565b858752600485528287203388528552838388205410610737579180917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef95949387895260048652828920338a5286528289206107298682546105d1565b90559150919293945061066d565b8680fd5b5060048552828720338852855282872054600019141561066856fea2646970667358221220985ab836856dfad49c34813d53b860e0d70223b31168d8e8c62477b1fa98e19c64736f6c63430008130033

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.