ETH Price: $2,436.10 (-2.11%)
Gas: 7.79 Gwei

Contract

0x91AA1D4294FD16629Fe64C570574A550827b832f
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap Pipt To Eth118931222021-02-20 9:46:421325 days ago1613814402IN
0x91AA1D42...0827b832f
0 ETH0.19268707171
Swap Pipt To Eth116685502021-01-16 20:57:531360 days ago1610830673IN
0x91AA1D42...0827b832f
0 ETH0.0552187547.00000134
Swap Pipt To Eth116142712021-01-08 13:08:221368 days ago1610111302IN
0x91AA1D42...0827b832f
0 ETH0.15934377138
Swap Pipt To Eth115604022020-12-31 6:59:391376 days ago1609397979IN
0x91AA1D42...0827b832f
0 ETH0.1153810399
Swap Pipt To Eth115291542020-12-26 11:52:291381 days ago1608983549IN
0x91AA1D42...0827b832f
0 ETH0.0564609849
Swap Eth To Pipt114493682020-12-14 6:05:481393 days ago1607925948IN
0x91AA1D42...0827b832f
0.5 ETH0.0317510620
Swap Pipt To Eth114461622020-12-13 18:01:541394 days ago1607882514IN
0x91AA1D42...0827b832f
0 ETH0.0417025636.3
Swap Pipt To Eth114315942020-12-11 12:21:481396 days ago1607689308IN
0x91AA1D42...0827b832f
0 ETH0.0322411527.91792456
Swap Pipt To Eth114259612020-12-10 15:25:291397 days ago1607613929IN
0x91AA1D42...0827b832f
0 ETH0.0553499747
Swap Pipt To Eth114213722020-12-09 22:20:161398 days ago1607552416IN
0x91AA1D42...0827b832f
0 ETH0.0557212348
Swap Pipt To Eth114190442020-12-09 13:48:341398 days ago1607521714IN
0x91AA1D42...0827b832f
0 ETH0.027601724
Swap Pipt To Eth114124732020-12-08 13:43:131399 days ago1607434993IN
0x91AA1D42...0827b832f
0 ETH0.0415537536.00000145
Swap Pipt To Eth114102842020-12-08 5:40:111399 days ago1607406011IN
0x91AA1D42...0827b832f
0 ETH0.0509454444
Swap Eth To Pipt114102162020-12-08 5:24:321399 days ago1607405072IN
0x91AA1D42...0827b832f
50 ETH0.0688762344
Swap Pipt To Eth114073222020-12-07 18:31:331400 days ago1607365893IN
0x91AA1D42...0827b832f
0 ETH0.0444318438
Swap Pipt To Eth114051852020-12-07 10:45:551400 days ago1607337955IN
0x91AA1D42...0827b832f
0 ETH0.0112230945
Swap Pipt To Eth114025132020-12-07 0:51:061401 days ago1607302266IN
0x91AA1D42...0827b832f
0 ETH0.0392452134
Swap Pipt To Eth114008252020-12-06 18:41:171401 days ago1607280077IN
0x91AA1D42...0827b832f
0 ETH0.0190712617
Swap Pipt To Eth113956972020-12-05 23:52:111402 days ago1607212331IN
0x91AA1D42...0827b832f
0 ETH0.0277162324
Swap Pipt To Eth113947912020-12-05 20:22:021402 days ago1607199722IN
0x91AA1D42...0827b832f
0 ETH0.0191426617
Swap Eth To Pipt113944862020-12-05 19:15:111402 days ago1607195711IN
0x91AA1D42...0827b832f
2.5 ETH0.0382449224.2
Swap Pipt To Eth113916612020-12-05 8:51:451402 days ago1607158305IN
0x91AA1D42...0827b832f
0 ETH0.0321007428.00000145
Swap Eth To Pipt113915692020-12-05 8:30:031402 days ago1607157003IN
0x91AA1D42...0827b832f
3.5 ETH0.0410895926
Swap Pipt To Eth113902072020-12-05 3:31:241402 days ago1607139084IN
0x91AA1D42...0827b832f
0 ETH0.0379122133
Swap Pipt To Eth113881952020-12-04 19:55:401403 days ago1607111740IN
0x91AA1D42...0827b832f
0 ETH0.0245544321
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
118931222021-02-20 9:46:421325 days ago1613814402
0x91AA1D42...0827b832f
2.0490361 ETH
118931222021-02-20 9:46:421325 days ago1613814402
0x91AA1D42...0827b832f
2.0490361 ETH
116685502021-01-16 20:57:531360 days ago1610830673
0x91AA1D42...0827b832f
0.61062396 ETH
116685502021-01-16 20:57:531360 days ago1610830673
0x91AA1D42...0827b832f
0.61062396 ETH
116142712021-01-08 13:08:221368 days ago1610111302
0x91AA1D42...0827b832f
1.82503344 ETH
116142712021-01-08 13:08:221368 days ago1610111302
0x91AA1D42...0827b832f
1.82503344 ETH
115604022020-12-31 6:59:391376 days ago1609397979
0x91AA1D42...0827b832f
2.24522869 ETH
115604022020-12-31 6:59:391376 days ago1609397979
0x91AA1D42...0827b832f
2.24522869 ETH
115291542020-12-26 11:52:291381 days ago1608983549
0x91AA1D42...0827b832f
2.65521619 ETH
115291542020-12-26 11:52:291381 days ago1608983549
0x91AA1D42...0827b832f
2.65521619 ETH
114493682020-12-14 6:05:481393 days ago1607925948
0x91AA1D42...0827b832f
0.00498649 ETH
114493682020-12-14 6:05:481393 days ago1607925948
0x91AA1D42...0827b832f
0.00498649 ETH
114493682020-12-14 6:05:481393 days ago1607925948
0x91AA1D42...0827b832f
0.5 ETH
114461622020-12-13 18:01:541394 days ago1607882514
0x91AA1D42...0827b832f
0.33875446 ETH
114461622020-12-13 18:01:541394 days ago1607882514
0x91AA1D42...0827b832f
0.33875446 ETH
114315942020-12-11 12:21:481396 days ago1607689308
0x91AA1D42...0827b832f
1.17681726 ETH
114315942020-12-11 12:21:481396 days ago1607689308
0x91AA1D42...0827b832f
1.17681726 ETH
114259612020-12-10 15:25:291397 days ago1607613929
0x91AA1D42...0827b832f
0.01051443 ETH
114259612020-12-10 15:25:291397 days ago1607613929
0x91AA1D42...0827b832f
0.01051443 ETH
114213722020-12-09 22:20:161398 days ago1607552416
0x91AA1D42...0827b832f
4.602394 ETH
114213722020-12-09 22:20:161398 days ago1607552416
0x91AA1D42...0827b832f
4.602394 ETH
114190442020-12-09 13:48:341398 days ago1607521714
0x91AA1D42...0827b832f
1.0733988 ETH
114190442020-12-09 13:48:341398 days ago1607521714
0x91AA1D42...0827b832f
1.0733988 ETH
114124732020-12-08 13:43:131399 days ago1607434993
0x91AA1D42...0827b832f
1.10493288 ETH
114124732020-12-08 13:43:131399 days ago1607434993
0x91AA1D42...0827b832f
1.10493288 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EthPiptSwap

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-22
*/

