Overview
ETH Balance
0.1 ETH
Eth Value
$310.26 (@ $3,102.57/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 114 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Poke From Report... | 16545122 | 655 days ago | IN | 0 ETH | 0.00641945 | ||||
Poke From Report... | 16509332 | 660 days ago | IN | 0 ETH | 0.00467257 | ||||
Poke From Report... | 16473510 | 665 days ago | IN | 0 ETH | 0.00317259 | ||||
Poke From Report... | 16437688 | 670 days ago | IN | 0 ETH | 0.00586584 | ||||
Poke From Report... | 16321257 | 687 days ago | IN | 0 ETH | 0.00321997 | ||||
Poke From Report... | 16285418 | 692 days ago | IN | 0 ETH | 0.00842255 | ||||
Poke From Report... | 16249587 | 697 days ago | IN | 0 ETH | 0.00268271 | ||||
Poke From Report... | 16205999 | 703 days ago | IN | 0 ETH | 0.00618225 | ||||
Poke From Report... | 16170196 | 708 days ago | IN | 0 ETH | 0.00394884 | ||||
Poke From Report... | 16134385 | 713 days ago | IN | 0 ETH | 0.005601 | ||||
Poke From Report... | 16085199 | 720 days ago | IN | 0 ETH | 0.00234124 | ||||
Poke From Report... | 16049391 | 725 days ago | IN | 0 ETH | 0.0034795 | ||||
Poke From Report... | 15953644 | 738 days ago | IN | 0 ETH | 0.00294764 | ||||
Poke From Report... | 15917851 | 743 days ago | IN | 0 ETH | 0.004316 | ||||
Poke From Report... | 15827696 | 756 days ago | IN | 0 ETH | 0.00463531 | ||||
Poke From Report... | 15805675 | 759 days ago | IN | 0 ETH | 0.00715497 | ||||
Poke From Report... | 15697029 | 774 days ago | IN | 0 ETH | 0.00893961 | ||||
Poke From Report... | 15661267 | 779 days ago | IN | 0 ETH | 0.0024183 | ||||
Poke From Report... | 15625464 | 784 days ago | IN | 0 ETH | 0.01198181 | ||||
Poke From Report... | 15589650 | 789 days ago | IN | 0 ETH | 0.00537686 | ||||
Poke From Report... | 15554063 | 794 days ago | IN | 0 ETH | 0.00614969 | ||||
Poke From Report... | 15505619 | 802 days ago | IN | 0 ETH | 0.00258318 | ||||
Poke From Report... | 15474615 | 807 days ago | IN | 0 ETH | 0.00249743 | ||||
Poke From Report... | 15435580 | 813 days ago | IN | 0 ETH | 0.00271414 | ||||
Poke From Report... | 15404359 | 818 days ago | IN | 0 ETH | 0.00782837 |
Loading...
Loading
Contract Name:
SushiPowerIndexRouter
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-25 */ /** *Submitted for verification at Etherscan.io on 2021-05-07 */ /* https://powerpool.finance/ wrrrw r wrr ppwr rrr wppr0 prwwwrp prwwwrp wr0 rr 0rrrwrrprpwp0 pp pr prrrr0 pp 0r prrrr0 0rwrrr pp pr prrrr0 prrrr0 r0 rrp pr wr00rrp prwww0 pp wr pp w00r prwwwpr 0rw prwww0 pp wr pp wr r0 r0rprprwrrrp pr0 pp wr pr pp rwwr wr 0r pp wr pr wr pr r0 prwr wrr0wpwr 00 www0 0w0ww www0 0w 00 www0 www0 0www0 wrr ww0rrrr */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IPiRouterFactory { function buildRouter(address _piToken, bytes calldata _args) external returns (address); } // File: contracts/interfaces/sushi/ISushiBar.sol interface ISushiBar { function enter(uint256 _amount) external; function leave(uint256 _amount) external; } // File: @powerpool/poweroracle/contracts/interfaces/IPowerPoke.sol pragma experimental ABIEncoderV2; interface IPowerPoke { /*** CLIENT'S CONTRACT INTERFACE ***/ function authorizeReporter(uint256 userId_, address pokerKey_) external view; function authorizeNonReporter(uint256 userId_, address pokerKey_) external view; function authorizeNonReporterWithDeposit( uint256 userId_, address pokerKey_, uint256 overrideMinDeposit_ ) external view; function authorizePoker(uint256 userId_, address pokerKey_) external view; function authorizePokerWithDeposit( uint256 userId_, address pokerKey_, uint256 overrideMinStake_ ) external view; function slashReporter(uint256 slasherId_, uint256 times_) external; function reward( uint256 userId_, uint256 gasUsed_, uint256 compensationPlan_, bytes calldata pokeOptions_ ) external; /*** CLIENT OWNER INTERFACE ***/ function transferClientOwnership(address client_, address to_) external; function addCredit(address client_, uint256 amount_) external; function withdrawCredit( address client_, address to_, uint256 amount_ ) external; function setReportIntervals( address client_, uint256 minReportInterval_, uint256 maxReportInterval_ ) external; function setSlasherHeartbeat(address client_, uint256 slasherHeartbeat_) external; function setGasPriceLimit(address client_, uint256 gasPriceLimit_) external; function setFixedCompensations( address client_, uint256 eth_, uint256 cvp_ ) external; function setBonusPlan( address client_, uint256 planId_, bool active_, uint64 bonusNominator_, uint64 bonusDenominator_, uint64 perGas_ ) external; function setMinimalDeposit(address client_, uint256 defaultMinDeposit_) external; /*** POKER INTERFACE ***/ function withdrawRewards(uint256 userId_, address to_) external; function setPokerKeyRewardWithdrawAllowance(uint256 userId_, bool allow_) external; /*** OWNER INTERFACE ***/ function addClient( address client_, address owner_, bool canSlash_, uint256 gasPriceLimit_, uint256 minReportInterval_, uint256 maxReportInterval_ ) external; function setClientActiveFlag(address client_, bool active_) external; function setCanSlashFlag(address client_, bool canSlash) external; function setOracle(address oracle_) external; function pause() external; function unpause() external; /*** GETTERS ***/ function creditOf(address client_) external view returns (uint256); function ownerOf(address client_) external view returns (address); function getMinMaxReportIntervals(address client_) external view returns (uint256 min, uint256 max); function getSlasherHeartbeat(address client_) external view returns (uint256); function getGasPriceLimit(address client_) external view returns (uint256); function getPokerBonus( address client_, uint256 bonusPlanId_, uint256 gasUsed_, uint256 userDeposit_ ) external view returns (uint256); function getGasPriceFor(address client_) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @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); } // File: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ 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; } } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { 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); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol /** * @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: contracts/interfaces/WrappedPiErc20Interface.sol interface WrappedPiErc20Interface is IERC20 { function deposit(uint256 _amount) external payable returns (uint256); function withdraw(uint256 _amount) external payable returns (uint256); function changeRouter(address _newRouter) external; function setEthFee(uint256 _newEthFee) external; function withdrawEthFee(address payable receiver) external; function approveUnderlying(address _to, uint256 _amount) external; function callExternal( address voting, bytes4 signature, bytes calldata args, uint256 value ) external; struct ExternalCallData { address destination; bytes4 signature; bytes args; uint256 value; } function callExternalMultiple(ExternalCallData[] calldata calls) external; function getUnderlyingBalance() external view returns (uint256); } // File: contracts/interfaces/IPoolRestrictions.sol interface IPoolRestrictions { function getMaxTotalSupply(address _pool) external view returns (uint256); function isVotingSignatureAllowed(address _votingAddress, bytes4 _signature) external view returns (bool); function isVotingSenderAllowed(address _votingAddress, address _sender) external view returns (bool); function isWithoutFee(address _addr) external view returns (bool); } // File: contracts/interfaces/PowerIndexBasicRouterInterface.sol interface PowerIndexBasicRouterInterface { function setVotingAndStaking(address _voting, address _staking) external; function setReserveConfig(uint256 _reserveRatio, uint256 _claimRewardsInterval) external; function getPiEquivalentForUnderlying( uint256 _underlyingAmount, IERC20 _underlyingToken, uint256 _piTotalSupply ) external view returns (uint256); function getPiEquivalentForUnderlyingPure( uint256 _underlyingAmount, uint256 _totalUnderlyingWrapped, uint256 _piTotalSupply ) external pure returns (uint256); function getUnderlyingEquivalentForPi( uint256 _piAmount, IERC20 _underlyingToken, uint256 _piTotalSupply ) external view returns (uint256); function getUnderlyingEquivalentForPiPure( uint256 _piAmount, uint256 _totalUnderlyingWrapped, uint256 _piTotalSupply ) external pure returns (uint256); } // File: contracts/interfaces/BMathInterface.sol interface BMathInterface { function calcInGivenOut( uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee ) external pure returns (uint256 tokenAmountIn); function calcSingleInGivenPoolOut( uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee ) external pure returns (uint256 tokenAmountIn); } // File: contracts/interfaces/BPoolInterface.sol interface BPoolInterface is IERC20, BMathInterface { function joinPool(uint256 poolAmountOut, uint256[] calldata maxAmountsIn) external; function exitPool(uint256 poolAmountIn, uint256[] calldata minAmountsOut) external; function swapExactAmountIn( address, uint256, address, uint256, uint256 ) external returns (uint256, uint256); function swapExactAmountOut( address, uint256, address, uint256, uint256 ) external returns (uint256, uint256); function joinswapExternAmountIn( address, uint256, uint256 ) external returns (uint256); function joinswapPoolAmountOut( address, uint256, uint256 ) external returns (uint256); function exitswapPoolAmountIn( address, uint256, uint256 ) external returns (uint256); function exitswapExternAmountOut( address, uint256, uint256 ) external returns (uint256); function getDenormalizedWeight(address) external view returns (uint256); function getBalance(address) external view returns (uint256); function getSwapFee() external view returns (uint256); function getTotalDenormalizedWeight() external view returns (uint256); function getCommunityFee() external view returns ( uint256, uint256, uint256, address ); function calcAmountWithCommunityFee( uint256, uint256, address ) external view returns (uint256, uint256); function getRestrictions() external view returns (address); function isPublicSwap() external view returns (bool); function isFinalized() external view returns (bool); function isBound(address t) external view returns (bool); function getCurrentTokens() external view returns (address[] memory tokens); function getFinalTokens() external view returns (address[] memory tokens); function setSwapFee(uint256) external; function setCommunityFeeAndReceiver( uint256, uint256, uint256, address ) external; function setController(address) external; function setPublicSwap(bool) external; function finalize() external; function bind( address, uint256, uint256 ) external; function rebind( address, uint256, uint256 ) external; function unbind(address) external; function gulp(address) external; function callVoting( address voting, bytes4 signature, bytes calldata args, uint256 value ) external; function getMinWeight() external view returns (uint256); function getMaxBoundTokens() external view returns (uint256); } // File: @openzeppelin/contracts/GSN/Context.sol /* * @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; } } // File: @openzeppelin/contracts/access/Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/interfaces/PowerIndexNaiveRouterInterface.sol interface PowerIndexNaiveRouterInterface { function migrateToNewRouter( address _piToken, address payable _newRouter, address[] memory _tokens ) external; function piTokenCallback(address sender, uint256 _withdrawAmount) external payable; } // File: contracts/powerindex-router/PowerIndexNaiveRouter.sol contract PowerIndexNaiveRouter is PowerIndexNaiveRouterInterface, Ownable { using SafeMath for uint256; function migrateToNewRouter( address _piToken, address payable _newRouter, address[] memory _tokens ) public virtual override onlyOwner { WrappedPiErc20Interface(_piToken).changeRouter(_newRouter); } function piTokenCallback(address sender, uint256 _withdrawAmount) external payable virtual override { // DO NOTHING } } // File: contracts/powerindex-router/PowerIndexBasicRouter.sol contract PowerIndexBasicRouter is PowerIndexBasicRouterInterface, PowerIndexNaiveRouter { using SafeERC20 for IERC20; uint256 public constant HUNDRED_PCT = 1 ether; event SetVotingAndStaking(address indexed voting, address indexed staking); event SetReserveConfig(uint256 ratio, uint256 claimRewardsInterval); event SetRebalancingInterval(uint256 rebalancingInterval); event IgnoreRebalancing(uint256 blockTimestamp, uint256 lastRebalancedAt, uint256 rebalancingInterval); event RewardPool(address indexed pool, uint256 amount); event SetRewardPools(uint256 len, address[] rewardPools); event SetPvpFee(uint256 pvpFee); enum ReserveStatus { EQUILIBRIUM, SHORTAGE, EXCESS } struct BasicConfig { address poolRestrictions; address powerPoke; address voting; address staking; uint256 reserveRatio; uint256 reserveRatioToForceRebalance; uint256 claimRewardsInterval; address pvp; uint256 pvpFee; address[] rewardPools; } WrappedPiErc20Interface public immutable piToken; address public immutable pvp; IPoolRestrictions public poolRestrictions; IPowerPoke public powerPoke; address public voting; address public staking; uint256 public reserveRatio; uint256 public claimRewardsInterval; uint256 public lastClaimRewardsAt; uint256 public lastRebalancedAt; uint256 public reserveRatioToForceRebalance; // 1 ether == 100% uint256 public pvpFee; address[] internal rewardPools; uint256 internal constant COMPENSATION_PLAN_1_ID = 1; modifier onlyPiToken() { require(msg.sender == address(piToken), "ONLY_PI_TOKEN_ALLOWED"); _; } modifier onlyEOA() { require(tx.origin == msg.sender, "ONLY_EOA"); _; } modifier onlyReporter(uint256 _reporterId, bytes calldata _rewardOpts) { uint256 gasStart = gasleft(); powerPoke.authorizeReporter(_reporterId, msg.sender); _; _reward(_reporterId, gasStart, COMPENSATION_PLAN_1_ID, _rewardOpts); } modifier onlyNonReporter(uint256 _reporterId, bytes calldata _rewardOpts) { uint256 gasStart = gasleft(); powerPoke.authorizeNonReporter(_reporterId, msg.sender); _; _reward(_reporterId, gasStart, COMPENSATION_PLAN_1_ID, _rewardOpts); } constructor(address _piToken, BasicConfig memory _basicConfig) public PowerIndexNaiveRouter() Ownable() { require(_piToken != address(0), "INVALID_PI_TOKEN"); require(_basicConfig.reserveRatio <= HUNDRED_PCT, "RR_GT_HUNDRED_PCT"); require(_basicConfig.pvpFee < HUNDRED_PCT, "PVP_FEE_GTE_HUNDRED_PCT"); require(_basicConfig.pvp != address(0), "INVALID_PVP_ADDR"); require(_basicConfig.poolRestrictions != address(0), "INVALID_POOL_RESTRICTIONS_ADDR"); piToken = WrappedPiErc20Interface(_piToken); poolRestrictions = IPoolRestrictions(_basicConfig.poolRestrictions); powerPoke = IPowerPoke(_basicConfig.powerPoke); voting = _basicConfig.voting; staking = _basicConfig.staking; reserveRatio = _basicConfig.reserveRatio; reserveRatioToForceRebalance = _basicConfig.reserveRatioToForceRebalance; claimRewardsInterval = _basicConfig.claimRewardsInterval; pvp = _basicConfig.pvp; pvpFee = _basicConfig.pvpFee; rewardPools = _basicConfig.rewardPools; } receive() external payable {} /*** OWNER METHODS ***/ /** * @dev Changing the staking address with a positive underlying stake will break `getPiEquivalentForUnderlying` * formula. Consider moving all the reserves to the piToken contract before doing this. */ function setVotingAndStaking(address _voting, address _staking) external override onlyOwner { voting = _voting; staking = _staking; emit SetVotingAndStaking(_voting, _staking); } function setReserveConfig(uint256 _reserveRatio, uint256 _claimRewardsInterval) public virtual override onlyOwner { require(_reserveRatio <= HUNDRED_PCT, "RR_GREATER_THAN_100_PCT"); reserveRatio = _reserveRatio; claimRewardsInterval = _claimRewardsInterval; emit SetReserveConfig(_reserveRatio, _claimRewardsInterval); } function setRewardPools(address[] calldata _rewardPools) external onlyOwner { require(_rewardPools.length > 0, "AT_LEAST_ONE_EXPECTED"); rewardPools = _rewardPools; emit SetRewardPools(_rewardPools.length, _rewardPools); } function setPvpFee(uint256 _pvpFee) external onlyOwner { require(_pvpFee < HUNDRED_PCT, "PVP_FEE_OVER_THE_LIMIT"); pvpFee = _pvpFee; emit SetPvpFee(_pvpFee); } function setPiTokenEthFee(uint256 _ethFee) external onlyOwner { require(_ethFee <= 0.1 ether, "ETH_FEE_OVER_THE_LIMIT"); piToken.setEthFee(_ethFee); } function withdrawEthFee(address payable _receiver) external onlyOwner { piToken.withdrawEthFee(_receiver); } function migrateToNewRouter( address _piToken, address payable _newRouter, address[] memory _tokens ) public override onlyOwner { super.migrateToNewRouter(_piToken, _newRouter, _tokens); _newRouter.transfer(address(this).balance); uint256 len = _tokens.length; for (uint256 i = 0; i < len; i++) { IERC20 t = IERC20(_tokens[i]); t.safeTransfer(_newRouter, t.balanceOf(address(this))); } } function pokeFromReporter( uint256 _reporterId, bool _claimAndDistributeRewards, bytes calldata _rewardOpts ) external onlyReporter(_reporterId, _rewardOpts) onlyEOA { (uint256 minInterval, ) = _getMinMaxReportInterval(); (ReserveStatus status, uint256 diff, bool forceRebalance) = getReserveStatus(_getUnderlyingStaked(), 0); require(forceRebalance || lastRebalancedAt + minInterval < block.timestamp, "MIN_INTERVAL_NOT_REACHED"); require(status != ReserveStatus.EQUILIBRIUM, "RESERVE_STATUS_EQUILIBRIUM"); _rebalancePoke(status, diff); _postPoke(_claimAndDistributeRewards); } function pokeFromSlasher( uint256 _reporterId, bool _claimAndDistributeRewards, bytes calldata _rewardOpts ) external onlyNonReporter(_reporterId, _rewardOpts) onlyEOA { (, uint256 maxInterval) = _getMinMaxReportInterval(); (ReserveStatus status, uint256 diff, bool forceRebalance) = getReserveStatus(_getUnderlyingStaked(), 0); require(forceRebalance || lastRebalancedAt + maxInterval < block.timestamp, "MAX_INTERVAL_NOT_REACHED"); require(status != ReserveStatus.EQUILIBRIUM, "RESERVE_STATUS_EQUILIBRIUM"); _rebalancePoke(status, diff); _postPoke(_claimAndDistributeRewards); } function poke(bool _claimAndDistributeRewards) external onlyEOA { (ReserveStatus status, uint256 diff, ) = getReserveStatus(_getUnderlyingStaked(), 0); _rebalancePoke(status, diff); _postPoke(_claimAndDistributeRewards); } function _postPoke(bool _claimAndDistributeRewards) internal { lastRebalancedAt = block.timestamp; if (_claimAndDistributeRewards && lastClaimRewardsAt + claimRewardsInterval < block.timestamp) { _claimRewards(); _distributeRewards(); lastClaimRewardsAt = block.timestamp; } } function _rebalancePoke(ReserveStatus reserveStatus, uint256 sushiDiff) internal virtual { // need to redefine in implementation } function _claimRewards() internal virtual { // need to redefine in implementation } function _distributeRewards() internal virtual { // need to redefine in implementation } function _callVoting(bytes4 _sig, bytes memory _data) internal { piToken.callExternal(voting, _sig, _data, 0); } function _callStaking(bytes4 _sig, bytes memory _data) internal { piToken.callExternal(staking, _sig, _data, 0); } function _checkVotingSenderAllowed() internal view { require(poolRestrictions.isVotingSenderAllowed(voting, msg.sender), "SENDER_NOT_ALLOWED"); } function _distributeRewardToPvp(uint256 _totalReward, IERC20 _underlying) internal returns (uint256 pvpReward, uint256 remainder) { pvpReward = 0; remainder = 0; if (pvpFee > 0) { pvpReward = _totalReward.mul(pvpFee).div(HUNDRED_PCT); remainder = _totalReward.sub(pvpReward); _underlying.safeTransfer(pvp, pvpReward); } else { remainder = _totalReward; } } function _distributePiRemainderToPools(IERC20 _piToken) internal returns (uint256 piBalanceToDistribute, address[] memory pools) { pools = rewardPools; uint256 poolsLen = pools.length; require(poolsLen > 0, "MISSING_REWARD_POOLS"); piBalanceToDistribute = piToken.balanceOf(address(this)); require(piBalanceToDistribute > 0, "NO_POOL_REWARDS_PI"); uint256 totalPiOnPools = 0; for (uint256 i = 0; i < poolsLen; i++) { totalPiOnPools = totalPiOnPools.add(_piToken.balanceOf(pools[i])); } require(totalPiOnPools > 0, "TOTAL_PI_IS_0"); for (uint256 i = 0; i < poolsLen; i++) { address pool = pools[i]; uint256 poolPiBalance = piToken.balanceOf(pool); if (poolPiBalance == 0) { continue; } uint256 poolReward = piBalanceToDistribute.mul(poolPiBalance) / totalPiOnPools; piToken.transfer(pool, poolReward); BPoolInterface(pool).gulp(address(piToken)); emit RewardPool(pool, poolReward); } } /* * @dev Getting status and diff of actual staked balance and target reserve balance. */ function getReserveStatusForStakedBalance() public view returns ( ReserveStatus status, uint256 diff, bool forceRebalance ) { return getReserveStatus(_getUnderlyingStaked(), 0); } /* * @dev Getting status and diff of provided staked balance and target reserve balance. */ function getReserveStatus(uint256 _stakedBalance, uint256 _withdrawAmount) public view returns ( ReserveStatus status, uint256 diff, bool forceRebalance ) { uint256 expectedReserveAmount; (status, diff, expectedReserveAmount) = getReserveStatusPure( reserveRatio, piToken.getUnderlyingBalance(), _stakedBalance, _withdrawAmount ); if (status == ReserveStatus.SHORTAGE) { uint256 currentRatio = expectedReserveAmount.sub(diff).mul(HUNDRED_PCT).div(expectedReserveAmount); forceRebalance = reserveRatioToForceRebalance >= currentRatio; } } // NOTICE: could/should be changed depending on implementation function _getUnderlyingStaked() internal view virtual returns (uint256) { if (staking == address(0)) { return 0; } return IERC20(staking).balanceOf(address(piToken)); } function getUnderlyingStaked() external view returns (uint256) { return _getUnderlyingStaked(); } function getRewardPools() external view returns (address[] memory) { return rewardPools; } function getPiEquivalentForUnderlying( uint256 _underlyingAmount, IERC20 _underlyingToken, uint256 _piTotalSupply ) public view virtual override returns (uint256) { uint256 underlyingOnPiToken = _underlyingToken.balanceOf(address(piToken)); return getPiEquivalentForUnderlyingPure( _underlyingAmount, // underlyingOnPiToken + underlyingOnStaking, underlyingOnPiToken.add(_getUnderlyingStaked()), _piTotalSupply ); } function getPiEquivalentForUnderlyingPure( uint256 _underlyingAmount, uint256 _totalUnderlyingWrapped, uint256 _piTotalSupply ) public pure virtual override returns (uint256) { if (_piTotalSupply == 0) { return _underlyingAmount; } // return _piTotalSupply * _underlyingAmount / _totalUnderlyingWrapped; return _piTotalSupply.mul(_underlyingAmount).div(_totalUnderlyingWrapped); } function getUnderlyingEquivalentForPi( uint256 _piAmount, IERC20 _underlyingToken, uint256 _piTotalSupply ) public view virtual override returns (uint256) { uint256 underlyingOnPiToken = _underlyingToken.balanceOf(address(piToken)); return getUnderlyingEquivalentForPiPure( _piAmount, // underlyingOnPiToken + underlyingOnStaking, underlyingOnPiToken.add(_getUnderlyingStaked()), _piTotalSupply ); } function getUnderlyingEquivalentForPiPure( uint256 _piAmount, uint256 _totalUnderlyingWrapped, uint256 _piTotalSupply ) public pure virtual override returns (uint256) { if (_piTotalSupply == 0) { return _piAmount; } // _piAmount * _totalUnderlyingWrapped / _piTotalSupply; return _totalUnderlyingWrapped.mul(_piAmount).div(_piTotalSupply); } /** * @notice Calculates the desired reserve status * @param _reserveRatioPct The reserve ratio in %, 1 ether == 100 ether * @param _leftOnPiToken The amount of origin tokens left on the piToken (WrappedPiErc20) contract * @param _stakedBalance The amount of original tokens staked on the staking contract * @param _withdrawAmount The amount to be withdrawn within the current transaction * (could be negative in a case of deposit) * @return status The reserve status: * * SHORTAGE - There is not enough underlying funds on the wrapper contract to satisfy the reserve ratio, * the diff amount should be redeemed from the staking contract * * EXCESS - there are some extra funds over reserve ratio on the wrapper contract, * the diff amount should be sent to the staking contract * * EQUILIBRIUM - the reserve ratio hasn't changed, * the diff amount is 0 and there are no additional stake/redeem actions expected * @return diff The difference between `adjustedReserveAmount` and `_leftOnWrapper` * @return expectedReserveAmount The calculated expected reserve amount */ function getReserveStatusPure( uint256 _reserveRatioPct, uint256 _leftOnPiToken, uint256 _stakedBalance, uint256 _withdrawAmount ) public pure returns ( ReserveStatus status, uint256 diff, uint256 expectedReserveAmount ) { require(_reserveRatioPct <= HUNDRED_PCT, "RR_GREATER_THAN_100_PCT"); expectedReserveAmount = getExpectedReserveAmount(_reserveRatioPct, _leftOnPiToken, _stakedBalance, _withdrawAmount); if (expectedReserveAmount > _leftOnPiToken) { status = ReserveStatus.SHORTAGE; diff = expectedReserveAmount.sub(_leftOnPiToken); } else if (expectedReserveAmount < _leftOnPiToken) { status = ReserveStatus.EXCESS; diff = _leftOnPiToken.sub(expectedReserveAmount); } else { status = ReserveStatus.EQUILIBRIUM; diff = 0; } } /** * @notice Calculates an expected reserve amount after the transaction taking into an account the withdrawAmount * @param _reserveRatioPct % of a reserve ratio, 1 ether == 100% * @param _leftOnPiToken The amount of origin tokens left on the piToken (WrappedPiErc20) contract * @param _stakedBalance The amount of original tokens staked on the staking contract * @param _withdrawAmount The amount to be withdrawn within the current transaction * (could be negative in a case of deposit) * @return expectedReserveAmount The expected reserve amount * * / %reserveRatio * (staked + _leftOnPiToken - withdrawAmount) \ * expectedReserveAmount = | ------------------------------------------------------------| + withdrawAmount * \ 100% / */ function getExpectedReserveAmount( uint256 _reserveRatioPct, uint256 _leftOnPiToken, uint256 _stakedBalance, uint256 _withdrawAmount ) public pure returns (uint256) { return _reserveRatioPct.mul(_stakedBalance.add(_leftOnPiToken).sub(_withdrawAmount)).div(HUNDRED_PCT).add( _withdrawAmount ); } function _reward( uint256 _reporterId, uint256 _gasStart, uint256 _compensationPlan, bytes calldata _rewardOpts ) internal { powerPoke.reward(_reporterId, _gasStart.sub(gasleft()), _compensationPlan, _rewardOpts); } function _getMinMaxReportInterval() internal view returns (uint256 min, uint256 max) { return powerPoke.getMinMaxReportIntervals(address(this)); } } // File: contracts/powerindex-router/implementations/SushiPowerIndexRouter.sol contract SushiPowerIndexRouter is PowerIndexBasicRouter { event Stake(address indexed sender, uint256 amount); event Redeem(address indexed sender, uint256 amount); event IgnoreDueMissingStaking(); event ClaimRewards( address indexed sender, uint256 xSushiBurned, uint256 expectedSushiReward, uint256 releasedSushiReward ); event DistributeRewards( address indexed sender, uint256 sushiReward, uint256 pvpReward, uint256 poolRewardsUnderlying, uint256 poolRewardsPi, address[] pools ); struct SushiConfig { address SUSHI; } IERC20 internal immutable SUSHI; constructor( address _piToken, BasicConfig memory _basicConfig, SushiConfig memory _sushiConfig ) public PowerIndexBasicRouter(_piToken, _basicConfig) { SUSHI = IERC20(_sushiConfig.SUSHI); } /*** PERMISSIONLESS REWARD CLAIMING AND DISTRIBUTION ***/ /** * @notice Withdraws the extra staked SUSHI as a reward and transfers it to the router */ function _claimRewards() internal override { uint256 rewardsPending = getPendingRewards(); require(rewardsPending > 0, "NOTHING_TO_CLAIM"); uint256 sushiBefore = SUSHI.balanceOf(address(piToken)); uint256 xSushiToBurn = getXSushiForSushi(rewardsPending); // Step #1. Claim the excess of SUSHI from SushiBar _callStaking(ISushiBar.leave.selector, abi.encode(xSushiToBurn)); uint256 released = SUSHI.balanceOf(address(piToken)).sub(sushiBefore); require(released > 0, "NOTHING_RELEASED"); // Step #2. Transfer the claimed SUSHI to the router piToken.callExternal(address(SUSHI), SUSHI.transfer.selector, abi.encode(address(this), released), 0); emit ClaimRewards(msg.sender, xSushiToBurn, rewardsPending, released); } /** * @notice Wraps the router's SUSHIs into piTokens and transfers it to the pools proportionally their SUSHI balances */ function _distributeRewards() internal override { uint256 pendingReward = SUSHI.balanceOf(address(this)); require(pendingReward > 0, "NO_PENDING_REWARD"); // Step #1. Distribute pvpReward (uint256 pvpReward, uint256 poolRewardsUnderlying) = _distributeRewardToPvp(pendingReward, SUSHI); require(poolRewardsUnderlying > 0, "NO_POOL_REWARDS_UNDERLYING"); // Step #2. Wrap SUSHI into piSUSHI SUSHI.approve(address(piToken), poolRewardsUnderlying); piToken.deposit(poolRewardsUnderlying); // Step #3. Distribute piSUSHI over the pools (uint256 poolRewardsPi, address[] memory pools) = _distributePiRemainderToPools(piToken); emit DistributeRewards(msg.sender, pendingReward, pvpReward, poolRewardsUnderlying, poolRewardsPi, pools); } /*** VIEWERS ***/ /** * @notice Get the amount of xSUSHI tokens SushiBar will mint in exchange of the given SUSHI tokens * @param _sushi The input amount of SUSHI tokens * @return The corresponding amount of xSUSHI tokens */ function getXSushiForSushi(uint256 _sushi) public view returns (uint256) { return _sushi.mul(IERC20(staking).totalSupply()) / SUSHI.balanceOf(staking); } /** * @notice Get the amount of SUSHI tokens SushiBar will release in exchange of the given xSUSHI tokens * @param _xSushi The input amount of xSUSHI tokens * @return The corresponding amount of SUSHI tokens */ function getSushiForXSushi(uint256 _xSushi) public view returns (uint256) { return _xSushi.mul(SUSHI.balanceOf(staking)) / IERC20(staking).totalSupply(); } /** * @notice Get the total amount of SUSHI tokens could be released in exchange of the piToken's xSUSHI balance. * Is comprised of the underlyingStaked and the pendingRewards. * @return The SUSHI amount */ function getUnderlyingBackedByXSushi() public view returns (uint256) { if (staking == address(0)) { return 0; } uint256 xSushiAtPiToken = IERC20(staking).balanceOf(address(piToken)); if (xSushiAtPiToken == 0) { return 0; } return getSushiForXSushi(xSushiAtPiToken); } /** * @notice Get the amount of current pending rewards available at SushiBar * @return amount of pending rewards */ function getPendingRewards() public view returns (uint256 amount) { // return sushiAtPiToken + sushiBackedByXSushi - piToken.totalSupply() amount = SUSHI.balanceOf(address(piToken)).add(getUnderlyingBackedByXSushi()).add(1).sub(piToken.totalSupply()); return amount == 1 ? 0 : amount; } /*** EQUIVALENT METHODS OVERRIDES ***/ function getPiEquivalentForUnderlying( uint256 _underlyingAmount, IERC20, /* _underlyingToken */ uint256 /* _piTotalSupply */ ) public view override returns (uint256) { return _underlyingAmount; } function getPiEquivalentForUnderlyingPure( uint256 _underlyingAmount, uint256, /* _totalUnderlyingWrapped */ uint256 /* _piTotalSupply */ ) public pure override returns (uint256) { return _underlyingAmount; } function getUnderlyingEquivalentForPi( uint256 _piAmount, IERC20, /* _underlyingToken */ uint256 /* _piTotalSupply */ ) public view override returns (uint256) { return _piAmount; } function getUnderlyingEquivalentForPiPure( uint256 _piAmount, uint256, /* _totalUnderlyingWrapped */ uint256 /* _piTotalSupply */ ) public pure override returns (uint256) { return _piAmount; } /*** OWNER METHODS ***/ /** * @notice The contract owner manually stakes the given amount of SUSHI * @param _sushi The amount SUSHI to stake */ function stake(uint256 _sushi) external onlyOwner { _stake(_sushi); } /** * @notice The contract owner manually burns the given amount of xSUSHI in exchange of SUSHI tokens * @param _xSushi The amount xSUSHI to burn */ function redeem(uint256 _xSushi) external onlyOwner { _redeem(_xSushi); } /*** POKE FUNCTION ***/ function _rebalancePoke(ReserveStatus reserveStatus, uint256 sushiDiff) internal override { require(staking != address(0), "STACKING_IS_NULL"); if (reserveStatus == ReserveStatus.SHORTAGE) { _redeem(getXSushiForSushi(sushiDiff)); } else if (reserveStatus == ReserveStatus.EXCESS) { _stake(sushiDiff); } } /*** INTERNALS ***/ /** * @notice Get the opposite to the reserve ratio amount of SUSHI staked at SushiBar * @return The SUSHI amount */ function _getUnderlyingStaked() internal view override returns (uint256) { // return piTokenTotalSupply - sushiAtPiToken return piToken.totalSupply().sub(SUSHI.balanceOf(address(piToken))); } function _stake(uint256 _sushi) internal { require(_sushi > 0, "CANT_STAKE_0"); piToken.approveUnderlying(staking, _sushi); _callStaking(ISushiBar(0).enter.selector, abi.encode(_sushi)); emit Stake(msg.sender, _sushi); } function _redeem(uint256 _xSushi) internal { require(_xSushi > 0, "CANT_REDEEM_0"); _callStaking(ISushiBar(0).leave.selector, abi.encode(_xSushi)); emit Redeem(msg.sender, _xSushi); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_piToken","type":"address"},{"components":[{"internalType":"address","name":"poolRestrictions","type":"address"},{"internalType":"address","name":"powerPoke","type":"address"},{"internalType":"address","name":"voting","type":"address"},{"internalType":"address","name":"staking","type":"address"},{"internalType":"uint256","name":"reserveRatio","type":"uint256"},{"internalType":"uint256","name":"reserveRatioToForceRebalance","type":"uint256"},{"internalType":"uint256","name":"claimRewardsInterval","type":"uint256"},{"internalType":"address","name":"pvp","type":"address"},{"internalType":"uint256","name":"pvpFee","type":"uint256"},{"internalType":"address[]","name":"rewardPools","type":"address[]"}],"internalType":"struct PowerIndexBasicRouter.BasicConfig","name":"_basicConfig","type":"tuple"},{"components":[{"internalType":"address","name":"SUSHI","type":"address"}],"internalType":"struct SushiPowerIndexRouter.SushiConfig","name":"_sushiConfig","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"xSushiBurned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expectedSushiReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releasedSushiReward","type":"uint256"}],"name":"ClaimRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"sushiReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pvpReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolRewardsUnderlying","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolRewardsPi","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"pools","type":"address[]"}],"name":"DistributeRewards","type":"event"},{"anonymous":false,"inputs":[],"name":"IgnoreDueMissingStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRebalancedAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rebalancingInterval","type":"uint256"}],"name":"IgnoreRebalancing","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"pvpFee","type":"uint256"}],"name":"SetPvpFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rebalancingInterval","type":"uint256"}],"name":"SetRebalancingInterval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ratio","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimRewardsInterval","type":"uint256"}],"name":"SetReserveConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"len","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"rewardPools","type":"address[]"}],"name":"SetRewardPools","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"voting","type":"address"},{"indexed":true,"internalType":"address","name":"staking","type":"address"}],"name":"SetVotingAndStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Stake","type":"event"},{"inputs":[],"name":"HUNDRED_PCT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserveRatioPct","type":"uint256"},{"internalType":"uint256","name":"_leftOnPiToken","type":"uint256"},{"internalType":"uint256","name":"_stakedBalance","type":"uint256"},{"internalType":"uint256","name":"_withdrawAmount","type":"uint256"}],"name":"getExpectedReserveAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getPendingRewards","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"},{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"getPiEquivalentForUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"getPiEquivalentForUnderlyingPure","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stakedBalance","type":"uint256"},{"internalType":"uint256","name":"_withdrawAmount","type":"uint256"}],"name":"getReserveStatus","outputs":[{"internalType":"enum PowerIndexBasicRouter.ReserveStatus","name":"status","type":"uint8"},{"internalType":"uint256","name":"diff","type":"uint256"},{"internalType":"bool","name":"forceRebalance","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserveStatusForStakedBalance","outputs":[{"internalType":"enum PowerIndexBasicRouter.ReserveStatus","name":"status","type":"uint8"},{"internalType":"uint256","name":"diff","type":"uint256"},{"internalType":"bool","name":"forceRebalance","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserveRatioPct","type":"uint256"},{"internalType":"uint256","name":"_leftOnPiToken","type":"uint256"},{"internalType":"uint256","name":"_stakedBalance","type":"uint256"},{"internalType":"uint256","name":"_withdrawAmount","type":"uint256"}],"name":"getReserveStatusPure","outputs":[{"internalType":"enum PowerIndexBasicRouter.ReserveStatus","name":"status","type":"uint8"},{"internalType":"uint256","name":"diff","type":"uint256"},{"internalType":"uint256","name":"expectedReserveAmount","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getRewardPools","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xSushi","type":"uint256"}],"name":"getSushiForXSushi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnderlyingBackedByXSushi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_piAmount","type":"uint256"},{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"getUnderlyingEquivalentForPi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_piAmount","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"getUnderlyingEquivalentForPiPure","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getUnderlyingStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sushi","type":"uint256"}],"name":"getXSushiForSushi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastClaimRewardsAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRebalancedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_piToken","type":"address"},{"internalType":"address payable","name":"_newRouter","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"migrateToNewRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"piToken","outputs":[{"internalType":"contract WrappedPiErc20Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"_withdrawAmount","type":"uint256"}],"name":"piTokenCallback","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimAndDistributeRewards","type":"bool"}],"name":"poke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reporterId","type":"uint256"},{"internalType":"bool","name":"_claimAndDistributeRewards","type":"bool"},{"internalType":"bytes","name":"_rewardOpts","type":"bytes"}],"name":"pokeFromReporter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reporterId","type":"uint256"},{"internalType":"bool","name":"_claimAndDistributeRewards","type":"bool"},{"internalType":"bytes","name":"_rewardOpts","type":"bytes"}],"name":"pokeFromSlasher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"poolRestrictions","outputs":[{"internalType":"contract IPoolRestrictions","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"powerPoke","outputs":[{"internalType":"contract IPowerPoke","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pvp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pvpFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xSushi","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveRatioToForceRebalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethFee","type":"uint256"}],"name":"setPiTokenEthFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pvpFee","type":"uint256"}],"name":"setPvpFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserveRatio","type":"uint256"},{"internalType":"uint256","name":"_claimRewardsInterval","type":"uint256"}],"name":"setReserveConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_rewardPools","type":"address[]"}],"name":"setRewardPools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_voting","type":"address"},{"internalType":"address","name":"_staking","type":"address"}],"name":"setVotingAndStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sushi","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"voting","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_receiver","type":"address"}],"name":"withdrawEthFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162003e6e38038062003e6e8339810160408190526200003491620003bc565b82826000620000426200024b565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b038216620000be5760405162461bcd60e51b8152600401620000b590620005af565b60405180910390fd5b670de0b6b3a764000081608001511115620000ed5760405162461bcd60e51b8152600401620000b59062000584565b670de0b6b3a7640000816101000151106200011c5760405162461bcd60e51b8152600401620000b5906200054d565b60e08101516001600160a01b0316620001495760405162461bcd60e51b8152600401620000b590620004ec565b80516001600160a01b0316620001735760405162461bcd60e51b8152600401620000b59062000516565b606082811b6001600160601b031990811660809081528351600180546001600160a01b03199081166001600160a01b03938416179091556020808701516002805484169185169190911790556040870151600380548416918516919091179055868601516004805490931693169290921790559084015160055560a08085015160095560c085015160065560e085015190931b909116909152610100820151600a5561012082015180516200022d92600b9201906200024f565b5050905160601b6001600160601b03191660c0525062000619915050565b3390565b828054828255906000526020600020908101928215620002a7579160200282015b82811115620002a757825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000270565b50620002b5929150620002b9565b5090565b5b80821115620002b55780546001600160a01b0319168155600101620002ba565b80516001600160a01b0381168114620002f257600080fd5b92915050565b600082601f83011262000309578081fd5b81516001600160401b038111156200031f578182fd5b602080820262000331828201620005d9565b838152935081840185830182870184018810156200034e57600080fd5b600092505b848310156200037d57620003688882620002da565b82526001929092019190830190830162000353565b505050505092915050565b6000602082840312156200039a578081fd5b620003a66020620005d9565b9050620003b48383620002da565b815292915050565b600080600060608486031215620003d1578283fd5b8351620003de8162000600565b60208501519093506001600160401b0380821115620003fb578384fd5b818601915061014080838903121562000412578485fd5b6200041d81620005d9565b90506200042b8884620002da565b81526200043c8860208501620002da565b6020820152620004508860408501620002da565b6040820152620004648860608501620002da565b60608201526080830151608082015260a083015160a082015260c083015160c0820152620004968860e08501620002da565b60e082015261010083810151908201526101208084015183811115620004ba578687fd5b620004c88a828701620002f8565b828401525050809450505050620004e3856040860162000388565b90509250925092565b60208082526010908201526f24a72b20a624a22fa82b282fa0a2222960811b604082015260600190565b6020808252601e908201527f494e56414c49445f504f4f4c5f5245535452494354494f4e535f414444520000604082015260600190565b60208082526017908201527f5056505f4645455f4754455f48554e445245445f504354000000000000000000604082015260600190565b602080825260119082015270149497d1d517d215539114915117d410d5607a1b604082015260600190565b60208082526010908201526f24a72b20a624a22fa824afaa27a5a2a760811b604082015260600190565b6040518181016001600160401b0381118282101715620005f857600080fd5b604052919050565b6001600160a01b03811681146200061657600080fd5b50565b60805160601c60a05160601c60c05160601c613789620006e560003980610ed752806112e852806115d252806118395280611e465280611f1e5280611ff352806120f452806121a4528061220352508061093052806125975250806108fd5280610a4f5280610fcb5280611101528061117d52806112325280611315528061186852806118f55280611bc25280611e735280611f4d5280611fc4528061223052806122c4528061235552806124775280612666528061280452806128c5528061298852506137896000f3fe6080604052600436106102605760003560e01c8063a694fc3a11610144578063db006a75116100b6578063f200aa991161007a578063f200aa991461065e578063f2fde38b1461067e578063f7fab1741461069e578063f8526889146106be578063fce1ccca146106d9578063ffe75746146106be57610267565b8063db006a75146105b8578063e135a318146105d8578063e447de1714610607578063ebc6162614610629578063edb6c08d1461063e57610267565b8063b85cefc911610108578063b85cefc91461052f578063bdefa8261461054f578063bfd2f89d14610564578063c1b5dcb614610579578063c2b0352c1461058e578063d9621f9e146105a357610267565b8063a694fc3a146104af578063ab00ac4a146104cf578063af28b877146104ef578063b41cae1514610384578063b79e974c1461050f57610267565b806361bc8e3d116101dd5780638a1c0f70116101a15780638a1c0f70146103f65780638da5cb5b1461041657806396e962d51461042b5780639f7eab221461044b578063a0694f3b1461046b578063a47b66ff1461048b57610267565b806361bc8e3d14610384578063700cc66f146103a4578063715018a6146103b95780637d52f48b146103ce5780637f846aab146103e157610267565b806347ea2c0b1161022457806347ea2c0b146103055780634cf088d9146103255780634cf8637f1461033a5780635c035e711461035a578063613ab9561461036f57610267565b806303e117ba1461026c5780630c7d5cd81461028e57806315023e59146102b95780632af1711d146102ce5780633bba5b5d146102f057610267565b3661026757005b600080fd5b34801561027857600080fd5b5061028c610287366004612eb0565b6106ee565b005b34801561029a57600080fd5b506102a361079c565b6040516102b091906135ae565b60405180910390f35b3480156102c557600080fd5b506102a36107a2565b3480156102da57600080fd5b506102e36107a8565b6040516102b09190612fdb565b3480156102fc57600080fd5b506102e36107b7565b34801561031157600080fd5b5061028c610320366004612d1e565b6107c6565b34801561033157600080fd5b506102e3610859565b34801561034657600080fd5b5061028c610355366004612bf7565b610868565b34801561036657600080fd5b506102e36108fb565b34801561037b57600080fd5b506102a361091f565b34801561039057600080fd5b506102a361039f366004612e79565b610925565b3480156103b057600080fd5b506102e361092e565b3480156103c557600080fd5b5061028c610952565b61028c6103dc366004612cf3565b6109d1565b3480156103ed57600080fd5b506102a36109d5565b34801561040257600080fd5b5061028c610411366004612dc5565b6109db565b34801561042257600080fd5b506102e3610ab9565b34801561043757600080fd5b5061028c610446366004612df5565b610ac9565b34801561045757600080fd5b5061028c610466366004612c2f565b610c03565b34801561047757600080fd5b5061028c610486366004612dc5565b610d38565b34801561049757600080fd5b506104a0610dd4565b6040516102b093929190613060565b3480156104bb57600080fd5b5061028c6104ca366004612dc5565b610def565b3480156104db57600080fd5b506102a36104ea366004612dc5565b610e30565b3480156104fb57600080fd5b5061028c61050a366004612d8d565b610f73565b34801561051b57600080fd5b506104a061052a366004612eb0565b610fbd565b34801561053b57600080fd5b5061028c61054a366004612bdb565b6110b5565b34801561055b57600080fd5b506102a3611136565b34801561057057600080fd5b506102a3611213565b34801561058557600080fd5b506102a3611219565b34801561059a57600080fd5b506102a3611225565b3480156105af57600080fd5b506102a361122b565b3480156105c457600080fd5b5061028c6105d3366004612dc5565b6113b1565b3480156105e457600080fd5b506105f86105f3366004612f1f565b6113ef565b6040516102b093929190613084565b34801561061357600080fd5b5061061c611470565b6040516102b0919061304d565b34801561063557600080fd5b506102a36114d2565b34801561064a57600080fd5b5061028c610659366004612df5565b6114dc565b34801561066a57600080fd5b506102a3610679366004612dc5565b6115b4565b34801561068a57600080fd5b5061028c610699366004612bdb565b6116aa565b3480156106aa57600080fd5b506102a36106b9366004612f1f565b611760565b3480156106ca57600080fd5b506102a361039f366004612ef4565b3480156106e557600080fd5b506102e3611793565b6106f66117a2565b6000546001600160a01b0390811691161461072c5760405162461bcd60e51b81526004016107239061340e565b60405180910390fd5b670de0b6b3a76400008211156107545760405162461bcd60e51b815260040161072390613472565b600582905560068190556040517ff14ae727051d90824dce25892549ffed43171385b883822956af90fcf3840e99906107909084908490613626565b60405180910390a15050565b60055481565b60065481565b6001546001600160a01b031681565b6002546001600160a01b031681565b6107ce6117a2565b6000546001600160a01b039081169116146107fb5760405162461bcd60e51b81526004016107239061340e565b806108185760405162461bcd60e51b815260040161072390613443565b610824600b8383612b4e565b506040517f4fec43da0f842e2e88f0e3b1a21e5a030933f1de3464eb95484d56ce9bd3a5dd90610790908390859082906135ce565b6004546001600160a01b031681565b6108706117a2565b6000546001600160a01b0390811691161461089d5760405162461bcd60e51b81526004016107239061340e565b600380546001600160a01b03199081166001600160a01b03858116918217909355600480549092169284169283179091556040517fbd5e2d2cef73c9db8389610971dfd4ea7a06f2a51a40c45b3837a87bad8955ee90600090a35050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60075481565b825b9392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61095a6117a2565b6000546001600160a01b039081169116146109875760405162461bcd60e51b81526004016107239061340e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b5050565b60085481565b6109e36117a2565b6000546001600160a01b03908116911614610a105760405162461bcd60e51b81526004016107239061340e565b67016345785d8a0000811115610a385760405162461bcd60e51b8152600401610723906130b9565b604051633f6738a960e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690633f6738a990610a849084906004016135ae565b600060405180830381600087803b158015610a9e57600080fd5b505af1158015610ab2573d6000803e3d6000fd5b5050505050565b6000546001600160a01b03165b90565b83828260005a600254604051635cfff80960e11b81529192506001600160a01b03169063b9fff01290610b0290879033906004016135b7565b60006040518083038186803b158015610b1a57600080fd5b505afa158015610b2e573d6000803e3d6000fd5b50503233149150610b5390505760405162461bcd60e51b8152600401610723906131c7565b6000610b5d6117a6565b9150506000806000610b77610b70611832565b6000610fbd565b9250925092508080610b8c5750428460085401105b610ba85760405162461bcd60e51b815260040161072390613190565b6000836002811115610bb657fe5b1415610bd45760405162461bcd60e51b81526004016107239061352a565b610bde8383611984565b610be78b6119ee565b50505050610bf9848260018686611a20565b5050505050505050565b610c0b6117a2565b6000546001600160a01b03908116911614610c385760405162461bcd60e51b81526004016107239061340e565b610c43838383611a99565b6040516001600160a01b038316904780156108fc02916000818181858888f19350505050158015610c78573d6000803e3d6000fd5b50805160005b81811015610ab2576000838281518110610c9457fe5b60200260200101519050610d2f85826001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610cce9190612fdb565b60206040518083038186803b158015610ce657600080fd5b505afa158015610cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1e9190612ddd565b6001600160a01b0384169190611b31565b50600101610c7e565b610d406117a2565b6000546001600160a01b03908116911614610d6d5760405162461bcd60e51b81526004016107239061340e565b670de0b6b3a76400008110610d945760405162461bcd60e51b815260040161072390613343565b600a8190556040517f11104e79a54b7027a23e550dd684b6238bf2b71529ba161fef0b90e1cc0d1da090610dc99083906135ae565b60405180910390a150565b6000806000610de4610b70611832565b925092509250909192565b610df76117a2565b6000546001600160a01b03908116911614610e245760405162461bcd60e51b81526004016107239061340e565b610e2d81611b87565b50565b6000600460009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e8057600080fd5b505afa158015610e94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb89190612ddd565b600480546040516370a0823160e01b8152610f65926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116936370a0823193610f0e93919092169101612fdb565b60206040518083038186803b158015610f2657600080fd5b505afa158015610f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5e9190612ddd565b8490611c9f565b81610f6c57fe5b0492915050565b323314610f925760405162461bcd60e51b8152600401610723906131c7565b600080610fa0610b70611832565b5091509150610faf8282611984565b610fb8836119ee565b505050565b6000806000806110616005547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e2c674396040518163ffffffff1660e01b815260040160206040518083038186803b15801561102257600080fd5b505afa158015611036573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105a9190612ddd565b88886113ef565b91955093509050600184600281111561107657fe5b14156110ad5760006110a48261109e670de0b6b3a76400006110988389611ce2565b90611c9f565b90611d24565b60095410159250505b509250925092565b6110bd6117a2565b6000546001600160a01b039081169116146110ea5760405162461bcd60e51b81526004016107239061340e565b60405163b85cefc960e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b85cefc990610a84908490600401612fdb565b6004546000906001600160a01b031661115157506000610ac6565b600480546040516370a0823160e01b81526000926001600160a01b03909216916370a08231916111a3917f00000000000000000000000000000000000000000000000000000000000000009101612fdb565b60206040518083038186803b1580156111bb57600080fd5b505afa1580156111cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f39190612ddd565b905080611204576000915050610ac6565b61120d81610e30565b91505090565b600a5481565b670de0b6b3a764000081565b60095481565b60006113997f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128957600080fd5b505afa15801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c19190612ddd565b611393600161138d6112d1611136565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061133d907f000000000000000000000000000000000000000000000000000000000000000090600401612fdb565b60206040518083038186803b15801561135557600080fd5b505afa158015611369573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138d9190612ddd565b90611d66565b90611ce2565b9050806001146113a957806113ac565b60005b905090565b6113b96117a2565b6000546001600160a01b039081169116146113e65760405162461bcd60e51b81526004016107239061340e565b610e2d81611d8b565b6000806000670de0b6b3a764000087111561141c5760405162461bcd60e51b815260040161072390613472565b61142887878787611760565b90508581111561144757600192506114408187611ce2565b9150611466565b8581101561145d57600292506114408682611ce2565b60009250600091505b9450945094915050565b6060600b8054806020026020016040519081016040528092919081815260200182805480156114c857602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116114aa575b5050505050905090565b60006113ac611832565b83828260005a60025460405163b1f6126960e01b81529192506001600160a01b03169063b1f612699061151590879033906004016135b7565b60006040518083038186803b15801561152d57600080fd5b505afa158015611541573d6000803e3d6000fd5b5050323314915061156690505760405162461bcd60e51b8152600401610723906131c7565b60006115706117a6565b5090506000806000611583610b70611832565b92509250925080806115985750428460085401105b610ba85760405162461bcd60e51b8152600401610723906131e9565b600480546040516370a0823160e01b81526000926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116936370a082319361160993919092169101612fdb565b60206040518083038186803b15801561162157600080fd5b505afa158015611635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116599190612ddd565b610f65600460009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2657600080fd5b6116b26117a2565b6000546001600160a01b039081169116146116df5760405162461bcd60e51b81526004016107239061340e565b6001600160a01b0381166117055760405162461bcd60e51b8152600401610723906130e9565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600061178a8261138d670de0b6b3a764000061109e611783846113938a8c611d66565b8a90611c9f565b95945050505050565b6003546001600160a01b031681565b3390565b600254604051635316033760e11b815260009182916001600160a01b039091169063a62c066e906117db903090600401612fdb565b604080518083038186803b1580156117f257600080fd5b505afa158015611806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182a9190612ed1565b915091509091565b60006113ac7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016118a39190612fdb565b60206040518083038186803b1580156118bb57600080fd5b505afa1580156118cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f39190612ddd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561194c57600080fd5b505afa158015611960573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113939190612ddd565b6004546001600160a01b03166119ac5760405162461bcd60e51b81526004016107239061312f565b60018260028111156119ba57fe5b14156119d1576103dc6119cc826115b4565b611d8b565b60028260028111156119df57fe5b14156109d1576109d181611b87565b42600855808015611a0457504260065460075401105b15610e2d57611a11611e00565b611a196120da565b4260075550565b6002546001600160a01b031663e9cf230986611a3d5a8890611ce2565b8686866040518663ffffffff1660e01b8152600401611a6095949392919061364a565b600060405180830381600087803b158015611a7a57600080fd5b505af1158015611a8e573d6000803e3d6000fd5b505050505050505050565b611aa16117a2565b6000546001600160a01b03908116911614611ace5760405162461bcd60e51b81526004016107239061340e565b60405163340ac20f60e01b81526001600160a01b0384169063340ac20f90611afa908590600401612fdb565b600060405180830381600087803b158015611b1457600080fd5b505af1158015611b28573d6000803e3d6000fd5b50505050505050565b610fb88363a9059cbb60e01b8484604051602401611b50929190612fef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526123cd565b60008111611ba75760405162461bcd60e51b815260040161072390613561565b6004805460405163e57ae51760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169363e57ae51793611bf993921691869101612fef565b600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b50505050611c5b63a59f3e0c60e01b82604051602001611c4791906135ae565b60405160208183030381529060405261245c565b336001600160a01b03167febedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a82604051611c9491906135ae565b60405180910390a250565b600082611cae57506000611cdc565b82820282848281611cbb57fe5b0414611cd95760405162461bcd60e51b81526004016107239061339f565b90505b92915050565b6000611cd983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124e9565b6000611cd983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612515565b600082820183811015611cd95760405162461bcd60e51b815260040161072390613159565b60008111611dab5760405162461bcd60e51b81526004016107239061329d565b611dc76367dfd4c960e01b82604051602001611c4791906135ae565b336001600160a01b03167f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a682604051611c9491906135ae565b6000611e0a61122b565b905060008111611e2c5760405162461bcd60e51b8152600401610723906132c4565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190611e9b907f000000000000000000000000000000000000000000000000000000000000000090600401612fdb565b60206040518083038186803b158015611eb357600080fd5b505afa158015611ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eeb9190612ddd565b90506000611ef8836115b4565b9050611f166367dfd4c960e01b82604051602001611c4791906135ae565b6000611fa0837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401611f889190612fdb565b60206040518083038186803b15801561194c57600080fd5b905060008111611fc25760405162461bcd60e51b815260040161072390613319565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d1e40b557f000000000000000000000000000000000000000000000000000000000000000063a9059cbb60e01b308560405160200161202d929190612fef565b60405160208183030381529060405260006040518563ffffffff1660e01b815260040161205d9493929190613008565b600060405180830381600087803b15801561207757600080fd5b505af115801561208b573d6000803e3d6000fd5b50505050336001600160a01b03167f3c09a2b3e58d6395c26eccb9ac4a6f743daa1235eb4ae606bd8b63e7a7b3baac8386846040516120cc93929190613634565b60405180910390a250505050565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190612129903090600401612fdb565b60206040518083038186803b15801561214157600080fd5b505afa158015612155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121799190612ddd565b90506000811161219b5760405162461bcd60e51b8152600401610723906132ee565b6000806121c8837f000000000000000000000000000000000000000000000000000000000000000061254c565b91509150600081116121ec5760405162461bcd60e51b815260040161072390613266565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b39061225a907f0000000000000000000000000000000000000000000000000000000000000000908590600401612fef565b602060405180830381600087803b15801561227457600080fd5b505af1158015612288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ac9190612da9565b5060405163b6b55f2560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b6b55f25906122f99084906004016135ae565b602060405180830381600087803b15801561231357600080fd5b505af1158015612327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234b9190612ddd565b50600060606123797f00000000000000000000000000000000000000000000000000000000000000006125cb565b91509150336001600160a01b03167f26c9ce3cb774c92b03499ac4bc58987fc4ae05aa8cd48c25f34fb2c6d60c502186868686866040516123be95949392919061368e565b60405180910390a25050505050565b6060612422826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a379092919063ffffffff16565b805190915015610fb857808060200190518101906124409190612da9565b610fb85760405162461bcd60e51b8152600401610723906134e0565b6004805460405163d1e40b5560e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169363d1e40b55936124b3939216918791879160009101613008565b600060405180830381600087803b1580156124cd57600080fd5b505af11580156124e1573d6000803e3d6000fd5b505050505050565b6000818484111561250d5760405162461bcd60e51b815260040161072391906130a6565b505050900390565b600081836125365760405162461bcd60e51b815260040161072391906130a6565b50600083858161254257fe5b0495945050505050565b600a546000908190156125c15761257a670de0b6b3a764000061109e600a5487611c9f90919063ffffffff16565b91506125868483611ce2565b90506125bc6001600160a01b0384167f000000000000000000000000000000000000000000000000000000000000000084611b31565b6125c4565b50825b9250929050565b60006060600b80548060200260200160405190810160405280929190818152602001828054801561262557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612607575b505083519394505050811515905061264f5760405162461bcd60e51b8152600401610723906133e0565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061269b903090600401612fdb565b60206040518083038186803b1580156126b357600080fd5b505afa1580156126c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126eb9190612ddd565b92506000831161270d5760405162461bcd60e51b815260040161072390613373565b6000805b828110156127bc576127b2866001600160a01b03166370a0823186848151811061273757fe5b60200260200101516040518263ffffffff1660e01b815260040161275b9190612fdb565b60206040518083038186803b15801561277357600080fd5b505afa158015612787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ab9190612ddd565b8390611d66565b9150600101612711565b50600081116127dd5760405162461bcd60e51b815260040161072390613587565b60005b82811015612a2f5760008482815181106127f657fe5b6020026020010151905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231836040518263ffffffff1660e01b815260040161284e9190612fdb565b60206040518083038186803b15801561286657600080fd5b505afa15801561287a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289e9190612ddd565b9050806128ac575050612a27565b6000846128b98984611c9f565b816128c057fe5b0490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb84836040518363ffffffff1660e01b8152600401612911929190612fef565b602060405180830381600087803b15801561292b57600080fd5b505af115801561293f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129639190612da9565b50604051631185197d60e31b81526001600160a01b03841690638c28cbe8906129b0907f000000000000000000000000000000000000000000000000000000000000000090600401612fdb565b600060405180830381600087803b1580156129ca57600080fd5b505af11580156129de573d6000803e3d6000fd5b50505050826001600160a01b03167f69eaf10e8f1f328ba4168e52a02314cf7f68a9bc72b8431bb08f219edd098a5582604051612a1b91906135ae565b60405180910390a25050505b6001016127e0565b505050915091565b6060612a468484600085612a4e565b949350505050565b606082471015612a705760405162461bcd60e51b815260040161072390613220565b612a7985612b0f565b612a955760405162461bcd60e51b8152600401610723906134a9565b60006060866001600160a01b03168587604051612ab29190612fbf565b60006040518083038185875af1925050503d8060008114612aef576040519150601f19603f3d011682016040523d82523d6000602084013e612af4565b606091505b5091509150612b04828286612b15565b979650505050505050565b3b151590565b60608315612b24575081610927565b825115612b345782518084602001fd5b8160405162461bcd60e51b815260040161072391906130a6565b828054828255906000526020600020908101928215612ba1579160200282015b82811115612ba15781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612b6e565b50612bad929150612bb1565b5090565b5b80821115612bad5780546001600160a01b0319168155600101612bb2565b8035611cdc81613730565b600060208284031215612bec578081fd5b8135611cd981613730565b60008060408385031215612c09578081fd5b8235612c1481613730565b91506020830135612c2481613730565b809150509250929050565b600080600060608486031215612c43578081fd5b8335612c4e81613730565b9250602084810135612c5f81613730565b9250604085013567ffffffffffffffff811115612c7a578283fd5b8501601f81018713612c8a578283fd5b8035612c9d612c98826136e0565b6136b9565b81815283810190838501858402850186018b1015612cb9578687fd5b8694505b83851015612ce357612ccf8b82612bd0565b835260019490940193918501918501612cbd565b5080955050505050509250925092565b60008060408385031215612d05578182fd5b8235612d1081613730565b946020939093013593505050565b60008060208385031215612d30578182fd5b823567ffffffffffffffff80821115612d47578384fd5b818501915085601f830112612d5a578384fd5b813581811115612d68578485fd5b8660208083028501011115612d7b578485fd5b60209290920196919550909350505050565b600060208284031215612d9e578081fd5b8135611cd981613745565b600060208284031215612dba578081fd5b8151611cd981613745565b600060208284031215612dd6578081fd5b5035919050565b600060208284031215612dee578081fd5b5051919050565b60008060008060608587031215612e0a578081fd5b843593506020850135612e1c81613745565b9250604085013567ffffffffffffffff80821115612e38578283fd5b818701915087601f830112612e4b578283fd5b813581811115612e59578384fd5b886020828501011115612e6a578384fd5b95989497505060200194505050565b600080600060608486031215612e8d578283fd5b833592506020840135612e9f81613730565b929592945050506040919091013590565b60008060408385031215612ec2578182fd5b50508035926020909101359150565b60008060408385031215612ee3578182fd5b505080516020909101519092909150565b600080600060608486031215612f08578081fd5b505081359360208301359350604090920135919050565b60008060008060808587031215612f34578182fd5b5050823594602084013594506040840135936060013592509050565b6000815180845260208085019450808401835b83811015612f885781516001600160a01b031687529582019590820190600101612f63565b509495945050505050565b60008151808452612fab816020860160208601613700565b601f01601f19169290920160200192915050565b60008251612fd1818460208701613700565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b03851681526001600160e01b03198416602082015260806040820181905260009061303c90830185612f93565b905082606083015295945050505050565b600060208252611cd96020830184612f50565b606081016003851061306e57fe5b9381526020810192909252151560409091015290565b606081016003851061309257fe5b938152602081019290925260409091015290565b600060208252611cd96020830184612f93565b60208082526016908201527511551217d1915157d3d5915497d5121157d31253525560521b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526010908201526f14d51050d2d25391d7d254d7d395531360821b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526018908201527f4d41585f494e54455256414c5f4e4f545f524541434845440000000000000000604082015260600190565b6020808252600890820152674f4e4c595f454f4160c01b604082015260600190565b60208082526018908201527f4d494e5f494e54455256414c5f4e4f545f524541434845440000000000000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f4e4f5f504f4f4c5f524557415244535f554e4445524c59494e47000000000000604082015260600190565b6020808252600d908201526c043414e545f52454445454d5f3609c1b604082015260600190565b60208082526010908201526f4e4f5448494e475f544f5f434c41494d60801b604082015260600190565b6020808252601190820152701393d7d4115391125391d7d49155d05491607a1b604082015260600190565b60208082526010908201526f1393d512125391d7d49153115054d15160821b604082015260600190565b60208082526016908201527514159417d1915157d3d5915497d5121157d31253525560521b604082015260600190565b6020808252601290820152714e4f5f504f4f4c5f524557415244535f504960701b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252601490820152734d495353494e475f5245574152445f504f4f4c5360601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260159082015274105517d3115054d517d3d39157d156141150d51151605a1b604082015260600190565b60208082526017908201527f52525f475245415445525f5448414e5f3130305f504354000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601a908201527f524553455256455f5354415455535f455155494c49425249554d000000000000604082015260600190565b6020808252600c908201526b043414e545f5354414b455f360a41b604082015260600190565b6020808252600d908201526c0544f54414c5f50495f49535f3609c1b604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b83815260406020808301829052908201839052600090849060608401835b8681101561361a5783356135ff81613730565b6001600160a01b0316825292820192908201906001016135ec565b50979650505050505050565b918252602082015260400190565b9283526020830191909152604082015260600190565b600086825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b600086825285602083015284604083015283606083015260a06080830152612b0460a0830184612f50565b60405181810167ffffffffffffffff811182821017156136d857600080fd5b604052919050565b600067ffffffffffffffff8211156136f6578081fd5b5060209081020190565b60005b8381101561371b578181015183820152602001613703565b8381111561372a576000848401525b50505050565b6001600160a01b0381168114610e2d57600080fd5b8015158114610e2d57600080fdfea2646970667358221220b6f0de1991ca5df74fac87ce062d7eb51853ab951c83867caec30f7af06452cb64736f6c634300060c0033000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028100000000000000000000000000000000000000000000000000000000000000600000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe20000000000000000000000003885c4e1107b445dd370d09008d90b5153132fff00000000000000000000000004d7aa22ef7181ee3142f5063e026af1bbbe5b9600000000000000000000000000000000000000000000000000000000000000000000000000000000000000008798249c2e607446efb7ad49ec89dd1865ff427200000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000000000000093a80000000000000000000000000d132973eaebbd6d7ca7b88e9170f2cca058de430000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b4bebd34f6daafd808f73de0d10235a92fbb6c3d000000000000000000000000fa2562da1bba7b954f26c74725df51fb62646313
Deployed Bytecode
0x6080604052600436106102605760003560e01c8063a694fc3a11610144578063db006a75116100b6578063f200aa991161007a578063f200aa991461065e578063f2fde38b1461067e578063f7fab1741461069e578063f8526889146106be578063fce1ccca146106d9578063ffe75746146106be57610267565b8063db006a75146105b8578063e135a318146105d8578063e447de1714610607578063ebc6162614610629578063edb6c08d1461063e57610267565b8063b85cefc911610108578063b85cefc91461052f578063bdefa8261461054f578063bfd2f89d14610564578063c1b5dcb614610579578063c2b0352c1461058e578063d9621f9e146105a357610267565b8063a694fc3a146104af578063ab00ac4a146104cf578063af28b877146104ef578063b41cae1514610384578063b79e974c1461050f57610267565b806361bc8e3d116101dd5780638a1c0f70116101a15780638a1c0f70146103f65780638da5cb5b1461041657806396e962d51461042b5780639f7eab221461044b578063a0694f3b1461046b578063a47b66ff1461048b57610267565b806361bc8e3d14610384578063700cc66f146103a4578063715018a6146103b95780637d52f48b146103ce5780637f846aab146103e157610267565b806347ea2c0b1161022457806347ea2c0b146103055780634cf088d9146103255780634cf8637f1461033a5780635c035e711461035a578063613ab9561461036f57610267565b806303e117ba1461026c5780630c7d5cd81461028e57806315023e59146102b95780632af1711d146102ce5780633bba5b5d146102f057610267565b3661026757005b600080fd5b34801561027857600080fd5b5061028c610287366004612eb0565b6106ee565b005b34801561029a57600080fd5b506102a361079c565b6040516102b091906135ae565b60405180910390f35b3480156102c557600080fd5b506102a36107a2565b3480156102da57600080fd5b506102e36107a8565b6040516102b09190612fdb565b3480156102fc57600080fd5b506102e36107b7565b34801561031157600080fd5b5061028c610320366004612d1e565b6107c6565b34801561033157600080fd5b506102e3610859565b34801561034657600080fd5b5061028c610355366004612bf7565b610868565b34801561036657600080fd5b506102e36108fb565b34801561037b57600080fd5b506102a361091f565b34801561039057600080fd5b506102a361039f366004612e79565b610925565b3480156103b057600080fd5b506102e361092e565b3480156103c557600080fd5b5061028c610952565b61028c6103dc366004612cf3565b6109d1565b3480156103ed57600080fd5b506102a36109d5565b34801561040257600080fd5b5061028c610411366004612dc5565b6109db565b34801561042257600080fd5b506102e3610ab9565b34801561043757600080fd5b5061028c610446366004612df5565b610ac9565b34801561045757600080fd5b5061028c610466366004612c2f565b610c03565b34801561047757600080fd5b5061028c610486366004612dc5565b610d38565b34801561049757600080fd5b506104a0610dd4565b6040516102b093929190613060565b3480156104bb57600080fd5b5061028c6104ca366004612dc5565b610def565b3480156104db57600080fd5b506102a36104ea366004612dc5565b610e30565b3480156104fb57600080fd5b5061028c61050a366004612d8d565b610f73565b34801561051b57600080fd5b506104a061052a366004612eb0565b610fbd565b34801561053b57600080fd5b5061028c61054a366004612bdb565b6110b5565b34801561055b57600080fd5b506102a3611136565b34801561057057600080fd5b506102a3611213565b34801561058557600080fd5b506102a3611219565b34801561059a57600080fd5b506102a3611225565b3480156105af57600080fd5b506102a361122b565b3480156105c457600080fd5b5061028c6105d3366004612dc5565b6113b1565b3480156105e457600080fd5b506105f86105f3366004612f1f565b6113ef565b6040516102b093929190613084565b34801561061357600080fd5b5061061c611470565b6040516102b0919061304d565b34801561063557600080fd5b506102a36114d2565b34801561064a57600080fd5b5061028c610659366004612df5565b6114dc565b34801561066a57600080fd5b506102a3610679366004612dc5565b6115b4565b34801561068a57600080fd5b5061028c610699366004612bdb565b6116aa565b3480156106aa57600080fd5b506102a36106b9366004612f1f565b611760565b3480156106ca57600080fd5b506102a361039f366004612ef4565b3480156106e557600080fd5b506102e3611793565b6106f66117a2565b6000546001600160a01b0390811691161461072c5760405162461bcd60e51b81526004016107239061340e565b60405180910390fd5b670de0b6b3a76400008211156107545760405162461bcd60e51b815260040161072390613472565b600582905560068190556040517ff14ae727051d90824dce25892549ffed43171385b883822956af90fcf3840e99906107909084908490613626565b60405180910390a15050565b60055481565b60065481565b6001546001600160a01b031681565b6002546001600160a01b031681565b6107ce6117a2565b6000546001600160a01b039081169116146107fb5760405162461bcd60e51b81526004016107239061340e565b806108185760405162461bcd60e51b815260040161072390613443565b610824600b8383612b4e565b506040517f4fec43da0f842e2e88f0e3b1a21e5a030933f1de3464eb95484d56ce9bd3a5dd90610790908390859082906135ce565b6004546001600160a01b031681565b6108706117a2565b6000546001600160a01b0390811691161461089d5760405162461bcd60e51b81526004016107239061340e565b600380546001600160a01b03199081166001600160a01b03858116918217909355600480549092169284169283179091556040517fbd5e2d2cef73c9db8389610971dfd4ea7a06f2a51a40c45b3837a87bad8955ee90600090a35050565b7f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028181565b60075481565b825b9392505050565b7f000000000000000000000000d132973eaebbd6d7ca7b88e9170f2cca058de43081565b61095a6117a2565b6000546001600160a01b039081169116146109875760405162461bcd60e51b81526004016107239061340e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b5050565b60085481565b6109e36117a2565b6000546001600160a01b03908116911614610a105760405162461bcd60e51b81526004016107239061340e565b67016345785d8a0000811115610a385760405162461bcd60e51b8152600401610723906130b9565b604051633f6738a960e01b81526001600160a01b037f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02811690633f6738a990610a849084906004016135ae565b600060405180830381600087803b158015610a9e57600080fd5b505af1158015610ab2573d6000803e3d6000fd5b5050505050565b6000546001600160a01b03165b90565b83828260005a600254604051635cfff80960e11b81529192506001600160a01b03169063b9fff01290610b0290879033906004016135b7565b60006040518083038186803b158015610b1a57600080fd5b505afa158015610b2e573d6000803e3d6000fd5b50503233149150610b5390505760405162461bcd60e51b8152600401610723906131c7565b6000610b5d6117a6565b9150506000806000610b77610b70611832565b6000610fbd565b9250925092508080610b8c5750428460085401105b610ba85760405162461bcd60e51b815260040161072390613190565b6000836002811115610bb657fe5b1415610bd45760405162461bcd60e51b81526004016107239061352a565b610bde8383611984565b610be78b6119ee565b50505050610bf9848260018686611a20565b5050505050505050565b610c0b6117a2565b6000546001600160a01b03908116911614610c385760405162461bcd60e51b81526004016107239061340e565b610c43838383611a99565b6040516001600160a01b038316904780156108fc02916000818181858888f19350505050158015610c78573d6000803e3d6000fd5b50805160005b81811015610ab2576000838281518110610c9457fe5b60200260200101519050610d2f85826001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610cce9190612fdb565b60206040518083038186803b158015610ce657600080fd5b505afa158015610cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1e9190612ddd565b6001600160a01b0384169190611b31565b50600101610c7e565b610d406117a2565b6000546001600160a01b03908116911614610d6d5760405162461bcd60e51b81526004016107239061340e565b670de0b6b3a76400008110610d945760405162461bcd60e51b815260040161072390613343565b600a8190556040517f11104e79a54b7027a23e550dd684b6238bf2b71529ba161fef0b90e1cc0d1da090610dc99083906135ae565b60405180910390a150565b6000806000610de4610b70611832565b925092509250909192565b610df76117a2565b6000546001600160a01b03908116911614610e245760405162461bcd60e51b81526004016107239061340e565b610e2d81611b87565b50565b6000600460009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e8057600080fd5b505afa158015610e94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb89190612ddd565b600480546040516370a0823160e01b8152610f65926001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe28116936370a0823193610f0e93919092169101612fdb565b60206040518083038186803b158015610f2657600080fd5b505afa158015610f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5e9190612ddd565b8490611c9f565b81610f6c57fe5b0492915050565b323314610f925760405162461bcd60e51b8152600401610723906131c7565b600080610fa0610b70611832565b5091509150610faf8282611984565b610fb8836119ee565b505050565b6000806000806110616005547f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816001600160a01b031663e2c674396040518163ffffffff1660e01b815260040160206040518083038186803b15801561102257600080fd5b505afa158015611036573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105a9190612ddd565b88886113ef565b91955093509050600184600281111561107657fe5b14156110ad5760006110a48261109e670de0b6b3a76400006110988389611ce2565b90611c9f565b90611d24565b60095410159250505b509250925092565b6110bd6117a2565b6000546001600160a01b039081169116146110ea5760405162461bcd60e51b81526004016107239061340e565b60405163b85cefc960e01b81526001600160a01b037f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d0281169063b85cefc990610a84908490600401612fdb565b6004546000906001600160a01b031661115157506000610ac6565b600480546040516370a0823160e01b81526000926001600160a01b03909216916370a08231916111a3917f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02819101612fdb565b60206040518083038186803b1580156111bb57600080fd5b505afa1580156111cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f39190612ddd565b905080611204576000915050610ac6565b61120d81610e30565b91505090565b600a5481565b670de0b6b3a764000081565b60095481565b60006113997f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128957600080fd5b505afa15801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c19190612ddd565b611393600161138d6112d1611136565b6040516370a0823160e01b81526001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe216906370a082319061133d907f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028190600401612fdb565b60206040518083038186803b15801561135557600080fd5b505afa158015611369573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138d9190612ddd565b90611d66565b90611ce2565b9050806001146113a957806113ac565b60005b905090565b6113b96117a2565b6000546001600160a01b039081169116146113e65760405162461bcd60e51b81526004016107239061340e565b610e2d81611d8b565b6000806000670de0b6b3a764000087111561141c5760405162461bcd60e51b815260040161072390613472565b61142887878787611760565b90508581111561144757600192506114408187611ce2565b9150611466565b8581101561145d57600292506114408682611ce2565b60009250600091505b9450945094915050565b6060600b8054806020026020016040519081016040528092919081815260200182805480156114c857602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116114aa575b5050505050905090565b60006113ac611832565b83828260005a60025460405163b1f6126960e01b81529192506001600160a01b03169063b1f612699061151590879033906004016135b7565b60006040518083038186803b15801561152d57600080fd5b505afa158015611541573d6000803e3d6000fd5b5050323314915061156690505760405162461bcd60e51b8152600401610723906131c7565b60006115706117a6565b5090506000806000611583610b70611832565b92509250925080806115985750428460085401105b610ba85760405162461bcd60e51b8152600401610723906131e9565b600480546040516370a0823160e01b81526000926001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe28116936370a082319361160993919092169101612fdb565b60206040518083038186803b15801561162157600080fd5b505afa158015611635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116599190612ddd565b610f65600460009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2657600080fd5b6116b26117a2565b6000546001600160a01b039081169116146116df5760405162461bcd60e51b81526004016107239061340e565b6001600160a01b0381166117055760405162461bcd60e51b8152600401610723906130e9565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600061178a8261138d670de0b6b3a764000061109e611783846113938a8c611d66565b8a90611c9f565b95945050505050565b6003546001600160a01b031681565b3390565b600254604051635316033760e11b815260009182916001600160a01b039091169063a62c066e906117db903090600401612fdb565b604080518083038186803b1580156117f257600080fd5b505afa158015611806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182a9190612ed1565b915091509091565b60006113ac7f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b03166370a082317f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816040518263ffffffff1660e01b81526004016118a39190612fdb565b60206040518083038186803b1580156118bb57600080fd5b505afa1580156118cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f39190612ddd565b7f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561194c57600080fd5b505afa158015611960573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113939190612ddd565b6004546001600160a01b03166119ac5760405162461bcd60e51b81526004016107239061312f565b60018260028111156119ba57fe5b14156119d1576103dc6119cc826115b4565b611d8b565b60028260028111156119df57fe5b14156109d1576109d181611b87565b42600855808015611a0457504260065460075401105b15610e2d57611a11611e00565b611a196120da565b4260075550565b6002546001600160a01b031663e9cf230986611a3d5a8890611ce2565b8686866040518663ffffffff1660e01b8152600401611a6095949392919061364a565b600060405180830381600087803b158015611a7a57600080fd5b505af1158015611a8e573d6000803e3d6000fd5b505050505050505050565b611aa16117a2565b6000546001600160a01b03908116911614611ace5760405162461bcd60e51b81526004016107239061340e565b60405163340ac20f60e01b81526001600160a01b0384169063340ac20f90611afa908590600401612fdb565b600060405180830381600087803b158015611b1457600080fd5b505af1158015611b28573d6000803e3d6000fd5b50505050505050565b610fb88363a9059cbb60e01b8484604051602401611b50929190612fef565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526123cd565b60008111611ba75760405162461bcd60e51b815260040161072390613561565b6004805460405163e57ae51760e01b81526001600160a01b037f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028181169363e57ae51793611bf993921691869101612fef565b600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b50505050611c5b63a59f3e0c60e01b82604051602001611c4791906135ae565b60405160208183030381529060405261245c565b336001600160a01b03167febedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a82604051611c9491906135ae565b60405180910390a250565b600082611cae57506000611cdc565b82820282848281611cbb57fe5b0414611cd95760405162461bcd60e51b81526004016107239061339f565b90505b92915050565b6000611cd983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124e9565b6000611cd983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612515565b600082820183811015611cd95760405162461bcd60e51b815260040161072390613159565b60008111611dab5760405162461bcd60e51b81526004016107239061329d565b611dc76367dfd4c960e01b82604051602001611c4791906135ae565b336001600160a01b03167f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a682604051611c9491906135ae565b6000611e0a61122b565b905060008111611e2c5760405162461bcd60e51b8152600401610723906132c4565b6040516370a0823160e01b81526000906001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe216906370a0823190611e9b907f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028190600401612fdb565b60206040518083038186803b158015611eb357600080fd5b505afa158015611ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eeb9190612ddd565b90506000611ef8836115b4565b9050611f166367dfd4c960e01b82604051602001611c4791906135ae565b6000611fa0837f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b03166370a082317f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816040518263ffffffff1660e01b8152600401611f889190612fdb565b60206040518083038186803b15801561194c57600080fd5b905060008111611fc25760405162461bcd60e51b815260040161072390613319565b7f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816001600160a01b031663d1e40b557f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe263a9059cbb60e01b308560405160200161202d929190612fef565b60405160208183030381529060405260006040518563ffffffff1660e01b815260040161205d9493929190613008565b600060405180830381600087803b15801561207757600080fd5b505af115801561208b573d6000803e3d6000fd5b50505050336001600160a01b03167f3c09a2b3e58d6395c26eccb9ac4a6f743daa1235eb4ae606bd8b63e7a7b3baac8386846040516120cc93929190613634565b60405180910390a250505050565b6040516370a0823160e01b81526000906001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe216906370a0823190612129903090600401612fdb565b60206040518083038186803b15801561214157600080fd5b505afa158015612155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121799190612ddd565b90506000811161219b5760405162461bcd60e51b8152600401610723906132ee565b6000806121c8837f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe261254c565b91509150600081116121ec5760405162461bcd60e51b815260040161072390613266565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2169063095ea7b39061225a907f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d0281908590600401612fef565b602060405180830381600087803b15801561227457600080fd5b505af1158015612288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ac9190612da9565b5060405163b6b55f2560e01b81526001600160a01b037f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d0281169063b6b55f25906122f99084906004016135ae565b602060405180830381600087803b15801561231357600080fd5b505af1158015612327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234b9190612ddd565b50600060606123797f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816125cb565b91509150336001600160a01b03167f26c9ce3cb774c92b03499ac4bc58987fc4ae05aa8cd48c25f34fb2c6d60c502186868686866040516123be95949392919061368e565b60405180910390a25050505050565b6060612422826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a379092919063ffffffff16565b805190915015610fb857808060200190518101906124409190612da9565b610fb85760405162461bcd60e51b8152600401610723906134e0565b6004805460405163d1e40b5560e01b81526001600160a01b037f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028181169363d1e40b55936124b3939216918791879160009101613008565b600060405180830381600087803b1580156124cd57600080fd5b505af11580156124e1573d6000803e3d6000fd5b505050505050565b6000818484111561250d5760405162461bcd60e51b815260040161072391906130a6565b505050900390565b600081836125365760405162461bcd60e51b815260040161072391906130a6565b50600083858161254257fe5b0495945050505050565b600a546000908190156125c15761257a670de0b6b3a764000061109e600a5487611c9f90919063ffffffff16565b91506125868483611ce2565b90506125bc6001600160a01b0384167f000000000000000000000000d132973eaebbd6d7ca7b88e9170f2cca058de43084611b31565b6125c4565b50825b9250929050565b60006060600b80548060200260200160405190810160405280929190818152602001828054801561262557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612607575b505083519394505050811515905061264f5760405162461bcd60e51b8152600401610723906133e0565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028116906370a082319061269b903090600401612fdb565b60206040518083038186803b1580156126b357600080fd5b505afa1580156126c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126eb9190612ddd565b92506000831161270d5760405162461bcd60e51b815260040161072390613373565b6000805b828110156127bc576127b2866001600160a01b03166370a0823186848151811061273757fe5b60200260200101516040518263ffffffff1660e01b815260040161275b9190612fdb565b60206040518083038186803b15801561277357600080fd5b505afa158015612787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ab9190612ddd565b8390611d66565b9150600101612711565b50600081116127dd5760405162461bcd60e51b815260040161072390613587565b60005b82811015612a2f5760008482815181106127f657fe5b6020026020010151905060007f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816001600160a01b03166370a08231836040518263ffffffff1660e01b815260040161284e9190612fdb565b60206040518083038186803b15801561286657600080fd5b505afa15801561287a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289e9190612ddd565b9050806128ac575050612a27565b6000846128b98984611c9f565b816128c057fe5b0490507f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d02816001600160a01b031663a9059cbb84836040518363ffffffff1660e01b8152600401612911929190612fef565b602060405180830381600087803b15801561292b57600080fd5b505af115801561293f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129639190612da9565b50604051631185197d60e31b81526001600160a01b03841690638c28cbe8906129b0907f000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028190600401612fdb565b600060405180830381600087803b1580156129ca57600080fd5b505af11580156129de573d6000803e3d6000fd5b50505050826001600160a01b03167f69eaf10e8f1f328ba4168e52a02314cf7f68a9bc72b8431bb08f219edd098a5582604051612a1b91906135ae565b60405180910390a25050505b6001016127e0565b505050915091565b6060612a468484600085612a4e565b949350505050565b606082471015612a705760405162461bcd60e51b815260040161072390613220565b612a7985612b0f565b612a955760405162461bcd60e51b8152600401610723906134a9565b60006060866001600160a01b03168587604051612ab29190612fbf565b60006040518083038185875af1925050503d8060008114612aef576040519150601f19603f3d011682016040523d82523d6000602084013e612af4565b606091505b5091509150612b04828286612b15565b979650505050505050565b3b151590565b60608315612b24575081610927565b825115612b345782518084602001fd5b8160405162461bcd60e51b815260040161072391906130a6565b828054828255906000526020600020908101928215612ba1579160200282015b82811115612ba15781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612b6e565b50612bad929150612bb1565b5090565b5b80821115612bad5780546001600160a01b0319168155600101612bb2565b8035611cdc81613730565b600060208284031215612bec578081fd5b8135611cd981613730565b60008060408385031215612c09578081fd5b8235612c1481613730565b91506020830135612c2481613730565b809150509250929050565b600080600060608486031215612c43578081fd5b8335612c4e81613730565b9250602084810135612c5f81613730565b9250604085013567ffffffffffffffff811115612c7a578283fd5b8501601f81018713612c8a578283fd5b8035612c9d612c98826136e0565b6136b9565b81815283810190838501858402850186018b1015612cb9578687fd5b8694505b83851015612ce357612ccf8b82612bd0565b835260019490940193918501918501612cbd565b5080955050505050509250925092565b60008060408385031215612d05578182fd5b8235612d1081613730565b946020939093013593505050565b60008060208385031215612d30578182fd5b823567ffffffffffffffff80821115612d47578384fd5b818501915085601f830112612d5a578384fd5b813581811115612d68578485fd5b8660208083028501011115612d7b578485fd5b60209290920196919550909350505050565b600060208284031215612d9e578081fd5b8135611cd981613745565b600060208284031215612dba578081fd5b8151611cd981613745565b600060208284031215612dd6578081fd5b5035919050565b600060208284031215612dee578081fd5b5051919050565b60008060008060608587031215612e0a578081fd5b843593506020850135612e1c81613745565b9250604085013567ffffffffffffffff80821115612e38578283fd5b818701915087601f830112612e4b578283fd5b813581811115612e59578384fd5b886020828501011115612e6a578384fd5b95989497505060200194505050565b600080600060608486031215612e8d578283fd5b833592506020840135612e9f81613730565b929592945050506040919091013590565b60008060408385031215612ec2578182fd5b50508035926020909101359150565b60008060408385031215612ee3578182fd5b505080516020909101519092909150565b600080600060608486031215612f08578081fd5b505081359360208301359350604090920135919050565b60008060008060808587031215612f34578182fd5b5050823594602084013594506040840135936060013592509050565b6000815180845260208085019450808401835b83811015612f885781516001600160a01b031687529582019590820190600101612f63565b509495945050505050565b60008151808452612fab816020860160208601613700565b601f01601f19169290920160200192915050565b60008251612fd1818460208701613700565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b03851681526001600160e01b03198416602082015260806040820181905260009061303c90830185612f93565b905082606083015295945050505050565b600060208252611cd96020830184612f50565b606081016003851061306e57fe5b9381526020810192909252151560409091015290565b606081016003851061309257fe5b938152602081019290925260409091015290565b600060208252611cd96020830184612f93565b60208082526016908201527511551217d1915157d3d5915497d5121157d31253525560521b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526010908201526f14d51050d2d25391d7d254d7d395531360821b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526018908201527f4d41585f494e54455256414c5f4e4f545f524541434845440000000000000000604082015260600190565b6020808252600890820152674f4e4c595f454f4160c01b604082015260600190565b60208082526018908201527f4d494e5f494e54455256414c5f4e4f545f524541434845440000000000000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f4e4f5f504f4f4c5f524557415244535f554e4445524c59494e47000000000000604082015260600190565b6020808252600d908201526c043414e545f52454445454d5f3609c1b604082015260600190565b60208082526010908201526f4e4f5448494e475f544f5f434c41494d60801b604082015260600190565b6020808252601190820152701393d7d4115391125391d7d49155d05491607a1b604082015260600190565b60208082526010908201526f1393d512125391d7d49153115054d15160821b604082015260600190565b60208082526016908201527514159417d1915157d3d5915497d5121157d31253525560521b604082015260600190565b6020808252601290820152714e4f5f504f4f4c5f524557415244535f504960701b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252601490820152734d495353494e475f5245574152445f504f4f4c5360601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260159082015274105517d3115054d517d3d39157d156141150d51151605a1b604082015260600190565b60208082526017908201527f52525f475245415445525f5448414e5f3130305f504354000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601a908201527f524553455256455f5354415455535f455155494c49425249554d000000000000604082015260600190565b6020808252600c908201526b043414e545f5354414b455f360a41b604082015260600190565b6020808252600d908201526c0544f54414c5f50495f49535f3609c1b604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b83815260406020808301829052908201839052600090849060608401835b8681101561361a5783356135ff81613730565b6001600160a01b0316825292820192908201906001016135ec565b50979650505050505050565b918252602082015260400190565b9283526020830191909152604082015260600190565b600086825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b600086825285602083015284604083015283606083015260a06080830152612b0460a0830184612f50565b60405181810167ffffffffffffffff811182821017156136d857600080fd5b604052919050565b600067ffffffffffffffff8211156136f6578081fd5b5060209081020190565b60005b8381101561371b578181015183820152602001613703565b8381111561372a576000848401525b50505050565b6001600160a01b0381168114610e2d57600080fd5b8015158114610e2d57600080fdfea2646970667358221220b6f0de1991ca5df74fac87ce062d7eb51853ab951c83867caec30f7af06452cb64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d028100000000000000000000000000000000000000000000000000000000000000600000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe20000000000000000000000003885c4e1107b445dd370d09008d90b5153132fff00000000000000000000000004d7aa22ef7181ee3142f5063e026af1bbbe5b9600000000000000000000000000000000000000000000000000000000000000000000000000000000000000008798249c2e607446efb7ad49ec89dd1865ff427200000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000000000000093a80000000000000000000000000d132973eaebbd6d7ca7b88e9170f2cca058de430000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b4bebd34f6daafd808f73de0d10235a92fbb6c3d000000000000000000000000fa2562da1bba7b954f26c74725df51fb62646313
-----Decoded View---------------
Arg [0] : _piToken (address): 0xF3505383b740af8C241f1CF6659619A9c38D0281
Arg [1] : _basicConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [2] : _sushiConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 000000000000000000000000f3505383b740af8c241f1cf6659619a9c38d0281
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2
Arg [3] : 0000000000000000000000003885c4e1107b445dd370d09008d90b5153132fff
Arg [4] : 00000000000000000000000004d7aa22ef7181ee3142f5063e026af1bbbe5b96
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000008798249c2e607446efb7ad49ec89dd1865ff4272
Arg [7] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [8] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [10] : 000000000000000000000000d132973eaebbd6d7ca7b88e9170f2cca058de430
Arg [11] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [14] : 000000000000000000000000b4bebd34f6daafd808f73de0d10235a92fbb6c3d
Arg [15] : 000000000000000000000000fa2562da1bba7b954f26c74725df51fb62646313
Deployed Bytecode Sourcemap
48417:7229:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35668:343;;;;;;;;;;-1:-1:-1;35668:343:0;;;;;:::i;:::-;;:::i;:::-;;33074:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33106:35;;;;;;;;;;;;;:::i;32943:41::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32989:27::-;;;;;;;;;;;;;:::i;36017:240::-;;;;;;;;;;-1:-1:-1;36017:240:0;;;;;:::i;:::-;;:::i;33047:22::-;;;;;;;;;;;;;:::i;35466:196::-;;;;;;;;;;-1:-1:-1;35466:196:0;;;;;:::i;:::-;;:::i;32855:48::-;;;;;;;;;;;;;:::i;33146:33::-;;;;;;;;;;;;;:::i;53506:206::-;;;;;;;;;;-1:-1:-1;53506:206:0;;;;;:::i;:::-;;:::i;32908:28::-;;;;;;;;;;;;;:::i;30374:138::-;;;;;;;;;;;;;:::i;31642:125::-;;;;;;:::i;:::-;;:::i;33184:31::-;;;;;;;;;;;;;:::i;36446:163::-;;;;;;;;;;-1:-1:-1;36446:163:0;;;;;:::i;:::-;;:::i;29772:73::-;;;;;;;;;;;;;:::i;37829:631::-;;;;;;;;;;-1:-1:-1;37829:631:0;;;;;:::i;:::-;;:::i;36737:451::-;;;;;;;;;;-1:-1:-1;36737:451:0;;;;;:::i;:::-;;:::i;36263:177::-;;;;;;;;;;-1:-1:-1;36263:177:0;;;;;:::i;:::-;;:::i;41362:217::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;54106:77::-;;;;;;;;;;-1:-1:-1;54106:77:0;;;;;:::i;:::-;;:::i;51825:163::-;;;;;;;;;;-1:-1:-1;51825:163:0;;;;;:::i;:::-;;:::i;38466:240::-;;;;;;;;;;-1:-1:-1;38466:240:0;;;;;:::i;:::-;;:::i;41688:639::-;;;;;;;;;;-1:-1:-1;41688:639:0;;;;;:::i;:::-;;:::i;36615:116::-;;;;;;;;;;-1:-1:-1;36615:116:0;;;;;:::i;:::-;;:::i;52228:318::-;;;;;;;;;;;;;:::i;33290:21::-;;;;;;;;;;;;;:::i;31966:45::-;;;;;;;;;;;;;:::i;33220:43::-;;;;;;;;;;;;;:::i;52684:304::-;;;;;;;;;;;;;:::i;54353:81::-;;;;;;;;;;-1:-1:-1;54353:81:0;;;;;:::i;:::-;;:::i;45791:860::-;;;;;;;;;;-1:-1:-1;45791:860:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;42709:98::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;42598:105::-;;;;;;;;;;;;;:::i;37194:629::-;;;;;;;;;;-1:-1:-1;37194:629:0;;;;;:::i;:::-;;:::i;51428:161::-;;;;;;;;;;-1:-1:-1;51428:161:0;;;;;:::i;:::-;;:::i;30657:230::-;;;;;;;;;;-1:-1:-1;30657:230:0;;;;;:::i;:::-;;:::i;47574:342::-;;;;;;;;;;-1:-1:-1;47574:342:0;;;;;:::i;:::-;;:::i;53718:218::-;;;;;;;;;;-1:-1:-1;53718:218:0;;;;;:::i;33021:21::-;;;;;;;;;;;;;:::i;35668:343::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;;;;;;;;;32004:7:::1;35797:13;:28;;35789:64;;;;-1:-1:-1::0;;;35789:64:0::1;;;;;;;:::i;:::-;35860:12;:28:::0;;;35895:20:::1;:44:::0;;;35951:54:::1;::::0;::::1;::::0;::::1;::::0;35875:13;;35918:21;;35951:54:::1;:::i;:::-;;;;;;;;35668:343:::0;;:::o;33074:27::-;;;;:::o;33106:35::-;;;;:::o;32943:41::-;;;-1:-1:-1;;;;;32943:41:0;;:::o;32989:27::-;;;-1:-1:-1;;;;;32989:27:0;;:::o;36017:240::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;36108:23;36100:57:::1;;;;-1:-1:-1::0;;;36100:57:0::1;;;;;;;:::i;:::-;36164:26;:11;36178:12:::0;;36164:26:::1;:::i;:::-;-1:-1:-1::0;36202:49:0::1;::::0;::::1;::::0;::::1;::::0;36217:12;;;;;;36202:49:::1;:::i;33047:22::-:0;;;-1:-1:-1;;;;;33047:22:0;;:::o;35466:196::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;35565:6:::1;:16:::0;;-1:-1:-1;;;;;;35565:16:0;;::::1;-1:-1:-1::0;;;;;35565:16:0;;::::1;::::0;;::::1;::::0;;;35588:7:::1;:18:::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;35618:38:::1;::::0;::::1;::::0;-1:-1:-1;;35618:38:0::1;35466:196:::0;;:::o;32855:48::-;;;:::o;33146:33::-;;;;:::o;53506:206::-;53697:9;53506:206;;;;;;:::o;32908:28::-;;;:::o;30374:138::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;30477:1:::1;30461:6:::0;;30440:40:::1;::::0;-1:-1:-1;;;;;30461:6:0;;::::1;::::0;30440:40:::1;::::0;30477:1;;30440:40:::1;30504:1;30487:19:::0;;-1:-1:-1;;;;;;30487:19:0::1;::::0;;30374:138::o;31642:125::-;;;:::o;33184:31::-;;;;:::o;36446:163::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;36534:9:::1;36523:7;:20;;36515:55;;;;-1:-1:-1::0;;;36515:55:0::1;;;;;;;:::i;:::-;36577:26;::::0;-1:-1:-1;;;36577:26:0;;-1:-1:-1;;;;;36577:7:0::1;:17;::::0;::::1;::::0;:26:::1;::::0;36595:7;;36577:26:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;36446:163:::0;:::o;29772:73::-;29810:7;29833:6;-1:-1:-1;;;;;29833:6:0;29772:73;;:::o;37829:631::-;37981:11;37994;;33958:16;33977:9;33993;;:55;;-1:-1:-1;;;33993:55:0;;33958:28;;-1:-1:-1;;;;;;33993:9:0;;:30;;:55;;34024:11;;34037:10;;33993:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33562:9:0::1;33575:10;33562:23;::::0;-1:-1:-1;33554:44:0::1;::::0;-1:-1:-1;33554:44:0::1;;;-1:-1:-1::0;;;33554:44:0::1;;;;;;;:::i;:::-;38025:19:::2;38048:26;:24;:26::i;:::-;38022:52;;;38082:20;38104:12:::0;38118:19:::2;38141:43;38158:22;:20;:22::i;:::-;38182:1;38141:16;:43::i;:::-;38081:103;;;;;;38199:14;:66;;;;38250:15;38236:11;38217:16;;:30;:48;38199:66;38191:103;;;;-1:-1:-1::0;;;38191:103:0::2;;;;;;;:::i;:::-;38319:25;38309:6;:35;;;;;;;;;;38301:74;;;;-1:-1:-1::0;;;38301:74:0::2;;;;;;;:::i;:::-;38382:28;38397:6;38405:4;38382:14;:28::i;:::-;38417:37;38427:26;38417:9;:37::i;:::-;33605:1;;;;34063:67:::0;34071:11;34084:8;33406:1;34118:11;;34063:7;:67::i;:::-;37829:631;;;;;;;;:::o;36737:451::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;36890:55:::1;36915:8;36925:10;36937:7;36890:24;:55::i;:::-;36954:42;::::0;-1:-1:-1;;;;;36954:19:0;::::1;::::0;36974:21:::1;36954:42:::0;::::1;;;::::0;::::1;::::0;;;36974:21;36954:19;:42;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;37019:14:0;;37005:11:::1;37040:143;37064:3;37060:1;:7;37040:143;;;37083:8;37101:7;37109:1;37101:10;;;;;;;;;;;;;;37083:29;;37121:54;37136:10;37148:1;-1:-1:-1::0;;;;;37148:11:0::1;;37168:4;37148:26;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;37121:14:0;::::1;::::0;:54;:14:::1;:54::i;:::-;-1:-1:-1::0;37069:3:0::1;;37040:143;;36263:177:::0;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;32004:7:::1;36333;:21;36325:56;;;;-1:-1:-1::0;;;36325:56:0::1;;;;;;;:::i;:::-;36388:6;:16:::0;;;36416:18:::1;::::0;::::1;::::0;::::1;::::0;36397:7;;36416:18:::1;:::i;:::-;;;;;;;;36263:177:::0;:::o;41362:217::-;41442:20;41469:12;41488:19;41530:43;41547:22;:20;:22::i;41530:43::-;41523:50;;;;;;41362:217;;;:::o;54106:77::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;54163:14:::1;54170:6;54163;:14::i;:::-;54106:77:::0;:::o;51825:163::-;51890:7;51960;;;;;;;;;-1:-1:-1;;;;;51960:7:0;-1:-1:-1;;;;;51953:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51941:7;;;51925:24;;-1:-1:-1;;;51925:24:0;;51913:37;;-1:-1:-1;;;;;51925:5:0;:15;;;;;:24;;51941:7;;;;;51925:24;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51913:7;;:11;:37::i;:::-;:69;;;;;;;51825:163;-1:-1:-1;;51825:163:0:o;38466:240::-;33562:9;33575:10;33562:23;33554:44;;;;-1:-1:-1;;;33554:44:0;;;;;;;:::i;:::-;38538:20:::1;38560:12:::0;38578:43:::1;38595:22;:20;:22::i;38578:43::-;38537:84;;;;;38628:28;38643:6;38651:4;38628:14;:28::i;:::-;38663:37;38673:26;38663:9;:37::i;:::-;33605:1;;38466:240:::0;:::o;41688:639::-;41799:20;41826:12;41845:19;41880:29;41956:134;41985:12;;42006:7;-1:-1:-1;;;;;42006:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42045:14;42068:15;41956:20;:134::i;:::-;41916:174;;-1:-1:-1;41916:174:0;-1:-1:-1;41916:174:0;-1:-1:-1;42113:22:0;42103:6;:32;;;;;;;;;42099:223;;;42146:20;42169:75;42222:21;42169:48;32004:7;42169:31;42222:21;42195:4;42169:25;:31::i;:::-;:35;;:48::i;:::-;:52;;:75::i;:::-;42270:28;;:44;;;-1:-1:-1;;42099:223:0;41688:639;;;;;;:::o;36615:116::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;36692:33:::1;::::0;-1:-1:-1;;;36692:33:0;;-1:-1:-1;;;;;36692:7:0::1;:22;::::0;::::1;::::0;:33:::1;::::0;36715:9;;36692:33:::1;;;:::i;52228:318::-:0;52308:7;;52288;;-1:-1:-1;;;;;52308:7:0;52304:52;;-1:-1:-1;52347:1:0;52340:8;;52304:52;52397:7;;;52390:43;;-1:-1:-1;;;52390:43:0;;52364:23;;-1:-1:-1;;;;;52397:7:0;;;;52390:25;;:43;;52424:7;;52390:43;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52364:69;-1:-1:-1;52444:20:0;52440:51;;52482:1;52475:8;;;;;52440:51;52506:34;52524:15;52506:17;:34::i;:::-;52499:41;;;52228:318;:::o;33290:21::-;;;;:::o;31966:45::-;32004:7;31966:45;:::o;33220:43::-;;;;:::o;52684:304::-;52734:14;52842:102;52922:7;-1:-1:-1;;;;;52922:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52842:75;52915:1;52842:68;52880:29;:27;:29::i;:::-;52842:33;;-1:-1:-1;;;52842:33:0;;-1:-1:-1;;;;;52842:5:0;:15;;;;:33;;52866:7;;52842:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:37;;:68::i;:75::-;:79;;:102::i;:::-;52833:111;;52958:6;52968:1;52958:11;:24;;52976:6;52958:24;;;52972:1;52958:24;52951:31;;52684:304;:::o;54353:81::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;54412:16:::1;54420:7;54412;:16::i;45791:860::-:0;45981:20;46008:12;46027:29;32004:7;46080:16;:31;;46072:67;;;;-1:-1:-1;;;46072:67:0;;;;;;;:::i;:::-;46170:91;46195:16;46213:14;46229;46245:15;46170:24;:91::i;:::-;46146:115;;46298:14;46274:21;:38;46270:376;;;46332:22;;-1:-1:-1;46370:41:0;:21;46396:14;46370:25;:41::i;:::-;46363:48;;46270:376;;;46453:14;46429:21;:38;46425:221;;;46487:20;;-1:-1:-1;46523:41:0;:14;46542:21;46523:18;:41::i;46425:221::-;46596:25;46587:34;;46637:1;46630:8;;46425:221;45791:860;;;;;;;;:::o;42709:98::-;42758:16;42790:11;42783:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42783:18:0;;;;;;;;;;;;;;;;;;;;;;;42709:98;:::o;42598:105::-;42652:7;42675:22;:20;:22::i;37194:629::-;37344:11;37357;;33696:16;33715:9;33731;;:52;;-1:-1:-1;;;33731:52:0;;33696:28;;-1:-1:-1;;;;;;33731:9:0;;:27;;:52;;33759:11;;33772:10;;33731:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33562:9:0::1;33575:10;33562:23;::::0;-1:-1:-1;33554:44:0::1;::::0;-1:-1:-1;33554:44:0::1;;;-1:-1:-1::0;;;33554:44:0::1;;;;;;;:::i;:::-;37386:19:::2;37411:26;:24;:26::i;:::-;37385:52;;;37445:20;37467:12:::0;37481:19:::2;37504:43;37521:22;:20;:22::i;37504:43::-;37444:103;;;;;;37562:14;:66;;;;37613:15;37599:11;37580:16;;:30;:48;37562:66;37554:103;;;;-1:-1:-1::0;;;37554:103:0::2;;;;;;;:::i;51428:161::-:0;51575:7;;;51559:24;;-1:-1:-1;;;51559:24:0;;51492:7;;-1:-1:-1;;;;;51559:5:0;:15;;;;;:24;;51575:7;;;;;51559:24;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51515:41;51533:7;;;;;;;;;-1:-1:-1;;;;;51533:7:0;-1:-1:-1;;;;;51526:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30657:230;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;30742:22:0;::::1;30734:73;;;;-1:-1:-1::0;;;30734:73:0::1;;;;;;;:::i;:::-;30840:6;::::0;;30819:38:::1;::::0;-1:-1:-1;;;;;30819:38:0;;::::1;::::0;30840:6;::::1;::::0;30819:38:::1;::::0;::::1;30864:6;:17:::0;;-1:-1:-1;;;;;;30864:17:0::1;-1:-1:-1::0;;;;;30864:17:0;;;::::1;::::0;;;::::1;::::0;;30657:230::o;47574:342::-;47753:7;47781:129;47888:15;47781:94;32004:7;47781:77;47802:55;47888:15;47802:34;:14;47821;47802:18;:34::i;:55::-;47781:16;;:20;:77::i;:129::-;47769:141;47574:342;-1:-1:-1;;;;;47574:342:0:o;33021:21::-;;;-1:-1:-1;;;;;33021:21:0;;:::o;28398:100::-;28482:10;28398:100;:::o;48174:154::-;48273:9;;:49;;-1:-1:-1;;;48273:49:0;;48233:11;;;;-1:-1:-1;;;;;48273:9:0;;;;:34;;:49;;48316:4;;48273:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48266:56;;;;48174:154;;:::o;54975:204::-;55039:7;55113:60;55139:5;-1:-1:-1;;;;;55139:15:0;;55163:7;55139:33;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55113:7;-1:-1:-1;;;;;55113:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;54469:343::-;54574:7;;-1:-1:-1;;;;;54574:7:0;54566:50;;;;-1:-1:-1;;;54566:50:0;;;;;;;:::i;:::-;54646:22;54629:13;:39;;;;;;;;;54625:182;;;54679:37;54687:28;54705:9;54687:17;:28::i;:::-;54679:7;:37::i;54625:182::-;54751:20;54734:13;:37;;;;;;;;;54730:77;;;54782:17;54789:9;54782:6;:17::i;38712:317::-;38799:15;38780:16;:34;38827:26;:89;;;;;38901:15;38878:20;;38857:18;;:41;:59;38827:89;38823:201;;;38927:15;:13;:15::i;:::-;38951:20;:18;:20::i;:::-;39001:15;38980:18;:36;38712:317;:::o;47922:246::-;48075:9;;-1:-1:-1;;;;;48075:9:0;:16;48092:11;48105:24;48119:9;48105;;:13;:24::i;:::-;48131:17;48150:11;;48075:87;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47922:246;;;;;:::o;31411:225::-;29976:12;:10;:12::i;:::-;29966:6;;-1:-1:-1;;;;;29966:6:0;;;:22;;;29958:67;;;;-1:-1:-1;;;29958:67:0;;;;;;;:::i;:::-;31572:58:::1;::::0;-1:-1:-1;;;31572:58:0;;-1:-1:-1;;;;;31572:46:0;::::1;::::0;::::1;::::0;:58:::1;::::0;31619:10;;31572:58:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;31411:225:::0;;;:::o;19194:171::-;19273:86;19293:5;19323:23;;;19348:2;19352:5;19300:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;19300:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;19300:58:0;-1:-1:-1;;;;;;19300:58:0;;;;;;;;;;19273:19;:86::i;55185:247::-;55250:1;55241:6;:10;55233:35;;;;-1:-1:-1;;;55233:35:0;;;;;;;:::i;:::-;55303:7;;;55277:42;;-1:-1:-1;;;55277:42:0;;-1:-1:-1;;;;;55277:7:0;:25;;;;;:42;;55303:7;;;55312:6;;55277:42;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55326:61;55339:27;;;55379:6;55368:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;55326:12;:61::i;:::-;55407:10;-1:-1:-1;;;;;55401:25:0;;55419:6;55401:25;;;;;;:::i;:::-;;;;;;;;55185:247;:::o;9071:431::-;9129:7;9358:6;9354:37;;-1:-1:-1;9382:1:0;9375:8;;9354:37;9411:5;;;9415:1;9411;:5;:1;9431:5;;;;;:10;9423:56;;;;-1:-1:-1;;;9423:56:0;;;;;;;:::i;:::-;9495:1;-1:-1:-1;9071:431:0;;;;;:::o;8245:130::-;8303:7;8326:43;8330:1;8333;8326:43;;;;;;;;;;;;;;;;;:3;:43::i;9952:126::-;10010:7;10033:39;10037:1;10040;10033:39;;;;;;;;;;;;;;;;;:3;:39::i;7817:167::-;7875:7;7903:5;;;7923:6;;;;7915:46;;;;-1:-1:-1;;;7915:46:0;;;;;;;:::i;55438:205::-;55506:1;55496:7;:11;55488:37;;;;-1:-1:-1;;;55488:37:0;;;;;;;:::i;:::-;55534:62;55547:27;;;55587:7;55576:19;;;;;;;;:::i;55534:62::-;55617:10;-1:-1:-1;;;;;55610:27:0;;55629:7;55610:27;;;;;;:::i;49457:781::-;49507:22;49532:19;:17;:19::i;:::-;49507:44;;49583:1;49566:14;:18;49558:47;;;;-1:-1:-1;;;49558:47:0;;;;;;;:::i;:::-;49636:33;;-1:-1:-1;;;49636:33:0;;49614:19;;-1:-1:-1;;;;;49636:5:0;:15;;;;:33;;49660:7;;49636:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49614:55;;49676:20;49699:33;49717:14;49699:17;:33::i;:::-;49676:56;;49798:64;49811:24;;;49848:12;49837:24;;;;;;;;:::i;49798:64::-;49869:16;49888:50;49926:11;49888:5;-1:-1:-1;;;;;49888:15:0;;49912:7;49888:33;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:50;49869:69;;49964:1;49953:8;:12;49945:41;;;;-1:-1:-1;;;49945:41:0;;;;;;;:::i;:::-;50053:7;-1:-1:-1;;;;;50053:20:0;;50082:5;50090:23;;;50134:4;50141:8;50115:35;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50152:1;50053:101;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50181:10;-1:-1:-1;;;;;50168:64:0;;50193:12;50207:14;50223:8;50168:64;;;;;;;;:::i;:::-;;;;;;;;49457:781;;;;:::o;50378:795::-;50457:30;;-1:-1:-1;;;50457:30:0;;50433:21;;-1:-1:-1;;;;;50457:5:0;:15;;;;:30;;50481:4;;50457:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50433:54;;50518:1;50502:13;:17;50494:47;;;;-1:-1:-1;;;50494:47:0;;;;;;;:::i;:::-;50589:17;50608:29;50641:44;50664:13;50679:5;50641:22;:44::i;:::-;50588:97;;;;50724:1;50700:21;:25;50692:64;;;;-1:-1:-1;;;50692:64:0;;;;;;;:::i;:::-;50806:54;;-1:-1:-1;;;50806:54:0;;-1:-1:-1;;;;;50806:5:0;:13;;;;:54;;50828:7;;50838:21;;50806:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;50867:38:0;;-1:-1:-1;;;50867:38:0;;-1:-1:-1;;;;;50867:7:0;:15;;;;:38;;50883:21;;50867:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50966:21;50989:22;51015:38;51045:7;51015:29;:38::i;:::-;50965:88;;;;51085:10;-1:-1:-1;;;;;51067:100:0;;51097:13;51112:9;51123:21;51146:13;51161:5;51067:100;;;;;;;;;;:::i;:::-;;;;;;;;50378:795;;;;;:::o;21395:723::-;21803:23;21829:69;21857:4;21829:69;;;;;;;;;;;;;;;;;21837:5;-1:-1:-1;;;;;21829:27:0;;;:69;;;;;:::i;:::-;21909:17;;21803:95;;-1:-1:-1;21909:21:0;21905:208;;22039:10;22028:30;;;;;;;;;;;;:::i;:::-;22020:85;;;;-1:-1:-1;;;22020:85:0;;;;;;;:::i;39504:122::-;39596:7;;;39575:45;;-1:-1:-1;;;39575:45:0;;-1:-1:-1;;;;;39575:7:0;:20;;;;;:45;;39596:7;;;39605:4;;39611:5;;39596:7;;39575:45;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39504:122;;:::o;8656:178::-;8742:7;8774:12;8766:6;;;;8758:29;;;;-1:-1:-1;;;8758:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;8806:5:0;;;8656:178::o;10548:260::-;10634:7;10665:12;10658:5;10650:28;;;;-1:-1:-1;;;10650:28:0;;;;;;;;:::i;:::-;;10685:9;10701:1;10697;:5;;;;;;;10548:260;-1:-1:-1;;;;;10548:260:0:o;39791:423::-;39983:6;;39889:17;;;;39983:10;39979:230;;40016:41;32004:7;40016:24;40033:6;;40016:12;:16;;:24;;;;:::i;:41::-;40004:53;-1:-1:-1;40078:27:0;:12;40004:53;40078:16;:27::i;:::-;40066:39;-1:-1:-1;40114:40:0;-1:-1:-1;;;;;40114:24:0;;40139:3;40144:9;40114:24;:40::i;:::-;39979:230;;;-1:-1:-1;40189:12:0;39979:230;39791:423;;;;;:::o;40220:1035::-;40300:29;40331:22;40373:11;40365:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40365:19:0;;;;;;;;;;;;;;;;-1:-1:-1;;40410:12:0;;40365:19;;-1:-1:-1;;;40437:12:0;;;;-1:-1:-1;40429:45:0;;;;-1:-1:-1;;;40429:45:0;;;;;;;:::i;:::-;40507:32;;-1:-1:-1;;;40507:32:0;;-1:-1:-1;;;;;40507:7:0;:17;;;;:32;;40533:4;;40507:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40483:56;;40578:1;40554:21;:25;40546:56;;;;-1:-1:-1;;;40546:56:0;;;;;;;:::i;:::-;40611:22;40649:9;40644:121;40668:8;40664:1;:12;40644:121;;;40709:48;40728:8;-1:-1:-1;;;;;40728:18:0;;40747:5;40753:1;40747:8;;;;;;;;;;;;;;40728:28;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40709:14;;:18;:48::i;:::-;40692:65;-1:-1:-1;40678:3:0;;40644:121;;;;40796:1;40779:14;:18;40771:44;;;;-1:-1:-1;;;40771:44:0;;;;;;;:::i;:::-;40829:9;40824:426;40848:8;40844:1;:12;40824:426;;;40872:12;40887:5;40893:1;40887:8;;;;;;;;;;;;;;40872:23;;40904:21;40928:7;-1:-1:-1;;;;;40928:17:0;;40946:4;40928:23;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40904:47;-1:-1:-1;40964:18:0;40960:53;;40995:8;;;;40960:53;41023:18;41087:14;41044:40;:21;41070:13;41044:25;:40::i;:::-;:57;;;;;;41023:78;;41112:7;-1:-1:-1;;;;;41112:16:0;;41129:4;41135:10;41112:34;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;41157:43:0;;-1:-1:-1;;;41157:43:0;;-1:-1:-1;;;;;41157:25:0;;;;;:43;;41191:7;;41157:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41225:4;-1:-1:-1;;;;;41214:28:0;;41231:10;41214:28;;;;;;:::i;:::-;;;;;;;;40824:426;;;;40858:3;;40824:426;;;;40220:1035;;;;;:::o;15472:189::-;15575:12;15603:52;15625:6;15633:4;15639:1;15642:12;15603:21;:52::i;:::-;15596:59;15472:189;-1:-1:-1;;;;15472:189:0:o;16474:508::-;16601:12;16655:5;16630:21;:30;;16622:81;;;;-1:-1:-1;;;16622:81:0;;;;;;;:::i;:::-;16718:18;16729:6;16718:10;:18::i;:::-;16710:60;;;;-1:-1:-1;;;16710:60:0;;;;;;;:::i;:::-;16836:12;16850:23;16877:6;-1:-1:-1;;;;;16877:11:0;16897:5;16905:4;16877:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16835:75;;;;16924:52;16942:7;16951:10;16963:12;16924:17;:52::i;:::-;16917:59;16474:508;-1:-1:-1;;;;;;;16474:508:0:o;12692:392::-;13035:20;13070:8;;;12692:392::o;17934:638::-;18049:12;18074:7;18070:497;;;-1:-1:-1;18099:10:0;18092:17;;18070:497;18197:17;;:21;18193:367;;18426:10;18420:17;18477:15;18464:10;18460:2;18456:19;18449:44;18384:120;18537:12;18530:20;;-1:-1:-1;;;18530:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;5:130;72:20;;97:33;72:20;97:33;:::i;2473:241::-;;2577:2;2565:9;2556:7;2552:23;2548:32;2545:2;;;-1:-1;;2583:12;2545:2;85:6;72:20;97:33;124:5;97:33;:::i;2985:366::-;;;3106:2;3094:9;3085:7;3081:23;3077:32;3074:2;;;-1:-1;;3112:12;3074:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3164:63;-1:-1;3264:2;3303:22;;72:20;97:33;72:20;97:33;:::i;:::-;3272:63;;;;3068:283;;;;;:::o;3358:643::-;;;;3529:2;3517:9;3508:7;3504:23;3500:32;3497:2;;;-1:-1;;3535:12;3497:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3587:63;-1:-1;3687:2;3734:22;;;217:20;242:41;217:20;242:41;:::i;:::-;3695:71;-1:-1;3831:2;3816:18;;3803:32;3855:18;3844:30;;3841:2;;;-1:-1;;3877:12;3841:2;3953:22;;801:4;789:17;;785:27;-1:-1;775:2;;-1:-1;;816:12;775:2;863:6;850:20;885:80;900:64;957:6;900:64;:::i;:::-;885:80;:::i;:::-;993:21;;;1050:14;;;;1025:17;;;1139;;;1130:27;;;;1127:36;-1:-1;1124:2;;;-1:-1;;1166:12;1124:2;-1:-1;1192:10;;1186:206;1211:6;1208:1;1205:13;1186:206;;;1291:37;1324:3;1312:10;1291:37;:::i;:::-;1279:50;;1233:1;1226:9;;;;;1343:14;;;;1371;;1186:206;;;1190:14;3897:88;;;;;;;;3491:510;;;;;:::o;4008:366::-;;;4129:2;4117:9;4108:7;4104:23;4100:32;4097:2;;;-1:-1;;4135:12;4097:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4187:63;4287:2;4326:22;;;;2262:20;;-1:-1;;;4091:283::o;4381:397::-;;;4520:2;4508:9;4499:7;4495:23;4491:32;4488:2;;;-1:-1;;4526:12;4488:2;4584:17;4571:31;4622:18;;4614:6;4611:30;4608:2;;;-1:-1;;4644:12;4608:2;4745:6;4734:9;4730:22;;;443:3;436:4;428:6;424:17;420:27;410:2;;-1:-1;;451:12;410:2;494:6;481:20;4622:18;513:6;510:30;507:2;;;-1:-1;;543:12;507:2;638:3;4520:2;;622:6;618:17;579:6;604:32;;601:41;598:2;;;-1:-1;;645:12;598:2;4520;575:17;;;;;4664:98;;-1:-1;4482:296;;-1:-1;;;;4482:296::o;4785:235::-;;4886:2;4874:9;4865:7;4861:23;4857:32;4854:2;;;-1:-1;;4892:12;4854:2;1483:6;1470:20;1495:30;1519:5;1495:30;:::i;5027:257::-;;5139:2;5127:9;5118:7;5114:23;5110:32;5107:2;;;-1:-1;;5145:12;5107:2;1618:6;1612:13;1630:30;1654:5;1630:30;:::i;5291:241::-;;5395:2;5383:9;5374:7;5370:23;5366:32;5363:2;;;-1:-1;;5401:12;5363:2;-1:-1;2262:20;;5357:175;-1:-1;5357:175::o;5539:263::-;;5654:2;5642:9;5633:7;5629:23;5625:32;5622:2;;;-1:-1;;5660:12;5622:2;-1:-1;2410:13;;5616:186;-1:-1;5616:186::o;5809:609::-;;;;;5963:2;5951:9;5942:7;5938:23;5934:32;5931:2;;;-1:-1;;5969:12;5931:2;2275:6;2262:20;6021:63;;6121:2;6161:9;6157:22;1470:20;1495:30;1519:5;1495:30;:::i;:::-;6129:60;-1:-1;6254:2;6239:18;;6226:32;6278:18;6267:30;;;6264:2;;;-1:-1;;6300:12;6264:2;6385:6;6374:9;6370:22;;;1800:3;1793:4;1785:6;1781:17;1777:27;1767:2;;-1:-1;;1808:12;1767:2;1851:6;1838:20;6278:18;1870:6;1867:30;1864:2;;;-1:-1;;1900:12;1864:2;1995:3;6121:2;1975:17;1936:6;1961:32;;1958:41;1955:2;;;-1:-1;;2002:12;1955:2;5925:493;;;;-1:-1;;6121:2;1932:17;;-1:-1;;;5925:493::o;6425:519::-;;;;6577:2;6565:9;6556:7;6552:23;6548:32;6545:2;;;-1:-1;;6583:12;6545:2;2275:6;2262:20;6635:63;;6735:2;6792:9;6788:22;2111:20;2136:47;2177:5;2136:47;:::i;:::-;6539:405;;6743:77;;-1:-1;;;6857:2;6896:22;;;;2262:20;;6539:405::o;6951:366::-;;;7072:2;7060:9;7051:7;7047:23;7043:32;7040:2;;;-1:-1;;7078:12;7040:2;-1:-1;;2262:20;;;7230:2;7269:22;;;2262:20;;-1:-1;7034:283::o;7324:399::-;;;7456:2;7444:9;7435:7;7431:23;7427:32;7424:2;;;-1:-1;;7462:12;7424:2;-1:-1;;2410:13;;7625:2;7675:22;;;2410:13;;;;;-1:-1;7418:305::o;7730:491::-;;;;7868:2;7856:9;7847:7;7843:23;7839:32;7836:2;;;-1:-1;;7874:12;7836:2;-1:-1;;2262:20;;;8026:2;8065:22;;2262:20;;-1:-1;8134:2;8173:22;;;2262:20;;7830:391;-1:-1;7830:391::o;8228:617::-;;;;;8383:3;8371:9;8362:7;8358:23;8354:33;8351:2;;;-1:-1;;8390:12;8351:2;-1:-1;;2262:20;;;8542:2;8581:22;;2262:20;;-1:-1;8650:2;8689:22;;2262:20;;8758:2;8797:22;2262:20;;-1:-1;8345:500;-1:-1;8345:500::o;10292:690::-;;10485:5;41826:12;42487:6;42482:3;42475:19;42524:4;;42519:3;42515:14;10497:93;;42524:4;10661:5;41680:14;-1:-1;10700:260;10725:6;10722:1;10719:13;10700:260;;;10786:13;;-1:-1;;;;;43937:54;9270:45;;9006:14;;;;42215;;;;3855:18;10740:9;10700:260;;;-1:-1;10966:10;;10416:566;-1:-1;;;;;10416:566::o;11546:343::-;;11688:5;41826:12;42487:6;42482:3;42475:19;11781:52;11826:6;42524:4;42519:3;42515:14;42524:4;11807:5;11803:16;11781:52;:::i;:::-;46205:7;46189:14;-1:-1;;46185:28;11845:39;;;;42524:4;11845:39;;11636:253;-1:-1;;11636:253::o;22046:271::-;;12056:5;41826:12;12167:52;12212:6;12207:3;12200:4;12193:5;12189:16;12167:52;:::i;:::-;12231:16;;;;;22180:137;-1:-1;;22180:137::o;22324:222::-;-1:-1;;;;;43937:54;;;;9270:45;;22451:2;22436:18;;22422:124::o;23059:365::-;-1:-1;;;;;43937:54;;;;9270:45;;23410:2;23395:18;;21997:37;23230:2;23215:18;;23201:223::o;23431:652::-;-1:-1;;;;;43937:54;;9270:45;;-1:-1;;;;;;43524:78;;23829:2;23814:18;;11170:36;23666:3;23866:2;23851:18;;23844:48;;;23431:652;;23906:76;;23651:19;;23968:6;23906:76;:::i;:::-;23898:84;;45411:24;24069:2;24058:9;24054:18;13054:58;23637:446;;;;;;;:::o;24430:370::-;;24607:2;24628:17;24621:47;24682:108;24607:2;24596:9;24592:18;24776:6;24682:108;:::i;25646:464::-;25839:2;25824:18;;46313:1;46303:12;;46293:2;;46319:9;46293:2;12897:66;;;26019:2;26004:18;;21997:37;;;;43437:13;43430:21;26096:2;26081:18;;;11055:34;25810:300;:::o;26117:476::-;26316:2;26301:18;;46313:1;46303:12;;46293:2;;46319:9;46293:2;12897:66;;;26496:2;26481:18;;21997:37;;;;26579:2;26564:18;;;21997:37;26287:306;:::o;26600:310::-;;26747:2;26768:17;26761:47;26822:78;26747:2;26736:9;26732:18;26886:6;26822:78;:::i;26917:416::-;27117:2;27131:47;;;13703:2;27102:18;;;42475:19;-1:-1;;;42515:14;;;13719:45;13783:12;;;27088:245::o;27340:416::-;27540:2;27554:47;;;14034:2;27525:18;;;42475:19;14070:34;42515:14;;;14050:55;-1:-1;;;14125:12;;;14118:30;14167:12;;;27511:245::o;27763:416::-;27963:2;27977:47;;;14418:2;27948:18;;;42475:19;-1:-1;;;42515:14;;;14434:39;14492:12;;;27934:245::o;28186:416::-;28386:2;28400:47;;;14743:2;28371:18;;;42475:19;14779:29;42515:14;;;14759:50;14828:12;;;28357:245::o;28609:416::-;28809:2;28823:47;;;15079:2;28794:18;;;42475:19;15115:26;42515:14;;;15095:47;15161:12;;;28780:245::o;29032:416::-;29232:2;29246:47;;;15412:1;29217:18;;;42475:19;-1:-1;;;42515:14;;;15427:31;15477:12;;;29203:245::o;29455:416::-;29655:2;29669:47;;;15728:2;29640:18;;;42475:19;15764:26;42515:14;;;15744:47;15810:12;;;29626:245::o;29878:416::-;30078:2;30092:47;;;16061:2;30063:18;;;42475:19;16097:34;42515:14;;;16077:55;-1:-1;;;16152:12;;;16145:30;16194:12;;;30049:245::o;30301:416::-;30501:2;30515:47;;;16445:2;30486:18;;;42475:19;16481:28;42515:14;;;16461:49;16529:12;;;30472:245::o;30724:416::-;30924:2;30938:47;;;16780:2;30909:18;;;42475:19;-1:-1;;;42515:14;;;16796:36;16851:12;;;30895:245::o;31147:416::-;31347:2;31361:47;;;17102:2;31332:18;;;42475:19;-1:-1;;;42515:14;;;17118:39;17176:12;;;31318:245::o;31570:416::-;31770:2;31784:47;;;17427:2;31755:18;;;42475:19;-1:-1;;;42515:14;;;17443:40;17502:12;;;31741:245::o;31993:416::-;32193:2;32207:47;;;17753:2;32178:18;;;42475:19;-1:-1;;;42515:14;;;17769:39;17827:12;;;32164:245::o;32416:416::-;32616:2;32630:47;;;18078:2;32601:18;;;42475:19;-1:-1;;;42515:14;;;18094:45;18158:12;;;32587:245::o;32839:416::-;33039:2;33053:47;;;18409:2;33024:18;;;42475:19;-1:-1;;;42515:14;;;18425:41;18485:12;;;33010:245::o;33262:416::-;33462:2;33476:47;;;18736:2;33447:18;;;42475:19;18772:34;42515:14;;;18752:55;-1:-1;;;18827:12;;;18820:25;18864:12;;;33433:245::o;33685:416::-;33885:2;33899:47;;;19115:2;33870:18;;;42475:19;-1:-1;;;42515:14;;;19131:43;19193:12;;;33856:245::o;34108:416::-;34308:2;34322:47;;;34293:18;;;42475:19;19480:34;42515:14;;;19460:55;19534:12;;;34279:245::o;34531:416::-;34731:2;34745:47;;;19785:2;34716:18;;;42475:19;-1:-1;;;42515:14;;;19801:44;19864:12;;;34702:245::o;34954:416::-;35154:2;35168:47;;;20115:2;35139:18;;;42475:19;20151:25;42515:14;;;20131:46;20196:12;;;35125:245::o;35377:416::-;35577:2;35591:47;;;20447:2;35562:18;;;42475:19;20483:31;42515:14;;;20463:52;20534:12;;;35548:245::o;35800:416::-;36000:2;36014:47;;;20785:2;35985:18;;;42475:19;20821:34;42515:14;;;20801:55;-1:-1;;;20876:12;;;20869:34;20922:12;;;35971:245::o;36223:416::-;36423:2;36437:47;;;21173:2;36408:18;;;42475:19;21209:28;42515:14;;;21189:49;21257:12;;;36394:245::o;36646:416::-;36846:2;36860:47;;;21508:2;36831:18;;;42475:19;-1:-1;;;42515:14;;;21524:35;21578:12;;;36817:245::o;37069:416::-;37269:2;37283:47;;;21829:2;37254:18;;;42475:19;-1:-1;;;42515:14;;;21845:36;21900:12;;;37240:245::o;37492:222::-;21997:37;;;37619:2;37604:18;;37590:124::o;37721:349::-;21997:37;;;-1:-1;;;;;43937:54;38056:2;38041:18;;9113:58;37884:2;37869:18;;37855:215::o;38077:501::-;21997:37;;;38292:2;38410;38395:18;;;38388:48;;;38277:18;;;42475:19;;;38077:501;;9913:21;;42515:14;;;38077:501;9940:291;9965:6;9962:1;9959:13;9940:291;;;85:6;72:20;97:33;124:5;97:33;:::i;:::-;-1:-1;;;;;43937:54;9270:45;;43140:12;;;;9006:14;;;;3855:18;9980:9;9940:291;;;-1:-1;38442:126;38263:315;-1:-1;;;;;;;38263:315::o;38585:333::-;21997:37;;;38904:2;38889:18;;21997:37;38740:2;38725:18;;38711:207::o;38925:444::-;21997:37;;;39272:2;39257:18;;21997:37;;;;39355:2;39340:18;;21997:37;39108:2;39093:18;;39079:290::o;39376:660::-;;22027:5;22004:3;21997:37;22027:5;39780:2;39769:9;39765:18;21997:37;22027:5;39863:2;39852:9;39848:18;21997:37;39615:3;39900:2;39889:9;39885:18;39878:48;42487:6;39615:3;39604:9;39600:19;42475;45772:6;45767:3;42515:14;39604:9;42515:14;45749:30;45810:16;;;42515:14;45810:16;;;45803:27;;;;46205:7;46189:14;;;-1:-1;;46185:28;11493:39;;;39586:450;-1:-1;;;;39586:450::o;40043:816::-;;22027:5;22004:3;21997:37;22027:5;40497:2;40486:9;40482:18;21997:37;22027:5;40580:2;40569:9;40565:18;21997:37;22027:5;40663:2;40652:9;40648:18;21997:37;40332:3;40700;40689:9;40685:19;40678:49;40741:108;40332:3;40321:9;40317:19;40835:6;40741:108;:::i;40866:256::-;40928:2;40922:9;40954:17;;;41029:18;41014:34;;41050:22;;;41011:62;41008:2;;;41086:1;;41076:12;41008:2;40928;41095:22;40906:216;;-1:-1;40906:216::o;41129:304::-;;41288:18;41280:6;41277:30;41274:2;;;-1:-1;;41310:12;41274:2;-1:-1;41355:4;41343:17;;;41408:15;;41211:222::o;45845:268::-;45910:1;45917:101;45931:6;45928:1;45925:13;45917:101;;;45998:11;;;45992:18;45979:11;;;45972:39;45953:2;45946:10;45917:101;;;46033:6;46030:1;46027:13;46024:2;;;45910:1;46089:6;46084:3;46080:16;46073:27;46024:2;;45894:219;;;:::o;46342:117::-;-1:-1;;;;;43937:54;;46401:35;;46391:2;;46450:1;;46440:12;46606:111;46687:5;43437:13;43430:21;46665:5;46662:32;46652:2;;46708:1;;46698:12
Swarm Source
ipfs://b6f0de1991ca5df74fac87ce062d7eb51853ab951c83867caec30f7af06452cb
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,101.05 | 0.1 | $310.1 |
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.