Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 95 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Wallets | 14496549 | 1042 days ago | IN | 0 ETH | 0.03973089 | ||||
Create Wallets | 14496182 | 1042 days ago | IN | 0 ETH | 0.03973089 | ||||
Create Wallets | 14496182 | 1042 days ago | IN | 0 ETH | 0.03973089 | ||||
Create Wallets | 14496136 | 1042 days ago | IN | 0 ETH | 0.04083453 | ||||
Create Wallets | 14496136 | 1042 days ago | IN | 0 ETH | 0.04083453 | ||||
Create Wallets | 14496136 | 1042 days ago | IN | 0 ETH | 0.04083453 | ||||
Create Wallets | 14496136 | 1042 days ago | IN | 0 ETH | 0.04083453 | ||||
Create Wallets | 14496136 | 1042 days ago | IN | 0 ETH | 0.04083453 | ||||
Create Wallets | 14496136 | 1042 days ago | IN | 0 ETH | 0.04083453 | ||||
Create Wallets | 14409915 | 1056 days ago | IN | 0 ETH | 0.10153451 | ||||
Create Wallets | 14361372 | 1063 days ago | IN | 0 ETH | 0.07725452 | ||||
Create Wallets | 14304102 | 1072 days ago | IN | 0 ETH | 0.08939451 | ||||
Create Wallets | 14293282 | 1074 days ago | IN | 0 ETH | 0.04855998 | ||||
Create Wallets | 14125035 | 1100 days ago | IN | 0 ETH | 0.11808905 | ||||
Create Wallets | 14011477 | 1117 days ago | IN | 0 ETH | 0.17216721 | ||||
Create Wallets | 14011477 | 1117 days ago | IN | 0 ETH | 0.17216721 | ||||
Create Wallets | 13966433 | 1124 days ago | IN | 0 ETH | 0.26928718 | ||||
Create Wallets | 13941472 | 1128 days ago | IN | 0 ETH | 0.31232898 | ||||
Create Wallets | 13915375 | 1132 days ago | IN | 0 ETH | 0.12802177 | ||||
Create Wallets | 13884065 | 1137 days ago | IN | 0 ETH | 0.10153451 | ||||
Create Wallets | 13858635 | 1141 days ago | IN | 0 ETH | 0.12029632 | ||||
Create Wallets | 13809197 | 1149 days ago | IN | 0 ETH | 0.05738907 | ||||
Create Wallets | 13737062 | 1160 days ago | IN | 0 ETH | 0.14788722 | ||||
Create Wallets | 13689877 | 1168 days ago | IN | 0 ETH | 0.14899086 | ||||
Create Wallets | 13689877 | 1168 days ago | IN | 0 ETH | 0.14899086 |
Latest 25 internal transactions (View All)
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
WalletController
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-03-20 */ /** * Allows to create contracts which would be able to receive ETH and tokens. * Contract will help to detect ETH deposits faster. * Contract idea was borrowed from Bittrex. * Version: 2 * */ pragma solidity 0.4.25; contract Owned { address public owner1; address public owner2; modifier onlyOwner { require(msg.sender != address(0)); require(msg.sender == owner1 || msg.sender == owner2, "Only owner."); _; } constructor() internal { owner1 = msg.sender; } function setOwner1(address _address) public onlyOwner { require(_address != address(0)); owner1 = _address; } function setOwner2(address _address) public onlyOwner { require(_address != address(0)); owner2 = _address; } } contract RequiringAuthorization is Owned { Casino public casino; bool public casinoAuthorized; mapping(address => bool) public authorized; modifier onlyAuthorized { require(authorized[msg.sender] || casinoAuthorized && casino.authorized(msg.sender), "Caller is not authorized."); _; } constructor(address _casino) internal { authorized[msg.sender] = true; casino = Casino(_casino); casinoAuthorized = true; } function authorize(address _address) public onlyOwner { authorized[_address] = true; } function deauthorize(address _address) public onlyOwner { authorized[_address] = false; } function authorizeCasino() public onlyOwner { casinoAuthorized = true; } function deauthorizeCasino() public onlyOwner { casinoAuthorized = false; } function setCasino(address _casino) public onlyOwner { casino = Casino(_casino); } } contract WalletController is RequiringAuthorization { address public destination; address public defaultSweeper = address(new DefaultSweeper(address(this))); bool public halted = false; mapping(address => address) public sweepers; mapping(address => bool) public wallets; event EthDeposit(address _from, address _to, uint _amount); event WalletCreated(address _address); event Sweeped(address _from, address _to, address _token, uint _amount); modifier onlyWallet { require(wallets[msg.sender], "Caller must be user wallet."); _; } constructor(address _casino) public RequiringAuthorization(_casino) { destination = msg.sender; } function setDestination(address _destination) public onlyOwner { destination = _destination; } function createWallet() public { address wallet = address(new UserWallet(this)); wallets[wallet] = true; emit WalletCreated(wallet); } function createWallets(uint count) public { for (uint i = 0; i < count; i++) { createWallet(); } } function addSweeper(address _token, address _sweeper) public onlyOwner { sweepers[_token] = _sweeper; } function halt() public onlyAuthorized { halted = true; } function start() public onlyOwner { halted = false; } function sweeperOf(address _token) public view returns (address) { address sweeper = sweepers[_token]; if (sweeper == 0) sweeper = defaultSweeper; return sweeper; } function logEthDeposit(address _from, address _to, uint _amount) public onlyWallet { emit EthDeposit(_from, _to, _amount); } function logSweep(address _from, address _to, address _token, uint _amount) public { emit Sweeped(_from, _to, _token, _amount); } } contract UserWallet { WalletController private controller; constructor (address _controller) public { controller = WalletController(_controller); } function () public payable { controller.logEthDeposit(msg.sender, address(this), msg.value); } function tokenFallback(address _from, uint _value, bytes _data) public pure { (_from); (_value); (_data); } function sweep(address _token, uint _amount) public returns (bool) { (_amount); return controller.sweeperOf(_token).delegatecall(msg.data); } } contract AbstractSweeper { WalletController public controller; constructor (address _controller) public { controller = WalletController(_controller); } function () public { revert("Contract does not accept ETH."); } function sweep(address token, uint amount) public returns (bool); modifier canSweep() { if (!(controller.authorized(msg.sender) || controller.casinoAuthorized() && controller.casino().authorized(msg.sender))) revert("Caller is not authorized to sweep."); if (controller.halted()) revert("Contract is halted."); _; } } contract DefaultSweeper is AbstractSweeper { constructor (address controller) public AbstractSweeper(controller) {} function sweep(address _token, uint _amount) public canSweep returns (bool) { bool success = false; address destination = controller.destination(); if (_token != address(0)) { Token token = Token(_token); uint amount = _amount; if (amount > token.balanceOf(this)) { return false; } success = token.transfer(destination, amount); } else { uint amountInWei = _amount; if (amountInWei > address(this).balance) { return false; } success = destination.send(amountInWei); } if (success) { controller.logSweep(this, destination, _token, _amount); } return success; } } contract Token { function balanceOf(address a) public pure returns (uint) { (a); return 0; } function transfer(address a, uint val) public pure returns (bool) { (a); (val); return false; } } contract Casino { mapping(address => bool) public authorized; }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_destination","type":"address"}],"name":"setDestination","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"setOwner1","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"deauthorize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_token","type":"address"},{"name":"_amount","type":"uint256"}],"name":"logSweep","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"logEthDeposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"authorizeCasino","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_token","type":"address"}],"name":"sweeperOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner2","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"setOwner2","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"count","type":"uint256"}],"name":"createWallets","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"defaultSweeper","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner1","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_sweeper","type":"address"}],"name":"addSweeper","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"wallets","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"sweepers","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"casino","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"destination","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"authorize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"authorized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deauthorizeCasino","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"casinoAuthorized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_casino","type":"address"}],"name":"setCasino","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_casino","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"EthDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_address","type":"address"}],"name":"WalletCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_to","type":"address"},{"indexed":false,"name":"_token","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Sweeped","type":"event"}]
Contract Creation Code
60806040523061000d6100fe565b600160a060020a03909116815260405190819003602001906000f08015801561003a573d6000803e3d6000fd5b5060058054600160a060020a031916600160a060020a03929092169190911760a060020a60ff021916905534801561007157600080fd5b50604051602080611b16833981016040908152905160008054600160a060020a0319908116339081178355808352600360205293909120805460ff191660011790556002805460a060020a60ff0219600160a060020a039094169083161792909216740100000000000000000000000000000000000000001790915560048054909116909117905561010e565b6040516107fc8061131a83390190565b6111fd8061011d6000396000f3006080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a0a05e6811461015857806311ebbf241461017b5780631b5806201461019057806327c97fa5146101b157806328090abb146101d25780633128012a1461020257806337ef9d561461022c5780633c18d31814610241578063527097251461027e5780635825884f1461029357806359c3f7f0146102b45780635ed7ca5b146102cc5780636fcb1500146102e157806373688914146102f657806377bb09eb1461030b57806389b08f111461033257806393ee5b61146103675780639403e8dd14610388578063b269681d1461039d578063b6a5d7de146103b2578063b9181611146103d3578063b9b8af0b146103f4578063be9a655514610409578063cc0e69d61461041e578063d175f57d14610433578063d7b9cc2414610448575b600080fd5b34801561016457600080fd5b50610179600160a060020a0360043516610469565b005b34801561018757600080fd5b5061017961050b565b34801561019c57600080fd5b50610179600160a060020a03600435166105a1565b3480156101bd57600080fd5b50610179600160a060020a0360043516610658565b3480156101de57600080fd5b50610179600160a060020a03600435811690602435811690604435166064356106ec565b34801561020e57600080fd5b50610179600160a060020a0360043581169060243516604435610744565b34801561023857600080fd5b506101796107fc565b34801561024d57600080fd5b50610262600160a060020a0360043516610895565b60408051600160a060020a039092168252519081900360200190f35b34801561028a57600080fd5b506102626108cd565b34801561029f57600080fd5b50610179600160a060020a03600435166108dc565b3480156102c057600080fd5b50610179600435610993565b3480156102d857600080fd5b506101796109b2565b3480156102ed57600080fd5b50610262610aee565b34801561030257600080fd5b50610262610afd565b34801561031757600080fd5b50610179600160a060020a0360043581169060243516610b0c565b34801561033e57600080fd5b50610353600160a060020a0360043516610bba565b604080519115158252519081900360200190f35b34801561037357600080fd5b50610262600160a060020a0360043516610bcf565b34801561039457600080fd5b50610262610bea565b3480156103a957600080fd5b50610262610bf9565b3480156103be57600080fd5b50610179600160a060020a0360043516610c08565b3480156103df57600080fd5b50610353600160a060020a0360043516610c9f565b34801561040057600080fd5b50610353610cb4565b34801561041557600080fd5b50610179610cc4565b34801561042a57600080fd5b50610179610d57565b34801561043f57600080fd5b50610353610dea565b34801561045457600080fd5b50610179600160a060020a0360043516610dfa565b33151561047557600080fd5b600054600160a060020a03163314806104985750600154600160a060020a031633145b15156104dc576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600030610516610e9c565b600160a060020a03909116815260405190819003602001906000f080158015610543573d6000803e3d6000fd5b50600160a060020a038116600081815260076020908152604091829020805460ff19166001179055815192835290519293507f234cf33b32239d80b54161e2396c80cdeaf4d34161300e54d8bc01eb7c0ea55392918290030190a150565b3315156105ad57600080fd5b600054600160a060020a03163314806105d05750600154600160a060020a031633145b1515610614576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a038116151561062957600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b33151561066457600080fd5b600054600160a060020a03163314806106875750600154600160a060020a031633145b15156106cb576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a03166000908152600360205260409020805460ff19169055565b60408051600160a060020a03808716825280861660208301528416818301526060810183905290517fde2ecff74771516d43826586ff1154ba39fa7e8c51455eae822b2dc2d8a32ff59181900360800190a150505050565b3360009081526007602052604090205460ff1615156107ad576040805160e560020a62461bcd02815260206004820152601b60248201527f43616c6c6572206d75737420626520757365722077616c6c65742e0000000000604482015290519081900360640190fd5b60408051600160a060020a0380861682528416602082015280820183905290517f1d34d19757361fd4aa48c5023224a5cbb511fef3e3ae1ebb3634e00a496b74d79181900360600190a1505050565b33151561080857600080fd5b600054600160a060020a031633148061082b5750600154600160a060020a031633145b151561086f576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6002805474ff0000000000000000000000000000000000000000191660a060020a179055565b600160a060020a038082166000908152600660205260408120549091168015156108c75750600554600160a060020a03165b92915050565b600154600160a060020a031681565b3315156108e857600080fd5b600054600160a060020a031633148061090b5750600154600160a060020a031633145b151561094f576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a038116151561096457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005b818110156109ae576109a661050b565b600101610996565b5050565b3360009081526003602052604090205460ff1680610a72575060025460a060020a900460ff168015610a725750600254604080517fb91816110000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163b9181611916024808201926020929091908290030181600087803b158015610a4557600080fd5b505af1158015610a59573d6000803e3d6000fd5b505050506040513d6020811015610a6f57600080fd5b50515b1515610ac8576040805160e560020a62461bcd02815260206004820152601960248201527f43616c6c6572206973206e6f7420617574686f72697a65642e00000000000000604482015290519081900360640190fd5b6005805474ff0000000000000000000000000000000000000000191660a060020a179055565b600554600160a060020a031681565b600054600160a060020a031681565b331515610b1857600080fd5b600054600160a060020a0316331480610b3b5750600154600160a060020a031633145b1515610b7f576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a039182166000908152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff191691909216179055565b60076020526000908152604090205460ff1681565b600660205260009081526040902054600160a060020a031681565b600254600160a060020a031681565b600454600160a060020a031681565b331515610c1457600080fd5b600054600160a060020a0316331480610c375750600154600160a060020a031633145b1515610c7b576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a03166000908152600360205260409020805460ff19166001179055565b60036020526000908152604090205460ff1681565b60055460a060020a900460ff1681565b331515610cd057600080fd5b600054600160a060020a0316331480610cf35750600154600160a060020a031633145b1515610d37576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6005805474ff000000000000000000000000000000000000000019169055565b331515610d6357600080fd5b600054600160a060020a0316331480610d865750600154600160a060020a031633145b1515610dca576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6002805474ff000000000000000000000000000000000000000019169055565b60025460a060020a900460ff1681565b331515610e0657600080fd5b600054600160a060020a0316331480610e295750600154600160a060020a031633145b1515610e6d576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60405161030580610ead833901905600608060405234801561001057600080fd5b50604051602080610305833981016040525160008054600160a060020a03909216600160a060020a03199092169190911790556102b3806100526000396000f30060806040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a981146100de578063c0ee0b8a14610123575b60008054604080517f3128012a000000000000000000000000000000000000000000000000000000008152336004820152306024820152346044820152905173ffffffffffffffffffffffffffffffffffffffff90921692633128012a9260648084019382900301818387803b1580156100c457600080fd5b505af11580156100d8573d6000803e3d6000fd5b50505050005b3480156100ea57600080fd5b5061010f73ffffffffffffffffffffffffffffffffffffffff6004351660243561019b565b604080519115158252519081900360200190f35b34801561012f57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261019994823573ffffffffffffffffffffffffffffffffffffffff169460248035953695946064949201919081908401838280828437509497506102829650505050505050565b005b60008054604080517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015291519190921691633c18d31891602480830192602092919082900301818787803b15801561021057600080fd5b505af1158015610224573d6000803e3d6000fd5b505050506040513d602081101561023a57600080fd5b505160405173ffffffffffffffffffffffffffffffffffffffff90911690600090369080838380828437820191505092505050600060405180830381855af495945050505050565b5050505600a165627a7a72305820670b3401d94aec68ef3bdcca24e917d0bcb5bf05491f1d1c1d0f59cf6c11fae600294f6e6c79206f776e65722e000000000000000000000000000000000000000000a165627a7a723058201ff2a2876193b296d1036ee3cd71a9fbd06e1111ce68bda5764e19660eba615d0029608060405234801561001057600080fd5b506040516020806107fc833981016040525160008054600160a060020a03909216600160a060020a03199092169190911790556107aa806100526000396000f3006080604052600436106100325763ffffffff60e060020a6000350416636ea056a981146100a6578063f77c4791146100de575b34801561003e57600080fd5b50604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f436f6e747261637420646f6573206e6f7420616363657074204554482e000000604482015290519081900360640190fd5b3480156100b257600080fd5b506100ca600160a060020a036004351660243561010f565b604080519115158252519081900360200190f35b3480156100ea57600080fd5b506100f361076f565b60408051600160a060020a039092168252519081900360200190f35b60008054604080517fb9181611000000000000000000000000000000000000000000000000000000008152336004820152905183928392839283928392600160a060020a039091169163b91816119160248082019260209290919082900301818787803b15801561017f57600080fd5b505af1158015610193573d6000803e3d6000fd5b505050506040513d60208110156101a957600080fd5b50518061034457506000809054906101000a9004600160a060020a0316600160a060020a031663d175f57d6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561020357600080fd5b505af1158015610217573d6000803e3d6000fd5b505050506040513d602081101561022d57600080fd5b5051801561034457506000809054906101000a9004600160a060020a0316600160a060020a0316639403e8dd6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561028857600080fd5b505af115801561029c573d6000803e3d6000fd5b505050506040513d60208110156102b257600080fd5b5051604080517fb91816110000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163b9181611916024808201926020929091908290030181600087803b15801561031757600080fd5b505af115801561032b573d6000803e3d6000fd5b505050506040513d602081101561034157600080fd5b50515b15156103d757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f43616c6c6572206973206e6f7420617574686f72697a656420746f207377656560448201527f702e000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6000809054906101000a9004600160a060020a0316600160a060020a031663b9b8af0b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b505050506040513d602081101561045357600080fd5b5051156104c157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f436f6e74726163742069732068616c7465642e00000000000000000000000000604482015290519081900360640190fd5b600094506000809054906101000a9004600160a060020a0316600160a060020a031663b269681d6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051757600080fd5b505af115801561052b573d6000803e3d6000fd5b505050506040513d602081101561054157600080fd5b50519350600160a060020a0388161561068d57604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051899450889350600160a060020a038516916370a082319160248083019260209291908290030181600087803b1580156105bb57600080fd5b505af11580156105cf573d6000803e3d6000fd5b505050506040513d60208110156105e557600080fd5b50518211156105f75760009550610764565b82600160a060020a031663a9059cbb85846040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b15801561065a57600080fd5b505af115801561066e573d6000803e3d6000fd5b505050506040513d602081101561068457600080fd5b505194506106c8565b508530318111156106a15760009550610764565b604051600160a060020a0385169082156108fc029083906000818181858888f19850505050505b84156107605760008054604080517f28090abb000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0388811660248301528c81166044830152606482018c9052915191909216926328090abb926084808201939182900301818387803b15801561074757600080fd5b505af115801561075b573d6000803e3d6000fd5b505050505b8495505b505050505092915050565b600054600160a060020a0316815600a165627a7a72305820228a6acceddb8c9894d45ddcabf8037fa105957d10d623bec424736c0435d92d002900000000000000000000000091f273b7a28f5169fd7b7995a54b767ca797bc63
Deployed Bytecode
0x6080604052600436106101535763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a0a05e6811461015857806311ebbf241461017b5780631b5806201461019057806327c97fa5146101b157806328090abb146101d25780633128012a1461020257806337ef9d561461022c5780633c18d31814610241578063527097251461027e5780635825884f1461029357806359c3f7f0146102b45780635ed7ca5b146102cc5780636fcb1500146102e157806373688914146102f657806377bb09eb1461030b57806389b08f111461033257806393ee5b61146103675780639403e8dd14610388578063b269681d1461039d578063b6a5d7de146103b2578063b9181611146103d3578063b9b8af0b146103f4578063be9a655514610409578063cc0e69d61461041e578063d175f57d14610433578063d7b9cc2414610448575b600080fd5b34801561016457600080fd5b50610179600160a060020a0360043516610469565b005b34801561018757600080fd5b5061017961050b565b34801561019c57600080fd5b50610179600160a060020a03600435166105a1565b3480156101bd57600080fd5b50610179600160a060020a0360043516610658565b3480156101de57600080fd5b50610179600160a060020a03600435811690602435811690604435166064356106ec565b34801561020e57600080fd5b50610179600160a060020a0360043581169060243516604435610744565b34801561023857600080fd5b506101796107fc565b34801561024d57600080fd5b50610262600160a060020a0360043516610895565b60408051600160a060020a039092168252519081900360200190f35b34801561028a57600080fd5b506102626108cd565b34801561029f57600080fd5b50610179600160a060020a03600435166108dc565b3480156102c057600080fd5b50610179600435610993565b3480156102d857600080fd5b506101796109b2565b3480156102ed57600080fd5b50610262610aee565b34801561030257600080fd5b50610262610afd565b34801561031757600080fd5b50610179600160a060020a0360043581169060243516610b0c565b34801561033e57600080fd5b50610353600160a060020a0360043516610bba565b604080519115158252519081900360200190f35b34801561037357600080fd5b50610262600160a060020a0360043516610bcf565b34801561039457600080fd5b50610262610bea565b3480156103a957600080fd5b50610262610bf9565b3480156103be57600080fd5b50610179600160a060020a0360043516610c08565b3480156103df57600080fd5b50610353600160a060020a0360043516610c9f565b34801561040057600080fd5b50610353610cb4565b34801561041557600080fd5b50610179610cc4565b34801561042a57600080fd5b50610179610d57565b34801561043f57600080fd5b50610353610dea565b34801561045457600080fd5b50610179600160a060020a0360043516610dfa565b33151561047557600080fd5b600054600160a060020a03163314806104985750600154600160a060020a031633145b15156104dc576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600030610516610e9c565b600160a060020a03909116815260405190819003602001906000f080158015610543573d6000803e3d6000fd5b50600160a060020a038116600081815260076020908152604091829020805460ff19166001179055815192835290519293507f234cf33b32239d80b54161e2396c80cdeaf4d34161300e54d8bc01eb7c0ea55392918290030190a150565b3315156105ad57600080fd5b600054600160a060020a03163314806105d05750600154600160a060020a031633145b1515610614576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a038116151561062957600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b33151561066457600080fd5b600054600160a060020a03163314806106875750600154600160a060020a031633145b15156106cb576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a03166000908152600360205260409020805460ff19169055565b60408051600160a060020a03808716825280861660208301528416818301526060810183905290517fde2ecff74771516d43826586ff1154ba39fa7e8c51455eae822b2dc2d8a32ff59181900360800190a150505050565b3360009081526007602052604090205460ff1615156107ad576040805160e560020a62461bcd02815260206004820152601b60248201527f43616c6c6572206d75737420626520757365722077616c6c65742e0000000000604482015290519081900360640190fd5b60408051600160a060020a0380861682528416602082015280820183905290517f1d34d19757361fd4aa48c5023224a5cbb511fef3e3ae1ebb3634e00a496b74d79181900360600190a1505050565b33151561080857600080fd5b600054600160a060020a031633148061082b5750600154600160a060020a031633145b151561086f576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6002805474ff0000000000000000000000000000000000000000191660a060020a179055565b600160a060020a038082166000908152600660205260408120549091168015156108c75750600554600160a060020a03165b92915050565b600154600160a060020a031681565b3315156108e857600080fd5b600054600160a060020a031633148061090b5750600154600160a060020a031633145b151561094f576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a038116151561096457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005b818110156109ae576109a661050b565b600101610996565b5050565b3360009081526003602052604090205460ff1680610a72575060025460a060020a900460ff168015610a725750600254604080517fb91816110000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163b9181611916024808201926020929091908290030181600087803b158015610a4557600080fd5b505af1158015610a59573d6000803e3d6000fd5b505050506040513d6020811015610a6f57600080fd5b50515b1515610ac8576040805160e560020a62461bcd02815260206004820152601960248201527f43616c6c6572206973206e6f7420617574686f72697a65642e00000000000000604482015290519081900360640190fd5b6005805474ff0000000000000000000000000000000000000000191660a060020a179055565b600554600160a060020a031681565b600054600160a060020a031681565b331515610b1857600080fd5b600054600160a060020a0316331480610b3b5750600154600160a060020a031633145b1515610b7f576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a039182166000908152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff191691909216179055565b60076020526000908152604090205460ff1681565b600660205260009081526040902054600160a060020a031681565b600254600160a060020a031681565b600454600160a060020a031681565b331515610c1457600080fd5b600054600160a060020a0316331480610c375750600154600160a060020a031633145b1515610c7b576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b600160a060020a03166000908152600360205260409020805460ff19166001179055565b60036020526000908152604090205460ff1681565b60055460a060020a900460ff1681565b331515610cd057600080fd5b600054600160a060020a0316331480610cf35750600154600160a060020a031633145b1515610d37576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6005805474ff000000000000000000000000000000000000000019169055565b331515610d6357600080fd5b600054600160a060020a0316331480610d865750600154600160a060020a031633145b1515610dca576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6002805474ff000000000000000000000000000000000000000019169055565b60025460a060020a900460ff1681565b331515610e0657600080fd5b600054600160a060020a0316331480610e295750600154600160a060020a031633145b1515610e6d576040805160e560020a62461bcd02815260206004820152600b60248201526000805160206111b2833981519152604482015290519081900360640190fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60405161030580610ead833901905600608060405234801561001057600080fd5b50604051602080610305833981016040525160008054600160a060020a03909216600160a060020a03199092169190911790556102b3806100526000396000f30060806040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a981146100de578063c0ee0b8a14610123575b60008054604080517f3128012a000000000000000000000000000000000000000000000000000000008152336004820152306024820152346044820152905173ffffffffffffffffffffffffffffffffffffffff90921692633128012a9260648084019382900301818387803b1580156100c457600080fd5b505af11580156100d8573d6000803e3d6000fd5b50505050005b3480156100ea57600080fd5b5061010f73ffffffffffffffffffffffffffffffffffffffff6004351660243561019b565b604080519115158252519081900360200190f35b34801561012f57600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261019994823573ffffffffffffffffffffffffffffffffffffffff169460248035953695946064949201919081908401838280828437509497506102829650505050505050565b005b60008054604080517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015291519190921691633c18d31891602480830192602092919082900301818787803b15801561021057600080fd5b505af1158015610224573d6000803e3d6000fd5b505050506040513d602081101561023a57600080fd5b505160405173ffffffffffffffffffffffffffffffffffffffff90911690600090369080838380828437820191505092505050600060405180830381855af495945050505050565b5050505600a165627a7a72305820670b3401d94aec68ef3bdcca24e917d0bcb5bf05491f1d1c1d0f59cf6c11fae600294f6e6c79206f776e65722e000000000000000000000000000000000000000000a165627a7a723058201ff2a2876193b296d1036ee3cd71a9fbd06e1111ce68bda5764e19660eba615d0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000091f273b7a28f5169fd7b7995a54b767ca797bc63
-----Decoded View---------------
Arg [0] : _casino (address): 0x91f273b7A28F5169FD7B7995A54B767cA797BC63
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000091f273b7a28f5169fd7b7995a54b767ca797bc63
Swarm Source
bzzr://228a6acceddb8c9894d45ddcabf8037fa105957d10d623bec424736c0435d92d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.