ETH Price: $2,509.21 (-0.09%)

Contract

0x0594941a8d40bff11B83F7E73462968A8E2020d7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Contract Withdra...125006822021-05-25 1:54:421256 days ago1621907682IN
0x0594941a...A8E2020d7
0 ETH0.0032581441.8
Create Contract125006772021-05-25 1:53:141256 days ago1621907594IN
0x0594941a...A8E2020d7
0.18 ETH0.0025970341.8
Create Contract125005052021-05-25 1:12:581256 days ago1621905178IN
0x0594941a...A8E2020d7
0.104 ETH0.0031696840
Contract Withdra...120157052021-03-11 6:37:421331 days ago1615444662IN
0x0594941a...A8E2020d7
0 ETH0.0034552898.875
Contract Withdra...119705502021-03-04 7:50:251338 days ago1614844225IN
0x0594941a...A8E2020d7
0 ETH0.0036977874.00000145
Contract Withdra...119658952021-03-03 14:42:201339 days ago1614782540IN
0x0594941a...A8E2020d7
0 ETH0.0074919150
Contract Withdra...118222092021-02-09 12:22:051361 days ago1612873325IN
0x0594941a...A8E2020d7
0 ETH0.0074901150
Contract Withdra...118072302021-02-07 4:53:571363 days ago1612673637IN
0x0594941a...A8E2020d7
0 ETH0.0074919150
Contract Withdra...118023612021-02-06 10:59:471364 days ago1612609187IN
0x0594941a...A8E2020d7
0 ETH0.00674271135
Contract Withdra...117942172021-02-05 4:52:141365 days ago1612500734IN
0x0594941a...A8E2020d7
0 ETH0.0074937150
Contract Withdra...117864672021-02-04 0:10:411366 days ago1612397441IN
0x0594941a...A8E2020d7
0 ETH0.0074919150
Contract Withdra...117799322021-02-03 0:04:221367 days ago1612310662IN
0x0594941a...A8E2020d7
0 ETH0.0074901150
Contract Withdra...117755442021-02-02 7:47:371368 days ago1612252057IN
0x0594941a...A8E2020d7
0 ETH0.0074955150
Contract Withdra...117670152021-02-01 0:16:061369 days ago1612138566IN
0x0594941a...A8E2020d7
0 ETH0.00451836140
Contract Withdra...117422962021-01-28 4:52:011373 days ago1611809521IN
0x0594941a...A8E2020d7
0 ETH0.00377605117
Contract Withdra...117404672021-01-27 22:06:461373 days ago1611785206IN
0x0594941a...A8E2020d7
0 ETH0.0039966480
Contract Withdra...117177312021-01-24 10:15:521377 days ago1611483352IN
0x0594941a...A8E2020d7
0 ETH0.003046761
Contract Withdra...117061982021-01-22 15:47:311379 days ago1611330451IN
0x0594941a...A8E2020d7
0 ETH0.00694416139
Create Contract116982052021-01-21 10:22:081380 days ago1611224528IN
0x0594941a...A8E2020d7
0.1 ETH0.0087507150
Contract Withdra...116976622021-01-21 8:21:491380 days ago1611217309IN
0x0594941a...A8E2020d7
0 ETH0.0042454185
Contract Withdra...116885412021-01-19 22:44:011381 days ago1611096241IN
0x0594941a...A8E2020d7
0 ETH0.0035952472
Contract Withdra...116796452021-01-18 13:53:561383 days ago1610978036IN
0x0594941a...A8E2020d7
0 ETH0.0074901150
Contract Withdra...116707052021-01-17 5:00:391384 days ago1610859639IN
0x0594941a...A8E2020d7
0 ETH0.0022481145
Contract Withdra...116654992021-01-16 9:40:031385 days ago1610790003IN
0x0594941a...A8E2020d7
0 ETH0.0033463867
Contract Withdra...116535392021-01-14 13:39:241387 days ago1610631564IN
0x0594941a...A8E2020d7
0 ETH0.0040465981
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
125006822021-05-25 1:54:421256 days ago1621907682
0x0594941a...A8E2020d7
0.2804 ETH
125006822021-05-25 1:54:421256 days ago1621907682
0x0594941a...A8E2020d7
0.2804 ETH
125006772021-05-25 1:53:141256 days ago1621907594
0x0594941a...A8E2020d7
0.18 ETH
125005052021-05-25 1:12:581256 days ago1621905178
0x0594941a...A8E2020d7
0.104 ETH
120157052021-03-11 6:37:421331 days ago1615444662
0x0594941a...A8E2020d7
2.19 ETH
120157052021-03-11 6:37:421331 days ago1615444662
0x0594941a...A8E2020d7
2.19 ETH
119705502021-03-04 7:50:251338 days ago1614844225
0x0594941a...A8E2020d7
3.22967999 ETH
119705502021-03-04 7:50:251338 days ago1614844225
0x0594941a...A8E2020d7
3.22967999 ETH
119658952021-03-03 14:42:201339 days ago1614782540
0x0594941a...A8E2020d7
0.032 ETH
119658952021-03-03 14:42:201339 days ago1614782540
0x0594941a...A8E2020d7
0.032 ETH
118222092021-02-09 12:22:051361 days ago1612873325
0x0594941a...A8E2020d7
0.054 ETH
118222092021-02-09 12:22:051361 days ago1612873325
0x0594941a...A8E2020d7
0.054 ETH
118072302021-02-07 4:53:571363 days ago1612673637
0x0594941a...A8E2020d7
0.03226 ETH
118072302021-02-07 4:53:571363 days ago1612673637
0x0594941a...A8E2020d7
0.03226 ETH
118023612021-02-06 10:59:471364 days ago1612609187
0x0594941a...A8E2020d7
0.1 ETH
118023612021-02-06 10:59:471364 days ago1612609187
0x0594941a...A8E2020d7
0.1 ETH
117942172021-02-05 4:52:141365 days ago1612500734
0x0594941a...A8E2020d7
0.0211 ETH
117942172021-02-05 4:52:141365 days ago1612500734
0x0594941a...A8E2020d7
0.0211 ETH
117864672021-02-04 0:10:411366 days ago1612397441
0x0594941a...A8E2020d7
0.23 ETH
117864672021-02-04 0:10:411366 days ago1612397441
0x0594941a...A8E2020d7
0.23 ETH
117799322021-02-03 0:04:221367 days ago1612310662
0x0594941a...A8E2020d7
0.0004 ETH
117799322021-02-03 0:04:221367 days ago1612310662
0x0594941a...A8E2020d7
0.0004 ETH
117755442021-02-02 7:47:371368 days ago1612252057
0x0594941a...A8E2020d7
0.08799999 ETH
117755442021-02-02 7:47:371368 days ago1612252057
0x0594941a...A8E2020d7
0.08799999 ETH
117404672021-01-27 22:06:461373 days ago1611785206
0x0594941a...A8E2020d7
0.2526 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ETHtoBEB

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-12
*/

