Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 971 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Harvest | 12804124 | 1263 days ago | IN | 0 ETH | 0.0019918 | ||||
Harvest | 12580425 | 1298 days ago | IN | 0 ETH | 0.00235394 | ||||
Harvest | 12536438 | 1304 days ago | IN | 0 ETH | 0.00442727 | ||||
Harvest | 12301397 | 1341 days ago | IN | 0 ETH | 0.01033029 | ||||
Harvest | 11780779 | 1421 days ago | IN | 0 ETH | 0.02494455 | ||||
Transfer | 11780003 | 1421 days ago | IN | 0.055 ETH | 0.0046935 | ||||
Harvest | 11774564 | 1422 days ago | IN | 0 ETH | 0.02938992 | ||||
Harvest | 11755097 | 1425 days ago | IN | 0 ETH | 0.01824346 | ||||
Harvest | 11694896 | 1434 days ago | IN | 0 ETH | 0.01248591 | ||||
Harvest | 11682769 | 1436 days ago | IN | 0 ETH | 0.0269233 | ||||
Harvest | 11615502 | 1446 days ago | IN | 0 ETH | 0.02343949 | ||||
Harvest | 11615301 | 1446 days ago | IN | 0 ETH | 0.01087674 | ||||
Harvest | 11606380 | 1448 days ago | IN | 0 ETH | 0.01469705 | ||||
Harvest | 11577744 | 1452 days ago | IN | 0 ETH | 0.01788497 | ||||
Harvest | 11573407 | 1453 days ago | IN | 0 ETH | 0.0063392 | ||||
Harvest | 11559446 | 1455 days ago | IN | 0 ETH | 0.01930749 | ||||
Harvest | 11555901 | 1455 days ago | IN | 0 ETH | 0.02977131 | ||||
Harvest | 11553529 | 1456 days ago | IN | 0 ETH | 0.01611364 | ||||
Harvest | 11528656 | 1460 days ago | IN | 0 ETH | 0.00988743 | ||||
Harvest | 11524835 | 1460 days ago | IN | 0 ETH | 0.00978906 | ||||
Harvest | 11522578 | 1461 days ago | IN | 0 ETH | 0.0131034 | ||||
Harvest | 11491076 | 1465 days ago | IN | 0 ETH | 0.00543819 | ||||
Harvest | 11489960 | 1466 days ago | IN | 0 ETH | 0.00385157 | ||||
Harvest | 11489960 | 1466 days ago | IN | 0 ETH | 0.00441781 | ||||
Harvest | 11488343 | 1466 days ago | IN | 0 ETH | 0.00576291 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DONDISlotHarvester
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-16 */ pragma solidity 0.5.17; // File: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); function mint(address account, uint amount) external; /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing a contract. * * IMPORTANT: It is unsafe to assume that an address for which this * function returns false is an externally-owned account (EOA) and not a * contract. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } interface DONDIAirdrop { function airdrop(uint256 value) external; function airdropAll() external; function getRemainAirdrop(address pool) external view returns (uint256); } interface SmartContractDondi { function getOwner() external view returns(address); function usersActiveX3Levels(address userAddress, uint8 level) external view returns(bool); function usersActiveX6Levels(address userAddress, uint8 level) external view returns(bool); } contract DONDISlotHarvester { using SafeMath for uint256; using SafeERC20 for IERC20; address public gov; DONDIAirdrop public airdropAddress = DONDIAirdrop(0xbd1A31ac12Cd16bacE58519c91a4562069d5A6A6); SmartContractDondi public smartDondiAddress; address public wheelAddress; mapping(address => uint256) public referredAmount; mapping(address => uint256) public registerTime; mapping(address => uint256) public fortuneAmount; IERC20 public dondi = IERC20(0x45Ed25A237B6AB95cE69aF7555CF8D7A2FfEE67c); constructor() public { gov = msg.sender; } modifier onlyGov() { require(msg.sender == gov); _; } function transferOwnership(address owner) external onlyGov { gov = owner; } function setSmartDondi(address newAddress) external onlyGov { smartDondiAddress = SmartContractDondi(newAddress); registerTime[smartDondiAddress.getOwner()] = now; } function setWheelAddress(address newAddress) external onlyGov { wheelAddress = newAddress; } function harvest() external { require(registerTime[msg.sender] > 0, "User doesn't exist!"); uint256 allHours = uint256(now).div(3600).sub(registerTime[msg.sender].div(3600)); uint8 i; uint8 sum = 2; for (i = 2; i <= 12; i++) { if (smartDondiAddress.usersActiveX3Levels(msg.sender, i) == true) { sum++; } } for (i = 2; i <= 12; i++) { if (smartDondiAddress.usersActiveX6Levels(msg.sender, i) == true) { sum++; } } uint256 harvestedAmount = fortuneAmount[msg.sender].add(referredAmount[msg.sender]).add(allHours.mul(sum)).mul(10 ** 18); if (harvestedAmount > 0) { airdropAddress.airdrop(harvestedAmount); registerTime[msg.sender] = now; fortuneAmount[msg.sender] = 0; referredAmount[msg.sender] = 0; dondi.safeTransfer(msg.sender, harvestedAmount); } } function register(address user, address referrer) external { require(msg.sender == address(smartDondiAddress), "not register!"); referredAmount[referrer] = referredAmount[referrer].add(10); registerTime[user] = now; } function setFortune(address user, uint256 amount) external { require(msg.sender == wheelAddress, "not wheel!"); fortuneAmount[user] = fortuneAmount[user].add(amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":true,"inputs":[],"name":"airdropAddress","outputs":[{"internalType":"contract DONDIAirdrop","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dondi","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fortuneAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"harvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referredAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"referrer","type":"address"}],"name":"register","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"registerTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFortune","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setSmartDondi","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setWheelAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"smartDondiAddress","outputs":[{"internalType":"contract SmartContractDondi","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wheelAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600180546001600160a01b031990811673bd1a31ac12cd16bace58519c91a4562069d5a6a617909155600780549091167345ed25a237b6ab95ce69af7555cf8d7a2ffee67c17905534801561005857600080fd5b50600080546001600160a01b03191633179055610d948061007a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638a70fca21161008c578063d5d1dd9611610066578063d5d1dd9614610213578063dbc496cf14610239578063f2fde38b1461025f578063f86450fb14610285576100ea565b80638a70fca214610193578063a7297b1b146101bf578063aa677354146101e5576100ea565b806353c4d602116100c857806353c4d602146101255780635e1384731461012d5780637243a7091461016557806384413b651461018b576100ea565b806312d43a51146100ef57806341682d4b146101135780634641257d1461011b575b600080fd5b6100f761028d565b604080516001600160a01b039092168252519081900360200190f35b6100f761029c565b6101236102ab565b005b6100f76105b7565b6101536004803603602081101561014357600080fd5b50356001600160a01b03166105c6565b60408051918252519081900360200190f35b6101536004803603602081101561017b57600080fd5b50356001600160a01b03166105d8565b6100f76105ea565b610123600480360360408110156101a957600080fd5b506001600160a01b0381351690602001356105f9565b610153600480360360208110156101d557600080fd5b50356001600160a01b031661068e565b610123600480360360408110156101fb57600080fd5b506001600160a01b03813581169160200135166106a0565b6101236004803603602081101561022957600080fd5b50356001600160a01b031661074a565b6101236004803603602081101561024f57600080fd5b50356001600160a01b031661080c565b6101236004803603602081101561027557600080fd5b50356001600160a01b0316610845565b6100f761087e565b6000546001600160a01b031681565b6002546001600160a01b031681565b33600090815260056020526040902054610302576040805162461bcd60e51b81526020600482015260136024820152725573657220646f65736e27742065786973742160681b604482015290519081900360640190fd5b336000908152600560205260408120546103469061032890610e1063ffffffff61088d16565b61033a42610e1063ffffffff61088d16565b9063ffffffff6108d816565b90506002805b600c8260ff16116103f05760025460408051630393cf1560e11b815233600482015260ff8516602482015290516001600160a01b03909216916307279e2a91604480820192602092909190829003018186803b1580156103ab57600080fd5b505afa1580156103bf573d6000803e3d6000fd5b505050506040513d60208110156103d557600080fd5b50511515600114156103e5576001015b60019091019061034c565b600291505b600c8260ff1611610499576002546040805163597baa1d60e11b815233600482015260ff8516602482015290516001600160a01b039092169163b2f7543a91604480820192602092909190829003018186803b15801561045457600080fd5b505afa158015610468573d6000803e3d6000fd5b505050506040513d602081101561047e57600080fd5b505115156001141561048e576001015b6001909101906103f5565b6000610500670de0b6b3a76400006104f46104bd8760ff871663ffffffff61091a16565b336000908152600460209081526040808320546006909252909120546104e89163ffffffff61097316565b9063ffffffff61097316565b9063ffffffff61091a16565b905080156105b157600154604080516397dc4a1360e01b81526004810184905290516001600160a01b03909216916397dc4a139160248082019260009290919082900301818387803b15801561055557600080fd5b505af1158015610569573d6000803e3d6000fd5b50503360008181526005602090815260408083204290556006825280832083905560049091528120556007546105b193506001600160a01b031691508363ffffffff6109cd16565b50505050565b6003546001600160a01b031681565b60046020526000908152604090205481565b60066020526000908152604090205481565b6001546001600160a01b031681565b6003546001600160a01b03163314610645576040805162461bcd60e51b815260206004820152600a6024820152696e6f7420776865656c2160b01b604482015290519081900360640190fd5b6001600160a01b03821660009081526006602052604090205461066e908263ffffffff61097316565b6001600160a01b0390921660009081526006602052604090209190915550565b60056020526000908152604090205481565b6002546001600160a01b031633146106ef576040805162461bcd60e51b815260206004820152600d60248201526c6e6f742072656769737465722160981b604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205461071990600a63ffffffff61097316565b6001600160a01b03918216600090815260046020908152604080832093909355939092168252600590925220429055565b6000546001600160a01b0316331461076157600080fd5b600280546001600160a01b0319166001600160a01b03838116919091179182905560408051631127a41d60e31b81529051429360059360009391169163893d20e891600480820192602092909190829003018186803b1580156107c357600080fd5b505afa1580156107d7573d6000803e3d6000fd5b505050506040513d60208110156107ed57600080fd5b50516001600160a01b0316815260208101919091526040016000205550565b6000546001600160a01b0316331461082357600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461085c57600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031681565b60006108cf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a24565b90505b92915050565b60006108cf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ac6565b600082610929575060006108d2565b8282028284828161093657fe5b04146108cf5760405162461bcd60e51b8152600401808060200182810382526021815260200180610d156021913960400191505060405180910390fd5b6000828201838110156108cf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a1f908490610b20565b505050565b60008183610ab05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a75578181015183820152602001610a5d565b50505050905090810190601f168015610aa25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610abc57fe5b0495945050505050565b60008184841115610b185760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610a75578181015183820152602001610a5d565b505050900390565b610b32826001600160a01b0316610cd8565b610b83576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610bc15780518252601f199092019160209182019101610ba2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c23576040519150601f19603f3d011682016040523d82523d6000602084013e610c28565b606091505b509150915081610c7f576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156105b157808060200190516020811015610c9b57600080fd5b50516105b15760405162461bcd60e51b815260040180806020018281038252602a815260200180610d36602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590610d0c5750808214155b94935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820df289d1dd427d2a31107c7b1c216f2db4011c2f797e4f037581c0736f04da17a64736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638a70fca21161008c578063d5d1dd9611610066578063d5d1dd9614610213578063dbc496cf14610239578063f2fde38b1461025f578063f86450fb14610285576100ea565b80638a70fca214610193578063a7297b1b146101bf578063aa677354146101e5576100ea565b806353c4d602116100c857806353c4d602146101255780635e1384731461012d5780637243a7091461016557806384413b651461018b576100ea565b806312d43a51146100ef57806341682d4b146101135780634641257d1461011b575b600080fd5b6100f761028d565b604080516001600160a01b039092168252519081900360200190f35b6100f761029c565b6101236102ab565b005b6100f76105b7565b6101536004803603602081101561014357600080fd5b50356001600160a01b03166105c6565b60408051918252519081900360200190f35b6101536004803603602081101561017b57600080fd5b50356001600160a01b03166105d8565b6100f76105ea565b610123600480360360408110156101a957600080fd5b506001600160a01b0381351690602001356105f9565b610153600480360360208110156101d557600080fd5b50356001600160a01b031661068e565b610123600480360360408110156101fb57600080fd5b506001600160a01b03813581169160200135166106a0565b6101236004803603602081101561022957600080fd5b50356001600160a01b031661074a565b6101236004803603602081101561024f57600080fd5b50356001600160a01b031661080c565b6101236004803603602081101561027557600080fd5b50356001600160a01b0316610845565b6100f761087e565b6000546001600160a01b031681565b6002546001600160a01b031681565b33600090815260056020526040902054610302576040805162461bcd60e51b81526020600482015260136024820152725573657220646f65736e27742065786973742160681b604482015290519081900360640190fd5b336000908152600560205260408120546103469061032890610e1063ffffffff61088d16565b61033a42610e1063ffffffff61088d16565b9063ffffffff6108d816565b90506002805b600c8260ff16116103f05760025460408051630393cf1560e11b815233600482015260ff8516602482015290516001600160a01b03909216916307279e2a91604480820192602092909190829003018186803b1580156103ab57600080fd5b505afa1580156103bf573d6000803e3d6000fd5b505050506040513d60208110156103d557600080fd5b50511515600114156103e5576001015b60019091019061034c565b600291505b600c8260ff1611610499576002546040805163597baa1d60e11b815233600482015260ff8516602482015290516001600160a01b039092169163b2f7543a91604480820192602092909190829003018186803b15801561045457600080fd5b505afa158015610468573d6000803e3d6000fd5b505050506040513d602081101561047e57600080fd5b505115156001141561048e576001015b6001909101906103f5565b6000610500670de0b6b3a76400006104f46104bd8760ff871663ffffffff61091a16565b336000908152600460209081526040808320546006909252909120546104e89163ffffffff61097316565b9063ffffffff61097316565b9063ffffffff61091a16565b905080156105b157600154604080516397dc4a1360e01b81526004810184905290516001600160a01b03909216916397dc4a139160248082019260009290919082900301818387803b15801561055557600080fd5b505af1158015610569573d6000803e3d6000fd5b50503360008181526005602090815260408083204290556006825280832083905560049091528120556007546105b193506001600160a01b031691508363ffffffff6109cd16565b50505050565b6003546001600160a01b031681565b60046020526000908152604090205481565b60066020526000908152604090205481565b6001546001600160a01b031681565b6003546001600160a01b03163314610645576040805162461bcd60e51b815260206004820152600a6024820152696e6f7420776865656c2160b01b604482015290519081900360640190fd5b6001600160a01b03821660009081526006602052604090205461066e908263ffffffff61097316565b6001600160a01b0390921660009081526006602052604090209190915550565b60056020526000908152604090205481565b6002546001600160a01b031633146106ef576040805162461bcd60e51b815260206004820152600d60248201526c6e6f742072656769737465722160981b604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205461071990600a63ffffffff61097316565b6001600160a01b03918216600090815260046020908152604080832093909355939092168252600590925220429055565b6000546001600160a01b0316331461076157600080fd5b600280546001600160a01b0319166001600160a01b03838116919091179182905560408051631127a41d60e31b81529051429360059360009391169163893d20e891600480820192602092909190829003018186803b1580156107c357600080fd5b505afa1580156107d7573d6000803e3d6000fd5b505050506040513d60208110156107ed57600080fd5b50516001600160a01b0316815260208101919091526040016000205550565b6000546001600160a01b0316331461082357600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461085c57600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031681565b60006108cf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a24565b90505b92915050565b60006108cf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ac6565b600082610929575060006108d2565b8282028284828161093657fe5b04146108cf5760405162461bcd60e51b8152600401808060200182810382526021815260200180610d156021913960400191505060405180910390fd5b6000828201838110156108cf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a1f908490610b20565b505050565b60008183610ab05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a75578181015183820152602001610a5d565b50505050905090810190601f168015610aa25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610abc57fe5b0495945050505050565b60008184841115610b185760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610a75578181015183820152602001610a5d565b505050900390565b610b32826001600160a01b0316610cd8565b610b83576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610bc15780518252601f199092019160209182019101610ba2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c23576040519150601f19603f3d011682016040523d82523d6000602084013e610c28565b606091505b509150915081610c7f576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156105b157808060200190516020811015610c9b57600080fd5b50516105b15760405162461bcd60e51b815260040180806020018281038252602a815260200180610d36602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590610d0c5750808214155b94935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820df289d1dd427d2a31107c7b1c216f2db4011c2f797e4f037581c0736f04da17a64736f6c63430005110032
Deployed Bytecode Sourcemap
14995:2604:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14995:2604:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15098:18;;;:::i;:::-;;;;-1:-1:-1;;;;;15098:18:0;;;;;;;;;;;;;;15223:43;;;:::i;16133:1007::-;;;:::i;:::-;;15273:27;;;:::i;15309:49::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15309:49:0;-1:-1:-1;;;;;15309:49:0;;:::i;:::-;;;;;;;;;;;;;;;;15419:48;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15419:48:0;-1:-1:-1;;;;;15419:48:0;;:::i;15123:93::-;;;:::i;17405:191::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17405:191:0;;;;;;;;:::i;15365:47::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15365:47:0;-1:-1:-1;;;;;15365:47:0;;:::i;17148:249::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17148:249:0;;;;;;;;;;:::i;15823:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15823:188:0;-1:-1:-1;;;;;15823:188:0;;:::i;16019:106::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16019:106:0;-1:-1:-1;;;;;16019:106:0;;:::i;15703:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15703:112:0;-1:-1:-1;;;;;15703:112:0;;:::i;15474:72::-;;;:::i;15098:18::-;;;-1:-1:-1;;;;;15098:18:0;;:::o;15223:43::-;;;-1:-1:-1;;;;;15223:43:0;;:::o;16133:1007::-;16193:10;16207:1;16180:24;;;:12;:24;;;;;;16172:60;;;;;-1:-1:-1;;;16172:60:0;;;;;;;;;;;;-1:-1:-1;;;16172:60:0;;;;;;;;;;;;;;;16302:10;16243:16;16289:24;;;:12;:24;;;;;;16262:62;;16289:34;;16318:4;16289:34;:28;:34;:::i;:::-;16262:22;16270:3;16279:4;16262:22;:16;:22;:::i;:::-;:26;:62;:26;:62;:::i;:::-;16243:81;-1:-1:-1;16365:1:0;;16377:158;16394:2;16389:1;:7;;;16377:158;;16422:17;;:52;;;-1:-1:-1;;;16422:52:0;;16460:10;16422:52;;;;;;;;;;;;;-1:-1:-1;;;;;16422:17:0;;;;:37;;:52;;;;;;;;;;;;;;;:17;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;16422:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16422:52:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16422:52:0;:60;;16478:4;16422:60;16418:106;;;16503:5;;16418:106;16398:3;;;;;16377:158;;;16554:1;16550:5;;16545:158;16562:2;16557:1;:7;;;16545:158;;16590:17;;:52;;;-1:-1:-1;;;16590:52:0;;16628:10;16590:52;;;;;;;;;;;;;-1:-1:-1;;;;;16590:17:0;;;;:37;;:52;;;;;;;;;;;;;;;:17;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;16590:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16590:52:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16590:52:0;:60;;16646:4;16590:60;16586:106;;;16671:5;;16586:106;16566:3;;;;;16545:158;;;16715:23;16741:94;16826:8;16741:80;16803:17;:8;:17;;;;:12;:17;:::i;:::-;16786:10;16771:26;;;;:14;:26;;;;;;;;;16741:13;:25;;;;;;;:57;;;:29;:57;:::i;:::-;:61;:80;:61;:80;:::i;:::-;:84;:94;:84;:94;:::i;:::-;16715:120;-1:-1:-1;16850:19:0;;16846:287;;16886:14;;:39;;;-1:-1:-1;;;16886:39:0;;;;;;;;;;-1:-1:-1;;;;;16886:14:0;;;;:22;;:39;;;;;:14;;:39;;;;;;;;:14;;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;16886:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16953:10:0;16940:24;;;;:12;:24;;;;;;;;16967:3;16940:30;;16985:13;:25;;;;;:29;;;17029:14;:26;;;;;:30;17074:5;;:47;;-1:-1:-1;;;;;;17074:5:0;;-1:-1:-1;17105:15:0;17074:47;:18;:47;:::i;:::-;16133:1007;;;;:::o;15273:27::-;;;-1:-1:-1;;;;;15273:27:0;;:::o;15309:49::-;;;;;;;;;;;;;:::o;15419:48::-;;;;;;;;;;;;;:::o;15123:93::-;;;-1:-1:-1;;;;;15123:93:0;;:::o;17405:191::-;17497:12;;-1:-1:-1;;;;;17497:12:0;17483:10;:26;17475:49;;;;;-1:-1:-1;;;17475:49:0;;;;;;;;;;;;-1:-1:-1;;;17475:49:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;17557:19:0;;;;;;:13;:19;;;;;;:31;;17581:6;17557:31;:23;:31;:::i;:::-;-1:-1:-1;;;;;17535:19:0;;;;;;;:13;:19;;;;;:53;;;;-1:-1:-1;17405:191:0:o;15365:47::-;;;;;;;;;;;;;:::o;17148:249::-;17248:17;;-1:-1:-1;;;;;17248:17:0;17226:10;:40;17218:66;;;;;-1:-1:-1;;;17218:66:0;;;;;;;;;;;;-1:-1:-1;;;17218:66:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;17322:24:0;;;;;;:14;:24;;;;;;:32;;17351:2;17322:32;:28;:32;:::i;:::-;-1:-1:-1;;;;;17295:24:0;;;;;;;:14;:24;;;;;;;;:59;;;;17365:18;;;;;;:12;:18;;;;17386:3;17365:24;;17148:249::o;15823:188::-;15671:3;;-1:-1:-1;;;;;15671:3:0;15657:10;:17;15649:26;;;;;;15894:17;:50;;-1:-1:-1;;;;;;15894:50:0;-1:-1:-1;;;;;15894:50:0;;;;;;;;;;;15968:28;;;-1:-1:-1;;;15968:28:0;;;;16000:3;;15955:12;;-1:-1:-1;;15968:17:0;;;:26;;:28;;;;;;;;;;;;;;;:17;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;15968:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15968:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15968:28:0;-1:-1:-1;;;;;15955:42:0;;;15968:28;15955:42;;;;;;;;-1:-1:-1;15955:42:0;:48;-1:-1:-1;15823:188:0:o;16019:106::-;15671:3;;-1:-1:-1;;;;;15671:3:0;15657:10;:17;15649:26;;;;;;16092:12;:25;;-1:-1:-1;;;;;;16092:25:0;-1:-1:-1;;;;;16092:25:0;;;;;;;;;;16019:106::o;15703:112::-;15671:3;;-1:-1:-1;;;;;15671:3:0;15657:10;:17;15649:26;;;;;;15796:3;:11;;-1:-1:-1;;;;;;15796:11:0;-1:-1:-1;;;;;15796:11:0;;;;;;;;;;15703:112::o;15474:72::-;;;-1:-1:-1;;;;;15474:72:0;;:::o;3224:132::-;3282:7;3309:39;3313:1;3316;3309:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3302:46;;3224:132;;;;;:::o;1369:136::-;1427:7;1454:43;1458:1;1461;1454:43;;;;;;;;;;;;;;;;;:3;:43::i;2285:471::-;2343:7;2588:6;2584:47;;-1:-1:-1;2618:1:0;2611:8;;2584:47;2655:5;;;2659:1;2655;:5;:1;2679:5;;;;;:10;2671:56;;;;-1:-1:-1;;;2671:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;913:181;971:7;1003:5;;;1027:6;;;;1019:46;;;;;-1:-1:-1;;;1019:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11354:176;11463:58;;;-1:-1:-1;;;;;11463:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;11463:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;11437:85:0;;11456:5;;11437:18;:85::i;:::-;11354:176;;;:::o;3886:345::-;3972:7;4074:12;4067:5;4059:28;;;;-1:-1:-1;;;4059:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4059:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4098:9;4114:1;4110;:5;;;;;;;3886:345;-1:-1:-1;;;;;3886:345:0:o;1842:192::-;1928:7;1964:12;1956:6;;;;1948:29;;;;-1:-1:-1;;;1948:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1948:29:0;-1:-1:-1;;;2000:5:0;;;1842:192::o;13393:1114::-;13997:27;14005:5;-1:-1:-1;;;;;13997:25:0;;:27::i;:::-;13989:71;;;;;-1:-1:-1;;;13989:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14134:12;14148:23;14183:5;-1:-1:-1;;;;;14175:19:0;14195:4;14175:25;;;;;;;;;;;;;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;;;14175:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;14133:67:0;;;;14219:7;14211:52;;;;;-1:-1:-1;;;14211:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14280:17;;:21;14276:224;;14422:10;14411:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14411:30:0;14403:85;;;;-1:-1:-1;;;14403:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8753:810;8813:4;9472:20;;9315:66;9512:15;;;;;:42;;;9543:11;9531:8;:23;;9512:42;9504:51;8753:810;-1:-1:-1;;;;8753:810:0:o
Swarm Source
bzzr://df289d1dd427d2a31107c7b1c216f2db4011c2f797e4f037581c0736f04da17a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.