Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 192 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Locking | 20407719 | 38 days ago | IN | 0 ETH | 0.00016205 | ||||
Deposit | 20354762 | 46 days ago | IN | 0 ETH | 0.00015806 | ||||
Convert All | 20354755 | 46 days ago | IN | 0 ETH | 0.00041259 | ||||
Locking | 19442262 | 173 days ago | IN | 0 ETH | 0.00112215 | ||||
Locking | 19422055 | 176 days ago | IN | 0 ETH | 0.00161794 | ||||
Locking | 19415584 | 177 days ago | IN | 0 ETH | 0.00160959 | ||||
Locking | 19372990 | 183 days ago | IN | 0 ETH | 0.00163989 | ||||
Locking | 19365140 | 184 days ago | IN | 0 ETH | 0.00203141 | ||||
Locking | 19359064 | 185 days ago | IN | 0 ETH | 0.00171086 | ||||
Locking | 19314645 | 191 days ago | IN | 0 ETH | 0.00133742 | ||||
Locking | 19270381 | 197 days ago | IN | 0 ETH | 0.00125051 | ||||
Locking | 19215676 | 205 days ago | IN | 0 ETH | 0.00108868 | ||||
Locking | 19165031 | 212 days ago | IN | 0 ETH | 0.00070017 | ||||
Locking | 19114452 | 219 days ago | IN | 0 ETH | 0.00060237 | ||||
Locking | 19015463 | 233 days ago | IN | 0 ETH | 0.0007128 | ||||
Locking | 18925917 | 246 days ago | IN | 0 ETH | 0.00053936 | ||||
Locking | 18922099 | 246 days ago | IN | 0 ETH | 0.00071756 | ||||
Locking | 18864089 | 254 days ago | IN | 0 ETH | 0.00070092 | ||||
Locking | 18800486 | 263 days ago | IN | 0 ETH | 0.00122737 | ||||
Locking | 18765495 | 268 days ago | IN | 0 ETH | 0.001217 | ||||
Locking | 18749677 | 270 days ago | IN | 0 ETH | 0.00124251 | ||||
Locking | 18715735 | 275 days ago | IN | 0 ETH | 0.0013554 | ||||
Locking | 18708686 | 276 days ago | IN | 0 ETH | 0.00108184 | ||||
Locking | 18692736 | 278 days ago | IN | 0 ETH | 0.0018766 | ||||
Locking | 18666143 | 282 days ago | IN | 0 ETH | 0.0010048 |
Latest 6 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13541362 | 1037 days ago | Contract Creation | 0 ETH | |||
13541362 | 1037 days ago | Contract Creation | 0 ETH | |||
13445096 | 1052 days ago | Contract Creation | 0 ETH | |||
13445096 | 1052 days ago | Contract Creation | 0 ETH | |||
13440160 | 1053 days ago | Contract Creation | 0 ETH | |||
13440160 | 1053 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
ConvController
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-10-18 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; // Part: IController interface IController { function mint(address, uint256) external; function withdraw(address, uint256) external; function withdrawVote(address, uint256) external; function deposit(address, uint256) external; function depositVote(address, uint256) external; function totalAssets(address) external view returns (uint256); function rewards() external view returns (address); function strategies(address) external view returns (address); function vaults(address) external view returns (address); function setHarvestInfo(address _token, uint256 _harvestReward) external; } // Part: OpenZeppelin/[email protected]/Address /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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); } } } } // Part: OpenZeppelin/[email protected]/Context /* * @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; } } // Part: OpenZeppelin/[email protected]/IERC20 /** * @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); } // Part: OpenZeppelin/[email protected]/SafeMath /** * @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; } } // Part: DToken contract DToken { /// @dev EIP-20 token name for this token string public name; /// @dev EIP-20 token symbol for this token string public symbol; /// @dev EIP-20 token decimals for this token uint8 public decimals; /// @dev Total number of tokens in circulation uint256 public totalSupply; /// @dev Allowance amounts on behalf of others mapping (address => mapping (address => uint256)) internal allowances; /// @dev Official record of token balances for each account mapping (address => uint256) internal balances; address public governance; address public pendingGovernance; address public convController; address public vault; /// @dev A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @dev A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @dev The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @dev An event thats emitted when a delegate account's vote balance changes event AccountVotesChanged(address indexed account, uint256 previousBalance, uint256 newBalance); /// @dev The standard EIP-20 transfer event event Transfer(address indexed from, address indexed to, uint256 amount); /// @dev The standard EIP-20 approval event event Approval(address indexed owner, address indexed spender, uint256 amount); event Mint(address indexed account, uint256 amount); event Burn(address indexed account, uint256 amount); function initialize(address _governance, uint8 _decimals, bytes calldata _name, bytes calldata _symbol) external { require(governance == address(0), 'initialize: can only initialize once'); require(_governance != address(0), 'initialize: invalid governance address'); governance = _governance; convController = msg.sender; name = string(_name); symbol = string(_symbol); decimals = _decimals; } function allowance(address account, address spender) external view returns (uint256) { return allowances[account][spender]; } function approve(address spender, uint256 amount) external returns (bool) { allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function balanceOf(address account) external view returns (uint256) { return balances[account]; } function transfer(address dst, uint256 amount) external returns (bool) { _transferTokens(msg.sender, dst, amount); return true; } function transferFrom(address src, address dst, uint256 amount) external returns (bool) { address spender = msg.sender; uint256 spenderAllowance = allowances[src][spender]; if (spender != src && spenderAllowance != uint256(-1)) { uint256 newAllowance = sub256(spenderAllowance, amount, "transferFrom: transfer amount exceeds spender allowance"); allowances[src][spender] = newAllowance; emit Approval(src, spender, newAllowance); } _transferTokens(src, dst, amount); return true; } /** * @dev Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @dev Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint256 blockNumber) public view returns (uint256) { require(blockNumber < block.number, "getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _transferTokens(address src, address dst, uint256 amount) internal { require(src != address(0), "_transferTokens: cannot transfer from the zero address"); require(dst != address(0), "_transferTokens: cannot transfer to the zero address"); balances[src] = sub256(balances[src], amount, "_transferTokens: transfer amount exceeds balance"); balances[dst] = add256(balances[dst], amount, "_transferTokens: transfer amount overflows"); emit Transfer(src, dst, amount); _moveVotes(src); _moveVotes(dst); } function _moveVotes(address account) internal { uint32 repNum = numCheckpoints[account]; uint256 oldBalance = repNum > 0 ? checkpoints[account][repNum - 1].votes : 0; _writeCheckpoint(account, repNum, oldBalance, balances[account]); } function _writeCheckpoint(address account, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes) internal { uint32 blockNumber = safe32(block.number, "_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[account][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[account][nCheckpoints - 1].votes = newVotes; } else { checkpoints[account][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[account] = nCheckpoints + 1; } emit AccountVotesChanged(account, oldVotes, newVotes); } function acceptGovernance() external { require(msg.sender == pendingGovernance, "!pendingGovernance"); governance = msg.sender; pendingGovernance = address(0); } function setPendingGovernance(address _pendingGovernance) external { require(msg.sender == governance, "!governance"); pendingGovernance = _pendingGovernance; } function setConvController(address _convController) external { require(msg.sender == governance, "!governance"); convController = _convController; } function setVault(address _vault) external { require(msg.sender == governance, "!governance"); vault = _vault; } function mint(address account, uint256 amount) external { require(msg.sender == convController || msg.sender == vault, "NOT OPERATOR"); _mint(account,amount); emit Mint(account, amount); } function burn(address account, uint256 amount) external { require(msg.sender == convController || msg.sender == vault, "NOT OPERATOR"); _burn(account,amount); emit Burn(account, amount); } function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); totalSupply = add256(totalSupply, amount, "ERC20: mint amount overflows"); balances[account] = add256(balances[account], amount, "ERC20: mint amount overflows"); emit Transfer(address(0), account, amount); _moveVotes(account); } function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); balances[account] = sub256(balances[account], amount, "ERC20: burn amount exceeds balance"); totalSupply = sub256(totalSupply, amount, "ERC20: burn amount exceeds balance"); emit Transfer(account, address(0), amount); _moveVotes(account); } function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function add256(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, errorMessage); return c; } function sub256(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } function sweep(address _token) external { require(msg.sender == governance, "!governance"); uint256 _balance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(governance, _balance); } } // Part: EToken contract EToken { /// @dev EIP-20 token name for this token string public name; /// @dev EIP-20 token symbol for this token string public symbol; /// @dev EIP-20 token decimals for this token uint8 public decimals; /// @dev Total number of tokens in circulation uint256 public totalSupply; /// @dev Allowance amounts on behalf of others mapping (address => mapping (address => uint256)) internal allowances; /// @dev Official record of token balances for each account mapping (address => uint256) internal balances; address public governance; address public pendingGovernance; address public convController; address public vault; /// @dev The standard EIP-20 transfer event event Transfer(address indexed from, address indexed to, uint256 amount); /// @dev The standard EIP-20 approval event event Approval(address indexed owner, address indexed spender, uint256 amount); event Mint(address indexed account, uint256 amount); event Burn(address indexed account, uint256 amount); function initialize(address _governance, uint8 _decimals, bytes calldata _name, bytes calldata _symbol) external { require(governance == address(0), 'initialize: can only initialize once'); require(_governance != address(0), 'initialize: invalid governance address'); governance = _governance; convController = msg.sender; name = string(_name); symbol = string(_symbol); decimals = _decimals; } function allowance(address account, address spender) external view returns (uint256) { return allowances[account][spender]; } function approve(address spender, uint256 amount) external returns (bool) { allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function balanceOf(address account) external view returns (uint256) { return balances[account]; } function transfer(address dst, uint256 amount) external returns (bool) { _transferTokens(msg.sender, dst, amount); return true; } function transferFrom(address src, address dst, uint256 amount) external returns (bool) { address spender = msg.sender; uint256 spenderAllowance = allowances[src][spender]; if (spender != src && spenderAllowance != uint256(-1)) { uint256 newAllowance = sub256(spenderAllowance, amount, "transferFrom: transfer amount exceeds spender allowance"); allowances[src][spender] = newAllowance; emit Approval(src, spender, newAllowance); } _transferTokens(src, dst, amount); return true; } function _transferTokens(address src, address dst, uint256 amount) internal { require(src != address(0), "_transferTokens: cannot transfer from the zero address"); require(dst != address(0), "_transferTokens: cannot transfer to the zero address"); balances[src] = sub256(balances[src], amount, "_transferTokens: transfer amount exceeds balance"); balances[dst] = add256(balances[dst], amount, "_transferTokens: transfer amount overflows"); emit Transfer(src, dst, amount); } function acceptGovernance() external { require(msg.sender == pendingGovernance, "!pendingGovernance"); governance = msg.sender; pendingGovernance = address(0); } function setPendingGovernance(address _pendingGovernance) external { require(msg.sender == governance, "!governance"); pendingGovernance = _pendingGovernance; } function setConvController(address _convController) external { require(msg.sender == governance, "!governance"); convController = _convController; } function setVault(address _vault) external { require(msg.sender == governance, "!governance"); vault = _vault; } function mint(address account, uint256 amount) external { require(msg.sender == convController || msg.sender == vault, "NOT OPERATOR"); _mint(account,amount); emit Mint(account, amount); } function burn(address account, uint256 amount) external { require(msg.sender == convController || msg.sender == vault, "NOT OPERATOR"); _burn(account,amount); emit Burn(account, amount); } function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); totalSupply = add256(totalSupply, amount, "ERC20: mint amount overflows"); balances[account] = add256(balances[account], amount, "ERC20: mint amount overflows"); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); balances[account] = sub256(balances[account], amount, "ERC20: burn amount exceeds balance"); totalSupply = sub256(totalSupply, amount, "ERC20: burn amount exceeds balance"); emit Transfer(account, address(0), amount); } function add256(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, errorMessage); return c; } function sub256(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } function sweep(address _token) external { require(msg.sender == governance, "!governance"); uint256 _balance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(governance, _balance); } } // Part: OpenZeppelin/[email protected]/ERC20 /** * @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 is 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 { } } // Part: OpenZeppelin/[email protected]/SafeERC20 /** * @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"); } } } // File: ConvController.sol contract ConvController { using SafeERC20 for IERC20; using SafeMath for uint256; address public governance; address public pendingGovernance; address public guardian; uint256 public effectTime; address public controller; address public reward; bool public unlocked; uint256 public withdrawalFee = 10; uint256 constant public withdrawalMax = 10000; address public operator; address[] public tokens; mapping(address => bool) public locks; mapping(address => address) public dTokens; mapping(address => address) public eTokens; mapping(address => mapping(address => uint256)) public convertAt; event PairCreated(address indexed token, address indexed dToken, address indexed eToken); event Convert(address indexed account, address indexed token, uint256 amount); event Redeem(address indexed account, address indexed token, uint256 amount, uint256 fee); constructor(address _controller, address _reward, address _operator) public { governance = msg.sender; guardian = msg.sender; controller = _controller; reward = _reward; operator = _operator; unlocked = true; effectTime = block.timestamp + 60 days; } function setGuardian(address _guardian) external { require(msg.sender == guardian, "!guardian"); guardian = _guardian; } function addGuardianTime(uint256 _addTime) external { require(msg.sender == guardian || msg.sender == governance, "!guardian"); effectTime = effectTime.add(_addTime); } function acceptGovernance() external { require(msg.sender == pendingGovernance, "!pendingGovernance"); governance = msg.sender; pendingGovernance = address(0); } function setPendingGovernance(address _pendingGovernance) external { require(msg.sender == governance, "!governance"); pendingGovernance = _pendingGovernance; } function setController(address _controller) external { require(msg.sender == governance, "!governance"); controller = _controller; } function setReward(address _reward) external { require(msg.sender == governance, "!governance"); reward = _reward; } function setOperator(address _operator) external { require(msg.sender == governance, "!governance"); operator = _operator; } function setWithdrawalFee(uint256 _withdrawalFee) external { require(msg.sender == governance, "!governance"); require(_withdrawalFee <= withdrawalMax, "!_withdrawalFee"); withdrawalFee = _withdrawalFee; } function locking(address _token) external { require(msg.sender == operator || msg.sender == governance, "!operator"); locks[_token] = true; } function unlocking(address _token) external { require(msg.sender == operator || msg.sender == governance, "!operator"); locks[_token] = false; } function convertAll(address _token) external { convert(_token, IERC20(_token).balanceOf(msg.sender)); } function convert(address _token, uint256 _amount) public { require(unlocked, "!unlock"); unlocked = false; require(dTokens[_token] != address(0), "address(0)"); convertAt[_token][msg.sender] = block.number; if (IController(controller).strategies(_token) != address(0)) { IERC20(_token).safeTransferFrom(msg.sender, controller, _amount); IController(controller).deposit(_token, _amount); } else { IERC20(_token).safeTransferFrom(msg.sender, address(this), _amount); } _mint(_token, msg.sender, _amount); emit Convert(msg.sender, _token, _amount); unlocked = true; } function mint(address _token, address _minter, uint256 _amount) external { require(msg.sender == controller, "!controller"); require(dTokens[_token] != address(0), "address(0)"); _mint(_token, _minter, _amount); emit Convert(_minter, _token, _amount); } function _mint(address _token, address _minter, uint256 _amount) internal { DToken(dTokens[_token]).mint(_minter, _amount); EToken(eTokens[_token]).mint(_minter, _amount); } function redeemAll(address _token) external { uint256 _amount = maxRedeemAmount(_token); redeem(_token, _amount); } function redeem(address _token, uint256 _amount) public { require(unlocked, "!unlock"); unlocked = false; require(!locks[_token], "locking"); require(dTokens[_token] != address(0), "address(0)"); require(convertAt[_token][msg.sender] < block.number, "!convertAt"); DToken(dTokens[_token]).burn(msg.sender, _amount); EToken(eTokens[_token]).burn(msg.sender, _amount); uint256 _balance = IERC20(_token).balanceOf(address(this)); if (_balance < _amount) { if (IController(controller).strategies(_token) != address(0)) { uint256 _withdraw = _amount.sub(_balance); IController(controller).withdraw(_token, _withdraw); _balance = IERC20(_token).balanceOf(address(this)); } if (_balance < _amount) { _amount = _balance; } } uint256 _fee = _amount.mul(withdrawalFee).div(withdrawalMax); IERC20(_token).safeTransfer(reward, _fee); IERC20(_token).safeTransfer(msg.sender, _amount.sub(_fee)); emit Redeem(msg.sender, _token, _amount, _fee); unlocked = true; } function createPair(address _token) external returns (address _dToken, address _eToken) { require(unlocked, "!unlock"); unlocked = false; require(dTokens[_token] == address(0), "!address(0)"); bytes memory _nameD = abi.encodePacked(ERC20(_token).symbol(), " dToken"); bytes memory _symbolD = abi.encodePacked("d", ERC20(_token).symbol()); bytes memory _nameE = abi.encodePacked(ERC20(_token).symbol(), " eToken"); bytes memory _symbolE = abi.encodePacked("e", ERC20(_token).symbol()); uint8 _decimals = ERC20(_token).decimals(); bytes memory _bytecodeD = type(DToken).creationCode; bytes32 _saltD = keccak256(abi.encodePacked(_token, _nameD, _symbolD)); assembly { _dToken := create2(0, add(_bytecodeD, 32), mload(_bytecodeD), _saltD) } DToken(_dToken).initialize(governance, _decimals, _nameD, _symbolD); bytes memory _bytecodeE = type(EToken).creationCode; bytes32 _saltE = keccak256(abi.encodePacked(_token, _nameE, _symbolE)); assembly { _eToken := create2(0, add(_bytecodeE, 32), mload(_bytecodeE), _saltE) } EToken(_eToken).initialize(governance, _decimals, _nameE, _symbolE); dTokens[_token] = _dToken; eTokens[_token] = _eToken; tokens.push(_token); emit PairCreated(_token, _dToken, _eToken); unlocked = true; } function maxRedeemAmount(address _token) public view returns (uint256) { uint256 _dBalance = IERC20(dTokens[_token]).balanceOf(msg.sender); uint256 _eBalance = IERC20(eTokens[_token]).balanceOf(msg.sender); if (_dBalance > _eBalance) { return _eBalance; } else { return _dBalance; } } function tokenBalance(address _token) public view returns (uint256) { return IERC20(_token).balanceOf(address(this)); } function dTokenEToken(address _token) public view returns (address _dToken, address _eToken) { _dToken = dTokens[_token]; _eToken = eTokens[_token]; return (_dToken, _eToken); } function tokensInfo() public view returns (address[] memory _tokens){ uint256 length = tokens.length; _tokens = new address[](tokens.length); for (uint256 i = 0; i < length; ++i) { _tokens[i] = tokens[i]; } } function tokenLength() public view returns (uint256) { return tokens.length; } function deposit(address _token) external { uint256 _balance = tokenBalance(_token); IERC20(_token).safeTransfer(controller, _balance); IController(controller).deposit(_token, _balance); } function sweep(address _token) external { require(msg.sender == governance, "!governance"); require(dTokens[_token] == address(0), "!address(0)"); uint256 _balance = tokenBalance(_token); IERC20(_token).safeTransfer(reward, _balance); } function sweepGuardian(address _token) external { require(msg.sender == guardian, "!guardian"); require(block.timestamp > effectTime, "!effectTime"); uint256 _balance = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(governance, _balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_reward","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Convert","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"dToken","type":"address"},{"indexed":true,"internalType":"address","name":"eToken","type":"address"}],"name":"PairCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Redeem","type":"event"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_addTime","type":"uint256"}],"name":"addGuardianTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"convert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"convertAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"convertAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"createPair","outputs":[{"internalType":"address","name":"_dToken","type":"address"},{"internalType":"address","name":"_eToken","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"dTokenEToken","outputs":[{"internalType":"address","name":"_dToken","type":"address"},{"internalType":"address","name":"_eToken","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"eTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"effectTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"locking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"locks","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"maxRedeemAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"redeemAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reward","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_guardian","type":"address"}],"name":"setGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingGovernance","type":"address"}],"name":"setPendingGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reward","type":"address"}],"name":"setReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawalFee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"sweepGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"tokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensInfo","outputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"unlocking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600a60065534801561001557600080fd5b506040516160633803806160638339818101604052606081101561003857600080fd5b5080516020820151604090920151600080546001600160a01b031990811633908117909255600280548216909217909155600480546001600160a01b0394851690831617905560058054600780549486169484169490941790935560ff60a01b199390941691161716600160a01b179055624f1a004201600355615fa2806100c16000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c8063953e39701161013b578063da719520116100b8578063f340fa011161007c578063f340fa01146106d9578063f39c38a0146106ff578063f77c479114610707578063fa17466e1461070f578063fdfc12fc1461072c5761023d565b8063da71952014610607578063de66341e1461062d578063e5932c4014610635578063e79c28fe1461065b578063eedc966a146106b35761023d565b8063c1bf75d8116100ff578063c1bf75d814610557578063c6c3bbe61461057d578063d5c1ff73146105b3578063d5d3e424146105bb578063d81c09ef146105e15761023d565b8063953e39701461046b5780639ccb074414610499578063ac1e5025146104ee578063b3ab15fb1461050b578063be399be5146105315761023d565b80635aa6e675116101c95780638a0dac4a1161018d5780638a0dac4a146103cb5780638bc7e8c4146103f157806391f05884146103f9578063925dc7f81461041f57806392eefe9b146104455761023d565b80635aa6e6751461032f5780635de9a1371461033757806367c6e39c146103715780636a5e26501461039d578063885b692a146103a55761023d565b8063238efcbc11610210578063238efcbc146102e05780632df70fae146102e8578063452a9320146103025780634f64b2be1461030a578063570ca735146103275761023d565b806301681a62146102425780630abb60351461026a5780631e9a695014610290578063228cb733146102bc575b600080fd5b6102686004803603602081101561025857600080fd5b50356001600160a01b0316610752565b005b6102686004803603602081101561028057600080fd5b50356001600160a01b0316610826565b610268600480360360408110156102a657600080fd5b506001600160a01b038135169060200135610895565b6102c4610db9565b604080516001600160a01b039092168252519081900360200190f35b610268610dc8565b6102f0610e3c565b60408051918252519081900360200190f35b6102c4610e42565b6102c46004803603602081101561032057600080fd5b5035610e51565b6102c4610e78565b6102c4610e87565b61035d6004803603602081101561034d57600080fd5b50356001600160a01b0316610e96565b604080519115158252519081900360200190f35b6102686004803603604081101561038757600080fd5b506001600160a01b038135169060200135610eab565b61035d611104565b610268600480360360208110156103bb57600080fd5b50356001600160a01b0316611114565b610268600480360360208110156103e157600080fd5b50356001600160a01b0316611195565b6102f0611202565b6102c46004803603602081101561040f57600080fd5b50356001600160a01b0316611208565b6102686004803603602081101561043557600080fd5b50356001600160a01b0316611223565b6102686004803603602081101561045b57600080fd5b50356001600160a01b031661134a565b6102f06004803603604081101561048157600080fd5b506001600160a01b03813581169160200135166113b9565b6104bf600480360360208110156104af57600080fd5b50356001600160a01b03166113d6565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b6102686004803603602081101561050457600080fd5b5035612169565b6102686004803603602081101561052157600080fd5b50356001600160a01b0316612204565b6102686004803603602081101561054757600080fd5b50356001600160a01b0316612273565b6102686004803603602081101561056d57600080fd5b50356001600160a01b031661228a565b6102686004803603606081101561059357600080fd5b506001600160a01b0381358116916020810135909116906040013561230e565b6102f061240f565b6102c4600480360360208110156105d157600080fd5b50356001600160a01b0316612415565b6104bf600480360360208110156105f757600080fd5b50356001600160a01b0316612430565b6102686004803603602081101561061d57600080fd5b50356001600160a01b031661245f565b6102f06124e4565b6102686004803603602081101561064b57600080fd5b50356001600160a01b03166124ea565b610663612559565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561069f578181015183820152602001610687565b505050509050019250505060405180910390f35b6102f0600480360360208110156106c957600080fd5b50356001600160a01b031661260a565b610268600480360360208110156106ef57600080fd5b50356001600160a01b031661268d565b6102c461272a565b6102c4612739565b6102686004803603602081101561072557600080fd5b5035612748565b6102f06004803603602081101561074257600080fd5b50356001600160a01b03166127bb565b6000546001600160a01b0316331461079f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b038181166000908152600a602052604090205416156107fa576040805162461bcd60e51b815260206004820152600b60248201526a216164647265737328302960a81b604482015290519081900360640190fd5b60006108058261260a565b600554909150610822906001600160a01b038481169116836128e3565b5050565b6000546001600160a01b03163314610873576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600554600160a01b900460ff166108dd576040805162461bcd60e51b815260206004820152600760248201526621756e6c6f636b60c81b604482015290519081900360640190fd5b6005805460ff60a01b191690556001600160a01b03821660009081526009602052604090205460ff1615610942576040805162461bcd60e51b81526020600482015260076024820152666c6f636b696e6760c81b604482015290519081900360640190fd5b6001600160a01b038281166000908152600a60205260409020541661099b576040805162461bcd60e51b815260206004820152600a6024820152696164647265737328302960b01b604482015290519081900360640190fd5b6001600160a01b0382166000908152600c6020908152604080832033845290915290205443116109ff576040805162461bcd60e51b815260206004820152600a6024820152690858dbdb9d995c9d105d60b21b604482015290519081900360640190fd5b6001600160a01b038083166000908152600a6020526040808220548151632770a7eb60e21b8152336004820152602481018690529151931692639dc29fac9260448084019391929182900301818387803b158015610a5c57600080fd5b505af1158015610a70573d6000803e3d6000fd5b5050506001600160a01b038084166000908152600b6020526040808220548151632770a7eb60e21b815233600482015260248101879052915193169350639dc29fac926044808301939282900301818387803b158015610acf57600080fd5b505af1158015610ae3573d6000803e3d6000fd5b505050506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b3657600080fd5b505afa158015610b4a573d6000803e3d6000fd5b505050506040513d6020811015610b6057600080fd5b5051905081811015610cf95760048054604080516339ebf82360e01b81526001600160a01b03878116948201949094529051600093909216916339ebf82391602480820192602092909190829003018186803b158015610bbf57600080fd5b505afa158015610bd3573d6000803e3d6000fd5b505050506040513d6020811015610be957600080fd5b50516001600160a01b031614610ced576000610c05838361293a565b600480546040805163f3fef3a360e01b81526001600160a01b038981169482019490945260248101859052905193945091169163f3fef3a39160448082019260009290919082900301818387803b158015610c5f57600080fd5b505af1158015610c73573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516001600160a01b03881693506370a0823192506024808301926020929190829003018186803b158015610cbd57600080fd5b505afa158015610cd1573d6000803e3d6000fd5b505050506040513d6020811015610ce757600080fd5b50519150505b81811015610cf9578091505b6000610d1c612710610d166006548661298590919063ffffffff16565b906129de565b600554909150610d39906001600160a01b038681169116836128e3565b610d5833610d47858461293a565b6001600160a01b03871691906128e3565b604080518481526020810183905281516001600160a01b0387169233927f3f693fff038bb8a046aa76d9516190ac7444f7d69cf952c4cbdc086fdef2d6fc929081900390910190a350506005805460ff60a01b1916600160a01b1790555050565b6005546001600160a01b031681565b6001546001600160a01b03163314610e1c576040805162461bcd60e51b81526020600482015260126024820152712170656e64696e67476f7665726e616e636560701b604482015290519081900360640190fd5b600080546001600160a01b03199081163317909155600180549091169055565b60035481565b6002546001600160a01b031681565b60088181548110610e5e57fe5b6000918252602090912001546001600160a01b0316905081565b6007546001600160a01b031681565b6000546001600160a01b031681565b60096020526000908152604090205460ff1681565b600554600160a01b900460ff16610ef3576040805162461bcd60e51b815260206004820152600760248201526621756e6c6f636b60c81b604482015290519081900360640190fd5b6005805460ff60a01b191690556001600160a01b038281166000908152600a602052604090205416610f59576040805162461bcd60e51b815260206004820152600a6024820152696164647265737328302960b01b604482015290519081900360640190fd5b6001600160a01b038083166000818152600c6020908152604080832033845282528083204390556004805482516339ebf82360e01b8152918201959095529051929493909316926339ebf8239260248083019392829003018186803b158015610fc157600080fd5b505afa158015610fd5573d6000803e3d6000fd5b505050506040513d6020811015610feb57600080fd5b50516001600160a01b03161461108d57600454611017906001600160a01b038481169133911684612a20565b60048054604080516311f9fbc960e21b81526001600160a01b038681169482019490945260248101859052905192909116916347e7ef249160448082019260009290919082900301818387803b15801561107057600080fd5b505af1158015611084573d6000803e3d6000fd5b505050506110a2565b6110a26001600160a01b038316333084612a20565b6110ad823383612a80565b6040805182815290516001600160a01b0384169133917fccfaeb3043a96a967dc036ab72e078a9632af809671bc2a1ac30a8043645f89e9181900360200190a350506005805460ff60a01b1916600160a01b179055565b600554600160a01b900460ff1681565b6007546001600160a01b031633148061113757506000546001600160a01b031633145b611174576040805162461bcd60e51b815260206004820152600960248201526810b7b832b930ba37b960b91b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b6002546001600160a01b031633146111e0576040805162461bcd60e51b815260206004820152600960248201526810b3bab0b93234b0b760b91b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60065481565b600a602052600090815260409020546001600160a01b031681565b6002546001600160a01b0316331461126e576040805162461bcd60e51b815260206004820152600960248201526810b3bab0b93234b0b760b91b604482015290519081900360640190fd5b60035442116112b2576040805162461bcd60e51b815260206004820152600b60248201526a2165666665637454696d6560a81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561130157600080fd5b505afa158015611315573d6000803e3d6000fd5b505050506040513d602081101561132b57600080fd5b5051600054909150610822906001600160a01b038481169116836128e3565b6000546001600160a01b03163314611397576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600c60209081526000928352604080842090915290825290205481565b6005546000908190600160a01b900460ff16611423576040805162461bcd60e51b815260206004820152600760248201526621756e6c6f636b60c81b604482015290519081900360640190fd5b6005805460ff60a01b191690556001600160a01b038381166000908152600a6020526040902054161561148b576040805162461bcd60e51b815260206004820152600b60248201526a216164647265737328302960a81b604482015290519081900360640190fd5b6060836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156114c657600080fd5b505afa1580156114da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561150357600080fd5b8101908080516040519392919084600160201b82111561152257600080fd5b90830190602082018581111561153757600080fd5b8251600160201b81118282018810171561155057600080fd5b82525081516020918201929091019080838360005b8381101561157d578181015183820152602001611565565b50505050905090810190601f1680156115aa5780820380516001836020036101000a031916815260200191505b506040525050506040516020018082805190602001908083835b602083106115e35780518252601f1990920191602091820191016115c4565b6001836020036101000a038019825116818451168082178552505050505050905001806610322a37b5b2b760c91b81525060070191505060405160208183030381529060405290506060846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561166657600080fd5b505afa15801561167a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156116a357600080fd5b8101908080516040519392919084600160201b8211156116c257600080fd5b9083019060208201858111156116d757600080fd5b8251600160201b8111828201881017156116f057600080fd5b82525081516020918201929091019080838360005b8381101561171d578181015183820152602001611705565b50505050905090810190601f16801561174a5780820380516001836020036101000a031916815260200191505b506040525050506040516020018080601960fa1b81525060010182805190602001908083835b6020831061178f5780518252601f199092019160209182019101611770565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405290506060856001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561180057600080fd5b505afa158015611814573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561183d57600080fd5b8101908080516040519392919084600160201b82111561185c57600080fd5b90830190602082018581111561187157600080fd5b8251600160201b81118282018810171561188a57600080fd5b82525081516020918201929091019080838360005b838110156118b757818101518382015260200161189f565b50505050905090810190601f1680156118e45780820380516001836020036101000a031916815260200191505b506040525050506040516020018082805190602001908083835b6020831061191d5780518252601f1990920191602091820191016118fe565b6001836020036101000a03801982511681845116808217855250505050505090500180661032aa37b5b2b760c91b81525060070191505060405160208183030381529060405290506060866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156119a057600080fd5b505afa1580156119b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156119dd57600080fd5b8101908080516040519392919084600160201b8211156119fc57600080fd5b908301906020820185811115611a1157600080fd5b8251600160201b811182820188101715611a2a57600080fd5b82525081516020918201929091019080838360005b83811015611a57578181015183820152602001611a3f565b50505050905090810190601f168015611a845780820380516001836020036101000a031916815260200191505b506040525050506040516020018080606560f81b81525060010182805190602001908083835b60208310611ac95780518252601f199092019160209182019101611aaa565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405290506000876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3a57600080fd5b505afa158015611b4e573d6000803e3d6000fd5b505050506040513d6020811015611b6457600080fd5b5051604051909150606090611b7b60208201612f35565b6020820181038252601f19601f820116604052509050600089878760405160200180846001600160a01b031660601b815260140183805190602001908083835b60208310611bda5780518252601f199092019160209182019101611bbb565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611c225780518252601f199092019160209182019101611c03565b6001836020036101000a0380198251168184511680821785525050505050509050019350505050604051602081830303815290604052805190602001209050808251602084016000f59850886001600160a01b031663020181d760008054906101000a90046001600160a01b0316858a8a6040518563ffffffff1660e01b815260040180856001600160a01b031681526020018460ff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611cfb578181015183820152602001611ce3565b50505050905090810190601f168015611d285780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611d5b578181015183820152602001611d43565b50505050905090810190601f168015611d885780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b158015611dab57600080fd5b505af1158015611dbf573d6000803e3d6000fd5b50505050606060405180602001611dd590612f42565b6020820181038252601f19601f82011660405250905060008b878760405160200180846001600160a01b031660601b815260140183805190602001908083835b60208310611e345780518252601f199092019160209182019101611e15565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611e7c5780518252601f199092019160209182019101611e5d565b6001836020036101000a0380198251168184511680821785525050505050509050019350505050604051602081830303815290604052805190602001209050808251602084016000f59950896001600160a01b031663020181d760008054906101000a90046001600160a01b0316878a8a6040518563ffffffff1660e01b815260040180856001600160a01b031681526020018460ff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611f55578181015183820152602001611f3d565b50505050905090810190601f168015611f825780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611fb5578181015183820152602001611f9d565b50505050905090810190601f168015611fe25780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b15801561200557600080fd5b505af1158015612019573d6000803e3d6000fd5b505050508a600a60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555089600b60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060088c9080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b03160217905550896001600160a01b03168b6001600160a01b03168d6001600160a01b03167fa92a2b95c8d8436f6ac4c673c61487364f877efb9534d4296fad8ef904546c9460405160405180910390a450506005805460ff60a01b1916600160a01b1790555096989597509495505050505050565b6000546001600160a01b031633146121b6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6127108111156121ff576040805162461bcd60e51b815260206004820152600f60248201526e215f7769746864726177616c46656560881b604482015290519081900360640190fd5b600655565b6000546001600160a01b03163314612251576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061227e826127bb565b90506108228282610895565b6007546001600160a01b03163314806122ad57506000546001600160a01b031633145b6122ea576040805162461bcd60e51b815260206004820152600960248201526810b7b832b930ba37b960b91b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6004546001600160a01b0316331461235b576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6001600160a01b038381166000908152600a6020526040902054166123b4576040805162461bcd60e51b815260206004820152600a6024820152696164647265737328302960b01b604482015290519081900360640190fd5b6123bf838383612a80565b826001600160a01b0316826001600160a01b03167fccfaeb3043a96a967dc036ab72e078a9632af809671bc2a1ac30a8043645f89e836040518082815260200191505060405180910390a3505050565b61271081565b600b602052600090815260409020546001600160a01b031681565b6001600160a01b039081166000908152600a6020908152604080832054600b9092529091205490821692911690565b6124e181826001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156124b057600080fd5b505afa1580156124c4573d6000803e3d6000fd5b505050506040513d60208110156124da57600080fd5b5051610eab565b50565b60085490565b6000546001600160a01b03163314612537576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6008546060908067ffffffffffffffff8111801561257657600080fd5b506040519080825280602002602001820160405280156125a0578160200160208202803683370190505b50915060005b8181101561260557600881815481106125bb57fe5b9060005260206000200160009054906101000a90046001600160a01b03168382815181106125e557fe5b6001600160a01b03909216602092830291909101909101526001016125a6565b505090565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561265957600080fd5b505afa15801561266d573d6000803e3d6000fd5b505050506040513d602081101561268357600080fd5b505190505b919050565b60006126988261260a565b6004549091506126b5906001600160a01b038481169116836128e3565b60048054604080516311f9fbc960e21b81526001600160a01b038681169482019490945260248101859052905192909116916347e7ef249160448082019260009290919082900301818387803b15801561270e57600080fd5b505af1158015612722573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031681565b6004546001600160a01b031681565b6002546001600160a01b031633148061276b57506000546001600160a01b031633145b6127a8576040805162461bcd60e51b815260206004820152600960248201526810b3bab0b93234b0b760b91b604482015290519081900360640190fd5b6003546127b59082612b71565b60035550565b6001600160a01b038082166000908152600a602090815260408083205481516370a0823160e01b81523360048201529151939485949116926370a082319260248082019391829003018186803b15801561281457600080fd5b505afa158015612828573d6000803e3d6000fd5b505050506040513d602081101561283e57600080fd5b50516001600160a01b038085166000908152600b602090815260408083205481516370a0823160e01b81523360048201529151959650929492909316926370a082319260248083019392829003018186803b15801561289c57600080fd5b505afa1580156128b0573d6000803e3d6000fd5b505050506040513d60208110156128c657600080fd5b50519050808211156128db5791506126889050565b509050612688565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612935908490612bcb565b505050565b600061297c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c7c565b90505b92915050565b6000826129945750600061297f565b828202828482816129a157fe5b041461297c5760405162461bcd60e51b8152600401808060200182810382526021815260200180615f226021913960400191505060405180910390fd5b600061297c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d13565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612a7a908590612bcb565b50505050565b6001600160a01b038084166000908152600a60205260408082205481516340c10f1960e01b815286851660048201526024810186905291519316926340c10f199260448084019391929182900301818387803b158015612adf57600080fd5b505af1158015612af3573d6000803e3d6000fd5b5050506001600160a01b038085166000908152600b60205260408082205481516340c10f1960e01b81528785166004820152602481018790529151931693506340c10f19926044808301939282900301818387803b158015612b5457600080fd5b505af1158015612b68573d6000803e3d6000fd5b50505050505050565b60008282018381101561297c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060612c20826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d789092919063ffffffff16565b80519091501561293557808060200190516020811015612c3f57600080fd5b50516129355760405162461bcd60e51b815260040180806020018281038252602a815260200180615f43602a913960400191505060405180910390fd5b60008184841115612d0b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cd0578181015183820152602001612cb8565b50505050905090810190601f168015612cfd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183612d625760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cd0578181015183820152602001612cb8565b506000838581612d6e57fe5b0495945050505050565b6060612d878484600085612d8f565b949350505050565b6060612d9a85612efc565b612deb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612e2a5780518252601f199092019160209182019101612e0b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e8c576040519150601f19603f3d011682016040523d82523d6000602084013e612e91565b606091505b50915091508115612ea5579150612d879050565b805115612eb55780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612cd0578181015183820152602001612cb8565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612d87575050151592915050565b611b3c80612f5083390190565b61149680614a8c8339019056fe608060405234801561001057600080fd5b50611b1c806100206000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635ba28624116100de5780639dc29fac11610097578063dd62ed3e11610071578063dd62ed3e1461058e578063f1127ed8146105bc578063f39c38a01461060e578063fbfa77cf1461061657610173565b80639dc29fac14610510578063a9059cbb1461053c578063b4b5ea571461056857610173565b80635ba286241461042b5780636817031b146104515780636fcfff451461047757806370a08231146104b6578063782d6fe1146104dc57806395d89b411461050857610173565b806320ba92f81161013057806320ba92f814610377578063238efcbc1461039b57806323b872dd146103a3578063313ce567146103d957806340c10f19146103f75780635aa6e6751461042357610173565b806301681a6214610178578063020181d7146101a057806306fdde031461027a578063095ea7b3146102f75780630abb60351461033757806318160ddd1461035d575b600080fd5b61019e6004803603602081101561018e57600080fd5b50356001600160a01b031661061e565b005b61019e600480360360808110156101b657600080fd5b6001600160a01b038235169160ff602082013516918101906060810160408201356401000000008111156101e957600080fd5b8201836020820111156101fb57600080fd5b8035906020019184600183028401116401000000008311171561021d57600080fd5b91939092909160208101903564010000000081111561023b57600080fd5b82018360208201111561024d57600080fd5b8035906020019184600183028401116401000000008311171561026f57600080fd5b50909250905061076f565b61028261085b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102bc5781810151838201526020016102a4565b50505050905090810190601f1680156102e95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103236004803603604081101561030d57600080fd5b506001600160a01b0381351690602001356108e9565b604080519115158252519081900360200190f35b61019e6004803603602081101561034d57600080fd5b50356001600160a01b0316610950565b6103656109bf565b60408051918252519081900360200190f35b61037f6109c5565b604080516001600160a01b039092168252519081900360200190f35b61019e6109d4565b610323600480360360608110156103b957600080fd5b506001600160a01b03813581169160208101359091169060400135610a48565b6103e1610b28565b6040805160ff9092168252519081900360200190f35b61019e6004803603604081101561040d57600080fd5b506001600160a01b038135169060200135610b31565b61037f610be1565b61019e6004803603602081101561044157600080fd5b50356001600160a01b0316610bf0565b61019e6004803603602081101561046757600080fd5b50356001600160a01b0316610c5f565b61049d6004803603602081101561048d57600080fd5b50356001600160a01b0316610cce565b6040805163ffffffff9092168252519081900360200190f35b610365600480360360208110156104cc57600080fd5b50356001600160a01b0316610ce6565b610365600480360360408110156104f257600080fd5b506001600160a01b038135169060200135610d01565b610282610f09565b61019e6004803603604081101561052657600080fd5b506001600160a01b038135169060200135610f63565b6103236004803603604081101561055257600080fd5b506001600160a01b038135169060200135611013565b6103656004803603602081101561057e57600080fd5b50356001600160a01b0316611029565b610365600480360360408110156105a457600080fd5b506001600160a01b038135811691602001351661108d565b6105ee600480360360408110156105d257600080fd5b5080356001600160a01b0316906020013563ffffffff166110b8565b6040805163ffffffff909316835260208301919091528051918290030190f35b61037f6110e5565b61037f6110f4565b6006546001600160a01b0316331461066b576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156106ba57600080fd5b505afa1580156106ce573d6000803e3d6000fd5b505050506040513d60208110156106e457600080fd5b50516006546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561073f57600080fd5b505af1158015610753573d6000803e3d6000fd5b505050506040513d602081101561076957600080fd5b50505050565b6006546001600160a01b0316156107b75760405162461bcd60e51b8152600401808060200182810382526024815260200180611ac36024913960400191505060405180910390fd5b6001600160a01b0386166107fc5760405162461bcd60e51b81526004018080602001828103825260268152602001806119b46026913960400191505060405180910390fd5b600680546001600160a01b0388166001600160a01b031991821617909155600880549091163317905561083160008585611865565b5061083e60018383611865565b50506002805460ff191660ff959095169490941790935550505050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108e15780601f106108b6576101008083540402835291602001916108e1565b820191906000526020600020905b8154815290600101906020018083116108c457829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6006546001600160a01b0316331461099d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60035481565b6008546001600160a01b031681565b6007546001600160a01b03163314610a28576040805162461bcd60e51b81526020600482015260126024820152712170656e64696e67476f7665726e616e636560701b604482015290519081900360640190fd5b600680546001600160a01b03199081163317909155600780549091169055565b6001600160a01b038316600081815260046020908152604080832033808552925282205491929091908214801590610a8257506000198114155b15610b11576000610aac828660405180606001604052806037815260200161197d60379139611103565b6001600160a01b0380891660008181526004602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b610b1c86868661119a565b50600195945050505050565b60025460ff1681565b6008546001600160a01b0316331480610b5457506009546001600160a01b031633145b610b94576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610b9e8282611327565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6006546001600160a01b031681565b6006546001600160a01b03163314610c3d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610cac576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526005602052604090205490565b6000438210610d415760405162461bcd60e51b81526004018080602001828103825260218152602001806119106021913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610d6f57600091505061094a565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610dde576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff1683529290522060010154905061094a565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610e1957600091505061094a565b600060001982015b8163ffffffff168163ffffffff161115610ed257600282820363ffffffff16048103610e4b6118e3565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610ead5760200151945061094a9350505050565b805163ffffffff16871115610ec457819350610ecb565b6001820392505b5050610e21565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108e15780601f106108b6576101008083540402835291602001916108e1565b6008546001600160a01b0316331480610f8657506009546001600160a01b031633145b610fc6576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610fd08282611490565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600061102033848461119a565b50600192915050565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680611054576000611086565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6007546001600160a01b031681565b6009546001600160a01b031681565b600081848411156111925760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561115757818101518382015260200161113f565b50505050905090810190601f1680156111845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383166111df5760405162461bcd60e51b81526004018080602001828103825260368152602001806119da6036913960400191505060405180910390fd5b6001600160a01b0382166112245760405162461bcd60e51b8152600401808060200182810382526034815260200180611a406034913960400191505060405180910390fd5b61126c60056000856001600160a01b03166001600160a01b031681526020019081526020016000205482604051806060016040528060308152602001611a1060309139611103565b6001600160a01b03808516600090815260056020908152604080832094909455918516815282902054825160608101909352602a8084526112b993919285929190611931908301396115b8565b6001600160a01b0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a361131983611616565b61132282611616565b505050565b6001600160a01b038216611382576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6113c4600354826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506115b8565b60038190555061142f60056000846001600160a01b03166001600160a01b0316815260200190815260200160002054826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506115b8565b6001600160a01b03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a361148c82611616565b5050565b6001600160a01b0382166114d55760405162461bcd60e51b8152600401808060200182810382526021815260200180611aa26021913960400191505060405180910390fd5b61151d60056000846001600160a01b03166001600160a01b03168152602001908152602001600020548260405180606001604052806022815260200161195b60229139611103565b60056000846001600160a01b03166001600160a01b031681526020019081526020016000208190555061156b6003548260405180606001604052806022815260200161195b60229139611103565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a361148c82611616565b6000838301828582101561160d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561115757818101518382015260200161113f565b50949350505050565b6001600160a01b0381166000908152600b602052604081205463ffffffff169081611642576000611674565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905061132283838360056000886001600160a01b03166001600160a01b031681526020019081526020016000205460006116c6436040518060600160405280602e8152602001611a74602e9139611807565b905060008463ffffffff1611801561170f57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561174c576001600160a01b0385166000908152600a6020908152604080832063ffffffff600019890116845290915290206001018290556117bd565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927f85f7ecb80f73cfa8b5a325558efa64c1a3e0a8cedb0b8700095584d527c40b1e928290030190a25050505050565b600081640100000000841061185d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561115757818101518382015260200161113f565b509192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106118a65782800160ff198235161785556118d3565b828001600101855582156118d3579182015b828111156118d35782358255916020019190600101906118b8565b506118df9291506118fa565b5090565b604080518082019091526000808252602082015290565b5b808211156118df57600081556001016118fb56fe6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777345524332303a206275726e20616d6f756e7420657863656564732062616c616e63657472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365696e697469616c697a653a20696e76616c696420676f7665726e616e636520616464726573735f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573735f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f20616464726573735f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a206275726e2066726f6d20746865207a65726f2061646472657373696e697469616c697a653a2063616e206f6e6c7920696e697469616c697a65206f6e6365a2646970667358221220af4bb88b33ed1286020c981820590019339c605ff4d99f98e29e05d5d3b8ed7e64736f6c634300060c0033608060405234801561001057600080fd5b50611476806100206000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806340c10f19116100b857806395d89b411161007c57806395d89b41146104615780639dc29fac14610469578063a9059cbb14610495578063dd62ed3e146104c1578063f39c38a0146104ef578063fbfa77cf146104f757610137565b806340c10f19146103bb5780635aa6e675146103e75780635ba28624146103ef5780636817031b1461041557806370a082311461043b57610137565b806318160ddd116100ff57806318160ddd1461032157806320ba92f81461033b578063238efcbc1461035f57806323b872dd14610367578063313ce5671461039d57610137565b806301681a621461013c578063020181d71461016457806306fdde031461023e578063095ea7b3146102bb5780630abb6035146102fb575b600080fd5b6101626004803603602081101561015257600080fd5b50356001600160a01b03166104ff565b005b6101626004803603608081101561017a57600080fd5b6001600160a01b038235169160ff602082013516918101906060810160408201356401000000008111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460018302840111640100000000831117156101e157600080fd5b9193909290916020810190356401000000008111156101ff57600080fd5b82018360208201111561021157600080fd5b8035906020019184600183028401116401000000008311171561023357600080fd5b509092509050610650565b61024661073c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610280578181015183820152602001610268565b50505050905090810190601f1680156102ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e7600480360360408110156102d157600080fd5b506001600160a01b0381351690602001356107ca565b604080519115158252519081900360200190f35b6101626004803603602081101561031157600080fd5b50356001600160a01b0316610830565b61032961089f565b60408051918252519081900360200190f35b6103436108a5565b604080516001600160a01b039092168252519081900360200190f35b6101626108b4565b6102e76004803603606081101561037d57600080fd5b506001600160a01b03813581169160208101359091169060400135610928565b6103a5610a08565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156103d157600080fd5b506001600160a01b038135169060200135610a11565b610343610ac1565b6101626004803603602081101561040557600080fd5b50356001600160a01b0316610ad0565b6101626004803603602081101561042b57600080fd5b50356001600160a01b0316610b3f565b6103296004803603602081101561045157600080fd5b50356001600160a01b0316610bae565b610246610bc9565b6101626004803603604081101561047f57600080fd5b506001600160a01b038135169060200135610c23565b6102e7600480360360408110156104ab57600080fd5b506001600160a01b038135169060200135610cd3565b610329600480360360408110156104d757600080fd5b506001600160a01b0381358116916020013516610ce9565b610343610d14565b610343610d23565b6006546001600160a01b0316331461054c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561059b57600080fd5b505afa1580156105af573d6000803e3d6000fd5b505050506040513d60208110156105c557600080fd5b50516006546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561062057600080fd5b505af1158015610634573d6000803e3d6000fd5b505050506040513d602081101561064a57600080fd5b50505050565b6006546001600160a01b0316156106985760405162461bcd60e51b815260040180806020018281038252602481526020018061141d6024913960400191505060405180910390fd5b6001600160a01b0386166106dd5760405162461bcd60e51b815260040180806020018281038252602681526020018061133c6026913960400191505060405180910390fd5b600680546001600160a01b0388166001600160a01b031991821617909155600880549091163317905561071260008585611225565b5061071f60018383611225565b50506002805460ff191660ff959095169490941790935550505050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107c25780601f10610797576101008083540402835291602001916107c2565b820191906000526020600020905b8154815290600101906020018083116107a557829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6006546001600160a01b0316331461087d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60035481565b6008546001600160a01b031681565b6007546001600160a01b03163314610908576040805162461bcd60e51b81526020600482015260126024820152712170656e64696e67476f7665726e616e636560701b604482015290519081900360640190fd5b600680546001600160a01b03199081163317909155600780549091169055565b6001600160a01b03831660008181526004602090815260408083203380855292528220549192909190821480159061096257506000198114155b156109f157600061098c828660405180606001604052806037815260200161130560379139610d32565b6001600160a01b0380891660008181526004602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b6109fc868686610dc9565b50600195945050505050565b60025460ff1681565b6008546001600160a01b0316331480610a3457506009546001600160a01b031633145b610a74576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610a7e8282610f44565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6006546001600160a01b031681565b6006546001600160a01b03163314610b1d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610b8c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526005602052604090205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107c25780601f10610797576101008083540402835291602001916107c2565b6008546001600160a01b0316331480610c4657506009546001600160a01b031633145b610c86576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610c9082826110a4565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6000610ce0338484610dc9565b50600192915050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6007546001600160a01b031681565b6009546001600160a01b031681565b60008184841115610dc15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d86578181015183820152602001610d6e565b50505050905090810190601f168015610db35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038316610e0e5760405162461bcd60e51b81526004018080602001828103825260368152602001806113626036913960400191505060405180910390fd5b6001600160a01b038216610e535760405162461bcd60e51b81526004018080602001828103825260348152602001806113c86034913960400191505060405180910390fd5b610e9b60056000856001600160a01b03166001600160a01b03168152602001908152602001600020548260405180606001604052806030815260200161139860309139610d32565b6001600160a01b03808516600090815260056020908152604080832094909455918516815282902054825160608101909352602a808452610ee8939192859291906112b9908301396111c7565b6001600160a01b0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216610f9f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610fe1600354826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506111c7565b60038190555061104c60056000846001600160a01b03166001600160a01b0316815260200190815260200160002054826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506111c7565b6001600160a01b03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166110e95760405162461bcd60e51b81526004018080602001828103825260218152602001806113fc6021913960400191505060405180910390fd5b61113160056000846001600160a01b03166001600160a01b0316815260200190815260200160002054826040518060600160405280602281526020016112e360229139610d32565b60056000846001600160a01b03166001600160a01b031681526020019081526020016000208190555061117f600354826040518060600160405280602281526020016112e360229139610d32565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000838301828582101561121c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610d86578181015183820152602001610d6e565b50949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106112665782800160ff19823516178555611293565b82800160010185558215611293579182015b82811115611293578235825591602001919060010190611278565b5061129f9291506112a3565b5090565b5b8082111561129f57600081556001016112a456fe5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777345524332303a206275726e20616d6f756e7420657863656564732062616c616e63657472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365696e697469616c697a653a20696e76616c696420676f7665726e616e636520616464726573735f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573735f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f2061646472657373696e697469616c697a653a2063616e206f6e6c7920696e697469616c697a65206f6e6365a2646970667358221220dae800e375d34852ab71be333799d61346a8fec3fc6368bd0a6bdc96c0037abd64736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220185fdeac61c1a9e62219d3f7c2ce0d0257975f019015347559815ac858140fe164736f6c634300060c00330000000000000000000000007500d68d6d69f2ddb52655d4e4c983c7c809af6d0000000000000000000000009c17e202cd5420d36022d290a5c9f815eb326314000000000000000000000000c9620fa28c48cdb5673db40f7f114b883c840d2c
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c8063953e39701161013b578063da719520116100b8578063f340fa011161007c578063f340fa01146106d9578063f39c38a0146106ff578063f77c479114610707578063fa17466e1461070f578063fdfc12fc1461072c5761023d565b8063da71952014610607578063de66341e1461062d578063e5932c4014610635578063e79c28fe1461065b578063eedc966a146106b35761023d565b8063c1bf75d8116100ff578063c1bf75d814610557578063c6c3bbe61461057d578063d5c1ff73146105b3578063d5d3e424146105bb578063d81c09ef146105e15761023d565b8063953e39701461046b5780639ccb074414610499578063ac1e5025146104ee578063b3ab15fb1461050b578063be399be5146105315761023d565b80635aa6e675116101c95780638a0dac4a1161018d5780638a0dac4a146103cb5780638bc7e8c4146103f157806391f05884146103f9578063925dc7f81461041f57806392eefe9b146104455761023d565b80635aa6e6751461032f5780635de9a1371461033757806367c6e39c146103715780636a5e26501461039d578063885b692a146103a55761023d565b8063238efcbc11610210578063238efcbc146102e05780632df70fae146102e8578063452a9320146103025780634f64b2be1461030a578063570ca735146103275761023d565b806301681a62146102425780630abb60351461026a5780631e9a695014610290578063228cb733146102bc575b600080fd5b6102686004803603602081101561025857600080fd5b50356001600160a01b0316610752565b005b6102686004803603602081101561028057600080fd5b50356001600160a01b0316610826565b610268600480360360408110156102a657600080fd5b506001600160a01b038135169060200135610895565b6102c4610db9565b604080516001600160a01b039092168252519081900360200190f35b610268610dc8565b6102f0610e3c565b60408051918252519081900360200190f35b6102c4610e42565b6102c46004803603602081101561032057600080fd5b5035610e51565b6102c4610e78565b6102c4610e87565b61035d6004803603602081101561034d57600080fd5b50356001600160a01b0316610e96565b604080519115158252519081900360200190f35b6102686004803603604081101561038757600080fd5b506001600160a01b038135169060200135610eab565b61035d611104565b610268600480360360208110156103bb57600080fd5b50356001600160a01b0316611114565b610268600480360360208110156103e157600080fd5b50356001600160a01b0316611195565b6102f0611202565b6102c46004803603602081101561040f57600080fd5b50356001600160a01b0316611208565b6102686004803603602081101561043557600080fd5b50356001600160a01b0316611223565b6102686004803603602081101561045b57600080fd5b50356001600160a01b031661134a565b6102f06004803603604081101561048157600080fd5b506001600160a01b03813581169160200135166113b9565b6104bf600480360360208110156104af57600080fd5b50356001600160a01b03166113d6565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b6102686004803603602081101561050457600080fd5b5035612169565b6102686004803603602081101561052157600080fd5b50356001600160a01b0316612204565b6102686004803603602081101561054757600080fd5b50356001600160a01b0316612273565b6102686004803603602081101561056d57600080fd5b50356001600160a01b031661228a565b6102686004803603606081101561059357600080fd5b506001600160a01b0381358116916020810135909116906040013561230e565b6102f061240f565b6102c4600480360360208110156105d157600080fd5b50356001600160a01b0316612415565b6104bf600480360360208110156105f757600080fd5b50356001600160a01b0316612430565b6102686004803603602081101561061d57600080fd5b50356001600160a01b031661245f565b6102f06124e4565b6102686004803603602081101561064b57600080fd5b50356001600160a01b03166124ea565b610663612559565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561069f578181015183820152602001610687565b505050509050019250505060405180910390f35b6102f0600480360360208110156106c957600080fd5b50356001600160a01b031661260a565b610268600480360360208110156106ef57600080fd5b50356001600160a01b031661268d565b6102c461272a565b6102c4612739565b6102686004803603602081101561072557600080fd5b5035612748565b6102f06004803603602081101561074257600080fd5b50356001600160a01b03166127bb565b6000546001600160a01b0316331461079f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b038181166000908152600a602052604090205416156107fa576040805162461bcd60e51b815260206004820152600b60248201526a216164647265737328302960a81b604482015290519081900360640190fd5b60006108058261260a565b600554909150610822906001600160a01b038481169116836128e3565b5050565b6000546001600160a01b03163314610873576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600554600160a01b900460ff166108dd576040805162461bcd60e51b815260206004820152600760248201526621756e6c6f636b60c81b604482015290519081900360640190fd5b6005805460ff60a01b191690556001600160a01b03821660009081526009602052604090205460ff1615610942576040805162461bcd60e51b81526020600482015260076024820152666c6f636b696e6760c81b604482015290519081900360640190fd5b6001600160a01b038281166000908152600a60205260409020541661099b576040805162461bcd60e51b815260206004820152600a6024820152696164647265737328302960b01b604482015290519081900360640190fd5b6001600160a01b0382166000908152600c6020908152604080832033845290915290205443116109ff576040805162461bcd60e51b815260206004820152600a6024820152690858dbdb9d995c9d105d60b21b604482015290519081900360640190fd5b6001600160a01b038083166000908152600a6020526040808220548151632770a7eb60e21b8152336004820152602481018690529151931692639dc29fac9260448084019391929182900301818387803b158015610a5c57600080fd5b505af1158015610a70573d6000803e3d6000fd5b5050506001600160a01b038084166000908152600b6020526040808220548151632770a7eb60e21b815233600482015260248101879052915193169350639dc29fac926044808301939282900301818387803b158015610acf57600080fd5b505af1158015610ae3573d6000803e3d6000fd5b505050506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b3657600080fd5b505afa158015610b4a573d6000803e3d6000fd5b505050506040513d6020811015610b6057600080fd5b5051905081811015610cf95760048054604080516339ebf82360e01b81526001600160a01b03878116948201949094529051600093909216916339ebf82391602480820192602092909190829003018186803b158015610bbf57600080fd5b505afa158015610bd3573d6000803e3d6000fd5b505050506040513d6020811015610be957600080fd5b50516001600160a01b031614610ced576000610c05838361293a565b600480546040805163f3fef3a360e01b81526001600160a01b038981169482019490945260248101859052905193945091169163f3fef3a39160448082019260009290919082900301818387803b158015610c5f57600080fd5b505af1158015610c73573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516001600160a01b03881693506370a0823192506024808301926020929190829003018186803b158015610cbd57600080fd5b505afa158015610cd1573d6000803e3d6000fd5b505050506040513d6020811015610ce757600080fd5b50519150505b81811015610cf9578091505b6000610d1c612710610d166006548661298590919063ffffffff16565b906129de565b600554909150610d39906001600160a01b038681169116836128e3565b610d5833610d47858461293a565b6001600160a01b03871691906128e3565b604080518481526020810183905281516001600160a01b0387169233927f3f693fff038bb8a046aa76d9516190ac7444f7d69cf952c4cbdc086fdef2d6fc929081900390910190a350506005805460ff60a01b1916600160a01b1790555050565b6005546001600160a01b031681565b6001546001600160a01b03163314610e1c576040805162461bcd60e51b81526020600482015260126024820152712170656e64696e67476f7665726e616e636560701b604482015290519081900360640190fd5b600080546001600160a01b03199081163317909155600180549091169055565b60035481565b6002546001600160a01b031681565b60088181548110610e5e57fe5b6000918252602090912001546001600160a01b0316905081565b6007546001600160a01b031681565b6000546001600160a01b031681565b60096020526000908152604090205460ff1681565b600554600160a01b900460ff16610ef3576040805162461bcd60e51b815260206004820152600760248201526621756e6c6f636b60c81b604482015290519081900360640190fd5b6005805460ff60a01b191690556001600160a01b038281166000908152600a602052604090205416610f59576040805162461bcd60e51b815260206004820152600a6024820152696164647265737328302960b01b604482015290519081900360640190fd5b6001600160a01b038083166000818152600c6020908152604080832033845282528083204390556004805482516339ebf82360e01b8152918201959095529051929493909316926339ebf8239260248083019392829003018186803b158015610fc157600080fd5b505afa158015610fd5573d6000803e3d6000fd5b505050506040513d6020811015610feb57600080fd5b50516001600160a01b03161461108d57600454611017906001600160a01b038481169133911684612a20565b60048054604080516311f9fbc960e21b81526001600160a01b038681169482019490945260248101859052905192909116916347e7ef249160448082019260009290919082900301818387803b15801561107057600080fd5b505af1158015611084573d6000803e3d6000fd5b505050506110a2565b6110a26001600160a01b038316333084612a20565b6110ad823383612a80565b6040805182815290516001600160a01b0384169133917fccfaeb3043a96a967dc036ab72e078a9632af809671bc2a1ac30a8043645f89e9181900360200190a350506005805460ff60a01b1916600160a01b179055565b600554600160a01b900460ff1681565b6007546001600160a01b031633148061113757506000546001600160a01b031633145b611174576040805162461bcd60e51b815260206004820152600960248201526810b7b832b930ba37b960b91b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b6002546001600160a01b031633146111e0576040805162461bcd60e51b815260206004820152600960248201526810b3bab0b93234b0b760b91b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60065481565b600a602052600090815260409020546001600160a01b031681565b6002546001600160a01b0316331461126e576040805162461bcd60e51b815260206004820152600960248201526810b3bab0b93234b0b760b91b604482015290519081900360640190fd5b60035442116112b2576040805162461bcd60e51b815260206004820152600b60248201526a2165666665637454696d6560a81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561130157600080fd5b505afa158015611315573d6000803e3d6000fd5b505050506040513d602081101561132b57600080fd5b5051600054909150610822906001600160a01b038481169116836128e3565b6000546001600160a01b03163314611397576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600c60209081526000928352604080842090915290825290205481565b6005546000908190600160a01b900460ff16611423576040805162461bcd60e51b815260206004820152600760248201526621756e6c6f636b60c81b604482015290519081900360640190fd5b6005805460ff60a01b191690556001600160a01b038381166000908152600a6020526040902054161561148b576040805162461bcd60e51b815260206004820152600b60248201526a216164647265737328302960a81b604482015290519081900360640190fd5b6060836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156114c657600080fd5b505afa1580156114da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561150357600080fd5b8101908080516040519392919084600160201b82111561152257600080fd5b90830190602082018581111561153757600080fd5b8251600160201b81118282018810171561155057600080fd5b82525081516020918201929091019080838360005b8381101561157d578181015183820152602001611565565b50505050905090810190601f1680156115aa5780820380516001836020036101000a031916815260200191505b506040525050506040516020018082805190602001908083835b602083106115e35780518252601f1990920191602091820191016115c4565b6001836020036101000a038019825116818451168082178552505050505050905001806610322a37b5b2b760c91b81525060070191505060405160208183030381529060405290506060846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561166657600080fd5b505afa15801561167a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156116a357600080fd5b8101908080516040519392919084600160201b8211156116c257600080fd5b9083019060208201858111156116d757600080fd5b8251600160201b8111828201881017156116f057600080fd5b82525081516020918201929091019080838360005b8381101561171d578181015183820152602001611705565b50505050905090810190601f16801561174a5780820380516001836020036101000a031916815260200191505b506040525050506040516020018080601960fa1b81525060010182805190602001908083835b6020831061178f5780518252601f199092019160209182019101611770565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405290506060856001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561180057600080fd5b505afa158015611814573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561183d57600080fd5b8101908080516040519392919084600160201b82111561185c57600080fd5b90830190602082018581111561187157600080fd5b8251600160201b81118282018810171561188a57600080fd5b82525081516020918201929091019080838360005b838110156118b757818101518382015260200161189f565b50505050905090810190601f1680156118e45780820380516001836020036101000a031916815260200191505b506040525050506040516020018082805190602001908083835b6020831061191d5780518252601f1990920191602091820191016118fe565b6001836020036101000a03801982511681845116808217855250505050505090500180661032aa37b5b2b760c91b81525060070191505060405160208183030381529060405290506060866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156119a057600080fd5b505afa1580156119b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156119dd57600080fd5b8101908080516040519392919084600160201b8211156119fc57600080fd5b908301906020820185811115611a1157600080fd5b8251600160201b811182820188101715611a2a57600080fd5b82525081516020918201929091019080838360005b83811015611a57578181015183820152602001611a3f565b50505050905090810190601f168015611a845780820380516001836020036101000a031916815260200191505b506040525050506040516020018080606560f81b81525060010182805190602001908083835b60208310611ac95780518252601f199092019160209182019101611aaa565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405290506000876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3a57600080fd5b505afa158015611b4e573d6000803e3d6000fd5b505050506040513d6020811015611b6457600080fd5b5051604051909150606090611b7b60208201612f35565b6020820181038252601f19601f820116604052509050600089878760405160200180846001600160a01b031660601b815260140183805190602001908083835b60208310611bda5780518252601f199092019160209182019101611bbb565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611c225780518252601f199092019160209182019101611c03565b6001836020036101000a0380198251168184511680821785525050505050509050019350505050604051602081830303815290604052805190602001209050808251602084016000f59850886001600160a01b031663020181d760008054906101000a90046001600160a01b0316858a8a6040518563ffffffff1660e01b815260040180856001600160a01b031681526020018460ff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611cfb578181015183820152602001611ce3565b50505050905090810190601f168015611d285780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611d5b578181015183820152602001611d43565b50505050905090810190601f168015611d885780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b158015611dab57600080fd5b505af1158015611dbf573d6000803e3d6000fd5b50505050606060405180602001611dd590612f42565b6020820181038252601f19601f82011660405250905060008b878760405160200180846001600160a01b031660601b815260140183805190602001908083835b60208310611e345780518252601f199092019160209182019101611e15565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611e7c5780518252601f199092019160209182019101611e5d565b6001836020036101000a0380198251168184511680821785525050505050509050019350505050604051602081830303815290604052805190602001209050808251602084016000f59950896001600160a01b031663020181d760008054906101000a90046001600160a01b0316878a8a6040518563ffffffff1660e01b815260040180856001600160a01b031681526020018460ff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611f55578181015183820152602001611f3d565b50505050905090810190601f168015611f825780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611fb5578181015183820152602001611f9d565b50505050905090810190601f168015611fe25780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b15801561200557600080fd5b505af1158015612019573d6000803e3d6000fd5b505050508a600a60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555089600b60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060088c9080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b03160217905550896001600160a01b03168b6001600160a01b03168d6001600160a01b03167fa92a2b95c8d8436f6ac4c673c61487364f877efb9534d4296fad8ef904546c9460405160405180910390a450506005805460ff60a01b1916600160a01b1790555096989597509495505050505050565b6000546001600160a01b031633146121b6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6127108111156121ff576040805162461bcd60e51b815260206004820152600f60248201526e215f7769746864726177616c46656560881b604482015290519081900360640190fd5b600655565b6000546001600160a01b03163314612251576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061227e826127bb565b90506108228282610895565b6007546001600160a01b03163314806122ad57506000546001600160a01b031633145b6122ea576040805162461bcd60e51b815260206004820152600960248201526810b7b832b930ba37b960b91b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6004546001600160a01b0316331461235b576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6001600160a01b038381166000908152600a6020526040902054166123b4576040805162461bcd60e51b815260206004820152600a6024820152696164647265737328302960b01b604482015290519081900360640190fd5b6123bf838383612a80565b826001600160a01b0316826001600160a01b03167fccfaeb3043a96a967dc036ab72e078a9632af809671bc2a1ac30a8043645f89e836040518082815260200191505060405180910390a3505050565b61271081565b600b602052600090815260409020546001600160a01b031681565b6001600160a01b039081166000908152600a6020908152604080832054600b9092529091205490821692911690565b6124e181826001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156124b057600080fd5b505afa1580156124c4573d6000803e3d6000fd5b505050506040513d60208110156124da57600080fd5b5051610eab565b50565b60085490565b6000546001600160a01b03163314612537576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6008546060908067ffffffffffffffff8111801561257657600080fd5b506040519080825280602002602001820160405280156125a0578160200160208202803683370190505b50915060005b8181101561260557600881815481106125bb57fe5b9060005260206000200160009054906101000a90046001600160a01b03168382815181106125e557fe5b6001600160a01b03909216602092830291909101909101526001016125a6565b505090565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561265957600080fd5b505afa15801561266d573d6000803e3d6000fd5b505050506040513d602081101561268357600080fd5b505190505b919050565b60006126988261260a565b6004549091506126b5906001600160a01b038481169116836128e3565b60048054604080516311f9fbc960e21b81526001600160a01b038681169482019490945260248101859052905192909116916347e7ef249160448082019260009290919082900301818387803b15801561270e57600080fd5b505af1158015612722573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031681565b6004546001600160a01b031681565b6002546001600160a01b031633148061276b57506000546001600160a01b031633145b6127a8576040805162461bcd60e51b815260206004820152600960248201526810b3bab0b93234b0b760b91b604482015290519081900360640190fd5b6003546127b59082612b71565b60035550565b6001600160a01b038082166000908152600a602090815260408083205481516370a0823160e01b81523360048201529151939485949116926370a082319260248082019391829003018186803b15801561281457600080fd5b505afa158015612828573d6000803e3d6000fd5b505050506040513d602081101561283e57600080fd5b50516001600160a01b038085166000908152600b602090815260408083205481516370a0823160e01b81523360048201529151959650929492909316926370a082319260248083019392829003018186803b15801561289c57600080fd5b505afa1580156128b0573d6000803e3d6000fd5b505050506040513d60208110156128c657600080fd5b50519050808211156128db5791506126889050565b509050612688565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612935908490612bcb565b505050565b600061297c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c7c565b90505b92915050565b6000826129945750600061297f565b828202828482816129a157fe5b041461297c5760405162461bcd60e51b8152600401808060200182810382526021815260200180615f226021913960400191505060405180910390fd5b600061297c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d13565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612a7a908590612bcb565b50505050565b6001600160a01b038084166000908152600a60205260408082205481516340c10f1960e01b815286851660048201526024810186905291519316926340c10f199260448084019391929182900301818387803b158015612adf57600080fd5b505af1158015612af3573d6000803e3d6000fd5b5050506001600160a01b038085166000908152600b60205260408082205481516340c10f1960e01b81528785166004820152602481018790529151931693506340c10f19926044808301939282900301818387803b158015612b5457600080fd5b505af1158015612b68573d6000803e3d6000fd5b50505050505050565b60008282018381101561297c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060612c20826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d789092919063ffffffff16565b80519091501561293557808060200190516020811015612c3f57600080fd5b50516129355760405162461bcd60e51b815260040180806020018281038252602a815260200180615f43602a913960400191505060405180910390fd5b60008184841115612d0b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cd0578181015183820152602001612cb8565b50505050905090810190601f168015612cfd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183612d625760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cd0578181015183820152602001612cb8565b506000838581612d6e57fe5b0495945050505050565b6060612d878484600085612d8f565b949350505050565b6060612d9a85612efc565b612deb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612e2a5780518252601f199092019160209182019101612e0b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e8c576040519150601f19603f3d011682016040523d82523d6000602084013e612e91565b606091505b50915091508115612ea5579150612d879050565b805115612eb55780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612cd0578181015183820152602001612cb8565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612d87575050151592915050565b611b3c80612f5083390190565b61149680614a8c8339019056fe608060405234801561001057600080fd5b50611b1c806100206000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635ba28624116100de5780639dc29fac11610097578063dd62ed3e11610071578063dd62ed3e1461058e578063f1127ed8146105bc578063f39c38a01461060e578063fbfa77cf1461061657610173565b80639dc29fac14610510578063a9059cbb1461053c578063b4b5ea571461056857610173565b80635ba286241461042b5780636817031b146104515780636fcfff451461047757806370a08231146104b6578063782d6fe1146104dc57806395d89b411461050857610173565b806320ba92f81161013057806320ba92f814610377578063238efcbc1461039b57806323b872dd146103a3578063313ce567146103d957806340c10f19146103f75780635aa6e6751461042357610173565b806301681a6214610178578063020181d7146101a057806306fdde031461027a578063095ea7b3146102f75780630abb60351461033757806318160ddd1461035d575b600080fd5b61019e6004803603602081101561018e57600080fd5b50356001600160a01b031661061e565b005b61019e600480360360808110156101b657600080fd5b6001600160a01b038235169160ff602082013516918101906060810160408201356401000000008111156101e957600080fd5b8201836020820111156101fb57600080fd5b8035906020019184600183028401116401000000008311171561021d57600080fd5b91939092909160208101903564010000000081111561023b57600080fd5b82018360208201111561024d57600080fd5b8035906020019184600183028401116401000000008311171561026f57600080fd5b50909250905061076f565b61028261085b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102bc5781810151838201526020016102a4565b50505050905090810190601f1680156102e95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103236004803603604081101561030d57600080fd5b506001600160a01b0381351690602001356108e9565b604080519115158252519081900360200190f35b61019e6004803603602081101561034d57600080fd5b50356001600160a01b0316610950565b6103656109bf565b60408051918252519081900360200190f35b61037f6109c5565b604080516001600160a01b039092168252519081900360200190f35b61019e6109d4565b610323600480360360608110156103b957600080fd5b506001600160a01b03813581169160208101359091169060400135610a48565b6103e1610b28565b6040805160ff9092168252519081900360200190f35b61019e6004803603604081101561040d57600080fd5b506001600160a01b038135169060200135610b31565b61037f610be1565b61019e6004803603602081101561044157600080fd5b50356001600160a01b0316610bf0565b61019e6004803603602081101561046757600080fd5b50356001600160a01b0316610c5f565b61049d6004803603602081101561048d57600080fd5b50356001600160a01b0316610cce565b6040805163ffffffff9092168252519081900360200190f35b610365600480360360208110156104cc57600080fd5b50356001600160a01b0316610ce6565b610365600480360360408110156104f257600080fd5b506001600160a01b038135169060200135610d01565b610282610f09565b61019e6004803603604081101561052657600080fd5b506001600160a01b038135169060200135610f63565b6103236004803603604081101561055257600080fd5b506001600160a01b038135169060200135611013565b6103656004803603602081101561057e57600080fd5b50356001600160a01b0316611029565b610365600480360360408110156105a457600080fd5b506001600160a01b038135811691602001351661108d565b6105ee600480360360408110156105d257600080fd5b5080356001600160a01b0316906020013563ffffffff166110b8565b6040805163ffffffff909316835260208301919091528051918290030190f35b61037f6110e5565b61037f6110f4565b6006546001600160a01b0316331461066b576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156106ba57600080fd5b505afa1580156106ce573d6000803e3d6000fd5b505050506040513d60208110156106e457600080fd5b50516006546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561073f57600080fd5b505af1158015610753573d6000803e3d6000fd5b505050506040513d602081101561076957600080fd5b50505050565b6006546001600160a01b0316156107b75760405162461bcd60e51b8152600401808060200182810382526024815260200180611ac36024913960400191505060405180910390fd5b6001600160a01b0386166107fc5760405162461bcd60e51b81526004018080602001828103825260268152602001806119b46026913960400191505060405180910390fd5b600680546001600160a01b0388166001600160a01b031991821617909155600880549091163317905561083160008585611865565b5061083e60018383611865565b50506002805460ff191660ff959095169490941790935550505050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108e15780601f106108b6576101008083540402835291602001916108e1565b820191906000526020600020905b8154815290600101906020018083116108c457829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6006546001600160a01b0316331461099d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60035481565b6008546001600160a01b031681565b6007546001600160a01b03163314610a28576040805162461bcd60e51b81526020600482015260126024820152712170656e64696e67476f7665726e616e636560701b604482015290519081900360640190fd5b600680546001600160a01b03199081163317909155600780549091169055565b6001600160a01b038316600081815260046020908152604080832033808552925282205491929091908214801590610a8257506000198114155b15610b11576000610aac828660405180606001604052806037815260200161197d60379139611103565b6001600160a01b0380891660008181526004602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b610b1c86868661119a565b50600195945050505050565b60025460ff1681565b6008546001600160a01b0316331480610b5457506009546001600160a01b031633145b610b94576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610b9e8282611327565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6006546001600160a01b031681565b6006546001600160a01b03163314610c3d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610cac576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526005602052604090205490565b6000438210610d415760405162461bcd60e51b81526004018080602001828103825260218152602001806119106021913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610d6f57600091505061094a565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610dde576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff1683529290522060010154905061094a565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610e1957600091505061094a565b600060001982015b8163ffffffff168163ffffffff161115610ed257600282820363ffffffff16048103610e4b6118e3565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610ead5760200151945061094a9350505050565b805163ffffffff16871115610ec457819350610ecb565b6001820392505b5050610e21565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108e15780601f106108b6576101008083540402835291602001916108e1565b6008546001600160a01b0316331480610f8657506009546001600160a01b031633145b610fc6576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610fd08282611490565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600061102033848461119a565b50600192915050565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680611054576000611086565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6007546001600160a01b031681565b6009546001600160a01b031681565b600081848411156111925760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561115757818101518382015260200161113f565b50505050905090810190601f1680156111845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383166111df5760405162461bcd60e51b81526004018080602001828103825260368152602001806119da6036913960400191505060405180910390fd5b6001600160a01b0382166112245760405162461bcd60e51b8152600401808060200182810382526034815260200180611a406034913960400191505060405180910390fd5b61126c60056000856001600160a01b03166001600160a01b031681526020019081526020016000205482604051806060016040528060308152602001611a1060309139611103565b6001600160a01b03808516600090815260056020908152604080832094909455918516815282902054825160608101909352602a8084526112b993919285929190611931908301396115b8565b6001600160a01b0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a361131983611616565b61132282611616565b505050565b6001600160a01b038216611382576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6113c4600354826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506115b8565b60038190555061142f60056000846001600160a01b03166001600160a01b0316815260200190815260200160002054826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506115b8565b6001600160a01b03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a361148c82611616565b5050565b6001600160a01b0382166114d55760405162461bcd60e51b8152600401808060200182810382526021815260200180611aa26021913960400191505060405180910390fd5b61151d60056000846001600160a01b03166001600160a01b03168152602001908152602001600020548260405180606001604052806022815260200161195b60229139611103565b60056000846001600160a01b03166001600160a01b031681526020019081526020016000208190555061156b6003548260405180606001604052806022815260200161195b60229139611103565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a361148c82611616565b6000838301828582101561160d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561115757818101518382015260200161113f565b50949350505050565b6001600160a01b0381166000908152600b602052604081205463ffffffff169081611642576000611674565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905061132283838360056000886001600160a01b03166001600160a01b031681526020019081526020016000205460006116c6436040518060600160405280602e8152602001611a74602e9139611807565b905060008463ffffffff1611801561170f57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561174c576001600160a01b0385166000908152600a6020908152604080832063ffffffff600019890116845290915290206001018290556117bd565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927f85f7ecb80f73cfa8b5a325558efa64c1a3e0a8cedb0b8700095584d527c40b1e928290030190a25050505050565b600081640100000000841061185d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561115757818101518382015260200161113f565b509192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106118a65782800160ff198235161785556118d3565b828001600101855582156118d3579182015b828111156118d35782358255916020019190600101906118b8565b506118df9291506118fa565b5090565b604080518082019091526000808252602082015290565b5b808211156118df57600081556001016118fb56fe6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777345524332303a206275726e20616d6f756e7420657863656564732062616c616e63657472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365696e697469616c697a653a20696e76616c696420676f7665726e616e636520616464726573735f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573735f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f20616464726573735f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a206275726e2066726f6d20746865207a65726f2061646472657373696e697469616c697a653a2063616e206f6e6c7920696e697469616c697a65206f6e6365a2646970667358221220af4bb88b33ed1286020c981820590019339c605ff4d99f98e29e05d5d3b8ed7e64736f6c634300060c0033608060405234801561001057600080fd5b50611476806100206000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806340c10f19116100b857806395d89b411161007c57806395d89b41146104615780639dc29fac14610469578063a9059cbb14610495578063dd62ed3e146104c1578063f39c38a0146104ef578063fbfa77cf146104f757610137565b806340c10f19146103bb5780635aa6e675146103e75780635ba28624146103ef5780636817031b1461041557806370a082311461043b57610137565b806318160ddd116100ff57806318160ddd1461032157806320ba92f81461033b578063238efcbc1461035f57806323b872dd14610367578063313ce5671461039d57610137565b806301681a621461013c578063020181d71461016457806306fdde031461023e578063095ea7b3146102bb5780630abb6035146102fb575b600080fd5b6101626004803603602081101561015257600080fd5b50356001600160a01b03166104ff565b005b6101626004803603608081101561017a57600080fd5b6001600160a01b038235169160ff602082013516918101906060810160408201356401000000008111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460018302840111640100000000831117156101e157600080fd5b9193909290916020810190356401000000008111156101ff57600080fd5b82018360208201111561021157600080fd5b8035906020019184600183028401116401000000008311171561023357600080fd5b509092509050610650565b61024661073c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610280578181015183820152602001610268565b50505050905090810190601f1680156102ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e7600480360360408110156102d157600080fd5b506001600160a01b0381351690602001356107ca565b604080519115158252519081900360200190f35b6101626004803603602081101561031157600080fd5b50356001600160a01b0316610830565b61032961089f565b60408051918252519081900360200190f35b6103436108a5565b604080516001600160a01b039092168252519081900360200190f35b6101626108b4565b6102e76004803603606081101561037d57600080fd5b506001600160a01b03813581169160208101359091169060400135610928565b6103a5610a08565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156103d157600080fd5b506001600160a01b038135169060200135610a11565b610343610ac1565b6101626004803603602081101561040557600080fd5b50356001600160a01b0316610ad0565b6101626004803603602081101561042b57600080fd5b50356001600160a01b0316610b3f565b6103296004803603602081101561045157600080fd5b50356001600160a01b0316610bae565b610246610bc9565b6101626004803603604081101561047f57600080fd5b506001600160a01b038135169060200135610c23565b6102e7600480360360408110156104ab57600080fd5b506001600160a01b038135169060200135610cd3565b610329600480360360408110156104d757600080fd5b506001600160a01b0381358116916020013516610ce9565b610343610d14565b610343610d23565b6006546001600160a01b0316331461054c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561059b57600080fd5b505afa1580156105af573d6000803e3d6000fd5b505050506040513d60208110156105c557600080fd5b50516006546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561062057600080fd5b505af1158015610634573d6000803e3d6000fd5b505050506040513d602081101561064a57600080fd5b50505050565b6006546001600160a01b0316156106985760405162461bcd60e51b815260040180806020018281038252602481526020018061141d6024913960400191505060405180910390fd5b6001600160a01b0386166106dd5760405162461bcd60e51b815260040180806020018281038252602681526020018061133c6026913960400191505060405180910390fd5b600680546001600160a01b0388166001600160a01b031991821617909155600880549091163317905561071260008585611225565b5061071f60018383611225565b50506002805460ff191660ff959095169490941790935550505050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107c25780601f10610797576101008083540402835291602001916107c2565b820191906000526020600020905b8154815290600101906020018083116107a557829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6006546001600160a01b0316331461087d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60035481565b6008546001600160a01b031681565b6007546001600160a01b03163314610908576040805162461bcd60e51b81526020600482015260126024820152712170656e64696e67476f7665726e616e636560701b604482015290519081900360640190fd5b600680546001600160a01b03199081163317909155600780549091169055565b6001600160a01b03831660008181526004602090815260408083203380855292528220549192909190821480159061096257506000198114155b156109f157600061098c828660405180606001604052806037815260200161130560379139610d32565b6001600160a01b0380891660008181526004602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b6109fc868686610dc9565b50600195945050505050565b60025460ff1681565b6008546001600160a01b0316331480610a3457506009546001600160a01b031633145b610a74576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610a7e8282610f44565b6040805182815290516001600160a01b038416917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a25050565b6006546001600160a01b031681565b6006546001600160a01b03163314610b1d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610b8c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526005602052604090205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107c25780601f10610797576101008083540402835291602001916107c2565b6008546001600160a01b0316331480610c4657506009546001600160a01b031633145b610c86576040805162461bcd60e51b815260206004820152600c60248201526b2727aa1027a822a920aa27a960a11b604482015290519081900360640190fd5b610c9082826110a4565b6040805182815290516001600160a01b038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6000610ce0338484610dc9565b50600192915050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6007546001600160a01b031681565b6009546001600160a01b031681565b60008184841115610dc15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d86578181015183820152602001610d6e565b50505050905090810190601f168015610db35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038316610e0e5760405162461bcd60e51b81526004018080602001828103825260368152602001806113626036913960400191505060405180910390fd5b6001600160a01b038216610e535760405162461bcd60e51b81526004018080602001828103825260348152602001806113c86034913960400191505060405180910390fd5b610e9b60056000856001600160a01b03166001600160a01b03168152602001908152602001600020548260405180606001604052806030815260200161139860309139610d32565b6001600160a01b03808516600090815260056020908152604080832094909455918516815282902054825160608101909352602a808452610ee8939192859291906112b9908301396111c7565b6001600160a01b0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216610f9f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610fe1600354826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506111c7565b60038190555061104c60056000846001600160a01b03166001600160a01b0316815260200190815260200160002054826040518060400160405280601c81526020017f45524332303a206d696e7420616d6f756e74206f766572666c6f7773000000008152506111c7565b6001600160a01b03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166110e95760405162461bcd60e51b81526004018080602001828103825260218152602001806113fc6021913960400191505060405180910390fd5b61113160056000846001600160a01b03166001600160a01b0316815260200190815260200160002054826040518060600160405280602281526020016112e360229139610d32565b60056000846001600160a01b03166001600160a01b031681526020019081526020016000208190555061117f600354826040518060600160405280602281526020016112e360229139610d32565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000838301828582101561121c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610d86578181015183820152602001610d6e565b50949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106112665782800160ff19823516178555611293565b82800160010185558215611293579182015b82811115611293578235825591602001919060010190611278565b5061129f9291506112a3565b5090565b5b8082111561129f57600081556001016112a456fe5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777345524332303a206275726e20616d6f756e7420657863656564732062616c616e63657472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365696e697469616c697a653a20696e76616c696420676f7665726e616e636520616464726573735f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573735f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f2061646472657373696e697469616c697a653a2063616e206f6e6c7920696e697469616c697a65206f6e6365a2646970667358221220dae800e375d34852ab71be333799d61346a8fec3fc6368bd0a6bdc96c0037abd64736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220185fdeac61c1a9e62219d3f7c2ce0d0257975f019015347559815ac858140fe164736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007500d68d6d69f2ddb52655d4e4c983c7c809af6d0000000000000000000000009c17e202cd5420d36022d290a5c9f815eb326314000000000000000000000000c9620fa28c48cdb5673db40f7f114b883c840d2c
-----Decoded View---------------
Arg [0] : _controller (address): 0x7500d68d6D69F2dDB52655d4e4c983c7c809aF6d
Arg [1] : _reward (address): 0x9C17E202cD5420D36022d290a5c9f815EB326314
Arg [2] : _operator (address): 0xC9620Fa28c48cdB5673dB40f7f114B883C840d2c
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007500d68d6d69f2ddb52655d4e4c983c7c809af6d
Arg [1] : 0000000000000000000000009c17e202cd5420d36022d290a5c9f815eb326314
Arg [2] : 000000000000000000000000c9620fa28c48cdb5673db40f7f114b883c840d2c
Deployed Bytecode Sourcemap
46493:9190:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55086:279;;;;;;;;;;;;;;;;-1:-1:-1;55086:279:0;-1:-1:-1;;;;;55086:279:0;;:::i;:::-;;48333:183;;;;;;;;;;;;;;;;-1:-1:-1;48333:183:0;-1:-1:-1;;;;;48333:183:0;;:::i;51064:1214::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;51064:1214:0;;;;;;;;:::i;46757:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;46757:21:0;;;;;;;;;;;;;;48134:193;;;:::i;46693:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;46663:23;;;:::i;46938:::-;;;;;;;;;;;;;;;;-1:-1:-1;46938:23:0;;:::i;46908:::-;;;:::i;46592:25::-;;;:::i;46968:37::-;;;;;;;;;;;;;;;;-1:-1:-1;46968:37:0;-1:-1:-1;;;;;46968:37:0;;:::i;:::-;;;;;;;;;;;;;;;;;;49698:704;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49698:704:0;;;;;;;;:::i;46785:20::-;;;:::i;49398:167::-;;;;;;;;;;;;;;;;-1:-1:-1;49398:167:0;-1:-1:-1;;;;;49398:167:0;;:::i;47786:143::-;;;;;;;;;;;;;;;;-1:-1:-1;47786:143:0;-1:-1:-1;;;;;47786:143:0;;:::i;46814:33::-;;;:::i;47012:42::-;;;;;;;;;;;;;;;;-1:-1:-1;47012:42:0;-1:-1:-1;;;;;47012:42:0;;:::i;55373:305::-;;;;;;;;;;;;;;;;-1:-1:-1;55373:305:0;-1:-1:-1;;;;;55373:305:0;;:::i;48522:155::-;;;;;;;;;;;;;;;;-1:-1:-1;48522:155:0;-1:-1:-1;;;;;48522:155:0;;:::i;47110:64::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47110:64:0;;;;;;;;;;:::i;52286:1468::-;;;;;;;;;;;;;;;;-1:-1:-1;52286:1468:0;-1:-1:-1;;;;;52286:1468:0;;:::i;:::-;;;;;-1:-1:-1;;;;;52286:1468:0;;;;;;-1:-1:-1;;;;;52286:1468:0;;;;;;;;;;;;;;;;48983:237;;;;;;;;;;;;;;;;-1:-1:-1;48983:237:0;;:::i;48830:147::-;;;;;;;;;;;;;;;;-1:-1:-1;48830:147:0;-1:-1:-1;;;;;48830:147:0;;:::i;50918:138::-;;;;;;;;;;;;;;;;-1:-1:-1;50918:138:0;-1:-1:-1;;;;;50918:138:0;;:::i;49228:164::-;;;;;;;;;;;;;;;;-1:-1:-1;49228:164:0;-1:-1:-1;;;;;49228:164:0;;:::i;50410:296::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50410:296:0;;;;;;;;;;;;;;;;;:::i;46854:45::-;;;:::i;47061:42::-;;;;;;;;;;;;;;;;-1:-1:-1;47061:42:0;-1:-1:-1;;;;;47061:42:0;;:::i;54271:209::-;;;;;;;;;;;;;;;;-1:-1:-1;54271:209:0;-1:-1:-1;;;;;54271:209:0;;:::i;49573:117::-;;;;;;;;;;;;;;;;-1:-1:-1;49573:117:0;-1:-1:-1;;;;;49573:117:0;;:::i;54758:92::-;;;:::i;48683:139::-;;;;;;;;;;;;;;;;-1:-1:-1;48683:139:0;-1:-1:-1;;;;;48683:139:0;;:::i;54488:262::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54130:133;;;;;;;;;;;;;;;;-1:-1:-1;54130:133:0;-1:-1:-1;;;;;54130:133:0;;:::i;54858:220::-;;;;;;;;;;;;;;;;-1:-1:-1;54858:220:0;-1:-1:-1;;;;;54858:220:0;;:::i;46624:32::-;;;:::i;46725:25::-;;;:::i;47935:191::-;;;;;;;;;;;;;;;;-1:-1:-1;47935:191:0;;:::i;53762:360::-;;;;;;;;;;;;;;;;-1:-1:-1;53762:360:0;-1:-1:-1;;;;;53762:360:0;;:::i;55086:279::-;55159:10;;-1:-1:-1;;;;;55159:10:0;55145;:24;55137:48;;;;;-1:-1:-1;;;55137:48:0;;;;;;;;;;;;-1:-1:-1;;;55137:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;55204:15:0;;;55231:1;55204:15;;;:7;:15;;;;;;;:29;55196:53;;;;;-1:-1:-1;;;55196:53:0;;;;;;;;;;;;-1:-1:-1;;;55196:53:0;;;;;;;;;;;;;;;55262:16;55281:20;55294:6;55281:12;:20::i;:::-;55340:6;;55262:39;;-1:-1:-1;55312:45:0;;-1:-1:-1;;;;;55312:27:0;;;;55340:6;55262:39;55312:27;:45::i;:::-;55086:279;;:::o;48333:183::-;48433:10;;-1:-1:-1;;;;;48433:10:0;48419;:24;48411:48;;;;;-1:-1:-1;;;48411:48:0;;;;;;;;;;;;-1:-1:-1;;;48411:48:0;;;;;;;;;;;;;;;48470:17;:38;;-1:-1:-1;;;;;;48470:38:0;-1:-1:-1;;;;;48470:38:0;;;;;;;;;;48333:183::o;51064:1214::-;51139:8;;-1:-1:-1;;;51139:8:0;;;;51131:28;;;;;-1:-1:-1;;;51131:28:0;;;;;;;;;;;;-1:-1:-1;;;51131:28:0;;;;;;;;;;;;;;;51170:8;:16;;-1:-1:-1;;;;51170:16:0;;;-1:-1:-1;;;;;51206:13:0;;51181:5;51206:13;;;:5;:13;;;;;;51170:16;51206:13;51205:14;51197:34;;;;;-1:-1:-1;;;51197:34:0;;;;;;;;;;;;-1:-1:-1;;;51197:34:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51250:15:0;;;51277:1;51250:15;;;:7;:15;;;;;;;51242:52;;;;;-1:-1:-1;;;51242:52:0;;;;;;;;;;;;-1:-1:-1;;;51242:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51313:17:0;;;;;;:9;:17;;;;;;;;51331:10;51313:29;;;;;;;;51345:12;-1:-1:-1;51305:67:0;;;;;-1:-1:-1;;;51305:67:0;;;;;;;;;;;;-1:-1:-1;;;51305:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51392:15:0;;;;;;;:7;:15;;;;;;;51385:49;;-1:-1:-1;;;51385:49:0;;51414:10;51385:49;;;;;;;;;;;;51392:15;;;51385:28;;:49;;;;;51392:15;;51385:49;;;;;;51392:15;;51385:49;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;51452:15:0;;;;;;;:7;:15;;;;;;;51445:49;;-1:-1:-1;;;51445:49:0;;51474:10;51445:49;;;;;;;;;;;;51452:15;;;-1:-1:-1;51445:28:0;;:49;;;;;51452:15;51445:49;;;;;51452:15;;51445:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51507:16;51533:6;-1:-1:-1;;;;;51526:24:0;;51559:4;51526:39;;;;;;;;;;;;;-1:-1:-1;;;;;51526:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51526:39:0;;-1:-1:-1;51580:18:0;;;51576:418;;;51631:10;;;51619:42;;;-1:-1:-1;;;51619:42:0;;-1:-1:-1;;;;;51619:42:0;;;;;;;;;;;;-1:-1:-1;;51631:10:0;;;;51619:34;;:42;;;;;;;;;;;;;;;51631:10;51619:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51619:42:0;-1:-1:-1;;;;;51619:56:0;;51615:277;;51696:17;51716:21;:7;51728:8;51716:11;:21::i;:::-;51768:10;;;51756:51;;;-1:-1:-1;;;51756:51:0;;-1:-1:-1;;;;;51756:51:0;;;;;;;;;;;;;;;;;;51696:41;;-1:-1:-1;51768:10:0;;;51756:32;;:51;;;;;51768:10;;51756:51;;;;;;;;51768:10;;51756:51;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51837:39:0;;;-1:-1:-1;;;51837:39:0;;51870:4;51837:39;;;;;;-1:-1:-1;;;;;51837:24:0;;;-1:-1:-1;51837:24:0;;-1:-1:-1;51837:39:0;;;;;;;;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51837:39:0;;-1:-1:-1;;51615:277:0;51921:7;51910:8;:18;51906:77;;;51959:8;51949:18;;51906:77;52006:12;52021:45;46894:5;52021:26;52033:13;;52021:7;:11;;:26;;;;:::i;:::-;:30;;:45::i;:::-;52105:6;;52006:60;;-1:-1:-1;52077:41:0;;-1:-1:-1;;;;;52077:27:0;;;;52105:6;52006:60;52077:27;:41::i;:::-;52129:58;52157:10;52169:17;:7;52181:4;52169:11;:17::i;:::-;-1:-1:-1;;;;;52129:27:0;;;:58;:27;:58::i;:::-;52203:41;;;;;;;;;;;;;;-1:-1:-1;;;;;52203:41:0;;;52210:10;;52203:41;;;;;;;;;;;-1:-1:-1;;52255:8:0;:15;;-1:-1:-1;;;;52255:15:0;-1:-1:-1;;;52255:15:0;;;-1:-1:-1;;51064:1214:0:o;46757:21::-;;;-1:-1:-1;;;;;46757:21:0;;:::o;48134:193::-;48204:17;;-1:-1:-1;;;;;48204:17:0;48190:10;:31;48182:62;;;;;-1:-1:-1;;;48182:62:0;;;;;;;;;;;;-1:-1:-1;;;48182:62:0;;;;;;;;;;;;;;;48255:10;:23;;-1:-1:-1;;;;;;48255:23:0;;;48268:10;48255:23;;;;;48289:30;;;;;;;48134:193::o;46693:25::-;;;;:::o;46663:23::-;;;-1:-1:-1;;;;;46663:23:0;;:::o;46938:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46938:23:0;;-1:-1:-1;46938:23:0;:::o;46908:::-;;;-1:-1:-1;;;;;46908:23:0;;:::o;46592:25::-;;;-1:-1:-1;;;;;46592:25:0;;:::o;46968:37::-;;;;;;;;;;;;;;;:::o;49698:704::-;49774:8;;-1:-1:-1;;;49774:8:0;;;;49766:28;;;;;-1:-1:-1;;;49766:28:0;;;;;;;;;;;;-1:-1:-1;;;49766:28:0;;;;;;;;;;;;;;;49805:8;:16;;-1:-1:-1;;;;49805:16:0;;;-1:-1:-1;;;;;49840:15:0;;;49816:5;49840:15;;;:7;:15;;;;;;;49832:52;;;;;-1:-1:-1;;;49832:52:0;;;;;;;;;;;;-1:-1:-1;;;49832:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;49897:17:0;;;;;;;:9;:17;;;;;;;;49915:10;49897:29;;;;;;;49929:12;49897:44;;49970:10;;;49958:42;;-1:-1:-1;;;49958:42:0;;;;;;;;;;;49897:17;;49970:10;;;;;49958:34;;:42;;;;;49897:17;49958:42;;;;;49970:10;49958:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49958:42:0;-1:-1:-1;;;;;49958:56:0;;49954:316;;50075:10;;50031:64;;-1:-1:-1;;;;;50031:31:0;;;;50063:10;;50075;50087:7;50031:31;:64::i;:::-;50122:10;;;50110:48;;;-1:-1:-1;;;50110:48:0;;-1:-1:-1;;;;;50110:48:0;;;;;;;;;;;;;;;;;;50122:10;;;;;50110:31;;:48;;;;;50122:10;;50110:48;;;;;;;;50122:10;;50110:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49954:316;;;50191:67;-1:-1:-1;;;;;50191:31:0;;50223:10;50243:4;50250:7;50191:31;:67::i;:::-;50280:34;50286:6;50294:10;50306:7;50280:5;:34::i;:::-;50332:36;;;;;;;;-1:-1:-1;;;;;50332:36:0;;;50340:10;;50332:36;;;;;;;;;-1:-1:-1;;50379:8:0;:15;;-1:-1:-1;;;;50379:15:0;-1:-1:-1;;;50379:15:0;;;49698:704::o;46785:20::-;;;-1:-1:-1;;;46785:20:0;;;;;:::o;49398:167::-;49475:8;;-1:-1:-1;;;;;49475:8:0;49461:10;:22;;:50;;-1:-1:-1;49501:10:0;;-1:-1:-1;;;;;49501:10:0;49487;:24;49461:50;49453:72;;;;;-1:-1:-1;;;49453:72:0;;;;;;;;;;;;-1:-1:-1;;;49453:72:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;49536:13:0;49552:5;49536:13;;;:5;:13;;;;;:21;;-1:-1:-1;;49536:21:0;;;49398:167::o;47786:143::-;47868:8;;-1:-1:-1;;;;;47868:8:0;47854:10;:22;47846:44;;;;;-1:-1:-1;;;47846:44:0;;;;;;;;;;;;-1:-1:-1;;;47846:44:0;;;;;;;;;;;;;;;47901:8;:20;;-1:-1:-1;;;;;;47901:20:0;-1:-1:-1;;;;;47901:20:0;;;;;;;;;;47786:143::o;46814:33::-;;;;:::o;47012:42::-;;;;;;;;;;;;-1:-1:-1;;;;;47012:42:0;;:::o;55373:305::-;55454:8;;-1:-1:-1;;;;;55454:8:0;55440:10;:22;55432:44;;;;;-1:-1:-1;;;55432:44:0;;;;;;;;;;;;-1:-1:-1;;;55432:44:0;;;;;;;;;;;;;;;55513:10;;55495:15;:28;55487:52;;;;;-1:-1:-1;;;55487:52:0;;;;;;;;;;;;-1:-1:-1;;;55487:52:0;;;;;;;;;;;;;;;55552:16;55578:6;-1:-1:-1;;;;;55571:24:0;;55604:4;55571:39;;;;;;;;;;;;;-1:-1:-1;;;;;55571:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55571:39:0;55649:10;;55571:39;;-1:-1:-1;55621:49:0;;-1:-1:-1;;;;;55621:27:0;;;;55649:10;55571:39;55621:27;:49::i;48522:155::-;48608:10;;-1:-1:-1;;;;;48608:10:0;48594;:24;48586:48;;;;;-1:-1:-1;;;48586:48:0;;;;;;;;;;;;-1:-1:-1;;;48586:48:0;;;;;;;;;;;;;;;48645:10;:24;;-1:-1:-1;;;;;;48645:24:0;-1:-1:-1;;;;;48645:24:0;;;;;;;;;;48522:155::o;47110:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;52286:1468::-;52393:8;;52340:15;;;;-1:-1:-1;;;52393:8:0;;;;52385:28;;;;;-1:-1:-1;;;52385:28:0;;;;;;;;;;;;-1:-1:-1;;;52385:28:0;;;;;;;;;;;;;;;52424:8;:16;;-1:-1:-1;;;;52424:16:0;;;-1:-1:-1;;;;;52459:15:0;;;52435:5;52459:15;;;:7;:15;;;;;;;:29;52451:53;;;;;-1:-1:-1;;;52451:53:0;;;;;;;;;;;;-1:-1:-1;;;52451:53:0;;;;;;;;;;;;;;;52517:19;52562:6;-1:-1:-1;;;;;52556:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52556:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52556:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52556:22:0;;;;;;-1:-1:-1;52556:22:0;;;;;;;;;;-1:-1:-1;52556:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52539:51;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52539:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52539:51:0;;;;;;;;;;;;;;;;;;;;52517:73;;52601:21;52653:6;-1:-1:-1;;;;;52647:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52647:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52647:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52647:22:0;;;;;;-1:-1:-1;52647:22:0;;;;;;;;;;-1:-1:-1;52647:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52625:45;;;;;;-1:-1:-1;;;52625:45:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52625:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52601:69;;52681:19;52726:6;-1:-1:-1;;;;;52720:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52720:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52720:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52720:22:0;;;;;;-1:-1:-1;52720:22:0;;;;;;;;;;-1:-1:-1;52720:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52703:51;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52703:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52703:51:0;;;;;;;;;;;;;;;;;;;;52681:73;;52765:21;52817:6;-1:-1:-1;;;;;52811:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52811:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52811:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52811:22:0;;;;;;-1:-1:-1;52811:22:0;;;;;;;;;;-1:-1:-1;52811:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52789:45;;;;;;-1:-1:-1;;;52789:45:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52789:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52765:69;;52845:15;52869:6;-1:-1:-1;;;;;52863:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52863:24:0;52926:25;;52863:24;;-1:-1:-1;52900:23:0;;52926:25;52863:24;52926:25;;;:::i;:::-;;;;;;;;;;;;;;;;;52900:51;;52962:14;53006:6;53014;53022:8;52989:42;;;;;;-1:-1:-1;;;;;52989:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52989:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52989:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52989:42:0;;;;;;;;;;;;;-1:-1:-1;;52989:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52979:53;;;;;;52962:70;;53129:6;53116:10;53110:17;53105:2;53093:10;53089:19;53086:1;53078:58;53067:69;;53164:7;-1:-1:-1;;;;;53157:26:0;;53184:10;;;;;;;;-1:-1:-1;;;;;53184:10:0;53196:9;53207:6;53215:8;53157:67;;;;;;;;;;;;;-1:-1:-1;;;;;53157:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53157:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53237:23;53263:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;53237:51;;53299:14;53343:6;53351;53359:8;53326:42;;;;;;-1:-1:-1;;;;;53326:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53326:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53326:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53326:42:0;;;;;;;;;;;;;-1:-1:-1;;53326:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53316:53;;;;;;53299:70;;53466:6;53453:10;53447:17;53442:2;53430:10;53426:19;53423:1;53415:58;53404:69;;53501:7;-1:-1:-1;;;;;53494:26:0;;53521:10;;;;;;;;-1:-1:-1;;;;;53521:10:0;53533:9;53544:6;53552:8;53494:67;;;;;;;;;;;;;-1:-1:-1;;;;;53494:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53494:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53592:7;53574;:15;53582:6;-1:-1:-1;;;;;53574:15:0;-1:-1:-1;;;;;53574:15:0;;;;;;;;;;;;;:25;;;;;-1:-1:-1;;;;;53574:25:0;;;;;-1:-1:-1;;;;;53574:25:0;;;;;;53628:7;53610;:15;53618:6;-1:-1:-1;;;;;53610:15:0;-1:-1:-1;;;;;53610:15:0;;;;;;;;;;;;;:25;;;;;-1:-1:-1;;;;;53610:25:0;;;;;-1:-1:-1;;;;;53610:25:0;;;;;;53646:6;53658;53646:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53646:19:0;;;;;-1:-1:-1;;;;;53646:19:0;;;;;;53712:7;-1:-1:-1;;;;;53683:37:0;53703:7;-1:-1:-1;;;;;53683:37:0;53695:6;-1:-1:-1;;;;;53683:37:0;;;;;;;;;;;-1:-1:-1;;53731:8:0;:15;;-1:-1:-1;;;;53731:15:0;-1:-1:-1;;;53731:15:0;;;-1:-1:-1;52286:1468:0;;;;-1:-1:-1;52286:1468:0;;-1:-1:-1;;;;;;52286:1468:0:o;48983:237::-;49075:10;;-1:-1:-1;;;;;49075:10:0;49061;:24;49053:48;;;;;-1:-1:-1;;;49053:48:0;;;;;;;;;;;;-1:-1:-1;;;49053:48:0;;;;;;;;;;;;;;;46894:5;49120:14;:31;;49112:59;;;;;-1:-1:-1;;;49112:59:0;;;;;;;;;;;;-1:-1:-1;;;49112:59:0;;;;;;;;;;;;;;;49182:13;:30;48983:237::o;48830:147::-;48912:10;;-1:-1:-1;;;;;48912:10:0;48898;:24;48890:48;;;;;-1:-1:-1;;;48890:48:0;;;;;;;;;;;;-1:-1:-1;;;48890:48:0;;;;;;;;;;;;;;;48949:8;:20;;-1:-1:-1;;;;;;48949:20:0;-1:-1:-1;;;;;48949:20:0;;;;;;;;;;48830:147::o;50918:138::-;50973:15;50991:23;51007:6;50991:15;:23::i;:::-;50973:41;;51025:23;51032:6;51040:7;51025:6;:23::i;49228:164::-;49303:8;;-1:-1:-1;;;;;49303:8:0;49289:10;:22;;:50;;-1:-1:-1;49329:10:0;;-1:-1:-1;;;;;49329:10:0;49315;:24;49289:50;49281:72;;;;;-1:-1:-1;;;49281:72:0;;;;;;;;;;;;-1:-1:-1;;;49281:72:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;49364:13:0;;;;;:5;:13;;;;;:20;;-1:-1:-1;;49364:20:0;49380:4;49364:20;;;49228:164::o;50410:296::-;50516:10;;-1:-1:-1;;;;;50516:10:0;50502;:24;50494:48;;;;;-1:-1:-1;;;50494:48:0;;;;;;;;;;;;-1:-1:-1;;;50494:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50561:15:0;;;50588:1;50561:15;;;:7;:15;;;;;;;50553:52;;;;;-1:-1:-1;;;50553:52:0;;;;;;;;;;;;-1:-1:-1;;;50553:52:0;;;;;;;;;;;;;;;50618:31;50624:6;50632:7;50641;50618:5;:31::i;:::-;50682:6;-1:-1:-1;;;;;50665:33:0;50673:7;-1:-1:-1;;;;;50665:33:0;;50690:7;50665:33;;;;;;;;;;;;;;;;;;50410:296;;;:::o;46854:45::-;46894:5;46854:45;:::o;47061:42::-;;;;;;;;;;;;-1:-1:-1;;;;;47061:42:0;;:::o;54271:209::-;-1:-1:-1;;;;;54385:15:0;;;54330;54385;;;:7;:15;;;;;;;;;54421:7;:15;;;;;;;54385;;;;54421;;;54271:209::o;49573:117::-;49629:53;49637:6;49652;-1:-1:-1;;;;;49645:24:0;;49670:10;49645:36;;;;;;;;;;;;;-1:-1:-1;;;;;49645:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49645:36:0;49629:7;:53::i;:::-;49573:117;:::o;54758:92::-;54829:6;:13;54758:92;:::o;48683:139::-;48761:10;;-1:-1:-1;;;;;48761:10:0;48747;:24;48739:48;;;;;-1:-1:-1;;;48739:48:0;;;;;;;;;;;;-1:-1:-1;;;48739:48:0;;;;;;;;;;;;;;;48798:6;:16;;-1:-1:-1;;;;;;48798:16:0;-1:-1:-1;;;;;48798:16:0;;;;;;;;;;48683:139::o;54488:262::-;54584:6;:13;54531:24;;54584:13;54618:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54618:28:0;;54608:38;;54662:9;54657:86;54681:6;54677:1;:10;54657:86;;;54722:6;54729:1;54722:9;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54722:9:0;54709:7;54717:1;54709:10;;;;;;;;-1:-1:-1;;;;;54709:22:0;;;:10;;;;;;;;;;;:22;54689:3;;54657:86;;;;54488:262;;:::o;54130:133::-;54189:7;54223:6;-1:-1:-1;;;;;54216:24:0;;54249:4;54216:39;;;;;;;;;;;;;-1:-1:-1;;;;;54216:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54216:39:0;;-1:-1:-1;54130:133:0;;;;:::o;54858:220::-;54911:16;54930:20;54943:6;54930:12;:20::i;:::-;54989:10;;54911:39;;-1:-1:-1;54961:49:0;;-1:-1:-1;;;;;54961:27:0;;;;54989:10;54911:39;54961:27;:49::i;:::-;55033:10;;;55021:49;;;-1:-1:-1;;;55021:49:0;;-1:-1:-1;;;;;55021:49:0;;;;;;;;;;;;;;;;;;55033:10;;;;;55021:31;;:49;;;;;55033:10;;55021:49;;;;;;;;55033:10;;55021:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54858:220;;:::o;46624:32::-;;;-1:-1:-1;;;;;46624:32:0;;:::o;46725:25::-;;;-1:-1:-1;;;;;46725:25:0;;:::o;47935:191::-;48020:8;;-1:-1:-1;;;;;48020:8:0;48006:10;:22;;:50;;-1:-1:-1;48046:10:0;;-1:-1:-1;;;;;48046:10:0;48032;:24;48006:50;47998:72;;;;;-1:-1:-1;;;47998:72:0;;;;;;;;;;;;-1:-1:-1;;;47998:72:0;;;;;;;;;;;;;;;48094:10;;:24;;48109:8;48094:14;:24::i;:::-;48081:10;:37;-1:-1:-1;47935:191:0:o;53762:360::-;-1:-1:-1;;;;;53871:15:0;;;53824:7;53871:15;;;:7;:15;;;;;;;;;53864:45;;-1:-1:-1;;;53864:45:0;;53898:10;53864:45;;;;;;53824:7;;;;53871:15;;;53864:33;;:45;;;;;;;;;;;53871:15;53864:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53864:45:0;-1:-1:-1;;;;;53947:15:0;;;53920:17;53947:15;;;:7;53864:45;53947:15;;;;;;;;53940:45;;-1:-1:-1;;;53940:45:0;;53974:10;53940:45;;;;;;53864;;-1:-1:-1;53920:17:0;;53947:15;;;;;53940:33;;:45;;;;;53864;53940;;;;;53947:15;53940:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53940:45:0;;-1:-1:-1;54000:21:0;;;53996:119;;;54045:9;-1:-1:-1;54038:16:0;;-1:-1:-1;54038:16:0;53996:119;-1:-1:-1;54094:9:0;-1:-1:-1;54087:16:0;;43389:177;43499:58;;;-1:-1:-1;;;;;43499:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43499:58:0;-1:-1:-1;;;43499:58:0;;;43472:86;;43492:5;;43472:19;:86::i;:::-;43389:177;;;:::o;12032:136::-;12090:7;12117:43;12121:1;12124;12117:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;12110:50;;12032:136;;;;;:::o;12922:471::-;12980:7;13225:6;13221:47;;-1:-1:-1;13255:1:0;13248:8;;13221:47;13292:5;;;13296:1;13292;:5;:1;13316:5;;;;;:10;13308:56;;;;-1:-1:-1;;;13308:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13869:132;13927:7;13954:39;13958:1;13961;13954:39;;;;;;;;;;;;;;;;;:3;:39::i;43574:205::-;43702:68;;;-1:-1:-1;;;;;43702:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43702:68:0;-1:-1:-1;;;43702:68:0;;;43675:96;;43695:5;;43675:19;:96::i;:::-;43574:205;;;;:::o;50714:196::-;-1:-1:-1;;;;;50806:15:0;;;;;;;:7;:15;;;;;;;50799:46;;-1:-1:-1;;;50799:46:0;;;;;;;;;;;;;;;;;50806:15;;;50799:28;;:46;;;;;50806:15;;50799:46;;;;;;50806:15;;50799:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;50863:15:0;;;;;;;:7;:15;;;;;;;50856:46;;-1:-1:-1;;;50856:46:0;;;;;;;;;;;;;;;;;50863:15;;;-1:-1:-1;50856:28:0;;:46;;;;;50863:15;50856:46;;;;;50863:15;;50856:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50714:196;;;:::o;11568:181::-;11626:7;11658:5;;;11682:6;;;;11674:46;;;;;-1:-1:-1;;;11674:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;45694:761;46118:23;46144:69;46172:4;46144:69;;;;;;;;;;;;;;;;;46152:5;-1:-1:-1;;;;;46144:27:0;;;:69;;;;;:::i;:::-;46228:17;;46118:95;;-1:-1:-1;46228:21:0;46224:224;;46370:10;46359:30;;;;;;;;;;;;;;;-1:-1:-1;46359:30:0;46351:85;;;;-1:-1:-1;;;46351:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12471:192;12557:7;12593:12;12585:6;;;;12577:29;;;;-1:-1:-1;;;12577:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12629:5:0;;;12471:192::o;14497:278::-;14583:7;14618:12;14611:5;14603:28;;;;-1:-1:-1;;;14603:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14642:9;14658:1;14654;:5;;;;;;;14497:278;-1:-1:-1;;;;;14497:278:0:o;4569:196::-;4672:12;4704:53;4727:6;4735:4;4741:1;4744:12;4704:22;:53::i;:::-;4697:60;4569:196;-1:-1:-1;;;;4569:196:0:o;5946:979::-;6076:12;6109:18;6120:6;6109:10;:18::i;:::-;6101:60;;;;;-1:-1:-1;;;6101:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6235:12;6249:23;6276:6;-1:-1:-1;;;;;6276:11:0;6296:8;6307:4;6276:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6276:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6234:78;;;;6327:7;6323:595;;;6358:10;-1:-1:-1;6351:17:0;;-1:-1:-1;6351:17:0;6323:595;6472:17;;:21;6468:439;;6735:10;6729:17;6796:15;6783:10;6779:2;6775:19;6768:44;6683:148;6871:20;;-1:-1:-1;;;6871:20:0;;;;;;;;;;;;;;;;;6878:12;;6871:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1454:619;1514:4;1982:20;;1825:66;2022:23;;;;;;:42;;-1:-1:-1;;2049:15:0;;;2014:51;-1:-1:-1;;1454:619:0:o;-1:-1:-1:-;;;;;;;;:::o;:::-;;;;;;;;:::o
Swarm Source
ipfs://185fdeac61c1a9e62219d3f7c2ce0d0257975f019015347559815ac858140fe1
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.