/**
 *Submitted for verification at Etherscan.io on 2020-10-05
*/

pragma solidity =0.6.6;
interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}
contract ETHtoBEB {
    address public   onwer;
    address public   WETH;
    mapping (address=>bool)public senderLooks;
    mapping(uint=>uint)public UsersDays;
    constructor(address _WETH) public {
        onwer = msg.sender;
        WETH=_WETH;
    }
    receive() external payable {
        assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract
    }
    //Authorized additional address
    function AdditionalAddress(address addr)public{
        require(onwer==msg.sender,"Not contract administrator");
        senderLooks[addr]=true;
    }
    function CreateContract(uint _lsh)public payable{
        UsersDays[_lsh]=msg.value;
        IWETH(WETH).deposit{value: msg.value}();
    }
    function ContractWithdrawal(address to,uint amountETH)public{
        require(senderLooks[msg.sender],"No permission to issue additional beb");
        IWETH(WETH).withdraw(amountETH);
        TransferHelper.safeTransferETH(to, amountETH);
    }
      
    function getRecord(uint _lsh)public view returns(uint) {
       return UsersDays[_lsh];
    }
    function getWETH()public view returns(uint) {
       return WETH.balance;
    }
}
library TransferHelper {
    function safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"AdditionalAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"name":"ContractWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lsh","type":"uint256"}],"name":"CreateContract","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"UsersDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lsh","type":"uint256"}],"name":"getRecord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onwer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"senderLooks","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161063d38038061063d8339818101604052602081101561003357600080fd5b5051600080546001600160a01b03199081163317909155600180546001600160a01b03909316929091169190911790556105cb806100726000396000f3fe60806040526004361061008a5760003560e01c80636dafc578116100595780636dafc57814610188578063767f87bb146101bb57806387c10bef146101d8578063ad5c464814610211578063cae5f11e14610226576100a5565b806303e9e609146100aa57806305b40dca146100e65780633433edd9146101105780636253455114610141576100a5565b366100a5576001546001600160a01b031633146100a357fe5b005b600080fd5b3480156100b657600080fd5b506100d4600480360360208110156100cd57600080fd5b503561023b565b60408051918252519081900360200190f35b3480156100f257600080fd5b506100d46004803603602081101561010957600080fd5b503561024d565b34801561011c57600080fd5b5061012561025f565b604080516001600160a01b039092168252519081900360200190f35b34801561014d57600080fd5b506101746004803603602081101561016457600080fd5b50356001600160a01b031661026e565b604080519115158252519081900360200190f35b34801561019457600080fd5b506100a3600480360360208110156101ab57600080fd5b50356001600160a01b0316610283565b6100a3600480360360208110156101d157600080fd5b5035610306565b3480156101e457600080fd5b506100a3600480360360408110156101fb57600080fd5b506001600160a01b038135169060200135610375565b34801561021d57600080fd5b50610125610436565b34801561023257600080fd5b506100d4610445565b60009081526003602052604090205490565b60036020526000908152604090205481565b6000546001600160a01b031681565b60026020526000908152604090205460ff1681565b6000546001600160a01b031633146102e2576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420636f6e74726163742061646d696e6973747261746f72000000000000604482015290519081900360640190fd5b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b60008181526003602052604080822034908190556001548251630d0e30db60e41b815292516001600160a01b039091169363d0e30db0936004808201939182900301818588803b15801561035957600080fd5b505af115801561036d573d6000803e3d6000fd5b505050505050565b3360009081526002602052604090205460ff166103c35760405162461bcd60e51b815260040180806020018281038252602581526020018061054e6025913960400191505060405180910390fd5b60015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b505050506104328282610455565b5050565b6001546001600160a01b031681565b6001546001600160a01b03163190565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106104a15780518252601f199092019160209182019101610482565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610503576040519150601f19603f3d011682016040523d82523d6000602084013e610508565b606091505b50509050806105485760405162461bcd60e51b81526004018080602001828103825260238152602001806105736023913960400191505060405180910390fd5b50505056fe4e6f207065726d697373696f6e20746f206973737565206164646974696f6e616c206265625472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544a2646970667358221220aa2516cda81534d466a431e8146ad2f4ee8d250b2ac62d4df545f0f2140303a864736f6c63430006060033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x60806040526004361061008a5760003560e01c80636dafc578116100595780636dafc57814610188578063767f87bb146101bb57806387c10bef146101d8578063ad5c464814610211578063cae5f11e14610226576100a5565b806303e9e609146100aa57806305b40dca146100e65780633433edd9146101105780636253455114610141576100a5565b366100a5576001546001600160a01b031633146100a357fe5b005b600080fd5b3480156100b657600080fd5b506100d4600480360360208110156100cd57600080fd5b503561023b565b60408051918252519081900360200190f35b3480156100f257600080fd5b506100d46004803603602081101561010957600080fd5b503561024d565b34801561011c57600080fd5b5061012561025f565b604080516001600160a01b039092168252519081900360200190f35b34801561014d57600080fd5b506101746004803603602081101561016457600080fd5b50356001600160a01b031661026e565b604080519115158252519081900360200190f35b34801561019457600080fd5b506100a3600480360360208110156101ab57600080fd5b50356001600160a01b0316610283565b6100a3600480360360208110156101d157600080fd5b5035610306565b3480156101e457600080fd5b506100a3600480360360408110156101fb57600080fd5b506001600160a01b038135169060200135610375565b34801561021d57600080fd5b50610125610436565b34801561023257600080fd5b506100d4610445565b60009081526003602052604090205490565b60036020526000908152604090205481565b6000546001600160a01b031681565b60026020526000908152604090205460ff1681565b6000546001600160a01b031633146102e2576040805162461bcd60e51b815260206004820152601a60248201527f4e6f7420636f6e74726163742061646d696e6973747261746f72000000000000604482015290519081900360640190fd5b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b60008181526003602052604080822034908190556001548251630d0e30db60e41b815292516001600160a01b039091169363d0e30db0936004808201939182900301818588803b15801561035957600080fd5b505af115801561036d573d6000803e3d6000fd5b505050505050565b3360009081526002602052604090205460ff166103c35760405162461bcd60e51b815260040180806020018281038252602581526020018061054e6025913960400191505060405180910390fd5b60015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b505050506104328282610455565b5050565b6001546001600160a01b031681565b6001546001600160a01b03163190565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b602083106104a15780518252601f199092019160209182019101610482565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610503576040519150601f19603f3d011682016040523d82523d6000602084013e610508565b606091505b50509050806105485760405162461bcd60e51b81526004018080602001828103825260238152602001806105736023913960400191505060405180910390fd5b50505056fe4e6f207065726d697373696f6e20746f206973737565206164646974696f6e616c206265625472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544a2646970667358221220aa2516cda81534d466a431e8146ad2f4ee8d250b2ac62d4df545f0f2140303a864736f6c63430006060033

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Deployed Bytecode Sourcemap

