Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18438682 | 466 days ago | 0.00483102 ETH | ||||
18438682 | 466 days ago | 0.00483102 ETH | ||||
15440215 | 888 days ago | 0.04593757 ETH | ||||
15440215 | 888 days ago | 0.04593757 ETH | ||||
14417298 | 1052 days ago | 0.68471043 ETH | ||||
14417298 | 1052 days ago | 0.68471043 ETH | ||||
14394870 | 1056 days ago | 1.00596654 ETH | ||||
14394870 | 1056 days ago | 1.00596654 ETH | ||||
14163455 | 1092 days ago | 0.25095989 ETH | ||||
14163455 | 1092 days ago | 0.25095989 ETH | ||||
13836465 | 1142 days ago | 0.02017327 ETH | ||||
13836465 | 1142 days ago | 0.02017327 ETH | ||||
13814164 | 1146 days ago | 0.42692293 ETH | ||||
13814164 | 1146 days ago | 0.42692293 ETH | ||||
13677552 | 1167 days ago | 0.5100361 ETH | ||||
13677552 | 1167 days ago | 0.5100361 ETH | ||||
13436432 | 1205 days ago | 0.51491154 ETH | ||||
13436432 | 1205 days ago | 0.51491154 ETH | ||||
13211349 | 1240 days ago | 0.74845736 ETH | ||||
13211349 | 1240 days ago | 0.74845736 ETH | ||||
12979659 | 1276 days ago | 0.93434788 ETH | ||||
12979659 | 1276 days ago | 0.93434788 ETH | ||||
12805778 | 1303 days ago | 0.08699872 ETH | ||||
12805778 | 1303 days ago | 0.08699872 ETH | ||||
12598334 | 1336 days ago | 0.07195024 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xbD47502C...b07e40a34 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
WethHelper
Compiler Version
v0.5.13+commit.5b0b510c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-12-06 */ /** * Copyright 2017-2019, bZeroX, LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ pragma solidity 0.5.13; contract iERC20 { string public name; uint8 public decimals; string public symbol; function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); function allowance(address _owner, address _spender) public view returns (uint256); function transferFrom(address _from, address _to, uint256 _value) public returns (bool); function approve(address _spender, uint256 _value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract iWETH is iERC20 { function deposit() external payable; function withdraw(uint256 wad) external; } contract WethHelper { iWETH public weth = iWETH(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2); function() external payable {} function claimEther( address receiver, uint256 amount) external returns (uint256 claimAmount) { claimAmount = weth.balanceOf(address(this)); if (claimAmount != 0) { weth.withdraw(claimAmount); } claimAmount = address(this).balance; if (amount != 0) { require (amount <= claimAmount, "balance too low" ); claimAmount = amount; } (bool success,) = receiver.call.value(claimAmount)(""); require(success, "transfer failed" ); } function claimToken( address tokenAddress, address receiver, uint256 amount) external returns (uint256 claimAmount) { iERC20 token = iERC20(tokenAddress); claimAmount = token.balanceOf(address(this)); if (amount != 0) { require (amount <= claimAmount, "balance too low" ); claimAmount = amount; } require(token.transfer( receiver, claimAmount), "transfer failed" ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimEther","outputs":[{"internalType":"uint256","name":"claimAmount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimToken","outputs":[{"internalType":"uint256","name":"claimAmount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weth","outputs":[{"internalType":"contract iWETH","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x6080604052600436106100345760003560e01c8063125bfb66146100365780633fc8cef31461008b578063bfcf63b0146100bc575b005b34801561004257600080fd5b506100796004803603606081101561005957600080fd5b506001600160a01b038135811691602081013590911690604001356100f5565b60408051918252519081900360200190f35b34801561009757600080fd5b506100a0610296565b604080516001600160a01b039092168252519081900360200190f35b3480156100c857600080fd5b50610079600480360360408110156100df57600080fd5b506001600160a01b0381351690602001356102a5565b604080516370a0823160e01b8152306004820152905160009185916001600160a01b038316916370a08231916024808301926020929190829003018186803b15801561014057600080fd5b505afa158015610154573d6000803e3d6000fd5b505050506040513d602081101561016a57600080fd5b5051915082156101bf57818311156101bb576040805162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b604482015290519081900360640190fd5b8291505b806001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561021f57600080fd5b505af1158015610233573d6000803e3d6000fd5b505050506040513d602081101561024957600080fd5b505161028e576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b509392505050565b6000546001600160a01b031681565b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156102f157600080fd5b505afa158015610305573d6000803e3d6000fd5b505050506040513d602081101561031b57600080fd5b505190508015610386576000805460408051632e1a7d4d60e01b81526004810185905290516001600160a01b0390921692632e1a7d4d9260248084019382900301818387803b15801561036d57600080fd5b505af1158015610381573d6000803e3d6000fd5b505050505b50303181156103d957808211156103d6576040805162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b604482015290519081900360640190fd5b50805b6040516000906001600160a01b0385169083908381818185875af1925050503d8060008114610424576040519150601f19603f3d011682016040523d82523d6000602084013e610429565b606091505b5050905080610471576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b509291505056fea265627a7a72315820690c2478e92a7a63e233f69f5454becbe741455d21a512a2a8ddeed06b4ef47a64736f6c634300050d0032
Deployed Bytecode Sourcemap
982:1390:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1794:575;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1794:575:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1794:575:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1011:69;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:69:0;;;:::i;:::-;;;;-1:-1:-1;;;;;1011:69:0;;;;;;;;;;;;;;1150:636;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1150:636:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1150:636:0;;;;;;;;:::i;1794:575::-;2031:30;;;-1:-1:-1;;;2031:30:0;;2055:4;2031:30;;;;;;1934:19;;1993:12;;-1:-1:-1;;;;;2031:15:0;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2031:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2031:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2031:30:0;;-1:-1:-1;2078:11:0;;2074:160;;2125:11;2115:6;:21;;2106:81;;;;;-1:-1:-1;;;2106:81:0;;;;;;;;;;;;-1:-1:-1;;;2106:81:0;;;;;;;;;;;;;;;2216:6;2202:20;;2074:160;2254:5;-1:-1:-1;;;;;2254:14:0;;2283:8;2306:11;2254:64;;;;;;;;;;;;;-1:-1:-1;;;;;2254:64:0;-1:-1:-1;;;;;2254:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2254:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2254:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2254:64:0;2246:115;;;;;-1:-1:-1;;;2246:115:0;;;;;;;;;;;;-1:-1:-1;;;2246:115:0;;;;;;;;;;;;;;;1794:575;;;;;;:::o;1011:69::-;;;-1:-1:-1;;;;;1011:69:0;;:::o;1150:636::-;1259:19;1310:4;;:29;;;-1:-1:-1;;;1310:29:0;;1333:4;1310:29;;;;;;-1:-1:-1;;;;;1310:4:0;;;;:14;;:29;;;;;;;;;;;;;;;:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;1310:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1310:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1310:29:0;;-1:-1:-1;1354:16:0;;1350:75;;1387:4;;;:26;;;-1:-1:-1;;;1387:26:0;;;;;;;;;;-1:-1:-1;;;;;1387:4:0;;;;:13;;:26;;;;;;;;;;:4;;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;1387:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1387:26:0;;;;1350:75;-1:-1:-1;1457:4:0;1449:21;1487:11;;1483:160;;1534:11;1524:6;:21;;1515:81;;;;;-1:-1:-1;;;1515:81:0;;;;;;;;;;;;-1:-1:-1;;;1515:81:0;;;;;;;;;;;;;;;-1:-1:-1;1625:6:0;1483:160;1673:36;;1656:12;;-1:-1:-1;;;;;1673:13:0;;;1693:11;;1656:12;1673:36;1656:12;1673:36;1693:11;1673:13;:36;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;1655:54:0;;;1728:7;1720:58;;;;;-1:-1:-1;;;1720:58:0;;;;;;;;;;;;-1:-1:-1;;;1720:58:0;;;;;;;;;;;;;;;1150:636;;;;;:::o
Swarm Source
bzzr://690c2478e92a7a63e233f69f5454becbe741455d21a512a2a8ddeed06b4ef47a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.