More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,953 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 20392902 | 178 days ago | IN | 0 ETH | 0.00016625 | ||||
Get Reward | 20201729 | 204 days ago | IN | 0 ETH | 0.00010748 | ||||
Get Reward | 20201519 | 204 days ago | IN | 0 ETH | 0.00013917 | ||||
Get Reward | 20146111 | 212 days ago | IN | 0 ETH | 0.00026626 | ||||
Get Reward | 20041031 | 227 days ago | IN | 0 ETH | 0.00152252 | ||||
Get Reward | 20041024 | 227 days ago | IN | 0 ETH | 0.0015557 | ||||
Get Reward | 19849154 | 254 days ago | IN | 0 ETH | 0.00040254 | ||||
Get Reward | 19615393 | 286 days ago | IN | 0 ETH | 0.00183948 | ||||
Get Reward | 19611731 | 287 days ago | IN | 0 ETH | 0.00180245 | ||||
Get Reward | 19609375 | 287 days ago | IN | 0 ETH | 0.0008321 | ||||
Get Reward | 19445689 | 310 days ago | IN | 0 ETH | 0.00205439 | ||||
Get Reward | 18944978 | 380 days ago | IN | 0 ETH | 0.00130499 | ||||
Get Reward | 18763196 | 406 days ago | IN | 0 ETH | 0.00227872 | ||||
Get Reward | 18367914 | 461 days ago | IN | 0 ETH | 0.00042118 | ||||
Get Reward | 18057179 | 505 days ago | IN | 0 ETH | 0.00202198 | ||||
Get Reward | 17919134 | 524 days ago | IN | 0 ETH | 0.00127832 | ||||
Get Reward | 17761798 | 546 days ago | IN | 0 ETH | 0.00164865 | ||||
Get Reward | 17610016 | 568 days ago | IN | 0 ETH | 0.00121611 | ||||
Get Reward | 17610005 | 568 days ago | IN | 0 ETH | 0.0009092 | ||||
Get Reward | 17609999 | 568 days ago | IN | 0 ETH | 0.00100208 | ||||
Get Reward | 17433164 | 592 days ago | IN | 0 ETH | 0.00149993 | ||||
Get Reward | 17342159 | 605 days ago | IN | 0 ETH | 0.00190669 | ||||
Get Reward | 17334658 | 606 days ago | IN | 0 ETH | 0.00225637 | ||||
Get Reward | 17334614 | 606 days ago | IN | 0 ETH | 0.00223651 | ||||
Get Reward | 17311507 | 610 days ago | IN | 0 ETH | 0.00268726 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
12230811 | 1378 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
ZooPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-04-13 */ pragma solidity ^0.6.0; // SPDX-License-Identifier: MIT /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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); /** * @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 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. */ 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. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { 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. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is 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. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ 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. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @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]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ 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)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ 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. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "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"); } } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } contract LPTokenWrapperV3 { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public lp = IERC20(0xA56Ed2632E443Db5f93e73C89df399a081408Cc4); uint256 private _totalSupply; mapping(address => uint256) private _balances; address public treasury; constructor(address _lp, address _treasury) public { lp = IERC20(_lp); treasury = _treasury; } function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function _stake(uint256 amount, uint256 hashrate, address account) internal { require(treasury != address(0), "!zero address"); _totalSupply = _totalSupply.add(hashrate); _balances[account] = _balances[account].add(hashrate); lp.safeTransferFrom(msg.sender, treasury, amount); } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } contract vZKSToken is ERC20, Ownable { string public constant TOKEN_NAME = "vZooKeeperShareToken"; string public constant TOKEN_SYMBOL = "vZKS"; uint8 public constant TOKEN_DECIMALS = 0; constructor() ERC20(TOKEN_NAME, TOKEN_SYMBOL) public { _setupDecimals(TOKEN_DECIMALS); } function mint(address account, uint256 amount) public onlyOwner { _mint(account, amount); } } contract TreasuryAllocator is Ownable { address public allocator; modifier onlyAllocator() { require(_msgSender() == allocator, "Caller is not allocator"); _; } function setAllocator(address _allocator) external onlyOwner { allocator = _allocator; } } interface IRewardTreasury { function allocateReward() external returns(uint256); } contract ZooRewardTreasury is TreasuryAllocator, IRewardTreasury { using SafeERC20 for IERC20; IERC20 public token; event RewardAllocated(address indexed to, uint256 amount); constructor(address _token) public { token = IERC20(_token); } function allocateReward() external override onlyAllocator returns (uint256) { uint256 bal = token.balanceOf(address(this)); uint256 half = bal / 2; token.safeTransfer(msg.sender, half); emit RewardAllocated(msg.sender, half); return half; } function emergencyWithdraw(address _token, uint256 _amount) external onlyOwner { IERC20(_token).safeTransfer(msg.sender, _amount); } } interface IReferral { function setReferrer(address farmer, address referrer) external; function getReferrer(address farmer) external view returns (address); function isValidReferrer(address referrer) external view returns (bool); function rndSeed(uint256 rnd) external view returns (address, bool); } interface IOracle { function update() external; function estimateRequirement(address account, uint256 hashrate) external view returns(uint256, uint256, uint256); } contract ZooPool is LPTokenWrapperV3, Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; uint256 public epoch = 0; IERC20 public rewardToken = IERC20(0xA56Ed2632E443Db5f93e73C89df399a081408Cc4); vZKSToken public vZKShareToken; uint256[] public animalHashrates; IOracle public iOracle; IReferral public iReferral; IRewardTreasury public iZooRewardTreasury; uint256 public constant DURATION = 105 days; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); constructor(address _rewardToken, address _daoTreasury, address _iReferral, address _oracle, address _zooRewardTreasury) LPTokenWrapperV3(_rewardToken, _daoTreasury) public { rewardToken = IERC20(_rewardToken); iReferral = IReferral(_iReferral); iOracle = IOracle(_oracle); vZKShareToken = new vZKSToken(); iZooRewardTreasury = IRewardTreasury(_zooRewardTreasury); animalHashrates.push(0); } function addAnimals(uint256[] calldata hashrates) public onlyOwner { require(hashrates.length > 0, "!empty"); for (uint i = 0; i < hashrates.length; i++) { animalHashrates.push(hashrates[i]); } } function setTreasury(address _newTreasury) public onlyOwner { treasury = _newTreasury; } function setOracle(address _oracle) public onlyOwner { require(_oracle != address(0), "!zero address"); iOracle = IOracle(_oracle); } modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } modifier checkHalve() { if (block.timestamp >= periodFinish) { epoch = epoch + 1; uint256 reward = iZooRewardTreasury.allocateReward(); rewardRate = reward.div(DURATION); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(DURATION); emit RewardAdded(reward); } _; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (totalSupply() == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(totalSupply()) ); } function earned(address account) public view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function firstBuyTicketRand(uint8[] calldata _ids, uint8[] calldata _counts, uint256 rand) public { require(!iReferral.isValidReferrer(msg.sender), 'DAO: not first'); (address _referrerAddress,) = iReferral.rndSeed(rand); iReferral.setReferrer(msg.sender, _referrerAddress); _buyTicket(_ids, _counts, msg.sender); } function firstBuyTicket(uint8[] calldata _ids, uint8[] calldata _counts, address _referrerAddress) public { require(!iReferral.isValidReferrer(msg.sender), 'DAO: not first'); iReferral.setReferrer(msg.sender, _referrerAddress); _buyTicket(_ids, _counts, msg.sender); } function buyTicket(uint8[] calldata ids, uint8[] calldata counts) public { require(iReferral.isValidReferrer(msg.sender), 'DAO: the caller should be a referer'); _buyTicket(ids, counts, msg.sender); } function buyTicketFor(uint8[] calldata _ids, uint8[] calldata _counts, address _referrerAddress, address _beneficiaryAddress) public { require(iReferral.isValidReferrer(_referrerAddress), 'DAO: the caller should be a referer'); require(_beneficiaryAddress != address(0), 'DAO: cannot be 0'); if (!iReferral.isValidReferrer(_beneficiaryAddress)) { iReferral.setReferrer(_beneficiaryAddress, _referrerAddress); } _buyTicket(_ids, _counts, _beneficiaryAddress); } function _buyTicket(uint8[] calldata _ids, uint8[] calldata _counts, address _userAddress) internal updateReward(_userAddress) checkHalve { iOracle.update(); address _referrerAddress = iReferral.getReferrer(_userAddress); (uint256 userHashrate, uint256 userAmount, uint256 referReward) = estimateTokenAmount(_ids, _counts); super._stake(userAmount, userHashrate, _userAddress); vZKShareToken.mint(_referrerAddress, referReward); } function getReward() public updateReward(msg.sender) checkHalve { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; rewardToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function animalsCount() public view returns (uint256) { return animalHashrates.length; } function estimateHashrate(uint8[] calldata ids, uint8[] calldata counts) public view returns (uint256) { require(ids.length == counts.length, "!length not equal"); uint256 hashrate = 0; for (uint i = 0; i < ids.length; i++) { uint animalIdx = ids[i]; hashrate = hashrate.add(animalHashrates[animalIdx] * counts[i]); } return hashrate; } function estimateTokenAmount(uint8[] calldata ids, uint8[] calldata counts) public view returns (uint256 userHashrate, uint256 userAmount, uint256 referReward) { uint256 hashrate = estimateHashrate(ids, counts); (userHashrate, userAmount, referReward) = iOracle.estimateRequirement(msg.sender, hashrate); } function emergencyWithdraw(address _token, uint256 _amount) external onlyOwner { IERC20(_token).safeTransfer(msg.sender, _amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"address","name":"_daoTreasury","type":"address"},{"internalType":"address","name":"_iReferral","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_zooRewardTreasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"hashrates","type":"uint256[]"}],"name":"addAnimals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"animalHashrates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"animalsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"ids","type":"uint8[]"},{"internalType":"uint8[]","name":"counts","type":"uint8[]"}],"name":"buyTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"_ids","type":"uint8[]"},{"internalType":"uint8[]","name":"_counts","type":"uint8[]"},{"internalType":"address","name":"_referrerAddress","type":"address"},{"internalType":"address","name":"_beneficiaryAddress","type":"address"}],"name":"buyTicketFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"ids","type":"uint8[]"},{"internalType":"uint8[]","name":"counts","type":"uint8[]"}],"name":"estimateHashrate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"ids","type":"uint8[]"},{"internalType":"uint8[]","name":"counts","type":"uint8[]"}],"name":"estimateTokenAmount","outputs":[{"internalType":"uint256","name":"userHashrate","type":"uint256"},{"internalType":"uint256","name":"userAmount","type":"uint256"},{"internalType":"uint256","name":"referReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"_ids","type":"uint8[]"},{"internalType":"uint8[]","name":"_counts","type":"uint8[]"},{"internalType":"address","name":"_referrerAddress","type":"address"}],"name":"firstBuyTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"_ids","type":"uint8[]"},{"internalType":"uint8[]","name":"_counts","type":"uint8[]"},{"internalType":"uint256","name":"rand","type":"uint256"}],"name":"firstBuyTicketRand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"iOracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"iReferral","outputs":[{"internalType":"contract IReferral","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"iZooRewardTreasury","outputs":[{"internalType":"contract IRewardTreasury","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lp","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vZKShareToken","outputs":[{"internalType":"contract vZKSToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000805473a56ed2632e443db5f93e73c89df399a081408cc46001600160a01b031991821681178355600583905560068054909216179055600c819055600d553480156200005157600080fd5b506040516200346838038062003468833981810160405260a08110156200007757600080fd5b508051602082015160408301516060840151608090940151600080546001600160a01b038087166001600160a01b0319928316178355600380549187169190921617905593949293919291620000cc620001ef565b600480546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b038088166001600160a01b031992831617909255600a805486841690831617905560098054928516929091169190911790556040516200016590620001f3565b604051809103906000f08015801562000182573d6000803e3d6000fd5b50600780546001600160a01b039283166001600160a01b031991821617909155600b805493909216921691909117905550506008805460018101825560009182527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3015550620002019050565b3390565b6110a080620023c883390190565b6121b780620002116000396000f3fe608060405234801561001057600080fd5b506004361061021b5760003560e01c806380faa57d11610125578063c8f33c91116100ad578063df136d651161007c578063df136d65146108f9578063ebe2b12b14610901578063f0f4426014610909578063f2fde38b1461092f578063f7c618c1146109555761021b565b8063c8f33c91146107f0578063cd3daf9d146107f8578063d4d946fd14610800578063db97d3c0146108dc5761021b565b8063900cf0cf116100f4578063900cf0cf146107a457806395ccea67146107ac578063bb95e70a146107d8578063bdd0f313146107e0578063c539c443146107e85761021b565b806380faa57d146106b0578063854cb5ab146106b85780638b876347146107765780638da5cb5b1461079c5761021b565b80633d18b912116101a857806370a082311161017757806370a082311461064c578063715018a614610672578063787b9c5f1461067a5780637adbf973146106825780637b0a47ee146106a85761021b565b80633d18b912146104af57806343952627146104b757806352895ab01461058657806361d027b3146106445761021b565b806315a1795a116101ef57806315a1795a1461036b5780631697c2fe1461042957806318160ddd146104975780631be052891461049f578063313c06a0146104a75761021b565b80628cc2621461022057806303b48d561461025857806304f68c181461027c5780630700037d14610345575b600080fd5b6102466004803603602081101561023657600080fd5b50356001600160a01b031661095d565b60408051918252519081900360200190f35b6102606109cb565b604080516001600160a01b039092168252519081900360200190f35b6103436004803603606081101561029257600080fd5b810190602081018135600160201b8111156102ac57600080fd5b8201836020820111156102be57600080fd5b803590602001918460208302840111600160201b831117156102df57600080fd5b919390929091602081019035600160201b8111156102fc57600080fd5b82018360208201111561030e57600080fd5b803590602001918460208302840111600160201b8311171561032f57600080fd5b9193509150356001600160a01b03166109da565b005b6102466004803603602081101561035b57600080fd5b50356001600160a01b0316610b14565b6102466004803603604081101561038157600080fd5b810190602081018135600160201b81111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111600160201b831117156103ce57600080fd5b919390929091602081019035600160201b8111156103eb57600080fd5b8201836020820111156103fd57600080fd5b803590602001918460208302840111600160201b8311171561041e57600080fd5b509092509050610b26565b6103436004803603602081101561043f57600080fd5b810190602081018135600160201b81111561045957600080fd5b82018360208201111561046b57600080fd5b803590602001918460208302840111600160201b8311171561048c57600080fd5b509092509050610bf4565b610246610ccf565b610246610cd6565b610260610cdd565b610343610cec565b610343600480360360808110156104cd57600080fd5b810190602081018135600160201b8111156104e757600080fd5b8201836020820111156104f957600080fd5b803590602001918460208302840111600160201b8311171561051a57600080fd5b919390929091602081019035600160201b81111561053757600080fd5b82018360208201111561054957600080fd5b803590602001918460208302840111600160201b8311171561056a57600080fd5b91935091506001600160a01b0381358116916020013516610e9f565b6103436004803603606081101561059c57600080fd5b810190602081018135600160201b8111156105b657600080fd5b8201836020820111156105c857600080fd5b803590602001918460208302840111600160201b831117156105e957600080fd5b919390929091602081019035600160201b81111561060657600080fd5b82018360208201111561061857600080fd5b803590602001918460208302840111600160201b8311171561063957600080fd5b9193509150356110a2565b61026061124b565b6102466004803603602081101561066257600080fd5b50356001600160a01b031661125a565b610343611275565b610260611317565b6103436004803603602081101561069857600080fd5b50356001600160a01b0316611326565b6102466113eb565b6102466113f1565b610343600480360360408110156106ce57600080fd5b810190602081018135600160201b8111156106e857600080fd5b8201836020820111156106fa57600080fd5b803590602001918460208302840111600160201b8311171561071b57600080fd5b919390929091602081019035600160201b81111561073857600080fd5b82018360208201111561074a57600080fd5b803590602001918460208302840111600160201b8311171561076b57600080fd5b509092509050611404565b6102466004803603602081101561078c57600080fd5b50356001600160a01b03166114c9565b6102606114db565b6102466114ea565b610343600480360360408110156107c257600080fd5b506001600160a01b0381351690602001356114f0565b61026061155c565b61026061156b565b61024661157a565b610246611580565b610246611586565b6108be6004803603604081101561081657600080fd5b810190602081018135600160201b81111561083057600080fd5b82018360208201111561084257600080fd5b803590602001918460208302840111600160201b8311171561086357600080fd5b919390929091602081019035600160201b81111561088057600080fd5b82018360208201111561089257600080fd5b803590602001918460208302840111600160201b831117156108b357600080fd5b5090925090506115d4565b60408051938452602084019290925282820152519081900360600190f35b610246600480360360208110156108f257600080fd5b5035611683565b6102466116a1565b6102466116a7565b6103436004803603602081101561091f57600080fd5b50356001600160a01b03166116ad565b6103436004803603602081101561094557600080fd5b50356001600160a01b0316611727565b610260611820565b6001600160a01b03811660009081526011602090815260408083205460109092528220546109c591906109bf90670de0b6b3a7640000906109b9906109aa906109a4611586565b9061182f565b6109b38861125a565b90611878565b906118d1565b90611913565b92915050565b6009546001600160a01b031681565b600a546040805163d52f199f60e01b815233600482015290516001600160a01b039092169163d52f199f91602480820192602092909190829003018186803b158015610a2557600080fd5b505afa158015610a39573d6000803e3d6000fd5b505050506040513d6020811015610a4f57600080fd5b505115610a94576040805162461bcd60e51b815260206004820152600e60248201526d111053ce881b9bdd08199a5c9cdd60921b604482015290519081900360640190fd5b600a546040805163bbddaca360e01b81523360048201526001600160a01b0384811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b158015610ae857600080fd5b505af1158015610afc573d6000803e3d6000fd5b50505050610b0d858585853361196d565b5050505050565b60116020526000908152604090205481565b6000838214610b70576040805162461bcd60e51b8152602060048201526011602482015270085b195b99dd1a081b9bdd08195c5d585b607a1b604482015290519081900360640190fd5b6000805b85811015610be8576000878783818110610b8a57fe5b9050602002013560ff1660ff169050610bdd868684818110610ba857fe5b9050602002013560ff1660ff1660088381548110610bc257fe5b9060005260206000200154028461191390919063ffffffff16565b925050600101610b74565b5090505b949350505050565b610bfc611c2a565b6004546001600160a01b03908116911614610c4c576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b80610c87576040805162461bcd60e51b815260206004820152600660248201526521656d70747960d01b604482015290519081900360640190fd5b60005b81811015610cca576008838383818110610ca057fe5b83546001808201865560009586526020958690209290950293909301359201919091555001610c8a565b505050565b6001545b90565b628a6d8081565b6000546001600160a01b031681565b33610cf5611586565b600f55610d006113f1565b600e556001600160a01b03811615610d4757610d1b8161095d565b6001600160a01b038216600090815260116020908152604080832093909355600f546010909152919020555b600c544210610e2857600580546001019055600b546040805163155ea6f760e11b815290516000926001600160a01b031691632abd4dee91600480830192602092919082900301818787803b158015610d9f57600080fd5b505af1158015610db3573d6000803e3d6000fd5b505050506040513d6020811015610dc957600080fd5b50519050610dda81628a6d806118d1565b600d5542600e819055610df090628a6d80611913565b600c556040805182815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505b6000610e333361095d565b90508015610e9b5733600081815260116020526040812055600654610e64916001600160a01b039091169083611c2e565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b600a546040805163d52f199f60e01b81526001600160a01b0385811660048301529151919092169163d52f199f916024808301926020929190829003018186803b158015610eec57600080fd5b505afa158015610f00573d6000803e3d6000fd5b505050506040513d6020811015610f1657600080fd5b5051610f535760405162461bcd60e51b81526004018080602001828103825260238152602001806120ce6023913960400191505060405180910390fd5b6001600160a01b038116610fa1576040805162461bcd60e51b815260206004820152601060248201526f044414f3a2063616e6e6f7420626520360841b604482015290519081900360640190fd5b600a546040805163d52f199f60e01b81526001600160a01b0384811660048301529151919092169163d52f199f916024808301926020929190829003018186803b158015610fee57600080fd5b505afa158015611002573d6000803e3d6000fd5b505050506040513d602081101561101857600080fd5b505161108d57600a546040805163bbddaca360e01b81526001600160a01b03848116600483015285811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b15801561107457600080fd5b505af1158015611088573d6000803e3d6000fd5b505050505b61109a868686868561196d565b505050505050565b600a546040805163d52f199f60e01b815233600482015290516001600160a01b039092169163d52f199f91602480820192602092909190829003018186803b1580156110ed57600080fd5b505afa158015611101573d6000803e3d6000fd5b505050506040513d602081101561111757600080fd5b50511561115c576040805162461bcd60e51b815260206004820152600e60248201526d111053ce881b9bdd08199a5c9cdd60921b604482015290519081900360640190fd5b600a5460408051630470891360e31b81526004810184905281516000936001600160a01b03169263238448989260248082019391829003018186803b1580156111a457600080fd5b505afa1580156111b8573d6000803e3d6000fd5b505050506040513d60408110156111ce57600080fd5b5051600a546040805163bbddaca360e01b81523360048201526001600160a01b038085166024830152915193945091169163bbddaca39160448082019260009290919082900301818387803b15801561122657600080fd5b505af115801561123a573d6000803e3d6000fd5b5050505061109a868686863361196d565b6003546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b61127d611c2a565b6004546001600160a01b039081169116146112cd576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480546001600160a01b0319169055565b6007546001600160a01b031681565b61132e611c2a565b6004546001600160a01b0390811691161461137e576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b6001600160a01b0381166113c9576040805162461bcd60e51b815260206004820152600d60248201526c217a65726f206164647265737360981b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b60006113ff42600c54611c80565b905090565b600a546040805163d52f199f60e01b815233600482015290516001600160a01b039092169163d52f199f91602480820192602092909190829003018186803b15801561144f57600080fd5b505afa158015611463573d6000803e3d6000fd5b505050506040513d602081101561147957600080fd5b50516114b65760405162461bcd60e51b81526004018080602001828103825260238152602001806120ce6023913960400191505060405180910390fd5b6114c3848484843361196d565b50505050565b60106020526000908152604090205481565b6004546001600160a01b031690565b60055481565b6114f8611c2a565b6004546001600160a01b03908116911614611548576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b610e9b6001600160a01b0383163383611c2e565b600a546001600160a01b031681565b600b546001600160a01b031681565b60085490565b600e5481565b6000611590610ccf565b61159d5750600f54610cd3565b6113ff6115cb6115ab610ccf565b6109b9670de0b6b3a76400006109b3600d546109b3600e546109a46113f1565b600f5490611913565b6000806000806115e688888888610b26565b60095460408051633add5c4760e01b81523360048201526024810184905290519293506001600160a01b0390911691633add5c4791604480820192606092909190829003018186803b15801561163b57600080fd5b505afa15801561164f573d6000803e3d6000fd5b505050506040513d606081101561166557600080fd5b5080516020820151604090920151909a919950975095505050505050565b6008818154811061169057fe5b600091825260209091200154905081565b600f5481565b600c5481565b6116b5611c2a565b6004546001600160a01b03908116911614611705576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b61172f611c2a565b6004546001600160a01b0390811691161461177f576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b6001600160a01b0381166117c45760405162461bcd60e51b81526004018080602001828103825260268152602001806120f16026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031681565b600061187183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c96565b9392505050565b600082611887575060006109c5565b8282028284828161189457fe5b04146118715760405162461bcd60e51b81526004018080602001828103825260218152602001806121176021913960400191505060405180910390fd5b600061187183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611d2d565b600082820183811015611871576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b80611976611586565b600f556119816113f1565b600e556001600160a01b038116156119c85761199c8161095d565b6001600160a01b038216600090815260116020908152604080832093909355600f546010909152919020555b600c544210611aa957600580546001019055600b546040805163155ea6f760e11b815290516000926001600160a01b031691632abd4dee91600480830192602092919082900301818787803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b505050506040513d6020811015611a4a57600080fd5b50519050611a5b81628a6d806118d1565b600d5542600e819055611a7190628a6d80611913565b600c556040805182815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505b600960009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611af957600080fd5b505af1158015611b0d573d6000803e3d6000fd5b5050600a5460408051634a9fefc760e01b81526001600160a01b038781166004830152915160009550919092169250634a9fefc791602480820192602092909190829003018186803b158015611b6257600080fd5b505afa158015611b76573d6000803e3d6000fd5b505050506040513d6020811015611b8c57600080fd5b5051905060008080611ba08a8a8a8a6115d4565b925092509250611bb1828488611d92565b600754604080516340c10f1960e01b81526001600160a01b03878116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b158015611c0657600080fd5b505af1158015611c1a573d6000803e3d6000fd5b5050505050505050505050505050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cca908490611e45565b6000818310611c8f5781611871565b5090919050565b60008184841115611d255760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cea578181015183820152602001611cd2565b50505050905090810190601f168015611d175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611d7c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611cea578181015183820152602001611cd2565b506000838581611d8857fe5b0495945050505050565b6003546001600160a01b0316611ddf576040805162461bcd60e51b815260206004820152600d60248201526c217a65726f206164647265737360981b604482015290519081900360640190fd5b600154611dec9083611913565b6001556001600160a01b038116600090815260026020526040902054611e129083611913565b6001600160a01b038083166000908152600260205260408120929092556003549154610cca929082169133911686611ef6565b6060611e9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f509092919063ffffffff16565b805190915015610cca57808060200190516020811015611eb957600080fd5b5051610cca5760405162461bcd60e51b815260040180806020018281038252602a815260200180612158602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526114c3908590611e45565b6060610bec84846000856060611f65856120c7565b611fb6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611ff55780518252601f199092019160209182019101611fd6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612057576040519150601f19603f3d011682016040523d82523d6000602084013e61205c565b606091505b50915091508115612070579150610bec9050565b8051156120805780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611cea578181015183820152602001611cd2565b3b15159056fe44414f3a207468652063616c6c65722073686f756c64206265206120726566657265724f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212203da7ba8117b0177c5481a40b8b528e5c28dd945d6f9c037ee87838ee1bba848664736f6c634300060c003360806040523480156200001157600080fd5b50604080518082018252601481527f765a6f6f4b65657065725368617265546f6b656e000000000000000000000000602080830191825283518085019094526004845263765a4b5360e01b908401528151919291620000739160039162000127565b5080516200008990600490602084019062000127565b50506005805460ff19166012179055506000620000a56200010d565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000107600062000111565b620001c3565b3390565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016a57805160ff19168380011785556200019a565b828001600101855582156200019a579182015b828111156200019a5782518255916020019190600101906200017d565b50620001a8929150620001ac565b5090565b5b80821115620001a85760008155600101620001ad565b610ecd80620001d36000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80635b7f415c116100a257806395d89b411161007157806395d89b411461030a578063a457c2d714610312578063a9059cbb1461033e578063dd62ed3e1461036a578063f2fde38b1461039857610116565b80635b7f415c146102b057806370a08231146102b8578063715018a6146102de5780638da5cb5b146102e657610116565b806323b872dd116100e957806323b872dd146101fa5780632a90531814610230578063313ce56714610238578063395093511461025657806340c10f191461028257610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806318821400146101f2575b600080fd5b6101236103be565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b038135169060200135610454565b604080519115158252519081900360200190f35b6101e0610471565b60408051918252519081900360200190f35b610123610477565b6101c46004803603606081101561021057600080fd5b506001600160a01b038135811691602081013590911690604001356104a7565b61012361052e565b61024061054e565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561026c57600080fd5b506001600160a01b038135169060200135610557565b6102ae6004803603604081101561029857600080fd5b506001600160a01b0381351690602001356105a5565b005b610240610622565b6101e0600480360360208110156102ce57600080fd5b50356001600160a01b0316610627565b6102ae610642565b6102ee610701565b604080516001600160a01b039092168252519081900360200190f35b610123610715565b6101c46004803603604081101561032857600080fd5b506001600160a01b038135169060200135610776565b6101c46004803603604081101561035457600080fd5b506001600160a01b0381351690602001356107de565b6101e06004803603604081101561038057600080fd5b506001600160a01b03813581169160200135166107f2565b6102ae600480360360208110156103ae57600080fd5b50356001600160a01b031661081d565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561044a5780601f1061041f5761010080835404028352916020019161044a565b820191906000526020600020905b81548152906001019060200180831161042d57829003601f168201915b5050505050905090565b6000610468610461610938565b848461093c565b50600192915050565b60025490565b604051806040016040528060148152602001733b2d37b7a5b2b2b832b929b430b932aa37b5b2b760611b81525081565b60006104b4848484610a28565b610524846104c0610938565b61051f85604051806060016040528060288152602001610e02602891396001600160a01b038a166000908152600160205260408120906104fe610938565b6001600160a01b031681526020810191909152604001600020549190610b83565b61093c565b5060019392505050565b60405180604001604052806004815260200163765a4b5360e01b81525081565b60055460ff1690565b6000610468610564610938565b8461051f8560016000610575610938565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c1a565b6105ad610938565b60055461010090046001600160a01b03908116911614610614576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61061e8282610c7b565b5050565b600081565b6001600160a01b031660009081526020819052604090205490565b61064a610938565b60055461010090046001600160a01b039081169116146106b1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561044a5780601f1061041f5761010080835404028352916020019161044a565b6000610468610783610938565b8461051f85604051806060016040528060258152602001610e7360259139600160006107ad610938565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b83565b60006104686107eb610938565b8484610a28565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610825610938565b60055461010090046001600160a01b0390811691161461088c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166108d15760405162461bcd60e51b8152600401808060200182810382526026815260200180610d946026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b0383166109815760405162461bcd60e51b8152600401808060200182810382526024815260200180610e4f6024913960400191505060405180910390fd5b6001600160a01b0382166109c65760405162461bcd60e51b8152600401808060200182810382526022815260200180610dba6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a6d5760405162461bcd60e51b8152600401808060200182810382526025815260200180610e2a6025913960400191505060405180910390fd5b6001600160a01b038216610ab25760405162461bcd60e51b8152600401808060200182810382526023815260200180610d716023913960400191505060405180910390fd5b610abd838383610d6b565b610afa81604051806060016040528060268152602001610ddc602691396001600160a01b0386166000908152602081905260409020549190610b83565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610b299082610c1a565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c125760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bd7578181015183820152602001610bbf565b50505050905090810190601f168015610c045780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610c74576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610cd6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610ce260008383610d6b565b600254610cef9082610c1a565b6002556001600160a01b038216600090815260208190526040902054610d159082610c1a565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220718bb0df194f519514cdccaee01305ffc822a195242c098ddc0094cc13506a7d64736f6c634300060c0033000000000000000000000000a56ed2632e443db5f93e73c89df399a081408cc400000000000000000000000052ed1c517f8fcca065f03445b42141a278f14fda00000000000000000000000044477629a865956f14adcdce4846f1b83ce9fc950000000000000000000000003d94747a06f551db31f09ab251d4895fdd14c842000000000000000000000000d652bc4511edb2dcb2feb913decbd6333830b2fe
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021b5760003560e01c806380faa57d11610125578063c8f33c91116100ad578063df136d651161007c578063df136d65146108f9578063ebe2b12b14610901578063f0f4426014610909578063f2fde38b1461092f578063f7c618c1146109555761021b565b8063c8f33c91146107f0578063cd3daf9d146107f8578063d4d946fd14610800578063db97d3c0146108dc5761021b565b8063900cf0cf116100f4578063900cf0cf146107a457806395ccea67146107ac578063bb95e70a146107d8578063bdd0f313146107e0578063c539c443146107e85761021b565b806380faa57d146106b0578063854cb5ab146106b85780638b876347146107765780638da5cb5b1461079c5761021b565b80633d18b912116101a857806370a082311161017757806370a082311461064c578063715018a614610672578063787b9c5f1461067a5780637adbf973146106825780637b0a47ee146106a85761021b565b80633d18b912146104af57806343952627146104b757806352895ab01461058657806361d027b3146106445761021b565b806315a1795a116101ef57806315a1795a1461036b5780631697c2fe1461042957806318160ddd146104975780631be052891461049f578063313c06a0146104a75761021b565b80628cc2621461022057806303b48d561461025857806304f68c181461027c5780630700037d14610345575b600080fd5b6102466004803603602081101561023657600080fd5b50356001600160a01b031661095d565b60408051918252519081900360200190f35b6102606109cb565b604080516001600160a01b039092168252519081900360200190f35b6103436004803603606081101561029257600080fd5b810190602081018135600160201b8111156102ac57600080fd5b8201836020820111156102be57600080fd5b803590602001918460208302840111600160201b831117156102df57600080fd5b919390929091602081019035600160201b8111156102fc57600080fd5b82018360208201111561030e57600080fd5b803590602001918460208302840111600160201b8311171561032f57600080fd5b9193509150356001600160a01b03166109da565b005b6102466004803603602081101561035b57600080fd5b50356001600160a01b0316610b14565b6102466004803603604081101561038157600080fd5b810190602081018135600160201b81111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111600160201b831117156103ce57600080fd5b919390929091602081019035600160201b8111156103eb57600080fd5b8201836020820111156103fd57600080fd5b803590602001918460208302840111600160201b8311171561041e57600080fd5b509092509050610b26565b6103436004803603602081101561043f57600080fd5b810190602081018135600160201b81111561045957600080fd5b82018360208201111561046b57600080fd5b803590602001918460208302840111600160201b8311171561048c57600080fd5b509092509050610bf4565b610246610ccf565b610246610cd6565b610260610cdd565b610343610cec565b610343600480360360808110156104cd57600080fd5b810190602081018135600160201b8111156104e757600080fd5b8201836020820111156104f957600080fd5b803590602001918460208302840111600160201b8311171561051a57600080fd5b919390929091602081019035600160201b81111561053757600080fd5b82018360208201111561054957600080fd5b803590602001918460208302840111600160201b8311171561056a57600080fd5b91935091506001600160a01b0381358116916020013516610e9f565b6103436004803603606081101561059c57600080fd5b810190602081018135600160201b8111156105b657600080fd5b8201836020820111156105c857600080fd5b803590602001918460208302840111600160201b831117156105e957600080fd5b919390929091602081019035600160201b81111561060657600080fd5b82018360208201111561061857600080fd5b803590602001918460208302840111600160201b8311171561063957600080fd5b9193509150356110a2565b61026061124b565b6102466004803603602081101561066257600080fd5b50356001600160a01b031661125a565b610343611275565b610260611317565b6103436004803603602081101561069857600080fd5b50356001600160a01b0316611326565b6102466113eb565b6102466113f1565b610343600480360360408110156106ce57600080fd5b810190602081018135600160201b8111156106e857600080fd5b8201836020820111156106fa57600080fd5b803590602001918460208302840111600160201b8311171561071b57600080fd5b919390929091602081019035600160201b81111561073857600080fd5b82018360208201111561074a57600080fd5b803590602001918460208302840111600160201b8311171561076b57600080fd5b509092509050611404565b6102466004803603602081101561078c57600080fd5b50356001600160a01b03166114c9565b6102606114db565b6102466114ea565b610343600480360360408110156107c257600080fd5b506001600160a01b0381351690602001356114f0565b61026061155c565b61026061156b565b61024661157a565b610246611580565b610246611586565b6108be6004803603604081101561081657600080fd5b810190602081018135600160201b81111561083057600080fd5b82018360208201111561084257600080fd5b803590602001918460208302840111600160201b8311171561086357600080fd5b919390929091602081019035600160201b81111561088057600080fd5b82018360208201111561089257600080fd5b803590602001918460208302840111600160201b831117156108b357600080fd5b5090925090506115d4565b60408051938452602084019290925282820152519081900360600190f35b610246600480360360208110156108f257600080fd5b5035611683565b6102466116a1565b6102466116a7565b6103436004803603602081101561091f57600080fd5b50356001600160a01b03166116ad565b6103436004803603602081101561094557600080fd5b50356001600160a01b0316611727565b610260611820565b6001600160a01b03811660009081526011602090815260408083205460109092528220546109c591906109bf90670de0b6b3a7640000906109b9906109aa906109a4611586565b9061182f565b6109b38861125a565b90611878565b906118d1565b90611913565b92915050565b6009546001600160a01b031681565b600a546040805163d52f199f60e01b815233600482015290516001600160a01b039092169163d52f199f91602480820192602092909190829003018186803b158015610a2557600080fd5b505afa158015610a39573d6000803e3d6000fd5b505050506040513d6020811015610a4f57600080fd5b505115610a94576040805162461bcd60e51b815260206004820152600e60248201526d111053ce881b9bdd08199a5c9cdd60921b604482015290519081900360640190fd5b600a546040805163bbddaca360e01b81523360048201526001600160a01b0384811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b158015610ae857600080fd5b505af1158015610afc573d6000803e3d6000fd5b50505050610b0d858585853361196d565b5050505050565b60116020526000908152604090205481565b6000838214610b70576040805162461bcd60e51b8152602060048201526011602482015270085b195b99dd1a081b9bdd08195c5d585b607a1b604482015290519081900360640190fd5b6000805b85811015610be8576000878783818110610b8a57fe5b9050602002013560ff1660ff169050610bdd868684818110610ba857fe5b9050602002013560ff1660ff1660088381548110610bc257fe5b9060005260206000200154028461191390919063ffffffff16565b925050600101610b74565b5090505b949350505050565b610bfc611c2a565b6004546001600160a01b03908116911614610c4c576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b80610c87576040805162461bcd60e51b815260206004820152600660248201526521656d70747960d01b604482015290519081900360640190fd5b60005b81811015610cca576008838383818110610ca057fe5b83546001808201865560009586526020958690209290950293909301359201919091555001610c8a565b505050565b6001545b90565b628a6d8081565b6000546001600160a01b031681565b33610cf5611586565b600f55610d006113f1565b600e556001600160a01b03811615610d4757610d1b8161095d565b6001600160a01b038216600090815260116020908152604080832093909355600f546010909152919020555b600c544210610e2857600580546001019055600b546040805163155ea6f760e11b815290516000926001600160a01b031691632abd4dee91600480830192602092919082900301818787803b158015610d9f57600080fd5b505af1158015610db3573d6000803e3d6000fd5b505050506040513d6020811015610dc957600080fd5b50519050610dda81628a6d806118d1565b600d5542600e819055610df090628a6d80611913565b600c556040805182815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505b6000610e333361095d565b90508015610e9b5733600081815260116020526040812055600654610e64916001600160a01b039091169083611c2e565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b600a546040805163d52f199f60e01b81526001600160a01b0385811660048301529151919092169163d52f199f916024808301926020929190829003018186803b158015610eec57600080fd5b505afa158015610f00573d6000803e3d6000fd5b505050506040513d6020811015610f1657600080fd5b5051610f535760405162461bcd60e51b81526004018080602001828103825260238152602001806120ce6023913960400191505060405180910390fd5b6001600160a01b038116610fa1576040805162461bcd60e51b815260206004820152601060248201526f044414f3a2063616e6e6f7420626520360841b604482015290519081900360640190fd5b600a546040805163d52f199f60e01b81526001600160a01b0384811660048301529151919092169163d52f199f916024808301926020929190829003018186803b158015610fee57600080fd5b505afa158015611002573d6000803e3d6000fd5b505050506040513d602081101561101857600080fd5b505161108d57600a546040805163bbddaca360e01b81526001600160a01b03848116600483015285811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b15801561107457600080fd5b505af1158015611088573d6000803e3d6000fd5b505050505b61109a868686868561196d565b505050505050565b600a546040805163d52f199f60e01b815233600482015290516001600160a01b039092169163d52f199f91602480820192602092909190829003018186803b1580156110ed57600080fd5b505afa158015611101573d6000803e3d6000fd5b505050506040513d602081101561111757600080fd5b50511561115c576040805162461bcd60e51b815260206004820152600e60248201526d111053ce881b9bdd08199a5c9cdd60921b604482015290519081900360640190fd5b600a5460408051630470891360e31b81526004810184905281516000936001600160a01b03169263238448989260248082019391829003018186803b1580156111a457600080fd5b505afa1580156111b8573d6000803e3d6000fd5b505050506040513d60408110156111ce57600080fd5b5051600a546040805163bbddaca360e01b81523360048201526001600160a01b038085166024830152915193945091169163bbddaca39160448082019260009290919082900301818387803b15801561122657600080fd5b505af115801561123a573d6000803e3d6000fd5b5050505061109a868686863361196d565b6003546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b61127d611c2a565b6004546001600160a01b039081169116146112cd576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480546001600160a01b0319169055565b6007546001600160a01b031681565b61132e611c2a565b6004546001600160a01b0390811691161461137e576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b6001600160a01b0381166113c9576040805162461bcd60e51b815260206004820152600d60248201526c217a65726f206164647265737360981b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b60006113ff42600c54611c80565b905090565b600a546040805163d52f199f60e01b815233600482015290516001600160a01b039092169163d52f199f91602480820192602092909190829003018186803b15801561144f57600080fd5b505afa158015611463573d6000803e3d6000fd5b505050506040513d602081101561147957600080fd5b50516114b65760405162461bcd60e51b81526004018080602001828103825260238152602001806120ce6023913960400191505060405180910390fd5b6114c3848484843361196d565b50505050565b60106020526000908152604090205481565b6004546001600160a01b031690565b60055481565b6114f8611c2a565b6004546001600160a01b03908116911614611548576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b610e9b6001600160a01b0383163383611c2e565b600a546001600160a01b031681565b600b546001600160a01b031681565b60085490565b600e5481565b6000611590610ccf565b61159d5750600f54610cd3565b6113ff6115cb6115ab610ccf565b6109b9670de0b6b3a76400006109b3600d546109b3600e546109a46113f1565b600f5490611913565b6000806000806115e688888888610b26565b60095460408051633add5c4760e01b81523360048201526024810184905290519293506001600160a01b0390911691633add5c4791604480820192606092909190829003018186803b15801561163b57600080fd5b505afa15801561164f573d6000803e3d6000fd5b505050506040513d606081101561166557600080fd5b5080516020820151604090920151909a919950975095505050505050565b6008818154811061169057fe5b600091825260209091200154905081565b600f5481565b600c5481565b6116b5611c2a565b6004546001600160a01b03908116911614611705576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b61172f611c2a565b6004546001600160a01b0390811691161461177f576040805162461bcd60e51b81526020600482018190526024820152600080516020612138833981519152604482015290519081900360640190fd5b6001600160a01b0381166117c45760405162461bcd60e51b81526004018080602001828103825260268152602001806120f16026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031681565b600061187183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c96565b9392505050565b600082611887575060006109c5565b8282028284828161189457fe5b04146118715760405162461bcd60e51b81526004018080602001828103825260218152602001806121176021913960400191505060405180910390fd5b600061187183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611d2d565b600082820183811015611871576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b80611976611586565b600f556119816113f1565b600e556001600160a01b038116156119c85761199c8161095d565b6001600160a01b038216600090815260116020908152604080832093909355600f546010909152919020555b600c544210611aa957600580546001019055600b546040805163155ea6f760e11b815290516000926001600160a01b031691632abd4dee91600480830192602092919082900301818787803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b505050506040513d6020811015611a4a57600080fd5b50519050611a5b81628a6d806118d1565b600d5542600e819055611a7190628a6d80611913565b600c556040805182815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505b600960009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611af957600080fd5b505af1158015611b0d573d6000803e3d6000fd5b5050600a5460408051634a9fefc760e01b81526001600160a01b038781166004830152915160009550919092169250634a9fefc791602480820192602092909190829003018186803b158015611b6257600080fd5b505afa158015611b76573d6000803e3d6000fd5b505050506040513d6020811015611b8c57600080fd5b5051905060008080611ba08a8a8a8a6115d4565b925092509250611bb1828488611d92565b600754604080516340c10f1960e01b81526001600160a01b03878116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b158015611c0657600080fd5b505af1158015611c1a573d6000803e3d6000fd5b5050505050505050505050505050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cca908490611e45565b6000818310611c8f5781611871565b5090919050565b60008184841115611d255760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cea578181015183820152602001611cd2565b50505050905090810190601f168015611d175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611d7c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611cea578181015183820152602001611cd2565b506000838581611d8857fe5b0495945050505050565b6003546001600160a01b0316611ddf576040805162461bcd60e51b815260206004820152600d60248201526c217a65726f206164647265737360981b604482015290519081900360640190fd5b600154611dec9083611913565b6001556001600160a01b038116600090815260026020526040902054611e129083611913565b6001600160a01b038083166000908152600260205260408120929092556003549154610cca929082169133911686611ef6565b6060611e9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f509092919063ffffffff16565b805190915015610cca57808060200190516020811015611eb957600080fd5b5051610cca5760405162461bcd60e51b815260040180806020018281038252602a815260200180612158602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526114c3908590611e45565b6060610bec84846000856060611f65856120c7565b611fb6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611ff55780518252601f199092019160209182019101611fd6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612057576040519150601f19603f3d011682016040523d82523d6000602084013e61205c565b606091505b50915091508115612070579150610bec9050565b8051156120805780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611cea578181015183820152602001611cd2565b3b15159056fe44414f3a207468652063616c6c65722073686f756c64206265206120726566657265724f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212203da7ba8117b0177c5481a40b8b528e5c28dd945d6f9c037ee87838ee1bba848664736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a56ed2632e443db5f93e73c89df399a081408cc400000000000000000000000052ed1c517f8fcca065f03445b42141a278f14fda00000000000000000000000044477629a865956f14adcdce4846f1b83ce9fc950000000000000000000000003d94747a06f551db31f09ab251d4895fdd14c842000000000000000000000000d652bc4511edb2dcb2feb913decbd6333830b2fe
-----Decoded View---------------
Arg [0] : _rewardToken (address): 0xA56Ed2632E443Db5f93e73C89df399a081408Cc4
Arg [1] : _daoTreasury (address): 0x52ED1C517f8fcca065f03445b42141A278F14FdA
Arg [2] : _iReferral (address): 0x44477629a865956f14Adcdce4846F1B83Ce9fc95
Arg [3] : _oracle (address): 0x3D94747A06f551dB31f09aB251D4895FdD14C842
Arg [4] : _zooRewardTreasury (address): 0xD652bc4511EDb2DCb2FEb913DECbd6333830b2fE
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a56ed2632e443db5f93e73c89df399a081408cc4
Arg [1] : 00000000000000000000000052ed1c517f8fcca065f03445b42141a278f14fda
Arg [2] : 00000000000000000000000044477629a865956f14adcdce4846f1b83ce9fc95
Arg [3] : 0000000000000000000000003d94747a06f551db31f09ab251d4895fdd14c842
Arg [4] : 000000000000000000000000d652bc4511edb2dcb2feb913decbd6333830b2fe
Deployed Bytecode Sourcemap
35545:6726:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38752:228;;;;;;;;;;;;;;;;-1:-1:-1;38752:228:0;-1:-1:-1;;;;;38752:228:0;;:::i;:::-;;;;;;;;;;;;;;;;35862:22;;;:::i;:::-;;;;-1:-1:-1;;;;;35862:22:0;;;;;;;;;;;;;;39356:304;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39356:304:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39356:304:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39356:304:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39356:304:0;;;;;;;;;;;;-1:-1:-1;39356:304:0;-1:-1:-1;39356:304:0;-1:-1:-1;;;;;39356:304:0;;:::i;:::-;;36244:42;;;;;;;;;;;;;;;;-1:-1:-1;36244:42:0;-1:-1:-1;;;;;36244:42:0;;:::i;41365:412::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41365:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41365:412:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41365:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41365:412:0;;;;;;;;;;-1:-1:-1;41365:412:0;;-1:-1:-1;41365:412:0;-1:-1:-1;41365:412:0;:::i;36973:240::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36973:240:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36973:240:0;;;;;;;;;;-1:-1:-1;36973:240:0;;-1:-1:-1;36973:240:0;-1:-1:-1;36973:240:0;:::i;21981:91::-;;;:::i;35974:43::-;;;:::i;21657:69::-;;;:::i;40944:303::-;;;:::i;39901:525::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39901:525:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39901:525:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39901:525:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39901:525:0;;;;;;;;;;;;-1:-1:-1;39901:525:0;-1:-1:-1;;;;;;39901:525:0;;;;;;;;;;:::i;38988:360::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38988:360:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38988:360:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38988:360:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38988:360:0;;;;;;;;;;;;-1:-1:-1;38988:360:0;-1:-1:-1;38988:360:0;;:::i;21824:23::-;;;:::i;22080:110::-;;;;;;;;;;;;;;;;-1:-1:-1;22080:110:0;-1:-1:-1;;;;;22080:110:0;;:::i;20226:148::-;;;:::i;35784:30::-;;;:::i;37331:156::-;;;;;;;;;;;;;;;;-1:-1:-1;37331:156:0;-1:-1:-1;;;;;37331:156:0;;:::i;36064:29::-;;;:::i;38238:131::-;;;:::i;39668:225::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39668:225:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39668:225:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39668:225:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39668:225:0;;;;;;;;;;-1:-1:-1;39668:225:0;;-1:-1:-1;39668:225:0;-1:-1:-1;39668:225:0;:::i;36180:57::-;;;;;;;;;;;;;;;;-1:-1:-1;36180:57:0;-1:-1:-1;;;;;36180:57:0;;:::i;19584:79::-;;;:::i;35666:24::-;;;:::i;42122:146::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42122:146:0;;;;;;;;:::i;35891:26::-;;;:::i;35924:41::-;;;:::i;41255:102::-;;;:::i;36100:29::-;;;:::i;38377:367::-;;;:::i;41785:329::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41785:329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41785:329:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41785:329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41785:329:0;;;;;;;;;;-1:-1:-1;41785:329:0;;-1:-1:-1;41785:329:0;-1:-1:-1;41785:329:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;35821:32;;;;;;;;;;;;;;;;-1:-1:-1;35821:32:0;;:::i;36136:35::-;;;:::i;36026:31::-;;;:::i;37221:102::-;;;;;;;;;;;;;;;;-1:-1:-1;37221:102:0;-1:-1:-1;;;;;37221:102:0;;:::i;20529:244::-;;;;;;;;;;;;;;;;-1:-1:-1;20529:244:0;-1:-1:-1;;;;;20529:244:0;;:::i;35697:78::-;;;:::i;38752:228::-;-1:-1:-1;;;;;38955:16:0;;38806:7;38955:16;;;:7;:16;;;;;;;;;38887:22;:31;;;;;;38833:139;;38955:16;38833:107;;38935:4;;38833:87;;38866:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;38833:18;38843:7;38833:9;:18::i;:::-;:32;;:87::i;:::-;:101;;:107::i;:::-;:121;;:139::i;:::-;38826:146;38752:228;-1:-1:-1;;38752:228:0:o;35862:22::-;;;-1:-1:-1;;;;;35862:22:0;;:::o;39356:304::-;39482:9;;:37;;;-1:-1:-1;;;39482:37:0;;39508:10;39482:37;;;;;;-1:-1:-1;;;;;39482:9:0;;;;:25;;:37;;;;;;;;;;;;;;;:9;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39482:37:0;39481:38;39473:65;;;;;-1:-1:-1;;;39473:65:0;;;;;;;;;;;;-1:-1:-1;;;39473:65:0;;;;;;;;;;;;;;;39551:9;;:51;;;-1:-1:-1;;;39551:51:0;;39573:10;39551:51;;;;-1:-1:-1;;;;;39551:51:0;;;;;;;;;:9;;;;;:21;;:51;;;;;:9;;:51;;;;;;;:9;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39615:37;39626:4;;39632:7;;39641:10;39615;:37::i;:::-;39356:304;;;;;:::o;36244:42::-;;;;;;;;;;;;;:::o;41365:412::-;41459:7;41487:27;;;41479:57;;;;;-1:-1:-1;;;41479:57:0;;;;;;;;;;;;-1:-1:-1;;;41479:57:0;;;;;;;;;;;;;;;41547:16;41583:6;41578:166;41595:14;;;41578:166;;;41631:14;41648:3;;41652:1;41648:6;;;;;;;;;;;;;;;41631:23;;;;41680:52;41722:6;;41729:1;41722:9;;;;;;;;;;;;;;;41693:38;;:15;41709:9;41693:26;;;;;;;;;;;;;;;;:38;41680:8;:12;;:52;;;;:::i;:::-;41669:63;-1:-1:-1;;41611:3:0;;41578:166;;;-1:-1:-1;41761:8:0;-1:-1:-1;41365:412:0;;;;;;;:::o;36973:240::-;19806:12;:10;:12::i;:::-;19796:6;;-1:-1:-1;;;;;19796:6:0;;;:22;;;19788:67;;;;;-1:-1:-1;;;19788:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19788:67:0;;;;;;;;;;;;;;;37059:20;37051:39:::1;;;::::0;;-1:-1:-1;;;37051:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37051:39:0;;;;;;;;;;;;;::::1;;37106:6;37101:105;37118:20:::0;;::::1;37101:105;;;37160:15;37181:9;;37191:1;37181:12;;;;;;;37160:34:::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;37160:34:0;;;37181:12:::1;37160:34:::0;;;;37181:12;;;::::1;::::0;;;::::1;;37160:34:::0;::::1;::::0;;;;-1:-1:-1;37140:3:0::1;37101:105;;;;36973:240:::0;;:::o;21981:91::-;22052:12;;21981:91;;:::o;35974:43::-;36009:8;35974:43;:::o;21657:69::-;;;-1:-1:-1;;;;;21657:69:0;;:::o;40944:303::-;40985:10;37568:16;:14;:16::i;:::-;37545:20;:39;37612:26;:24;:26::i;:::-;37595:14;:43;-1:-1:-1;;;;;37653:21:0;;;37649:157;;37710:15;37717:7;37710:6;:15::i;:::-;-1:-1:-1;;;;;37691:16:0;;;;;;:7;:16;;;;;;;;:34;;;;37774:20;;37740:22;:31;;;;;;:54;37649:157;37889:12:::1;;37870:15;:31;37866:345;;37926:5;::::0;;37934:1:::1;37926:9;37918:17:::0;;37969:18:::1;::::0;:35:::1;::::0;;-1:-1:-1;;;37969:35:0;;;;-1:-1:-1;;;;;;;37969:18:0::1;::::0;:33:::1;::::0;:35:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;-1:-1:-1;37969:18:0;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37969:35:0;;-1:-1:-1;38032:20:0::1;37969:35:::0;36009:8:::1;38032:10;:20::i;:::-;38019:10;:33:::0;38084:15:::1;38067:14;:32:::0;;;38129:29:::1;::::0;36009:8:::1;38129:19;:29::i;:::-;38114:12;:44:::0;38180:19:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;37866:345;;41019:14:::2;41036:18;41043:10;41036:6;:18::i;:::-;41019:35:::0;-1:-1:-1;41069:10:0;;41065:175:::2;;41104:10;41118:1;41096:19:::0;;;:7:::2;:19;::::0;;;;:23;41134:11:::2;::::0;:44:::2;::::0;-1:-1:-1;;;;;41134:11:0;;::::2;::::0;41171:6;41134:24:::2;:44::i;:::-;41198:30;::::0;;;;;;;41209:10:::2;::::0;41198:30:::2;::::0;;;;;::::2;::::0;;::::2;41065:175;38221:1;40944:303:::0;:::o;39901:525::-;40053:9;;:43;;;-1:-1:-1;;;40053:43:0;;-1:-1:-1;;;;;40053:43:0;;;;;;;;;:9;;;;;:25;;:43;;;;;;;;;;;;;;:9;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40053:43:0;40045:91;;;;-1:-1:-1;;;40045:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40155:33:0;;40147:62;;;;;-1:-1:-1;;;40147:62:0;;;;;;;;;;;;-1:-1:-1;;;40147:62:0;;;;;;;;;;;;;;;40225:9;;:46;;;-1:-1:-1;;;40225:46:0;;-1:-1:-1;;;;;40225:46:0;;;;;;;;;:9;;;;;:25;;:46;;;;;;;;;;;;;;:9;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40225:46:0;40220:140;;40288:9;;:60;;;-1:-1:-1;;;40288:60:0;;-1:-1:-1;;;;;40288:60:0;;;;;;;;;;;;;;;;:9;;;;;:21;;:60;;;;;:9;;:60;;;;;;;:9;;:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40220:140;40372:46;40383:4;;40389:7;;40398:19;40372:10;:46::i;:::-;39901:525;;;;;;:::o;38988:360::-;39106:9;;:37;;;-1:-1:-1;;;39106:37:0;;39132:10;39106:37;;;;;;-1:-1:-1;;;;;39106:9:0;;;;:25;;:37;;;;;;;;;;;;;;;:9;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39106:37:0;39105:38;39097:65;;;;;-1:-1:-1;;;39097:65:0;;;;;;;;;;;;-1:-1:-1;;;39097:65:0;;;;;;;;;;;;;;;39205:9;;:23;;;-1:-1:-1;;;39205:23:0;;;;;;;;;;39176:24;;-1:-1:-1;;;;;39205:9:0;;:17;;:23;;;;;;;;;;;:9;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39205:23:0;39239:9;;39205:23;39239:51;;-1:-1:-1;;;39239:51:0;;39261:10;39239:51;;;;-1:-1:-1;;;;;39239:51:0;;;;;;;;;39205:23;;-1:-1:-1;39239:9:0;;;:21;;:51;;;;;:9;;:51;;;;;;;;:9;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39303:37;39314:4;;39320:7;;39329:10;39303;:37::i;21824:23::-;;;-1:-1:-1;;;;;21824:23:0;;:::o;22080:110::-;-1:-1:-1;;;;;22164:18:0;22137:7;22164:18;;;:9;:18;;;;;;;22080:110::o;20226:148::-;19806:12;:10;:12::i;:::-;19796:6;;-1:-1:-1;;;;;19796:6:0;;;:22;;;19788:67;;;;;-1:-1:-1;;;19788:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19788:67:0;;;;;;;;;;;;;;;20317:6:::1;::::0;20296:40:::1;::::0;20333:1:::1;::::0;-1:-1:-1;;;;;20317:6:0::1;::::0;20296:40:::1;::::0;20333:1;;20296:40:::1;20347:6;:19:::0;;-1:-1:-1;;;;;;20347:19:0::1;::::0;;20226:148::o;35784:30::-;;;-1:-1:-1;;;;;35784:30:0;;:::o;37331:156::-;19806:12;:10;:12::i;:::-;19796:6;;-1:-1:-1;;;;;19796:6:0;;;:22;;;19788:67;;;;;-1:-1:-1;;;19788:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19788:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;37403:21:0;::::1;37395:47;;;::::0;;-1:-1:-1;;;37395:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37395:47:0;;;;;;;;;;;;;::::1;;37453:7;:26:::0;;-1:-1:-1;;;;;;37453:26:0::1;-1:-1:-1::0;;;;;37453:26:0;;;::::1;::::0;;;::::1;::::0;;37331:156::o;36064:29::-;;;;:::o;38238:131::-;38295:7;38322:39;38331:15;38348:12;;38322:8;:39::i;:::-;38315:46;;38238:131;:::o;39668:225::-;39760:9;;:37;;;-1:-1:-1;;;39760:37:0;;39786:10;39760:37;;;;;;-1:-1:-1;;;;;39760:9:0;;;;:25;;:37;;;;;;;;;;;;;;;:9;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39760:37:0;39752:85;;;;-1:-1:-1;;;39752:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39850:35;39861:3;;39866:6;;39874:10;39850;:35::i;:::-;39668:225;;;;:::o;36180:57::-;;;;;;;;;;;;;:::o;19584:79::-;19649:6;;-1:-1:-1;;;;;19649:6:0;19584:79;:::o;35666:24::-;;;;:::o;42122:146::-;19806:12;:10;:12::i;:::-;19796:6;;-1:-1:-1;;;;;19796:6:0;;;:22;;;19788:67;;;;;-1:-1:-1;;;19788:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19788:67:0;;;;;;;;;;;;;;;42212:48:::1;-1:-1:-1::0;;;;;42212:27:0;::::1;42240:10;42252:7:::0;42212:27:::1;:48::i;35891:26::-:0;;;-1:-1:-1;;;;;35891:26:0;;:::o;35924:41::-;;;-1:-1:-1;;;;;35924:41:0;;:::o;41255:102::-;41327:15;:22;41255:102;:::o;36100:29::-;;;;:::o;38377:367::-;38424:7;38448:13;:11;:13::i;:::-;38444:78;;-1:-1:-1;38490:20:0;;38483:27;;38444:78;38539:197;38578:147;38711:13;:11;:13::i;:::-;38578:114;38687:4;38578:90;38657:10;;38578:60;38623:14;;38578:26;:24;:26::i;:147::-;38539:20;;;:24;:197::i;41785:329::-;41882:20;41904:18;41924:19;41956:16;41975:29;41992:3;;41997:6;;41975:16;:29::i;:::-;42057:7;;:49;;;-1:-1:-1;;;42057:49:0;;42085:10;42057:49;;;;;;;;;;;;41956:48;;-1:-1:-1;;;;;;42057:7:0;;;;:27;;:49;;;;;;;;;;;;;;;:7;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42057:49:0;;;;;;;;;;;;;;;-1:-1:-1;42057:49:0;-1:-1:-1;41785:329:0;-1:-1:-1;;;;;;41785:329:0:o;35821:32::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35821:32:0;:::o;36136:35::-;;;;:::o;36026:31::-;;;;:::o;37221:102::-;19806:12;:10;:12::i;:::-;19796:6;;-1:-1:-1;;;;;19796:6:0;;;:22;;;19788:67;;;;;-1:-1:-1;;;19788:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19788:67:0;;;;;;;;;;;;;;;37292:8:::1;:23:::0;;-1:-1:-1;;;;;;37292:23:0::1;-1:-1:-1::0;;;;;37292:23:0;;;::::1;::::0;;;::::1;::::0;;37221:102::o;20529:244::-;19806:12;:10;:12::i;:::-;19796:6;;-1:-1:-1;;;;;19796:6:0;;;:22;;;19788:67;;;;;-1:-1:-1;;;19788:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;19788:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;20618:22:0;::::1;20610:73;;;;-1:-1:-1::0;;;20610:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20720:6;::::0;20699:38:::1;::::0;-1:-1:-1;;;;;20699:38:0;;::::1;::::0;20720:6:::1;::::0;20699:38:::1;::::0;20720:6:::1;::::0;20699:38:::1;20748:6;:17:::0;;-1:-1:-1;;;;;;20748:17:0::1;-1:-1:-1::0;;;;;20748:17:0;;;::::1;::::0;;;::::1;::::0;;20529:244::o;35697:78::-;;;-1:-1:-1;;;;;35697:78:0;;:::o;4081:136::-;4139:7;4166:43;4170:1;4173;4166:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4159:50;4081:136;-1:-1:-1;;;4081:136:0:o;4971:471::-;5029:7;5274:6;5270:47;;-1:-1:-1;5304:1:0;5297:8;;5270:47;5341:5;;;5345:1;5341;:5;:1;5365:5;;;;;:10;5357:56;;;;-1:-1:-1;;;5357:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5918:132;5976:7;6003:39;6007:1;6010;6003:39;;;;;;;;;;;;;;;;;:3;:39::i;3617:181::-;3675:7;3707:5;;;3731:6;;;;3723:46;;;;;-1:-1:-1;;;3723:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;40434:502;40557:12;37568:16;:14;:16::i;:::-;37545:20;:39;37612:26;:24;:26::i;:::-;37595:14;:43;-1:-1:-1;;;;;37653:21:0;;;37649:157;;37710:15;37717:7;37710:6;:15::i;:::-;-1:-1:-1;;;;;37691:16:0;;;;;;:7;:16;;;;;;;;:34;;;;37774:20;;37740:22;:31;;;;;;:54;37649:157;37889:12:::1;;37870:15;:31;37866:345;;37926:5;::::0;;37934:1:::1;37926:9;37918:17:::0;;37969:18:::1;::::0;:35:::1;::::0;;-1:-1:-1;;;37969:35:0;;;;-1:-1:-1;;;;;;;37969:18:0::1;::::0;:33:::1;::::0;:35:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;-1:-1:-1;37969:18:0;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37969:35:0;;-1:-1:-1;38032:20:0::1;37969:35:::0;36009:8:::1;38032:10;:20::i;:::-;38019:10;:33:::0;38084:15:::1;38067:14;:32:::0;;;38129:29:::1;::::0;36009:8:::1;38129:19;:29::i;:::-;38114:12;:44:::0;38180:19:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;37866:345;;40603:7:::2;;;;;;;;;-1:-1:-1::0;;;;;40603:7:0::2;-1:-1:-1::0;;;;;40603:14:0::2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;40657:9:0::2;::::0;:35:::2;::::0;;-1:-1:-1;;;40657:35:0;;-1:-1:-1;;;;;40657:35:0;;::::2;;::::0;::::2;::::0;;;40630:24:::2;::::0;-1:-1:-1;40657:9:0;;;::::2;::::0;-1:-1:-1;40657:21:0::2;::::0;:35;;;;;::::2;::::0;;;;;;;;;:9;:35;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;40657:35:0;;-1:-1:-1;40704:20:0::2;::::0;;40769:34:::2;40789:4:::0;;40795:7;;40769:19:::2;:34::i;:::-;40703:100;;;;;;40816:52;40829:10;40841:12;40855;40816;:52::i;:::-;40879:13;::::0;:49:::2;::::0;;-1:-1:-1;;;40879:49:0;;-1:-1:-1;;;;;40879:49:0;;::::2;;::::0;::::2;::::0;;;;;;;;;:13;;;::::2;::::0;:18:::2;::::0;:49;;;;;:13:::2;::::0;:49;;;;;;;:13;;:49;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;38221:1;;;;40434:502:::0;;;;;;:::o;18220:106::-;18308:10;18220:106;:::o;14602:177::-;14712:58;;;-1:-1:-1;;;;;14712:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14712:58:0;-1:-1:-1;;;14712:58:0;;;14685:86;;14705:5;;14685:19;:86::i;21129:106::-;21187:7;21218:1;21214;:5;:13;;21226:1;21214:13;;;-1:-1:-1;21222:1:0;;21129:106;-1:-1:-1;21129:106:0:o;4520:192::-;4606:7;4642:12;4634:6;;;;4626:29;;;;-1:-1:-1;;;4626:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4678:5:0;;;4520:192::o;6546:278::-;6632:7;6667:12;6660:5;6652:28;;;;-1:-1:-1;;;6652:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6691:9;6707:1;6703;:5;;;;;;;6546:278;-1:-1:-1;;;;;6546:278:0:o;22198:323::-;22293:8;;-1:-1:-1;;;;;22293:8:0;22285:48;;;;;-1:-1:-1;;;22285:48:0;;;;;;;;;;;;-1:-1:-1;;;22285:48:0;;;;;;;;;;;;;;;22361:12;;:26;;22378:8;22361:16;:26::i;:::-;22346:12;:41;-1:-1:-1;;;;;22419:18:0;;;;;;:9;:18;;;;;;:32;;22442:8;22419:22;:32::i;:::-;-1:-1:-1;;;;;22398:18:0;;;;;;;:9;:18;;;;;:53;;;;22496:8;;22464:2;;:49;;:2;;;;22484:10;;22496:8;22506:6;22464:19;:49::i;16907:761::-;17331:23;17357:69;17385:4;17357:69;;;;;;;;;;;;;;;;;17365:5;-1:-1:-1;;;;;17357:27:0;;;:69;;;;;:::i;:::-;17441:17;;17331:95;;-1:-1:-1;17441:21:0;17437:224;;17583:10;17572:30;;;;;;;;;;;;;;;-1:-1:-1;17572:30:0;17564:85;;;;-1:-1:-1;;;17564:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14787:205;14915:68;;;-1:-1:-1;;;;;14915:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14915:68:0;-1:-1:-1;;;14915:68:0;;;14888:96;;14908:5;;14888:19;:96::i;11678:196::-;11781:12;11813:53;11836:6;11844:4;11850:1;11853:12;13185;13218:18;13229:6;13218:10;:18::i;:::-;13210:60;;;;;-1:-1:-1;;;13210:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13344:12;13358:23;13385:6;-1:-1:-1;;;;;13385:11:0;13405:8;13416:4;13385:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13385:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13343:78;;;;13436:7;13432:595;;;13467:10;-1:-1:-1;13460:17:0;;-1:-1:-1;13460:17:0;13432:595;13581:17;;:21;13577:439;;13844:10;13838:17;13905:15;13892:10;13888:2;13884:19;13877:44;13792:148;13980:20;;-1:-1:-1;;;13980:20:0;;;;;;;;;;;;;;;;;13987:12;;13980:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8760:422;9127:20;9166:8;;;8760:422::o
Swarm Source
ipfs://718bb0df194f519514cdccaee01305ffc822a195242c098ddc0094cc13506a7d
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.