271:1195:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;600:4;;-1:-1:-1;;;;;600:4:0;586:10;:18;579:26;;;;271:1195;;12:1:-1;9;2:12;1281:95:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1281:95:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1281:95:0;;:::i;:::-;;;;;;;;;;;;;;;;401:35;;5:9:-1;2:2;;;27:1;24;17:12;2:2;401:35:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;401:35:0;;:::i;296:22::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;296:22:0;;;:::i;:::-;;;;-1:-1:-1;;;;;296:22:0;;;;;;;;;;;;;;353:41;;5:9:-1;2:2;;;27:1;24;17:12;2:2;353:41:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;353:41:0;-1:-1:-1;;;;;353:41:0;;:::i;:::-;;;;;;;;;;;;;;;;;;711:153;;5:9:-1;2:2;;;27:1;24;17:12;2:2;711:153:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;711:153:0;-1:-1:-1;;;;;711:153:0;;:::i;870:142::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;870:142:0;;:::i;1018:249::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1018:249:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1018:249:0;;;;;;;;:::i;325:21::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;325:21:0;;;:::i;1382:81::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1382:81:0;;;:::i;1281:95::-;1330:4;1353:15;;;:9;:15;;;;;;;1281:95::o;401:35::-;;;;;;;;;;;;;:::o;296:22::-;;;-1:-1:-1;;;;;296:22:0;;:::o;353:41::-;;;;;;;;;;;;;;;:::o;711:153::-;776:5;;-1:-1:-1;;;;;776:5:0;783:10;776:17;768:55;;;;;-1:-1:-1;;;768:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;834:17:0;;;;;:11;:17;;;;;:22;;-1:-1:-1;;834:22:0;852:4;834:22;;;711:153::o;870:142::-;929:15;;;;:9;:15;;;;;;945:9;929:25;;;;971:4;;965:39;;-1:-1:-1;;;965:39:0;;;;-1:-1:-1;;;;;971:4:0;;;;965:19;;:39;;;;;;;;;;;945:9;971:4;965:39;;;2:2:-1;;;;27:1;24;17:12;2:2;965:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;965:39:0;;;;;870:142;:::o;1018:249::-;1109:10;1097:23;;;;:11;:23;;;;;;;;1089:72;;;;-1:-1:-1;;;1089:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1178:4;;1172:31;;;-1:-1:-1;;;1172:31:0;;;;;;;;;;-1:-1:-1;;;;;1178:4:0;;;;1172:20;;:31;;;;;1178:4;;1172:31;;;;;;;;1178:4;;1172:31;;;2:2:-1;;;;27:1;24;17:12;2:2;1172:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1172:31:0;;;;1214:45;1245:2;1249:9;1214:30;:45::i;:::-;1018:249;;:::o;325:21::-;;;-1:-1:-1;;;;;325:21:0;;:::o;1382:81::-;1443:4;;-1:-1:-1;;;;;1443:4:0;:12;1382:81;:::o;1498:195::-;1606:12;;;1568;1606;;;;;;;;;-1:-1:-1;;;;;1585:7:0;;;1599:5;;1585:34;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1585:34:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;1567:52:0;;;1638:7;1630:55;;;;-1:-1:-1;;;1630:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1498:195;;;:::o

Swarm Source

ipfs://aa2516cda81534d466a431e8146ad2f4ee8d250b2ac62d4df545f0f2140303a8

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.