Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 130 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 14372370 | 970 days ago | IN | 0.03638 ETH | 0.00633799 | ||||
Transfer | 14369866 | 971 days ago | IN | 0.03638 ETH | 0.00588435 | ||||
Transfer | 14369707 | 971 days ago | IN | 0.03628 ETH | 0.0076316 | ||||
Transfer | 14354391 | 973 days ago | IN | 0.03628 ETH | 0.01585832 | ||||
Transfer | 13120005 | 1165 days ago | IN | 0.07196 ETH | 0.03146501 | ||||
Transfer | 13087773 | 1170 days ago | IN | 0.03588 ETH | 0.01739932 | ||||
Transfer | 13087130 | 1170 days ago | IN | 0.03578 ETH | 0.01900885 | ||||
Transfer | 13081645 | 1171 days ago | IN | 0.03568 ETH | 0.0120074 | ||||
Transfer | 13081621 | 1171 days ago | IN | 0.3468 ETH | 0.09949033 | ||||
Transfer | 13081534 | 1171 days ago | IN | 0.10314 ETH | 0.0244365 | ||||
Transfer | 13080996 | 1171 days ago | IN | 0.4932 ETH | 0.12157277 | ||||
Transfer | 13080983 | 1171 days ago | IN | 0.03278 ETH | 0.01233683 | ||||
Transfer | 13080339 | 1171 days ago | IN | 0.06516 ETH | 0.02727403 | ||||
Transfer | 13079547 | 1172 days ago | IN | 0.1604 ETH | 0.06379147 | ||||
Transfer* | 13079294 | 1172 days ago | IN | 0.06376 ETH | 0.05003526 | ||||
Transfer | 13079063 | 1172 days ago | IN | 0.03178 ETH | 0.02337674 | ||||
Transfer | 13078895 | 1172 days ago | IN | 0.06316 ETH | 0.03079945 | ||||
Transfer | 13078820 | 1172 days ago | IN | 0.15888 ETH | 0.04426192 | ||||
Transfer | 13078782 | 1172 days ago | IN | 0.1529 ETH | 0.0472997 | ||||
Transfer | 13078732 | 1172 days ago | IN | 0.06076 ETH | 0.03014969 | ||||
Transfer | 13078727 | 1172 days ago | IN | 0.06036 ETH | 0.02851697 | ||||
Transfer | 13078725 | 1172 days ago | IN | 0.08574 ETH | 0.02390887 | ||||
Transfer | 13078723 | 1172 days ago | IN | 0.4197 ETH | 0.13138428 | ||||
Transfer | 13078722 | 1172 days ago | IN | 0.11192 ETH | 0.02951543 | ||||
Transfer | 13078722 | 1172 days ago | IN | 0.08394 ETH | 0.02929925 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14372370 | 970 days ago | 0.03638 ETH | ||||
14369866 | 971 days ago | 0.03638 ETH | ||||
14369707 | 971 days ago | 0.03628 ETH | ||||
14354391 | 973 days ago | 0.03618 ETH | ||||
14354391 | 973 days ago | 0.0001 ETH | ||||
13120005 | 1165 days ago | 0.07196 ETH | ||||
13087773 | 1170 days ago | 0.03588 ETH | ||||
13087130 | 1170 days ago | 0.03578 ETH | ||||
13081645 | 1171 days ago | 0.03568 ETH | ||||
13081621 | 1171 days ago | 0.3468 ETH | ||||
13081534 | 1171 days ago | 0.10314 ETH | ||||
13080996 | 1171 days ago | 0.4932 ETH | ||||
13080983 | 1171 days ago | 0.03278 ETH | ||||
13080339 | 1171 days ago | 0.06516 ETH | ||||
13079547 | 1172 days ago | 0.1604 ETH | ||||
13079294 | 1172 days ago | 0.06376 ETH | ||||
13079063 | 1172 days ago | 0.03178 ETH | ||||
13078895 | 1172 days ago | 0.06316 ETH | ||||
13078820 | 1172 days ago | 0.1554 ETH | ||||
13078820 | 1172 days ago | 0.00348 ETH | ||||
13078782 | 1172 days ago | 0.1529 ETH | ||||
13078732 | 1172 days ago | 0.06076 ETH | ||||
13078727 | 1172 days ago | 0.06036 ETH | ||||
13078725 | 1172 days ago | 0.05996 ETH | ||||
13078725 | 1172 days ago | 0.02578 ETH |
Loading...
Loading
Contract Name:
CrowdSaleDragonETH
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-07-04 */ pragma solidity ^0.4.24; /* https://dragoneth.com */ contract DragonsETH { function createDragon( address _to, uint256 _timeToBorn, uint256 _parentOne, uint256 _parentTwo, uint256 _gen1, uint240 _gen2 ) external; } library AddressUtils { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until after the constructor finishes. * @param addr address to check * @return whether the target address is a contract */ function isContract(address addr) internal view returns (bool) { uint256 size; // XXX Currently there is no better way to check if there is a contract in an address // than to check the size of the code at that address. // See https://ethereum.stackexchange.com/a/14016/36603 // for more details about how this works. // TODO Check this again before the Serenity release, because all addresses will be // contracts then. assembly { size := extcodesize(addr) } // solium-disable-line security/no-inline-assembly return size > 0; } } library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this role */ function add(Role storage role, address addr) internal { role.bearer[addr] = true; } /** * @dev remove an address' access to this role */ function remove(Role storage role, address addr) internal { role.bearer[addr] = false; } /** * @dev check if an address has this role * // reverts */ function check(Role storage role, address addr) view internal { require(has(role, addr)); } /** * @dev check if an address has this role * @return bool */ function has(Role storage role, address addr) view internal returns (bool) { return role.bearer[addr]; } } contract RBAC { using Roles for Roles.Role; mapping (string => Roles.Role) private roles; event RoleAdded(address addr, string roleName); event RoleRemoved(address addr, string roleName); /** * @dev reverts if addr does not have role * @param addr address * @param roleName the name of the role * // reverts */ function checkRole(address addr, string roleName) view public { roles[roleName].check(addr); } /** * @dev determine if addr has role * @param addr address * @param roleName the name of the role * @return bool */ function hasRole(address addr, string roleName) view public returns (bool) { return roles[roleName].has(addr); } /** * @dev add a role to an address * @param addr address * @param roleName the name of the role */ function addRole(address addr, string roleName) internal { roles[roleName].add(addr); emit RoleAdded(addr, roleName); } /** * @dev remove a role from an address * @param addr address * @param roleName the name of the role */ function removeRole(address addr, string roleName) internal { roles[roleName].remove(addr); emit RoleRemoved(addr, roleName); } /** * @dev modifier to scope access to a single role (uses msg.sender as addr) * @param roleName the name of the role * // reverts */ modifier onlyRole(string roleName) { checkRole(msg.sender, roleName); _; } /** * @dev modifier to scope access to a set of roles (uses msg.sender as addr) * @param roleNames the names of the roles to scope access to * // reverts * * @TODO - when solidity supports dynamic arrays as arguments to modifiers, provide this * see: https://github.com/ethereum/solidity/issues/2467 */ // modifier onlyRoles(string[] roleNames) { // bool hasAnyRole = false; // for (uint8 i = 0; i < roleNames.length; i++) { // if (hasRole(msg.sender, roleNames[i])) { // hasAnyRole = true; // break; // } // } // require(hasAnyRole); // _; // } } contract RBACWithAdmin is RBAC { /** * A constant role name for indicating admins. */ string public constant ROLE_ADMIN = "admin"; string public constant ROLE_PAUSE_ADMIN = "pauseAdmin"; /** * @dev modifier to scope access to admins * // reverts */ modifier onlyAdmin() { checkRole(msg.sender, ROLE_ADMIN); _; } modifier onlyPauseAdmin() { checkRole(msg.sender, ROLE_PAUSE_ADMIN); _; } /** * @dev constructor. Sets msg.sender as admin by default */ constructor() public { addRole(msg.sender, ROLE_ADMIN); addRole(msg.sender, ROLE_PAUSE_ADMIN); } /** * @dev add a role to an address * @param addr address * @param roleName the name of the role */ function adminAddRole(address addr, string roleName) onlyAdmin public { addRole(addr, roleName); } /** * @dev remove a role from an address * @param addr address * @param roleName the name of the role */ function adminRemoveRole(address addr, string roleName) onlyAdmin public { removeRole(addr, roleName); } } contract Pausable is RBACWithAdmin { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyPauseAdmin whenNotPaused public { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyPauseAdmin whenPaused public { paused = false; emit Unpause(); } } contract ReentrancyGuard { /** * @dev We use a single lock for the whole contract. */ bool private reentrancyLock = false; /** * @dev Prevents a contract from calling itself, directly or indirectly. * @notice If you mark a function `nonReentrant`, you should also * mark it `external`. Calling one nonReentrant function from * another is not supported. Instead, you can implement a * `private` function doing the actual work, and a `external` * wrapper marked as `nonReentrant`. */ modifier nonReentrant() { require(!reentrancyLock); reentrancyLock = true; _; reentrancyLock = false; } } contract CrowdSaleDragonETH is Pausable, ReentrancyGuard { using SafeMath for uint256; using AddressUtils for address; address private wallet; address public mainContract; uint256 public crowdSaleDragonPrice = 0.01 ether; uint256 public soldDragons; uint256 public priceChanger = 0.00002 ether; uint256 public timeToBorn = 5760; // ~ 24h uint256 public contRefer50x50; mapping(address => bool) public refer50x50; constructor(address _wallet, address _mainContract) public { wallet = _wallet; mainContract = _mainContract; } function() external payable whenNotPaused nonReentrant { require(soldDragons <= 100000); require(msg.value >= crowdSaleDragonPrice); require(!msg.sender.isContract()); uint256 count_to_buy; uint256 return_value; count_to_buy = msg.value.div(crowdSaleDragonPrice); if (count_to_buy > 15) count_to_buy = 15; // operation safety check with functions div() and require() above return_value = msg.value - count_to_buy * crowdSaleDragonPrice; if (return_value > 0) msg.sender.transfer(return_value); uint256 mainValue = msg.value - return_value; if (msg.data.length == 20) { address referer = bytesToAddress(bytes(msg.data)); require(referer != msg.sender); if (referer == address(0)) wallet.transfer(mainValue); else { if (refer50x50[referer]) { referer.transfer(mainValue/2); wallet.transfer(mainValue - mainValue/2); } else { referer.transfer(mainValue*3/10); wallet.transfer(mainValue - mainValue*3/10); } } } else wallet.transfer(mainValue); for(uint256 i = 1; i <= count_to_buy; i += 1) { DragonsETH(mainContract).createDragon(msg.sender, block.number + timeToBorn, 0, 0, 0, 0); soldDragons++; crowdSaleDragonPrice = crowdSaleDragonPrice + priceChanger; } } function sendBonusEgg(address _to, uint256 _count) external onlyRole("BountyAgent") { for(uint256 i = 1; i <= _count; i += 1) { DragonsETH(mainContract).createDragon(_to, block.number + timeToBorn, 0, 0, 0, 0); soldDragons++; crowdSaleDragonPrice = crowdSaleDragonPrice + priceChanger; } } function changePrice(uint256 _price) external onlyAdmin { crowdSaleDragonPrice = _price; } function setPriceChanger(uint256 _priceChanger) external onlyAdmin { priceChanger = _priceChanger; } function changeWallet(address _wallet) external onlyAdmin { wallet = _wallet; } function setRefer50x50(address _refer) external onlyAdmin { require(contRefer50x50 < 50); require(refer50x50[_refer] == false); refer50x50[_refer] = true; contRefer50x50 += 1; } function setTimeToBorn(uint256 _timeToBorn) external onlyAdmin { timeToBorn = _timeToBorn; } function withdrawAllEther() external onlyAdmin { require(wallet != 0); wallet.transfer(address(this).balance); } function bytesToAddress(bytes _bytesData) internal pure returns(address _addressReferer) { assembly { _addressReferer := mload(add(_bytesData,0x14)) } return _addressReferer; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"addr","type":"address"},{"name":"roleName","type":"string"}],"name":"checkRole","outputs":[],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"refer50x50","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_refer","type":"address"}],"name":"setRefer50x50","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"},{"name":"roleName","type":"string"}],"name":"hasRole","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"priceChanger","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAllEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"timeToBorn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ROLE_PAUSE_ADMIN","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_timeToBorn","type":"uint256"}],"name":"setTimeToBorn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"soldDragons","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"roleName","type":"string"}],"name":"adminRemoveRole","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_priceChanger","type":"uint256"}],"name":"setPriceChanger","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"changeWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contRefer50x50","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_count","type":"uint256"}],"name":"sendBonusEgg","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_price","type":"uint256"}],"name":"changePrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"crowdSaleDragonPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"roleName","type":"string"}],"name":"adminAddRole","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mainContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ROLE_ADMIN","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_wallet","type":"address"},{"name":"_mainContract","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"roleName","type":"string"}],"name":"RoleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"roleName","type":"string"}],"name":"RoleRemoved","type":"event"}]
Contract Creation Code
60806040526001805461ffff19169055662386f26fc100006003556512309ce540006005556116806006553480156200003757600080fd5b50604051604080620014af8339810160408181528251602093840151828401909252600583527f61646d696e00000000000000000000000000000000000000000000000000000093830193909352906200009c9033906401000000006200012a810204565b620000ec336040805190810160405280600a81526020017f706175736541646d696e000000000000000000000000000000000000000000008152506200012a640100000000026401000000009004565b600180546201000060b060020a03191662010000600160a060020a039485160217905560028054600160a060020a0319169190921617905562000285565b620001a6826000836040518082805190602001908083835b60208310620001635780518252601f19909201916020918201910162000142565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050640100000000620002608102620011c91704565b7fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b70048982826040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156200022057818101518382015260200162000206565b50505050905090810190601f1680156200024e5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b61121a80620002956000396000f3006080604052600436106101325763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630988ca8c81146105105780630dd66c751461057957806314b1e1f8146105ae578063217fe6c6146105cf5780632da0c25c1461063657806331c911171461065d5780633f4ba83a146106725780634256fa5a14610687578063474923521461069c5780635c975abb146107265780636998a85b1461073b57806371443c4d146107535780638456cb591461076857806388cee87e1461077d57806391be0b31146107e457806398b9a2dc146107fc57806398d707791461081d5780639cb75b2f14610832578063a2b40d1914610856578063ae2621141461086e578063b25fa92c14610883578063d270e7ab146108ea578063d391014b1461091b575b600154600090819081908190819060ff161561014d57600080fd5b600154610100900460ff161561016257600080fd5b6001805461ff001916610100179055600454620186a0101561018357600080fd5b60035434101561019257600080fd5b61019b33610930565b156101a557600080fd5b6003546101b990349063ffffffff61093816565b9450600f8511156101c957600f94505b600354850234039350600084111561020a57604051339085156108fc029086906000818181858888f19350505050158015610208573d6000803e3d6000fd5b505b34849003925060143614156103ec576102536000368080601f0160208091040260200160405190810160405280939291908181526020018383808284375061094d945050505050565b9150600160a060020a03821633141561026b57600080fd5b600160a060020a03821615156102c05760015460405162010000909104600160a060020a0316906108fc8515029085906000818181858888f193505050501580156102ba573d6000803e3d6000fd5b506103e7565b600160a060020a03821660009081526008602052604090205460ff161561036057604051600160a060020a038316906002850480156108fc02916000818181858888f19350505050158015610319573d6000803e3d6000fd5b50600154620100009004600160a060020a03166108fc6002850485039081150290604051600060405180830381858888f193505050501580156102ba573d6000803e3d6000fd5b604051600160a060020a03831690600a600386020480156108fc02916000818181858888f1935050505015801561039b573d6000803e3d6000fd5b50600154620100009004600160a060020a03166108fc600a600386020485039081150290604051600060405180830381858888f193505050501580156103e5573d6000803e3d6000fd5b505b61042d565b60015460405162010000909104600160a060020a0316906108fc8515029085906000818181858888f1935050505015801561042b573d6000803e3d6000fd5b505b5060015b8481116104fe57600254600654604080517f3f07618d000000000000000000000000000000000000000000000000000000008152336004820152439092016024830152600060448301819052606483018190526084830181905260a483018190529051600160a060020a0390931692633f07618d9260c480820193929182900301818387803b1580156104c357600080fd5b505af11580156104d7573d6000803e3d6000fd5b50506004805460019081019091556005546003805490910190559290920191506104319050565b50506001805461ff0019169055505050005b34801561051c57600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610577958335600160a060020a03169536956044949193909101919081908401838280828437509497506109549650505050505050565b005b34801561058557600080fd5b5061059a600160a060020a03600435166109c2565b604080519115158252519081900360200190f35b3480156105ba57600080fd5b50610577600160a060020a03600435166109d7565b3480156105db57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261059a958335600160a060020a0316953695604494919390910191908190840183828082843750949750610a669650505050505050565b34801561064257600080fd5b5061064b610ad9565b60408051918252519081900360200190f35b34801561066957600080fd5b50610577610adf565b34801561067e57600080fd5b50610577610b6b565b34801561069357600080fd5b5061064b610bf0565b3480156106a857600080fd5b506106b1610bf6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156106eb5781810151838201526020016106d3565b50505050905090810190601f1680156107185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561073257600080fd5b5061059a610c2d565b34801561074757600080fd5b50610577600435610c36565b34801561075f57600080fd5b5061064b610c65565b34801561077457600080fd5b50610577610c6b565b34801561078957600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610577958335600160a060020a0316953695604494919390910191908190840183828082843750949750610cf19650505050505050565b3480156107f057600080fd5b50610577600435610d25565b34801561080857600080fd5b50610577600160a060020a0360043516610d54565b34801561082957600080fd5b5061064b610db5565b34801561083e57600080fd5b50610577600160a060020a0360043516602435610dbb565b34801561086257600080fd5b50610577600435610ed7565b34801561087a57600080fd5b5061064b610f06565b34801561088f57600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610577958335600160a060020a0316953695604494919390910191908190840183828082843750949750610f0c9650505050505050565b3480156108f657600080fd5b506108ff610f40565b60408051600160a060020a039092168252519081900360200190f35b34801561092757600080fd5b506106b1610f4f565b6000903b1190565b6000818381151561094557fe5b049392505050565b6014015190565b6109be826000836040518082805190602001908083835b6020831061098a5780518252601f19909201916020918201910161096b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610f71565b5050565b60086020526000908152604090205460ff1681565b610a013360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600754603211610a1057600080fd5b600160a060020a03811660009081526008602052604090205460ff1615610a3657600080fd5b600160a060020a03166000908152600860205260409020805460ff19166001908117909155600780549091019055565b6000610ad2836000846040518082805190602001908083835b60208310610a9e5780518252601f199092019160209182019101610a7f565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610f86565b9392505050565b60055481565b610b093360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600154620100009004600160a060020a03161515610b2657600080fd5b600154604051600160a060020a03620100009092049190911690303180156108fc02916000818181858888f19350505050158015610b68573d6000803e3d6000fd5b50565b610baa336040805190810160405280600a81526020017f706175736541646d696e00000000000000000000000000000000000000000000815250610954565b60015460ff161515610bbb57600080fd5b6001805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b60065481565b60408051808201909152600a81527f706175736541646d696e00000000000000000000000000000000000000000000602082015281565b60015460ff1681565b610c603360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600655565b60045481565b610caa336040805190810160405280600a81526020017f706175736541646d696e00000000000000000000000000000000000000000000815250610954565b60015460ff1615610cba57600080fd5b6001805460ff1916811790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b610d1b3360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b6109be8282610fa5565b610d4f3360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600555565b610d7e3360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b60018054600160a060020a03909216620100000275ffffffffffffffffffffffffffffffffffffffff000019909216919091179055565b60075481565b60006040805190810160405280600b81526020017f426f756e74794167656e74000000000000000000000000000000000000000000815250610dfd3382610954565b600191505b828211610ed157600254600654604080517f3f07618d000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152439093016024820152600060448201819052606482018190526084820181905260a4820181905291519290931692633f07618d9260c4808301939282900301818387803b158015610e9657600080fd5b505af1158015610eaa573d6000803e3d6000fd5b5050600480546001908101909155600554600380549091019055939093019250610e029050565b50505050565b610f013360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600355565b60035481565b610f363360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b6109be82826110c6565b600254600160a060020a031681565b604080518082019091526005815260d960020a6430b236b4b702602082015281565b610f7b8282610f86565b15156109be57600080fd5b600160a060020a03166000908152602091909152604090205460ff1690565b61100f826000836040518082805190602001908083835b60208310610fdb5780518252601f199092019160209182019101610fbc565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506111a7565b7fd211483f91fc6eff862467f8de606587a30c8fc9981056f051b897a418df803a82826040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561108757818101518382015260200161106f565b50505050905090810190601f1680156110b45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b611130826000836040518082805190602001908083835b602083106110fc5780518252601f1990920191602091820191016110dd565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506111c9565b7fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b70048982826040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360008381101561108757818101518382015260200161106f565b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a0316600090815260209190915260409020805460ff191660011790555600a165627a7a723058204d11153073d130bd3e0dbb4a19bb2fdf9e0c8a983a359a185d4d2587ab982cad0029000000000000000000000000787afd5a10fa6b212c1161461bca9ddc52788aee00000000000000000000000034887b4e8fe85b20ae9012d071412afe702c9409
Deployed Bytecode
0x6080604052600436106101325763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630988ca8c81146105105780630dd66c751461057957806314b1e1f8146105ae578063217fe6c6146105cf5780632da0c25c1461063657806331c911171461065d5780633f4ba83a146106725780634256fa5a14610687578063474923521461069c5780635c975abb146107265780636998a85b1461073b57806371443c4d146107535780638456cb591461076857806388cee87e1461077d57806391be0b31146107e457806398b9a2dc146107fc57806398d707791461081d5780639cb75b2f14610832578063a2b40d1914610856578063ae2621141461086e578063b25fa92c14610883578063d270e7ab146108ea578063d391014b1461091b575b600154600090819081908190819060ff161561014d57600080fd5b600154610100900460ff161561016257600080fd5b6001805461ff001916610100179055600454620186a0101561018357600080fd5b60035434101561019257600080fd5b61019b33610930565b156101a557600080fd5b6003546101b990349063ffffffff61093816565b9450600f8511156101c957600f94505b600354850234039350600084111561020a57604051339085156108fc029086906000818181858888f19350505050158015610208573d6000803e3d6000fd5b505b34849003925060143614156103ec576102536000368080601f0160208091040260200160405190810160405280939291908181526020018383808284375061094d945050505050565b9150600160a060020a03821633141561026b57600080fd5b600160a060020a03821615156102c05760015460405162010000909104600160a060020a0316906108fc8515029085906000818181858888f193505050501580156102ba573d6000803e3d6000fd5b506103e7565b600160a060020a03821660009081526008602052604090205460ff161561036057604051600160a060020a038316906002850480156108fc02916000818181858888f19350505050158015610319573d6000803e3d6000fd5b50600154620100009004600160a060020a03166108fc6002850485039081150290604051600060405180830381858888f193505050501580156102ba573d6000803e3d6000fd5b604051600160a060020a03831690600a600386020480156108fc02916000818181858888f1935050505015801561039b573d6000803e3d6000fd5b50600154620100009004600160a060020a03166108fc600a600386020485039081150290604051600060405180830381858888f193505050501580156103e5573d6000803e3d6000fd5b505b61042d565b60015460405162010000909104600160a060020a0316906108fc8515029085906000818181858888f1935050505015801561042b573d6000803e3d6000fd5b505b5060015b8481116104fe57600254600654604080517f3f07618d000000000000000000000000000000000000000000000000000000008152336004820152439092016024830152600060448301819052606483018190526084830181905260a483018190529051600160a060020a0390931692633f07618d9260c480820193929182900301818387803b1580156104c357600080fd5b505af11580156104d7573d6000803e3d6000fd5b50506004805460019081019091556005546003805490910190559290920191506104319050565b50506001805461ff0019169055505050005b34801561051c57600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610577958335600160a060020a03169536956044949193909101919081908401838280828437509497506109549650505050505050565b005b34801561058557600080fd5b5061059a600160a060020a03600435166109c2565b604080519115158252519081900360200190f35b3480156105ba57600080fd5b50610577600160a060020a03600435166109d7565b3480156105db57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261059a958335600160a060020a0316953695604494919390910191908190840183828082843750949750610a669650505050505050565b34801561064257600080fd5b5061064b610ad9565b60408051918252519081900360200190f35b34801561066957600080fd5b50610577610adf565b34801561067e57600080fd5b50610577610b6b565b34801561069357600080fd5b5061064b610bf0565b3480156106a857600080fd5b506106b1610bf6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156106eb5781810151838201526020016106d3565b50505050905090810190601f1680156107185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561073257600080fd5b5061059a610c2d565b34801561074757600080fd5b50610577600435610c36565b34801561075f57600080fd5b5061064b610c65565b34801561077457600080fd5b50610577610c6b565b34801561078957600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610577958335600160a060020a0316953695604494919390910191908190840183828082843750949750610cf19650505050505050565b3480156107f057600080fd5b50610577600435610d25565b34801561080857600080fd5b50610577600160a060020a0360043516610d54565b34801561082957600080fd5b5061064b610db5565b34801561083e57600080fd5b50610577600160a060020a0360043516602435610dbb565b34801561086257600080fd5b50610577600435610ed7565b34801561087a57600080fd5b5061064b610f06565b34801561088f57600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610577958335600160a060020a0316953695604494919390910191908190840183828082843750949750610f0c9650505050505050565b3480156108f657600080fd5b506108ff610f40565b60408051600160a060020a039092168252519081900360200190f35b34801561092757600080fd5b506106b1610f4f565b6000903b1190565b6000818381151561094557fe5b049392505050565b6014015190565b6109be826000836040518082805190602001908083835b6020831061098a5780518252601f19909201916020918201910161096b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610f71565b5050565b60086020526000908152604090205460ff1681565b610a013360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600754603211610a1057600080fd5b600160a060020a03811660009081526008602052604090205460ff1615610a3657600080fd5b600160a060020a03166000908152600860205260409020805460ff19166001908117909155600780549091019055565b6000610ad2836000846040518082805190602001908083835b60208310610a9e5780518252601f199092019160209182019101610a7f565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050610f86565b9392505050565b60055481565b610b093360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600154620100009004600160a060020a03161515610b2657600080fd5b600154604051600160a060020a03620100009092049190911690303180156108fc02916000818181858888f19350505050158015610b68573d6000803e3d6000fd5b50565b610baa336040805190810160405280600a81526020017f706175736541646d696e00000000000000000000000000000000000000000000815250610954565b60015460ff161515610bbb57600080fd5b6001805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b60065481565b60408051808201909152600a81527f706175736541646d696e00000000000000000000000000000000000000000000602082015281565b60015460ff1681565b610c603360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600655565b60045481565b610caa336040805190810160405280600a81526020017f706175736541646d696e00000000000000000000000000000000000000000000815250610954565b60015460ff1615610cba57600080fd5b6001805460ff1916811790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b610d1b3360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b6109be8282610fa5565b610d4f3360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600555565b610d7e3360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b60018054600160a060020a03909216620100000275ffffffffffffffffffffffffffffffffffffffff000019909216919091179055565b60075481565b60006040805190810160405280600b81526020017f426f756e74794167656e74000000000000000000000000000000000000000000815250610dfd3382610954565b600191505b828211610ed157600254600654604080517f3f07618d000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152439093016024820152600060448201819052606482018190526084820181905260a4820181905291519290931692633f07618d9260c4808301939282900301818387803b158015610e9657600080fd5b505af1158015610eaa573d6000803e3d6000fd5b5050600480546001908101909155600554600380549091019055939093019250610e029050565b50505050565b610f013360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b600355565b60035481565b610f363360408051908101604052806005815260200160d960020a6430b236b4b702815250610954565b6109be82826110c6565b600254600160a060020a031681565b604080518082019091526005815260d960020a6430b236b4b702602082015281565b610f7b8282610f86565b15156109be57600080fd5b600160a060020a03166000908152602091909152604090205460ff1690565b61100f826000836040518082805190602001908083835b60208310610fdb5780518252601f199092019160209182019101610fbc565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506111a7565b7fd211483f91fc6eff862467f8de606587a30c8fc9981056f051b897a418df803a82826040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561108757818101518382015260200161106f565b50505050905090810190601f1680156110b45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b611130826000836040518082805190602001908083835b602083106110fc5780518252601f1990920191602091820191016110dd565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506111c9565b7fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b70048982826040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360008381101561108757818101518382015260200161106f565b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a0316600090815260209190915260409020805460ff191660011790555600a165627a7a723058204d11153073d130bd3e0dbb4a19bb2fdf9e0c8a983a359a185d4d2587ab982cad0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000787afd5a10fa6b212c1161461bca9ddc52788aee00000000000000000000000034887b4e8fe85b20ae9012d071412afe702c9409
-----Decoded View---------------
Arg [0] : _wallet (address): 0x787aFD5a10FA6b212c1161461bCA9ddC52788AEE
Arg [1] : _mainContract (address): 0x34887B4E8Fe85B20ae9012d071412afe702C9409
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000787afd5a10fa6b212c1161461bca9ddc52788aee
Arg [1] : 00000000000000000000000034887b4e8fe85b20ae9012d071412afe702c9409
Swarm Source
bzzr://4d11153073d130bd3e0dbb4a19bb2fdf9e0c8a983a359a185d4d2587ab982cad
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.