More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 112 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Contract Withdra... | 12500682 | 1256 days ago | IN | 0 ETH | 0.00325814 | ||||
Create Contract | 12500677 | 1256 days ago | IN | 0.18 ETH | 0.00259703 | ||||
Create Contract | 12500505 | 1256 days ago | IN | 0.104 ETH | 0.00316968 | ||||
Contract Withdra... | 12015705 | 1331 days ago | IN | 0 ETH | 0.00345528 | ||||
Contract Withdra... | 11970550 | 1338 days ago | IN | 0 ETH | 0.00369778 | ||||
Contract Withdra... | 11965895 | 1339 days ago | IN | 0 ETH | 0.0074919 | ||||
Contract Withdra... | 11822209 | 1361 days ago | IN | 0 ETH | 0.0074901 | ||||
Contract Withdra... | 11807230 | 1363 days ago | IN | 0 ETH | 0.0074919 | ||||
Contract Withdra... | 11802361 | 1364 days ago | IN | 0 ETH | 0.00674271 | ||||
Contract Withdra... | 11794217 | 1365 days ago | IN | 0 ETH | 0.0074937 | ||||
Contract Withdra... | 11786467 | 1366 days ago | IN | 0 ETH | 0.0074919 | ||||
Contract Withdra... | 11779932 | 1367 days ago | IN | 0 ETH | 0.0074901 | ||||
Contract Withdra... | 11775544 | 1368 days ago | IN | 0 ETH | 0.0074955 | ||||
Contract Withdra... | 11767015 | 1369 days ago | IN | 0 ETH | 0.00451836 | ||||
Contract Withdra... | 11742296 | 1373 days ago | IN | 0 ETH | 0.00377605 | ||||
Contract Withdra... | 11740467 | 1373 days ago | IN | 0 ETH | 0.00399664 | ||||
Contract Withdra... | 11717731 | 1377 days ago | IN | 0 ETH | 0.0030467 | ||||
Contract Withdra... | 11706198 | 1379 days ago | IN | 0 ETH | 0.00694416 | ||||
Create Contract | 11698205 | 1380 days ago | IN | 0.1 ETH | 0.0087507 | ||||
Contract Withdra... | 11697662 | 1380 days ago | IN | 0 ETH | 0.00424541 | ||||
Contract Withdra... | 11688541 | 1381 days ago | IN | 0 ETH | 0.00359524 | ||||
Contract Withdra... | 11679645 | 1383 days ago | IN | 0 ETH | 0.0074901 | ||||
Contract Withdra... | 11670705 | 1384 days ago | IN | 0 ETH | 0.00224811 | ||||
Contract Withdra... | 11665499 | 1385 days ago | IN | 0 ETH | 0.00334638 | ||||
Contract Withdra... | 11653539 | 1387 days ago | IN | 0 ETH | 0.00404659 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12500682 | 1256 days ago | 0.2804 ETH | ||||
12500682 | 1256 days ago | 0.2804 ETH | ||||
12500677 | 1256 days ago | 0.18 ETH | ||||
12500505 | 1256 days ago | 0.104 ETH | ||||
12015705 | 1331 days ago | 2.19 ETH | ||||
12015705 | 1331 days ago | 2.19 ETH | ||||
11970550 | 1338 days ago | 3.22967999 ETH | ||||
11970550 | 1338 days ago | 3.22967999 ETH | ||||
11965895 | 1339 days ago | 0.032 ETH | ||||
11965895 | 1339 days ago | 0.032 ETH | ||||
11822209 | 1361 days ago | 0.054 ETH | ||||
11822209 | 1361 days ago | 0.054 ETH | ||||
11807230 | 1363 days ago | 0.03226 ETH | ||||
11807230 | 1363 days ago | 0.03226 ETH | ||||
11802361 | 1364 days ago | 0.1 ETH | ||||
11802361 | 1364 days ago | 0.1 ETH | ||||
11794217 | 1365 days ago | 0.0211 ETH | ||||
11794217 | 1365 days ago | 0.0211 ETH | ||||
11786467 | 1366 days ago | 0.23 ETH | ||||
11786467 | 1366 days ago | 0.23 ETH | ||||
11779932 | 1367 days ago | 0.0004 ETH | ||||
11779932 | 1367 days ago | 0.0004 ETH | ||||
11775544 | 1368 days ago | 0.08799999 ETH | ||||
11775544 | 1368 days ago | 0.08799999 ETH | ||||
11740467 | 1373 days ago | 0.2526 ETH |
Loading...
Loading
Contract Name:
ETHtoBEB
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,509.21 | 0.0036 | $9.03 |
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.