More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 60 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Rebalance | 15081211 | 968 days ago | IN | 0 ETH | 0.01062881 | ||||
Rebalance | 15061547 | 971 days ago | IN | 0 ETH | 0.00459425 | ||||
Rebalance | 15039732 | 975 days ago | IN | 0 ETH | 0.01471665 | ||||
Rebalance | 15022428 | 978 days ago | IN | 0 ETH | 0.01142454 | ||||
Rebalance | 15001924 | 982 days ago | IN | 0 ETH | 0.01543456 | ||||
Rebalance | 14984611 | 985 days ago | IN | 0 ETH | 0.00812197 | ||||
Rebalance | 14966881 | 988 days ago | IN | 0 ETH | 0.03855065 | ||||
Rebalance | 14949477 | 991 days ago | IN | 0 ETH | 0.0090917 | ||||
Rebalance | 14931463 | 994 days ago | IN | 0 ETH | 0.02063566 | ||||
Rebalance | 14913776 | 997 days ago | IN | 0 ETH | 0.01672441 | ||||
Rebalance | 14890848 | 1001 days ago | IN | 0 ETH | 0.01599679 | ||||
Rebalance | 14872116 | 1004 days ago | IN | 0 ETH | 0.01340205 | ||||
Rebalance | 14853483 | 1007 days ago | IN | 0 ETH | 0.00999519 | ||||
Rebalance | 14834795 | 1010 days ago | IN | 0 ETH | 0.00643438 | ||||
Rebalance | 14816065 | 1013 days ago | IN | 0 ETH | 0.01021047 | ||||
Rebalance | 14797603 | 1016 days ago | IN | 0 ETH | 0.00746348 | ||||
Rebalance | 14778440 | 1019 days ago | IN | 0 ETH | 0.01082061 | ||||
Rebalance | 14754782 | 1023 days ago | IN | 0 ETH | 0.03097199 | ||||
Rebalance | 14735634 | 1026 days ago | IN | 0 ETH | 0.01015746 | ||||
Rebalance | 14716574 | 1029 days ago | IN | 0 ETH | 0.01266339 | ||||
Rebalance | 14697335 | 1032 days ago | IN | 0 ETH | 0.02669026 | ||||
Rebalance | 14678181 | 1035 days ago | IN | 0 ETH | 0.0136447 | ||||
Rebalance | 14658703 | 1038 days ago | IN | 0 ETH | 0.01368156 | ||||
Rebalance | 14634648 | 1042 days ago | IN | 0 ETH | 0.01411704 | ||||
Rebalance | 14615077 | 1045 days ago | IN | 0 ETH | 0.01067915 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
15102765 | 965 days ago | 901.29801121 ETH | ||||
15102765 | 965 days ago | 901.29801121 ETH | ||||
15098323 | 966 days ago | 59.78540005 ETH | ||||
15098323 | 966 days ago | 59.78540005 ETH | ||||
15081211 | 968 days ago | 0.00792854 ETH | ||||
15081211 | 968 days ago | 0.00792854 ETH | ||||
15081211 | 968 days ago | 0.00109575 ETH | ||||
15081211 | 968 days ago | 0.00109575 ETH | ||||
15075097 | 969 days ago | 0.01990095 ETH | ||||
15075097 | 969 days ago | 0.01990095 ETH | ||||
15072713 | 970 days ago | 0.14942377 ETH | ||||
15072713 | 970 days ago | 0.14942377 ETH | ||||
15065866 | 971 days ago | 0.09976442 ETH | ||||
15065866 | 971 days ago | 0.09976442 ETH | ||||
15063083 | 971 days ago | 0.82757046 ETH | ||||
15063083 | 971 days ago | 0.82757046 ETH | ||||
15061547 | 971 days ago | 0.0085999 ETH | ||||
15061547 | 971 days ago | 0.0085999 ETH | ||||
15061547 | 971 days ago | 0.00099223 ETH | ||||
15061547 | 971 days ago | 0.00099223 ETH | ||||
15039732 | 975 days ago | 0.00636578 ETH | ||||
15039732 | 975 days ago | 0.00636578 ETH | ||||
15039732 | 975 days ago | 0.00056726 ETH | ||||
15039732 | 975 days ago | 0.00056726 ETH | ||||
15037687 | 975 days ago | 28.54511937 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
CompoundStrategyETH
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-03-29 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @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/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @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/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.0; /** * @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: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @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: contracts/Pausable.sol pragma solidity 0.6.12; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * */ contract Pausable is Context { event Paused(address account); event Shutdown(address account); event Unpaused(address account); event Open(address account); bool public paused; bool public stopEverything; modifier whenNotPaused() { require(!paused, "Pausable: paused"); _; } modifier whenPaused() { require(paused, "Pausable: not paused"); _; } modifier whenNotShutdown() { require(!stopEverything, "Pausable: shutdown"); _; } modifier whenShutdown() { require(stopEverything, "Pausable: not shutdown"); _; } /// @dev Pause contract operations, if contract is not paused. function _pause() internal virtual whenNotPaused { paused = true; emit Paused(_msgSender()); } /// @dev Unpause contract operations, allow only if contract is paused and not shutdown. function _unpause() internal virtual whenPaused whenNotShutdown { paused = false; emit Unpaused(_msgSender()); } /// @dev Shutdown contract operations, if not already shutdown. function _shutdown() internal virtual whenNotShutdown { stopEverything = true; paused = true; emit Shutdown(_msgSender()); } /// @dev Open contract operations, if contract is in shutdown state function _open() internal virtual whenShutdown { stopEverything = false; emit Open(_msgSender()); } } // File: contracts/interfaces/compound/ICompound.sol pragma solidity 0.6.12; interface CToken { function accrueInterest() external returns (uint256); function balanceOfUnderlying(address owner) external returns (uint256); function exchangeRateCurrent() external returns (uint256); function exchangeRateStored() external view returns (uint256); function mint() external payable; // For ETH function mint(uint256 mintAmount) external returns (uint256); // For ERC20 function redeem(uint256 redeemTokens) external returns (uint256); function redeemUnderlying(uint256 redeemAmount) external returns (uint256); function transfer(address user, uint256 amount) external returns (bool); function transferFrom( address owner, address user, uint256 amount ) external returns (bool); function balanceOf(address owner) external view returns (uint256); } interface Comptroller { function claimComp(address holder, address[] memory) external; function compAccrued(address holder) external view returns (uint256); } // File: contracts/interfaces/vesper/IController.sol pragma solidity 0.6.12; interface IController { function aaveReferralCode() external view returns (uint16); function feeCollector(address) external view returns (address); function founderFee() external view returns (uint256); function founderVault() external view returns (address); function interestFee(address) external view returns (uint256); function isPool(address) external view returns (bool); function pools() external view returns (address); function strategy(address) external view returns (address); function rebalanceFriction(address) external view returns (uint256); function poolRewards(address) external view returns (address); function treasuryPool() external view returns (address); function uniswapRouter() external view returns (address); function withdrawFee(address) external view returns (uint256); } // File: contracts/interfaces/vesper/IStrategy.sol pragma solidity 0.6.12; interface IStrategy { function rebalance() external; function deposit(uint256 amount) external; function beforeWithdraw() external; function withdraw(uint256 amount) external; function withdrawAll() external; function isUpgradable() external view returns (bool); function isReservedToken(address _token) external view returns (bool); function token() external view returns (address); function pool() external view returns (address); function totalLocked() external view returns (uint256); //Lifecycle functions function pause() external; function unpause() external; } // File: contracts/interfaces/vesper/IVesperPool.sol pragma solidity 0.6.12; interface IVesperPool is IERC20 { function approveToken() external; function deposit() external payable; function deposit(uint256) external; function multiTransfer(uint256[] memory) external returns (bool); function permit( address, address, uint256, uint256, uint8, bytes32, bytes32 ) external; function rebalance() external; function resetApproval() external; function sweepErc20(address) external; function withdraw(uint256) external; function withdrawETH(uint256) external; function withdrawByStrategy(uint256) external; function feeCollector() external view returns (address); function getPricePerShare() external view returns (uint256); function token() external view returns (address); function tokensHere() external view returns (uint256); function totalValue() external view returns (uint256); function withdrawFee() external view returns (uint256); } // File: contracts/interfaces/uniswap/IUniswapV2Router01.sol pragma solidity 0.6.12; interface IUniswapV2Router01 { function factory() external pure returns (address); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } // File: contracts/interfaces/uniswap/IUniswapV2Router02.sol pragma solidity 0.6.12; interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // File: contracts/strategies/CompoundStrategy.sol pragma solidity 0.6.12; /// @title This strategy will deposit collateral token in Compound and earn interest. abstract contract CompoundStrategy is IStrategy, Pausable { using SafeERC20 for IERC20; using SafeMath for uint256; IController public immutable controller; IERC20 public immutable collateralToken; address public immutable override pool; uint256 public pendingFee; CToken internal immutable cToken; address internal immutable rewardToken; Comptroller internal immutable comptroller; address internal constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; address internal constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; uint256 internal exchangeRateStored; constructor( address _controller, address _pool, address _cToken, address _rewardToken, address _comptroller ) public { require(_controller != address(0), "Controller address is zero"); require(_rewardToken != address(0), "RewardToken address is zero"); require(IController(_controller).isPool(_pool), "Not a valid pool"); controller = IController(_controller); pool = _pool; collateralToken = IERC20(IVesperPool(_pool).token()); cToken = CToken(_cToken); rewardToken = _rewardToken; comptroller = Comptroller(_comptroller); } modifier live() { require(!paused || _msgSender() == address(controller), "Contract has paused"); _; } modifier onlyAuthorized() { require( _msgSender() == address(controller) || _msgSender() == pool, "Caller is not authorized" ); _; } modifier onlyController() { require(_msgSender() == address(controller), "Caller is not the controller"); _; } modifier onlyPool() { require(_msgSender() == pool, "Caller is not pool"); _; } function pause() external override onlyController { _pause(); } function unpause() external override onlyController { _unpause(); } /** * @notice Migrate tokens from pool to this address * @dev Any working Compound strategy has cTokens in strategy contract. * @dev There can be scenarios when pool already has cTokens and new * strategy will have to move those tokens from pool to self address. * @dev Only valid pool strategy is allowed to move tokens from pool. */ function migrateIn() external onlyController { require(controller.isPool(pool), "not-a-valid-pool"); require(controller.strategy(pool) == address(this), "not-a-valid-strategy"); cToken.transferFrom(pool, address(this), cToken.balanceOf(pool)); } /** * @notice Migrate tokens out to pool. * @dev There can be scenarios when we want to use new strategy without * calling withdrawAll(). We can achieve this by moving tokens in pool * and new strategy will take care from there. * @dev Pause this strategy, set pendingFee to zero and move tokens out. */ function migrateOut() external onlyController { require(controller.isPool(pool), "not-a-valid-pool"); _pause(); pendingFee = 0; cToken.transfer(pool, cToken.balanceOf(address(this))); } /** * @notice Deposit all collateral token from pool into Compound. * Anyone can call it except when paused. */ function depositAll() external live { deposit(collateralToken.balanceOf(pool)); } /// @notice Vesper pools are using this function so it should exist in all strategies. //solhint-disable-next-line no-empty-blocks function beforeWithdraw() external override onlyPool {} /** * @dev Withdraw collateral token from Compound. * @param _amount Amount of collateral token */ function withdraw(uint256 _amount) external override onlyAuthorized { _withdraw(_amount); } /** * @dev Withdraw all collateral from Compound and deposit into pool. * Controller only function, called when migrating strategy. */ function withdrawAll() external override onlyController { _withdrawAll(); } /** * @dev Calculate interest fee on earning from Compound and transfer fee to fee collector. * Deposit available collateral from pool into Compound. * Anyone can call it except when paused. */ function rebalance() external override live { _rebalanceEarned(); uint256 balance = collateralToken.balanceOf(pool); if (balance != 0) { _deposit(balance); } } /** * @notice Sweep given token to vesper pool * @dev Reserved tokens are not allowed to sweep. * @param _fromToken token address to sweep */ function sweepErc20(address _fromToken) external { require(_fromToken != address(cToken) && _fromToken != rewardToken, "Not allowed to sweep"); if (_fromToken == ETH) { payable(pool).transfer(address(this).balance); } else { uint256 amount = IERC20(_fromToken).balanceOf(address(this)); IERC20(_fromToken).safeTransfer(pool, amount); } } /** * @notice Returns interest earned in COMP since last rebalance. * @dev Make sure to return value in collateral token and in order to do that * we are using Uniswap to get collateral amount for earned DAI. */ function interestEarned() external view returns (uint256) { uint256 compAccrued = comptroller.compAccrued(address(this)); if (compAccrued != 0) { IUniswapV2Router02 uniswapRouter = IUniswapV2Router02(controller.uniswapRouter()); address[] memory path = _getPath(rewardToken, address(collateralToken)); return uniswapRouter.getAmountsOut(compAccrued, path)[path.length - 1]; } return 0; } /// @notice Returns true if strategy can be upgraded. /// @dev If there are no cTokens in strategy then it is upgradable function isUpgradable() external view override returns (bool) { return cToken.balanceOf(address(this)) == 0; } /// @notice This method is deprecated and will be removed from Strategies in next release function isReservedToken(address _token) external view override returns (bool) { return _token == address(cToken) || _token == rewardToken; } /// @dev Returns address of Compound token correspond to collateral token function token() external view override returns (address) { return address(cToken); } /** * @notice Total collateral locked in Compound. * @dev This value will be used in pool share calculation, so true totalLocked * will be balance in Compound minus any pending fee to collect. * @return Return value will be in collateralToken defined decimal. */ function totalLocked() external view override returns (uint256) { uint256 _totalCTokens = cToken.balanceOf(pool).add(cToken.balanceOf(address(this))); return _convertToCollateral(_totalCTokens).sub(_calculatePendingFee()); } /** * @notice Deposit collateral token from pool into Compound. * @dev Update pendingFee before deposit. Anyone can call it except when paused. * @param _amount Amount of collateral token to deposit */ function deposit(uint256 _amount) public override live { _updatePendingFee(); _deposit(_amount); } /** * @dev Claim rewardToken and convert rewardToken into collateral token. * Calculate interest fee on earning from rewardToken and transfer balance minus * fee to pool. * @dev Transferring collateral to pool will increase pool share price. */ function _claimComp() internal { address[] memory markets = new address[](1); markets[0] = address(cToken); comptroller.claimComp(address(this), markets); uint256 amt = IERC20(rewardToken).balanceOf(address(this)); if (amt != 0) { IUniswapV2Router02 uniswapRouter = IUniswapV2Router02(controller.uniswapRouter()); address[] memory path = _getPath(rewardToken, address(collateralToken)); uint256 amountOut = uniswapRouter.getAmountsOut(amt, path)[path.length - 1]; if (amountOut != 0) { IERC20(rewardToken).safeApprove(address(uniswapRouter), 0); IERC20(rewardToken).safeApprove(address(uniswapRouter), amt); uniswapRouter.swapExactTokensForTokens(amt, 1, path, address(this), now + 30); uint256 _collateralEarned = collateralToken.balanceOf(address(this)); uint256 _fee = _collateralEarned.mul(controller.interestFee(pool)).div(1e18); collateralToken.safeTransfer(pool, _collateralEarned.sub(_fee)); } } } function _deposit(uint256 _amount) internal virtual { collateralToken.safeTransferFrom(pool, address(this), _amount); collateralToken.safeApprove(address(cToken), 0); collateralToken.safeApprove(address(cToken), _amount); require(cToken.mint(_amount) == 0, "deposit-failed"); } /** * @dev Calculate interest fee earning and transfer it to fee collector. * RebalanceEarned completes in following steps, * Claim rewardToken and earn fee. * Update pending fee. * Withdraw collateral equal to pendingFee from compound. * Now we have collateral equal to pendingFee + fee earning from rewardToken. * Deposit collateral in Pool and get shares. * Transfer shares to feeCollector. */ function _rebalanceEarned() internal { _claimComp(); _updatePendingFee(); // Read state variable once to save gas uint256 _pendingFee = pendingFee; uint256 _cTokenAmount = _convertToCToken(_pendingFee); if (_cTokenAmount != 0) { require(cToken.redeemUnderlying(_pendingFee) == 0, "rebalanceEarned::withdraw-failed"); // Update state variable pendingFee = 0; _afterRedeem(); } uint256 _collateralBalance = collateralToken.balanceOf(address(this)); if (_collateralBalance != 0) { collateralToken.safeApprove(pool, 0); collateralToken.safeApprove(pool, _collateralBalance); IVesperPool(pool).deposit(_collateralBalance); uint256 _feeInShare = IERC20(pool).balanceOf(address(this)); IERC20(pool).safeTransfer(controller.feeCollector(pool), _feeInShare); } } function _withdraw(uint256 _amount) internal { _updatePendingFee(); require(cToken.redeemUnderlying(_amount) == 0, "withdraw-failed"); _afterRedeem(); collateralToken.safeTransfer(pool, collateralToken.balanceOf(address(this))); } function _withdrawAll() internal { pendingFee = 0; require(cToken.redeem(cToken.balanceOf(address(this))) == 0, "withdraw-all-failed"); _afterRedeem(); collateralToken.safeTransfer(pool, collateralToken.balanceOf(address(this))); } /// @dev Hook to call after collateral is redeemed from Compound /// @notice We did empty implementation as not all derived are going to implement it. //solhint-disable-next-line no-empty-blocks function _afterRedeem() internal virtual {} function _convertToCToken(uint256 _collateralAmount) internal view returns (uint256) { return _collateralAmount.mul(1e18).div(cToken.exchangeRateStored()); } function _convertToCollateral(uint256 _cTokenAmount) internal view returns (uint256) { return _cTokenAmount.mul(cToken.exchangeRateStored()).div(1e18); } function _calculatePendingFee() internal view returns (uint256) { uint256 interest = cToken .exchangeRateStored() .sub(exchangeRateStored) .mul(cToken.balanceOf(address(this))) .div(1e18); uint256 fee = interest.mul(controller.interestFee(pool)).div(1e18); return pendingFee.add(fee); } function _updatePendingFee() internal { pendingFee = _calculatePendingFee(); exchangeRateStored = cToken.exchangeRateStored(); } function _getPath(address _from, address _to) internal pure returns (address[] memory) { address[] memory path; if (_from == WETH || _to == WETH) { path = new address[](2); path[0] = _from; path[1] = _to; } else { path = new address[](3); path[0] = _from; path[1] = WETH; path[2] = _to; } return path; } } // File: contracts/interfaces/token/IToken.sol pragma solidity 0.6.12; interface TokenLike { function approve(address, uint256) external returns (bool); function balanceOf(address) external view returns (uint256); function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function deposit() external payable; function withdraw(uint256) external; } // File: contracts/strategies/CompoundStrategyETH.sol pragma solidity 0.6.12; //solhint-disable no-empty-blocks contract CompoundStrategyETH is CompoundStrategy { string public constant NAME = "Strategy-Compound-ETH"; string public constant VERSION = "2.0.3"; constructor(address _controller, address _pool) public CompoundStrategy( _controller, _pool, 0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5, 0xc00e94Cb662C3520282E6f5717214004A7f26888, 0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B ) {} receive() external payable { require(msg.sender == address(cToken) || msg.sender == WETH, "Not allowed to send ether"); } /// @dev Hool to call after collateral is redeemed from Compound function _afterRedeem() internal override { TokenLike(WETH).deposit{value: address(this).balance}(); } function _deposit(uint256 _amount) internal override { collateralToken.safeTransferFrom(pool, address(this), _amount); TokenLike(WETH).withdraw(_amount); cToken.mint{value: _amount}(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_pool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Shutdown","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collateralToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"contract IController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interestEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isReservedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgradable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrateIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrateOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopEverything","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fromToken","type":"address"}],"name":"sweepErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101406040523480156200001257600080fd5b5060405162003e9138038062003e91833981810160405260408110156200003857600080fd5b5080516020909101518181734ddc2d193948926d02f9b1fe9e1daa0718270ed573c00e94cb662c3520282e6f5717214004a7f26888733d9819210a31b4961b30ef54be2aed79b9c9cd3b6001600160a01b038516620000de576040805162461bcd60e51b815260206004820152601a60248201527f436f6e74726f6c6c65722061646472657373206973207a65726f000000000000604482015290519081900360640190fd5b6001600160a01b0382166200013a576040805162461bcd60e51b815260206004820152601b60248201527f526577617264546f6b656e2061646472657373206973207a65726f0000000000604482015290519081900360640190fd5b846001600160a01b0316635b16ebb7856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200018857600080fd5b505afa1580156200019d573d6000803e3d6000fd5b505050506040513d6020811015620001b457600080fd5b5051620001fb576040805162461bcd60e51b815260206004820152601060248201526f139bdd0818481d985b1a59081c1bdbdb60821b604482015290519081900360640190fd5b6001600160601b0319606086811b821660805285901b1660c05260408051637e062a3560e11b815290516001600160a01b0386169163fc0c546a916004808301926020929190829003018186803b1580156200025657600080fd5b505afa1580156200026b573d6000803e3d6000fd5b505050506040513d60208110156200028257600080fd5b50516001600160601b0319606091821b811660a05293811b841660e05291821b831661010052901b16610120525050505060805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6139ed620004a4600039806106105280612d2a52508061073f5280610a49528061170c5280612df95280612f2852806130f2528061312752508061015f5280610a0e5280610a955280610b3a5280610c1352806111ea528061123b528061153f52806116cf5280611a325280611a835280611f425280611ffb528061217d528061223e5280612751528061286c5280612a425280612cdc528061347852508061050d5280610573528061098a5280610be95280610d8b5280611007528061110e5280611219528061126a5280611446528061156852806117bb5280611895528061197f5280611b6452806120c452806123ff5280612454528061247b52806124fb52806125aa528061265a52806126b752806129a6528061337c528061340e5250806107605280610d5c528061137852806119505280611b855280611c26528061233152806123dd5280612432528061269552806129c75280612f4952806132cd528061344152508061053152806106b352806109055280610cce5280610e265280610ea95280610f5d5280610fd852806110df528061139c5280611417528061163a52806118c95280611a0e528061209552806125db5280612e9c52806133be52506139ed6000f3fe60806040526004361061014f5760003560e01c80638456cb59116100b6578063b6b55f251161006f578063b6b55f251461045a578063d9fe3eae14610484578063de5f6268146104b7578063f77c4791146104cc578063fc0c546a146104e1578063ffa1ad74146104f6576101f1565b80638456cb5914610367578063853828b61461037c578063a3f4df7e14610391578063b000c3281461041b578063b2016bd414610430578063b3fc176c14610445576101f1565b80634938649a116101085780634938649a146102e95780635479d940146102fe57806356891412146103135780635c975abb14610328578063643090bc1461033d5780637d7c2a1c14610352576101f1565b806316f0115b146101f65780632e1a7d4d14610227578063374261ab146102515780633f4ba83a14610278578063419f77531461028d578063440d7248146102a2576101f1565b366101f157336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061019e57503373c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2145b6101ef576040805162461bcd60e51b815260206004820152601960248201527f4e6f7420616c6c6f77656420746f2073656e6420657468657200000000000000604482015290519081900360640190fd5b005b600080fd5b34801561020257600080fd5b5061020b61050b565b604080516001600160a01b039092168252519081900360200190f35b34801561023357600080fd5b506101ef6004803603602081101561024a57600080fd5b503561052f565b34801561025d57600080fd5b5061026661060b565b60408051918252519081900360200190f35b34801561028457600080fd5b506101ef610903565b34801561029957600080fd5b506101ef610988565b3480156102ae57600080fd5b506102d5600480360360208110156102c557600080fd5b50356001600160a01b0316610a0a565b604080519115158252519081900360200190f35b3480156102f557600080fd5b506102d5610a83565b34801561030a57600080fd5b506102d5610a91565b34801561031f57600080fd5b50610266610b32565b34801561033457600080fd5b506102d5610cb0565b34801561034957600080fd5b50610266610cb9565b34801561035e57600080fd5b506101ef610cbf565b34801561037357600080fd5b506101ef610e24565b34801561038857600080fd5b506101ef610ea7565b34801561039d57600080fd5b506103a6610f2a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103e05781810151838201526020016103c8565b50505050905090810190601f16801561040d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561042757600080fd5b506101ef610f5b565b34801561043c57600080fd5b5061020b611376565b34801561045157600080fd5b506101ef61139a565b34801561046657600080fd5b506101ef6004803603602081101561047d57600080fd5b503561162b565b34801561049057600080fd5b506101ef600480360360208110156104a757600080fd5b50356001600160a01b03166116cd565b3480156104c357600080fd5b506101ef6118ba565b3480156104d857600080fd5b5061020b611a0c565b3480156104ed57600080fd5b5061020b611a30565b34801561050257600080fd5b506103a6611a54565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610561611a75565b6001600160a01b031614806105ae57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105a3611a75565b6001600160a01b0316145b6105ff576040805162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420617574686f72697a65640000000000000000604482015290519081900360640190fd5b61060881611a79565b50565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cc7ebdc4306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561067b57600080fd5b505afa15801561068f573d6000803e3d6000fd5b505050506040513d60208110156106a557600080fd5b5051905080156108fa5760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b15801561070a57600080fd5b505afa15801561071e573d6000803e3d6000fd5b505050506040513d602081101561073457600080fd5b5051905060606107847f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611c4d565b9050816001600160a01b031663d06ca61f84836040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156107ec5781810151838201526020016107d4565b50505050905001935050505060006040518083038186803b15801561081057600080fd5b505afa158015610824573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561084d57600080fd5b810190808051604051939291908464010000000082111561086d57600080fd5b90830190602082018581111561088257600080fd5b825186602082028301116401000000008211171561089f57600080fd5b82525081516020918201928201910280838360005b838110156108cc5781810151838201526020016108b4565b505050509050016040525050506001825103815181106108e857fe5b60200260200101519350505050610900565b60009150505b90565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610935611a75565b6001600160a01b03161461097e576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b610986611de4565b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166109ba611a75565b6001600160a01b031614610986576040805162461bcd60e51b815260206004820152601260248201527110d85b1b195c881a5cc81b9bdd081c1bdbdb60721b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610a7d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b92915050565b600054610100900460ff1681565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b0057600080fd5b505afa158015610b14573d6000803e3d6000fd5b505050506040513d6020811015610b2a57600080fd5b505115905090565b600080610c8e7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610ba557600080fd5b505afa158015610bb9573d6000803e3d6000fd5b505050506040513d6020811015610bcf57600080fd5b5051604080516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015291517f0000000000000000000000000000000000000000000000000000000000000000909216916370a0823191602480820192602092909190829003018186803b158015610c5c57600080fd5b505afa158015610c70573d6000803e3d6000fd5b505050506040513d6020811015610c8657600080fd5b505190611ed4565b9050610caa610c9b611f2e565b610ca48361216a565b906121d4565b91505090565b60005460ff1681565b60015481565b60005460ff161580610d0957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610cfe611a75565b6001600160a01b0316145b610d50576040805162461bcd60e51b815260206004820152601360248201527210dbdb9d1c9858dd081a185cc81c185d5cd959606a1b604482015290519081900360640190fd5b610d58612216565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610de757600080fd5b505afa158015610dfb573d6000803e3d6000fd5b505050506040513d6020811015610e1157600080fd5b5051905080156106085761060881612688565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e56611a75565b6001600160a01b031614610e9f576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b6109866127c6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610ed9611a75565b6001600160a01b031614610f22576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b610986612847565b604051806040016040528060158152602001740a6e8e4c2e8cacef25a86dedae0deeadcc85a8aa89605b1b81525081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610f8d611a75565b6001600160a01b031614610fd6576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635b16ebb77f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561106357600080fd5b505afa158015611077573d6000803e3d6000fd5b505050506040513d602081101561108d57600080fd5b50516110d3576040805162461bcd60e51b815260206004820152601060248201526f1b9bdd0b584b5d985b1a590b5c1bdbdb60821b604482015290519081900360640190fd5b306001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561116a57600080fd5b505afa15801561117e573d6000803e3d6000fd5b505050506040513d602081101561119457600080fd5b50516001600160a01b0316146111e8576040805162461bcd60e51b81526020600482015260146024820152736e6f742d612d76616c69642d737472617465677960601b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd7f0000000000000000000000000000000000000000000000000000000000000000307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156112c657600080fd5b505afa1580156112da573d6000803e3d6000fd5b505050506040513d60208110156112f057600080fd5b5051604080516001600160e01b031960e087901b1681526001600160a01b0394851660048201529290931660248301526044820152905160648083019260209291908290030181600087803b15801561134857600080fd5b505af115801561135c573d6000803e3d6000fd5b505050506040513d602081101561137257600080fd5b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166113cc611a75565b6001600160a01b031614611415576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635b16ebb77f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156114a257600080fd5b505afa1580156114b6573d6000803e3d6000fd5b505050506040513d60208110156114cc57600080fd5b5051611512576040805162461bcd60e51b815260206004820152601060248201526f1b9bdd0b584b5d985b1a590b5c1bdbdb60821b604482015290519081900360640190fd5b61151a6127c6565b6000600155604080516370a0823160e01b815230600482015290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb917f00000000000000000000000000000000000000000000000000000000000000009184916370a0823191602480820192602092909190829003018186803b1580156115b057600080fd5b505afa1580156115c4573d6000803e3d6000fd5b505050506040513d60208110156115da57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561134857600080fd5b60005460ff16158061167557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661166a611a75565b6001600160a01b0316145b6116bc576040805162461bcd60e51b815260206004820152601360248201527210dbdb9d1c9858dd081a185cc81c185d5cd959606a1b604482015290519081900360640190fd5b6116c4612a32565b61060881612688565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415801561174157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614155b611789576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611809576040516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016904780156108fc02916000818181858888f19350505050158015611803573d6000803e3d6000fd5b50610608565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561185857600080fd5b505afa15801561186c573d6000803e3d6000fd5b505050506040513d602081101561188257600080fd5b505190506113726001600160a01b0383167f000000000000000000000000000000000000000000000000000000000000000083612aca565b60005460ff16158061190457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166118f9611a75565b6001600160a01b0316145b61194b576040805162461bcd60e51b815260206004820152601360248201527210dbdb9d1c9858dd081a185cc81c185d5cd959606a1b604482015290519081900360640190fd5b6109867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156119db57600080fd5b505afa1580156119ef573d6000803e3d6000fd5b505050506040513d6020811015611a0557600080fd5b505161162b565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000090565b60405180604001604052806005815260200164322e302e3360d81b81525081565b3390565b611a81612a32565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663852a12e3826040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b158015611ae757600080fd5b505af1158015611afb573d6000803e3d6000fd5b505050506040513d6020811015611b1157600080fd5b505115611b57576040805162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dcb59985a5b1959608a1b604482015290519081900360640190fd5b611b5f612b1c565b6106087f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611bf057600080fd5b505afa158015611c04573d6000803e3d6000fd5b505050506040513d6020811015611c1a57600080fd5b50516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169190612aca565b6060806001600160a01b03841673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21480611c9757506001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2145b15611d1d5760408051600280825260608201835290916020830190803683370190505090508381600081518110611cca57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508281600181518110611cf857fe5b60200260200101906001600160a01b031690816001600160a01b031681525050611ddd565b6040805160038082526080820190925290602082016060803683370190505090508381600081518110611d4c57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611d8e57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508281600281518110611dbc57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b9392505050565b60005460ff16611e32576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600054610100900460ff1615611e84576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611eb7611a75565b604080516001600160a01b039092168252519081900360200190a1565b600082820183811015611ddd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600080612080670de0b6b3a764000061207a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611fad57600080fd5b505afa158015611fc1573d6000803e3d6000fd5b505050506040513d6020811015611fd757600080fd5b50516002546040805163182df0f560e01b8152905161207492916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163182df0f591600480820192602092909190829003018186803b15801561204257600080fd5b505afa158015612056573d6000803e3d6000fd5b505050506040513d602081101561206c57600080fd5b5051906121d4565b90612b86565b90612bdf565b90506000612153670de0b6b3a764000061207a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634564a6c87f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561212057600080fd5b505afa158015612134573d6000803e3d6000fd5b505050506040513d602081101561214a57600080fd5b50518590612b86565b6001549091506121639082611ed4565b9250505090565b6000610a7d670de0b6b3a764000061207a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b15801561212057600080fd5b6000611ddd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c21565b61221e612cb8565b612226612a32565b600154600061223482613471565b9050801561232d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663852a12e3836040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156122a257600080fd5b505af11580156122b6573d6000803e3d6000fd5b505050506040513d60208110156122cc57600080fd5b505115612320576040805162461bcd60e51b815260206004820181905260248201527f726562616c616e63654561726e65643a3a77697468647261772d6661696c6564604482015290519081900360640190fd5b600060015561232d612b1c565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561239c57600080fd5b505afa1580156123b0573d6000803e3d6000fd5b505050506040513d60208110156123c657600080fd5b505190508015612683576124256001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000600061350d565b6124796001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000008361350d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156124df57600080fd5b505af11580156124f3573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561256657600080fd5b505afa15801561257a573d6000803e3d6000fd5b505050506040513d602081101561259057600080fd5b50516040805163503700dd60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301529151929350612681927f00000000000000000000000000000000000000000000000000000000000000009092169163a06e01ba91602480820192602092909190829003018186803b15801561262457600080fd5b505afa158015612638573d6000803e3d6000fd5b505050506040513d602081101561264e57600080fd5b50516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083612aca565b505b505050565b6126dd6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000003084613620565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561273757600080fd5b505af115801561274b573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631249c58b826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156127aa57600080fd5b505af11580156127be573d6000803e3d6000fd5b505050505050565b60005460ff1615612811576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611eb7611a75565b6000600155604080516370a0823160e01b815230600482015290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163db006a759183916370a08231916024808301926020929190829003018186803b1580156128ba57600080fd5b505afa1580156128ce573d6000803e3d6000fd5b505050506040513d60208110156128e457600080fd5b5051604080516001600160e01b031960e085901b16815260048101929092525160248083019260209291908290030181600087803b15801561292557600080fd5b505af1158015612939573d6000803e3d6000fd5b505050506040513d602081101561294f57600080fd5b505115612999576040805162461bcd60e51b81526020600482015260136024820152721dda5d1a191c985dcb585b1b0b59985a5b1959606a1b604482015290519081900360640190fd5b6129a1612b1c565b6109867f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611bf057600080fd5b612a3a611f2e565b6001819055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b158015612a9957600080fd5b505afa158015612aad573d6000803e3d6000fd5b505050506040513d6020811015612ac357600080fd5b5051600255565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612683908490613676565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b158015612b6b57600080fd5b505af1158015612b7f573d6000803e3d6000fd5b5050505050565b600082612b9557506000610a7d565b82820282848281612ba257fe5b0414611ddd5760405162461bcd60e51b81526004018080602001828103825260218152602001806139176021913960400191505060405180910390fd5b6000611ddd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613727565b60008184841115612cb05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c75578181015183820152602001612c5d565b50505050905090810190601f168015612ca25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110612d0857fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631c3db2e030836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015612db7578181015183820152602001612d9f565b505050509050019350505050600060405180830381600087803b158015612ddd57600080fd5b505af1158015612df1573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e6457600080fd5b505afa158015612e78573d6000803e3d6000fd5b505050506040513d6020811015612e8e57600080fd5b5051905080156113725760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b158015612ef357600080fd5b505afa158015612f07573d6000803e3d6000fd5b505050506040513d6020811015612f1d57600080fd5b505190506060612f6d7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611c4d565b90506000826001600160a01b031663d06ca61f85846040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015612fd7578181015183820152602001612fbf565b50505050905001935050505060006040518083038186803b158015612ffb57600080fd5b505afa15801561300f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561303857600080fd5b810190808051604051939291908464010000000082111561305857600080fd5b90830190602082018581111561306d57600080fd5b825186602082028301116401000000008211171561308a57600080fd5b82525081516020918201928201910280838360005b838110156130b757818101518382015260200161309f565b505050509050016040525050506001835103815181106130d357fe5b6020026020010151905080600014612b7f5761311a6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001684600061350d565b61314e6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016848661350d565b826001600160a01b03166338ed1739856001853042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156131d65781810151838201526020016131be565b505050509050019650505050505050600060405180830381600087803b1580156131ff57600080fd5b505af1158015613213573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561323c57600080fd5b810190808051604051939291908464010000000082111561325c57600080fd5b90830190602082018581111561327157600080fd5b825186602082028301116401000000008211171561328e57600080fd5b82525081516020918201928201910280838360005b838110156132bb5781810151838201526020016132a3565b505050509050016040525050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561333857600080fd5b505afa15801561334c573d6000803e3d6000fd5b505050506040513d602081101561336257600080fd5b5051604080516308ac94d960e31b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152915192935060009261340792670de0b6b3a76400009261207a927f000000000000000000000000000000000000000000000000000000000000000090921691634564a6c891602480820192602092909190829003018186803b15801561212057600080fd5b90506134687f000000000000000000000000000000000000000000000000000000000000000061343784846121d4565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169190612aca565b50505050505050565b6000610a7d7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b1580156134cf57600080fd5b505afa1580156134e3573d6000803e3d6000fd5b505050506040513d60208110156134f957600080fd5b505161207a84670de0b6b3a7640000612b86565b801580613593575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561356557600080fd5b505afa158015613579573d6000803e3d6000fd5b505050506040513d602081101561358f57600080fd5b5051155b6135ce5760405162461bcd60e51b81526004018080602001828103825260368152602001806139826036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052612683908490613676565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526126819085905b60606136cb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661378c9092919063ffffffff16565b805190915015612683578080602001905160208110156136ea57600080fd5b50516126835760405162461bcd60e51b815260040180806020018281038252602a815260200180613958602a913960400191505060405180910390fd5b600081836137765760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612c75578181015183820152602001612c5d565b50600083858161378257fe5b0495945050505050565b606061379b84846000856137a3565b949350505050565b60606137ae85613910565b6137ff576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061383e5780518252601f19909201916020918201910161381f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146138a0576040519150601f19603f3d011682016040523d82523d6000602084013e6138a5565b606091505b509150915081156138b957915061379b9050565b8051156138c95780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612c75578181015183820152602001612c5d565b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000005361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220feb61c2846179833c77229cf07c023a9c1b933550caf95f5c10ec8a76f821f6264736f6c634300060c0033000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e
Deployed Bytecode
0x60806040526004361061014f5760003560e01c80638456cb59116100b6578063b6b55f251161006f578063b6b55f251461045a578063d9fe3eae14610484578063de5f6268146104b7578063f77c4791146104cc578063fc0c546a146104e1578063ffa1ad74146104f6576101f1565b80638456cb5914610367578063853828b61461037c578063a3f4df7e14610391578063b000c3281461041b578063b2016bd414610430578063b3fc176c14610445576101f1565b80634938649a116101085780634938649a146102e95780635479d940146102fe57806356891412146103135780635c975abb14610328578063643090bc1461033d5780637d7c2a1c14610352576101f1565b806316f0115b146101f65780632e1a7d4d14610227578063374261ab146102515780633f4ba83a14610278578063419f77531461028d578063440d7248146102a2576101f1565b366101f157336001600160a01b037f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed516148061019e57503373c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2145b6101ef576040805162461bcd60e51b815260206004820152601960248201527f4e6f7420616c6c6f77656420746f2073656e6420657468657200000000000000604482015290519081900360640190fd5b005b600080fd5b34801561020257600080fd5b5061020b61050b565b604080516001600160a01b039092168252519081900360200190f35b34801561023357600080fd5b506101ef6004803603602081101561024a57600080fd5b503561052f565b34801561025d57600080fd5b5061026661060b565b60408051918252519081900360200190f35b34801561028457600080fd5b506101ef610903565b34801561029957600080fd5b506101ef610988565b3480156102ae57600080fd5b506102d5600480360360208110156102c557600080fd5b50356001600160a01b0316610a0a565b604080519115158252519081900360200190f35b3480156102f557600080fd5b506102d5610a83565b34801561030a57600080fd5b506102d5610a91565b34801561031f57600080fd5b50610266610b32565b34801561033457600080fd5b506102d5610cb0565b34801561034957600080fd5b50610266610cb9565b34801561035e57600080fd5b506101ef610cbf565b34801561037357600080fd5b506101ef610e24565b34801561038857600080fd5b506101ef610ea7565b34801561039d57600080fd5b506103a6610f2a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103e05781810151838201526020016103c8565b50505050905090810190601f16801561040d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561042757600080fd5b506101ef610f5b565b34801561043c57600080fd5b5061020b611376565b34801561045157600080fd5b506101ef61139a565b34801561046657600080fd5b506101ef6004803603602081101561047d57600080fd5b503561162b565b34801561049057600080fd5b506101ef600480360360208110156104a757600080fd5b50356001600160a01b03166116cd565b3480156104c357600080fd5b506101ef6118ba565b3480156104d857600080fd5b5061020b611a0c565b3480156104ed57600080fd5b5061020b611a30565b34801561050257600080fd5b506103a6611a54565b7f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e81565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316610561611a75565b6001600160a01b031614806105ae57507f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6001600160a01b03166105a3611a75565b6001600160a01b0316145b6105ff576040805162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420617574686f72697a65640000000000000000604482015290519081900360640190fd5b61060881611a79565b50565b6000807f0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b6001600160a01b031663cc7ebdc4306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561067b57600080fd5b505afa15801561068f573d6000803e3d6000fd5b505050506040513d60208110156106a557600080fd5b5051905080156108fa5760007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b15801561070a57600080fd5b505afa15801561071e573d6000803e3d6000fd5b505050506040513d602081101561073457600080fd5b5051905060606107847f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268887f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611c4d565b9050816001600160a01b031663d06ca61f84836040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156107ec5781810151838201526020016107d4565b50505050905001935050505060006040518083038186803b15801561081057600080fd5b505afa158015610824573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561084d57600080fd5b810190808051604051939291908464010000000082111561086d57600080fd5b90830190602082018581111561088257600080fd5b825186602082028301116401000000008211171561089f57600080fd5b82525081516020918201928201910280838360005b838110156108cc5781810151838201526020016108b4565b505050509050016040525050506001825103815181106108e857fe5b60200260200101519350505050610900565b60009150505b90565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316610935611a75565b6001600160a01b03161461097e576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b610986611de4565b565b7f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6001600160a01b03166109ba611a75565b6001600160a01b031614610986576040805162461bcd60e51b815260206004820152601260248201527110d85b1b195c881a5cc81b9bdd081c1bdbdb60721b604482015290519081900360640190fd5b60007f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b0316826001600160a01b03161480610a7d57507f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268886001600160a01b0316826001600160a01b0316145b92915050565b600054610100900460ff1681565b60007f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b0057600080fd5b505afa158015610b14573d6000803e3d6000fd5b505050506040513d6020811015610b2a57600080fd5b505115905090565b600080610c8e7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610ba557600080fd5b505afa158015610bb9573d6000803e3d6000fd5b505050506040513d6020811015610bcf57600080fd5b5051604080516370a0823160e01b81526001600160a01b037f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e8116600483015291517f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5909216916370a0823191602480820192602092909190829003018186803b158015610c5c57600080fd5b505afa158015610c70573d6000803e3d6000fd5b505050506040513d6020811015610c8657600080fd5b505190611ed4565b9050610caa610c9b611f2e565b610ca48361216a565b906121d4565b91505090565b60005460ff1681565b60015481565b60005460ff161580610d0957507f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316610cfe611a75565b6001600160a01b0316145b610d50576040805162461bcd60e51b815260206004820152601360248201527210dbdb9d1c9858dd081a185cc81c185d5cd959606a1b604482015290519081900360640190fd5b610d58612216565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a082317f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610de757600080fd5b505afa158015610dfb573d6000803e3d6000fd5b505050506040513d6020811015610e1157600080fd5b5051905080156106085761060881612688565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316610e56611a75565b6001600160a01b031614610e9f576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b6109866127c6565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316610ed9611a75565b6001600160a01b031614610f22576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b610986612847565b604051806040016040528060158152602001740a6e8e4c2e8cacef25a86dedae0deeadcc85a8aa89605b1b81525081565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316610f8d611a75565b6001600160a01b031614610fd6576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316635b16ebb77f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561106357600080fd5b505afa158015611077573d6000803e3d6000fd5b505050506040513d602081101561108d57600080fd5b50516110d3576040805162461bcd60e51b815260206004820152601060248201526f1b9bdd0b584b5d985b1a590b5c1bdbdb60821b604482015290519081900360640190fd5b306001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f7f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561116a57600080fd5b505afa15801561117e573d6000803e3d6000fd5b505050506040513d602081101561119457600080fd5b50516001600160a01b0316146111e8576040805162461bcd60e51b81526020600482015260146024820152736e6f742d612d76616c69642d737472617465677960601b604482015290519081900360640190fd5b7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b03166323b872dd7f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e307f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b03166370a082317f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156112c657600080fd5b505afa1580156112da573d6000803e3d6000fd5b505050506040513d60208110156112f057600080fd5b5051604080516001600160e01b031960e087901b1681526001600160a01b0394851660048201529290931660248301526044820152905160648083019260209291908290030181600087803b15801561134857600080fd5b505af115801561135c573d6000803e3d6000fd5b505050506040513d602081101561137257600080fd5b5050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b03166113cc611a75565b6001600160a01b031614611415576040805162461bcd60e51b815260206004820152601c6024820152600080516020613938833981519152604482015290519081900360640190fd5b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316635b16ebb77f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156114a257600080fd5b505afa1580156114b6573d6000803e3d6000fd5b505050506040513d60208110156114cc57600080fd5b5051611512576040805162461bcd60e51b815260206004820152601060248201526f1b9bdd0b584b5d985b1a590b5c1bdbdb60821b604482015290519081900360640190fd5b61151a6127c6565b6000600155604080516370a0823160e01b815230600482015290516001600160a01b037f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5169163a9059cbb917f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e9184916370a0823191602480820192602092909190829003018186803b1580156115b057600080fd5b505afa1580156115c4573d6000803e3d6000fd5b505050506040513d60208110156115da57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561134857600080fd5b60005460ff16158061167557507f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031661166a611a75565b6001600160a01b0316145b6116bc576040805162461bcd60e51b815260206004820152601360248201527210dbdb9d1c9858dd081a185cc81c185d5cd959606a1b604482015290519081900360640190fd5b6116c4612a32565b61060881612688565b7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b0316816001600160a01b03161415801561174157507f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268886001600160a01b0316816001600160a01b031614155b611789576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611809576040516001600160a01b037f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e16904780156108fc02916000818181858888f19350505050158015611803573d6000803e3d6000fd5b50610608565b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561185857600080fd5b505afa15801561186c573d6000803e3d6000fd5b505050506040513d602081101561188257600080fd5b505190506113726001600160a01b0383167f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e83612aca565b60005460ff16158061190457507f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b03166118f9611a75565b6001600160a01b0316145b61194b576040805162461bcd60e51b815260206004820152601360248201527210dbdb9d1c9858dd081a185cc81c185d5cd959606a1b604482015290519081900360640190fd5b6109867f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a082317f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156119db57600080fd5b505afa1580156119ef573d6000803e3d6000fd5b505050506040513d6020811015611a0557600080fd5b505161162b565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd021781565b7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed590565b60405180604001604052806005815260200164322e302e3360d81b81525081565b3390565b611a81612a32565b7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b031663852a12e3826040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b158015611ae757600080fd5b505af1158015611afb573d6000803e3d6000fd5b505050506040513d6020811015611b1157600080fd5b505115611b57576040805162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dcb59985a5b1959608a1b604482015290519081900360640190fd5b611b5f612b1c565b6106087f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611bf057600080fd5b505afa158015611c04573d6000803e3d6000fd5b505050506040513d6020811015611c1a57600080fd5b50516001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169190612aca565b6060806001600160a01b03841673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21480611c9757506001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2145b15611d1d5760408051600280825260608201835290916020830190803683370190505090508381600081518110611cca57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508281600181518110611cf857fe5b60200260200101906001600160a01b031690816001600160a01b031681525050611ddd565b6040805160038082526080820190925290602082016060803683370190505090508381600081518110611d4c57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611d8e57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508281600281518110611dbc57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b9392505050565b60005460ff16611e32576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600054610100900460ff1615611e84576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611eb7611a75565b604080516001600160a01b039092168252519081900360200190a1565b600082820183811015611ddd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600080612080670de0b6b3a764000061207a7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611fad57600080fd5b505afa158015611fc1573d6000803e3d6000fd5b505050506040513d6020811015611fd757600080fd5b50516002546040805163182df0f560e01b8152905161207492916001600160a01b037f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5169163182df0f591600480820192602092909190829003018186803b15801561204257600080fd5b505afa158015612056573d6000803e3d6000fd5b505050506040513d602081101561206c57600080fd5b5051906121d4565b90612b86565b90612bdf565b90506000612153670de0b6b3a764000061207a7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316634564a6c87f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561212057600080fd5b505afa158015612134573d6000803e3d6000fd5b505050506040513d602081101561214a57600080fd5b50518590612b86565b6001549091506121639082611ed4565b9250505090565b6000610a7d670de0b6b3a764000061207a7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b15801561212057600080fd5b6000611ddd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c21565b61221e612cb8565b612226612a32565b600154600061223482613471565b9050801561232d577f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b031663852a12e3836040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156122a257600080fd5b505af11580156122b6573d6000803e3d6000fd5b505050506040513d60208110156122cc57600080fd5b505115612320576040805162461bcd60e51b815260206004820181905260248201527f726562616c616e63654561726e65643a3a77697468647261772d6661696c6564604482015290519081900360640190fd5b600060015561232d612b1c565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561239c57600080fd5b505afa1580156123b0573d6000803e3d6000fd5b505050506040513d60208110156123c657600080fd5b505190508015612683576124256001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2167f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e600061350d565b6124796001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2167f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e8361350d565b7f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156124df57600080fd5b505af11580156124f3573d6000803e3d6000fd5b5050505060007f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561256657600080fd5b505afa15801561257a573d6000803e3d6000fd5b505050506040513d602081101561259057600080fd5b50516040805163503700dd60e11b81526001600160a01b037f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e811660048301529151929350612681927f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02179092169163a06e01ba91602480820192602092909190829003018186803b15801561262457600080fd5b505afa158015612638573d6000803e3d6000fd5b505050506040513d602081101561264e57600080fd5b50516001600160a01b037f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e169083612aca565b505b505050565b6126dd6001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2167f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e3084613620565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561273757600080fd5b505af115801561274b573d6000803e3d6000fd5b505050507f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b0316631249c58b826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156127aa57600080fd5b505af11580156127be573d6000803e3d6000fd5b505050505050565b60005460ff1615612811576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611eb7611a75565b6000600155604080516370a0823160e01b815230600482015290516001600160a01b037f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5169163db006a759183916370a08231916024808301926020929190829003018186803b1580156128ba57600080fd5b505afa1580156128ce573d6000803e3d6000fd5b505050506040513d60208110156128e457600080fd5b5051604080516001600160e01b031960e085901b16815260048101929092525160248083019260209291908290030181600087803b15801561292557600080fd5b505af1158015612939573d6000803e3d6000fd5b505050506040513d602081101561294f57600080fd5b505115612999576040805162461bcd60e51b81526020600482015260136024820152721dda5d1a191c985dcb585b1b0b59985a5b1959606a1b604482015290519081900360640190fd5b6129a1612b1c565b6109867f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611bf057600080fd5b612a3a611f2e565b6001819055507f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b158015612a9957600080fd5b505afa158015612aad573d6000803e3d6000fd5b505050506040513d6020811015612ac357600080fd5b5051600255565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612683908490613676565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b158015612b6b57600080fd5b505af1158015612b7f573d6000803e3d6000fd5b5050505050565b600082612b9557506000610a7d565b82820282848281612ba257fe5b0414611ddd5760405162461bcd60e51b81526004018080602001828103825260218152602001806139176021913960400191505060405180910390fd5b6000611ddd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613727565b60008184841115612cb05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c75578181015183820152602001612c5d565b50505050905090810190601f168015612ca25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001808252818301909252606091602080830190803683370190505090507f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed581600081518110612d0857fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b6001600160a01b0316631c3db2e030836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015612db7578181015183820152602001612d9f565b505050509050019350505050600060405180830381600087803b158015612ddd57600080fd5b505af1158015612df1573d6000803e3d6000fd5b5050505060007f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268886001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e6457600080fd5b505afa158015612e78573d6000803e3d6000fd5b505050506040513d6020811015612e8e57600080fd5b5051905080156113725760007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b158015612ef357600080fd5b505afa158015612f07573d6000803e3d6000fd5b505050506040513d6020811015612f1d57600080fd5b505190506060612f6d7f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268887f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611c4d565b90506000826001600160a01b031663d06ca61f85846040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015612fd7578181015183820152602001612fbf565b50505050905001935050505060006040518083038186803b158015612ffb57600080fd5b505afa15801561300f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561303857600080fd5b810190808051604051939291908464010000000082111561305857600080fd5b90830190602082018581111561306d57600080fd5b825186602082028301116401000000008211171561308a57600080fd5b82525081516020918201928201910280838360005b838110156130b757818101518382015260200161309f565b505050509050016040525050506001835103815181106130d357fe5b6020026020010151905080600014612b7f5761311a6001600160a01b037f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268881684600061350d565b61314e6001600160a01b037f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f2688816848661350d565b826001600160a01b03166338ed1739856001853042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156131d65781810151838201526020016131be565b505050509050019650505050505050600060405180830381600087803b1580156131ff57600080fd5b505af1158015613213573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561323c57600080fd5b810190808051604051939291908464010000000082111561325c57600080fd5b90830190602082018581111561327157600080fd5b825186602082028301116401000000008211171561328e57600080fd5b82525081516020918201928201910280838360005b838110156132bb5781810151838201526020016132a3565b505050509050016040525050505060007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561333857600080fd5b505afa15801561334c573d6000803e3d6000fd5b505050506040513d602081101561336257600080fd5b5051604080516308ac94d960e31b81526001600160a01b037f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e81166004830152915192935060009261340792670de0b6b3a76400009261207a927f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd021790921691634564a6c891602480820192602092909190829003018186803b15801561212057600080fd5b90506134687f000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e61343784846121d4565b6001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169190612aca565b50505050505050565b6000610a7d7f0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed56001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b1580156134cf57600080fd5b505afa1580156134e3573d6000803e3d6000fd5b505050506040513d60208110156134f957600080fd5b505161207a84670de0b6b3a7640000612b86565b801580613593575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561356557600080fd5b505afa158015613579573d6000803e3d6000fd5b505050506040513d602081101561358f57600080fd5b5051155b6135ce5760405162461bcd60e51b81526004018080602001828103825260368152602001806139826036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052612683908490613676565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526126819085905b60606136cb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661378c9092919063ffffffff16565b805190915015612683578080602001905160208110156136ea57600080fd5b50516126835760405162461bcd60e51b815260040180806020018281038252602a815260200180613958602a913960400191505060405180910390fd5b600081836137765760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612c75578181015183820152602001612c5d565b50600083858161378257fe5b0495945050505050565b606061379b84846000856137a3565b949350505050565b60606137ae85613910565b6137ff576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061383e5780518252601f19909201916020918201910161381f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146138a0576040519150601f19603f3d011682016040523d82523d6000602084013e6138a5565b606091505b509150915081156138b957915061379b9050565b8051156138c95780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612c75578181015183820152602001612c5d565b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000005361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220feb61c2846179833c77229cf07c023a9c1b933550caf95f5c10ec8a76f821f6264736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e
-----Decoded View---------------
Arg [0] : _controller (address): 0xa4F1671d3Aee73C05b552d57f2d16d3cfcBd0217
Arg [1] : _pool (address): 0x103cc17C2B1586e5Cd9BaD308690bCd0BBe54D5e
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217
Arg [1] : 000000000000000000000000103cc17c2b1586e5cd9bad308690bcd0bbe54d5e
Deployed Bytecode Sourcemap
41698:1056:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42242:10;-1:-1:-1;;;;;42264:6:0;42242:29;;;:51;;-1:-1:-1;42275:10:0;28592:42;42275:18;42242:51;42234:89;;;;;-1:-1:-1;;;42234:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41698:1056;;;;;28266:38;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;28266:38:0;;;;;;;;;;;;;;31915:105;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31915:105:0;;:::i;33566:467::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;30022:81;;;;;;;;;;;;;:::i;31730:55::-;;;;;;;;;;;;;:::i;34399:155::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34399:155:0;-1:-1:-1;;;;;34399:155:0;;:::i;:::-;;;;;;;;;;;;;;;;;;19408:26;;;;;;;;;;;;;:::i;34172:124::-;;;;;;;;;;;;;:::i;35046:247::-;;;;;;;;;;;;;:::i;19383:18::-;;;;;;;;;;;;;:::i;28311:25::-;;;;;;;;;;;;;:::i;32506:213::-;;;;;;;;;;;;;:::i;29937:77::-;;;;;;;;;;;;;:::i;32186:89::-;;;;;;;;;;;;;:::i;41754:53::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30487:277;;;;;;;;;;;;;:::i;28220:39::-;;;;;;;;;;;;;:::i;31117:226::-;;;;;;;;;;;;;:::i;35532:121::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35532:121:0;;:::i;32898:419::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32898:419:0;-1:-1:-1;;;;;32898:419:0;;:::i;31486:95::-;;;;;;;;;;;;;:::i;28174:39::-;;;;;;;;;;;;;:::i;34641:99::-;;;;;;;;;;;;;:::i;41814:40::-;;;;;;;;;;;;;:::i;28266:38::-;;;:::o;31915:105::-;29571:10;-1:-1:-1;;;;;29547:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29547:35:0;;:59;;;;29602:4;-1:-1:-1;;;;;29586:20:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29586:20:0;;29547:59;29525:133;;;;;-1:-1:-1;;;29525:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31994:18:::1;32004:7;31994:9;:18::i;:::-;31915:105:::0;:::o;33566:467::-;33615:7;33635:19;33657:11;-1:-1:-1;;;;;33657:23:0;;33689:4;33657:38;;;;;;;;;;;;;-1:-1:-1;;;;;33657:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33657:38:0;;-1:-1:-1;33710:16:0;;33706:301;;33743:32;33797:10;-1:-1:-1;;;;;33797:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33797:26:0;;-1:-1:-1;33839:21:0;33863:47;33872:11;33893:15;33863:8;:47::i;:::-;33839:71;;33932:13;-1:-1:-1;;;;;33932:27:0;;33960:11;33973:4;33932:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33932:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33932:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33993:1;33979:4;:11;:15;33932:63;;;;;;;;;;;;;;33925:70;;;;;;;33706:301;34024:1;34017:8;;;33566:467;;:::o;30022:81::-;29755:10;-1:-1:-1;;;;;29731:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29731:35:0;;29723:76;;;;;-1:-1:-1;;;29723:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29723:76:0;;;;;;;;;;;;;;;30085:10:::1;:8;:10::i;:::-;30022:81::o:0;31730:55::-;29882:4;-1:-1:-1;;;;;29866:20:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29866:20:0;;29858:51;;;;;-1:-1:-1;;;29858:51:0;;;;;;;;;;;;-1:-1:-1;;;29858:51:0;;;;;;;;;;;;;;34399:155;34472:4;34514:6;-1:-1:-1;;;;;34496:25:0;:6;-1:-1:-1;;;;;34496:25:0;;:50;;;;34535:11;-1:-1:-1;;;;;34525:21:0;:6;-1:-1:-1;;;;;34525:21:0;;34496:50;34489:57;34399:155;-1:-1:-1;;34399:155:0:o;19408:26::-;;;;;;;;;:::o;34172:124::-;34228:4;34252:6;-1:-1:-1;;;;;34252:16:0;;34277:4;34252:31;;;;;;;;;;;;;-1:-1:-1;;;;;34252:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34252:31:0;:36;;-1:-1:-1;34172:124:0;:::o;35046:247::-;35101:7;35121:21;35145:59;35172:6;-1:-1:-1;;;;;35172:16:0;;35197:4;35172:31;;;;;;;;;;;;;-1:-1:-1;;;;;35172:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35172:31:0;35145:22;;;-1:-1:-1;;;35145:22:0;;-1:-1:-1;;;;;35162:4:0;35145:22;;;;;;;;:6;:16;;;;;;:22;;;;;35172:31;;35145:22;;;;;;;;:16;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35145:22:0;;:26;:59::i;:::-;35121:83;;35222:63;35262:22;:20;:22::i;:::-;35222:35;35243:13;35222:20;:35::i;:::-;:39;;:63::i;:::-;35215:70;;;35046:247;:::o;19383:18::-;;;;;;:::o;28311:25::-;;;;:::o;32506:213::-;29391:6;;;;29390:7;;:46;;;29425:10;-1:-1:-1;;;;;29401:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29401:35:0;;29390:46;29382:78;;;;;-1:-1:-1;;;29382:78:0;;;;;;;;;;;;-1:-1:-1;;;29382:78:0;;;;;;;;;;;;;;;32561:18:::1;:16;:18::i;:::-;32590:15;32608;-1:-1:-1::0;;;;;32608:25:0::1;;32634:4;32608:31;;;;;;;;;;;;;-1:-1:-1::0;;;;;32608:31:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;32608:31:0;;-1:-1:-1;32654:12:0;;32650:62:::1;;32683:17;32692:7;32683:8;:17::i;29937:77::-:0;29755:10;-1:-1:-1;;;;;29731:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29731:35:0;;29723:76;;;;;-1:-1:-1;;;29723:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29723:76:0;;;;;;;;;;;;;;;29998:8:::1;:6;:8::i;32186:89::-:0;29755:10;-1:-1:-1;;;;;29731:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29731:35:0;;29723:76;;;;;-1:-1:-1;;;29723:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29723:76:0;;;;;;;;;;;;;;;32253:14:::1;:12;:14::i;41754:53::-:0;;;;;;;;;;;;;;-1:-1:-1;;;41754:53:0;;;;:::o;30487:277::-;29755:10;-1:-1:-1;;;;;29731:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29731:35:0;;29723:76;;;;;-1:-1:-1;;;29723:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29723:76:0;;;;;;;;;;;;;;;30551:10:::1;-1:-1:-1::0;;;;;30551:17:0::1;;30569:4;30551:23;;;;;;;;;;;;;-1:-1:-1::0;;;;;30551:23:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30551:23:0;30543:52:::1;;;::::0;;-1:-1:-1;;;30543:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30543:52:0;;;;;;;;;;;;;::::1;;30651:4;-1:-1:-1::0;;;;;30614:42:0::1;:10;-1:-1:-1::0;;;;;30614:19:0::1;;30634:4;30614:25;;;;;;;;;;;;;-1:-1:-1::0;;;;;30614:25:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30614:25:0;-1:-1:-1;;;;;30614:42:0::1;;30606:75;;;::::0;;-1:-1:-1;;;30606:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30606:75:0;;;;;;;;;;;;;::::1;;30692:6;-1:-1:-1::0;;;;;30692:19:0::1;;30712:4;30726;30733:6;-1:-1:-1::0;;;;;30733:16:0::1;;30750:4;30733:22;;;;;;;;;;;;;-1:-1:-1::0;;;;;30733:22:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30733:22:0;30692:64:::1;::::0;;-1:-1:-1;;;;;;30692:64:0::1;::::0;;;;;;-1:-1:-1;;;;;30692:64:0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;;;30733:22:::1;::::0;30692:64;;;;;;;-1:-1:-1;30692:64:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;30487:277:0:o;28220:39::-;;;:::o;31117:226::-;29755:10;-1:-1:-1;;;;;29731:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29731:35:0;;29723:76;;;;;-1:-1:-1;;;29723:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29723:76:0;;;;;;;;;;;;;;;31182:10:::1;-1:-1:-1::0;;;;;31182:17:0::1;;31200:4;31182:23;;;;;;;;;;;;;-1:-1:-1::0;;;;;31182:23:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;31182:23:0;31174:52:::1;;;::::0;;-1:-1:-1;;;31174:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31174:52:0;;;;;;;;;;;;;::::1;;31237:8;:6;:8::i;:::-;31269:1;31256:10;:14:::0;31303:31:::1;::::0;;-1:-1:-1;;;31303:31:0;;31328:4:::1;31303:31;::::0;::::1;::::0;;;-1:-1:-1;;;;;31281:6:0::1;:15;::::0;::::1;::::0;31297:4:::1;::::0;31281:15;;31303:16:::1;::::0;:31;;;;;::::1;::::0;;;;;;;;;31281:15;31303:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;31303:31:0;31281:54:::1;::::0;;-1:-1:-1;;;;;;31281:54:0::1;::::0;;;;;;-1:-1:-1;;;;;31281:54:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;31303:31:::1;::::0;31281:54;;;;;;;-1:-1:-1;31281:54:0;;::::1;;::::0;::::1;;;;::::0;::::1;35532:121:::0;29391:6;;;;29390:7;;:46;;;29425:10;-1:-1:-1;;;;;29401:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29401:35:0;;29390:46;29382:78;;;;;-1:-1:-1;;;29382:78:0;;;;;;;;;;;;-1:-1:-1;;;29382:78:0;;;;;;;;;;;;;;;35598:19:::1;:17;:19::i;:::-;35628:17;35637:7;35628:8;:17::i;32898:419::-:0;32988:6;-1:-1:-1;;;;;32966:29:0;:10;-1:-1:-1;;;;;32966:29:0;;;:58;;;;;33013:11;-1:-1:-1;;;;;32999:25:0;:10;-1:-1:-1;;;;;32999:25:0;;;32966:58;32958:91;;;;;-1:-1:-1;;;32958:91:0;;;;;;;;;;;;-1:-1:-1;;;32958:91:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33066:17:0;;28510:42;33066:17;33062:248;;;33100:45;;-1:-1:-1;;;;;33108:4:0;33100:22;;33123:21;33100:45;;;;;;;;;33123:21;33100:22;:45;;;;;;;;;;;;;;;;;;;;;33062:248;;;33178:14;33202:10;-1:-1:-1;;;;;33195:28:0;;33232:4;33195:43;;;;;;;;;;;;;-1:-1:-1;;;;;33195:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33195:43:0;;-1:-1:-1;33253:45:0;-1:-1:-1;;;;;33253:31:0;;33285:4;33195:43;33253:31;:45::i;31486:95::-;29391:6;;;;29390:7;;:46;;;29425:10;-1:-1:-1;;;;;29401:35:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29401:35:0;;29390:46;29382:78;;;;;-1:-1:-1;;;29382:78:0;;;;;;;;;;;;-1:-1:-1;;;29382:78:0;;;;;;;;;;;;;;;31533:40:::1;31541:15;-1:-1:-1::0;;;;;31541:25:0::1;;31567:4;31541:31;;;;;;;;;;;;;-1:-1:-1::0;;;;;31541:31:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;31541:31:0;31533:7:::1;:40::i;28174:39::-:0;;;:::o;34641:99::-;34725:6;34641:99;:::o;41814:40::-;;;;;;;;;;;;;;-1:-1:-1;;;41814:40:0;;;;:::o;18623:106::-;18711:10;18623:106;:::o;38867:271::-;38923:19;:17;:19::i;:::-;38961:6;-1:-1:-1;;;;;38961:23:0;;38985:7;38961:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38961:32:0;:37;38953:65;;;;;-1:-1:-1;;;38953:65:0;;;;;;;;;;;;-1:-1:-1;;;38953:65:0;;;;;;;;;;;;;;;39029:14;:12;:14::i;:::-;39054:76;39083:4;39089:15;-1:-1:-1;;;;;39089:25:0;;39123:4;39089:40;;;;;;;;;;;;;-1:-1:-1;;;;;39089:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39089:40:0;-1:-1:-1;;;;;39054:15:0;:28;;:76;:28;:76::i;40607:444::-;40676:16;;-1:-1:-1;;;;;40741:13:0;;28592:42;40741:13;;:28;;-1:-1:-1;;;;;;40758:11:0;;28592:42;40758:11;40741:28;40737:285;;;40793:16;;;40807:1;40793:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40793:16:0;40786:23;;40834:5;40824:4;40829:1;40824:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;40824:15:0;;;-1:-1:-1;;;;;40824:15:0;;;;;40864:3;40854:4;40859:1;40854:7;;;;;;;;;;;;;:13;-1:-1:-1;;;;;40854:13:0;;;-1:-1:-1;;;;;40854:13:0;;;;;40737:285;;;40907:16;;;40921:1;40907:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40907:16:0;40900:23;;40948:5;40938:4;40943:1;40938:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;40938:15:0;;;-1:-1:-1;;;;;40938:15:0;;;;;28592:42;40968:4;40973:1;40968:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;40968:14:0;;;-1:-1:-1;;;;;40968:14:0;;;;;41007:3;40997:4;41002:1;40997:7;;;;;;;;;;;;;:13;-1:-1:-1;;;;;40997:13:0;;;-1:-1:-1;;;;;40997:13:0;;;;;40737:285;41039:4;40607:444;-1:-1:-1;;;40607:444:0:o;20152:135::-;19582:6;;;;19574:39;;;;;-1:-1:-1;;;19574:39:0;;;;;;;;;;;;-1:-1:-1;;;19574:39:0;;;;;;;;;;;;;;;19688:14:::1;::::0;::::1;::::0;::::1;;;19687:15;19679:46;;;::::0;;-1:-1:-1;;;19679:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;19679:46:0;;;;;;;;;;;;;::::1;;20236:5:::2;20227:14:::0;;-1:-1:-1;;20227:14:0::2;::::0;;20257:22:::2;20266:12;:10;:12::i;:::-;20257:22;::::0;;-1:-1:-1;;;;;20257:22:0;;::::2;::::0;;;;;;;::::2;::::0;;::::2;20152:135::o:0;956:181::-;1014:7;1046:5;;;1070:6;;;;1062:46;;;;;-1:-1:-1;;;1062:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;40041:399;40096:7;40116:16;40148:170;40313:4;40148:142;40258:6;-1:-1:-1;;;;;40258:16:0;;40283:4;40258:31;;;;;;;;;;;;;-1:-1:-1;;;;;40258:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40258:31:0;40216:18;;40148:45;;;-1:-1:-1;;;40148:45:0;;;;:87;;40216:18;-1:-1:-1;;;;;40148:6:0;:43;;;;:45;;;;;40258:31;;40148:45;;;;;;;;:43;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40148:45:0;;:67;:87::i;:::-;:109;;:142::i;:::-;:164;;:170::i;:::-;40116:202;;40329:11;40343:52;40390:4;40343:42;40356:10;-1:-1:-1;;;;;40356:22:0;;40379:4;40356:28;;;;;;;;;;;;;-1:-1:-1;;;;;40356:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40356:28:0;40343:8;;:12;:42::i;:52::-;40413:10;;40329:66;;-1:-1:-1;40413:19:0;;40329:66;40413:14;:19::i;:::-;40406:26;;;;40041:399;:::o;39866:167::-;39942:7;39969:56;40020:4;39969:46;39987:6;-1:-1:-1;;;;;39987:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1420:136;1478:7;1505:43;1509:1;1512;1505:43;;;;;;;;;;;;;;;;;:3;:43::i;37892:967::-;37940:12;:10;:12::i;:::-;37963:19;:17;:19::i;:::-;38064:10;;38042:19;38109:29;38064:10;38109:16;:29::i;:::-;38085:53;-1:-1:-1;38153:18:0;;38149:233;;38196:6;-1:-1:-1;;;;;38196:23:0;;38220:11;38196:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38196:36:0;:41;38188:86;;;;;-1:-1:-1;;;38188:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38340:1;38327:10;:14;38356;:12;:14::i;:::-;38394:26;38423:15;-1:-1:-1;;;;;38423:25:0;;38457:4;38423:40;;;;;;;;;;;;;-1:-1:-1;;;;;38423:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38423:40:0;;-1:-1:-1;38478:23:0;;38474:378;;38518:36;-1:-1:-1;;;;;38518:15:0;:27;38546:4;38552:1;38518:27;:36::i;:::-;38569:53;-1:-1:-1;;;;;38569:15:0;:27;38597:4;38603:18;38569:27;:53::i;:::-;38649:4;-1:-1:-1;;;;;38637:25:0;;38663:18;38637:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38697:19;38726:4;-1:-1:-1;;;;;38719:22:0;;38750:4;38719:37;;;;;;;;;;;;;-1:-1:-1;;;;;38719:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38719:37:0;38797:29;;;-1:-1:-1;;;38797:29:0;;-1:-1:-1;;;;;38821:4:0;38797:29;;;;;;;;38719:37;;-1:-1:-1;38771:69:0;;38797:10;:23;;;;;;:29;;;;;38719:37;;38797:29;;;;;;;;:23;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38797:29:0;-1:-1:-1;;;;;38778:4:0;38771:25;;38828:11;38771:25;:69::i;:::-;38474:378;;37892:967;;;:::o;42533:218::-;42597:62;-1:-1:-1;;;;;42597:15:0;:32;42630:4;42644;42651:7;42597:32;:62::i;:::-;28592:42;-1:-1:-1;;;;;42670:24:0;;42695:7;42670:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42714:6;-1:-1:-1;;;;;42714:11:0;;42733:7;42714:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42533:218;:::o;19933:117::-;19488:6;;;;19487:7;19479:36;;;;;-1:-1:-1;;;19479:36:0;;;;;;;;;;;;-1:-1:-1;;;19479:36:0;;;;;;;;;;;;;;;19993:6:::1;:13:::0;;-1:-1:-1;;19993:13:0::1;20002:4;19993:13;::::0;;20022:20:::1;20029:12;:10;:12::i;39146:272::-:0;39203:1;39190:10;:14;39237:31;;;-1:-1:-1;;;39237:31:0;;39262:4;39237:31;;;;;;-1:-1:-1;;;;;39223:6:0;:13;;;;;;39237:16;;:31;;;;;;;;;;;;;;39223:13;39237:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39237:31:0;39223:46;;;-1:-1:-1;;;;;;39223:46:0;;;;;;;;;;;;;;;;;;;;39237:31;;39223:46;;;;;;;-1:-1:-1;39223:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39223:46:0;:51;39215:83;;;;;-1:-1:-1;;;39215:83:0;;;;;;;;;;;;-1:-1:-1;;;39215:83:0;;;;;;;;;;;;;;;39309:14;:12;:14::i;:::-;39334:76;39363:4;39369:15;-1:-1:-1;;;;;39369:25:0;;39403:4;39369:40;;;;;;;;;;;;;-1:-1:-1;;;;;39369:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;40448:151;40510:22;:20;:22::i;:::-;40497:10;:35;;;;40564:6;-1:-1:-1;;;;;40564:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40564:27:0;40543:18;:48;40448:151::o;14924:177::-;15034:58;;;-1:-1:-1;;;;;15034:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15034:58:0;-1:-1:-1;;;15034:58:0;;;15007:86;;15027:5;;15007:19;:86::i;42409:116::-;28592:42;-1:-1:-1;;;;;42462:23:0;;42493:21;42462:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42409:116::o;2310:471::-;2368:7;2613:6;2609:47;;-1:-1:-1;2643:1:0;2636:8;;2609:47;2680:5;;;2684:1;2680;:5;:1;2704:5;;;;;:10;2696:56;;;;-1:-1:-1;;;2696:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3257:132;3315:7;3342:39;3346:1;3349;3342:39;;;;;;;;;;;;;;;;;:3;:39::i;1859:192::-;1945:7;1981:12;1973:6;;;;1965:29;;;;-1:-1:-1;;;1965:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2017:5:0;;;1859:192::o;35941:1131::-;36010:16;;;36024:1;36010:16;;;;;;;;;35983:24;;36010:16;;;;;;;;;;;-1:-1:-1;36010:16:0;35983:43;;36058:6;36037:7;36045:1;36037:10;;;;;;;;;;;;;:28;-1:-1:-1;;;;;36037:28:0;;;-1:-1:-1;;;;;36037:28:0;;;;;36076:11;-1:-1:-1;;;;;36076:21:0;;36106:4;36113:7;36076:45;;;;;;;;;;;;;-1:-1:-1;;;;;36076:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36132:11;36153;-1:-1:-1;;;;;36146:29:0;;36184:4;36146:44;;;;;;;;;;;;;-1:-1:-1;;;;;36146:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36146:44:0;;-1:-1:-1;36205:8:0;;36201:864;;36230:32;36284:10;-1:-1:-1;;;;;36284:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36284:26:0;;-1:-1:-1;36326:21:0;36350:47;36359:11;36380:15;36350:8;:47::i;:::-;36326:71;;36412:17;36432:13;-1:-1:-1;;;;;36432:27:0;;36460:3;36465:4;36432:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36432:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36432:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36485:1;36471:4;:11;:15;36432:55;;;;;;;;;;;;;;36412:75;;36506:9;36519:1;36506:14;36502:552;;36541:58;-1:-1:-1;;;;;36548:11:0;36541:31;36581:13;36597:1;36541:31;:58::i;:::-;36618:60;-1:-1:-1;;;;;36625:11:0;36618:31;36658:13;36674:3;36618:31;:60::i;:::-;36697:13;-1:-1:-1;;;;;36697:38:0;;36736:3;36741:1;36744:4;36758;36765:3;36771:2;36765:8;36697:77;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36697:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36697:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36697:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36793:25;36821:15;-1:-1:-1;;;;;36821:25:0;;36855:4;36821:40;;;;;;;;;;;;;-1:-1:-1;;;;;36821:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36821:40:0;36917:28;;;-1:-1:-1;;;36917:28:0;;-1:-1:-1;;;;;36940:4:0;36917:28;;;;;;;;36821:40;;-1:-1:-1;;;36895:61:0;;36951:4;;36895:51;;36917:10;:22;;;;;;:28;;;;;36821:40;;36917:28;;;;;;;;:22;:28;;;;;;;;;;36895:61;36880:76;-1:-1:-1;36975:63:0;37004:4;37010:27;:17;36880:76;37010:21;:27::i;:::-;-1:-1:-1;;;;;36975:15:0;:28;;:63;:28;:63::i;:::-;36502:552;;36201:864;;;35941:1131;;:::o;39687:171::-;39763:7;39790:60;39822:6;-1:-1:-1;;;;;39822:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39822:27:0;39790;:17;39812:4;39790:21;:27::i;15583:622::-;15953:10;;;15952:62;;-1:-1:-1;15969:39:0;;;-1:-1:-1;;;15969:39:0;;15993:4;15969:39;;;;-1:-1:-1;;;;;15969:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15969:39:0;:44;15952:62;15944:152;;;;-1:-1:-1;;;15944:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16134:62;;;-1:-1:-1;;;;;16134:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16134:62:0;-1:-1:-1;;;16134:62:0;;;16107:90;;16127:5;;16107:19;:90::i;15109:205::-;15237:68;;;-1:-1:-1;;;;;15237:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15237:68:0;-1:-1:-1;;;15237:68:0;;;15210:96;;15230:5;;17229:761;17653:23;17679:69;17707:4;17679:69;;;;;;;;;;;;;;;;;17687:5;-1:-1:-1;;;;;17679:27:0;;;:69;;;;;:::i;:::-;17763:17;;17653:95;;-1:-1:-1;17763:21:0;17759:224;;17905:10;17894:30;;;;;;;;;;;;;;;-1:-1:-1;17894:30:0;17886:85;;;;-1:-1:-1;;;17886:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3885:278;3971:7;4006:12;3999:5;3991:28;;;;-1:-1:-1;;;3991:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4030:9;4046:1;4042;:5;;;;;;;3885:278;-1:-1:-1;;;;;3885:278:0:o;11903:196::-;12006:12;12038:53;12061:6;12069:4;12075:1;12078:12;12038:22;:53::i;:::-;12031:60;11903:196;-1:-1:-1;;;;11903:196:0:o;13280:979::-;13410:12;13443:18;13454:6;13443:10;:18::i;:::-;13435:60;;;;;-1:-1:-1;;;13435:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13569:12;13583:23;13610:6;-1:-1:-1;;;;;13610:11:0;13630:8;13641:4;13610:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13610:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13568:78;;;;13661:7;13657:595;;;13692:10;-1:-1:-1;13685:17:0;;-1:-1:-1;13685:17:0;13657:595;13806:17;;:21;13802:439;;14069:10;14063:17;14130:15;14117:10;14113:2;14109:19;14102:44;14017:148;14205:20;;-1:-1:-1;;;14205:20:0;;;;;;;;;;;;;;;;;14212:12;;14205:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8985:422;9352:20;9391:8;;;8985:422::o
Swarm Source
ipfs://feb61c2846179833c77229cf07c023a9c1b933550caf95f5c10ec8a76f821f62
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.