Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 477 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Swap Eth To Pipt | 11414094 | 1514 days ago | IN | 17 ETH | 0.05454654 | ||||
Swap Eth To Pipt | 11413818 | 1514 days ago | IN | 19 ETH | 0.05274272 | ||||
Swap Eth To Pipt | 11412474 | 1514 days ago | IN | 17 ETH | 0.05914685 | ||||
Swap Eth To Pipt | 11408746 | 1515 days ago | IN | 19 ETH | 0.04196884 | ||||
Swap Eth To Pipt | 11407464 | 1515 days ago | IN | 19 ETH | 0.05883177 | ||||
Swap Eth To Pipt | 11406531 | 1515 days ago | IN | 23 ETH | 0.09996484 | ||||
Swap Pipt To Eth | 11404030 | 1516 days ago | IN | 0 ETH | 0.03054687 | ||||
Swap Eth To Pipt | 11403460 | 1516 days ago | IN | 15 ETH | 0.03424999 | ||||
Swap Eth To Pipt | 11402624 | 1516 days ago | IN | 13 ETH | 0.03561659 | ||||
Swap Eth To Pipt | 11400810 | 1516 days ago | IN | 13 ETH | 0.03907123 | ||||
Swap Eth To Pipt | 11400545 | 1516 days ago | IN | 15 ETH | 0.04491397 | ||||
Swap Eth To Pipt | 11400419 | 1516 days ago | IN | 0.5 ETH | 0.07064762 | ||||
Swap Pipt To Eth | 11400417 | 1516 days ago | IN | 0 ETH | 0.04756535 | ||||
Swap Eth To Pipt | 11400082 | 1516 days ago | IN | 15 ETH | 0.04737386 | ||||
Swap Eth To Pipt | 11399364 | 1516 days ago | IN | 31 ETH | 0.03368248 | ||||
Swap Eth To Pipt | 11399187 | 1516 days ago | IN | 20 ETH | 0.04271716 | ||||
Swap Eth To Pipt | 11398770 | 1516 days ago | IN | 15 ETH | 0.03914284 | ||||
Swap Eth To Pipt | 11398739 | 1516 days ago | IN | 14 ETH | 0.03606315 | ||||
Swap Eth To Pipt | 11398312 | 1517 days ago | IN | 18 ETH | 0.04273094 | ||||
Swap Eth To Pipt | 11398172 | 1517 days ago | IN | 13 ETH | 0.03261904 | ||||
Swap Eth To Pipt | 11397249 | 1517 days ago | IN | 32 ETH | 0.04474128 | ||||
Swap Eth To Pipt | 11396965 | 1517 days ago | IN | 19 ETH | 0.0460031 | ||||
Swap Eth To Pipt | 11396811 | 1517 days ago | IN | 19 ETH | 0.02973772 | ||||
Swap Eth To Pipt | 11396487 | 1517 days ago | IN | 30 ETH | 0.0508018 | ||||
Swap Eth To Pipt | 11396383 | 1517 days ago | IN | 21 ETH | 0.03605289 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
11507258 | 1500 days ago | 0.11724885 ETH | ||||
11507258 | 1500 days ago | 0.11724885 ETH | ||||
11507258 | 1500 days ago | 11.25 ETH | ||||
11507258 | 1500 days ago | 11.25 ETH | ||||
11506050 | 1500 days ago | 15.5143175 ETH | ||||
11506050 | 1500 days ago | 15.5143175 ETH | ||||
11506044 | 1500 days ago | 15.5179366 ETH | ||||
11506044 | 1500 days ago | 15.5179366 ETH | ||||
11506037 | 1500 days ago | 15.51913762 ETH | ||||
11506037 | 1500 days ago | 15.51913762 ETH | ||||
11505346 | 1500 days ago | 22.28505841 ETH | ||||
11505346 | 1500 days ago | 22.28505841 ETH | ||||
11505345 | 1500 days ago | 22.67052221 ETH | ||||
11505345 | 1500 days ago | 22.67052221 ETH | ||||
11503977 | 1500 days ago | 22.60639496 ETH | ||||
11503977 | 1500 days ago | 22.60639496 ETH | ||||
11497759 | 1501 days ago | 24.95846639 ETH | ||||
11497759 | 1501 days ago | 24.95846639 ETH | ||||
11494486 | 1502 days ago | 17.22759894 ETH | ||||
11494486 | 1502 days ago | 17.22759894 ETH | ||||
11493193 | 1502 days ago | 22.17419879 ETH | ||||
11493193 | 1502 days ago | 22.17419879 ETH | ||||
11491761 | 1502 days ago | 0.26241199 ETH | ||||
11491761 | 1502 days ago | 0.26241199 ETH | ||||
11491761 | 1502 days ago | 29 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Erc20PiptSwap
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-01 */ /* https://powerpool.finance/ wrrrw r wrr ppwr rrr wppr0 prwwwrp prwwwrp wr0 rr 0rrrwrrprpwp0 pp pr prrrr0 pp 0r prrrr0 0rwrrr pp pr prrrr0 prrrr0 r0 rrp pr wr00rrp prwww0 pp wr pp w00r prwwwpr 0rw prwww0 pp wr pp wr r0 r0rprprwrrrp pr0 pp wr pr pp rwwr wr 0r pp wr pr wr pr r0 prwr wrr0wpwr 00 www0 0w0ww www0 0w 00 www0 www0 0www0 wrr ww0rrrr */ // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT 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: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/interfaces/BMathInterface.sol pragma solidity 0.6.12; interface BMathInterface { function calcInGivenOut( uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee ) external pure returns (uint256 tokenAmountIn); } // File: contracts/interfaces/BPoolInterface.sol pragma solidity 0.6.12; interface BPoolInterface is IERC20, BMathInterface { function joinPool(uint256 poolAmountOut, uint256[] calldata maxAmountsIn) external; function exitPool(uint256 poolAmountIn, uint256[] calldata minAmountsOut) external; function swapExactAmountIn( address, uint256, address, uint256, uint256 ) external returns (uint256, uint256); function swapExactAmountOut( address, uint256, address, uint256, uint256 ) external returns (uint256, uint256); function joinswapExternAmountIn( address, uint256, uint256 ) external returns (uint256); function joinswapPoolAmountOut( address, uint256, uint256 ) external returns (uint256); function exitswapPoolAmountIn( address, uint256, uint256 ) external returns (uint256); function exitswapExternAmountOut( address, uint256, uint256 ) external returns (uint256); function getDenormalizedWeight(address) external view returns (uint256); function getBalance(address) external view returns (uint256); function getSwapFee() external view returns (uint256); function getTotalDenormalizedWeight() external view returns (uint256); function getCommunityFee() external view returns ( uint256, uint256, uint256, address ); function calcAmountWithCommunityFee( uint256, uint256, address ) external view returns (uint256, uint256); function getRestrictions() external view returns (address); function isPublicSwap() external view returns (bool); function isFinalized() external view returns (bool); function isBound(address t) external view returns (bool); function getCurrentTokens() external view returns (address[] memory tokens); function getFinalTokens() external view returns (address[] memory tokens); function setSwapFee(uint256) external; function setCommunityFeeAndReceiver( uint256, uint256, uint256, address ) external; function setController(address) external; function setPublicSwap(bool) external; function finalize() external; function bind( address, uint256, uint256 ) external; function rebind( address, uint256, uint256 ) external; function unbind(address) external; function callVoting( address voting, bytes4 signature, bytes calldata args, uint256 value ) external; function getMinWeight() external view returns (uint256); function getMaxBoundTokens() external view returns (uint256); } // File: contracts/interfaces/TokenInterface.sol pragma solidity 0.6.12; interface TokenInterface is IERC20 { function deposit() external payable; function withdraw(uint256) external; } // File: contracts/interfaces/IPoolRestrictions.sol pragma solidity 0.6.12; interface IPoolRestrictions { function getMaxTotalSupply(address _pool) external view returns (uint256); function isVotingSignatureAllowed(address _votingAddress, bytes4 _signature) external view returns (bool); function isVotingSenderAllowed(address _votingAddress, address _sender) external view returns (bool); function isWithoutFee(address _addr) external view returns (bool); } // File: contracts/interfaces/IUniswapV2Pair.sol pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // File: contracts/interfaces/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function migrator() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; function setMigrator(address) external; } // File: contracts/lib/SafeMathUniswap.sol pragma solidity =0.6.12; // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) library SafeMathUniswap { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, 'ds-math-add-overflow'); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, 'ds-math-sub-underflow'); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow'); } } // File: contracts/lib/UniswapV2Library.sol pragma solidity >=0.5.0; library UniswapV2Library { using SafeMathUniswap for uint; // returns sorted token addresses, used to handle return values from pairs sorted in this order function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS'); } // calculates the CREATE2 address for a pair without making any external calls function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) { (address token0, address token1) = sortTokens(tokenA, tokenB); pair = address(uint(keccak256(abi.encodePacked( hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), hex'e18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303' // init code hash )))); } // fetches and sorts the reserves for a pair function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) { (address token0,) = sortTokens(tokenA, tokenB); (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves(); (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0); } // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) { require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT'); require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY'); amountB = amountA.mul(reserveB) / reserveA; } // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) { require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY'); uint amountInWithFee = amountIn.mul(997); uint numerator = amountInWithFee.mul(reserveOut); uint denominator = reserveIn.mul(1000).add(amountInWithFee); amountOut = numerator / denominator; } // given an output amount of an asset and pair reserves, returns a required input amount of the other asset function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) { require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY'); uint numerator = reserveIn.mul(amountOut).mul(1000); uint denominator = reserveOut.sub(amountOut).mul(997); amountIn = (numerator / denominator).add(1); } // performs chained getAmountOut calculations on any number of pairs function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) { require(path.length >= 2, 'UniswapV2Library: INVALID_PATH'); amounts = new uint[](path.length); amounts[0] = amountIn; for (uint i; i < path.length - 1; i++) { (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]); amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut); } } // performs chained getAmountIn calculations on any number of pairs function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) { require(path.length >= 2, 'UniswapV2Library: INVALID_PATH'); amounts = new uint[](path.length); amounts[amounts.length - 1] = amountOut; for (uint i = path.length - 1; i > 0; i--) { (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]); amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut); } } } // File: contracts/EthPiptSwap.sol pragma solidity 0.6.12; contract EthPiptSwap is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; using SafeERC20 for TokenInterface; using SafeERC20 for BPoolInterface; TokenInterface public weth; TokenInterface public cvp; BPoolInterface public pipt; uint256[] public feeLevels; uint256[] public feeAmounts; address public feePayout; address public feeManager; mapping(address => bool) public uniswapFactoryAllowed; mapping(address => address) public uniswapEthPairByTokenAddress; mapping(address => bool) public reApproveTokens; uint256 public defaultSlippage; struct CalculationStruct { uint256 tokenAmount; uint256 ethAmount; uint256 tokenReserve; uint256 ethReserve; } event SetUniswapFactoryAllowed(address indexed factory, bool indexed allowed); event SetTokenSetting(address indexed token, bool indexed reApprove, address indexed uniswapPair); event SetDefaultSlippage(uint256 newDefaultSlippage); event SetFees( address indexed sender, uint256[] newFeeLevels, uint256[] newFeeAmounts, address indexed feePayout, address indexed feeManager ); event EthToPiptSwap( address indexed user, uint256 ethInAmount, uint256 ethSwapFee, uint256 poolOutAmount, uint256 poolCommunityFee ); event OddEth(address indexed user, uint256 amount); event PiptToEthSwap( address indexed user, uint256 poolInAmount, uint256 poolCommunityFee, uint256 ethOutAmount, uint256 ethSwapFee ); event PayoutCVP(address indexed receiver, uint256 wethAmount, uint256 cvpAmount); constructor( address _weth, address _cvp, address _pipt, address _feeManager ) public Ownable() { weth = TokenInterface(_weth); cvp = TokenInterface(_cvp); pipt = BPoolInterface(_pipt); feeManager = _feeManager; defaultSlippage = 0.02 ether; } modifier onlyFeeManagerOrOwner() { require(msg.sender == feeManager || msg.sender == owner(), "NOT_FEE_MANAGER"); _; } receive() external payable { if (msg.sender != tx.origin) { return; } swapEthToPipt(defaultSlippage); } function swapEthToPipt(uint256 _slippage) public payable { (, uint256 swapAmount) = calcEthFee(msg.value); address[] memory tokens = pipt.getCurrentTokens(); (, , uint256 poolAmountOut) = calcSwapEthToPiptInputs(swapAmount, tokens, _slippage); weth.deposit{ value: msg.value }(); _swapWethToPiptByPoolOut(msg.value, poolAmountOut); } function swapEthToPiptByPoolOut(uint256 _poolAmountOut) external payable { weth.deposit{ value: msg.value }(); _swapWethToPiptByPoolOut(msg.value, _poolAmountOut); } function swapPiptToEth(uint256 _poolAmountIn) external { uint256 ethOutAmount = _swapPiptToWeth(_poolAmountIn); weth.withdraw(ethOutAmount); msg.sender.transfer(ethOutAmount); } function convertOddToCvpAndSendToPayout(address[] memory oddTokens) external { require(msg.sender == tx.origin && !Address.isContract(msg.sender), "CONTRACT_NOT_ALLOWED"); uint256 len = oddTokens.length; for (uint256 i = 0; i < len; i++) { uint256 tokenBalance = TokenInterface(oddTokens[i]).balanceOf(address(this)); IUniswapV2Pair tokenPair = _uniswapPairFor(oddTokens[i]); (uint256 tokenReserve, uint256 ethReserve, ) = tokenPair.getReserves(); uint256 wethOut = UniswapV2Library.getAmountOut(tokenBalance, tokenReserve, ethReserve); TokenInterface(oddTokens[i]).safeTransfer(address(tokenPair), tokenBalance); tokenPair.swap(uint256(0), wethOut, address(this), new bytes(0)); } uint256 wethBalance = weth.balanceOf(address(this)); IUniswapV2Pair cvpPair = _uniswapPairFor(address(cvp)); (uint256 cvpReserve, uint256 ethReserve, ) = cvpPair.getReserves(); uint256 cvpOut = UniswapV2Library.getAmountOut(wethBalance, ethReserve, cvpReserve); weth.safeTransfer(address(cvpPair), wethBalance); cvpPair.swap(cvpOut, uint256(0), address(this), new bytes(0)); cvp.safeTransfer(feePayout, cvpOut); emit PayoutCVP(feePayout, wethBalance, cvpOut); } function setFees( uint256[] calldata _feeLevels, uint256[] calldata _feeAmounts, address _feePayout, address _feeManager ) external onlyFeeManagerOrOwner { feeLevels = _feeLevels; feeAmounts = _feeAmounts; feePayout = _feePayout; feeManager = _feeManager; emit SetFees(msg.sender, _feeLevels, _feeAmounts, _feePayout, _feeManager); } function setTokensSettings( address[] memory _tokens, address[] memory _pairs, bool[] memory _reapprove ) external onlyOwner { uint256 len = _tokens.length; require(len == _pairs.length && len == _reapprove.length, "LENGTHS_NOT_EQUAL"); for (uint256 i = 0; i < _tokens.length; i++) { uniswapEthPairByTokenAddress[_tokens[i]] = _pairs[i]; reApproveTokens[_tokens[i]] = _reapprove[i]; emit SetTokenSetting(_tokens[i], _reapprove[i], _pairs[i]); } } function setUniswapFactoryAllowed(address[] memory _factories, bool[] memory _allowed) external onlyOwner { uint256 len = _factories.length; require(len == _allowed.length, "LENGTHS_NOT_EQUAL"); for (uint256 i = 0; i < _factories.length; i++) { uniswapFactoryAllowed[_factories[i]] = _allowed[i]; emit SetUniswapFactoryAllowed(_factories[i], _allowed[i]); } } function fetchUnswapPairsFromFactory(address _factory, address[] calldata _tokens) external { require(uniswapFactoryAllowed[_factory], "FACTORY_NOT_ALLOWED"); uint256 len = _tokens.length; for (uint256 i = 0; i < _tokens.length; i++) { require(uniswapEthPairByTokenAddress[_tokens[i]] == address(0), "ALREADY_SET"); uniswapEthPairByTokenAddress[_tokens[i]] = IUniswapV2Factory(_factory).getPair(_tokens[i], address(weth)); } } function setDefaultSlippage(uint256 _defaultSlippage) external onlyOwner { defaultSlippage = _defaultSlippage; emit SetDefaultSlippage(_defaultSlippage); } function calcSwapEthToPiptInputs( uint256 _ethValue, address[] memory _tokens, uint256 _slippage ) public view returns ( uint256[] memory tokensInPipt, uint256[] memory ethInUniswap, uint256 poolOut ) { _ethValue = _ethValue.sub(_ethValue.mul(_slippage).div(1 ether)); // get shares and eth required for each share CalculationStruct[] memory calculations = new CalculationStruct[](_tokens.length); uint256 totalEthRequired = 0; { uint256 piptTotalSupply = pipt.totalSupply(); // get pool out for 1 ether as 100% for calculate shares // poolOut by 1 ether first token join = piptTotalSupply.mul(1 ether).div(pipt.getBalance(_tokens[0])) // poolRatio = poolOut/totalSupply uint256 poolRatio = piptTotalSupply.mul(1 ether).div(pipt.getBalance(_tokens[0])).mul(1 ether).div(piptTotalSupply); for (uint256 i = 0; i < _tokens.length; i++) { // token share relatively 1 ether of first token calculations[i].tokenAmount = poolRatio.mul(pipt.getBalance(_tokens[i])).div(1 ether); (calculations[i].tokenReserve, calculations[i].ethReserve, ) = _uniswapPairFor(_tokens[i]).getReserves(); calculations[i].ethAmount = UniswapV2Library.getAmountIn( calculations[i].tokenAmount, calculations[i].ethReserve, calculations[i].tokenReserve ); totalEthRequired = totalEthRequired.add(calculations[i].ethAmount); } } // calculate eth and tokensIn based on shares and normalize if totalEthRequired more than 100% tokensInPipt = new uint256[](_tokens.length); ethInUniswap = new uint256[](_tokens.length); for (uint256 i = 0; i < _tokens.length; i++) { ethInUniswap[i] = _ethValue.mul(calculations[i].ethAmount.mul(1 ether).div(totalEthRequired)).div(1 ether); tokensInPipt[i] = calculations[i].tokenAmount.mul(_ethValue.mul(1 ether).div(totalEthRequired)).div(1 ether); } poolOut = pipt.totalSupply().mul(tokensInPipt[0]).div(pipt.getBalance(_tokens[0])); } function calcSwapPiptToEthInputs(uint256 _poolAmountIn, address[] memory _tokens) public view returns ( uint256[] memory tokensOutPipt, uint256[] memory ethOutUniswap, uint256 totalEthOut, uint256 poolAmountFee ) { tokensOutPipt = new uint256[](_tokens.length); ethOutUniswap = new uint256[](_tokens.length); (, , uint256 communityExitFee, ) = pipt.getCommunityFee(); uint256 poolAmountInAfterFee; (poolAmountInAfterFee, poolAmountFee) = pipt.calcAmountWithCommunityFee( _poolAmountIn, communityExitFee, address(this) ); uint256 poolRatio = poolAmountInAfterFee.mul(1 ether).div(pipt.totalSupply()); totalEthOut = 0; for (uint256 i = 0; i < _tokens.length; i++) { tokensOutPipt[i] = poolRatio.mul(pipt.getBalance(_tokens[i])).div(1 ether); (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_tokens[i]).getReserves(); ethOutUniswap[i] = UniswapV2Library.getAmountOut(tokensOutPipt[i], tokenReserve, ethReserve); totalEthOut = totalEthOut.add(ethOutUniswap[i]); } } function calcEthFee(uint256 ethAmount) public view returns (uint256 ethFee, uint256 ethAfterFee) { ethFee = 0; uint256 len = feeLevels.length; for (uint256 i = 0; i < len; i++) { if (ethAmount >= feeLevels[i]) { ethFee = ethAmount.mul(feeAmounts[i]).div(1 ether); break; } } ethAfterFee = ethAmount.sub(ethFee); } function getFeeLevels() external view returns (uint256[] memory) { return feeLevels; } function getFeeAmounts() external view returns (uint256[] memory) { return feeAmounts; } function _uniswapPairFor(address token) internal view returns (IUniswapV2Pair) { return IUniswapV2Pair(uniswapEthPairByTokenAddress[token]); } function _swapWethToPiptByPoolOut(uint256 _wethAmount, uint256 _poolAmountOut) internal { require(_wethAmount > 0, "ETH_REQUIRED"); { address poolRestrictions = pipt.getRestrictions(); if (address(poolRestrictions) != address(0)) { uint256 maxTotalSupply = IPoolRestrictions(poolRestrictions).getMaxTotalSupply(address(pipt)); require(pipt.totalSupply().add(_poolAmountOut) <= maxTotalSupply, "PIPT_MAX_SUPPLY"); } } (uint256 feeAmount, uint256 swapAmount) = calcEthFee(_wethAmount); uint256 ratio = _poolAmountOut.mul(1 ether).div(pipt.totalSupply()).add(10); address[] memory tokens = pipt.getCurrentTokens(); uint256 len = tokens.length; CalculationStruct[] memory calculations = new CalculationStruct[](tokens.length); uint256[] memory tokensInPipt = new uint256[](tokens.length); uint256 totalEthSwap = 0; for (uint256 i = 0; i < len; i++) { IUniswapV2Pair tokenPair = _uniswapPairFor(tokens[i]); (calculations[i].tokenReserve, calculations[i].ethReserve, ) = tokenPair.getReserves(); tokensInPipt[i] = ratio.mul(pipt.getBalance(tokens[i])).div(1 ether); calculations[i].ethAmount = UniswapV2Library.getAmountIn( tokensInPipt[i], calculations[i].ethReserve, calculations[i].tokenReserve ); weth.safeTransfer(address(tokenPair), calculations[i].ethAmount); tokenPair.swap(tokensInPipt[i], uint256(0), address(this), new bytes(0)); totalEthSwap = totalEthSwap.add(calculations[i].ethAmount); if (reApproveTokens[tokens[i]]) { TokenInterface(tokens[i]).approve(address(pipt), 0); } TokenInterface(tokens[i]).approve(address(pipt), tokensInPipt[i]); } (, uint256 communityJoinFee, , ) = pipt.getCommunityFee(); (uint256 poolAmountOutAfterFee, uint256 poolAmountOutFee) = pipt.calcAmountWithCommunityFee(_poolAmountOut, communityJoinFee, address(this)); emit EthToPiptSwap(msg.sender, swapAmount, feeAmount, _poolAmountOut, poolAmountOutFee); pipt.joinPool(_poolAmountOut, tokensInPipt); pipt.safeTransfer(msg.sender, poolAmountOutAfterFee); uint256 ethDiff = swapAmount.sub(totalEthSwap); if (ethDiff > 0) { weth.withdraw(ethDiff); msg.sender.transfer(ethDiff); emit OddEth(msg.sender, ethDiff); } } function _swapPiptToWeth(uint256 _poolAmountIn) internal returns (uint256) { address[] memory tokens = pipt.getCurrentTokens(); uint256 len = tokens.length; (uint256[] memory tokensOutPipt, uint256[] memory ethOutUniswap, uint256 totalEthOut, uint256 poolAmountFee) = calcSwapPiptToEthInputs(_poolAmountIn, tokens); pipt.safeTransferFrom(msg.sender, address(this), _poolAmountIn); pipt.approve(address(pipt), _poolAmountIn); pipt.exitPool(_poolAmountIn, tokensOutPipt); for (uint256 i = 0; i < len; i++) { IUniswapV2Pair tokenPair = _uniswapPairFor(tokens[i]); TokenInterface(tokens[i]).safeTransfer(address(tokenPair), tokensOutPipt[i]); tokenPair.swap(uint256(0), ethOutUniswap[i], address(this), new bytes(0)); } (uint256 ethFeeAmount, uint256 ethOutAmount) = calcEthFee(totalEthOut); emit PiptToEthSwap(msg.sender, _poolAmountIn, poolAmountFee, ethOutAmount, ethFeeAmount); return ethOutAmount; } } // File: contracts/Erc20PiptSwap.sol pragma solidity 0.6.12; contract Erc20PiptSwap is EthPiptSwap { event Erc20ToPiptSwap( address indexed user, address indexed swapToken, uint256 erc20InAmount, uint256 ethInAmount, uint256 poolOutAmount ); event PiptToErc20Swap( address indexed user, address indexed swapToken, uint256 poolInAmount, uint256 ethOutAmount, uint256 erc20OutAmount ); constructor( address _weth, address _cvp, address _pipt, address _feeManager ) public EthPiptSwap(_weth, _cvp, _pipt, _feeManager) {} function swapErc20ToPipt( address _swapToken, uint256 _swapAmount, uint256 _slippage ) external { IERC20(_swapToken).safeTransferFrom(msg.sender, address(this), _swapAmount); IUniswapV2Pair tokenPair = _uniswapPairFor(_swapToken); (uint256 tokenReserve, uint256 ethReserve, ) = tokenPair.getReserves(); uint256 ethAmount = UniswapV2Library.getAmountOut(_swapAmount, tokenReserve, ethReserve); IERC20(_swapToken).safeTransfer(address(tokenPair), _swapAmount); tokenPair.swap(uint256(0), ethAmount, address(this), new bytes(0)); (, uint256 ethSwapAmount) = calcEthFee(ethAmount); address[] memory tokens = pipt.getCurrentTokens(); (, , uint256 poolAmountOut) = calcSwapEthToPiptInputs(ethSwapAmount, tokens, _slippage); _swapWethToPiptByPoolOut(ethAmount, poolAmountOut); emit Erc20ToPiptSwap(msg.sender, _swapToken, _swapAmount, ethAmount, poolAmountOut); } function swapPiptToErc20(address _swapToken, uint256 _poolAmountIn) external { uint256 ethOut = _swapPiptToWeth(_poolAmountIn); IUniswapV2Pair tokenPair = _uniswapPairFor(_swapToken); (uint256 tokenReserve, uint256 ethReserve, ) = tokenPair.getReserves(); uint256 erc20Out = UniswapV2Library.getAmountOut(ethOut, ethReserve, tokenReserve); weth.safeTransfer(address(tokenPair), ethOut); tokenPair.swap(erc20Out, uint256(0), address(this), new bytes(0)); IERC20(_swapToken).safeTransfer(msg.sender, erc20Out); emit PiptToErc20Swap(msg.sender, _swapToken, _poolAmountIn, ethOut, erc20Out); } function calcSwapErc20ToPiptInputs( address _swapToken, uint256 _swapAmount, address[] memory _tokens, uint256 _slippage, bool _withFee ) external view returns ( uint256[] memory tokensInPipt, uint256[] memory ethInUniswap, uint256 poolOut ) { (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves(); uint256 ethAmount = UniswapV2Library.getAmountOut(_swapAmount, tokenReserve, ethReserve); if (_withFee) { (, ethAmount) = calcEthFee(ethAmount); } return calcSwapEthToPiptInputs(ethAmount, _tokens, _slippage); } function calcSwapPiptToErc20Inputs( address _swapToken, uint256 _poolAmountIn, address[] memory _tokens, bool _withFee ) external view returns ( uint256[] memory tokensOutPipt, uint256[] memory ethOutUniswap, uint256 totalErc20Out, uint256 poolAmountFee ) { uint256 totalEthOut; (tokensOutPipt, ethOutUniswap, totalEthOut, poolAmountFee) = calcSwapPiptToEthInputs(_poolAmountIn, _tokens); if (_withFee) { (, totalEthOut) = calcEthFee(totalEthOut); } (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves(); totalErc20Out = UniswapV2Library.getAmountOut(totalEthOut, ethReserve, tokenReserve); } function calcErc20Fee(address _swapToken, uint256 _swapAmount) external view returns ( uint256 erc20Fee, uint256 erc20AfterFee, uint256 ethFee, uint256 ethAfterFee ) { (uint256 tokenReserve, uint256 ethReserve, ) = _uniswapPairFor(_swapToken).getReserves(); uint256 ethAmount = UniswapV2Library.getAmountOut(_swapAmount, tokenReserve, ethReserve); (ethFee, ethAfterFee) = calcEthFee(ethAmount); if (ethFee != 0) { erc20Fee = UniswapV2Library.getAmountOut(ethFee, ethReserve, tokenReserve); } erc20AfterFee = UniswapV2Library.getAmountOut(ethAfterFee, ethReserve, tokenReserve); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_cvp","type":"address"},{"internalType":"address","name":"_pipt","type":"address"},{"internalType":"address","name":"_feeManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"swapToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"erc20InAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolOutAmount","type":"uint256"}],"name":"Erc20ToPiptSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethSwapFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolCommunityFee","type":"uint256"}],"name":"EthToPiptSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OddEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"wethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cvpAmount","type":"uint256"}],"name":"PayoutCVP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"swapToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"erc20OutAmount","type":"uint256"}],"name":"PiptToErc20Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolInAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolCommunityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethSwapFee","type":"uint256"}],"name":"PiptToEthSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDefaultSlippage","type":"uint256"}],"name":"SetDefaultSlippage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"newFeeLevels","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"newFeeAmounts","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"feePayout","type":"address"},{"indexed":true,"internalType":"address","name":"feeManager","type":"address"}],"name":"SetFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"bool","name":"reApprove","type":"bool"},{"indexed":true,"internalType":"address","name":"uniswapPair","type":"address"}],"name":"SetTokenSetting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"factory","type":"address"},{"indexed":true,"internalType":"bool","name":"allowed","type":"bool"}],"name":"SetUniswapFactoryAllowed","type":"event"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_swapAmount","type":"uint256"}],"name":"calcErc20Fee","outputs":[{"internalType":"uint256","name":"erc20Fee","type":"uint256"},{"internalType":"uint256","name":"erc20AfterFee","type":"uint256"},{"internalType":"uint256","name":"ethFee","type":"uint256"},{"internalType":"uint256","name":"ethAfterFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"calcEthFee","outputs":[{"internalType":"uint256","name":"ethFee","type":"uint256"},{"internalType":"uint256","name":"ethAfterFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_swapAmount","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256","name":"_slippage","type":"uint256"},{"internalType":"bool","name":"_withFee","type":"bool"}],"name":"calcSwapErc20ToPiptInputs","outputs":[{"internalType":"uint256[]","name":"tokensInPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethInUniswap","type":"uint256[]"},{"internalType":"uint256","name":"poolOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethValue","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"calcSwapEthToPiptInputs","outputs":[{"internalType":"uint256[]","name":"tokensInPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethInUniswap","type":"uint256[]"},{"internalType":"uint256","name":"poolOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"bool","name":"_withFee","type":"bool"}],"name":"calcSwapPiptToErc20Inputs","outputs":[{"internalType":"uint256[]","name":"tokensOutPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethOutUniswap","type":"uint256[]"},{"internalType":"uint256","name":"totalErc20Out","type":"uint256"},{"internalType":"uint256","name":"poolAmountFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"calcSwapPiptToEthInputs","outputs":[{"internalType":"uint256[]","name":"tokensOutPipt","type":"uint256[]"},{"internalType":"uint256[]","name":"ethOutUniswap","type":"uint256[]"},{"internalType":"uint256","name":"totalEthOut","type":"uint256"},{"internalType":"uint256","name":"poolAmountFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"oddTokens","type":"address[]"}],"name":"convertOddToCvpAndSendToPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cvp","outputs":[{"internalType":"contract TokenInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultSlippage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeLevels","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePayout","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"fetchUnswapPairsFromFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFeeAmounts","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeLevels","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pipt","outputs":[{"internalType":"contract BPoolInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reApproveTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_defaultSlippage","type":"uint256"}],"name":"setDefaultSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_feeLevels","type":"uint256[]"},{"internalType":"uint256[]","name":"_feeAmounts","type":"uint256[]"},{"internalType":"address","name":"_feePayout","type":"address"},{"internalType":"address","name":"_feeManager","type":"address"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"address[]","name":"_pairs","type":"address[]"},{"internalType":"bool[]","name":"_reapprove","type":"bool[]"}],"name":"setTokensSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_factories","type":"address[]"},{"internalType":"bool[]","name":"_allowed","type":"bool[]"}],"name":"setUniswapFactoryAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_swapAmount","type":"uint256"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"swapErc20ToPipt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"swapEthToPipt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountOut","type":"uint256"}],"name":"swapEthToPiptByPoolOut","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_swapToken","type":"address"},{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"}],"name":"swapPiptToErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolAmountIn","type":"uint256"}],"name":"swapPiptToEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uniswapEthPairByTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uniswapFactoryAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract TokenInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200502338038062005023833981810160405260808110156200003757600080fd5b50805160208201516040830151606090930151919290918383838360006200005e6200010c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b0319918216179091556002805494861694821694909417909355600380549285169284169290921790915560078054919093169116179055505066470de4df820000600b5550620001109050565b3390565b614f0380620001206000396000f3fe6080604052600436106101825760003560e01c8063032a9668146101a557806307953a93146101ec5780630b2a9b00146102515780630ffe6252146102ff578063175360a11461046b5780632828eea8146105d55780633929aa59146106185780633eb26b03146106495780633fc8cef31461065e578063433941901461067357806344bd1afd146106885780634d923532146106b25780635487404a1461086457806364c667ee1461088b578063715018a6146108a85780637ecdb40a146108bd578063857af01b146109485780638b01808c146109725780638c3719991461099c5780638da5cb5b14610acc5780638dccc56714610ae1578063953dde0714610b40578063a2e6413714610b73578063a45098f714610b9d578063b386711814610bd0578063b4b48e5514610bed578063bbf8eadc14610ca2578063bea0ea6014610d7e578063c6135f4314610dbd578063d0fb020314610e74578063d3853b5b14610e89578063d8f14f2b14610ec2578063f2fde38b14610ed7576101a0565b366101a0573332146101935761019e565b61019e600b54610f0a565b005b600080fd5b3480156101b157600080fd5b506101d8600480360360208110156101c857600080fd5b50356001600160a01b03166110bb565b604080519115158252519081900360200190f35b3480156101f857600080fd5b506102016110d0565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561023d578181015183820152602001610225565b505050509050019250505060405180910390f35b34801561025d57600080fd5b5061019e6004803603602081101561027457600080fd5b810190602081018135600160201b81111561028e57600080fd5b8201836020820111156102a057600080fd5b803590602001918460208302840111600160201b831117156102c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611128945050505050565b34801561030b57600080fd5b506103c46004803603608081101561032257600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561035157600080fd5b82018360208201111561036357600080fd5b803590602001918460208302840111600160201b8311171561038457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505050351515905061168d565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b838110156104145781810151838201526020016103fc565b50505050905001838103825286818151815260200191508051906020019060200280838360005b8381101561045357818101518382015260200161043b565b50505050905001965050505050505060405180910390f35b34801561047757600080fd5b50610535600480360360a081101561048e57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460208302840111600160201b831117156104f057600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060200135151561175f565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b8381101561057f578181015183820152602001610567565b50505050905001838103825285818151815260200191508051906020019060200280838360005b838110156105be5781810151838201526020016105a6565b505050509050019550505050505060405180910390f35b3480156105e157600080fd5b506105ff600480360360208110156105f857600080fd5b503561182c565b6040805192835260208301919091528051918290030190f35b34801561062457600080fd5b5061062d6118ba565b604080516001600160a01b039092168252519081900360200190f35b34801561065557600080fd5b506102016118c9565b34801561066a57600080fd5b5061062d61191f565b34801561067f57600080fd5b5061062d61192e565b34801561069457600080fd5b5061019e600480360360208110156106ab57600080fd5b503561193d565b3480156106be57600080fd5b5061019e600480360360608110156106d557600080fd5b810190602081018135600160201b8111156106ef57600080fd5b82018360208201111561070157600080fd5b803590602001918460208302840111600160201b8311171561072257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561077157600080fd5b82018360208201111561078357600080fd5b803590602001918460208302840111600160201b831117156107a457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156107f357600080fd5b82018360208201111561080557600080fd5b803590602001918460208302840111600160201b8311171561082657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506119d0945050505050565b34801561087057600080fd5b50610879611be9565b60408051918252519081900360200190f35b61019e600480360360208110156108a157600080fd5b5035610f0a565b3480156108b457600080fd5b5061019e611bef565b3480156108c957600080fd5b5061019e600480360360408110156108e057600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561090a57600080fd5b82018360208201111561091c57600080fd5b803590602001918460208302840111600160201b8311171561093d57600080fd5b509092509050611c7f565b34801561095457600080fd5b506108796004803603602081101561096b57600080fd5b5035611e61565b34801561097e57600080fd5b5061019e6004803603602081101561099557600080fd5b5035611e7f565b3480156109a857600080fd5b5061019e600480360360408110156109bf57600080fd5b810190602081018135600160201b8111156109d957600080fd5b8201836020820111156109eb57600080fd5b803590602001918460208302840111600160201b83111715610a0c57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610a5b57600080fd5b820183602082011115610a6d57600080fd5b803590602001918460208302840111600160201b83111715610a8e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611f24945050505050565b348015610ad857600080fd5b5061062d61209d565b348015610aed57600080fd5b50610b1a60048036036040811015610b0457600080fd5b506001600160a01b0381351690602001356120ac565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610b4c57600080fd5b506101d860048036036020811015610b6357600080fd5b50356001600160a01b0316612183565b348015610b7f57600080fd5b5061087960048036036020811015610b9657600080fd5b5035612198565b348015610ba957600080fd5b5061062d60048036036020811015610bc057600080fd5b50356001600160a01b03166121a5565b61019e60048036036020811015610be657600080fd5b50356121c0565b348015610bf957600080fd5b506103c460048036036040811015610c1057600080fd5b81359190810190604081016020820135600160201b811115610c3157600080fd5b820183602082011115610c4357600080fd5b803590602001918460208302840111600160201b83111715610c6457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612236945050505050565b348015610cae57600080fd5b5061019e60048036036080811015610cc557600080fd5b810190602081018135600160201b811115610cdf57600080fd5b820183602082011115610cf157600080fd5b803590602001918460208302840111600160201b83111715610d1257600080fd5b919390929091602081019035600160201b811115610d2f57600080fd5b820183602082011115610d4157600080fd5b803590602001918460208302840111600160201b83111715610d6257600080fd5b91935091506001600160a01b0381358116916020013516612639565b348015610d8a57600080fd5b5061019e60048036036060811015610da157600080fd5b506001600160a01b038135169060208101359060400135612798565b348015610dc957600080fd5b5061053560048036036060811015610de057600080fd5b81359190810190604081016020820135600160201b811115610e0157600080fd5b820183602082011115610e1357600080fd5b803590602001918460208302840111600160201b83111715610e3457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250612adc915050565b348015610e8057600080fd5b5061062d61310d565b348015610e9557600080fd5b5061019e60048036036040811015610eac57600080fd5b506001600160a01b03813516906020013561311c565b348015610ece57600080fd5b5061062d61332d565b348015610ee357600080fd5b5061019e60048036036020811015610efa57600080fd5b50356001600160a01b031661333c565b6000610f153461182c565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b158015610f6857600080fd5b505afa158015610f7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610fa557600080fd5b8101908080516040519392919084600160201b821115610fc457600080fd5b908301906020820185811115610fd957600080fd5b82518660208202830111600160201b82111715610ff557600080fd5b82525081516020918201928201910280838360005b8381101561102257818101518382015260200161100a565b505050509050016040525050509050600061103e838386612adc565b92505050600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561109257600080fd5b505af11580156110a6573d6000803e3d6000fd5b50505050506110b53482613422565b50505050565b600a6020526000908152604090205460ff1681565b6060600480548060200260200160405190810160405280929190818152602001828054801561111e57602002820191906000526020600020905b81548152602001906001019080831161110a575b5050505050905090565b333214801561113d575061113b336140b8565b155b611185576040805162461bcd60e51b815260206004820152601460248201527310d3d395149050d517d393d517d0531313d5d15160621b604482015290519081900360640190fd5b805160005b818110156113fc5760008382815181106111a057fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156111f457600080fd5b505afa158015611208573d6000803e3d6000fd5b505050506040513d602081101561121e57600080fd5b505184519091506000906112459086908590811061123857fe5b60200260200101516140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561128357600080fd5b505afa158015611297573d6000803e3d6000fd5b505050506040513d60608110156112ad57600080fd5b5080516020909101516001600160701b03918216935016905060006112d38584846140dc565b905061130684868a89815181106112e657fe5b60200260200101516001600160a01b03166141b49092919063ffffffff16565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b8381101561138457818101518382015260200161136c565b50505050905090810190601f1680156113b15780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156113d357600080fd5b505af11580156113e7573d6000803e3d6000fd5b50506001909701965061118a95505050505050565b50600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561144857600080fd5b505afa15801561145c573d6000803e3d6000fd5b505050506040513d602081101561147257600080fd5b505160025490915060009061148f906001600160a01b03166140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156114cd57600080fd5b505afa1580156114e1573d6000803e3d6000fd5b505050506040513d60608110156114f757600080fd5b5080516020909101516001600160701b039182169350169050600061151d8583856140dc565b600154909150611537906001600160a01b031685876141b4565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b838110156115b657818101518382015260200161159e565b50505050905090810190601f1680156115e35780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561160557600080fd5b505af1158015611619573d6000803e3d6000fd5b505060065460025461163a93506001600160a01b03908116925016836141b4565b600654604080518781526020810184905281516001600160a01b03909316927f85dc9ac52b6013481d4ffbf17eacd0201080b84284b03e133365bf5736f87d75929181900390910190a250505050505050565b606080600080600061169f8888612236565b929750909550909250905085156116bd576116b98161182c565b9150505b6000806116c98b6140be565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561170157600080fd5b505afa158015611715573d6000803e3d6000fd5b505050506040513d606081101561172b57600080fd5b5080516020909101516001600160701b03918216935016905061174f8382846140dc565b9450505050945094509450949050565b60608060008060006117708a6140be565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156117a857600080fd5b505afa1580156117bc573d6000803e3d6000fd5b505050506040513d60608110156117d257600080fd5b5080516020909101516001600160701b03918216935016905060006117f88a84846140dc565b9050861561180d576118098161182c565b9150505b611818818a8a612adc565b955095509550505050955095509592505050565b6004546000908190815b818110156118a7576004818154811061184b57fe5b9060005260206000200154851061189f57611898670de0b6b3a76400006118926005848154811061187857fe5b90600052602060002001548861420690919063ffffffff16565b90614268565b93506118a7565b600101611836565b506118b284846142a7565b915050915091565b6003546001600160a01b031681565b6060600580548060200260200160405190810160405280929190818152602001828054801561111e576020028201919060005260206000209081548152602001906001019080831161110a575050505050905090565b6001546001600160a01b031681565b6006546001600160a01b031681565b6119456142e9565b6000546001600160a01b03908116911614611995576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b600b8190556040805182815290517f736741f2e67b4d201474b6dba54baed127c2ebe4b99e751e0ef45afc5c6ee5ac9181900360200190a150565b6119d86142e9565b6000546001600160a01b03908116911614611a28576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b8251825181148015611a3a5750815181145b611a7f576040805162461bcd60e51b815260206004820152601160248201527013115391d51214d7d393d517d154555053607a1b604482015290519081900360640190fd5b60005b8451811015611be257838181518110611a9757fe5b602002602001015160096000878481518110611aaf57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550828181518110611b0757fe5b6020026020010151600a6000878481518110611b1f57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550838181518110611b6a57fe5b60200260200101516001600160a01b0316838281518110611b8757fe5b60200260200101511515868381518110611b9d57fe5b60200260200101516001600160a01b03167f9b37efc6175537fc5ac9b6bf56a5f4eaf0dc4f40f8116b36837f7fed9056e8db60405160405180910390a4600101611a82565b5050505050565b600b5481565b611bf76142e9565b6000546001600160a01b03908116911614611c47576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020614e59833981519152908390a3600080546001600160a01b0319169055565b6001600160a01b03831660009081526008602052604090205460ff16611ce2576040805162461bcd60e51b8152602060048201526013602482015272119050d513d49657d393d517d0531313d5d151606a1b604482015290519081900360640190fd5b8060005b82811015611be2576000600981868685818110611cff57fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000205416919091149050611d6a576040805162461bcd60e51b815260206004820152600b60248201526a1053149150511657d4d15560aa1b604482015290519081900360640190fd5b846001600160a01b031663e6a43905858584818110611d8557fe5b6001546040805160e087901b6001600160e01b0319168152602093840295909501356001600160a01b0390811660048701529091166024850152516044808501949293509091829003018186803b158015611ddf57600080fd5b505afa158015611df3573d6000803e3d6000fd5b505050506040513d6020811015611e0957600080fd5b505160096000868685818110611e1b57fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000208054939091166001600160a01b03199093169290921790915550600101611ce6565b60048181548110611e6e57fe5b600091825260209091200154905081565b6000611e8a826142ed565b60015460408051632e1a7d4d60e01b81526004810184905290519293506001600160a01b0390911691632e1a7d4d9160248082019260009290919082900301818387803b158015611eda57600080fd5b505af1158015611eee573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015611f1f573d6000803e3d6000fd5b505050565b611f2c6142e9565b6000546001600160a01b03908116911614611f7c576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b815181518114611fc7576040805162461bcd60e51b815260206004820152601160248201527013115391d51214d7d393d517d154555053607a1b604482015290519081900360640190fd5b60005b83518110156110b557828181518110611fdf57fe5b602002602001015160086000868481518110611ff757fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555082818151811061204257fe5b6020026020010151151584828151811061205857fe5b60200260200101516001600160a01b03167fbe163812b7c7bb47620d9d88a2d4c6c9051dea67ec7f5de0f5c9e6d5f6607fea60405160405180910390a3600101611fca565b6000546001600160a01b031690565b6000806000806000806120be886140be565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156120f657600080fd5b505afa15801561210a573d6000803e3d6000fd5b505050506040513d606081101561212057600080fd5b5080516020909101516001600160701b03918216935016905060006121468884846140dc565b90506121518161182c565b9095509350841561216a576121678583856140dc565b96505b6121758483856140dc565b955050505092959194509250565b60086020526000908152604090205460ff1681565b60058181548110611e6e57fe5b6009602052600090815260409020546001600160a01b031681565b600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561221057600080fd5b505af1158015612224573d6000803e3d6000fd5b50505050506122333482613422565b50565b60608060008084516001600160401b038111801561225357600080fd5b5060405190808252806020026020018201604052801561227d578160200160208202803683370190505b50935084516001600160401b038111801561229757600080fd5b506040519080825280602002602001820160405280156122c1578160200160208202803683370190505b5092506000600360009054906101000a90046001600160a01b03166001600160a01b03166390ad688b6040518163ffffffff1660e01b815260040160806040518083038186803b15801561231457600080fd5b505afa158015612328573d6000803e3d6000fd5b505050506040513d608081101561233e57600080fd5b506040908101516003548251631122d04760e11b8152600481018b90526024810183905230604482015283519294506000936001600160a01b0390921692632245a08e92606480840193919291829003018186803b15801561239f57600080fd5b505afa1580156123b3573d6000803e3d6000fd5b505050506040513d60408110156123c957600080fd5b508051602091820151600354604080516318160ddd60e01b8152905192975092945060009361245e936001600160a01b03909216926318160ddd926004808201939291829003018186803b15801561242057600080fd5b505afa158015612434573d6000803e3d6000fd5b505050506040513d602081101561244a57600080fd5b505161189284670de0b6b3a7640000614206565b90506000945060005b885181101561262c57600354895161251b91670de0b6b3a764000091611892916001600160a01b03169063f8b2cb4f908e90879081106124a357fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156124e857600080fd5b505afa1580156124fc573d6000803e3d6000fd5b505050506040513d602081101561251257600080fd5b50518590614206565b88828151811061252757fe5b6020026020010181815250506000806125458b848151811061123857fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561257d57600080fd5b505afa158015612591573d6000803e3d6000fd5b505050506040513d60608110156125a757600080fd5b5080516020909101518b516001600160701b039283169450911691506125e2908b90859081106125d357fe5b602002602001015183836140dc565b8984815181106125ee57fe5b60200260200101818152505061262089848151811061260957fe5b60200260200101518961475890919063ffffffff16565b97505050600101612467565b5050505092959194509250565b6007546001600160a01b031633148061266a575061265561209d565b6001600160a01b0316336001600160a01b0316145b6126ad576040805162461bcd60e51b815260206004820152600f60248201526e2727aa2fa322a2afa6a0a720a3a2a960891b604482015290519081900360640190fd5b6126b960048787614d15565b506126c660058585614d15565b50600680546001600160a01b03199081166001600160a01b03858116918217909355600780549092169284169283179091556040805181815290810188905233907f135646ff0b37ad6450ec7feabebbaf3289860f4abe23d7aace3bc48e15232459908a908a908a908a908060208082019060608301908890880280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a4505050505050565b6127ad6001600160a01b0384163330856147b0565b60006127b8846140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156127f657600080fd5b505afa15801561280a573d6000803e3d6000fd5b505050506040513d606081101561282057600080fd5b5080516020909101516001600160701b03918216935016905060006128468684846140dc565b905061285c6001600160a01b03881685886141b4565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b838110156128da5781810151838201526020016128c2565b50505050905090810190601f1680156129075780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561292957600080fd5b505af115801561293d573d6000803e3d6000fd5b50505050600061294c8261182c565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561299f57600080fd5b505afa1580156129b3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156129dc57600080fd5b8101908080516040519392919084600160201b8211156129fb57600080fd5b908301906020820185811115612a1057600080fd5b82518660208202830111600160201b82111715612a2c57600080fd5b82525081516020918201928201910280838360005b83811015612a59578181015183820152602001612a41565b5050505090500160405250505090506000612a7583838a612adc565b92505050612a838482613422565b604080518a81526020810186905280820183905290516001600160a01b038c169133917fb2383c1452cfa9876e7eb3c9ade99c1353f1b2dbe5f2612cdb0446f181b030e89181900360600190a350505050505050505050565b6060806000612b01612afa670de0b6b3a76400006118928988614206565b87906142a7565b9550606085516001600160401b0381118015612b1c57600080fd5b50604051908082528060200260200182016040528015612b5657816020015b612b43614d60565b815260200190600190039081612b3b5790505b509050600080600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612baa57600080fd5b505afa158015612bbe573d6000803e3d6000fd5b505050506040513d6020811015612bd457600080fd5b810190808051906020019092919050505090506000612cb682611892670de0b6b3a7640000612cb0600360009054906101000a90046001600160a01b03166001600160a01b031663f8b2cb4f8f600081518110612c2d57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612c7257600080fd5b505afa158015612c86573d6000803e3d6000fd5b505050506040513d6020811015612c9c57600080fd5b505161189288670de0b6b3a7640000614206565b90614206565b905060005b8951811015612e77576003548a51612cf791670de0b6b3a764000091611892916001600160a01b03169063f8b2cb4f908f90879081106124a357fe5b858281518110612d0357fe5b60200260200101516000018181525050612d228a828151811061123857fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612d5a57600080fd5b505afa158015612d6e573d6000803e3d6000fd5b505050506040513d6060811015612d8457600080fd5b50805160209091015186516001600160701b039283169290911690879084908110612dab57fe5b6020026020010151604001878481518110612dc257fe5b602002602001015160600182815250828152505050612e27858281518110612de657fe5b602002602001015160000151868381518110612dfe57fe5b602002602001015160600151878481518110612e1657fe5b60200260200101516040015161480a565b858281518110612e3357fe5b60200260200101516020018181525050612e6d858281518110612e5257fe5b6020026020010151602001518561475890919063ffffffff16565b9350600101612cbb565b50505086516001600160401b0381118015612e9157600080fd5b50604051908082528060200260200182016040528015612ebb578160200160208202803683370190505b50945086516001600160401b0381118015612ed557600080fd5b50604051908082528060200260200182016040528015612eff578160200160208202803683370190505b50935060005b8751811015612fd157612f5a670de0b6b3a7640000611892612f5385611892670de0b6b3a7640000898881518110612f3957fe5b60200260200101516020015161420690919063ffffffff16565b8c90614206565b858281518110612f6657fe5b6020908102919091010152612fb2670de0b6b3a7640000611892612f8c85828e85614206565b868581518110612f9857fe5b60200260200101516000015161420690919063ffffffff16565b868281518110612fbe57fe5b6020908102919091010152600101612f05565b506003548751613100916001600160a01b03169063f8b2cb4f908a90600090612ff657fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561303b57600080fd5b505afa15801561304f573d6000803e3d6000fd5b505050506040513d602081101561306557600080fd5b5051865161189290889060009061307857fe5b6020026020010151600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156130ce57600080fd5b505afa1580156130e2573d6000803e3d6000fd5b505050506040513d60208110156130f857600080fd5b505190614206565b9250505093509350939050565b6007546001600160a01b031681565b6000613127826142ed565b90506000613134846140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561317257600080fd5b505afa158015613186573d6000803e3d6000fd5b505050506040513d606081101561319c57600080fd5b5080516020909101516001600160701b03918216935016905060006131c28583856140dc565b6001549091506131dc906001600160a01b031685876141b4565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b8381101561325b578181015183820152602001613243565b50505050905090810190601f1680156132885780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156132aa57600080fd5b505af11580156132be573d6000803e3d6000fd5b506132d7925050506001600160a01b03881633836141b4565b604080518781526020810187905280820183905290516001600160a01b0389169133917f3d8b014eb05b16fa729de7d54b5b93c42f1d2b265f79a9648875d8eb84569d7c9181900360600190a350505050505050565b6002546001600160a01b031681565b6133446142e9565b6000546001600160a01b03908116911614613394576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b6001600160a01b0381166133d95760405162461bcd60e51b8152600401808060200182810382526026815260200180614d9e6026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020614e5983398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008211613466576040805162461bcd60e51b815260206004820152600c60248201526b11551217d49154555254915160a21b604482015290519081900360640190fd5b600354604080516318832b9760e31b815290516000926001600160a01b03169163c4195cb8916004808301926020929190829003018186803b1580156134ab57600080fd5b505afa1580156134bf573d6000803e3d6000fd5b505050506040513d60208110156134d557600080fd5b505190506001600160a01b0381161561362b576003546040805163afff324960e01b81526001600160a01b039283166004820152905160009284169163afff3249916024808301926020929190829003018186803b15801561353657600080fd5b505afa15801561354a573d6000803e3d6000fd5b505050506040513d602081101561356057600080fd5b5051600354604080516318160ddd60e01b8152905192935083926135e49287926001600160a01b03909116916318160ddd91600480820192602092909190829003018186803b1580156135b257600080fd5b505afa1580156135c6573d6000803e3d6000fd5b505050506040513d60208110156135dc57600080fd5b505190614758565b1115613629576040805162461bcd60e51b815260206004820152600f60248201526e504950545f4d41585f535550504c5960881b604482015290519081900360640190fd5b505b506000806136388461182c565b91509150600061369a600a613694600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612c7257600080fd5b90614758565b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b1580156136ec57600080fd5b505afa158015613700573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561372957600080fd5b8101908080516040519392919084600160201b82111561374857600080fd5b90830190602082018581111561375d57600080fd5b82518660208202830111600160201b8211171561377957600080fd5b82525081516020918201928201910280838360005b838110156137a657818101518382015260200161378e565b505050509050016040525050509050600081519050606082516001600160401b03811180156137d457600080fd5b5060405190808252806020026020018201604052801561380e57816020015b6137fb614d60565b8152602001906001900390816137f35790505b509050606083516001600160401b038111801561382a57600080fd5b50604051908082528060200260200182016040528015613854578160200160208202803683370190505b5090506000805b84811015613d8857600061387487838151811061123857fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156138af57600080fd5b505afa1580156138c3573d6000803e3d6000fd5b505050506040513d60608110156138d957600080fd5b50805160209091015186516001600160701b03928316929091169087908590811061390057fe5b602002602001015160400187858151811061391757fe5b6020908102919091010151606001919091525260035487516139d591670de0b6b3a764000091611892916001600160a01b03169063f8b2cb4f908c908890811061395d57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156139a257600080fd5b505afa1580156139b6573d6000803e3d6000fd5b505050506040513d60208110156139cc57600080fd5b50518b90614206565b8483815181106139e157fe5b602002602001018181525050613a288483815181106139fc57fe5b6020026020010151868481518110613a1057fe5b602002602001015160600151878581518110612e1657fe5b858381518110613a3457fe5b60200260200101516020018181525050613a7581868481518110613a5457fe5b60209081029190910181015101516001546001600160a01b031691906141b4565b806001600160a01b031663022c0d9f858481518110613a9057fe5b602002602001015160003060006001600160401b0381118015613ab257600080fd5b506040519080825280601f01601f191660200182016040528015613add576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613b45578181015183820152602001613b2d565b50505050905090810190601f168015613b725780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613b9457600080fd5b505af1158015613ba8573d6000803e3d6000fd5b50505050613bd6858381518110613bbb57fe5b6020026020010151602001518461475890919063ffffffff16565b9250600a6000888481518110613be857fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615613cc157868281518110613c2057fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b031660006040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613c9457600080fd5b505af1158015613ca8573d6000803e3d6000fd5b505050506040513d6020811015613cbe57600080fd5b50505b868281518110613ccd57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b0316868581518110613d0557fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613d5357600080fd5b505af1158015613d67573d6000803e3d6000fd5b505050506040513d6020811015613d7d57600080fd5b50505060010161385b565b50600354604080516390ad688b60e01b815290516000926001600160a01b0316916390ad688b916004808301926080929190829003018186803b158015613dce57600080fd5b505afa158015613de2573d6000803e3d6000fd5b505050506040513d6080811015613df857600080fd5b506020015160035460408051631122d04760e11b8152600481018e905260248101849052306044820152815193945060009384936001600160a01b031692632245a08e9260648082019391829003018186803b158015613e5757600080fd5b505afa158015613e6b573d6000803e3d6000fd5b505050506040513d6040811015613e8157600080fd5b81019080805190602001909291908051906020019092919050505091509150336001600160a01b03167ff7093a83d1acda4f50efce57c1c9c84e33f0ac8d1dce73a8c7481a8088d8b2e68b8d8f856040518085815260200184815260200183815260200182815260200194505050505060405180910390a2600360009054906101000a90046001600160a01b03166001600160a01b0316634f69c0d48d876040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015613f74578181015183820152602001613f5c565b505050509050019350505050600060405180830381600087803b158015613f9a57600080fd5b505af1158015613fae573d6000803e3d6000fd5b5050600354613fca92506001600160a01b0316905033846141b4565b6000613fd68b866142a7565b905080156140a85760015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b15801561402b57600080fd5b505af115801561403f573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015614070573d6000803e3d6000fd5b5060408051828152905133917f9a97090a4f9b5abe836088fa365c3dac3128c8c9bdc5cad5f4c6bda184fa043f919081900360200190a25b5050505050505050505050505050565b3b151590565b6001600160a01b039081166000908152600960205260409020541690565b600080841161411c5760405162461bcd60e51b815260040180806020018281038252602b815260200180614ea3602b913960400191505060405180910390fd5b60008311801561412c5750600082115b6141675760405162461bcd60e51b8152600401808060200182810382526028815260200180614df06028913960400191505060405180910390fd5b6000614175856103e56148e2565b9050600061418382856148e2565b9050600061419d83614197886103e86148e2565b90614945565b90508082816141a857fe5b04979650505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f1f908490614994565b60008261421557506000614262565b8282028284828161422257fe5b041461425f5760405162461bcd60e51b8152600401808060200182810382526021815260200180614e186021913960400191505060405180910390fd5b90505b92915050565b600061425f83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250614a45565b600061425f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614ae7565b3390565b60006060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561433f57600080fd5b505afa158015614353573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561437c57600080fd5b8101908080516040519392919084600160201b82111561439b57600080fd5b9083019060208201858111156143b057600080fd5b82518660208202830111600160201b821117156143cc57600080fd5b82525081516020918201928201910280838360005b838110156143f95781810151838201526020016143e1565b50505050905001604052505050905060008151905060608060008061441e8887612236565b60035493975091955093509150614440906001600160a01b031633308b6147b0565b6003546040805163095ea7b360e01b81526001600160a01b0390921660048301819052602483018b90529051909163095ea7b39160448083019260209291908290030181600087803b15801561449557600080fd5b505af11580156144a9573d6000803e3d6000fd5b505050506040513d60208110156144bf57600080fd5b50506003546040805163b02f0b7360e01b8152600481018b8152602482019283528751604483015287516001600160a01b039094169363b02f0b73938d938a93926064909101906020858101910280838360005b8381101561452b578181015183820152602001614513565b505050509050019350505050600060405180830381600087803b15801561455157600080fd5b505af1158015614565573d6000803e3d6000fd5b5050505060005b858110156146ef57600061458588838151811061123857fe5b90506145ab8187848151811061459757fe5b60200260200101518a85815181106112e657fe5b806001600160a01b031663022c0d9f60008785815181106145c857fe5b60200260200101513060006001600160401b03811180156145e857600080fd5b506040519080825280601f01601f191660200182016040528015614613576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561467b578181015183820152602001614663565b50505050905090810190601f1680156146a85780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156146ca57600080fd5b505af11580156146de573d6000803e3d6000fd5b50506001909301925061456c915050565b506000806146fc8461182c565b604080518d81526020810187905280820183905260608101849052905192945090925033917f32f099d0ac2a3a3a9b94fdb99b030574e3065fa12da504405e6262c1ae5585219181900360800190a29998505050505050505050565b60008282018381101561425f576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526110b5908590614994565b600080841161484a5760405162461bcd60e51b815260040180806020018281038252602c815260200180614dc4602c913960400191505060405180910390fd5b60008311801561485a5750600082115b6148955760405162461bcd60e51b8152600401808060200182810382526028815260200180614df06028913960400191505060405180910390fd5b60006148ad6103e86148a786886148e2565b906148e2565b905060006148c16103e56148a78689614b41565b90506148d860018284816148d157fe5b0490614945565b9695505050505050565b60008115806148fd575050808202828282816148fa57fe5b04145b614262576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015614262576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b60606149e9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614b919092919063ffffffff16565b805190915015611f1f57808060200190516020811015614a0857600080fd5b5051611f1f5760405162461bcd60e51b815260040180806020018281038252602a815260200180614e79602a913960400191505060405180910390fd5b60008183614ad15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614a96578181015183820152602001614a7e565b50505050905090810190601f168015614ac35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614add57fe5b0495945050505050565b60008184841115614b395760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614a96578181015183820152602001614a7e565b505050900390565b80820382811115614262576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6060614ba08484600085614ba8565b949350505050565b6060614bb3856140b8565b614c04576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310614c435780518252601f199092019160209182019101614c24565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614ca5576040519150601f19603f3d011682016040523d82523d6000602084013e614caa565b606091505b50915091508115614cbe579150614ba09050565b805115614cce5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614a96578181015183820152602001614a7e565b828054828255906000526020600020908101928215614d50579160200282015b82811115614d50578235825591602001919060010190614d35565b50614d5c929150614d88565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b80821115614d5c5760008155600101614d8956fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220bae98141df090726819481f352e40be58bfb214ed9e9a1a14d37442be74f22d064736f6c634300060c0033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca100000000000000000000000026607ac599266b21d13c7acf7942c7701a8b699c000000000000000000000000b258302c3f209491d604165549079680708581cc
Deployed Bytecode
0x6080604052600436106101825760003560e01c8063032a9668146101a557806307953a93146101ec5780630b2a9b00146102515780630ffe6252146102ff578063175360a11461046b5780632828eea8146105d55780633929aa59146106185780633eb26b03146106495780633fc8cef31461065e578063433941901461067357806344bd1afd146106885780634d923532146106b25780635487404a1461086457806364c667ee1461088b578063715018a6146108a85780637ecdb40a146108bd578063857af01b146109485780638b01808c146109725780638c3719991461099c5780638da5cb5b14610acc5780638dccc56714610ae1578063953dde0714610b40578063a2e6413714610b73578063a45098f714610b9d578063b386711814610bd0578063b4b48e5514610bed578063bbf8eadc14610ca2578063bea0ea6014610d7e578063c6135f4314610dbd578063d0fb020314610e74578063d3853b5b14610e89578063d8f14f2b14610ec2578063f2fde38b14610ed7576101a0565b366101a0573332146101935761019e565b61019e600b54610f0a565b005b600080fd5b3480156101b157600080fd5b506101d8600480360360208110156101c857600080fd5b50356001600160a01b03166110bb565b604080519115158252519081900360200190f35b3480156101f857600080fd5b506102016110d0565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561023d578181015183820152602001610225565b505050509050019250505060405180910390f35b34801561025d57600080fd5b5061019e6004803603602081101561027457600080fd5b810190602081018135600160201b81111561028e57600080fd5b8201836020820111156102a057600080fd5b803590602001918460208302840111600160201b831117156102c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611128945050505050565b34801561030b57600080fd5b506103c46004803603608081101561032257600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561035157600080fd5b82018360208201111561036357600080fd5b803590602001918460208302840111600160201b8311171561038457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505050351515905061168d565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b838110156104145781810151838201526020016103fc565b50505050905001838103825286818151815260200191508051906020019060200280838360005b8381101561045357818101518382015260200161043b565b50505050905001965050505050505060405180910390f35b34801561047757600080fd5b50610535600480360360a081101561048e57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460208302840111600160201b831117156104f057600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060200135151561175f565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b8381101561057f578181015183820152602001610567565b50505050905001838103825285818151815260200191508051906020019060200280838360005b838110156105be5781810151838201526020016105a6565b505050509050019550505050505060405180910390f35b3480156105e157600080fd5b506105ff600480360360208110156105f857600080fd5b503561182c565b6040805192835260208301919091528051918290030190f35b34801561062457600080fd5b5061062d6118ba565b604080516001600160a01b039092168252519081900360200190f35b34801561065557600080fd5b506102016118c9565b34801561066a57600080fd5b5061062d61191f565b34801561067f57600080fd5b5061062d61192e565b34801561069457600080fd5b5061019e600480360360208110156106ab57600080fd5b503561193d565b3480156106be57600080fd5b5061019e600480360360608110156106d557600080fd5b810190602081018135600160201b8111156106ef57600080fd5b82018360208201111561070157600080fd5b803590602001918460208302840111600160201b8311171561072257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561077157600080fd5b82018360208201111561078357600080fd5b803590602001918460208302840111600160201b831117156107a457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156107f357600080fd5b82018360208201111561080557600080fd5b803590602001918460208302840111600160201b8311171561082657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506119d0945050505050565b34801561087057600080fd5b50610879611be9565b60408051918252519081900360200190f35b61019e600480360360208110156108a157600080fd5b5035610f0a565b3480156108b457600080fd5b5061019e611bef565b3480156108c957600080fd5b5061019e600480360360408110156108e057600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561090a57600080fd5b82018360208201111561091c57600080fd5b803590602001918460208302840111600160201b8311171561093d57600080fd5b509092509050611c7f565b34801561095457600080fd5b506108796004803603602081101561096b57600080fd5b5035611e61565b34801561097e57600080fd5b5061019e6004803603602081101561099557600080fd5b5035611e7f565b3480156109a857600080fd5b5061019e600480360360408110156109bf57600080fd5b810190602081018135600160201b8111156109d957600080fd5b8201836020820111156109eb57600080fd5b803590602001918460208302840111600160201b83111715610a0c57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610a5b57600080fd5b820183602082011115610a6d57600080fd5b803590602001918460208302840111600160201b83111715610a8e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611f24945050505050565b348015610ad857600080fd5b5061062d61209d565b348015610aed57600080fd5b50610b1a60048036036040811015610b0457600080fd5b506001600160a01b0381351690602001356120ac565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610b4c57600080fd5b506101d860048036036020811015610b6357600080fd5b50356001600160a01b0316612183565b348015610b7f57600080fd5b5061087960048036036020811015610b9657600080fd5b5035612198565b348015610ba957600080fd5b5061062d60048036036020811015610bc057600080fd5b50356001600160a01b03166121a5565b61019e60048036036020811015610be657600080fd5b50356121c0565b348015610bf957600080fd5b506103c460048036036040811015610c1057600080fd5b81359190810190604081016020820135600160201b811115610c3157600080fd5b820183602082011115610c4357600080fd5b803590602001918460208302840111600160201b83111715610c6457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612236945050505050565b348015610cae57600080fd5b5061019e60048036036080811015610cc557600080fd5b810190602081018135600160201b811115610cdf57600080fd5b820183602082011115610cf157600080fd5b803590602001918460208302840111600160201b83111715610d1257600080fd5b919390929091602081019035600160201b811115610d2f57600080fd5b820183602082011115610d4157600080fd5b803590602001918460208302840111600160201b83111715610d6257600080fd5b91935091506001600160a01b0381358116916020013516612639565b348015610d8a57600080fd5b5061019e60048036036060811015610da157600080fd5b506001600160a01b038135169060208101359060400135612798565b348015610dc957600080fd5b5061053560048036036060811015610de057600080fd5b81359190810190604081016020820135600160201b811115610e0157600080fd5b820183602082011115610e1357600080fd5b803590602001918460208302840111600160201b83111715610e3457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250612adc915050565b348015610e8057600080fd5b5061062d61310d565b348015610e9557600080fd5b5061019e60048036036040811015610eac57600080fd5b506001600160a01b03813516906020013561311c565b348015610ece57600080fd5b5061062d61332d565b348015610ee357600080fd5b5061019e60048036036020811015610efa57600080fd5b50356001600160a01b031661333c565b6000610f153461182c565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b158015610f6857600080fd5b505afa158015610f7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610fa557600080fd5b8101908080516040519392919084600160201b821115610fc457600080fd5b908301906020820185811115610fd957600080fd5b82518660208202830111600160201b82111715610ff557600080fd5b82525081516020918201928201910280838360005b8381101561102257818101518382015260200161100a565b505050509050016040525050509050600061103e838386612adc565b92505050600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561109257600080fd5b505af11580156110a6573d6000803e3d6000fd5b50505050506110b53482613422565b50505050565b600a6020526000908152604090205460ff1681565b6060600480548060200260200160405190810160405280929190818152602001828054801561111e57602002820191906000526020600020905b81548152602001906001019080831161110a575b5050505050905090565b333214801561113d575061113b336140b8565b155b611185576040805162461bcd60e51b815260206004820152601460248201527310d3d395149050d517d393d517d0531313d5d15160621b604482015290519081900360640190fd5b805160005b818110156113fc5760008382815181106111a057fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156111f457600080fd5b505afa158015611208573d6000803e3d6000fd5b505050506040513d602081101561121e57600080fd5b505184519091506000906112459086908590811061123857fe5b60200260200101516140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561128357600080fd5b505afa158015611297573d6000803e3d6000fd5b505050506040513d60608110156112ad57600080fd5b5080516020909101516001600160701b03918216935016905060006112d38584846140dc565b905061130684868a89815181106112e657fe5b60200260200101516001600160a01b03166141b49092919063ffffffff16565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b8381101561138457818101518382015260200161136c565b50505050905090810190601f1680156113b15780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156113d357600080fd5b505af11580156113e7573d6000803e3d6000fd5b50506001909701965061118a95505050505050565b50600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561144857600080fd5b505afa15801561145c573d6000803e3d6000fd5b505050506040513d602081101561147257600080fd5b505160025490915060009061148f906001600160a01b03166140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156114cd57600080fd5b505afa1580156114e1573d6000803e3d6000fd5b505050506040513d60608110156114f757600080fd5b5080516020909101516001600160701b039182169350169050600061151d8583856140dc565b600154909150611537906001600160a01b031685876141b4565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b838110156115b657818101518382015260200161159e565b50505050905090810190601f1680156115e35780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561160557600080fd5b505af1158015611619573d6000803e3d6000fd5b505060065460025461163a93506001600160a01b03908116925016836141b4565b600654604080518781526020810184905281516001600160a01b03909316927f85dc9ac52b6013481d4ffbf17eacd0201080b84284b03e133365bf5736f87d75929181900390910190a250505050505050565b606080600080600061169f8888612236565b929750909550909250905085156116bd576116b98161182c565b9150505b6000806116c98b6140be565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561170157600080fd5b505afa158015611715573d6000803e3d6000fd5b505050506040513d606081101561172b57600080fd5b5080516020909101516001600160701b03918216935016905061174f8382846140dc565b9450505050945094509450949050565b60608060008060006117708a6140be565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156117a857600080fd5b505afa1580156117bc573d6000803e3d6000fd5b505050506040513d60608110156117d257600080fd5b5080516020909101516001600160701b03918216935016905060006117f88a84846140dc565b9050861561180d576118098161182c565b9150505b611818818a8a612adc565b955095509550505050955095509592505050565b6004546000908190815b818110156118a7576004818154811061184b57fe5b9060005260206000200154851061189f57611898670de0b6b3a76400006118926005848154811061187857fe5b90600052602060002001548861420690919063ffffffff16565b90614268565b93506118a7565b600101611836565b506118b284846142a7565b915050915091565b6003546001600160a01b031681565b6060600580548060200260200160405190810160405280929190818152602001828054801561111e576020028201919060005260206000209081548152602001906001019080831161110a575050505050905090565b6001546001600160a01b031681565b6006546001600160a01b031681565b6119456142e9565b6000546001600160a01b03908116911614611995576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b600b8190556040805182815290517f736741f2e67b4d201474b6dba54baed127c2ebe4b99e751e0ef45afc5c6ee5ac9181900360200190a150565b6119d86142e9565b6000546001600160a01b03908116911614611a28576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b8251825181148015611a3a5750815181145b611a7f576040805162461bcd60e51b815260206004820152601160248201527013115391d51214d7d393d517d154555053607a1b604482015290519081900360640190fd5b60005b8451811015611be257838181518110611a9757fe5b602002602001015160096000878481518110611aaf57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550828181518110611b0757fe5b6020026020010151600a6000878481518110611b1f57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550838181518110611b6a57fe5b60200260200101516001600160a01b0316838281518110611b8757fe5b60200260200101511515868381518110611b9d57fe5b60200260200101516001600160a01b03167f9b37efc6175537fc5ac9b6bf56a5f4eaf0dc4f40f8116b36837f7fed9056e8db60405160405180910390a4600101611a82565b5050505050565b600b5481565b611bf76142e9565b6000546001600160a01b03908116911614611c47576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020614e59833981519152908390a3600080546001600160a01b0319169055565b6001600160a01b03831660009081526008602052604090205460ff16611ce2576040805162461bcd60e51b8152602060048201526013602482015272119050d513d49657d393d517d0531313d5d151606a1b604482015290519081900360640190fd5b8060005b82811015611be2576000600981868685818110611cff57fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000205416919091149050611d6a576040805162461bcd60e51b815260206004820152600b60248201526a1053149150511657d4d15560aa1b604482015290519081900360640190fd5b846001600160a01b031663e6a43905858584818110611d8557fe5b6001546040805160e087901b6001600160e01b0319168152602093840295909501356001600160a01b0390811660048701529091166024850152516044808501949293509091829003018186803b158015611ddf57600080fd5b505afa158015611df3573d6000803e3d6000fd5b505050506040513d6020811015611e0957600080fd5b505160096000868685818110611e1b57fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000208054939091166001600160a01b03199093169290921790915550600101611ce6565b60048181548110611e6e57fe5b600091825260209091200154905081565b6000611e8a826142ed565b60015460408051632e1a7d4d60e01b81526004810184905290519293506001600160a01b0390911691632e1a7d4d9160248082019260009290919082900301818387803b158015611eda57600080fd5b505af1158015611eee573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015611f1f573d6000803e3d6000fd5b505050565b611f2c6142e9565b6000546001600160a01b03908116911614611f7c576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b815181518114611fc7576040805162461bcd60e51b815260206004820152601160248201527013115391d51214d7d393d517d154555053607a1b604482015290519081900360640190fd5b60005b83518110156110b557828181518110611fdf57fe5b602002602001015160086000868481518110611ff757fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555082818151811061204257fe5b6020026020010151151584828151811061205857fe5b60200260200101516001600160a01b03167fbe163812b7c7bb47620d9d88a2d4c6c9051dea67ec7f5de0f5c9e6d5f6607fea60405160405180910390a3600101611fca565b6000546001600160a01b031690565b6000806000806000806120be886140be565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156120f657600080fd5b505afa15801561210a573d6000803e3d6000fd5b505050506040513d606081101561212057600080fd5b5080516020909101516001600160701b03918216935016905060006121468884846140dc565b90506121518161182c565b9095509350841561216a576121678583856140dc565b96505b6121758483856140dc565b955050505092959194509250565b60086020526000908152604090205460ff1681565b60058181548110611e6e57fe5b6009602052600090815260409020546001600160a01b031681565b600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561221057600080fd5b505af1158015612224573d6000803e3d6000fd5b50505050506122333482613422565b50565b60608060008084516001600160401b038111801561225357600080fd5b5060405190808252806020026020018201604052801561227d578160200160208202803683370190505b50935084516001600160401b038111801561229757600080fd5b506040519080825280602002602001820160405280156122c1578160200160208202803683370190505b5092506000600360009054906101000a90046001600160a01b03166001600160a01b03166390ad688b6040518163ffffffff1660e01b815260040160806040518083038186803b15801561231457600080fd5b505afa158015612328573d6000803e3d6000fd5b505050506040513d608081101561233e57600080fd5b506040908101516003548251631122d04760e11b8152600481018b90526024810183905230604482015283519294506000936001600160a01b0390921692632245a08e92606480840193919291829003018186803b15801561239f57600080fd5b505afa1580156123b3573d6000803e3d6000fd5b505050506040513d60408110156123c957600080fd5b508051602091820151600354604080516318160ddd60e01b8152905192975092945060009361245e936001600160a01b03909216926318160ddd926004808201939291829003018186803b15801561242057600080fd5b505afa158015612434573d6000803e3d6000fd5b505050506040513d602081101561244a57600080fd5b505161189284670de0b6b3a7640000614206565b90506000945060005b885181101561262c57600354895161251b91670de0b6b3a764000091611892916001600160a01b03169063f8b2cb4f908e90879081106124a357fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156124e857600080fd5b505afa1580156124fc573d6000803e3d6000fd5b505050506040513d602081101561251257600080fd5b50518590614206565b88828151811061252757fe5b6020026020010181815250506000806125458b848151811061123857fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561257d57600080fd5b505afa158015612591573d6000803e3d6000fd5b505050506040513d60608110156125a757600080fd5b5080516020909101518b516001600160701b039283169450911691506125e2908b90859081106125d357fe5b602002602001015183836140dc565b8984815181106125ee57fe5b60200260200101818152505061262089848151811061260957fe5b60200260200101518961475890919063ffffffff16565b97505050600101612467565b5050505092959194509250565b6007546001600160a01b031633148061266a575061265561209d565b6001600160a01b0316336001600160a01b0316145b6126ad576040805162461bcd60e51b815260206004820152600f60248201526e2727aa2fa322a2afa6a0a720a3a2a960891b604482015290519081900360640190fd5b6126b960048787614d15565b506126c660058585614d15565b50600680546001600160a01b03199081166001600160a01b03858116918217909355600780549092169284169283179091556040805181815290810188905233907f135646ff0b37ad6450ec7feabebbaf3289860f4abe23d7aace3bc48e15232459908a908a908a908a908060208082019060608301908890880280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a4505050505050565b6127ad6001600160a01b0384163330856147b0565b60006127b8846140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156127f657600080fd5b505afa15801561280a573d6000803e3d6000fd5b505050506040513d606081101561282057600080fd5b5080516020909101516001600160701b03918216935016905060006128468684846140dc565b905061285c6001600160a01b03881685886141b4565b604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b838110156128da5781810151838201526020016128c2565b50505050905090810190601f1680156129075780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561292957600080fd5b505af115801561293d573d6000803e3d6000fd5b50505050600061294c8261182c565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561299f57600080fd5b505afa1580156129b3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156129dc57600080fd5b8101908080516040519392919084600160201b8211156129fb57600080fd5b908301906020820185811115612a1057600080fd5b82518660208202830111600160201b82111715612a2c57600080fd5b82525081516020918201928201910280838360005b83811015612a59578181015183820152602001612a41565b5050505090500160405250505090506000612a7583838a612adc565b92505050612a838482613422565b604080518a81526020810186905280820183905290516001600160a01b038c169133917fb2383c1452cfa9876e7eb3c9ade99c1353f1b2dbe5f2612cdb0446f181b030e89181900360600190a350505050505050505050565b6060806000612b01612afa670de0b6b3a76400006118928988614206565b87906142a7565b9550606085516001600160401b0381118015612b1c57600080fd5b50604051908082528060200260200182016040528015612b5657816020015b612b43614d60565b815260200190600190039081612b3b5790505b509050600080600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612baa57600080fd5b505afa158015612bbe573d6000803e3d6000fd5b505050506040513d6020811015612bd457600080fd5b810190808051906020019092919050505090506000612cb682611892670de0b6b3a7640000612cb0600360009054906101000a90046001600160a01b03166001600160a01b031663f8b2cb4f8f600081518110612c2d57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612c7257600080fd5b505afa158015612c86573d6000803e3d6000fd5b505050506040513d6020811015612c9c57600080fd5b505161189288670de0b6b3a7640000614206565b90614206565b905060005b8951811015612e77576003548a51612cf791670de0b6b3a764000091611892916001600160a01b03169063f8b2cb4f908f90879081106124a357fe5b858281518110612d0357fe5b60200260200101516000018181525050612d228a828151811061123857fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612d5a57600080fd5b505afa158015612d6e573d6000803e3d6000fd5b505050506040513d6060811015612d8457600080fd5b50805160209091015186516001600160701b039283169290911690879084908110612dab57fe5b6020026020010151604001878481518110612dc257fe5b602002602001015160600182815250828152505050612e27858281518110612de657fe5b602002602001015160000151868381518110612dfe57fe5b602002602001015160600151878481518110612e1657fe5b60200260200101516040015161480a565b858281518110612e3357fe5b60200260200101516020018181525050612e6d858281518110612e5257fe5b6020026020010151602001518561475890919063ffffffff16565b9350600101612cbb565b50505086516001600160401b0381118015612e9157600080fd5b50604051908082528060200260200182016040528015612ebb578160200160208202803683370190505b50945086516001600160401b0381118015612ed557600080fd5b50604051908082528060200260200182016040528015612eff578160200160208202803683370190505b50935060005b8751811015612fd157612f5a670de0b6b3a7640000611892612f5385611892670de0b6b3a7640000898881518110612f3957fe5b60200260200101516020015161420690919063ffffffff16565b8c90614206565b858281518110612f6657fe5b6020908102919091010152612fb2670de0b6b3a7640000611892612f8c85828e85614206565b868581518110612f9857fe5b60200260200101516000015161420690919063ffffffff16565b868281518110612fbe57fe5b6020908102919091010152600101612f05565b506003548751613100916001600160a01b03169063f8b2cb4f908a90600090612ff657fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561303b57600080fd5b505afa15801561304f573d6000803e3d6000fd5b505050506040513d602081101561306557600080fd5b5051865161189290889060009061307857fe5b6020026020010151600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156130ce57600080fd5b505afa1580156130e2573d6000803e3d6000fd5b505050506040513d60208110156130f857600080fd5b505190614206565b9250505093509350939050565b6007546001600160a01b031681565b6000613127826142ed565b90506000613134846140be565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561317257600080fd5b505afa158015613186573d6000803e3d6000fd5b505050506040513d606081101561319c57600080fd5b5080516020909101516001600160701b03918216935016905060006131c28583856140dc565b6001549091506131dc906001600160a01b031685876141b4565b604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b8381101561325b578181015183820152602001613243565b50505050905090810190601f1680156132885780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156132aa57600080fd5b505af11580156132be573d6000803e3d6000fd5b506132d7925050506001600160a01b03881633836141b4565b604080518781526020810187905280820183905290516001600160a01b0389169133917f3d8b014eb05b16fa729de7d54b5b93c42f1d2b265f79a9648875d8eb84569d7c9181900360600190a350505050505050565b6002546001600160a01b031681565b6133446142e9565b6000546001600160a01b03908116911614613394576040805162461bcd60e51b81526020600482018190526024820152600080516020614e39833981519152604482015290519081900360640190fd5b6001600160a01b0381166133d95760405162461bcd60e51b8152600401808060200182810382526026815260200180614d9e6026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020614e5983398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008211613466576040805162461bcd60e51b815260206004820152600c60248201526b11551217d49154555254915160a21b604482015290519081900360640190fd5b600354604080516318832b9760e31b815290516000926001600160a01b03169163c4195cb8916004808301926020929190829003018186803b1580156134ab57600080fd5b505afa1580156134bf573d6000803e3d6000fd5b505050506040513d60208110156134d557600080fd5b505190506001600160a01b0381161561362b576003546040805163afff324960e01b81526001600160a01b039283166004820152905160009284169163afff3249916024808301926020929190829003018186803b15801561353657600080fd5b505afa15801561354a573d6000803e3d6000fd5b505050506040513d602081101561356057600080fd5b5051600354604080516318160ddd60e01b8152905192935083926135e49287926001600160a01b03909116916318160ddd91600480820192602092909190829003018186803b1580156135b257600080fd5b505afa1580156135c6573d6000803e3d6000fd5b505050506040513d60208110156135dc57600080fd5b505190614758565b1115613629576040805162461bcd60e51b815260206004820152600f60248201526e504950545f4d41585f535550504c5960881b604482015290519081900360640190fd5b505b506000806136388461182c565b91509150600061369a600a613694600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612c7257600080fd5b90614758565b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b1580156136ec57600080fd5b505afa158015613700573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561372957600080fd5b8101908080516040519392919084600160201b82111561374857600080fd5b90830190602082018581111561375d57600080fd5b82518660208202830111600160201b8211171561377957600080fd5b82525081516020918201928201910280838360005b838110156137a657818101518382015260200161378e565b505050509050016040525050509050600081519050606082516001600160401b03811180156137d457600080fd5b5060405190808252806020026020018201604052801561380e57816020015b6137fb614d60565b8152602001906001900390816137f35790505b509050606083516001600160401b038111801561382a57600080fd5b50604051908082528060200260200182016040528015613854578160200160208202803683370190505b5090506000805b84811015613d8857600061387487838151811061123857fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156138af57600080fd5b505afa1580156138c3573d6000803e3d6000fd5b505050506040513d60608110156138d957600080fd5b50805160209091015186516001600160701b03928316929091169087908590811061390057fe5b602002602001015160400187858151811061391757fe5b6020908102919091010151606001919091525260035487516139d591670de0b6b3a764000091611892916001600160a01b03169063f8b2cb4f908c908890811061395d57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156139a257600080fd5b505afa1580156139b6573d6000803e3d6000fd5b505050506040513d60208110156139cc57600080fd5b50518b90614206565b8483815181106139e157fe5b602002602001018181525050613a288483815181106139fc57fe5b6020026020010151868481518110613a1057fe5b602002602001015160600151878581518110612e1657fe5b858381518110613a3457fe5b60200260200101516020018181525050613a7581868481518110613a5457fe5b60209081029190910181015101516001546001600160a01b031691906141b4565b806001600160a01b031663022c0d9f858481518110613a9057fe5b602002602001015160003060006001600160401b0381118015613ab257600080fd5b506040519080825280601f01601f191660200182016040528015613add576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613b45578181015183820152602001613b2d565b50505050905090810190601f168015613b725780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613b9457600080fd5b505af1158015613ba8573d6000803e3d6000fd5b50505050613bd6858381518110613bbb57fe5b6020026020010151602001518461475890919063ffffffff16565b9250600a6000888481518110613be857fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615613cc157868281518110613c2057fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b031660006040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613c9457600080fd5b505af1158015613ca8573d6000803e3d6000fd5b505050506040513d6020811015613cbe57600080fd5b50505b868281518110613ccd57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b0316868581518110613d0557fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613d5357600080fd5b505af1158015613d67573d6000803e3d6000fd5b505050506040513d6020811015613d7d57600080fd5b50505060010161385b565b50600354604080516390ad688b60e01b815290516000926001600160a01b0316916390ad688b916004808301926080929190829003018186803b158015613dce57600080fd5b505afa158015613de2573d6000803e3d6000fd5b505050506040513d6080811015613df857600080fd5b506020015160035460408051631122d04760e11b8152600481018e905260248101849052306044820152815193945060009384936001600160a01b031692632245a08e9260648082019391829003018186803b158015613e5757600080fd5b505afa158015613e6b573d6000803e3d6000fd5b505050506040513d6040811015613e8157600080fd5b81019080805190602001909291908051906020019092919050505091509150336001600160a01b03167ff7093a83d1acda4f50efce57c1c9c84e33f0ac8d1dce73a8c7481a8088d8b2e68b8d8f856040518085815260200184815260200183815260200182815260200194505050505060405180910390a2600360009054906101000a90046001600160a01b03166001600160a01b0316634f69c0d48d876040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015613f74578181015183820152602001613f5c565b505050509050019350505050600060405180830381600087803b158015613f9a57600080fd5b505af1158015613fae573d6000803e3d6000fd5b5050600354613fca92506001600160a01b0316905033846141b4565b6000613fd68b866142a7565b905080156140a85760015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b15801561402b57600080fd5b505af115801561403f573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015614070573d6000803e3d6000fd5b5060408051828152905133917f9a97090a4f9b5abe836088fa365c3dac3128c8c9bdc5cad5f4c6bda184fa043f919081900360200190a25b5050505050505050505050505050565b3b151590565b6001600160a01b039081166000908152600960205260409020541690565b600080841161411c5760405162461bcd60e51b815260040180806020018281038252602b815260200180614ea3602b913960400191505060405180910390fd5b60008311801561412c5750600082115b6141675760405162461bcd60e51b8152600401808060200182810382526028815260200180614df06028913960400191505060405180910390fd5b6000614175856103e56148e2565b9050600061418382856148e2565b9050600061419d83614197886103e86148e2565b90614945565b90508082816141a857fe5b04979650505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f1f908490614994565b60008261421557506000614262565b8282028284828161422257fe5b041461425f5760405162461bcd60e51b8152600401808060200182810382526021815260200180614e186021913960400191505060405180910390fd5b90505b92915050565b600061425f83836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250614a45565b600061425f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614ae7565b3390565b60006060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561433f57600080fd5b505afa158015614353573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561437c57600080fd5b8101908080516040519392919084600160201b82111561439b57600080fd5b9083019060208201858111156143b057600080fd5b82518660208202830111600160201b821117156143cc57600080fd5b82525081516020918201928201910280838360005b838110156143f95781810151838201526020016143e1565b50505050905001604052505050905060008151905060608060008061441e8887612236565b60035493975091955093509150614440906001600160a01b031633308b6147b0565b6003546040805163095ea7b360e01b81526001600160a01b0390921660048301819052602483018b90529051909163095ea7b39160448083019260209291908290030181600087803b15801561449557600080fd5b505af11580156144a9573d6000803e3d6000fd5b505050506040513d60208110156144bf57600080fd5b50506003546040805163b02f0b7360e01b8152600481018b8152602482019283528751604483015287516001600160a01b039094169363b02f0b73938d938a93926064909101906020858101910280838360005b8381101561452b578181015183820152602001614513565b505050509050019350505050600060405180830381600087803b15801561455157600080fd5b505af1158015614565573d6000803e3d6000fd5b5050505060005b858110156146ef57600061458588838151811061123857fe5b90506145ab8187848151811061459757fe5b60200260200101518a85815181106112e657fe5b806001600160a01b031663022c0d9f60008785815181106145c857fe5b60200260200101513060006001600160401b03811180156145e857600080fd5b506040519080825280601f01601f191660200182016040528015614613576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561467b578181015183820152602001614663565b50505050905090810190601f1680156146a85780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156146ca57600080fd5b505af11580156146de573d6000803e3d6000fd5b50506001909301925061456c915050565b506000806146fc8461182c565b604080518d81526020810187905280820183905260608101849052905192945090925033917f32f099d0ac2a3a3a9b94fdb99b030574e3065fa12da504405e6262c1ae5585219181900360800190a29998505050505050505050565b60008282018381101561425f576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526110b5908590614994565b600080841161484a5760405162461bcd60e51b815260040180806020018281038252602c815260200180614dc4602c913960400191505060405180910390fd5b60008311801561485a5750600082115b6148955760405162461bcd60e51b8152600401808060200182810382526028815260200180614df06028913960400191505060405180910390fd5b60006148ad6103e86148a786886148e2565b906148e2565b905060006148c16103e56148a78689614b41565b90506148d860018284816148d157fe5b0490614945565b9695505050505050565b60008115806148fd575050808202828282816148fa57fe5b04145b614262576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015614262576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b60606149e9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614b919092919063ffffffff16565b805190915015611f1f57808060200190516020811015614a0857600080fd5b5051611f1f5760405162461bcd60e51b815260040180806020018281038252602a815260200180614e79602a913960400191505060405180910390fd5b60008183614ad15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614a96578181015183820152602001614a7e565b50505050905090810190601f168015614ac35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614add57fe5b0495945050505050565b60008184841115614b395760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614a96578181015183820152602001614a7e565b505050900390565b80820382811115614262576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6060614ba08484600085614ba8565b949350505050565b6060614bb3856140b8565b614c04576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310614c435780518252601f199092019160209182019101614c24565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614ca5576040519150601f19603f3d011682016040523d82523d6000602084013e614caa565b606091505b50915091508115614cbe579150614ba09050565b805115614cce5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614a96578181015183820152602001614a7e565b828054828255906000526020600020908101928215614d50579160200282015b82811115614d50578235825591602001919060010190614d35565b50614d5c929150614d88565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b80821115614d5c5760008155600101614d8956fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220bae98141df090726819481f352e40be58bfb214ed9e9a1a14d37442be74f22d064736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca100000000000000000000000026607ac599266b21d13c7acf7942c7701a8b699c000000000000000000000000b258302c3f209491d604165549079680708581cc
-----Decoded View---------------
Arg [0] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : _cvp (address): 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1
Arg [2] : _pipt (address): 0x26607aC599266b21d13c7aCF7942c7701a8b699c
Arg [3] : _feeManager (address): 0xB258302C3f209491d604165549079680708581Cc
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Arg [2] : 00000000000000000000000026607ac599266b21d13c7acf7942c7701a8b699c
Arg [3] : 000000000000000000000000b258302c3f209491d604165549079680708581cc
Deployed Bytecode Sourcemap
48109:4234:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36502:10;36516:9;36502:23;36498:52;;36536:7;;36498:52;36556:30;36570:15;;36556:13;:30::i;:::-;48109:4234;;;;;34906:47;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34906:47:0;-1:-1:-1;;;;;34906:47:0;;:::i;:::-;;;;;;;;;;;;;;;;;;44254:94;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37362:1272;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37362:1272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37362:1272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37362:1272:0;;-1:-1:-1;37362:1272:0;;-1:-1:-1;;;;;37362:1272:0:i;50917:743::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50917:743:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50917:743:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50917:743:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50917:743:0;;-1:-1:-1;;;;50917:743:0;;;;-1:-1:-1;50917:743:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50259:652;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50259:652:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50259:652:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50259:652:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50259:652:0;;-1:-1:-1;;50259:652:0;;;-1:-1:-1;;;50259:652:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43875:373;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43875:373:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;34623:26;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;34623:26:0;;;;;;;;;;;;;;44354:96;;;;;;;;;;;;;:::i;34562:26::-;;;;;;;;;;;;;:::i;34719:24::-;;;;;;;;;;;;;:::i;40419:168::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40419:168:0;;:::i;39032:508::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39032:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39032:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39032:508:0;;;;;;;;-1:-1:-1;39032:508:0;;-1:-1:-1;;;;;39032:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39032:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39032:508:0;;;;;;;;-1:-1:-1;39032:508:0;;-1:-1:-1;;;;;39032:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39032:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39032:508:0;;-1:-1:-1;39032:508:0;;-1:-1:-1;;;;;39032:508:0:i;34958:30::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;36598:369;;;;;;;;;;;;;;;;-1:-1:-1;36598:369:0;;:::i;21285:148::-;;;;;;;;;;;;;:::i;39948:465::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39948:465:0;;;;;;;;;;;;;;;-1:-1:-1;;;39948:465:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39948:465:0;;;;;;;;;;-1:-1:-1;39948:465:0;;-1:-1:-1;39948:465:0;-1:-1:-1;39948:465:0;:::i;34656:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34656:26:0;;:::i;37159:197::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37159:197:0;;:::i;39546:396::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39546:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39546:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39546:396:0;;;;;;;;-1:-1:-1;39546:396:0;;-1:-1:-1;;;;;39546:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39546:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39546:396:0;;-1:-1:-1;39546:396:0;;-1:-1:-1;;;;;39546:396:0:i;20643:79::-;;;;;;;;;;;;;:::i;51666:674::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;51666:674:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34780:53;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34780:53:0;-1:-1:-1;;;;;34780:53:0;;:::i;34687:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34687:27:0;;:::i;34838:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34838:63:0;-1:-1:-1;;;;;34838:63:0;;:::i;36973:180::-;;;;;;;;;;;;;;;;-1:-1:-1;36973:180:0;;:::i;42730:1139::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42730:1139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42730:1139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42730:1139:0;;-1:-1:-1;42730:1139:0;;-1:-1:-1;;;;;42730:1139:0:i;38640:386::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38640:386:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38640:386:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38640:386:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38640:386:0;;;;;;;;;;;;-1:-1:-1;38640:386:0;-1:-1:-1;;;;;;38640:386:0;;;;;;;;;;:::i;48661:942::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48661:942:0;;;;;;;;;;;;;:::i;40593:2131::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40593:2131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40593:2131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40593:2131:0;;-1:-1:-1;;40593:2131:0;;;-1:-1:-1;40593:2131:0;;-1:-1:-1;;40593:2131:0:i;34748:25::-;;;;;;;;;;;;;:::i;49609:644::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49609:644:0;;;;;;;;:::i;34593:25::-;;;;;;;;;;;;;:::i;21588:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21588:244:0;-1:-1:-1;;;;;21588:244:0;;:::i;36598:369::-;36665:18;36687:21;36698:9;36687:10;:21::i;:::-;36662:46;;;36717:23;36743:4;;;;;;;;;-1:-1:-1;;;;;36743:4:0;-1:-1:-1;;;;;36743:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36743:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36743:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;36743:23:0;;;;;;;;;;;;-1:-1:-1;36743:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36717:49;;36780:21;36805:54;36829:10;36841:6;36849:9;36805:23;:54::i;:::-;36775:84;;;;36868:4;;;;;;;;;-1:-1:-1;;;;;36868:4:0;-1:-1:-1;;;;;36868:12:0;;36889:9;36868:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36911:50;36936:9;36947:13;36911:24;:50::i;:::-;36598:369;;;;:::o;34906:47::-;;;;;;;;;;;;;;;:::o;44254:94::-;44301:16;44333:9;44326:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44254:94;:::o;37362:1272::-;37454:10;37468:9;37454:23;:58;;;;;37482:30;37501:10;37482:18;:30::i;:::-;37481:31;37454:58;37446:91;;;;;-1:-1:-1;;;37446:91:0;;;;;;;;;;;;-1:-1:-1;;;37446:91:0;;;;;;;;;;;;;;;37560:16;;37546:11;37585:530;37609:3;37605:1;:7;37585:530;;;37628:20;37666:9;37676:1;37666:12;;;;;;;;;;;;;;-1:-1:-1;;;;;37651:38:0;;37698:4;37651:53;;;;;;;;;;;;;-1:-1:-1;;;;;37651:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37651:53:0;37756:12;;37651:53;;-1:-1:-1;37713:24:0;;37740:29;;37756:9;;37766:1;;37756:12;;;;;;;;;;;;37740:15;:29::i;:::-;37713:56;;37781:20;37803:18;37827:9;-1:-1:-1;;;;;37827:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37827:23:0;;;;;;;-1:-1:-1;;;;;37780:70:0;;;;-1:-1:-1;37780:70:0;;-1:-1:-1;37859:15:0;37877:69;37907:12;37780:70;;37877:29;:69::i;:::-;37859:87;;37957:75;38007:9;38019:12;37972:9;37982:1;37972:12;;;;;;;;;;;;;;-1:-1:-1;;;;;37957:41:0;;;:75;;;;;:::i;:::-;38094:12;;;38066:1;38094:12;;;;;;;;;;-1:-1:-1;;;38043:64:0;;;;;;;;;;;;;;38087:4;38043:64;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38043:14:0;;;;;38070:7;;38094:12;;38043:64;;;;;;;;;;38094:12;38066:1;38043:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37614:3:0;;;;;-1:-1:-1;37585:530:0;;-1:-1:-1;;;;;;37585:530:0;;-1:-1:-1;38145:4:0;;:29;;;-1:-1:-1;;;38145:29:0;;38168:4;38145:29;;;;;;38123:19;;-1:-1:-1;;;;;38145:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38145:29:0;38232:3;;38145:29;;-1:-1:-1;38183:22:0;;38208:29;;-1:-1:-1;;;;;38232:3:0;38208:15;:29::i;:::-;38183:54;;38247:18;38267;38291:7;-1:-1:-1;;;;;38291:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38291:21:0;;;;;;;-1:-1:-1;;;;;38246:66:0;;;;-1:-1:-1;38246:66:0;;-1:-1:-1;38319:14:0;38336:66;38366:11;38246:66;;38336:29;:66::i;:::-;38411:4;;38319:83;;-1:-1:-1;38411:48:0;;-1:-1:-1;;;;;38411:4:0;38437:7;38447:11;38411:17;:48::i;:::-;38516:12;;;38497:1;38516:12;;;;;;;;;;-1:-1:-1;;;38468:61:0;;;;;;;;;;;;;;38509:4;38468:61;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38468:12:0;;;;;38481:6;;38497:1;38516:12;;38468:61;;;;;;;;;;38516:12;38497:1;38468:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38555:9:0;;38538:3;;:35;;-1:-1:-1;;;;;;38538:3:0;;;;-1:-1:-1;38555:9:0;38566:6;38538:16;:35::i;:::-;38597:9;;38587:41;;;;;;;;;;;;;;-1:-1:-1;;;;;38597:9:0;;;;38587:41;;;;;;;;;;;37362:1272;;;;;;;:::o;50917:743::-;51107:30;51146;51185:21;51215;51254:19;51343:47;51367:13;51382:7;51343:23;:47::i;:::-;51282:108;;-1:-1:-1;51282:108:0;;-1:-1:-1;51282:108:0;;-1:-1:-1;51282:108:0;-1:-1:-1;51397:72:0;;;;51438:23;51449:11;51438:10;:23::i;:::-;51420:41;-1:-1:-1;;51397:72:0;51476:20;51498:18;51522:27;51538:10;51522:15;:27::i;:::-;-1:-1:-1;;;;;51522:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51522:41:0;;;;;;;-1:-1:-1;;;;;51475:88:0;;;;-1:-1:-1;51475:88:0;;-1:-1:-1;51586:68:0;51616:11;51475:88;;51586:29;:68::i;:::-;51570:84;;50917:743;;;;;;;;;;;;:::o;50259:652::-;50471:29;50509;50547:15;50581:20;50603:18;50627:27;50643:10;50627:15;:27::i;:::-;-1:-1:-1;;;;;50627:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50627:41:0;;;;;;;-1:-1:-1;;;;;50580:88:0;;;;-1:-1:-1;50580:88:0;;-1:-1:-1;50675:17:0;50695:68;50725:11;50580:88;;50695:29;:68::i;:::-;50675:88;;50774:8;50770:68;;;50809:21;50820:9;50809:10;:21::i;:::-;50793:37;-1:-1:-1;;50770:68:0;50851:54;50875:9;50886:7;50895:9;50851:23;:54::i;:::-;50844:61;;;;;;;;;50259:652;;;;;;;;;:::o;43875:373::-;44010:9;:16;43935:14;;;;;44033:168;44057:3;44053:1;:7;44033:168;;;44093:9;44103:1;44093:12;;;;;;;;;;;;;;;;44080:9;:25;44076:118;;44127:41;44160:7;44127:28;44141:10;44152:1;44141:13;;;;;;;;;;;;;;;;44127:9;:13;;:28;;;;:::i;:::-;:32;;:41::i;:::-;44118:50;;44179:5;;44076:118;44062:3;;44033:168;;;-1:-1:-1;44221:21:0;:9;44235:6;44221:13;:21::i;:::-;44207:35;;43875:373;;;;:::o;34623:26::-;;;-1:-1:-1;;;;;34623:26:0;;:::o;44354:96::-;44402:16;44434:10;44427:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44354:96;:::o;34562:26::-;;;-1:-1:-1;;;;;34562:26:0;;:::o;34719:24::-;;;-1:-1:-1;;;;;34719:24:0;;:::o;40419:168::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;40499:15:::1;:34:::0;;;40545:36:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;40419:168:::0;:::o;39032:508::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;39196:14;;39232:13;;39225:20;::::1;:48:::0;::::1;;;;39256:10;:17;39249:3;:24;39225:48;39217:78;;;::::0;;-1:-1:-1;;;39217:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39217:78:0;;;;;;;;;;;;;::::1;;39307:9;39302:233;39326:7;:14;39322:1;:18;39302:233;;;39399:6;39406:1;39399:9;;;;;;;;;;;;;;39356:28;:40;39385:7;39393:1;39385:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39356:40:0::1;-1:-1:-1::0;;;;;39356:40:0::1;;;;;;;;;;;;;:52;;;;;-1:-1:-1::0;;;;;39356:52:0::1;;;;;-1:-1:-1::0;;;;;39356:52:0::1;;;;;;39447:10;39458:1;39447:13;;;;;;;;;;;;;;39417:15;:27;39433:7;39441:1;39433:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39417:27:0::1;-1:-1:-1::0;;;;;39417:27:0::1;;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;39517:6;39524:1;39517:9;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39474:53:0::1;39502:10;39513:1;39502:13;;;;;;;;;;;;;;39474:53;;39490:7;39498:1;39490:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39474:53:0::1;;;;;;;;;;;39342:3;;39302:233;;;;20925:1;39032:508:::0;;;:::o;34958:30::-;;;;:::o;21285:148::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;21392:1:::1;21376:6:::0;;21355:40:::1;::::0;-1:-1:-1;;;;;21376:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;21355:40:0;21392:1;;21355:40:::1;21423:1;21406:19:::0;;-1:-1:-1;;;;;;21406:19:0::1;::::0;;21285:148::o;39948:465::-;-1:-1:-1;;;;;40055:31:0;;;;;;:21;:31;;;;;;;;40047:63;;;;;-1:-1:-1;;;40047:63:0;;;;;;;;;;;;-1:-1:-1;;;40047:63:0;;;;;;;;;;;;;;;40133:7;40119:11;40154:254;40174:18;;;40154:254;;;40268:1;40216:28;40268:1;40245:7;;40253:1;40245:10;;;;;;;-1:-1:-1;;;;;40245:10:0;;;;;;;;;;;40216:40;;;;;;;;;;;;-1:-1:-1;40216:40:0;;;:54;;;;;-1:-1:-1;40208:78:0;;;;;-1:-1:-1;;;40208:78:0;;;;;;;;;;;;-1:-1:-1;;;40208:78:0;;;;;;;;;;;;;;;40356:8;-1:-1:-1;;;;;40338:35:0;;40374:7;;40382:1;40374:10;;;;;;;40394:4;;40338:62;;;;;;;-1:-1:-1;;;;;;40338:62:0;;;40374:10;;;;;;;;;-1:-1:-1;;;;;40374:10:0;;;40338:62;;;;40394:4;;;40338:62;;;;;;;;;;40374:10;;-1:-1:-1;40338:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40338:62:0;40295:28;:40;40324:7;;40332:1;40324:10;;;;;;;-1:-1:-1;;;;;40324:10:0;;;;;;;;;;;40295:40;;;;;;;;;;;;-1:-1:-1;40295:40:0;:105;;;;;;-1:-1:-1;;;;;;40295:105:0;;;;;;;;;;-1:-1:-1;40295:105:0;40194:3;40154:254;;34656:26;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34656:26:0;:::o;37159:197::-;37221:20;37244:30;37260:13;37244:15;:30::i;:::-;37283:4;;:27;;;-1:-1:-1;;;37283:27:0;;;;;;;;;;37221:53;;-1:-1:-1;;;;;;37283:4:0;;;;:13;;:27;;;;;:4;;:27;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37317:33:0;;:10;;-1:-1:-1;37317:33:0;;;;;-1:-1:-1;37337:12:0;;37317:33;;;;37337:12;37317:10;:33;;;;;;;;;;;;;;;;;;;;;37159:197;;:::o;39546:396::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;39673:17;;39712:15;;39705:22;::::1;39697:52;;;::::0;;-1:-1:-1;;;39697:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39697:52:0;;;;;;;;;;;;;::::1;;39761:9;39756:181;39780:10;:17;39776:1;:21;39756:181;;;39852:8;39861:1;39852:11;;;;;;;;;;;;;;39813:21;:36;39835:10;39846:1;39835:13;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39813:36:0::1;-1:-1:-1::0;;;;;39813:36:0::1;;;;;;;;;;;;;:50;;;;;;;;;;;;;;;;;;39917:8;39926:1;39917:11;;;;;;;;;;;;;;39877:52;;39902:10;39913:1;39902:13;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39877:52:0::1;;;;;;;;;;;39799:3;;39756:181;;20643:79:::0;20681:7;20708:6;-1:-1:-1;;;;;20708:6:0;20643:79;:::o;51666:674::-;51775:16;51800:21;51830:14;51853:19;51891:20;51913:18;51937:27;51953:10;51937:15;:27::i;:::-;-1:-1:-1;;;;;51937:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51937:41:0;;;;;;;-1:-1:-1;;;;;51890:88:0;;;;-1:-1:-1;51890:88:0;;-1:-1:-1;51985:17:0;52005:68;52035:11;51890:88;;52005:29;:68::i;:::-;51985:88;;52106:21;52117:9;52106:10;:21::i;:::-;52082:45;;-1:-1:-1;52082:45:0;-1:-1:-1;52140:11:0;;52136:108;;52173:63;52203:6;52211:10;52223:12;52173:29;:63::i;:::-;52162:74;;52136:108;52266:68;52296:11;52309:10;52321:12;52266:29;:68::i;:::-;52250:84;;51666:674;;;;;;;;;;:::o;34780:53::-;;;;;;;;;;;;;;;:::o;34687:27::-;;;;;;;;;;34838:63;;;;;;;;;;;;-1:-1:-1;;;;;34838:63:0;;:::o;36973:180::-;37053:4;;;;;;;;;-1:-1:-1;;;;;37053:4:0;-1:-1:-1;;;;;37053:12:0;;37074:9;37053:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37096:51;37121:9;37132:14;37096:24;:51::i;:::-;36973:180;:::o;42730:1139::-;42856:30;42895;42934:19;42962:21;43031:7;:14;-1:-1:-1;;;;;43017:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43017:29:0;;43001:45;;43083:7;:14;-1:-1:-1;;;;;43069:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43069:29:0;;43053:45;;43112:24;43142:4;;;;;;;;;-1:-1:-1;;;;;43142:4:0;-1:-1:-1;;;;;43142:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43142:22:0;;;;;43248:4;;:107;;-1:-1:-1;;;43248:107:0;;;;;;;;;;;;;;43343:4;43248:107;;;;;;43142:22;;-1:-1:-1;43173:28:0;;-1:-1:-1;;;;;43248:4:0;;;;:31;;:107;;;;;43142:22;;43248:107;;;;;;:4;:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43248:107:0;;;;;;;43422:4;;43248:107;43422:18;;-1:-1:-1;;;43422:18:0;;;;43248:107;;-1:-1:-1;43248:107:0;;-1:-1:-1;43364:17:0;;43384:57;;-1:-1:-1;;;;;43422:4:0;;;;:16;;:18;;;;;43248:107;43422:18;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43422:18:0;43384:33;:20;43409:7;43384:24;:33::i;:57::-;43364:77;;43464:1;43450:15;;43477:9;43472:392;43496:7;:14;43492:1;:18;43472:392;;;43559:4;;43575:10;;43545:55;;43592:7;;43545:42;;-1:-1:-1;;;;;43559:4:0;;:15;;43575:7;;43583:1;;43575:10;;;;;;;;;;;;43559:27;;;;;;;;;;;;;-1:-1:-1;;;;;43559:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43559:27:0;43545:9;;:13;:42::i;:55::-;43526:13;43540:1;43526:16;;;;;;;;;;;;;:74;;;;;43612:20;43634:18;43658:27;43674:7;43682:1;43674:10;;;;;;;43658:27;-1:-1:-1;;;;;43658:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43658:41:0;;;;;;;43757:16;;-1:-1:-1;;;;;43611:88:0;;;;-1:-1:-1;43611:88:0;;;-1:-1:-1;43727:73:0;;43757:13;;43771:1;;43757:16;;;;;;;;;;;;43775:12;43789:10;43727:29;:73::i;:::-;43708:13;43722:1;43708:16;;;;;;;;;;;;;:92;;;;;43823:33;43839:13;43853:1;43839:16;;;;;;;;;;;;;;43823:11;:15;;:33;;;;:::i;:::-;43809:47;-1:-1:-1;;;43512:3:0;;43472:392;;;;42730:1139;;;;;;;;;;:::o;38640:386::-;36389:10;;-1:-1:-1;;;;;36389:10:0;36375;:24;;:49;;;36417:7;:5;:7::i;:::-;-1:-1:-1;;;;;36403:21:0;:10;-1:-1:-1;;;;;36403:21:0;;36375:49;36367:77;;;;;-1:-1:-1;;;36367:77:0;;;;;;;;;;;;-1:-1:-1;;;36367:77:0;;;;;;;;;;;;;;;38824:22:::1;:9;38836:10:::0;;38824:22:::1;:::i;:::-;-1:-1:-1::0;38853:24:0::1;:10;38866:11:::0;;38853:24:::1;:::i;:::-;-1:-1:-1::0;38884:9:0::1;:22:::0;;-1:-1:-1;;;;;;38884:22:0;;::::1;-1:-1:-1::0;;;;;38884:22:0;;::::1;::::0;;::::1;::::0;;;38913:10:::1;:24:::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;38951:69:::1;::::0;;;;;;;;;;;38959:10:::1;::::0;38951:69:::1;::::0;38971:10;;38951:69;;38983:11;;;;38951:69;::::1;::::0;;::::1;::::0;;;;;38971:10;;38951:69;::::1;::::0;38971:10;38951:69;::::1;;::::0;;::::1;::::0;::::1;;-1:-1:-1::0;;38951:69:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;38951:69:0;;;::::1;::::0;;;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;38951:69:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;38951:69:0;;-1:-1:-1;;;;;;;38951:69:0::1;38640:386:::0;;;;;;:::o;48661:942::-;48782:75;-1:-1:-1;;;;;48782:35:0;;48818:10;48838:4;48845:11;48782:35;:75::i;:::-;48866:24;48893:27;48909:10;48893:15;:27::i;:::-;48866:54;;48928:20;48950:18;48974:9;-1:-1:-1;;;;;48974:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48974:23:0;;;;;;;-1:-1:-1;;;;;48927:70:0;;;;-1:-1:-1;48927:70:0;;-1:-1:-1;49004:17:0;49024:68;49054:11;48927:70;;49024:29;:68::i;:::-;49004:88;-1:-1:-1;49101:64:0;-1:-1:-1;;;;;49101:31:0;;49141:9;49153:11;49101:31;:64::i;:::-;49225:12;;;49195:1;49225:12;;;;;;;;;;-1:-1:-1;;;49172:66:0;;;;;;;;;;;;;;49218:4;49172:66;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49172:14:0;;;;;49199:9;;49225:12;;49172:66;;;;;;;;;;49225:12;49195:1;49172:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49250:21;49275;49286:9;49275:10;:21::i;:::-;49247:49;;;49303:23;49329:4;;;;;;;;;-1:-1:-1;;;;;49329:4:0;-1:-1:-1;;;;;49329:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49329:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49329:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49329:23:0;;;;;;;;;;;;-1:-1:-1;49329:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49303:49;;49364:21;49389:57;49413:13;49428:6;49436:9;49389:23;:57::i;:::-;49359:87;;;;49455:50;49480:9;49491:13;49455:24;:50::i;:::-;49519:78;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49519:78:0;;;49535:10;;49519:78;;;;;;;;;48661:942;;;;;;;;;;:::o;40593:2131::-;40754:29;;40830:15;40875:52;40889:37;40918:7;40889:24;:9;40903;40889:13;:24::i;:37::-;40875:9;;:13;:52::i;:::-;40863:64;;40987:39;41053:7;:14;-1:-1:-1;;;;;41029:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;40987:81;;41077:24;41121:23;41147:4;;;;;;;;;-1:-1:-1;;;;;41147:4:0;-1:-1:-1;;;;;41147:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41121:44;;41390:17;41419:95;41498:15;41419:74;41485:7;41419:61;41452:4;;;;;;;;;-1:-1:-1;;;;;41452:4:0;-1:-1:-1;;;;;41452:15:0;;41468:7;41476:1;41468:10;;;;;;;;;;;;;;41452:27;;;;;;;;;;;;;-1:-1:-1;;;;;41452:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41452:27:0;41419:28;:15;41439:7;41419:19;:28::i;:61::-;:65;;:74::i;:95::-;41390:124;;41530:9;41525:601;41549:7;:14;41545:1;:18;41525:601;;;41683:4;;41699:10;;41669:55;;41716:7;;41669:42;;-1:-1:-1;;;;;41683:4:0;;:15;;41699:7;;41707:1;;41699:10;;;;;41669:55;41639:12;41652:1;41639:15;;;;;;;;;;;;;;:27;;:85;;;;;41800:27;41816:7;41824:1;41816:10;;;;;;;41800:27;-1:-1:-1;;;;;41800:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41800:41:0;;;;;;;41738:15;;-1:-1:-1;;;;;41737:104:0;;;;;;;;41738:12;;41751:1;;41738:15;;;;;;;;;;;;:28;;41768:12;41781:1;41768:15;;;;;;;;;;;;;;:26;;41737:104;;;;;;;;;;41880:159;41921:12;41934:1;41921:15;;;;;;;;;;;;;;:27;;;41961:12;41974:1;41961:15;;;;;;;;;;;;;;:26;;;42000:12;42013:1;42000:15;;;;;;;;;;;;;;:28;;;41880;:159::i;:::-;41852:12;41865:1;41852:15;;;;;;;;;;;;;;:25;;:187;;;;;42069:47;42090:12;42103:1;42090:15;;;;;;;;;;;;;;:25;;;42069:16;:20;;:47;;;;:::i;:::-;42050:66;-1:-1:-1;41565:3:0;;41525:601;;;;40593:2131;;42270:7;:14;-1:-1:-1;;;;;42256:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42256:29:0;;42241:44;;42321:7;:14;-1:-1:-1;;;;;42307:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42307:29:0;;42292:44;;42348:9;42343:285;42367:7;:14;42363:1;:18;42343:285;;;42415:88;42495:7;42415:75;42429:60;42472:16;42429:38;42459:7;42429:12;42442:1;42429:15;;;;;;;;;;;;;;:25;;;:29;;:38;;;;:::i;:60::-;42415:9;;:13;:75::i;:88::-;42397:12;42410:1;42397:15;;;;;;;;;;;;;;;;;:106;42530:90;42612:7;42530:77;42562:44;42589:16;42530:77;42562:9;42612:7;42562:13;:22::i;:44::-;42530:12;42543:1;42530:15;;;;;;;;;;;;;;:27;;;:31;;:77;;;;:::i;:90::-;42512:12;42525:1;42512:15;;;;;;;;;;;;;;;;;:108;42383:3;;42343:285;;;-1:-1:-1;42690:4:0;;42706:10;;42646:72;;-1:-1:-1;;;;;42690:4:0;;:15;;42706:7;;42690:4;;42706:10;;;;;;;;;;42690:27;;;;;;;;;;;;;-1:-1:-1;;;;;42690:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42690:27:0;42669:15;;42646:39;;42669:12;;42682:1;;42669:15;;;;;;;;;;42646:4;;;;;;;;;-1:-1:-1;;;;;42646:4:0;-1:-1:-1;;;;;42646:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42646:18:0;;:22;:39::i;:72::-;42636:82;;40593:2131;;;;;;;;;:::o;34748:25::-;;;-1:-1:-1;;;;;34748:25:0;;:::o;49609:644::-;49693:14;49710:30;49726:13;49710:15;:30::i;:::-;49693:47;;49749:24;49776:27;49792:10;49776:15;:27::i;:::-;49749:54;;49813:20;49835:18;49859:9;-1:-1:-1;;;;;49859:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49859:23:0;;;;;;;-1:-1:-1;;;;;49812:70:0;;;;-1:-1:-1;49812:70:0;;-1:-1:-1;49889:16:0;49908:63;49938:6;49812:70;;49908:29;:63::i;:::-;49980:4;;49889:82;;-1:-1:-1;49980:45:0;;-1:-1:-1;;;;;49980:4:0;50006:9;50018:6;49980:17;:45::i;:::-;50086:12;;;50067:1;50086:12;;;;;;;;;;-1:-1:-1;;;50034:65:0;;;;;;;;;;;;;;50079:4;50034:65;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50034:14:0;;;;;50049:8;;50067:1;50086:12;;50034:65;;;;;;;;;;50086:12;50067:1;50034:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50108:53:0;;-1:-1:-1;;;;;;;;50108:31:0;;50140:10;50152:8;50108:31;:53::i;:::-;50175:72;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50175:72:0;;;50191:10;;50175:72;;;;;;;;;49609:644;;;;;;;:::o;34593:25::-;;;-1:-1:-1;;;;;34593:25:0;;:::o;21588:244::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21677:22:0;::::1;21669:73;;;;-1:-1:-1::0;;;21669:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21779:6;::::0;;21758:38:::1;::::0;-1:-1:-1;;;;;21758:38:0;;::::1;::::0;21779:6;::::1;::::0;-1:-1:-1;;;;;;;;;;;21758:38:0;::::1;21807:6;:17:::0;;-1:-1:-1;;;;;;21807:17:0::1;-1:-1:-1::0;;;;;21807:17:0;;;::::1;::::0;;;::::1;::::0;;21588:244::o;44612:2413::-;44729:1;44715:11;:15;44707:40;;;;;-1:-1:-1;;;44707:40:0;;;;;;;;;;;;-1:-1:-1;;;44707:40:0;;;;;;;;;;;;;;;44792:4;;:22;;;-1:-1:-1;;;44792:22:0;;;;44765:24;;-1:-1:-1;;;;;44792:4:0;;:20;;:22;;;;;;;;;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44792:22:0;;-1:-1:-1;;;;;;44827:39:0;;;44823:254;;44966:4;;44904:68;;;-1:-1:-1;;;44904:68:0;;-1:-1:-1;;;;;44966:4:0;;;44904:68;;;;;;44879:22;;44904:53;;;;;:68;;;;;;;;;;;;;;:53;:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44904:68:0;44991:4;;:18;;;-1:-1:-1;;;44991:18:0;;;;44904:68;;-1:-1:-1;44904:68:0;;44991:38;;45014:14;;-1:-1:-1;;;;;44991:4:0;;;;:16;;:18;;;;;44904:68;;44991:18;;;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44991:18:0;;:22;:38::i;:::-;:56;;44983:84;;;;;-1:-1:-1;;;44983:84:0;;;;;;;;;;;;-1:-1:-1;;;44983:84:0;;;;;;;;;;;;;;;44823:254;;44612:2413;45093:17;45112:18;45134:23;45145:11;45134:10;:23::i;:::-;45092:65;;;;45166:13;45182:59;45238:2;45182:51;45214:4;;;;;;;;;-1:-1:-1;;;;;45214:4:0;-1:-1:-1;;;;;45214:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45182:51;:55;;:59::i;:::-;45166:75;;45250:23;45276:4;;;;;;;;;-1:-1:-1;;;;;45276:4:0;-1:-1:-1;;;;;45276:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45276:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45276:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45276:23:0;;;;;;;;;;;;-1:-1:-1;45276:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45250:49;;45306:11;45320:6;:13;45306:27;;45342:39;45408:6;:13;-1:-1:-1;;;;;45384:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;45342:80;;45429:29;45475:6;:13;-1:-1:-1;;;;;45461:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45461:28:0;;45429:60;;45498:20;45534:9;45529:869;45553:3;45549:1;:7;45529:869;;;45572:24;45599:26;45615:6;45622:1;45615:9;;;;;;;45599:26;45572:53;;45699:9;-1:-1:-1;;;;;45699:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45699:23:0;;;;;;;45637:15;;-1:-1:-1;;;;;45636:86:0;;;;;;;;45637:12;;45650:1;;45637:15;;;;;;;;;;;;:28;;45667:12;45680:1;45667:15;;;;;;;;;;;;;;;;;;:26;;45636:86;;;;;45759:4;;45775:9;;45749:50;;45791:7;;45749:37;;-1:-1:-1;;;;;45759:4:0;;:15;;45775:6;;45782:1;;45775:9;;;;;;;;;;;;45759:26;;;;;;;;;;;;;-1:-1:-1;;;;;45759:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45759:26:0;45749:5;;:9;:37::i;:50::-;45731:12;45744:1;45731:15;;;;;;;;;;;;;:68;;;;;45836:139;45875:12;45888:1;45875:15;;;;;;;;;;;;;;45901:12;45914:1;45901:15;;;;;;;;;;;;;;:26;;;45938:12;45951:1;45938:15;;;;;;;45836:139;45808:12;45821:1;45808:15;;;;;;;;;;;;;;:25;;:167;;;;;45986:64;46012:9;46024:12;46037:1;46024:15;;;;;;;;;;;;;;;;;;;:25;;45986:4;;-1:-1:-1;;;;;45986:4:0;;:64;:17;:64::i;:::-;46061:9;-1:-1:-1;;;;;46061:14:0;;46076:12;46089:1;46076:15;;;;;;;;;;;;;;46101:1;46113:4;46130:1;-1:-1:-1;;;;;46120:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46120:12:0;;46061:72;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46061:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46157:43;46174:12;46187:1;46174:15;;;;;;;;;;;;;;:25;;;46157:12;:16;;:43;;;;:::i;:::-;46142:58;;46215:15;:26;46231:6;46238:1;46231:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46215:26:0;;;;;;;;;;;-1:-1:-1;46215:26:0;;;;46211:104;;;46269:6;46276:1;46269:9;;;;;;;;;;;;;;-1:-1:-1;;;;;46254:33:0;;46296:4;;;;;;;;;-1:-1:-1;;;;;46296:4:0;46303:1;46254:51;;;;;;;;;;;;;-1:-1:-1;;;;;46254:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46211:104:0;46340:6;46347:1;46340:9;;;;;;;;;;;;;;-1:-1:-1;;;;;46325:33:0;;46367:4;;;;;;;;;-1:-1:-1;;;;;46367:4:0;46374:12;46387:1;46374:15;;;;;;;;;;;;;;46325:65;;;;;;;;;;;;;-1:-1:-1;;;;;46325:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45558:3:0;;45529:869;;;-1:-1:-1;46441:4:0;;:22;;;-1:-1:-1;;;46441:22:0;;;;46409:24;;-1:-1:-1;;;;;46441:4:0;;:20;;:22;;;;;;;;;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46441:22:0;;;46537:4;;46441:22;46537:80;;-1:-1:-1;;;46537:80:0;;;;;;;;;;;;;;46611:4;46537:80;;;;;;46441:22;;-1:-1:-1;46471:29:0;;;;-1:-1:-1;;;;;46537:4:0;;:31;;:80;;;;;;;;;;;:4;:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46470:147;;;;46645:10;-1:-1:-1;;;;;46631:82:0;;46657:10;46669:9;46680:14;46696:16;46631:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46722:4;;;;;;;;;-1:-1:-1;;;;;46722:4:0;-1:-1:-1;;;;;46722:13:0;;46736:14;46752:12;46722:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46772:4:0;;:52;;-1:-1:-1;;;;;;46772:4:0;;-1:-1:-1;46790:10:0;46802:21;46772:17;:52::i;:::-;46833:15;46851:28;:10;46866:12;46851:14;:28::i;:::-;46833:46;-1:-1:-1;46890:11:0;;46886:134;;46912:4;;:22;;;-1:-1:-1;;;46912:22:0;;;;;;;;;;-1:-1:-1;;;;;46912:4:0;;;;:13;;:22;;;;;:4;;:22;;;;;;;;:4;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46943:28:0;;:10;;-1:-1:-1;46943:28:0;;;;;-1:-1:-1;46963:7:0;;46943:28;;;;46963:7;46943:10;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46985:27:0;;;;;;;;46992:10;;46985:27;;;;;;;;;;46886:134;44612:2413;;;;;;;;;;;;;;:::o;9569:422::-;9936:20;9975:8;;;9569:422::o;44456:150::-;-1:-1:-1;;;;;44564:35:0;;;44519:14;44564:35;;;:28;:35;;;;;;;;44456:150::o;31975:517::-;32068:14;32114:1;32103:8;:12;32095:68;;;;-1:-1:-1;;;32095:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32194:1;32182:9;:13;:31;;;;;32212:1;32199:10;:14;32182:31;32174:84;;;;-1:-1:-1;;;32174:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32269:20;32292:17;:8;32305:3;32292:12;:17::i;:::-;32269:40;-1:-1:-1;32320:14:0;32337:31;32269:40;32357:10;32337:19;:31::i;:::-;32320:48;-1:-1:-1;32379:16:0;32398:40;32422:15;32398:19;:9;32412:4;32398:13;:19::i;:::-;:23;;:40::i;:::-;32379:59;;32473:11;32461:9;:23;;;;;;;31975:517;-1:-1:-1;;;;;;;31975:517:0:o;15504:177::-;15614:58;;;-1:-1:-1;;;;;15614:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15614:58:0;-1:-1:-1;;;15614:58:0;;;15587:86;;15607:5;;15587:19;:86::i;2902:471::-;2960:7;3205:6;3201:47;;-1:-1:-1;3235:1:0;3228:8;;3201:47;3272:5;;;3276:1;3272;:5;:1;3296:5;;;;;:10;3288:56;;;;-1:-1:-1;;;3288:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3364:1;-1:-1:-1;2902:471:0;;;;;:::o;3849:132::-;3907:7;3934:39;3938:1;3941;3934:39;;;;;;;;;;;;;-1:-1:-1;;;3934:39:0;;;:3;:39::i;2012:136::-;2070:7;2097:43;2101:1;2104;2097:43;;;;;;;;;;;;;;;;;:3;:43::i;19199:106::-;19287:10;19199:106;:::o;47031:1002::-;47097:7;47113:23;47139:4;;;;;;;;;-1:-1:-1;;;;;47139:4:0;-1:-1:-1;;;;;47139:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47139:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47139:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47139:23:0;;;;;;;;;;;;-1:-1:-1;47139:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47113:49;;47169:11;47183:6;:13;47169:27;;47206:30;47238;47270:19;47291:21;47323:46;47347:13;47362:6;47323:23;:46::i;:::-;47378:4;;47205:164;;-1:-1:-1;47205:164:0;;-1:-1:-1;47205:164:0;-1:-1:-1;47205:164:0;-1:-1:-1;47378:63:0;;-1:-1:-1;;;;;47378:4:0;47400:10;47420:4;47427:13;47378:21;:63::i;:::-;47450:4;;:42;;;-1:-1:-1;;;47450:42:0;;-1:-1:-1;;;;;47450:4:0;;;:42;;;;;;;;;;;;;;:4;;:12;;:42;;;;;;;;;;;;;;:4;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47501:4:0;;:43;;;-1:-1:-1;;;47501:43:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47501:4:0;;;;:13;;47515;;47530;;47501:43;;;;;;47450:42;47501:43;;;;;;;;:4;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47558:9;47553:271;47577:3;47573:1;:7;47553:271;;;47596:24;47623:26;47639:6;47646:1;47639:9;;;;;;;47623:26;47596:53;;47658:76;47705:9;47717:13;47731:1;47717:16;;;;;;;;;;;;;;47673:6;47680:1;47673:9;;;;;;;47658:76;47743:9;-1:-1:-1;;;;;47743:14:0;;47766:1;47770:13;47784:1;47770:16;;;;;;;;;;;;;;47796:4;47813:1;-1:-1:-1;;;;;47803:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47803:12:0;;47743:73;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47743:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47582:3:0;;;;;-1:-1:-1;47553:271:0;;-1:-1:-1;;47553:271:0;;;47833:20;47855;47879:23;47890:11;47879:10;:23::i;:::-;47916:83;;;;;;;;;;;;;;;;;;;;;;;;;;47832:70;;-1:-1:-1;47832:70:0;;-1:-1:-1;47930:10:0;;47916:83;;;;;;;;;48015:12;47031:1002;-1:-1:-1;;;;;;;;;47031:1002:0:o;1548:181::-;1606:7;1638:5;;;1662:6;;;;1654:46;;;;;-1:-1:-1;;;1654:46:0;;;;;;;;;;;;-1:-1:-1;;;1654:46:0;;;;;;;;;;;;;;15689:205;15817:68;;;-1:-1:-1;;;;;15817:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15817:68:0;-1:-1:-1;;;15817:68:0;;;15790:96;;15810:5;;15790:19;:96::i;32613:472::-;32706:13;32752:1;32740:9;:13;32732:70;;;;-1:-1:-1;;;32732:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32833:1;32821:9;:13;:31;;;;;32851:1;32838:10;:14;32821:31;32813:84;;;;-1:-1:-1;;;32813:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32908:14;32925:34;32954:4;32925:24;:9;32939;32925:13;:24::i;:::-;:28;;:34::i;:::-;32908:51;-1:-1:-1;32970:16:0;32989:34;33019:3;32989:25;:10;33004:9;32989:14;:25::i;:34::-;32970:53;;33045:32;33075:1;33058:11;33046:9;:23;;;;;;;33045:29;:32::i;:::-;33034:43;32613:472;-1:-1:-1;;;;;;32613:472:0:o;29651:142::-;29703:6;29730;;;:30;;-1:-1:-1;;29745:5:0;;;29759:1;29754;29745:5;29754:1;29740:15;;;;;:20;29730:30;29722:63;;;;;-1:-1:-1;;;29722:63:0;;;;;;;;;;;;-1:-1:-1;;;29722:63:0;;;;;;;;;;;;;;29378:128;29462:5;;;29457:16;;;;29449:49;;;;;-1:-1:-1;;;29449:49:0;;;;;;;;;;;;-1:-1:-1;;;29449:49:0;;;;;;;;;;;;;;17809:761;18233:23;18259:69;18287:4;18259:69;;;;;;;;;;;;;;;;;18267:5;-1:-1:-1;;;;;18259:27:0;;;:69;;;;;:::i;:::-;18343:17;;18233:95;;-1:-1:-1;18343:21:0;18339:224;;18485:10;18474:30;;;;;;;;;;;;;;;-1:-1:-1;18474:30:0;18466:85;;;;-1:-1:-1;;;18466:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4477:278;4563:7;4598:12;4591:5;4583:28;;;;-1:-1:-1;;;4583:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4622:9;4638:1;4634;:5;;;;;;;4477:278;-1:-1:-1;;;;;4477:278:0:o;2451:192::-;2537:7;2573:12;2565:6;;;;2557:29;;;;-1:-1:-1;;;2557:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2609:5:0;;;2451:192::o;29514:129::-;29598:5;;;29593:16;;;;29585:50;;;;;-1:-1:-1;;;29585:50:0;;;;;;;;;;;;-1:-1:-1;;;29585:50:0;;;;;;;;;;;;;;12487:196;12590:12;12622:53;12645:6;12653:4;12659:1;12662:12;12622:22;:53::i;:::-;12615:60;12487:196;-1:-1:-1;;;;12487:196:0:o;13864:979::-;13994:12;14027:18;14038:6;14027:10;:18::i;:::-;14019:60;;;;;-1:-1:-1;;;14019:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14153:12;14167:23;14194:6;-1:-1:-1;;;;;14194:11:0;14214:8;14225:4;14194:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14194:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14152:78;;;;14245:7;14241:595;;;14276:10;-1:-1:-1;14269:17:0;;-1:-1:-1;14269:17:0;14241:595;14390:17;;:21;14386:439;;14653:10;14647:17;14714:15;14701:10;14697:2;14693:19;14686:44;14601:148;14789:20;;-1:-1:-1;;;14789:20:0;;;;;;;;;;;;;;;;;14796:12;;14789:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://bae98141df090726819481f352e40be58bfb214ed9e9a1a14d37442be74f22d0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.