/*
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: contracts/interfaces/BPoolInterface.sol

pragma solidity 0.6.12;

abstract contract BPoolInterface {
    function approve(address spender, uint256 amount) external virtual returns (bool);
    function transfer(address recipient, uint256 amount) external virtual returns (bool);
    function transferFrom(address spender, address recipient, uint256 amount) external virtual returns (bool);

    function joinPool(uint poolAmountOut, uint[] calldata maxAmountsIn) external virtual;
    function exitPool(uint poolAmountIn, uint[] calldata minAmountsOut) external virtual;
    function swapExactAmountIn(address, uint, address, uint, uint) external virtual returns (uint, uint);
    function swapExactAmountOut(address, uint, address, uint, uint) external virtual returns (uint, uint);
    function calcInGivenOut(uint, uint, uint, uint, uint, uint) public pure virtual returns (uint);
    function getDenormalizedWeight(address) external view virtual returns (uint);
    function getBalance(address) external view virtual returns (uint);
    function getSwapFee() external view virtual returns (uint);
    function totalSupply() external view virtual returns (uint);
    function balanceOf(address) external view virtual returns (uint);
    function getTotalDenormalizedWeight() external view virtual returns (uint);

    function getCommunityFee() external view virtual returns (uint, uint, uint, address);
    function calcAmountWithCommunityFee(uint, uint, address) external view virtual returns (uint, uint);
    function getRestrictions() external view virtual returns (address);

    function getCurrentTokens() external view virtual returns (address[] memory tokens);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

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: contracts/interfaces/TokenInterface.sol

pragma solidity 0.6.12;


abstract contract TokenInterface is IERC20 {
    function deposit() public virtual payable;
    function withdraw(uint) public virtual;
}

// File: contracts/IPoolRestrictions.sol

pragma solidity 0.6.12;


interface IPoolRestrictions {
    function getMaxTotalSupply(address _pool) external virtual view returns(uint256);
    function isVotingSignatureAllowed(address _votingAddress, bytes4 _signature) external virtual view returns(bool);
    function isWithoutFee(address _addr) external virtual view returns(bool);
}

// File: contracts/uniswapv2/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint 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 (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    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 (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: contracts/uniswapv2/libraries/SafeMath.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/uniswapv2/libraries/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: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// 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/EthPiptSwap.sol

pragma solidity 0.6.12;











contract EthPiptSwap is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for TokenInterface;

    TokenInterface public weth;
    TokenInterface public cvp;
    BPoolInterface public pipt;

    uint256[] public feeLevels;
    uint256[] public feeAmounts;
    address public feePayout;
    address public feeManager;

    mapping(address => address) public uniswapEthPairByTokenAddress;
    mapping(address => bool) public reApproveTokens;
    uint256 public defaultSlippage;

    struct CalculationStruct {
        uint256 tokenAmount;
        uint256 ethAmount;
        uint256 tokenReserve;
        uint256 ethReserve;
    }

    event SetTokenSetting(address indexed token, bool reApprove, address 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 ethSwapAmount, uint256 ethFeeAmount, uint256 piptAmount, uint256 piptCommunityFee);
    event OddEth(address indexed user, uint256 amount);
    event PiptToEthSwap(address indexed user, uint256 piptSwapAmount, uint256 piptCommunityFee, uint256 ethOutAmount, uint256 ethFeeAmount);
    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);

        swapEthToPiptByPoolOut(poolAmountOut);
    }

    function swapEthToPiptByPoolOut(uint256 _poolAmountOut) public payable {
        {
            address poolRestrictions = pipt.getRestrictions();
            if(address(poolRestrictions) != address(0)) {
                uint maxTotalSupply = IPoolRestrictions(poolRestrictions).getMaxTotalSupply(address(pipt));
                require(pipt.totalSupply().add(_poolAmountOut) <= maxTotalSupply, "PIPT_MAX_SUPPLY");
            }
        }

        require(msg.value > 0, "ETH required");
        weth.deposit.value(msg.value)();

        (uint256 feeAmount, uint256 swapAmount) = calcEthFee(msg.value);

        uint 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.transfer(address(tokenPair), calculations[i].ethAmount);

            tokenPair.swap(tokensInPipt[i], uint(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]);
        }

        (, uint communityJoinFee, ,) = pipt.getCommunityFee();
        (uint poolAmountOutAfterFee, uint poolAmountOutFee) = pipt.calcAmountWithCommunityFee(
            _poolAmountOut,
            communityJoinFee,
            address(this)
        );

        emit EthToPiptSwap(msg.sender, swapAmount, feeAmount, _poolAmountOut, poolAmountOutFee);

        pipt.joinPool(_poolAmountOut, tokensInPipt);
        pipt.transfer(msg.sender, poolAmountOutAfterFee);

        uint256 ethDiff = swapAmount.sub(totalEthSwap);
        if (ethDiff > 0) {
            weth.withdraw(ethDiff);
            msg.sender.transfer(ethDiff);
            emit OddEth(msg.sender, ethDiff);
        }
    }

    function swapPiptToEth(uint256 _poolAmountIn) public {
        address[] memory tokens = pipt.getCurrentTokens();
        uint256 len = tokens.length;

        (
            uint256[] memory tokensOutPipt,
            uint256[] memory ethOutUniswap,
            uint256 totalEthOut,
            uint256 poolAmountFee
        ) = calcSwapPiptToEthInputs(_poolAmountIn, tokens);

        pipt.transferFrom(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]).transfer(address(tokenPair), tokensOutPipt[i]);
            tokenPair.swap(uint256(0), ethOutUniswap[i], address(this), new bytes(0));
        }

        (uint256 ethFeeAmount, uint256 ethOutAmount) = calcEthFee(totalEthOut);

        weth.withdraw(ethOutAmount);
        msg.sender.transfer(ethOutAmount);

        emit PiptToEthSwap(msg.sender, _poolAmountIn, poolAmountFee, ethOutAmount, ethFeeAmount);
    }

    function convertOddToCvpAndSendToPayout(address[] memory oddTokens) public {
        require(msg.sender == tx.origin && !Address.isContract(msg.sender), "Call from contract not allowed");

        uint256 len = oddTokens.length;

        uint256 totalEthSwap = 0;
        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]).transfer(address(tokenPair), tokenBalance);

            tokenPair.swap(uint(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.transfer(address(cvpPair), wethBalance);

        cvpPair.swap(cvpOut, uint(0), address(this), new bytes(0));

        cvp.transfer(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 are not equal");
        for(uint 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 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 (uint 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 (uint 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);

        (, , uint communityExitFee,) = pipt.getCommunityFee();

        uint poolAmountInAfterFee;
        (
            poolAmountInAfterFee,
            poolAmountFee
        ) = pipt.calcAmountWithCommunityFee(_poolAmountIn, communityExitFee, address(this));

        uint256 poolRatio = poolAmountInAfterFee.mul(1 ether).div(pipt.totalSupply());

        totalEthOut = 0;
        for (uint 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 ethValue) public view returns(uint256 ethFee, uint256 ethAfterFee) {
        ethFee = 0;
        uint len = feeLevels.length;
        for(uint i = 0; i < len; i++) {
            if(ethValue >= feeLevels[i]) {
                ethFee = ethValue.mul(feeAmounts[i]).div(1 ether);
                break;
            }
        }
        ethAfterFee = ethValue.sub(ethFee);
    }

    function getFeeLevels() public view returns(uint256[] memory) {
        return feeLevels;
    }

    function getFeeAmounts() public view returns(uint256[] memory) {
        return feeAmounts;
    }

    function uniswapPairFor(address token) internal view returns(IUniswapV2Pair) {
        return IUniswapV2Pair(uniswapEthPairByTokenAddress[token]);
    }
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"uint256","name":"ethSwapAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethFeeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"piptAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"piptCommunityFee","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":false,"internalType":"uint256","name":"piptSwapAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"piptCommunityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethOutAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethFeeAmount","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":false,"internalType":"bool","name":"reApprove","type":"bool"},{"indexed":false,"internalType":"address","name":"uniswapPair","type":"address"}],"name":"SetTokenSetting","type":"event"},{"inputs":[{"internalType":"uint256","name":"ethValue","type":"uint256"}],"name":"calcEthFee","outputs":[{"internalType":"uint256","name":"ethFee","type":"uint256"},{"internalType":"uint256","name":"ethAfterFee","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":"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":[],"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":"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":"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":[],"name":"weth","outputs":[{"internalType":"contract TokenInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200404138038062004041833981810160405260808110156200003757600080fd5b508051602082015160408301516060909301519192909160006200005a62000103565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b031991821617909155600280549486169482169490941790935560038054928516928416929092179091556007805491909316911617905566470de4df820000600a5562000107565b3390565b613f2a80620001176000396000f3fe60806040526004361061016a5760003560e01c8063715018a6116100d1578063b38671181161008a578063c6135f4311610064578063c6135f43146108ea578063d0fb020314610a41578063d8f14f2b14610a56578063f2fde38b14610a6b57610188565b8063b386711814610695578063b4b48e55146106b2578063bbf8eadc1461080e57610188565b8063715018a6146105ba578063857af01b146105cf5780638b01808c146105f95780638da5cb5b14610623578063a2e6413714610638578063a45098f71461066257610188565b80633fc8cef3116101235780633fc8cef314610370578063433941901461038557806344bd1afd1461039a5780634d923532146103c45780635487404a1461057657806364c667ee1461059d57610188565b8063032a96681461018d57806307953a93146101d45780630b2a9b00146102395780632828eea8146102e75780633929aa591461032a5780633eb26b031461035b57610188565b366101885733321461017b57610186565b610186600a54610a9e565b005b600080fd5b34801561019957600080fd5b506101c0600480360360208110156101b057600080fd5b50356001600160a01b0316610be5565b604080519115158252519081900360200190f35b3480156101e057600080fd5b506101e9610bfa565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561022557818101518382015260200161020d565b505050509050019250505060405180910390f35b34801561024557600080fd5b506101866004803603602081101561025c57600080fd5b810190602081018135600160201b81111561027657600080fd5b82018360208201111561028857600080fd5b803590602001918460208302840111600160201b831117156102a957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610c52945050505050565b3480156102f357600080fd5b506103116004803603602081101561030a57600080fd5b50356112f9565b6040805192835260208301919091528051918290030190f35b34801561033657600080fd5b5061033f611387565b604080516001600160a01b039092168252519081900360200190f35b34801561036757600080fd5b506101e9611396565b34801561037c57600080fd5b5061033f6113ec565b34801561039157600080fd5b5061033f6113fb565b3480156103a657600080fd5b50610186600480360360208110156103bd57600080fd5b503561140a565b3480156103d057600080fd5b50610186600480360360608110156103e757600080fd5b810190602081018135600160201b81111561040157600080fd5b82018360208201111561041357600080fd5b803590602001918460208302840111600160201b8311171561043457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561048357600080fd5b82018360208201111561049557600080fd5b803590602001918460208302840111600160201b831117156104b657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561050557600080fd5b82018360208201111561051757600080fd5b803590602001918460208302840111600160201b8311171561053857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061149d945050505050565b34801561058257600080fd5b5061058b6116cb565b60408051918252519081900360200190f35b610186600480360360208110156105b357600080fd5b5035610a9e565b3480156105c657600080fd5b506101866116d1565b3480156105db57600080fd5b5061058b600480360360208110156105f257600080fd5b5035611773565b34801561060557600080fd5b506101866004803603602081101561061c57600080fd5b5035611791565b34801561062f57600080fd5b5061033f611d77565b34801561064457600080fd5b5061058b6004803603602081101561065b57600080fd5b5035611d86565b34801561066e57600080fd5b5061033f6004803603602081101561068557600080fd5b50356001600160a01b0316611d93565b610186600480360360208110156106ab57600080fd5b5035611dae565b3480156106be57600080fd5b50610767600480360360408110156106d557600080fd5b81359190810190604081016020820135600160201b8111156106f657600080fd5b82018360208201111561070857600080fd5b803590602001918460208302840111600160201b8311171561072957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612bdb945050505050565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b838110156107b757818101518382015260200161079f565b50505050905001838103825286818151815260200191508051906020019060200280838360005b838110156107f65781810151838201526020016107de565b50505050905001965050505050505060405180910390f35b34801561081a57600080fd5b506101866004803603608081101561083157600080fd5b810190602081018135600160201b81111561084b57600080fd5b82018360208201111561085d57600080fd5b803590602001918460208302840111600160201b8311171561087e57600080fd5b919390929091602081019035600160201b81111561089b57600080fd5b8201836020820111156108ad57600080fd5b803590602001918460208302840111600160201b831117156108ce57600080fd5b91935091506001600160a01b0381358116916020013516612fe0565b3480156108f657600080fd5b506109a16004803603606081101561090d57600080fd5b81359190810190604081016020820135600160201b81111561092e57600080fd5b82018360208201111561094057600080fd5b803590602001918460208302840111600160201b8311171561096157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550509135925061313f915050565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b838110156109eb5781810151838201526020016109d3565b50505050905001838103825285818151815260200191508051906020019060200280838360005b83811015610a2a578181015183820152602001610a12565b505050509050019550505050505060405180910390f35b348015610a4d57600080fd5b5061033f613724565b348015610a6257600080fd5b5061033f613733565b348015610a7757600080fd5b5061018660048036036020811015610a8e57600080fd5b50356001600160a01b0316613742565b6000610aa9346112f9565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b158015610afc57600080fd5b505afa158015610b10573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610b3957600080fd5b8101908080516040519392919084600160201b821115610b5857600080fd5b908301906020820185811115610b6d57600080fd5b82518660208202830111600160201b82111715610b8957600080fd5b82525081516020918201928201910280838360005b83811015610bb6578181015183820152602001610b9e565b5050505090500160405250505090506000610bd283838661313f565b92505050610bdf81611dae565b50505050565b60096020526000908152604090205460ff1681565b60606004805480602002602001604051908101604052809291908181526020018280548015610c4857602002820191906000526020600020905b815481526020019060010190808311610c34575b5050505050905090565b3332148015610c675750610c653361383a565b155b610cb8576040805162461bcd60e51b815260206004820152601e60248201527f43616c6c2066726f6d20636f6e7472616374206e6f7420616c6c6f7765640000604482015290519081900360640190fd5b80516000805b82811015610f95576000848281518110610cd457fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d2857600080fd5b505afa158015610d3c573d6000803e3d6000fd5b505050506040513d6020811015610d5257600080fd5b50518551909150600090610d7990879085908110610d6c57fe5b6020026020010151613876565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610db757600080fd5b505afa158015610dcb573d6000803e3d6000fd5b505050506040513d6060811015610de157600080fd5b5080516020909101516001600160701b0391821693501690506000610e07858484613894565b9050888681518110610e1557fe5b60200260200101516001600160a01b031663a9059cbb85876040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e7357600080fd5b505af1158015610e87573d6000803e3d6000fd5b505050506040513d6020811015610e9d57600080fd5b5050604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b83811015610f1d578181015183820152602001610f05565b50505050905090810190601f168015610f4a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610f6c57600080fd5b505af1158015610f80573d6000803e3d6000fd5b505060019097019650610cbe95505050505050565b50600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d602081101561100b57600080fd5b5051600254909150600090611028906001600160a01b0316613876565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561106657600080fd5b505afa15801561107a573d6000803e3d6000fd5b505050506040513d606081101561109057600080fd5b5080516020909101516001600160701b03918216935016905060006110b6858385613894565b6001546040805163a9059cbb60e01b81526001600160a01b038881166004830152602482018a9052915193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561110e57600080fd5b505af1158015611122573d6000803e3d6000fd5b505050506040513d602081101561113857600080fd5b5050604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b838110156111b95781810151838201526020016111a1565b50505050905090810190601f1680156111e65780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561120857600080fd5b505af115801561121c573d6000803e3d6000fd5b50506002546006546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101879052905191909216935063a9059cbb925060448083019260209291908290030181600087803b15801561127957600080fd5b505af115801561128d573d6000803e3d6000fd5b505050506040513d60208110156112a357600080fd5b5050600654604080518781526020810184905281516001600160a01b03909316927f85dc9ac52b6013481d4ffbf17eacd0201080b84284b03e133365bf5736f87d75929181900390910190a25050505050505050565b6004546000908190815b81811015611374576004818154811061131857fe5b9060005260206000200154851061136c57611365670de0b6b3a764000061135f6005848154811061134557fe5b90600052602060002001548861396c90919063ffffffff16565b906139ce565b9350611374565b600101611303565b5061137f8484613a10565b915050915091565b6003546001600160a01b031681565b60606005805480602002602001604051908101604052809291908181526020018280548015610c485760200282019190600052602060002090815481526020019060010190808311610c34575050505050905090565b6001546001600160a01b031681565b6006546001600160a01b031681565b611412613a52565b6000546001600160a01b03908116911614611462576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b600a8190556040805182815290517f736741f2e67b4d201474b6dba54baed127c2ebe4b99e751e0ef45afc5c6ee5ac9181900360200190a150565b6114a5613a52565b6000546001600160a01b039081169116146114f5576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b82518251811480156115075750815181145b611550576040805162461bcd60e51b815260206004820152601560248201527413195b99dd1a1cc8185c99481b9bdd08195c5d585b605a1b604482015290519081900360640190fd5b60005b84518110156116c45783818151811061156857fe5b60200260200101516008600087848151811061158057fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508281815181106115d857fe5b6020026020010151600960008784815181106115f057fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555084818151811061163b57fe5b60200260200101516001600160a01b03167f9b37efc6175537fc5ac9b6bf56a5f4eaf0dc4f40f8116b36837f7fed9056e8db84838151811061167957fe5b602002602001015186848151811061168d57fe5b6020026020010151604051808315158152602001826001600160a01b031681526020019250505060405180910390a2600101611553565b5050505050565b600a5481565b6116d9613a52565b6000546001600160a01b03908116911614611729576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004818154811061178057fe5b600091825260209091200154905081565b6003546040805163cc77828d60e01b815290516060926001600160a01b03169163cc77828d916004808301926000929190829003018186803b1580156117d657600080fd5b505afa1580156117ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561181357600080fd5b8101908080516040519392919084600160201b82111561183257600080fd5b90830190602082018581111561184757600080fd5b82518660208202830111600160201b8211171561186357600080fd5b82525081516020918201928201910280838360005b83811015611890578181015183820152602001611878565b5050505090500160405250505090506000815190506060806000806118b58787612bdb565b600354604080516323b872dd60e01b8152336004820152306024820152604481018e9052905195995093975091955093506001600160a01b0316916323b872dd916064808201926020929091908290030181600087803b15801561191857600080fd5b505af115801561192c573d6000803e3d6000fd5b505050506040513d602081101561194257600080fd5b50506003546040805163095ea7b360e01b81526001600160a01b0390921660048301819052602483018a90529051909163095ea7b39160448083019260209291908290030181600087803b15801561199957600080fd5b505af11580156119ad573d6000803e3d6000fd5b505050506040513d60208110156119c357600080fd5b50506003546040805163b02f0b7360e01b8152600481018a8152602482019283528751604483015287516001600160a01b039094169363b02f0b73938c938a93926064909101906020858101910280838360005b83811015611a2f578181015183820152602001611a17565b505050509050019350505050600060405180830381600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b5050505060005b85811015611c7e576000611a89888381518110610d6c57fe5b9050878281518110611a9757fe5b60200260200101516001600160a01b031663a9059cbb82888581518110611aba57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611b0857600080fd5b505af1158015611b1c573d6000803e3d6000fd5b505050506040513d6020811015611b3257600080fd5b505084516001600160a01b0382169063022c0d9f90600090889086908110611b5657fe5b602002602001015130600067ffffffffffffffff81118015611b7757600080fd5b506040519080825280601f01601f191660200182016040528015611ba2576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611c0a578181015183820152602001611bf2565b50505050905090810190601f168015611c375780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015611c5957600080fd5b505af1158015611c6d573d6000803e3d6000fd5b505060019093019250611a70915050565b50600080611c8b846112f9565b60015460408051632e1a7d4d60e01b81526004810184905290519395509193506001600160a01b031691632e1a7d4d9160248082019260009290919082900301818387803b158015611cdc57600080fd5b505af1158015611cf0573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015611d21573d6000803e3d6000fd5b50604080518a81526020810185905280820183905260608101849052905133917f32f099d0ac2a3a3a9b94fdb99b030574e3065fa12da504405e6262c1ae558521919081900360800190a2505050505050505050565b6000546001600160a01b031690565b6005818154811061178057fe5b6008602052600090815260409020546001600160a01b031681565b600354604080516318832b9760e31b815290516000926001600160a01b03169163c4195cb8916004808301926020929190829003018186803b158015611df357600080fd5b505afa158015611e07573d6000803e3d6000fd5b505050506040513d6020811015611e1d57600080fd5b505190506001600160a01b03811615611f73576003546040805163afff324960e01b81526001600160a01b039283166004820152905160009284169163afff3249916024808301926020929190829003018186803b158015611e7e57600080fd5b505afa158015611e92573d6000803e3d6000fd5b505050506040513d6020811015611ea857600080fd5b5051600354604080516318160ddd60e01b815290519293508392611f2c9287926001600160a01b03909116916318160ddd91600480820192602092909190829003018186803b158015611efa57600080fd5b505afa158015611f0e573d6000803e3d6000fd5b505050506040513d6020811015611f2457600080fd5b505190613a56565b1115611f71576040805162461bcd60e51b815260206004820152600f60248201526e504950545f4d41585f535550504c5960881b604482015290519081900360640190fd5b505b5060003411611fb8576040805162461bcd60e51b815260206004820152600c60248201526b115512081c995c5d5a5c995960a21b604482015290519081900360640190fd5b600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561200857600080fd5b505af115801561201c573d6000803e3d6000fd5b505050505060008061202d346112f9565b9150915060006120cd600a6120c7600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561208957600080fd5b505afa15801561209d573d6000803e3d6000fd5b505050506040513d60208110156120b357600080fd5b505161135f88670de0b6b3a764000061396c565b90613a56565b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561211f57600080fd5b505afa158015612133573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561215c57600080fd5b8101908080516040519392919084600160201b82111561217b57600080fd5b90830190602082018581111561219057600080fd5b82518660208202830111600160201b821117156121ac57600080fd5b82525081516020918201928201910280838360005b838110156121d95781810151838201526020016121c1565b5050505090500160405250505090506000815190506060825167ffffffffffffffff8111801561220857600080fd5b5060405190808252806020026020018201604052801561224257816020015b61222f613d86565b8152602001906001900390816122275790505b5090506060835167ffffffffffffffff8111801561225f57600080fd5b50604051908082528060200260200182016040528015612289578160200160208202803683370190505b5090506000805b848110156128435760006122a9878381518110610d6c57fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156122e457600080fd5b505afa1580156122f8573d6000803e3d6000fd5b505050506040513d606081101561230e57600080fd5b50805160209091015186516001600160701b03928316929091169087908590811061233557fe5b602002602001015160400187858151811061234c57fe5b60209081029190910101516060019190915252600354875161240a91670de0b6b3a76400009161135f916001600160a01b03169063f8b2cb4f908c908890811061239257fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156123d757600080fd5b505afa1580156123eb573d6000803e3d6000fd5b505050506040513d602081101561240157600080fd5b50518b9061396c565b84838151811061241657fe5b60200260200101818152505061246e84838151811061243157fe5b602002602001015186848151811061244557fe5b60200260200101516060015187858151811061245d57fe5b602002602001015160400151613ab0565b85838151811061247a57fe5b602090810291909101810151015260015485516001600160a01b039091169063a9059cbb9083908890869081106124ad57fe5b6020026020010151602001516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156124ff57600080fd5b505af1158015612513573d6000803e3d6000fd5b505050506040513d602081101561252957600080fd5b505083516001600160a01b0382169063022c0d9f9086908590811061254a57fe5b6020026020010151600030600067ffffffffffffffff8111801561256d57600080fd5b506040519080825280601f01601f191660200182016040528015612598576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126005781810151838201526020016125e8565b50505050905090810190601f16801561262d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561264f57600080fd5b505af1158015612663573d6000803e3d6000fd5b5050505061269185838151811061267657fe5b60200260200101516020015184613a5690919063ffffffff16565b9250600960008884815181106126a357fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff161561277c578682815181106126db57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b031660006040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561274f57600080fd5b505af1158015612763573d6000803e3d6000fd5b505050506040513d602081101561277957600080fd5b50505b86828151811061278857fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b03168685815181106127c057fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561280e57600080fd5b505af1158015612822573d6000803e3d6000fd5b505050506040513d602081101561283857600080fd5b505050600101612290565b50600354604080516390ad688b60e01b815290516000926001600160a01b0316916390ad688b916004808301926080929190829003018186803b15801561288957600080fd5b505afa15801561289d573d6000803e3d6000fd5b505050506040513d60808110156128b357600080fd5b506020015160035460408051631122d04760e11b8152600481018e905260248101849052306044820152815193945060009384936001600160a01b031692632245a08e9260648082019391829003018186803b15801561291257600080fd5b505afa158015612926573d6000803e3d6000fd5b505050506040513d604081101561293c57600080fd5b81019080805190602001909291908051906020019092919050505091509150336001600160a01b03167ff7093a83d1acda4f50efce57c1c9c84e33f0ac8d1dce73a8c7481a8088d8b2e68b8d8f856040518085815260200184815260200183815260200182815260200194505050505060405180910390a2600360009054906101000a90046001600160a01b03166001600160a01b0316634f69c0d48d876040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015612a2f578181015183820152602001612a17565b505050509050019350505050600060405180830381600087803b158015612a5557600080fd5b505af1158015612a69573d6000803e3d6000fd5b50506003546040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b03909216935063a9059cbb92506044808201926020929091908290030181600087803b158015612ac157600080fd5b505af1158015612ad5573d6000803e3d6000fd5b505050506040513d6020811015612aeb57600080fd5b5060009050612afa8b86613a10565b90508015612bcc5760015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b158015612b4f57600080fd5b505af1158015612b63573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015612b94573d6000803e3d6000fd5b5060408051828152905133917f9a97090a4f9b5abe836088fa365c3dac3128c8c9bdc5cad5f4c6bda184fa043f919081900360200190a25b50505050505050505050505050565b606080600080845167ffffffffffffffff81118015612bf957600080fd5b50604051908082528060200260200182016040528015612c23578160200160208202803683370190505b509350845167ffffffffffffffff81118015612c3e57600080fd5b50604051908082528060200260200182016040528015612c68578160200160208202803683370190505b5092506000600360009054906101000a90046001600160a01b03166001600160a01b03166390ad688b6040518163ffffffff1660e01b815260040160806040518083038186803b158015612cbb57600080fd5b505afa158015612ccf573d6000803e3d6000fd5b505050506040513d6080811015612ce557600080fd5b506040908101516003548251631122d04760e11b8152600481018b90526024810183905230604482015283519294506000936001600160a01b0390921692632245a08e92606480840193919291829003018186803b158015612d4657600080fd5b505afa158015612d5a573d6000803e3d6000fd5b505050506040513d6040811015612d7057600080fd5b508051602091820151600354604080516318160ddd60e01b81529051929750929450600093612e05936001600160a01b03909216926318160ddd926004808201939291829003018186803b158015612dc757600080fd5b505afa158015612ddb573d6000803e3d6000fd5b505050506040513d6020811015612df157600080fd5b505161135f84670de0b6b3a764000061396c565b90506000945060005b8851811015612fd3576003548951612ec291670de0b6b3a76400009161135f916001600160a01b03169063f8b2cb4f908e9087908110612e4a57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e8f57600080fd5b505afa158015612ea3573d6000803e3d6000fd5b505050506040513d6020811015612eb957600080fd5b5051859061396c565b888281518110612ece57fe5b602002602001018181525050600080612eec8b8481518110610d6c57fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612f2457600080fd5b505afa158015612f38573d6000803e3d6000fd5b505050506040513d6060811015612f4e57600080fd5b5080516020909101518b516001600160701b03928316945091169150612f89908b9085908110612f7a57fe5b60200260200101518383613894565b898481518110612f9557fe5b602002602001018181525050612fc7898481518110612fb057fe5b602002602001015189613a5690919063ffffffff16565b97505050600101612e0e565b5050505092959194509250565b6007546001600160a01b03163314806130115750612ffc611d77565b6001600160a01b0316336001600160a01b0316145b613054576040805162461bcd60e51b815260206004820152600f60248201526e2727aa2fa322a2afa6a0a720a3a2a960891b604482015290519081900360640190fd5b61306060048787613dae565b5061306d60058585613dae565b50600680546001600160a01b03199081166001600160a01b03858116918217909355600780549092169284169283179091556040805181815290810188905233907f135646ff0b37ad6450ec7feabebbaf3289860f4abe23d7aace3bc48e15232459908a908a908a908a908060208082019060608301908890880280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a4505050505050565b606080600061316461315d670de0b6b3a764000061135f898861396c565b8790613a10565b95506060855167ffffffffffffffff8111801561318057600080fd5b506040519080825280602002602001820160405280156131ba57816020015b6131a7613d86565b81526020019060019003908161319f5790505b509050600080600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561320e57600080fd5b505afa158015613222573d6000803e3d6000fd5b505050506040513d602081101561323857600080fd5b8101908080519060200190929190505050905060006132dc8261135f670de0b6b3a76400006132d6600360009054906101000a90046001600160a01b03166001600160a01b031663f8b2cb4f8f60008151811061329157fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561208957600080fd5b9061396c565b905060005b895181101561348c576003548a5161331d91670de0b6b3a76400009161135f916001600160a01b03169063f8b2cb4f908f9087908110612e4a57fe5b85828151811061332957fe5b602002602001015160000181815250506133488a8281518110610d6c57fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561338057600080fd5b505afa158015613394573d6000803e3d6000fd5b505050506040513d60608110156133aa57600080fd5b50805160209091015186516001600160701b0392831692909116908790849081106133d157fe5b60200260200101516040018784815181106133e857fe5b60200260200101516060018281525082815250505061343c85828151811061340c57fe5b60200260200101516000015186838151811061342457fe5b60200260200101516060015187848151811061245d57fe5b85828151811061344857fe5b6020026020010151602001818152505061348285828151811061346757fe5b60200260200101516020015185613a5690919063ffffffff16565b93506001016132e1565b505050865167ffffffffffffffff811180156134a757600080fd5b506040519080825280602002602001820160405280156134d1578160200160208202803683370190505b509450865167ffffffffffffffff811180156134ec57600080fd5b50604051908082528060200260200182016040528015613516578160200160208202803683370190505b50935060005b87518110156135e857613571670de0b6b3a764000061135f61356a8561135f670de0b6b3a764000089888151811061355057fe5b60200260200101516020015161396c90919063ffffffff16565b8c9061396c565b85828151811061357d57fe5b60209081029190910101526135c9670de0b6b3a764000061135f6135a385828e8561396c565b8685815181106135af57fe5b60200260200101516000015161396c90919063ffffffff16565b8682815181106135d557fe5b602090810291909101015260010161351c565b506003548751613717916001600160a01b03169063f8b2cb4f908a9060009061360d57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561365257600080fd5b505afa158015613666573d6000803e3d6000fd5b505050506040513d602081101561367c57600080fd5b5051865161135f90889060009061368f57fe5b6020026020010151600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156136e557600080fd5b505afa1580156136f9573d6000803e3d6000fd5b505050506040513d602081101561370f57600080fd5b50519061396c565b9250505093509350939050565b6007546001600160a01b031681565b6002546001600160a01b031681565b61374a613a52565b6000546001600160a01b0390811691161461379a576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b6001600160a01b0381166137df5760405162461bcd60e51b8152600401808060200182810382526026815260200180613e0f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061386e57508115155b949350505050565b6001600160a01b039081166000908152600860205260409020541690565b60008084116138d45760405162461bcd60e51b815260040180806020018281038252602b815260200180613eca602b913960400191505060405180910390fd5b6000831180156138e45750600082115b61391f5760405162461bcd60e51b8152600401808060200182810382526028815260200180613e616028913960400191505060405180910390fd5b600061392d856103e5613b88565b9050600061393b8285613b88565b905060006139558361394f886103e8613b88565b90613beb565b905080828161396057fe5b04979650505050505050565b60008261397b575060006139c8565b8282028284828161398857fe5b04146139c55760405162461bcd60e51b8152600401808060200182810382526021815260200180613e896021913960400191505060405180910390fd5b90505b92915050565b60006139c583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613c3a565b60006139c583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613cdc565b3390565b6000828201838110156139c5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000808411613af05760405162461bcd60e51b815260040180806020018281038252602c815260200180613e35602c913960400191505060405180910390fd5b600083118015613b005750600082115b613b3b5760405162461bcd60e51b8152600401808060200182810382526028815260200180613e616028913960400191505060405180910390fd5b6000613b536103e8613b4d8688613b88565b90613b88565b90506000613b676103e5613b4d8689613d36565b9050613b7e6001828481613b7757fe5b0490613beb565b9695505050505050565b6000811580613ba357505080820282828281613ba057fe5b04145b6139c8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b808201828110156139c8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b60008183613cc65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c8b578181015183820152602001613c73565b50505050905090810190601f168015613cb85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613cd257fe5b0495945050505050565b60008184841115613d2e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613c8b578181015183820152602001613c73565b505050900390565b808203828111156139c8576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6040518060800160405280600081526020016000815260200160008152602001600081525090565b828054828255906000526020600020908101928215613de9579160200282015b82811115613de9578235825591602001919060010190613dce565b50613df5929150613df9565b5090565b5b80821115613df55760008155600101613dfa56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220a44a913751e719dd64885f57c95ea4d03ad8c3de4994d247b9db00987168aec764736f6c634300060c0033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1000000000000000000000000b2b9335791346e94245dcd316a9c9ed486e6dd7f000000000000000000000000b258302c3f209491d604165549079680708581cc

Deployed Bytecode

0x60806040526004361061016a5760003560e01c8063715018a6116100d1578063b38671181161008a578063c6135f4311610064578063c6135f43146108ea578063d0fb020314610a41578063d8f14f2b14610a56578063f2fde38b14610a6b57610188565b8063b386711814610695578063b4b48e55146106b2578063bbf8eadc1461080e57610188565b8063715018a6146105ba578063857af01b146105cf5780638b01808c146105f95780638da5cb5b14610623578063a2e6413714610638578063a45098f71461066257610188565b80633fc8cef3116101235780633fc8cef314610370578063433941901461038557806344bd1afd1461039a5780634d923532146103c45780635487404a1461057657806364c667ee1461059d57610188565b8063032a96681461018d57806307953a93146101d45780630b2a9b00146102395780632828eea8146102e75780633929aa591461032a5780633eb26b031461035b57610188565b366101885733321461017b57610186565b610186600a54610a9e565b005b600080fd5b34801561019957600080fd5b506101c0600480360360208110156101b057600080fd5b50356001600160a01b0316610be5565b604080519115158252519081900360200190f35b3480156101e057600080fd5b506101e9610bfa565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561022557818101518382015260200161020d565b505050509050019250505060405180910390f35b34801561024557600080fd5b506101866004803603602081101561025c57600080fd5b810190602081018135600160201b81111561027657600080fd5b82018360208201111561028857600080fd5b803590602001918460208302840111600160201b831117156102a957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610c52945050505050565b3480156102f357600080fd5b506103116004803603602081101561030a57600080fd5b50356112f9565b6040805192835260208301919091528051918290030190f35b34801561033657600080fd5b5061033f611387565b604080516001600160a01b039092168252519081900360200190f35b34801561036757600080fd5b506101e9611396565b34801561037c57600080fd5b5061033f6113ec565b34801561039157600080fd5b5061033f6113fb565b3480156103a657600080fd5b50610186600480360360208110156103bd57600080fd5b503561140a565b3480156103d057600080fd5b50610186600480360360608110156103e757600080fd5b810190602081018135600160201b81111561040157600080fd5b82018360208201111561041357600080fd5b803590602001918460208302840111600160201b8311171561043457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561048357600080fd5b82018360208201111561049557600080fd5b803590602001918460208302840111600160201b831117156104b657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561050557600080fd5b82018360208201111561051757600080fd5b803590602001918460208302840111600160201b8311171561053857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061149d945050505050565b34801561058257600080fd5b5061058b6116cb565b60408051918252519081900360200190f35b610186600480360360208110156105b357600080fd5b5035610a9e565b3480156105c657600080fd5b506101866116d1565b3480156105db57600080fd5b5061058b600480360360208110156105f257600080fd5b5035611773565b34801561060557600080fd5b506101866004803603602081101561061c57600080fd5b5035611791565b34801561062f57600080fd5b5061033f611d77565b34801561064457600080fd5b5061058b6004803603602081101561065b57600080fd5b5035611d86565b34801561066e57600080fd5b5061033f6004803603602081101561068557600080fd5b50356001600160a01b0316611d93565b610186600480360360208110156106ab57600080fd5b5035611dae565b3480156106be57600080fd5b50610767600480360360408110156106d557600080fd5b81359190810190604081016020820135600160201b8111156106f657600080fd5b82018360208201111561070857600080fd5b803590602001918460208302840111600160201b8311171561072957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612bdb945050505050565b604051808060200180602001858152602001848152602001838103835287818151815260200191508051906020019060200280838360005b838110156107b757818101518382015260200161079f565b50505050905001838103825286818151815260200191508051906020019060200280838360005b838110156107f65781810151838201526020016107de565b50505050905001965050505050505060405180910390f35b34801561081a57600080fd5b506101866004803603608081101561083157600080fd5b810190602081018135600160201b81111561084b57600080fd5b82018360208201111561085d57600080fd5b803590602001918460208302840111600160201b8311171561087e57600080fd5b919390929091602081019035600160201b81111561089b57600080fd5b8201836020820111156108ad57600080fd5b803590602001918460208302840111600160201b831117156108ce57600080fd5b91935091506001600160a01b0381358116916020013516612fe0565b3480156108f657600080fd5b506109a16004803603606081101561090d57600080fd5b81359190810190604081016020820135600160201b81111561092e57600080fd5b82018360208201111561094057600080fd5b803590602001918460208302840111600160201b8311171561096157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550509135925061313f915050565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b838110156109eb5781810151838201526020016109d3565b50505050905001838103825285818151815260200191508051906020019060200280838360005b83811015610a2a578181015183820152602001610a12565b505050509050019550505050505060405180910390f35b348015610a4d57600080fd5b5061033f613724565b348015610a6257600080fd5b5061033f613733565b348015610a7757600080fd5b5061018660048036036020811015610a8e57600080fd5b50356001600160a01b0316613742565b6000610aa9346112f9565b9150506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b158015610afc57600080fd5b505afa158015610b10573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610b3957600080fd5b8101908080516040519392919084600160201b821115610b5857600080fd5b908301906020820185811115610b6d57600080fd5b82518660208202830111600160201b82111715610b8957600080fd5b82525081516020918201928201910280838360005b83811015610bb6578181015183820152602001610b9e565b5050505090500160405250505090506000610bd283838661313f565b92505050610bdf81611dae565b50505050565b60096020526000908152604090205460ff1681565b60606004805480602002602001604051908101604052809291908181526020018280548015610c4857602002820191906000526020600020905b815481526020019060010190808311610c34575b5050505050905090565b3332148015610c675750610c653361383a565b155b610cb8576040805162461bcd60e51b815260206004820152601e60248201527f43616c6c2066726f6d20636f6e7472616374206e6f7420616c6c6f7765640000604482015290519081900360640190fd5b80516000805b82811015610f95576000848281518110610cd457fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d2857600080fd5b505afa158015610d3c573d6000803e3d6000fd5b505050506040513d6020811015610d5257600080fd5b50518551909150600090610d7990879085908110610d6c57fe5b6020026020010151613876565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610db757600080fd5b505afa158015610dcb573d6000803e3d6000fd5b505050506040513d6060811015610de157600080fd5b5080516020909101516001600160701b0391821693501690506000610e07858484613894565b9050888681518110610e1557fe5b60200260200101516001600160a01b031663a9059cbb85876040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610e7357600080fd5b505af1158015610e87573d6000803e3d6000fd5b505050506040513d6020811015610e9d57600080fd5b5050604080516000808252602082019283905263022c0d9f60e01b835260248201818152604483018590523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f96899590939092909160c48501918083838b5b83811015610f1d578181015183820152602001610f05565b50505050905090810190601f168015610f4a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610f6c57600080fd5b505af1158015610f80573d6000803e3d6000fd5b505060019097019650610cbe95505050505050565b50600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d602081101561100b57600080fd5b5051600254909150600090611028906001600160a01b0316613876565b9050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561106657600080fd5b505afa15801561107a573d6000803e3d6000fd5b505050506040513d606081101561109057600080fd5b5080516020909101516001600160701b03918216935016905060006110b6858385613894565b6001546040805163a9059cbb60e01b81526001600160a01b038881166004830152602482018a9052915193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561110e57600080fd5b505af1158015611122573d6000803e3d6000fd5b505050506040513d602081101561113857600080fd5b5050604080516000808252602082019283905263022c0d9f60e01b835260248201848152604483018290523060648401819052608060848501908152845160a486018190526001600160a01b038b169663022c0d9f9689969590939092909160c48501918083838a5b838110156111b95781810151838201526020016111a1565b50505050905090810190601f1680156111e65780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561120857600080fd5b505af115801561121c573d6000803e3d6000fd5b50506002546006546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101879052905191909216935063a9059cbb925060448083019260209291908290030181600087803b15801561127957600080fd5b505af115801561128d573d6000803e3d6000fd5b505050506040513d60208110156112a357600080fd5b5050600654604080518781526020810184905281516001600160a01b03909316927f85dc9ac52b6013481d4ffbf17eacd0201080b84284b03e133365bf5736f87d75929181900390910190a25050505050505050565b6004546000908190815b81811015611374576004818154811061131857fe5b9060005260206000200154851061136c57611365670de0b6b3a764000061135f6005848154811061134557fe5b90600052602060002001548861396c90919063ffffffff16565b906139ce565b9350611374565b600101611303565b5061137f8484613a10565b915050915091565b6003546001600160a01b031681565b60606005805480602002602001604051908101604052809291908181526020018280548015610c485760200282019190600052602060002090815481526020019060010190808311610c34575050505050905090565b6001546001600160a01b031681565b6006546001600160a01b031681565b611412613a52565b6000546001600160a01b03908116911614611462576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b600a8190556040805182815290517f736741f2e67b4d201474b6dba54baed127c2ebe4b99e751e0ef45afc5c6ee5ac9181900360200190a150565b6114a5613a52565b6000546001600160a01b039081169116146114f5576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b82518251811480156115075750815181145b611550576040805162461bcd60e51b815260206004820152601560248201527413195b99dd1a1cc8185c99481b9bdd08195c5d585b605a1b604482015290519081900360640190fd5b60005b84518110156116c45783818151811061156857fe5b60200260200101516008600087848151811061158057fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508281815181106115d857fe5b6020026020010151600960008784815181106115f057fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555084818151811061163b57fe5b60200260200101516001600160a01b03167f9b37efc6175537fc5ac9b6bf56a5f4eaf0dc4f40f8116b36837f7fed9056e8db84838151811061167957fe5b602002602001015186848151811061168d57fe5b6020026020010151604051808315158152602001826001600160a01b031681526020019250505060405180910390a2600101611553565b5050505050565b600a5481565b6116d9613a52565b6000546001600160a01b03908116911614611729576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004818154811061178057fe5b600091825260209091200154905081565b6003546040805163cc77828d60e01b815290516060926001600160a01b03169163cc77828d916004808301926000929190829003018186803b1580156117d657600080fd5b505afa1580156117ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561181357600080fd5b8101908080516040519392919084600160201b82111561183257600080fd5b90830190602082018581111561184757600080fd5b82518660208202830111600160201b8211171561186357600080fd5b82525081516020918201928201910280838360005b83811015611890578181015183820152602001611878565b5050505090500160405250505090506000815190506060806000806118b58787612bdb565b600354604080516323b872dd60e01b8152336004820152306024820152604481018e9052905195995093975091955093506001600160a01b0316916323b872dd916064808201926020929091908290030181600087803b15801561191857600080fd5b505af115801561192c573d6000803e3d6000fd5b505050506040513d602081101561194257600080fd5b50506003546040805163095ea7b360e01b81526001600160a01b0390921660048301819052602483018a90529051909163095ea7b39160448083019260209291908290030181600087803b15801561199957600080fd5b505af11580156119ad573d6000803e3d6000fd5b505050506040513d60208110156119c357600080fd5b50506003546040805163b02f0b7360e01b8152600481018a8152602482019283528751604483015287516001600160a01b039094169363b02f0b73938c938a93926064909101906020858101910280838360005b83811015611a2f578181015183820152602001611a17565b505050509050019350505050600060405180830381600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b5050505060005b85811015611c7e576000611a89888381518110610d6c57fe5b9050878281518110611a9757fe5b60200260200101516001600160a01b031663a9059cbb82888581518110611aba57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611b0857600080fd5b505af1158015611b1c573d6000803e3d6000fd5b505050506040513d6020811015611b3257600080fd5b505084516001600160a01b0382169063022c0d9f90600090889086908110611b5657fe5b602002602001015130600067ffffffffffffffff81118015611b7757600080fd5b506040519080825280601f01601f191660200182016040528015611ba2576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611c0a578181015183820152602001611bf2565b50505050905090810190601f168015611c375780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015611c5957600080fd5b505af1158015611c6d573d6000803e3d6000fd5b505060019093019250611a70915050565b50600080611c8b846112f9565b60015460408051632e1a7d4d60e01b81526004810184905290519395509193506001600160a01b031691632e1a7d4d9160248082019260009290919082900301818387803b158015611cdc57600080fd5b505af1158015611cf0573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015611d21573d6000803e3d6000fd5b50604080518a81526020810185905280820183905260608101849052905133917f32f099d0ac2a3a3a9b94fdb99b030574e3065fa12da504405e6262c1ae558521919081900360800190a2505050505050505050565b6000546001600160a01b031690565b6005818154811061178057fe5b6008602052600090815260409020546001600160a01b031681565b600354604080516318832b9760e31b815290516000926001600160a01b03169163c4195cb8916004808301926020929190829003018186803b158015611df357600080fd5b505afa158015611e07573d6000803e3d6000fd5b505050506040513d6020811015611e1d57600080fd5b505190506001600160a01b03811615611f73576003546040805163afff324960e01b81526001600160a01b039283166004820152905160009284169163afff3249916024808301926020929190829003018186803b158015611e7e57600080fd5b505afa158015611e92573d6000803e3d6000fd5b505050506040513d6020811015611ea857600080fd5b5051600354604080516318160ddd60e01b815290519293508392611f2c9287926001600160a01b03909116916318160ddd91600480820192602092909190829003018186803b158015611efa57600080fd5b505afa158015611f0e573d6000803e3d6000fd5b505050506040513d6020811015611f2457600080fd5b505190613a56565b1115611f71576040805162461bcd60e51b815260206004820152600f60248201526e504950545f4d41585f535550504c5960881b604482015290519081900360640190fd5b505b5060003411611fb8576040805162461bcd60e51b815260206004820152600c60248201526b115512081c995c5d5a5c995960a21b604482015290519081900360640190fd5b600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561200857600080fd5b505af115801561201c573d6000803e3d6000fd5b505050505060008061202d346112f9565b9150915060006120cd600a6120c7600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561208957600080fd5b505afa15801561209d573d6000803e3d6000fd5b505050506040513d60208110156120b357600080fd5b505161135f88670de0b6b3a764000061396c565b90613a56565b90506060600360009054906101000a90046001600160a01b03166001600160a01b031663cc77828d6040518163ffffffff1660e01b815260040160006040518083038186803b15801561211f57600080fd5b505afa158015612133573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561215c57600080fd5b8101908080516040519392919084600160201b82111561217b57600080fd5b90830190602082018581111561219057600080fd5b82518660208202830111600160201b821117156121ac57600080fd5b82525081516020918201928201910280838360005b838110156121d95781810151838201526020016121c1565b5050505090500160405250505090506000815190506060825167ffffffffffffffff8111801561220857600080fd5b5060405190808252806020026020018201604052801561224257816020015b61222f613d86565b8152602001906001900390816122275790505b5090506060835167ffffffffffffffff8111801561225f57600080fd5b50604051908082528060200260200182016040528015612289578160200160208202803683370190505b5090506000805b848110156128435760006122a9878381518110610d6c57fe5b9050806001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156122e457600080fd5b505afa1580156122f8573d6000803e3d6000fd5b505050506040513d606081101561230e57600080fd5b50805160209091015186516001600160701b03928316929091169087908590811061233557fe5b602002602001015160400187858151811061234c57fe5b60209081029190910101516060019190915252600354875161240a91670de0b6b3a76400009161135f916001600160a01b03169063f8b2cb4f908c908890811061239257fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156123d757600080fd5b505afa1580156123eb573d6000803e3d6000fd5b505050506040513d602081101561240157600080fd5b50518b9061396c565b84838151811061241657fe5b60200260200101818152505061246e84838151811061243157fe5b602002602001015186848151811061244557fe5b60200260200101516060015187858151811061245d57fe5b602002602001015160400151613ab0565b85838151811061247a57fe5b602090810291909101810151015260015485516001600160a01b039091169063a9059cbb9083908890869081106124ad57fe5b6020026020010151602001516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156124ff57600080fd5b505af1158015612513573d6000803e3d6000fd5b505050506040513d602081101561252957600080fd5b505083516001600160a01b0382169063022c0d9f9086908590811061254a57fe5b6020026020010151600030600067ffffffffffffffff8111801561256d57600080fd5b506040519080825280601f01601f191660200182016040528015612598576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126005781810151838201526020016125e8565b50505050905090810190601f16801561262d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561264f57600080fd5b505af1158015612663573d6000803e3d6000fd5b5050505061269185838151811061267657fe5b60200260200101516020015184613a5690919063ffffffff16565b9250600960008884815181106126a357fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff161561277c578682815181106126db57fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b031660006040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561274f57600080fd5b505af1158015612763573d6000803e3d6000fd5b505050506040513d602081101561277957600080fd5b50505b86828151811061278857fe5b60200260200101516001600160a01b031663095ea7b3600360009054906101000a90046001600160a01b03168685815181106127c057fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561280e57600080fd5b505af1158015612822573d6000803e3d6000fd5b505050506040513d602081101561283857600080fd5b505050600101612290565b50600354604080516390ad688b60e01b815290516000926001600160a01b0316916390ad688b916004808301926080929190829003018186803b15801561288957600080fd5b505afa15801561289d573d6000803e3d6000fd5b505050506040513d60808110156128b357600080fd5b506020015160035460408051631122d04760e11b8152600481018e905260248101849052306044820152815193945060009384936001600160a01b031692632245a08e9260648082019391829003018186803b15801561291257600080fd5b505afa158015612926573d6000803e3d6000fd5b505050506040513d604081101561293c57600080fd5b81019080805190602001909291908051906020019092919050505091509150336001600160a01b03167ff7093a83d1acda4f50efce57c1c9c84e33f0ac8d1dce73a8c7481a8088d8b2e68b8d8f856040518085815260200184815260200183815260200182815260200194505050505060405180910390a2600360009054906101000a90046001600160a01b03166001600160a01b0316634f69c0d48d876040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015612a2f578181015183820152602001612a17565b505050509050019350505050600060405180830381600087803b158015612a5557600080fd5b505af1158015612a69573d6000803e3d6000fd5b50506003546040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b03909216935063a9059cbb92506044808201926020929091908290030181600087803b158015612ac157600080fd5b505af1158015612ad5573d6000803e3d6000fd5b505050506040513d6020811015612aeb57600080fd5b5060009050612afa8b86613a10565b90508015612bcc5760015460408051632e1a7d4d60e01b81526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b158015612b4f57600080fd5b505af1158015612b63573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f19350505050158015612b94573d6000803e3d6000fd5b5060408051828152905133917f9a97090a4f9b5abe836088fa365c3dac3128c8c9bdc5cad5f4c6bda184fa043f919081900360200190a25b50505050505050505050505050565b606080600080845167ffffffffffffffff81118015612bf957600080fd5b50604051908082528060200260200182016040528015612c23578160200160208202803683370190505b509350845167ffffffffffffffff81118015612c3e57600080fd5b50604051908082528060200260200182016040528015612c68578160200160208202803683370190505b5092506000600360009054906101000a90046001600160a01b03166001600160a01b03166390ad688b6040518163ffffffff1660e01b815260040160806040518083038186803b158015612cbb57600080fd5b505afa158015612ccf573d6000803e3d6000fd5b505050506040513d6080811015612ce557600080fd5b506040908101516003548251631122d04760e11b8152600481018b90526024810183905230604482015283519294506000936001600160a01b0390921692632245a08e92606480840193919291829003018186803b158015612d4657600080fd5b505afa158015612d5a573d6000803e3d6000fd5b505050506040513d6040811015612d7057600080fd5b508051602091820151600354604080516318160ddd60e01b81529051929750929450600093612e05936001600160a01b03909216926318160ddd926004808201939291829003018186803b158015612dc757600080fd5b505afa158015612ddb573d6000803e3d6000fd5b505050506040513d6020811015612df157600080fd5b505161135f84670de0b6b3a764000061396c565b90506000945060005b8851811015612fd3576003548951612ec291670de0b6b3a76400009161135f916001600160a01b03169063f8b2cb4f908e9087908110612e4a57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e8f57600080fd5b505afa158015612ea3573d6000803e3d6000fd5b505050506040513d6020811015612eb957600080fd5b5051859061396c565b888281518110612ece57fe5b602002602001018181525050600080612eec8b8481518110610d6c57fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015612f2457600080fd5b505afa158015612f38573d6000803e3d6000fd5b505050506040513d6060811015612f4e57600080fd5b5080516020909101518b516001600160701b03928316945091169150612f89908b9085908110612f7a57fe5b60200260200101518383613894565b898481518110612f9557fe5b602002602001018181525050612fc7898481518110612fb057fe5b602002602001015189613a5690919063ffffffff16565b97505050600101612e0e565b5050505092959194509250565b6007546001600160a01b03163314806130115750612ffc611d77565b6001600160a01b0316336001600160a01b0316145b613054576040805162461bcd60e51b815260206004820152600f60248201526e2727aa2fa322a2afa6a0a720a3a2a960891b604482015290519081900360640190fd5b61306060048787613dae565b5061306d60058585613dae565b50600680546001600160a01b03199081166001600160a01b03858116918217909355600780549092169284169283179091556040805181815290810188905233907f135646ff0b37ad6450ec7feabebbaf3289860f4abe23d7aace3bc48e15232459908a908a908a908a908060208082019060608301908890880280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a4505050505050565b606080600061316461315d670de0b6b3a764000061135f898861396c565b8790613a10565b95506060855167ffffffffffffffff8111801561318057600080fd5b506040519080825280602002602001820160405280156131ba57816020015b6131a7613d86565b81526020019060019003908161319f5790505b509050600080600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561320e57600080fd5b505afa158015613222573d6000803e3d6000fd5b505050506040513d602081101561323857600080fd5b8101908080519060200190929190505050905060006132dc8261135f670de0b6b3a76400006132d6600360009054906101000a90046001600160a01b03166001600160a01b031663f8b2cb4f8f60008151811061329157fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561208957600080fd5b9061396c565b905060005b895181101561348c576003548a5161331d91670de0b6b3a76400009161135f916001600160a01b03169063f8b2cb4f908f9087908110612e4a57fe5b85828151811061332957fe5b602002602001015160000181815250506133488a8281518110610d6c57fe5b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561338057600080fd5b505afa158015613394573d6000803e3d6000fd5b505050506040513d60608110156133aa57600080fd5b50805160209091015186516001600160701b0392831692909116908790849081106133d157fe5b60200260200101516040018784815181106133e857fe5b60200260200101516060018281525082815250505061343c85828151811061340c57fe5b60200260200101516000015186838151811061342457fe5b60200260200101516060015187848151811061245d57fe5b85828151811061344857fe5b6020026020010151602001818152505061348285828151811061346757fe5b60200260200101516020015185613a5690919063ffffffff16565b93506001016132e1565b505050865167ffffffffffffffff811180156134a757600080fd5b506040519080825280602002602001820160405280156134d1578160200160208202803683370190505b509450865167ffffffffffffffff811180156134ec57600080fd5b50604051908082528060200260200182016040528015613516578160200160208202803683370190505b50935060005b87518110156135e857613571670de0b6b3a764000061135f61356a8561135f670de0b6b3a764000089888151811061355057fe5b60200260200101516020015161396c90919063ffffffff16565b8c9061396c565b85828151811061357d57fe5b60209081029190910101526135c9670de0b6b3a764000061135f6135a385828e8561396c565b8685815181106135af57fe5b60200260200101516000015161396c90919063ffffffff16565b8682815181106135d557fe5b602090810291909101015260010161351c565b506003548751613717916001600160a01b03169063f8b2cb4f908a9060009061360d57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561365257600080fd5b505afa158015613666573d6000803e3d6000fd5b505050506040513d602081101561367c57600080fd5b5051865161135f90889060009061368f57fe5b6020026020010151600360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156136e557600080fd5b505afa1580156136f9573d6000803e3d6000fd5b505050506040513d602081101561370f57600080fd5b50519061396c565b9250505093509350939050565b6007546001600160a01b031681565b6002546001600160a01b031681565b61374a613a52565b6000546001600160a01b0390811691161461379a576040805162461bcd60e51b81526020600482018190526024820152600080516020613eaa833981519152604482015290519081900360640190fd5b6001600160a01b0381166137df5760405162461bcd60e51b8152600401808060200182810382526026815260200180613e0f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061386e57508115155b949350505050565b6001600160a01b039081166000908152600860205260409020541690565b60008084116138d45760405162461bcd60e51b815260040180806020018281038252602b815260200180613eca602b913960400191505060405180910390fd5b6000831180156138e45750600082115b61391f5760405162461bcd60e51b8152600401808060200182810382526028815260200180613e616028913960400191505060405180910390fd5b600061392d856103e5613b88565b9050600061393b8285613b88565b905060006139558361394f886103e8613b88565b90613beb565b905080828161396057fe5b04979650505050505050565b60008261397b575060006139c8565b8282028284828161398857fe5b04146139c55760405162461bcd60e51b8152600401808060200182810382526021815260200180613e896021913960400191505060405180910390fd5b90505b92915050565b60006139c583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613c3a565b60006139c583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613cdc565b3390565b6000828201838110156139c5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000808411613af05760405162461bcd60e51b815260040180806020018281038252602c815260200180613e35602c913960400191505060405180910390fd5b600083118015613b005750600082115b613b3b5760405162461bcd60e51b8152600401808060200182810382526028815260200180613e616028913960400191505060405180910390fd5b6000613b536103e8613b4d8688613b88565b90613b88565b90506000613b676103e5613b4d8689613d36565b9050613b7e6001828481613b7757fe5b0490613beb565b9695505050505050565b6000811580613ba357505080820282828281613ba057fe5b04145b6139c8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b808201828110156139c8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b60008183613cc65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c8b578181015183820152602001613c73565b50505050905090810190601f168015613cb85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613cd257fe5b0495945050505050565b60008184841115613d2e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613c8b578181015183820152602001613c73565b505050900390565b808203828111156139c8576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6040518060800160405280600081526020016000815260200160008152602001600081525090565b828054828255906000526020600020908101928215613de9579160200282015b82811115613de9578235825591602001919060010190613dce565b50613df5929150613df9565b5090565b5b80821115613df55760008155600101613dfa56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a2646970667358221220a44a913751e719dd64885f57c95ea4d03ad8c3de4994d247b9db00987168aec764736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1000000000000000000000000b2b9335791346e94245dcd316a9c9ed486e6dd7f000000000000000000000000b258302c3f209491d604165549079680708581cc

-----Decoded View---------------
Arg [0] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : _cvp (address): 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1
Arg [2] : _pipt (address): 0xb2B9335791346E94245DCd316A9C9ED486E6dD7f
Arg [3] : _feeManager (address): 0xB258302C3f209491d604165549079680708581Cc

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Arg [2] : 000000000000000000000000b2b9335791346e94245dcd316a9c9ed486e6dd7f
Arg [3] : 000000000000000000000000b258302c3f209491d604165549079680708581cc


Deployed Bytecode Sourcemap

32153:13062:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34079:10;34093:9;34079:23;34075:62;;34119:7;;34075:62;34147:30;34161:15;;34147:13;:30::i;:::-;32153:13062;;;;;32570:47;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32570:47:0;-1:-1:-1;;;;;32570:47:0;;:::i;:::-;;;;;;;;;;;;;;;;;;44846:97;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38367:1378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38367:1378:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38367:1378:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38367:1378:0;;-1:-1:-1;38367:1378:0;;-1:-1:-1;;;;;38367:1378:0:i;44428:410::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44428:410:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;32333:26;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;32333:26:0;;;;;;;;;;;;;;44951:99;;;;;;;;;;;;;:::i;32268:26::-;;;;;;;;;;;;;:::i;32435:24::-;;;;;;;;;;;;;:::i;40776:178::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40776:178:0;;:::i;40210:558::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40210:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40210:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40210:558:0;;;;;;;;-1:-1:-1;40210:558:0;;-1:-1:-1;;;;;40210:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40210:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40210:558:0;;;;;;;;-1:-1:-1;40210:558:0;;-1:-1:-1;;;;;40210:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40210:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40210:558:0;;-1:-1:-1;40210:558:0;;-1:-1:-1;;;;;40210:558:0:i;32624:30::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;34193:331;;;;;;;;;;;;;;;;-1:-1:-1;34193:331:0;;:::i;31514:148::-;;;;;;;;;;;;;:::i;32368:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32368:26:0;;:::i;37217:1142::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37217:1142:0;;:::i;30872:79::-;;;;;;;;;;;;;:::i;32401:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32401:27:0;;:::i;32500:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32500:63:0;-1:-1:-1;;;;;32500:63:0;;:::i;34532:2677::-;;;;;;;;;;;;;;;;-1:-1:-1;34532:2677:0;;:::i;43233:1187::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;43233:1187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;43233:1187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43233:1187:0;;-1:-1:-1;43233:1187:0;;-1:-1:-1;;;;;43233:1187:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39753:449;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39753:449:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39753:449:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39753:449:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39753:449:0;;;;;;;;;;;;-1:-1:-1;39753:449:0;-1:-1:-1;;;;;;39753:449:0;;;;;;;;;;:::i;40962:2263::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40962:2263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40962:2263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40962:2263:0;;-1:-1:-1;;40962:2263:0;;;-1:-1:-1;40962:2263:0;;-1:-1:-1;;40962:2263:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32466:25;;;;;;;;;;;;;:::i;32301:::-;;;;;;;;;;;;;:::i;31817:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31817:244:0;-1:-1:-1;;;;;31817:244:0;;:::i;34193:331::-;34264:18;34286:21;34297:9;34286:10;:21::i;:::-;34261:46;;;34320:23;34346:4;;;;;;;;;-1:-1:-1;;;;;34346:4:0;-1:-1:-1;;;;;34346:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34346:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34346:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;34346:23:0;;;;;;;;;;;;-1:-1:-1;34346:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34320:49;;34387:21;34412:54;34436:10;34448:6;34456:9;34412:23;:54::i;:::-;34382:84;;;;34479:37;34502:13;34479:22;:37::i;:::-;34193:331;;;;:::o;32570:47::-;;;;;;;;;;;;;;;:::o;44846:97::-;44890:16;44926:9;44919:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44846:97;:::o;38367:1378::-;38461:10;38475:9;38461:23;:58;;;;;38489:30;38508:10;38489:18;:30::i;:::-;38488:31;38461:58;38453:101;;;;;-1:-1:-1;;;38453:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38581:16;;38567:11;;38645:560;38668:3;38664:1;:7;38645:560;;;38693:20;38731:9;38741:1;38731:12;;;;;;;;;;;;;;-1:-1:-1;;;;;38716:38:0;;38763:4;38716:53;;;;;;;;;;;;;-1:-1:-1;;;;;38716:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38716:53:0;38826:12;;38716:53;;-1:-1:-1;38784:24:0;;38811:28;;38826:9;;38836:1;;38826:12;;;;;;;;;;;;38811:14;:28::i;:::-;38784:55;;38857:20;38879:18;38902:9;-1:-1:-1;;;;;38902:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38902:23:0;;;;;;;-1:-1:-1;;;;;38856:69:0;;;;-1:-1:-1;38856:69:0;;-1:-1:-1;38940:15:0;38958:69;38988:12;38856:69;;38958:29;:69::i;:::-;38940:87;;39059:9;39069:1;39059:12;;;;;;;;;;;;;;-1:-1:-1;;;;;39044:37:0;;39090:9;39102:12;39044:71;;;;;;;;;;;;;-1:-1:-1;;;;;39044:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39180:12:0;;;39152:1;39180:12;;;;;;;;;;-1:-1:-1;;;39132:61:0;;;;;;;;;;;;;;39173:4;39132:61;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39132:14:0;;;;;39156:7;;39180:12;;39132:61;;;;;;;;;;39180:12;39152:1;39132:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38673:3:0;;;;;-1:-1:-1;38645:560:0;;-1:-1:-1;;;;;;38645:560:0;;-1:-1:-1;39239:4:0;;:29;;;-1:-1:-1;;;39239:29:0;;39262:4;39239:29;;;;;;39217:19;;-1:-1:-1;;;;;39239:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39239:29:0;39329:3;;39239:29;;-1:-1:-1;39281:22:0;;39306:28;;-1:-1:-1;;;;;39329:3:0;39306:14;:28::i;:::-;39281:53;;39348:18;39368;39391:7;-1:-1:-1;;;;;39391:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39391:21:0;;;;;;;-1:-1:-1;;;;;39347:65:0;;;;-1:-1:-1;39347:65:0;;-1:-1:-1;39423:14:0;39440:66;39470:11;39347:65;;39440:29;:66::i;:::-;39519:4;;:44;;;-1:-1:-1;;;39519:44:0;;-1:-1:-1;;;;;39519:44:0;;;;;;;;;;;;;;;39423:83;;-1:-1:-1;39519:4:0;;;:13;;:44;;;;;;;;;;;;;;;:4;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39621:12:0;;;39602:1;39621:12;;;;;;;;;;-1:-1:-1;;;39576:58:0;;;;;;;;;;;;;;39614:4;39576:58;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39576:12:0;;;;;39589:6;;39602:1;39621:12;;39576:58;;;;;;;;;;39621:12;39602:1;39576:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39647:3:0;;39660:9;;39647:31;;;-1:-1:-1;;;39647:31:0;;-1:-1:-1;;;;;39660:9:0;;;39647:31;;;;;;;;;;;;:3;;;;;-1:-1:-1;39647:12:0;;-1:-1:-1;39647:31:0;;;;;;;;;;;;;;:3;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39706:9:0;;39696:41;;;;;;39647:31;39696:41;;;;;;;-1:-1:-1;;;;;39706:9:0;;;;39696:41;;;;;;;;;;;38367:1378;;;;;;;;:::o;44428:410::-;44566:9;:16;44486:14;;;;;44593:193;44613:3;44609:1;:7;44593:193;;;44653:9;44663:1;44653:12;;;;;;;;;;;;;;;;44641:8;:24;44638:137;;44695:40;44727:7;44695:27;44708:10;44719:1;44708:13;;;;;;;;;;;;;;;;44695:8;:12;;:27;;;;:::i;:::-;:31;;:40::i;:::-;44686:49;;44754:5;;44638:137;44618:3;;44593:193;;;-1:-1:-1;44810:20:0;:8;44823:6;44810:12;:20::i;:::-;44796:34;;44428:410;;;;:::o;32333:26::-;;;-1:-1:-1;;;;;32333:26:0;;:::o;44951:99::-;44996:16;45032:10;45025:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44951:99;:::o;32268:26::-;;;-1:-1:-1;;;;;32268:26:0;;:::o;32435:24::-;;;-1:-1:-1;;;;;32435:24:0;;:::o;40776:178::-;31094:12;:10;:12::i;:::-;31084:6;;-1:-1:-1;;;;;31084:6:0;;;:22;;;31076:67;;;;;-1:-1:-1;;;31076:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31076:67:0;;;;;;;;;;;;;;;40860:15:::1;:34:::0;;;40910:36:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;40776:178:::0;:::o;40210:558::-;31094:12;:10;:12::i;:::-;31084:6;;-1:-1:-1;;;;;31084:6:0;;;:22;;;31076:67;;;;;-1:-1:-1;;;31076:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31076:67:0;;;;;;;;;;;;;;;40392:14;;40432:13;;40425:20;::::1;:48:::0;::::1;;;;40456:10;:17;40449:3;:24;40425:48;40417:82;;;::::0;;-1:-1:-1;;;40417:82:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;40417:82:0;;;;;;;;;;;;;::::1;;40514:6;40510:251;40530:7;:14;40526:1;:18;40510:251;;;40609:6;40616:1;40609:9;;;;;;;;;;;;;;40566:28;:40;40595:7;40603:1;40595:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;40566:40:0::1;-1:-1:-1::0;;;;;40566:40:0::1;;;;;;;;;;;;;:52;;;;;-1:-1:-1::0;;;;;40566:52:0::1;;;;;-1:-1:-1::0;;;;;40566:52:0::1;;;;;;40663:10;40674:1;40663:13;;;;;;;;;;;;;;40633:15;:27;40649:7;40657:1;40649:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;40633:27:0::1;-1:-1:-1::0;;;;;40633:27:0::1;;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;40712:7;40720:1;40712:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;40696:53:0::1;;40724:10;40735:1;40724:13;;;;;;;;;;;;;;40739:6;40746:1;40739:9;;;;;;;;;;;;;;40696:53;;;;;;;;;;;-1:-1:-1::0;;;;;40696:53:0::1;;;;;;;;;;;;;;;;40546:3;;40510:251;;;;31154:1;40210:558:::0;;;:::o;32624:30::-;;;;:::o;31514:148::-;31094:12;:10;:12::i;:::-;31084:6;;-1:-1:-1;;;;;31084:6:0;;;:22;;;31076:67;;;;;-1:-1:-1;;;31076:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31076:67:0;;;;;;;;;;;;;;;31621:1:::1;31605:6:::0;;31584:40:::1;::::0;-1:-1:-1;;;;;31605:6:0;;::::1;::::0;31584:40:::1;::::0;31621:1;;31584:40:::1;31652:1;31635:19:::0;;-1:-1:-1;;;;;;31635:19:0::1;::::0;;31514:148::o;32368:26::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32368:26:0;:::o;37217:1142::-;37307:4;;:23;;;-1:-1:-1;;;37307:23:0;;;;37281;;-1:-1:-1;;;;;37307:4:0;;:21;;:23;;;;;:4;;:23;;;;;;;:4;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37307:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37307:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37307:23:0;;;;;;;;;;;;-1:-1:-1;37307:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37281:49;;37341:11;37355:6;:13;37341:27;;37396:30;37441;37486:19;37520:21;37555:46;37579:13;37594:6;37555:23;:46::i;:::-;37614:4;;:59;;;-1:-1:-1;;;37614:59:0;;37632:10;37614:59;;;;37652:4;37614:59;;;;;;;;;;;;37381:220;;-1:-1:-1;37381:220:0;;-1:-1:-1;37381:220:0;;-1:-1:-1;37381:220:0;-1:-1:-1;;;;;;37614:4:0;;:17;;:59;;;;;;;;;;;;;;;:4;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37686:4:0;;:42;;;-1:-1:-1;;;37686:42:0;;-1:-1:-1;;;;;37686:4:0;;;:42;;;;;;;;;;;;;;:4;;:12;;:42;;;;;37614:59;;37686:42;;;;;;;:4;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37741:4:0;;:43;;;-1:-1:-1;;;37741:43:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37741:4:0;;;;:13;;37755;;37770;;37741:43;;;;;;37686:42;37741:43;;;;;;;;:4;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37801:9;37797:287;37820:3;37816:1;:7;37797:287;;;37845:24;37872:25;37887:6;37894:1;37887:9;;;;;;;37872:25;37845:52;;37927:6;37934:1;37927:9;;;;;;;;;;;;;;-1:-1:-1;;;;;37912:34:0;;37955:9;37967:13;37981:1;37967:16;;;;;;;;;;;;;;37912:72;;;;;;;;;;;;;-1:-1:-1;;;;;37912:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38026:16:0;;-1:-1:-1;;;;;37999:14:0;;;;;38022:1;;38026:13;;38040:1;;38026:16;;;;;;;;;;;;38052:4;38069:1;38059:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38059:12:0;;37999:73;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37999:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37825:3:0;;;;;-1:-1:-1;37797:287:0;;-1:-1:-1;;37797:287:0;;;38097:20;38119;38143:23;38154:11;38143:10;:23::i;:::-;38179:4;;:27;;;-1:-1:-1;;;38179:27:0;;;;;;;;;;38096:70;;-1:-1:-1;38096:70:0;;-1:-1:-1;;;;;;38179:4:0;;:13;;:27;;;;;:4;;:27;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38217:33:0;;:10;;-1:-1:-1;38217:33:0;;;;;-1:-1:-1;38237:12:0;;38217:33;;;;38237:12;38217:10;:33;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38268:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;38282:10;;38268:83;;;;;;;;;;37217:1142;;;;;;;;;:::o;30872:79::-;30910:7;30937:6;-1:-1:-1;;;;;30937:6:0;30872:79;:::o;32401:27::-;;;;;;;;;;32500:63;;;;;;;;;;;;-1:-1:-1;;;;;32500:63:0;;:::o;34532:2677::-;34656:4;;:22;;;-1:-1:-1;;;34656:22:0;;;;34629:24;;-1:-1:-1;;;;;34656:4:0;;:20;;:22;;;;;;;;;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34656:22:0;;-1:-1:-1;;;;;;34696:39:0;;;34693:272;;34840:4;;34778:68;;;-1:-1:-1;;;34778:68:0;;-1:-1:-1;;;;;34840:4:0;;;34778:68;;;;;;34756:19;;34778:53;;;;;:68;;;;;;;;;;;;;;:53;:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34778:68:0;34873:4;;:18;;;-1:-1:-1;;;34873:18:0;;;;34778:68;;-1:-1:-1;34778:68:0;;34873:38;;34896:14;;-1:-1:-1;;;;;34873:4:0;;;;:16;;:18;;;;;34778:68;;34873:18;;;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34873:18:0;;:22;:38::i;:::-;:56;;34865:84;;;;;-1:-1:-1;;;34865:84:0;;;;;;;;;;;;-1:-1:-1;;;34865:84:0;;;;;;;;;;;;;;;34693:272;;34532:2677;35008:1;34996:9;:13;34988:38;;;;;-1:-1:-1;;;34988:38:0;;;;;;;;;;;;-1:-1:-1;;;34988:38:0;;;;;;;;;;;;;;;35037:4;;;;;;;;;-1:-1:-1;;;;;35037:4:0;-1:-1:-1;;;;;35037:12:0;;35056:9;35037:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35082:17;35101:18;35123:21;35134:9;35123:10;:21::i;:::-;35081:63;;;;35157:10;35170:59;35226:2;35170:51;35202:4;;;;;;;;;-1:-1:-1;;;;;35202:4:0;-1:-1:-1;;;;;35202:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35202:18:0;35170:27;:14;35189:7;35170:18;:27::i;:51::-;:55;;:59::i;:::-;35157:72;;35242:23;35268:4;;;;;;;;;-1:-1:-1;;;;;35268:4:0;-1:-1:-1;;;;;35268:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35268:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35268:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35268:23:0;;;;;;;;;;;;-1:-1:-1;35268:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35242:49;;35302:11;35316:6;:13;35302:27;;35342:39;35408:6;:13;35384:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;35342:80;;35433:29;35479:6;:13;35465:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35465:28:0;;35433:60;;35506:20;35545:9;35541:960;35564:3;35560:1;:7;35541:960;;;35589:24;35616:25;35631:6;35638:1;35631:9;;;;;;;35616:25;35589:52;;35720:9;-1:-1:-1;;;;;35720:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35720:23:0;;;;;;;35659:15;;-1:-1:-1;;;;;35658:85:0;;;;;;;;35659:12;;35672:1;;35659:15;;;;;;;;;;;;:28;;35689:12;35702:1;35689:15;;;;;;;;;;;;;;;;;;:26;;35658:85;;;;;35786:4;;35802:9;;35776:50;;35818:7;;35776:37;;-1:-1:-1;;;;;35786:4:0;;:15;;35802:6;;35809:1;;35802:9;;;;;;;;;;;;35786:26;;;;;;;;;;;;;-1:-1:-1;;;;;35786:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35786:26:0;35776:5;;:9;:37::i;:50::-;35758:12;35771:1;35758:15;;;;;;;;;;;;;:68;;;;;35869:169;35916:12;35929:1;35916:15;;;;;;;;;;;;;;35950:12;35963:1;35950:15;;;;;;;;;;;;;;:26;;;35995:12;36008:1;35995:15;;;;;;;;;;;;;;:28;;;35869;:169::i;:::-;35841:12;35854:1;35841:15;;;;;;;;;;;;;;;;;;;:25;:197;36055:4;;36089:15;;-1:-1:-1;;;;;36055:4:0;;;;:13;;36077:9;;36089:12;;36102:1;;36089:15;;;;;;;;;;;;:25;;;36055:60;;;;;;;;;;;;;-1:-1:-1;;;;;36055:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36147:15:0;;-1:-1:-1;;;;;36132:14:0;;;;;36147:12;;36160:1;;36147:15;;;;;;;;;;;;36169:1;36181:4;36198:1;36188:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36188:12:0;;36132:69;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36132:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36231:43;36248:12;36261:1;36248:15;;;;;;;;;;;;;;:25;;;36231:12;:16;;:43;;;;:::i;:::-;36216:58;;36294:15;:26;36310:6;36317:1;36310:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36294:26:0;;;;;;;;;;;-1:-1:-1;36294:26:0;;;;36291:117;;;36356:6;36363:1;36356:9;;;;;;;;;;;;;;-1:-1:-1;;;;;36341:33:0;;36383:4;;;;;;;;;-1:-1:-1;;;;;36383:4:0;36390:1;36341:51;;;;;;;;;;;;;-1:-1:-1;;;;;36341:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36291:117:0;36439:6;36446:1;36439:9;;;;;;;;;;;;;;-1:-1:-1;;;;;36424:33:0;;36466:4;;;;;;;;;-1:-1:-1;;;;;36466:4:0;36473:12;36486:1;36473:15;;;;;;;;;;;;;;36424:65;;;;;;;;;;;;;-1:-1:-1;;;;;36424:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35569:3:0;;35541:960;;;-1:-1:-1;36544:4:0;;:22;;;-1:-1:-1;;;36544:22:0;;;;36516:21;;-1:-1:-1;;;;;36544:4:0;;:20;;:22;;;;;;;;;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36544:22:0;;;36631:4;;36544:22;36631:130;;-1:-1:-1;;;36631:130:0;;;;;;;;;;;;;;36745:4;36631:130;;;;;;36544:22;;-1:-1:-1;36578:26:0;;;;-1:-1:-1;;;;;36631:4:0;;:31;;:130;;;;;;;;;;;:4;:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36577:184;;;;36793:10;-1:-1:-1;;;;;36779:82:0;;36805:10;36817:9;36828:14;36844:16;36779:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36874:4;;;;;;;;;-1:-1:-1;;;;;36874:4:0;-1:-1:-1;;;;;36874:13:0;;36888:14;36904:12;36874:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36928:4:0;;:48;;;-1:-1:-1;;;36928:48:0;;36942:10;36928:48;;;;;;;;;;;;-1:-1:-1;;;;;36928:4:0;;;;-1:-1:-1;36928:13:0;;-1:-1:-1;36928:48:0;;;;;;;;;;;;;;;:4;;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36989:15:0;;-1:-1:-1;37007:28:0;:10;37022:12;37007:14;:28::i;:::-;36989:46;-1:-1:-1;37050:11:0;;37046:156;;37078:4;;:22;;;-1:-1:-1;;;37078:22:0;;;;;;;;;;-1:-1:-1;;;;;37078:4:0;;;;:13;;:22;;;;;:4;;:22;;;;;;;;:4;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37115:28:0;;:10;;-1:-1:-1;37115:28:0;;;;;-1:-1:-1;37135:7:0;;37115:28;;;;37135:7;37115:10;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37163:27:0;;;;;;;;37170:10;;37163:27;;;;;;;;;;37046:156;34532:2677;;;;;;;;;;;;;:::o;43233:1187::-;43345:30;43386;43427:19;43457:21;43527:7;:14;43513:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43513:29:0;;43497:45;;43583:7;:14;43569:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43569:29:0;;43553:45;;43616:21;43642:4;;;;;;;;;-1:-1:-1;;;;;43642:4:0;-1:-1:-1;;;;;43642:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43642:22:0;;;;;43790:4;;:79;;-1:-1:-1;;;43790:79:0;;;;;;;;;;;;;;43863:4;43790:79;;;;;;43642:22;;-1:-1:-1;43677:25:0;;-1:-1:-1;;;;;43790:4:0;;;;:31;;:79;;;;;43642:22;;43790:79;;;;;;:4;:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43790:79:0;;;;;;;43940:4;;43790:79;43940:18;;-1:-1:-1;;;43940:18:0;;;;43790:79;;-1:-1:-1;43790:79:0;;-1:-1:-1;43882:17:0;;43902:57;;-1:-1:-1;;;;;43940:4:0;;;;:16;;:18;;;;;43790:79;43940:18;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43940:18:0;43902:33;:20;43927:7;43902:24;:33::i;:57::-;43882:77;;43986:1;43972:15;;44003:6;43998:415;44019:7;:14;44015:1;:18;43998:415;;;44088:4;;44104:10;;44074:55;;44121:7;;44074:42;;-1:-1:-1;;;;;44088:4:0;;:15;;44104:7;;44112:1;;44104:10;;;;;;;;;;;;44088:27;;;;;;;;;;;;;-1:-1:-1;;;;;44088:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44088:27:0;44074:9;;:13;:42::i;:55::-;44055:13;44069:1;44055:16;;;;;;;;;;;;;:74;;;;;44147:20;44169:18;44192:26;44207:7;44215:1;44207:10;;;;;;;44192:26;-1:-1:-1;;;;;44192:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44192:40:0;;;;;;;44296:16;;-1:-1:-1;;;;;44146:86:0;;;;-1:-1:-1;44146:86:0;;;-1:-1:-1;44266:73:0;;44296:13;;44310:1;;44296:16;;;;;;;;;;;;44314:12;44328:10;44266:29;:73::i;:::-;44247:13;44261:1;44247:16;;;;;;;;;;;;;:92;;;;;44368:33;44384:13;44398:1;44384:16;;;;;;;;;;;;;;44368:11;:15;;:33;;;;:::i;:::-;44354:47;-1:-1:-1;;;44035:3:0;;43998:415;;;;43233:1187;;;;;;;;;;:::o;39753:449::-;33954:10;;-1:-1:-1;;;;;33954:10:0;33940;:24;;:49;;;33982:7;:5;:7::i;:::-;-1:-1:-1;;;;;33968:21:0;:10;-1:-1:-1;;;;;33968:21:0;;33940:49;33932:77;;;;;-1:-1:-1;;;33932:77:0;;;;;;;;;;;;-1:-1:-1;;;33932:77:0;;;;;;;;;;;;;;;39982:22:::1;:9;39994:10:::0;;39982:22:::1;:::i;:::-;-1:-1:-1::0;40015:24:0::1;:10;40028:11:::0;;40015:24:::1;:::i;:::-;-1:-1:-1::0;40050:9:0::1;:22:::0;;-1:-1:-1;;;;;;40050:22:0;;::::1;-1:-1:-1::0;;;;;40050:22:0;;::::1;::::0;;::::1;::::0;;;40083:10:::1;:24:::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;40125:69:::1;::::0;;;;;;;;;;;40133:10:::1;::::0;40125:69:::1;::::0;40145:10;;40125:69;;40157:11;;;;40125:69;::::1;::::0;;::::1;::::0;;;;;40145:10;;40125:69;::::1;::::0;40145:10;40125:69;::::1;;::::0;;::::1;::::0;::::1;;-1:-1:-1::0;;40125:69:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;40125:69:0;;;::::1;::::0;;;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;40125:69:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;40125:69:0;;-1:-1:-1;;;;;;;40125:69:0::1;39753:449:::0;;;;;;:::o;40962:2263::-;41089:29;;41169:15;41215:52;41229:37;41258:7;41229:24;:9;41243;41229:13;:24::i;:37::-;41215:9;;:13;:52::i;:::-;41203:64;;41335:39;41401:7;:14;41377:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;41335:81;;41429:24;41483:23;41509:4;;;;;;;;;-1:-1:-1;;;;;41509:4:0;-1:-1:-1;;;;;41509:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41483:44;;41776:17;41796:95;41875:15;41796:74;41862:7;41796:61;41829:4;;;;;;;;;-1:-1:-1;;;;;41829:4:0;-1:-1:-1;;;;;41829:15:0;;41845:7;41853:1;41845:10;;;;;;;;;;;;;;41829:27;;;;;;;;;;;;;-1:-1:-1;;;;;41829:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;41796:61;:65;;:74::i;:95::-;41776:115;;41913:6;41908:680;41929:7;:14;41925:1;:18;41908:680;;;42079:4;;42095:10;;42065:55;;42112:7;;42065:42;;-1:-1:-1;;;;;42079:4:0;;:15;;42095:7;;42103:1;;42095:10;;;;;42065:55;42035:12;42048:1;42035:15;;;;;;;;;;;;;;:27;;:85;;;;;42203:26;42218:7;42226:1;42218:10;;;;;;;42203:26;-1:-1:-1;;;;;42203:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42203:40:0;;;;;;;42142:15;;-1:-1:-1;;;;;42141:102:0;;;;;;;;42142:12;;42155:1;;42142:15;;;;;;;;;;;;:28;;42172:12;42185:1;42172:15;;;;;;;;;;;;;;:26;;42141:102;;;;;;;;;;42290:197;42341:12;42354:1;42341:15;;;;;;;;;;;;;;:27;;;42391:12;42404:1;42391:15;;;;;;;;;;;;;;:26;;;42440:12;42453:1;42440:15;;;;;;;42290:197;42262:12;42275:1;42262:15;;;;;;;;;;;;;;:25;;:225;;;;;42525:47;42546:12;42559:1;42546:15;;;;;;;;;;;;;;:25;;;42525:16;:20;;:47;;;;:::i;:::-;42506:66;-1:-1:-1;41945:3:0;;41908:680;;;;40962:2263;;42744:7;:14;42730:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42730:29:0;;42715:44;;42799:7;:14;42785:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42785:29:0;;42770:44;;42830:6;42825:298;42846:7;:14;42842:1;:18;42825:298;;;42900:88;42980:7;42900:75;42914:60;42957:16;42914:38;42944:7;42914:12;42927:1;42914:15;;;;;;;;;;;;;;:25;;;:29;;:38;;;;:::i;:60::-;42900:9;;:13;:75::i;:88::-;42882:12;42895:1;42882:15;;;;;;;;;;;;;;;;;:106;43021:90;43103:7;43021:77;43053:44;43080:16;43021:77;43053:9;43103:7;43053:13;:22::i;:44::-;43021:12;43034:1;43021:15;;;;;;;;;;;;;;:27;;;:31;;:77;;;;:::i;:90::-;43003:12;43016:1;43003:15;;;;;;;;;;;;;;;;;:108;42862:3;;42825:298;;;-1:-1:-1;43189:4:0;;43205:10;;43145:72;;-1:-1:-1;;;;;43189:4:0;;:15;;43205:7;;43189:4;;43205:10;;;;;;;;;;43189:27;;;;;;;;;;;;;-1:-1:-1;;;;;43189:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43189:27:0;43168:15;;43145:39;;43168:12;;43181:1;;43168:15;;;;;;;;;;43145:4;;;;;;;;;-1:-1:-1;;;;;43145:4:0;-1:-1:-1;;;;;43145:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43145:18:0;;:22;:39::i;:72::-;43135:82;;40962:2263;;;;;;;;;:::o;32466:25::-;;;-1:-1:-1;;;;;32466:25:0;;:::o;32301:::-;;;-1:-1:-1;;;;;32301:25:0;;:::o;31817:244::-;31094:12;:10;:12::i;:::-;31084:6;;-1:-1:-1;;;;;31084:6:0;;;:22;;;31076:67;;;;;-1:-1:-1;;;31076:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31076:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31906:22:0;::::1;31898:73;;;;-1:-1:-1::0;;;31898:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32008:6;::::0;;31987:38:::1;::::0;-1:-1:-1;;;;;31987:38:0;;::::1;::::0;32008:6;::::1;::::0;31987:38:::1;::::0;::::1;32036:6;:17:::0;;-1:-1:-1;;;;;;32036:17:0::1;-1:-1:-1::0;;;;;32036:17:0;;;::::1;::::0;;;::::1;::::0;;31817:244::o;19601:619::-;19661:4;20129:20;;19972:66;20169:23;;;;;;:42;;-1:-1:-1;20196:15:0;;;20169:42;20161:51;19601:619;-1:-1:-1;;;;19601:619:0:o;45058:154::-;-1:-1:-1;;;;;45168:35:0;;;45119:14;45168:35;;;:28;:35;;;;;;;;45058:154::o;11135:517::-;11228:14;11274:1;11263:8;:12;11255:68;;;;-1:-1:-1;;;11255:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11354:1;11342:9;:13;:31;;;;;11372:1;11359:10;:14;11342:31;11334:84;;;;-1:-1:-1;;;11334:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11429:20;11452:17;:8;11465:3;11452:12;:17::i;:::-;11429:40;-1:-1:-1;11480:14:0;11497:31;11429:40;11517:10;11497:19;:31::i;:::-;11480:48;-1:-1:-1;11539:16:0;11558:40;11582:15;11558:19;:9;11572:4;11558:13;:19::i;:::-;:23;;:40::i;:::-;11539:59;;11633:11;11621:9;:23;;;;;;;11135:517;-1:-1:-1;;;;;;;11135:517:0:o;15733:471::-;15791:7;16036:6;16032:47;;-1:-1:-1;16066:1:0;16059:8;;16032:47;16103:5;;;16107:1;16103;:5;:1;16127:5;;;;;:10;16119:56;;;;-1:-1:-1;;;16119:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16195:1;-1:-1:-1;15733:471:0;;;;;:::o;16680:132::-;16738:7;16765:39;16769:1;16772;16765:39;;;;;;;;;;;;;;;;;:3;:39::i;14843:136::-;14901:7;14928:43;14932:1;14935;14928:43;;;;;;;;;;;;;;;;;:3;:43::i;29428:106::-;29516:10;29428:106;:::o;14379:181::-;14437:7;14469:5;;;14493:6;;;;14485:46;;;;;-1:-1:-1;;;14485:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11773:472;11866:13;11912:1;11900:9;:13;11892:70;;;;-1:-1:-1;;;11892:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11993:1;11981:9;:13;:31;;;;;12011:1;11998:10;:14;11981:31;11973:84;;;;-1:-1:-1;;;11973:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12068:14;12085:34;12114:4;12085:24;:9;12099;12085:13;:24::i;:::-;:28;;:34::i;:::-;12068:51;-1:-1:-1;12130:16:0;12149:34;12179:3;12149:25;:10;12164:9;12149:14;:25::i;:34::-;12130:53;;12205:32;12235:1;12218:11;12206:9;:23;;;;;;;12205:29;:32::i;:::-;12194:43;11773:472;-1:-1:-1;;;;;;11773:472:0:o;8795:142::-;8847:6;8874;;;:30;;-1:-1:-1;;8889:5:0;;;8903:1;8898;8889:5;8898:1;8884:15;;;;;:20;8874:30;8866:63;;;;;-1:-1:-1;;;8866:63:0;;;;;;;;;;;;-1:-1:-1;;;8866:63:0;;;;;;;;;;;;;;8522:128;8606:5;;;8601:16;;;;8593:49;;;;;-1:-1:-1;;;8593:49:0;;;;;;;;;;;;-1:-1:-1;;;8593:49:0;;;;;;;;;;;;;;17308:278;17394:7;17429:12;17422:5;17414:28;;;;-1:-1:-1;;;17414:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17453:9;17469:1;17465;:5;;;;;;;17308:278;-1:-1:-1;;;;;17308:278:0:o;15282:192::-;15368:7;15404:12;15396:6;;;;15388:29;;;;-1:-1:-1;;;15388:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15440:5:0;;;15282:192::o;8658:129::-;8742:5;;;8737:16;;;;8729:50;;;;;-1:-1:-1;;;8729:50:0;;;;;;;;;;;;-1:-1:-1;;;8729:50:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://a44a913751e719dd64885f57c95ea4d03ad8c3de4994d247b9db00987168aec7

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.