ETH Price: $3,335.13 (-1.25%)

Contract

0xf67Ab1c914deE06Ba0F264031885Ea7B276a7cDa
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Work125741512021-06-05 11:19:171297 days ago1622891957IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0511857817.00000145
Work125738072021-06-05 9:56:221297 days ago1622886982IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0608388221
Work121554412021-04-01 19:21:231361 days ago1617304883IN
0xf67Ab1c9...B276a7cDa
0 ETH0.04953933218.16
Work121531372021-04-01 10:40:521362 days ago1617273652IN
0xf67Ab1c9...B276a7cDa
0 ETH0.42478679159.58
Work121507472021-04-01 1:51:091362 days ago1617241869IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0538856237.3
Work121499542021-03-31 22:47:251362 days ago1617230845IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0538856237.3
Work121479532021-03-31 15:39:461362 days ago1617205186IN
0xf67Ab1c9...B276a7cDa
0 ETH0.72137625271
Work121478072021-03-31 15:07:541362 days ago1617203274IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0608569268
Work121423012021-03-30 18:43:341363 days ago1617129814IN
0xf67Ab1c9...B276a7cDa
0 ETH0.55651736209.07
Work121395442021-03-30 8:27:181364 days ago1617092838IN
0xf67Ab1c9...B276a7cDa
0 ETH0.03292631145
Work121392632021-03-30 7:23:541364 days ago1617089034IN
0xf67Ab1c9...B276a7cDa
0 ETH0.330072124
Work121331632021-03-29 8:49:401365 days ago1617007780IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0262275115.5
Work121328802021-03-29 7:49:161365 days ago1617004156IN
0xf67Ab1c9...B276a7cDa
0 ETH0.02372965104.5
Work121313642021-03-29 2:15:071365 days ago1616984107IN
0xf67Ab1c9...B276a7cDa
0 ETH0.02503534110.25
Work121308232021-03-29 0:12:211365 days ago1616976741IN
0xf67Ab1c9...B276a7cDa
0 ETH0.29273134110
Work121306762021-03-28 23:42:181365 days ago1616974938IN
0xf67Ab1c9...B276a7cDa
0 ETH0.29280581110
Work121305332021-03-28 23:12:021365 days ago1616973122IN
0xf67Ab1c9...B276a7cDa
0 ETH0.31676264119
Work121303972021-03-28 22:41:431365 days ago1616971303IN
0xf67Ab1c9...B276a7cDa
0 ETH0.02520565111
Work121303962021-03-28 22:41:261365 days ago1616971286IN
0xf67Ab1c9...B276a7cDa
0 ETH0.36334539136.5
Work121302562021-03-28 22:11:161365 days ago1616969476IN
0xf67Ab1c9...B276a7cDa
0 ETH0.36458357137
Work121301232021-03-28 21:41:011365 days ago1616967661IN
0xf67Ab1c9...B276a7cDa
0 ETH0.35935258135
Work121256342021-03-28 5:07:511366 days ago1616908071IN
0xf67Ab1c9...B276a7cDa
0 ETH0.0226596599.78800164
Work121241782021-03-27 23:39:141366 days ago1616888354IN
0xf67Ab1c9...B276a7cDa
0 ETH0.2111185583
Work121239862021-03-27 23:00:361366 days ago1616886036IN
0xf67Ab1c9...B276a7cDa
0 ETH0.48378367181
Work121170062021-03-26 21:09:351367 days ago1616792975IN
0xf67Ab1c9...B276a7cDa
0 ETH0.45745622171.15
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
125741512021-06-05 11:19:171297 days ago1622891957
0xf67Ab1c9...B276a7cDa
0.04847857 ETH
125741512021-06-05 11:19:171297 days ago1622891957
0xf67Ab1c9...B276a7cDa
0.04847857 ETH
121700812021-04-04 1:12:191359 days ago1617498739
0xf67Ab1c9...B276a7cDa
0.36047878 ETH
121700812021-04-04 1:12:191359 days ago1617498739
0xf67Ab1c9...B276a7cDa
0.36047878 ETH
121678622021-04-03 17:08:121359 days ago1617469692
0xf67Ab1c9...B276a7cDa
0.58083464 ETH
121678622021-04-03 17:08:121359 days ago1617469692
0xf67Ab1c9...B276a7cDa
0.58083464 ETH
121677262021-04-03 16:37:591359 days ago1617467879
0xf67Ab1c9...B276a7cDa
0.45975906 ETH
121677262021-04-03 16:37:591359 days ago1617467879
0xf67Ab1c9...B276a7cDa
0.45975906 ETH
121675732021-04-03 16:03:221359 days ago1617465802
0xf67Ab1c9...B276a7cDa
0.46028026 ETH
121675732021-04-03 16:03:221359 days ago1617465802
0xf67Ab1c9...B276a7cDa
0.46028026 ETH
121674342021-04-03 15:32:501359 days ago1617463970
0xf67Ab1c9...B276a7cDa
0.39663443 ETH
121674342021-04-03 15:32:501359 days ago1617463970
0xf67Ab1c9...B276a7cDa
0.39663443 ETH
121672792021-04-03 15:02:281359 days ago1617462148
0xf67Ab1c9...B276a7cDa
0.39984114 ETH
121672792021-04-03 15:02:281359 days ago1617462148
0xf67Ab1c9...B276a7cDa
0.39984114 ETH
121671452021-04-03 14:31:451359 days ago1617460305
0xf67Ab1c9...B276a7cDa
0.39870242 ETH
121671452021-04-03 14:31:451359 days ago1617460305
0xf67Ab1c9...B276a7cDa
0.39870242 ETH
121670062021-04-03 14:01:231359 days ago1617458483
0xf67Ab1c9...B276a7cDa
0.39926114 ETH
121670062021-04-03 14:01:231359 days ago1617458483
0xf67Ab1c9...B276a7cDa
0.39926114 ETH
121668672021-04-03 13:31:181359 days ago1617456678
0xf67Ab1c9...B276a7cDa
0.35822365 ETH
121668672021-04-03 13:31:181359 days ago1617456678
0xf67Ab1c9...B276a7cDa
0.35822365 ETH
121667362021-04-03 13:01:101359 days ago1617454870
0xf67Ab1c9...B276a7cDa
0.35867401 ETH
121667362021-04-03 13:01:101359 days ago1617454870
0xf67Ab1c9...B276a7cDa
0.35867401 ETH
121666082021-04-03 12:30:371359 days ago1617453037
0xf67Ab1c9...B276a7cDa
0.35912523 ETH
121666082021-04-03 12:30:371359 days ago1617453037
0xf67Ab1c9...B276a7cDa
0.35912523 ETH
121664622021-04-03 12:00:331359 days ago1617451233
0xf67Ab1c9...B276a7cDa
0.35820042 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SushiswapV1Oracle

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-12-08
*/

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

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

interface ISushiswap2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

interface ISushiswapV2Pair {
    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;
}

// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))
library FixedPoint {
    // range: [0, 2**112 - 1]
    // resolution: 1 / 2**112
    struct uq112x112 {
        uint224 _x;
    }

    // range: [0, 2**144 - 1]
    // resolution: 1 / 2**112
    struct uq144x112 {
        uint _x;
    }

    uint8 private constant RESOLUTION = 112;

    // encode a uint112 as a UQ112x112
    function encode(uint112 x) internal pure returns (uq112x112 memory) {
        return uq112x112(uint224(x) << RESOLUTION);
    }

    // encodes a uint144 as a UQ144x112
    function encode144(uint144 x) internal pure returns (uq144x112 memory) {
        return uq144x112(uint256(x) << RESOLUTION);
    }

    // divide a UQ112x112 by a uint112, returning a UQ112x112
    function div(uq112x112 memory self, uint112 x) internal pure returns (uq112x112 memory) {
        require(x != 0, 'FixedPoint: DIV_BY_ZERO');
        return uq112x112(self._x / uint224(x));
    }

    // multiply a UQ112x112 by a uint, returning a UQ144x112
    // reverts on overflow
    function mul(uq112x112 memory self, uint y) internal pure returns (uq144x112 memory) {
        uint z;
        require(y == 0 || (z = uint(self._x) * y) / y == uint(self._x), "FixedPoint: MULTIPLICATION_OVERFLOW");
        return uq144x112(z);
    }

    // returns a UQ112x112 which represents the ratio of the numerator to the denominator
    // equivalent to encode(numerator).div(denominator)
    function fraction(uint112 numerator, uint112 denominator) internal pure returns (uq112x112 memory) {
        require(denominator > 0, "FixedPoint: DIV_BY_ZERO");
        return uq112x112((uint224(numerator) << RESOLUTION) / denominator);
    }

    // decode a UQ112x112 into a uint112 by truncating after the radix point
    function decode(uq112x112 memory self) internal pure returns (uint112) {
        return uint112(self._x >> RESOLUTION);
    }

    // decode a UQ144x112 into a uint144 by truncating after the radix point
    function decode144(uq144x112 memory self) internal pure returns (uint144) {
        return uint144(self._x >> RESOLUTION);
    }
}

// library with helper methods for oracles that are concerned with computing average prices
library SushiswapV2OracleLibrary {
    using FixedPoint for *;

    // helper function that returns the current block timestamp within the range of uint32, i.e. [0, 2**32 - 1]
    function currentBlockTimestamp() internal view returns (uint32) {
        return uint32(block.timestamp % 2 ** 32);
    }

    // produces the cumulative price using counterfactuals to save gas and avoid a call to sync.
    function currentCumulativePrices(
        address pair
    ) internal view returns (uint price0Cumulative, uint price1Cumulative, uint32 blockTimestamp) {
        blockTimestamp = currentBlockTimestamp();
        price0Cumulative = ISushiswapV2Pair(pair).price0CumulativeLast();
        price1Cumulative = ISushiswapV2Pair(pair).price1CumulativeLast();

        // if time has elapsed since the last update on the pair, mock the accumulated price values
        (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = ISushiswapV2Pair(pair).getReserves();
        if (blockTimestampLast != blockTimestamp) {
            // subtraction overflow is desired
            uint32 timeElapsed = blockTimestamp - blockTimestampLast;
            // addition overflow is desired
            // counterfactual
            price0Cumulative += uint(FixedPoint.fraction(reserve1, reserve0)._x) * timeElapsed;
            // counterfactual
            price1Cumulative += uint(FixedPoint.fraction(reserve0, reserve1)._x) * timeElapsed;
        }
    }
}

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

/**
 * @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 addition of two unsigned integers, reverting with custom message on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, errorMessage);

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    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 multiplication of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b, string memory errorMessage) 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, errorMessage);

        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) {
        // Solidity only automatically asserts when dividing by 0
        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;
    }
}

library SushiswapV2Library {
    using SafeMath 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, 'SushiswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'SushiswapV2Library: 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,) = ISushiswapV2Pair(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, 'SushiswapV2Library: 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, 'SushiswapV2Library: 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, 'SushiswapV2Library: 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, 'SushiswapV2Library: 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, 'SushiswapV2Library: 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);
        }
    }
}

interface WETH9 {
    function withdraw(uint wad) external;
}

interface ISushiswapV2Router {
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
}

interface IKeep3rV1 {
    function isMinKeeper(address keeper, uint minBond, uint earned, uint age) external returns (bool);
    function receipt(address credit, address keeper, uint amount) external;
    function unbond(address bonding, uint amount) external;
    function withdraw(address bonding) external;
    function bonds(address keeper, address credit) external view returns (uint);
    function unbondings(address keeper, address credit) external view returns (uint);
    function approve(address spender, uint amount) external returns (bool);
    function jobs(address job) external view returns (bool);
    function balanceOf(address account) external view returns (uint256);
    function worked(address keeper) external;
    function KPRH() external view returns (IKeep3rV1Helper);
}

interface IKeep3rV1Helper {
    function getQuoteLimit(uint gasUsed) external view returns (uint);
}

// sliding oracle that uses observations collected to provide moving price averages in the past
contract SushiswapV1Oracle {
    using FixedPoint for *;
    using SafeMath for uint;

    struct Observation {
        uint timestamp;
        uint price0Cumulative;
        uint price1Cumulative;
    }
    
    uint public minKeep = 200e18;

    modifier keeper() {
        require(KP3R.isMinKeeper(msg.sender, minKeep, 0, 0), "::isKeeper: keeper is not registered");
        _;
    }

    modifier upkeep() {
        uint _gasUsed = gasleft();
        require(KP3R.isMinKeeper(msg.sender, minKeep, 0, 0), "::isKeeper: keeper is not registered");
        _;
        uint _received = KP3R.KPRH().getQuoteLimit(_gasUsed.sub(gasleft()));
        KP3R.receipt(address(KP3R), address(this), _received);
        _received = _swap(_received);
        msg.sender.transfer(_received);
    }

    address public governance;
    address public pendingGovernance;
    
    function setMinKeep(uint _keep) external {
        require(msg.sender == governance, "setGovernance: !gov");
        minKeep = _keep;
    }

    /**
     * @notice Allows governance to change governance (for future upgradability)
     * @param _governance new governance address to set
     */
    function setGovernance(address _governance) external {
        require(msg.sender == governance, "setGovernance: !gov");
        pendingGovernance = _governance;
    }

    /**
     * @notice Allows pendingGovernance to accept their role as governance (protection pattern)
     */
    function acceptGovernance() external {
        require(msg.sender == pendingGovernance, "acceptGovernance: !pendingGov");
        governance = pendingGovernance;
    }

    IKeep3rV1 public constant KP3R = IKeep3rV1(0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44);
    WETH9 public constant WETH = WETH9(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
    ISushiswapV2Router public constant UNI = ISushiswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public constant factory = 0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac;
    // this is redundant with granularity and windowSize, but stored for gas savings & informational purposes.
    uint public constant periodSize = 1800;

    address[] internal _pairs;
    mapping(address => bool) internal _known;

    function pairs() external view returns (address[] memory) {
        return _pairs;
    }

    mapping(address => Observation[]) public observations;
    
    function observationLength(address pair) external view returns (uint) {
        return observations[pair].length;
    }
    
    function pairFor(address tokenA, address tokenB) external pure returns (address) {
        return SushiswapV2Library.pairFor(factory, tokenA, tokenB);
    }
    
    function pairForWETH(address tokenA) external pure returns (address) {
        return SushiswapV2Library.pairFor(factory, tokenA, address(WETH));
    }

    constructor() public {
        governance = msg.sender;
    }

    function updatePair(address pair) external keeper returns (bool) {
        return _update(pair);
    }

    function update(address tokenA, address tokenB) external keeper returns (bool) {
        address pair = SushiswapV2Library.pairFor(factory, tokenA, tokenB);
        return _update(pair);
    }

    function add(address tokenA, address tokenB) external {
        require(msg.sender == governance, "!gov");
        address pair = SushiswapV2Library.pairFor(factory, tokenA, tokenB);
        require(!_known[pair], "known");
        _known[pair] = true;
        _pairs.push(pair);

        (uint price0Cumulative, uint price1Cumulative,) = SushiswapV2OracleLibrary.currentCumulativePrices(pair);
        observations[pair].push(Observation(block.timestamp, price0Cumulative, price1Cumulative));
    }

    function work() public upkeep {
        bool worked = _updateAll();
        require(worked, "!work");
    }

    function workForFree() public keeper {
        bool worked = _updateAll();
        require(worked, "!work");
    }
    
    function lastObservation(address pair) public view returns (Observation memory) {
        return observations[pair][observations[pair].length-1];
    }

    function _updateAll() internal returns (bool updated) {
        for (uint i = 0; i < _pairs.length; i++) {
            if (_update(_pairs[i])) {
                updated = true;
            }
        }
    }

    function updateFor(uint i, uint length) external keeper returns (bool updated) {
        for (; i < length; i++) {
            if (_update(_pairs[i])) {
                updated = true;
            }
        }
    }

    function workable(address pair) public view returns (bool) {
        return (block.timestamp - lastObservation(pair).timestamp) > periodSize;
    }

    function workable() external view returns (bool) {
        for (uint i = 0; i < _pairs.length; i++) {
            if (workable(_pairs[i])) {
                return true;
            }
        }
        return false;
    }

    function _update(address pair) internal returns (bool) {
        // we only want to commit updates once per period (i.e. windowSize / granularity)
        Observation memory _point = lastObservation(pair);
        uint timeElapsed = block.timestamp - _point.timestamp;
        if (timeElapsed > periodSize) {
            (uint price0Cumulative, uint price1Cumulative,) = SushiswapV2OracleLibrary.currentCumulativePrices(pair);
            observations[pair].push(Observation(block.timestamp, price0Cumulative, price1Cumulative));
            return true;
        }
        return false;
    }

    function computeAmountOut(
        uint priceCumulativeStart, uint priceCumulativeEnd,
        uint timeElapsed, uint amountIn
    ) private pure returns (uint amountOut) {
        // overflow is desired.
        FixedPoint.uq112x112 memory priceAverage = FixedPoint.uq112x112(
            uint224((priceCumulativeEnd - priceCumulativeStart) / timeElapsed)
        );
        amountOut = priceAverage.mul(amountIn).decode144();
    }

    function _valid(address pair, uint age) internal view returns (bool) {
        return (block.timestamp - lastObservation(pair).timestamp) <= age;
    }

    function current(address tokenIn, uint amountIn, address tokenOut) external view returns (uint amountOut) {
        address pair = SushiswapV2Library.pairFor(factory, tokenIn, tokenOut);
        require(_valid(pair, periodSize.mul(2)), "SushiswapV1Oracle::quote: stale prices");
        (address token0,) = SushiswapV2Library.sortTokens(tokenIn, tokenOut);

        Observation memory _observation = lastObservation(pair);
        (uint price0Cumulative, uint price1Cumulative,) = SushiswapV2OracleLibrary.currentCumulativePrices(pair);
        if (block.timestamp == _observation.timestamp) {
            _observation = observations[pair][observations[pair].length-2];
        }
        
        uint timeElapsed = block.timestamp - _observation.timestamp;
        timeElapsed = timeElapsed == 0 ? 1 : timeElapsed;
        if (token0 == tokenIn) {
            return computeAmountOut(_observation.price0Cumulative, price0Cumulative, timeElapsed, amountIn);
        } else {
            return computeAmountOut(_observation.price1Cumulative, price1Cumulative, timeElapsed, amountIn);
        }
    }

    function quote(address tokenIn, uint amountIn, address tokenOut, uint granularity) external view returns (uint amountOut) {
        address pair = SushiswapV2Library.pairFor(factory, tokenIn, tokenOut);
        require(_valid(pair, periodSize.mul(granularity)), "SushiswapV1Oracle::quote: stale prices");
        (address token0,) = SushiswapV2Library.sortTokens(tokenIn, tokenOut);

        uint priceAverageCumulative = 0;
        uint length = observations[pair].length-1;
        uint i = length.sub(granularity);


        uint nextIndex = 0;
        if (token0 == tokenIn) {
            for (; i < length; i++) {
                nextIndex = i+1;
                priceAverageCumulative += computeAmountOut(
                    observations[pair][i].price0Cumulative,
                    observations[pair][nextIndex].price0Cumulative, 
                    observations[pair][nextIndex].timestamp - observations[pair][i].timestamp, amountIn);
            }
        } else {
            for (; i < length; i++) {
                nextIndex = i+1;
                priceAverageCumulative += computeAmountOut(
                    observations[pair][i].price1Cumulative,
                    observations[pair][nextIndex].price1Cumulative, 
                    observations[pair][nextIndex].timestamp - observations[pair][i].timestamp, amountIn);
            }
        }
        return priceAverageCumulative.div(granularity);
    }
    
    function prices(address tokenIn, uint amountIn, address tokenOut, uint points) external view returns (uint[] memory) {
        return sample(tokenIn, amountIn, tokenOut, points, 1);
    }
    
    function sample(address tokenIn, uint amountIn, address tokenOut, uint points, uint window) public view returns (uint[] memory) {
        address pair = SushiswapV2Library.pairFor(factory, tokenIn, tokenOut);
        (address token0,) = SushiswapV2Library.sortTokens(tokenIn, tokenOut);
        uint[] memory _prices = new uint[](points);
        
        uint length = observations[pair].length-1;
        uint i = length.sub(points * window);
        uint nextIndex = 0;
        uint index = 0;
        
        if (token0 == tokenIn) {
            for (; i < length; i+=window) {
                nextIndex = i + window;
                _prices[index] = computeAmountOut(
                    observations[pair][i].price0Cumulative,
                    observations[pair][nextIndex].price0Cumulative, 
                    observations[pair][nextIndex].timestamp - observations[pair][i].timestamp, amountIn);
                index = index + 1;
            }
        } else {
            for (; i < length; i+=window) {
                nextIndex = i + window;
                _prices[index] = computeAmountOut(
                    observations[pair][i].price1Cumulative,
                    observations[pair][nextIndex].price1Cumulative, 
                    observations[pair][nextIndex].timestamp - observations[pair][i].timestamp, amountIn);
                index = index + 1;
            }
        }
        return _prices;
    }
    
    function hourly(address tokenIn, uint amountIn, address tokenOut, uint points) external view returns (uint[] memory) {
        return sample(tokenIn, amountIn, tokenOut, points, 2);
    }
    
    function daily(address tokenIn, uint amountIn, address tokenOut, uint points) external view returns (uint[] memory) {
        return sample(tokenIn, amountIn, tokenOut, points, 48);
    }
    
    function weekly(address tokenIn, uint amountIn, address tokenOut, uint points) external view returns (uint[] memory) {
        return sample(tokenIn, amountIn, tokenOut, points, 336);
    }
    
    function realizedVolatility(address tokenIn, uint amountIn, address tokenOut, uint points, uint window) external view returns (uint) {
        return stddev(sample(tokenIn, amountIn, tokenOut, points, window));
    }
    
    function realizedVolatilityHourly(address tokenIn, uint amountIn, address tokenOut) external view returns (uint) {
        return stddev(sample(tokenIn, amountIn, tokenOut, 1, 2));
    }
    
    function realizedVolatilityDaily(address tokenIn, uint amountIn, address tokenOut) external view returns (uint) {
        return stddev(sample(tokenIn, amountIn, tokenOut, 1, 48));
    }
    
    function realizedVolatilityWeekly(address tokenIn, uint amountIn, address tokenOut) external view returns (uint) {
        return stddev(sample(tokenIn, amountIn, tokenOut, 1, 336));
    }
    
    /**
     * @dev sqrt calculates the square root of a given number x
     * @dev for precision into decimals the number must first
     * @dev be multiplied by the precision factor desired
     * @param x uint256 number for the calculation of square root
     */
    function sqrt(uint256 x) public pure returns (uint256) {
        uint256 c = (x + 1) / 2;
        uint256 b = x;
        while (c < b) {
            b = c;
            c = (x / c + c) / 2;
        }
        return b;
    }
    
    /**
     * @dev stddev calculates the standard deviation for an array of integers
     * @dev precision is the same as sqrt above meaning for higher precision
     * @dev the decimal place must be moved prior to passing the params
     * @param numbers uint[] array of numbers to be used in calculation
     */
    function stddev(uint[] memory numbers) public pure returns (uint256 sd) {
        uint sum = 0;
        for(uint i = 0; i < numbers.length; i++) {
            sum += numbers[i];
        }
        uint256 mean = sum / numbers.length;        // Integral value; float not supported in Solidity
        sum = 0;
        uint i;
        for(i = 0; i < numbers.length; i++) {
            sum += (numbers[i] - mean) ** 2;
        }
        sd = sqrt(sum / (numbers.length - 1));      //Integral value; float not supported in Solidity
        return sd;
    }
    
    
    /**
     * @dev blackScholesEstimate calculates a rough price estimate for an ATM option
     * @dev input parameters should be transformed prior to being passed to the function
     * @dev so as to remove decimal places otherwise results will be far less accurate
     * @param _vol uint256 volatility of the underlying converted to remove decimals
     * @param _underlying uint256 price of the underlying asset
     * @param _time uint256 days to expiration in years multiplied to remove decimals
     */
    function blackScholesEstimate(
        uint256 _vol,
        uint256 _underlying,
        uint256 _time
    ) public pure returns (uint256 estimate) {
        estimate = 40 * _vol * _underlying * sqrt(_time);
        return estimate;
    }
    
    /**
     * @dev fromReturnsBSestimate first calculates the stddev of an array of price returns
     * @dev then uses that as the volatility param for the blackScholesEstimate
     * @param _numbers uint256[] array of price returns for volatility calculation
     * @param _underlying uint256 price of the underlying asset
     * @param _time uint256 days to expiration in years multiplied to remove decimals
     */
    function retBasedBlackScholesEstimate(
        uint256[] memory _numbers,
        uint256 _underlying,
        uint256 _time
    ) public pure {
        uint _vol = stddev(_numbers);
        blackScholesEstimate(_vol, _underlying, _time);
    }
    
    receive() external payable {}
    
    function _swap(uint _amount) internal returns (uint) {
        KP3R.approve(address(UNI), _amount);
        
        address[] memory path = new address[](2);
        path[0] = address(KP3R);
        path[1] = address(WETH);

        uint[] memory amounts = UNI.swapExactTokensForTokens(_amount, uint256(0), path, address(this), now.add(1800));
        WETH.withdraw(amounts[1]);
        return amounts[1];
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"KP3R","outputs":[{"internalType":"contract IKeep3rV1","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNI","outputs":[{"internalType":"contract ISushiswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract WETH9","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vol","type":"uint256"},{"internalType":"uint256","name":"_underlying","type":"uint256"},{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"blackScholesEstimate","outputs":[{"internalType":"uint256","name":"estimate","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"current","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"}],"name":"daily","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"}],"name":"hourly","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"lastObservation","outputs":[{"components":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"price0Cumulative","type":"uint256"},{"internalType":"uint256","name":"price1Cumulative","type":"uint256"}],"internalType":"struct SushiswapV1Oracle.Observation","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minKeep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"observationLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"observations","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"price0Cumulative","type":"uint256"},{"internalType":"uint256","name":"price1Cumulative","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"pairFor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"}],"name":"pairForWETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"pairs","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"}],"name":"prices","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"granularity","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"name":"realizedVolatility","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"realizedVolatilityDaily","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"realizedVolatilityHourly","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"realizedVolatilityWeekly","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_numbers","type":"uint256[]"},{"internalType":"uint256","name":"_underlying","type":"uint256"},{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"retBasedBlackScholesEstimate","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"name":"sample","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keep","type":"uint256"}],"name":"setMinKeep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"x","type":"uint256"}],"name":"sqrt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"numbers","type":"uint256[]"}],"name":"stddev","outputs":[{"internalType":"uint256","name":"sd","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"update","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"uint256","name":"length","type":"uint256"}],"name":"updateFor","outputs":[{"internalType":"bool","name":"updated","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"updatePair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"}],"name":"weekly","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"work","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workForFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"workable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052680ad78ebc5ac620000060005534801561001d57600080fd5b50600180546001600160a01b03191633179055612d108061003f6000396000f3fe60806040526004361061023f5760003560e01c80638373a7ab1161012e578063bc9c5941116100ab578063de4b5e071161006f578063de4b5e0714610698578063e4463eb2146106b8578063efa7dbbd146106cd578063f39c38a0146106ed578063ffb0a4a01461070257610246565b8063bc9c594114610603578063c45a015514610623578063c640752d14610638578063c88fa15914610658578063c9ff6f4d1461067857610246565b8063a75d39c2116100f2578063a75d39c21461056e578063ab033ea91461058e578063ad5c4648146105ae578063ae6ec9b7146105c3578063b1f0cad1146105e357610246565b80638373a7ab146104ce5780639119a8d5146104ee57806396ed28f91461050e5780639f4713031461052e578063a10d04381461054e57610246565b80634411935e116101bc578063541bcb7611610180578063541bcb761461044f5780635aa6e67514610464578063677342ce1461047957806380bb2bac1461049957806381bfb885146104ae57610246565b80634411935e146103af578063470838a0146103cf5780634761703c146103ef5780634b71c33c1461040f57806352c28fab1461042f57610246565b80631b56bbf9116102035780631b56bbf914610316578063202e1e4314610343578063238efcbc14610370578063322e9f0414610385578063399b2fb91461039a57610246565b8063024599661461024b57806305e0b9a014610283578063064141e5146102a55780630a793398146102c757806311a9b128146102f457610246565b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004612435565b610724565b60405161027a93929190612c53565b60405180910390f35b34801561028f57600080fd5b50610298610763565b60405161027a9190612809565b3480156102b157600080fd5b506102c56102c03660046125fc565b61077b565b005b3480156102d357600080fd5b506102e76102e23660046124e8565b61079a565b60405161027a9190612893565b34801561030057600080fd5b50610309610a7f565b60405161027a9190612c0e565b34801561032257600080fd5b506103366103313660046123e1565b610a85565b60405161027a91906128d7565b34801561034f57600080fd5b5061036361035e3660046123e1565b610b4c565b60405161027a9190612bed565b34801561037c57600080fd5b506102c5610bba565b34801561039157600080fd5b506102c5610c08565b3480156103a657600080fd5b506102c5610ea0565b3480156103bb57600080fd5b506103096103ca36600461271e565b610f78565b3480156103db57600080fd5b506102986103ea3660046123e1565b610f94565b3480156103fb57600080fd5b506102e761040a3660046124a1565b610fc9565b34801561041b57600080fd5b506102e761042a3660046124a1565b610fe3565b34801561043b57600080fd5b506102c561044a3660046123fd565b610ff3565b34801561045b57600080fd5b5061029861114f565b34801561047057600080fd5b50610298611167565b34801561048557600080fd5b506103096104943660046126cd565b611176565b3480156104a557600080fd5b506103366111a8565b3480156104ba57600080fd5b506103096104c93660046123e1565b611200565b3480156104da57600080fd5b506103096104e9366004612539565b61121b565b3480156104fa57600080fd5b50610309610509366004612460565b6112ae565b34801561051a57600080fd5b506102986105293660046123fd565b6112ca565b34801561053a57600080fd5b506103366105493660046123e1565b6112f4565b34801561055a57600080fd5b50610309610569366004612460565b61130c565b34801561057a57600080fd5b50610309610589366004612460565b611320565b34801561059a57600080fd5b506102c56105a93660046123e1565b611471565b3480156105ba57600080fd5b506102986114bd565b3480156105cf57600080fd5b506103096105de3660046124a1565b6114d5565b3480156105ef57600080fd5b506103096105fe3660046124e8565b61177b565b34801561060f57600080fd5b506102e761061e3660046124a1565b611797565b34801561062f57600080fd5b506102986117a7565b34801561064457600080fd5b506103366106533660046123fd565b6117bf565b34801561066457600080fd5b506102c56106733660046126cd565b611898565b34801561068457600080fd5b506103366106933660046126fd565b6118c7565b3480156106a457600080fd5b506103096106b3366004612460565b6119ba565b3480156106c457600080fd5b506103096119cf565b3480156106d957600080fd5b506102e76106e83660046124a1565b6119d5565b3480156106f957600080fd5b506102986119e5565b34801561070e57600080fd5b506107176119f4565b60405161027a9190612880565b6005602052816000526040600020818154811061073d57fe5b600091825260209091206003909102018054600182015460029092015490935090915083565b731ceb5cb57c4d4e2b2433641b95dd330a33185a4481565b60006107868461121b565b9050610793818484610f78565b5050505050565b606060006107bd73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8887611a56565b905060006107cb8887611ac6565b50905060608567ffffffffffffffff811180156107e757600080fd5b50604051908082528060200260200182016040528015610811578160200160208202803683370190505b506001600160a01b0384166000908152600560205260408120549192506000199091019061084182898902611b50565b90506000808c6001600160a01b0316866001600160a01b03161415610991575b8383101561098c576001600160a01b03871660009081526005602052604090208054848b01935061096991908590811061089757fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b0316815260200190815260200160002084815481106108d957fe5b906000526020600020906003020160010154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b600091825260208083206003909202909101546001600160a01b038d1683526005909152604090912080548790811061095057fe5b906000526020600020906003020160000154038f611b92565b85828151811061097557fe5b602090810291909101015291880191600101610861565b610a6e565b83831015610a6e576001600160a01b03871660009081526005602052604090208054848b019350610a4b9190859081106109c757fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b031681526020019081526020016000208481548110610a0957fe5b906000526020600020906003020160020154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b858281518110610a5757fe5b602090810291909101015291880191600101610991565b50929b9a5050505050505050505050565b60005481565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da91610ac49133918690819060040161281d565b602060405180830381600087803b158015610ade57600080fd5b505af1158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b169190612648565b610b3b5760405162461bcd60e51b8152600401610b3290612b2f565b60405180910390fd5b610b4482611bf0565b90505b919050565b610b5461232d565b6001600160a01b038216600090815260056020526040902080546000198101908110610b7c57fe5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b6002546001600160a01b03163314610be45760405162461bcd60e51b8152600401610b3290612af8565b600254600180546001600160a01b0319166001600160a01b03909216919091179055565b60005a60008054604051630ffaf9ed60e11b8152929350731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610c4e923392909190819060040161281d565b602060405180830381600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612648565b610cbc5760405162461bcd60e51b8152600401610b3290612b2f565b6000610cc6611c95565b905080610ce55760405162461bcd60e51b8152600401610b3290612935565b506000731ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b03166309aff02b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3557600080fd5b505afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190612668565b6001600160a01b031663525ea631610d865a8590611b50565b6040518263ffffffff1660e01b8152600401610da29190612c0e565b60206040518083038186803b158015610dba57600080fd5b505afa158015610dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df291906126e5565b6040516346cd669760e11b8152909150731ceb5cb57c4d4e2b2433641b95dd330a33185a4490638d9acd2e90610e3090839030908690600401612843565b600060405180830381600087803b158015610e4a57600080fd5b505af1158015610e5e573d6000803e3d6000fd5b50505050610e6b81611cc9565b604051909150339082156108fc029083906000818181858888f19350505050158015610e9b573d6000803e3d6000fd5b505050565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610ede92339290819060040161281d565b602060405180830381600087803b158015610ef857600080fd5b505af1158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f309190612648565b610f4c5760405162461bcd60e51b8152600401610b3290612b2f565b6000610f56611c95565b905080610f755760405162461bcd60e51b8152600401610b3290612935565b50565b6000610f8382611176565b8385602802020290505b9392505050565b6000610b4473c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8373c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611a56565b6060610fda8585858561015061079a565b95945050505050565b6060610fda85858585603061079a565b6001546001600160a01b0316331461101d5760405162461bcd60e51b8152600401610b32906129d2565b600061103e73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8484611a56565b6001600160a01b03811660009081526004602052604090205490915060ff161561107a5760405162461bcd60e51b8152600401610b3290612ad9565b6001600160a01b0381166000818152600460205260408120805460ff1916600190811790915560038054918201815582527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b031916909217909155806110e983611f51565b506001600160a01b0390941660009081526005602090815260408083208151606081018352428152808401958652918201978852805460018181018355918552929093209051600390920201908155915190820155925160029093019290925550505050565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6001546001600160a01b031681565b600060026001830104825b80821015610f8d57508060028180868161119757fe5b0401816111a057fe5b049150611181565b6000805b6003548110156111f7576111e0600382815481106111c657fe5b6000918252602090912001546001600160a01b03166112f4565b156111ef5760019150506111fd565b6001016111ac565b50600090505b90565b6001600160a01b031660009081526005602052604090205490565b600080805b835181101561124e5783818151811061123557fe5b6020026020010151820191508080600101915050611220565b5060008351828161125b57fe5b0490506000915060005b84518110156112985760028286838151811061127d57fe5b6020026020010151030a830192508080600101915050611265565b610fda600186510384816112a857fe5b04611176565b60006112c26104e98585856001603061079a565b949350505050565b60006112eb73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8484611a56565b90505b92915050565b600061070861130283610b4c565b5142031192915050565b60006112c26104e98585856001600261079a565b60008061134273c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8685611a56565b905061135a816113556107086002612126565b612160565b6113765760405162461bcd60e51b8152600401610b3290612a52565b60006113828685611ac6565b50905061138d61232d565b61139683610b4c565b90506000806113a485611f51565b5084519193509150421415611415576001600160a01b0385166000908152600560205260409020805460011981019081106113db57fe5b9060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505092505b8251420380156114255780611428565b60015b9050896001600160a01b0316856001600160a01b0316141561146157611454846020015184838c611b92565b9650505050505050610f8d565b611454846040015183838c611b92565b6001546001600160a01b0316331461149b5760405162461bcd60e51b8152600401610b32906129f0565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000806114f773c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8786611a56565b90506115098161135561070886612126565b6115255760405162461bcd60e51b8152600401610b3290612a52565b60006115318786611ac6565b506001600160a01b03831660009081526005602052604081205491925090600019018161155e8288611b50565b905060008a6001600160a01b0316856001600160a01b03161415611699575b8282101561169457506001600160a01b03851660009081526005602052604090208054600183019161168591849081106115b357fe5b90600052602060002090600302016001015460056000896001600160a01b03166001600160a01b0316815260200190815260200160002083815481106115f557fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b600091825260208083206003909202909101546001600160a01b038c1683526005909152604090912080548690811061166c57fe5b906000526020600020906003020160000154038d611b92565b9093019260019091019061157d565b611762565b8282101561176257506001600160a01b03851660009081526005602052604090208054600183019161175391849081106116cf57fe5b90600052602060002090600302016002015460056000896001600160a01b03166001600160a01b03168152602001908152602001600020838154811061171157fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b90930192600190910190611699565b61176c8489612178565b9b9a5050505050505050505050565b600061178d6104e9878787878761079a565b9695505050505050565b6060610fda85858585600161079a565b73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac81565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916117fe9133918690819060040161281d565b602060405180830381600087803b15801561181857600080fd5b505af115801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612648565b61186c5760405162461bcd60e51b8152600401610b3290612b2f565b600061188d73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8585611a56565b90506112c281611bf0565b6001546001600160a01b031633146118c25760405162461bcd60e51b8152600401610b32906129f0565b600055565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916119069133918690819060040161281d565b602060405180830381600087803b15801561192057600080fd5b505af1158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612648565b6119745760405162461bcd60e51b8152600401610b3290612b2f565b818310156112ee576119a66003848154811061198c57fe5b6000918252602090912001546001600160a01b0316611bf0565b156119af575060015b600190920191611974565b60006112c26104e9858585600161015061079a565b61070881565b6060610fda85858585600261079a565b6002546001600160a01b031681565b60606003805480602002602001604051908101604052809291908181526020018280548015611a4c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a2e575b5050505050905090565b6000806000611a658585611ac6565b91509150858282604051602001611a7d92919061278c565b60405160208183030381529060405280519060200120604051602001611aa49291906127b3565b60408051601f1981840301815291905280516020909101209695505050505050565b600080826001600160a01b0316846001600160a01b03161415611afb5760405162461bcd60e51b8152600401610b3290612954565b826001600160a01b0316846001600160a01b031610611b1b578284611b1e565b83835b90925090506001600160a01b038216611b495760405162461bcd60e51b8152600401610b3290612a1d565b9250929050565b60006112eb83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f77008152506121ba565b6000611b9c61234e565b60405180602001604052808588880381611bb257fe5b046001600160e01b031690529050611bd2611bcd82856121e6565b612245565b71ffffffffffffffffffffffffffffffffffff169695505050505050565b6000611bfa61232d565b611c0383610b4c565b80519091504203610708811115611c8b57600080611c2086611f51565b506001600160a01b0388166000908152600560209081526040808320815160608101835242815280840196875291820194855280546001818101835591855292909320905160039092020190815592518382015590516002909201919091559450610b479350505050565b5060009392505050565b6000805b600354811015611cc557611cb36003828154811061198c57fe5b15611cbd57600191505b600101611c99565b5090565b60405163095ea7b360e01b8152600090731ceb5cb57c4d4e2b2433641b95dd330a33185a449063095ea7b390611d1990737a250d5630b4cf539739df2c5dacb4c659f2488d908690600401612867565b602060405180830381600087803b158015611d3357600080fd5b505af1158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b9190612648565b506040805160028082526060808301845292602083019080368337019050509050731ceb5cb57c4d4e2b2433641b95dd330a33185a4481600081518110611dae57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611df057fe5b6001600160a01b03909216602092830291909101909101526060737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398560008530611e354261070861224c565b6040518663ffffffff1660e01b8152600401611e55959493929190612c17565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eab919081019061256c565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d82600181518110611edd57fe5b60200260200101516040518263ffffffff1660e01b8152600401611f019190612c0e565b600060405180830381600087803b158015611f1b57600080fd5b505af1158015611f2f573d6000803e3d6000fd5b5050505080600181518110611f4057fe5b602002602001015192505050919050565b6000806000611f5e612271565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b158015611f9957600080fd5b505afa158015611fad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd191906126e5565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b15801561200c57600080fd5b505afa158015612020573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204491906126e5565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561208457600080fd5b505afa158015612098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bc9190612684565b9250925092508363ffffffff168163ffffffff161461211c5780840363ffffffff81166120e9848661227b565b516001600160e01b031602969096019563ffffffff811661210a858561227b565b516001600160e01b0316029590950194505b5050509193909250565b600082612135575060006112ee565b8282028284828161214257fe5b04146112eb5760405162461bcd60e51b8152600401610b3290612a98565b60008161216c84610b4c565b51420311159392505050565b60006112eb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122f6565b600081848411156121de5760405162461bcd60e51b8152600401610b3291906128e2565b505050900390565b6121ee612360565b600082158061221457505082516001600160e01b03168281029083828161221157fe5b04145b6122305760405162461bcd60e51b8152600401610b3290612b73565b60408051602081019091529081529392505050565b5160701c90565b6000828201838110156112eb5760405162461bcd60e51b8152600401610b329061299b565b63ffffffff421690565b61228361234e565b6000826001600160701b0316116122ac5760405162461bcd60e51b8152600401610b3290612bb6565b6040805160208101909152806001600160701b0384166dffffffffffffffffffffffffffff60701b607087901b16816122e157fe5b046001600160e01b0316815250905092915050565b600081836123175760405162461bcd60e51b8152600401610b3291906128e2565b50600083858161232357fe5b0495945050505050565b60405180606001604052806000815260200160008152602001600081525090565b60408051602081019091526000815290565b6040518060200160405280600081525090565b600082601f830112612383578081fd5b813561239661239182612c90565b612c69565b8181529150602080830190848101818402860182018710156123b757600080fd5b60005b848110156123d6578135845292820192908201906001016123ba565b505050505092915050565b6000602082840312156123f2578081fd5b81356112eb81612cb0565b6000806040838503121561240f578081fd5b823561241a81612cb0565b9150602083013561242a81612cb0565b809150509250929050565b60008060408385031215612447578182fd5b823561245281612cb0565b946020939093013593505050565b600080600060608486031215612474578081fd5b833561247f81612cb0565b925060208401359150604084013561249681612cb0565b809150509250925092565b600080600080608085870312156124b6578081fd5b84356124c181612cb0565b93506020850135925060408501356124d881612cb0565b9396929550929360600135925050565b600080600080600060a086880312156124ff578081fd5b853561250a81612cb0565b945060208601359350604086013561252181612cb0565b94979396509394606081013594506080013592915050565b60006020828403121561254a578081fd5b813567ffffffffffffffff811115612560578182fd5b6112c284828501612373565b6000602080838503121561257e578182fd5b825167ffffffffffffffff811115612594578283fd5b8301601f810185136125a4578283fd5b80516125b261239182612c90565b81815283810190838501858402850186018910156125ce578687fd5b8694505b838510156125f05780518352600194909401939185019185016125d2565b50979650505050505050565b600080600060608486031215612610578283fd5b833567ffffffffffffffff811115612626578384fd5b61263286828701612373565b9660208601359650604090950135949350505050565b600060208284031215612659578081fd5b815180151581146112eb578182fd5b600060208284031215612679578081fd5b81516112eb81612cb0565b600080600060608486031215612698578283fd5b83516126a381612cc5565b60208501519093506126b481612cc5565b604085015190925063ffffffff81168114612496578182fd5b6000602082840312156126de578081fd5b5035919050565b6000602082840312156126f6578081fd5b5051919050565b6000806040838503121561270f578182fd5b50508035926020909101359150565b600080600060608486031215612732578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b838110156127815781516001600160a01b03168752958201959082019060010161275c565b509495945050505050565b6bffffffffffffffffffffffff19606093841b811682529190921b16601482015260280190565b6001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527fe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303603582015260550190565b6001600160a01b0391909116815260200190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082526112eb6020830184612749565b6020808252825182820181905260009190848201906040850190845b818110156128cb578351835292840192918401916001016128af565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b8181101561290e578581018301518582016040015282016128f2565b8181111561291f5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526005908201526421776f726b60d81b604082015260600190565b60208082526027908201527f53757368697377617056324c6962726172793a204944454e544943414c5f41446040820152664452455353455360c81b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526004908201526310b3b7bb60e11b604082015260600190565b60208082526013908201527239b2ba23b7bb32b93730b731b29d1010b3b7bb60691b604082015260600190565b6020808252818101527f53757368697377617056324c6962726172793a205a45524f5f41444452455353604082015260600190565b60208082526026908201527f53757368697377617056314f7261636c653a3a71756f74653a207374616c652060408201526570726963657360d01b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526005908201526435b737bbb760d91b604082015260600190565b6020808252601d908201527f616363657074476f7665726e616e63653a202170656e64696e67476f76000000604082015260600190565b60208082526024908201527f3a3a69734b65657065723a206b6565706572206973206e6f7420726567697374604082015263195c995960e21b606082015260800190565b60208082526023908201527f4669786564506f696e743a204d554c5449504c49434154494f4e5f4f564552466040820152624c4f5760e81b606082015260800190565b60208082526017908201527f4669786564506f696e743a204449565f42595f5a45524f000000000000000000604082015260600190565b81518152602080830151908201526040918201519181019190915260600190565b90815260200190565b600086825285602083015260a06040830152612c3660a0830186612749565b6001600160a01b0394909416606083015250608001529392505050565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612c8857600080fd5b604052919050565b600067ffffffffffffffff821115612ca6578081fd5b5060209081020190565b6001600160a01b0381168114610f7557600080fd5b6001600160701b0381168114610f7557600080fdfea26469706673582212209941223f2659d98e4271f07a0ed53a453115b07abb7993b9b1e1835f442ae2b264736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061023f5760003560e01c80638373a7ab1161012e578063bc9c5941116100ab578063de4b5e071161006f578063de4b5e0714610698578063e4463eb2146106b8578063efa7dbbd146106cd578063f39c38a0146106ed578063ffb0a4a01461070257610246565b8063bc9c594114610603578063c45a015514610623578063c640752d14610638578063c88fa15914610658578063c9ff6f4d1461067857610246565b8063a75d39c2116100f2578063a75d39c21461056e578063ab033ea91461058e578063ad5c4648146105ae578063ae6ec9b7146105c3578063b1f0cad1146105e357610246565b80638373a7ab146104ce5780639119a8d5146104ee57806396ed28f91461050e5780639f4713031461052e578063a10d04381461054e57610246565b80634411935e116101bc578063541bcb7611610180578063541bcb761461044f5780635aa6e67514610464578063677342ce1461047957806380bb2bac1461049957806381bfb885146104ae57610246565b80634411935e146103af578063470838a0146103cf5780634761703c146103ef5780634b71c33c1461040f57806352c28fab1461042f57610246565b80631b56bbf9116102035780631b56bbf914610316578063202e1e4314610343578063238efcbc14610370578063322e9f0414610385578063399b2fb91461039a57610246565b8063024599661461024b57806305e0b9a014610283578063064141e5146102a55780630a793398146102c757806311a9b128146102f457610246565b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004612435565b610724565b60405161027a93929190612c53565b60405180910390f35b34801561028f57600080fd5b50610298610763565b60405161027a9190612809565b3480156102b157600080fd5b506102c56102c03660046125fc565b61077b565b005b3480156102d357600080fd5b506102e76102e23660046124e8565b61079a565b60405161027a9190612893565b34801561030057600080fd5b50610309610a7f565b60405161027a9190612c0e565b34801561032257600080fd5b506103366103313660046123e1565b610a85565b60405161027a91906128d7565b34801561034f57600080fd5b5061036361035e3660046123e1565b610b4c565b60405161027a9190612bed565b34801561037c57600080fd5b506102c5610bba565b34801561039157600080fd5b506102c5610c08565b3480156103a657600080fd5b506102c5610ea0565b3480156103bb57600080fd5b506103096103ca36600461271e565b610f78565b3480156103db57600080fd5b506102986103ea3660046123e1565b610f94565b3480156103fb57600080fd5b506102e761040a3660046124a1565b610fc9565b34801561041b57600080fd5b506102e761042a3660046124a1565b610fe3565b34801561043b57600080fd5b506102c561044a3660046123fd565b610ff3565b34801561045b57600080fd5b5061029861114f565b34801561047057600080fd5b50610298611167565b34801561048557600080fd5b506103096104943660046126cd565b611176565b3480156104a557600080fd5b506103366111a8565b3480156104ba57600080fd5b506103096104c93660046123e1565b611200565b3480156104da57600080fd5b506103096104e9366004612539565b61121b565b3480156104fa57600080fd5b50610309610509366004612460565b6112ae565b34801561051a57600080fd5b506102986105293660046123fd565b6112ca565b34801561053a57600080fd5b506103366105493660046123e1565b6112f4565b34801561055a57600080fd5b50610309610569366004612460565b61130c565b34801561057a57600080fd5b50610309610589366004612460565b611320565b34801561059a57600080fd5b506102c56105a93660046123e1565b611471565b3480156105ba57600080fd5b506102986114bd565b3480156105cf57600080fd5b506103096105de3660046124a1565b6114d5565b3480156105ef57600080fd5b506103096105fe3660046124e8565b61177b565b34801561060f57600080fd5b506102e761061e3660046124a1565b611797565b34801561062f57600080fd5b506102986117a7565b34801561064457600080fd5b506103366106533660046123fd565b6117bf565b34801561066457600080fd5b506102c56106733660046126cd565b611898565b34801561068457600080fd5b506103366106933660046126fd565b6118c7565b3480156106a457600080fd5b506103096106b3366004612460565b6119ba565b3480156106c457600080fd5b506103096119cf565b3480156106d957600080fd5b506102e76106e83660046124a1565b6119d5565b3480156106f957600080fd5b506102986119e5565b34801561070e57600080fd5b506107176119f4565b60405161027a9190612880565b6005602052816000526040600020818154811061073d57fe5b600091825260209091206003909102018054600182015460029092015490935090915083565b731ceb5cb57c4d4e2b2433641b95dd330a33185a4481565b60006107868461121b565b9050610793818484610f78565b5050505050565b606060006107bd73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8887611a56565b905060006107cb8887611ac6565b50905060608567ffffffffffffffff811180156107e757600080fd5b50604051908082528060200260200182016040528015610811578160200160208202803683370190505b506001600160a01b0384166000908152600560205260408120549192506000199091019061084182898902611b50565b90506000808c6001600160a01b0316866001600160a01b03161415610991575b8383101561098c576001600160a01b03871660009081526005602052604090208054848b01935061096991908590811061089757fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b0316815260200190815260200160002084815481106108d957fe5b906000526020600020906003020160010154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b600091825260208083206003909202909101546001600160a01b038d1683526005909152604090912080548790811061095057fe5b906000526020600020906003020160000154038f611b92565b85828151811061097557fe5b602090810291909101015291880191600101610861565b610a6e565b83831015610a6e576001600160a01b03871660009081526005602052604090208054848b019350610a4b9190859081106109c757fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b031681526020019081526020016000208481548110610a0957fe5b906000526020600020906003020160020154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b858281518110610a5757fe5b602090810291909101015291880191600101610991565b50929b9a5050505050505050505050565b60005481565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da91610ac49133918690819060040161281d565b602060405180830381600087803b158015610ade57600080fd5b505af1158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b169190612648565b610b3b5760405162461bcd60e51b8152600401610b3290612b2f565b60405180910390fd5b610b4482611bf0565b90505b919050565b610b5461232d565b6001600160a01b038216600090815260056020526040902080546000198101908110610b7c57fe5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b6002546001600160a01b03163314610be45760405162461bcd60e51b8152600401610b3290612af8565b600254600180546001600160a01b0319166001600160a01b03909216919091179055565b60005a60008054604051630ffaf9ed60e11b8152929350731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610c4e923392909190819060040161281d565b602060405180830381600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612648565b610cbc5760405162461bcd60e51b8152600401610b3290612b2f565b6000610cc6611c95565b905080610ce55760405162461bcd60e51b8152600401610b3290612935565b506000731ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b03166309aff02b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3557600080fd5b505afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190612668565b6001600160a01b031663525ea631610d865a8590611b50565b6040518263ffffffff1660e01b8152600401610da29190612c0e565b60206040518083038186803b158015610dba57600080fd5b505afa158015610dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df291906126e5565b6040516346cd669760e11b8152909150731ceb5cb57c4d4e2b2433641b95dd330a33185a4490638d9acd2e90610e3090839030908690600401612843565b600060405180830381600087803b158015610e4a57600080fd5b505af1158015610e5e573d6000803e3d6000fd5b50505050610e6b81611cc9565b604051909150339082156108fc029083906000818181858888f19350505050158015610e9b573d6000803e3d6000fd5b505050565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610ede92339290819060040161281d565b602060405180830381600087803b158015610ef857600080fd5b505af1158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f309190612648565b610f4c5760405162461bcd60e51b8152600401610b3290612b2f565b6000610f56611c95565b905080610f755760405162461bcd60e51b8152600401610b3290612935565b50565b6000610f8382611176565b8385602802020290505b9392505050565b6000610b4473c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8373c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611a56565b6060610fda8585858561015061079a565b95945050505050565b6060610fda85858585603061079a565b6001546001600160a01b0316331461101d5760405162461bcd60e51b8152600401610b32906129d2565b600061103e73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8484611a56565b6001600160a01b03811660009081526004602052604090205490915060ff161561107a5760405162461bcd60e51b8152600401610b3290612ad9565b6001600160a01b0381166000818152600460205260408120805460ff1916600190811790915560038054918201815582527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b031916909217909155806110e983611f51565b506001600160a01b0390941660009081526005602090815260408083208151606081018352428152808401958652918201978852805460018181018355918552929093209051600390920201908155915190820155925160029093019290925550505050565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6001546001600160a01b031681565b600060026001830104825b80821015610f8d57508060028180868161119757fe5b0401816111a057fe5b049150611181565b6000805b6003548110156111f7576111e0600382815481106111c657fe5b6000918252602090912001546001600160a01b03166112f4565b156111ef5760019150506111fd565b6001016111ac565b50600090505b90565b6001600160a01b031660009081526005602052604090205490565b600080805b835181101561124e5783818151811061123557fe5b6020026020010151820191508080600101915050611220565b5060008351828161125b57fe5b0490506000915060005b84518110156112985760028286838151811061127d57fe5b6020026020010151030a830192508080600101915050611265565b610fda600186510384816112a857fe5b04611176565b60006112c26104e98585856001603061079a565b949350505050565b60006112eb73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8484611a56565b90505b92915050565b600061070861130283610b4c565b5142031192915050565b60006112c26104e98585856001600261079a565b60008061134273c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8685611a56565b905061135a816113556107086002612126565b612160565b6113765760405162461bcd60e51b8152600401610b3290612a52565b60006113828685611ac6565b50905061138d61232d565b61139683610b4c565b90506000806113a485611f51565b5084519193509150421415611415576001600160a01b0385166000908152600560205260409020805460011981019081106113db57fe5b9060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505092505b8251420380156114255780611428565b60015b9050896001600160a01b0316856001600160a01b0316141561146157611454846020015184838c611b92565b9650505050505050610f8d565b611454846040015183838c611b92565b6001546001600160a01b0316331461149b5760405162461bcd60e51b8152600401610b32906129f0565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000806114f773c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8786611a56565b90506115098161135561070886612126565b6115255760405162461bcd60e51b8152600401610b3290612a52565b60006115318786611ac6565b506001600160a01b03831660009081526005602052604081205491925090600019018161155e8288611b50565b905060008a6001600160a01b0316856001600160a01b03161415611699575b8282101561169457506001600160a01b03851660009081526005602052604090208054600183019161168591849081106115b357fe5b90600052602060002090600302016001015460056000896001600160a01b03166001600160a01b0316815260200190815260200160002083815481106115f557fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b600091825260208083206003909202909101546001600160a01b038c1683526005909152604090912080548690811061166c57fe5b906000526020600020906003020160000154038d611b92565b9093019260019091019061157d565b611762565b8282101561176257506001600160a01b03851660009081526005602052604090208054600183019161175391849081106116cf57fe5b90600052602060002090600302016002015460056000896001600160a01b03166001600160a01b03168152602001908152602001600020838154811061171157fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b90930192600190910190611699565b61176c8489612178565b9b9a5050505050505050505050565b600061178d6104e9878787878761079a565b9695505050505050565b6060610fda85858585600161079a565b73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac81565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916117fe9133918690819060040161281d565b602060405180830381600087803b15801561181857600080fd5b505af115801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612648565b61186c5760405162461bcd60e51b8152600401610b3290612b2f565b600061188d73c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac8585611a56565b90506112c281611bf0565b6001546001600160a01b031633146118c25760405162461bcd60e51b8152600401610b32906129f0565b600055565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916119069133918690819060040161281d565b602060405180830381600087803b15801561192057600080fd5b505af1158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612648565b6119745760405162461bcd60e51b8152600401610b3290612b2f565b818310156112ee576119a66003848154811061198c57fe5b6000918252602090912001546001600160a01b0316611bf0565b156119af575060015b600190920191611974565b60006112c26104e9858585600161015061079a565b61070881565b6060610fda85858585600261079a565b6002546001600160a01b031681565b60606003805480602002602001604051908101604052809291908181526020018280548015611a4c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a2e575b5050505050905090565b6000806000611a658585611ac6565b91509150858282604051602001611a7d92919061278c565b60405160208183030381529060405280519060200120604051602001611aa49291906127b3565b60408051601f1981840301815291905280516020909101209695505050505050565b600080826001600160a01b0316846001600160a01b03161415611afb5760405162461bcd60e51b8152600401610b3290612954565b826001600160a01b0316846001600160a01b031610611b1b578284611b1e565b83835b90925090506001600160a01b038216611b495760405162461bcd60e51b8152600401610b3290612a1d565b9250929050565b60006112eb83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f77008152506121ba565b6000611b9c61234e565b60405180602001604052808588880381611bb257fe5b046001600160e01b031690529050611bd2611bcd82856121e6565b612245565b71ffffffffffffffffffffffffffffffffffff169695505050505050565b6000611bfa61232d565b611c0383610b4c565b80519091504203610708811115611c8b57600080611c2086611f51565b506001600160a01b0388166000908152600560209081526040808320815160608101835242815280840196875291820194855280546001818101835591855292909320905160039092020190815592518382015590516002909201919091559450610b479350505050565b5060009392505050565b6000805b600354811015611cc557611cb36003828154811061198c57fe5b15611cbd57600191505b600101611c99565b5090565b60405163095ea7b360e01b8152600090731ceb5cb57c4d4e2b2433641b95dd330a33185a449063095ea7b390611d1990737a250d5630b4cf539739df2c5dacb4c659f2488d908690600401612867565b602060405180830381600087803b158015611d3357600080fd5b505af1158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b9190612648565b506040805160028082526060808301845292602083019080368337019050509050731ceb5cb57c4d4e2b2433641b95dd330a33185a4481600081518110611dae57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611df057fe5b6001600160a01b03909216602092830291909101909101526060737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398560008530611e354261070861224c565b6040518663ffffffff1660e01b8152600401611e55959493929190612c17565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eab919081019061256c565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d82600181518110611edd57fe5b60200260200101516040518263ffffffff1660e01b8152600401611f019190612c0e565b600060405180830381600087803b158015611f1b57600080fd5b505af1158015611f2f573d6000803e3d6000fd5b5050505080600181518110611f4057fe5b602002602001015192505050919050565b6000806000611f5e612271565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b158015611f9957600080fd5b505afa158015611fad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd191906126e5565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b15801561200c57600080fd5b505afa158015612020573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204491906126e5565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561208457600080fd5b505afa158015612098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bc9190612684565b9250925092508363ffffffff168163ffffffff161461211c5780840363ffffffff81166120e9848661227b565b516001600160e01b031602969096019563ffffffff811661210a858561227b565b516001600160e01b0316029590950194505b5050509193909250565b600082612135575060006112ee565b8282028284828161214257fe5b04146112eb5760405162461bcd60e51b8152600401610b3290612a98565b60008161216c84610b4c565b51420311159392505050565b60006112eb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122f6565b600081848411156121de5760405162461bcd60e51b8152600401610b3291906128e2565b505050900390565b6121ee612360565b600082158061221457505082516001600160e01b03168281029083828161221157fe5b04145b6122305760405162461bcd60e51b8152600401610b3290612b73565b60408051602081019091529081529392505050565b5160701c90565b6000828201838110156112eb5760405162461bcd60e51b8152600401610b329061299b565b63ffffffff421690565b61228361234e565b6000826001600160701b0316116122ac5760405162461bcd60e51b8152600401610b3290612bb6565b6040805160208101909152806001600160701b0384166dffffffffffffffffffffffffffff60701b607087901b16816122e157fe5b046001600160e01b0316815250905092915050565b600081836123175760405162461bcd60e51b8152600401610b3291906128e2565b50600083858161232357fe5b0495945050505050565b60405180606001604052806000815260200160008152602001600081525090565b60408051602081019091526000815290565b6040518060200160405280600081525090565b600082601f830112612383578081fd5b813561239661239182612c90565b612c69565b8181529150602080830190848101818402860182018710156123b757600080fd5b60005b848110156123d6578135845292820192908201906001016123ba565b505050505092915050565b6000602082840312156123f2578081fd5b81356112eb81612cb0565b6000806040838503121561240f578081fd5b823561241a81612cb0565b9150602083013561242a81612cb0565b809150509250929050565b60008060408385031215612447578182fd5b823561245281612cb0565b946020939093013593505050565b600080600060608486031215612474578081fd5b833561247f81612cb0565b925060208401359150604084013561249681612cb0565b809150509250925092565b600080600080608085870312156124b6578081fd5b84356124c181612cb0565b93506020850135925060408501356124d881612cb0565b9396929550929360600135925050565b600080600080600060a086880312156124ff578081fd5b853561250a81612cb0565b945060208601359350604086013561252181612cb0565b94979396509394606081013594506080013592915050565b60006020828403121561254a578081fd5b813567ffffffffffffffff811115612560578182fd5b6112c284828501612373565b6000602080838503121561257e578182fd5b825167ffffffffffffffff811115612594578283fd5b8301601f810185136125a4578283fd5b80516125b261239182612c90565b81815283810190838501858402850186018910156125ce578687fd5b8694505b838510156125f05780518352600194909401939185019185016125d2565b50979650505050505050565b600080600060608486031215612610578283fd5b833567ffffffffffffffff811115612626578384fd5b61263286828701612373565b9660208601359650604090950135949350505050565b600060208284031215612659578081fd5b815180151581146112eb578182fd5b600060208284031215612679578081fd5b81516112eb81612cb0565b600080600060608486031215612698578283fd5b83516126a381612cc5565b60208501519093506126b481612cc5565b604085015190925063ffffffff81168114612496578182fd5b6000602082840312156126de578081fd5b5035919050565b6000602082840312156126f6578081fd5b5051919050565b6000806040838503121561270f578182fd5b50508035926020909101359150565b600080600060608486031215612732578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b838110156127815781516001600160a01b03168752958201959082019060010161275c565b509495945050505050565b6bffffffffffffffffffffffff19606093841b811682529190921b16601482015260280190565b6001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527fe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303603582015260550190565b6001600160a01b0391909116815260200190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082526112eb6020830184612749565b6020808252825182820181905260009190848201906040850190845b818110156128cb578351835292840192918401916001016128af565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b8181101561290e578581018301518582016040015282016128f2565b8181111561291f5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526005908201526421776f726b60d81b604082015260600190565b60208082526027908201527f53757368697377617056324c6962726172793a204944454e544943414c5f41446040820152664452455353455360c81b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526004908201526310b3b7bb60e11b604082015260600190565b60208082526013908201527239b2ba23b7bb32b93730b731b29d1010b3b7bb60691b604082015260600190565b6020808252818101527f53757368697377617056324c6962726172793a205a45524f5f41444452455353604082015260600190565b60208082526026908201527f53757368697377617056314f7261636c653a3a71756f74653a207374616c652060408201526570726963657360d01b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526005908201526435b737bbb760d91b604082015260600190565b6020808252601d908201527f616363657074476f7665726e616e63653a202170656e64696e67476f76000000604082015260600190565b60208082526024908201527f3a3a69734b65657065723a206b6565706572206973206e6f7420726567697374604082015263195c995960e21b606082015260800190565b60208082526023908201527f4669786564506f696e743a204d554c5449504c49434154494f4e5f4f564552466040820152624c4f5760e81b606082015260800190565b60208082526017908201527f4669786564506f696e743a204449565f42595f5a45524f000000000000000000604082015260600190565b81518152602080830151908201526040918201519181019190915260600190565b90815260200190565b600086825285602083015260a06040830152612c3660a0830186612749565b6001600160a01b0394909416606083015250608001529392505050565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612c8857600080fd5b604052919050565b600067ffffffffffffffff821115612ca6578081fd5b5060209081020190565b6001600160a01b0381168114610f7557600080fd5b6001600160701b0381168114610f7557600080fdfea26469706673582212209941223f2659d98e4271f07a0ed53a453115b07abb7993b9b1e1835f442ae2b264736f6c634300060c0033

Deployed Bytecode Sourcemap

19377:15343:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21759:53;;;;;;;;;;-1:-1:-1;21759:53:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;21048:86;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33991:251::-;;;;;;;;;;-1:-1:-1;33991:251:0;;;;;:::i;:::-;;:::i;:::-;;28457:1463;;;;;;;;;;-1:-1:-1;28457:1463:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;19600:28::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22360:104::-;;;;;;;;;;-1:-1:-1;22360:104:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23438:153::-;;;;;;;;;;-1:-1:-1;23438:153:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20870:170::-;;;;;;;;;;;;;:::i;23191:110::-;;;;;;;;;;;;;:::i;23309:117::-;;;;;;;;;;;;;:::i;33306:246::-;;;;;;;;;;-1:-1:-1;33306:246:0;;;;;:::i;:::-;;:::i;22128:153::-;;;;;;;;;;-1:-1:-1;22128:153:0;;;;;:::i;:::-;;:::i;30334:191::-;;;;;;;;;;-1:-1:-1;30334:191:0;;;;;:::i;:::-;;:::i;30133:189::-;;;;;;;;;;-1:-1:-1;30133:189:0;;;;;:::i;:::-;;:::i;22675:508::-;;;;;;;;;;-1:-1:-1;22675:508:0;;;;;:::i;:::-;;:::i;21226:103::-;;;;;;;;;;;;;:::i;20193:25::-;;;;;;;;;;;;;:::i;31641:230::-;;;;;;;;;;-1:-1:-1;31641:230:0;;;;;:::i;:::-;;:::i;24204:228::-;;;;;;;;;;;;;:::i;21825:121::-;;;;;;;;;;-1:-1:-1;21825:121:0;;;;;:::i;:::-;;:::i;32204:564::-;;;;;;;;;;-1:-1:-1;32204:564:0;;;;;:::i;:::-;;:::i;30967:188::-;;;;;;;;;;-1:-1:-1;30967:188:0;;;;;:::i;:::-;;:::i;21958:158::-;;;;;;;;;;-1:-1:-1;21958:158:0;;;;;:::i;:::-;;:::i;24047:149::-;;;;;;;;;;-1:-1:-1;24047:149:0;;;;;:::i;:::-;;:::i;30767:188::-;;;;;;;;;;-1:-1:-1;30767:188:0;;;;;:::i;:::-;;:::i;25661:1117::-;;;;;;;;;;-1:-1:-1;25661:1117:0;;;;;:::i;:::-;;:::i;20577:170::-;;;;;;;;;;-1:-1:-1;20577:170:0;;;;;:::i;:::-;;:::i;21141:78::-;;;;;;;;;;;;;:::i;26786:1458::-;;;;;;;;;;-1:-1:-1;26786:1458:0;;;;;:::i;:::-;;:::i;30537:218::-;;;;;;;;;;-1:-1:-1;30537:218:0;;;;;:::i;:::-;;:::i;28256:189::-;;;;;;;;;;-1:-1:-1;28256:189:0;;;;;:::i;:::-;;:::i;21338:76::-;;;;;;;;;;;;;:::i;22472:195::-;;;;;;;;;;-1:-1:-1;22472:195:0;;;;;:::i;:::-;;:::i;20270:142::-;;;;;;;;;;-1:-1:-1;20270:142:0;;;;;:::i;:::-;;:::i;23819:220::-;;;;;;;;;;-1:-1:-1;23819:220:0;;;;;:::i;:::-;;:::i;31167:190::-;;;;;;;;;;-1:-1:-1;31167:190:0;;;;;:::i;:::-;;:::i;21533:38::-;;;;;;;;;;;;;:::i;29932:189::-;;;;;;;;;;-1:-1:-1;29932:189:0;;;;;:::i;:::-;;:::i;20225:32::-;;;;;;;;;;;;;:::i;21661:90::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;21759:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21759:53:0;;-1:-1:-1;21759:53:0;:::o;21048:86::-;21091:42;21048:86;:::o;33991:251::-;34149:9;34161:16;34168:8;34161:6;:16::i;:::-;34149:28;;34188:46;34209:4;34215:11;34228:5;34188:20;:46::i;:::-;;33991:251;;;;:::o;28457:1463::-;28570:13;28596:12;28611:54;21372:42;28647:7;28656:8;28611:26;:54::i;:::-;28596:69;;28677:14;28696:48;28726:7;28735:8;28696:29;:48::i;:::-;28676:68;;;28755:21;28790:6;28779:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28779:18:0;-1:-1:-1;;;;;;28832:18:0;;28818:11;28832:18;;;:12;:18;;;;;:25;28755:42;;-1:-1:-1;;;28832:27:0;;;;28879;28832;28890:15;;;28879:10;:27::i;:::-;28870:36;;28917:14;28946:10;28995:7;-1:-1:-1;;;;;28985:17:0;:6;-1:-1:-1;;;;;28985:17:0;;28981:907;;;29019:413;29030:6;29026:1;:10;29019:413;;;-1:-1:-1;;;;;29165:18:0;;;;;;:12;:18;;;;;:21;;29080:10;;;;-1:-1:-1;29126:254:0;;29165:18;29080:1;;29165:21;;;;;;;;;;;;;;;;:38;;;29226:12;:18;29239:4;-1:-1:-1;;;;;29226:18:0;-1:-1:-1;;;;;29226:18:0;;;;;;;;;;;;29245:9;29226:29;;;;;;;;;;;;;;;;;;:46;;;29338:12;:18;29351:4;-1:-1:-1;;;;;29338:18:0;-1:-1:-1;;;;;29338:18:0;;;;;;;;;;;;29357:1;29338:21;;;;;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;29296:18:0;;;;:12;:18;;;;;;;:29;;29315:9;;29296:29;;;;;;;;;;;;;;;;:39;;;:73;29371:8;29126:16;:254::i;:::-;29109:7;29117:5;29109:14;;;;;;;;;;;;;;;;;:271;29038:9;;;;29415:1;29407:9;29019:413;;;28981:907;;;29475:6;29471:1;:10;29464:413;;;-1:-1:-1;;;;;29610:18:0;;;;;;:12;:18;;;;;:21;;29525:10;;;;-1:-1:-1;29571:254:0;;29610:18;29525:1;;29610:21;;;;;;;;;;;;;;;;:38;;;29671:12;:18;29684:4;-1:-1:-1;;;;;29671:18:0;-1:-1:-1;;;;;29671:18:0;;;;;;;;;;;;29690:9;29671:29;;;;;;;;;;;;;;;;;;:46;;;29783:12;:18;29796:4;-1:-1:-1;;;;;29783:18:0;-1:-1:-1;;;;;29783:18:0;;;;;;;;;;;;29802:1;29783:21;;;;;;;29571:254;29554:7;29562:5;29554:14;;;;;;;;;;;;;;;;;:271;29483:9;;;;29860:1;29852:9;29464:413;;;-1:-1:-1;29905:7:0;;28457:1463;-1:-1:-1;;;;;;;;;;;28457:1463:0:o;19600:28::-;;;;:::o;22360:104::-;22419:4;19703:7;;19674:43;;-1:-1:-1;;;19674:43:0;;21091:42;;19674:16;;:43;;19691:10;;22419:4;;;;19674:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19666:92;;;;-1:-1:-1;;;19666:92:0;;;;;;;:::i;:::-;;;;;;;;;22443:13:::1;22451:4;22443:7;:13::i;:::-;22436:20;;19769:1;22360:104:::0;;;:::o;23438:153::-;23498:18;;:::i;:::-;-1:-1:-1;;;;;23536:18:0;;;;;;:12;:18;;;;;23555:25;;-1:-1:-1;;23555:27:0;;;23536:47;;;;;;;;;;;;;;;;23529:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23438:153;;;:::o;20870:170::-;20940:17;;-1:-1:-1;;;;;20940:17:0;20926:10;:31;20918:73;;;;-1:-1:-1;;;20918:73:0;;;;;;;:::i;:::-;21015:17;;;21002:30;;-1:-1:-1;;;;;;21002:30:0;-1:-1:-1;;;;;21015:17:0;;;21002:30;;;;;;20870:170::o;23191:110::-;19815:13;19831:9;19888:7;;;19859:43;;-1:-1:-1;;;19859:43:0;;19815:25;;-1:-1:-1;21091:42:0;;19859:16;;:43;;19876:10;;19888:7;;;;;19859:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19851:92;;;;-1:-1:-1;;;19851:92:0;;;;;;;:::i;:::-;23232:11:::1;23246:12;:10;:12::i;:::-;23232:26;;23277:6;23269:24;;;;-1:-1:-1::0;;;23269:24:0::1;;;;;;;:::i;:::-;19954:1;19966:14:::0;21091:42;-1:-1:-1;;;;;19983:9:0;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;19983:25:0;;20009:23;20022:9;20009:8;;:12;:23::i;:::-;19983:50;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20044:53;;-1:-1:-1;;;20044:53:0;;19966:67;;-1:-1:-1;21091:42:0;;20044:12;;:53;;21091:42;;20080:4;;19966:67;;20044:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20120:16;20126:9;20120:5;:16::i;:::-;20147:30;;20108:28;;-1:-1:-1;20147:10:0;;:30;;;;;20108:28;;20147:30;;;;20108:28;20147:10;:30;;;;;;;;;;;;;;;;;;;;;23191:110;;:::o;23309:117::-;19703:7;;;19674:43;;-1:-1:-1;;;19674:43:0;;21091:42;;19674:16;;:43;;19691:10;;19703:7;;;19674:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19666:92;;;;-1:-1:-1;;;19666:92:0;;;;;;;:::i;:::-;23357:11:::1;23371:12;:10;:12::i;:::-;23357:26;;23402:6;23394:24;;;;-1:-1:-1::0;;;23394:24:0::1;;;;;;;:::i;:::-;19769:1;23309:117::o:0;33306:246::-;33441:16;33507:11;33512:5;33507:4;:11::i;:::-;33493;33486:4;33481:2;:9;:23;:37;33470:48;;33306:246;;;;;;:::o;22128:153::-;22188:7;22215:58;21372:42;22251:6;21176:42;22215:26;:58::i;30334:191::-;30436:13;30469:48;30476:7;30485:8;30495;30505:6;30513:3;30469:6;:48::i;:::-;30462:55;30334:191;-1:-1:-1;;;;;30334:191:0:o;30133:189::-;30234:13;30267:47;30274:7;30283:8;30293;30303:6;30311:2;30267:6;:47::i;22675:508::-;22762:10;;-1:-1:-1;;;;;22762:10:0;22748;:24;22740:41;;;;-1:-1:-1;;;22740:41:0;;;;;;;:::i;:::-;22792:12;22807:51;21372:42;22843:6;22851;22807:26;:51::i;:::-;-1:-1:-1;;;;;22878:12:0;;;;;;:6;:12;;;;;;22792:66;;-1:-1:-1;22878:12:0;;22877:13;22869:31;;;;-1:-1:-1;;;22869:31:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22911:12:0;;;;;;:6;:12;;;;;:19;;-1:-1:-1;;22911:19:0;22926:4;22911:19;;;;;;22941:6;:17;;;;;;;;;;;;;-1:-1:-1;;;;;;22941:17:0;;;;;;;22911:12;23021:54;22918:4;23021:48;:54::i;:::-;-1:-1:-1;;;;;;23086:18:0;;;;;;;:12;:18;;;;;;;;23110:64;;;;;;;23122:15;23110:64;;;;;;;;;;;;;;23086:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;22675:508:0:o;21226:103::-;21286:42;21226:103;:::o;20193:25::-;;;-1:-1:-1;;;;;20193:25:0;;:::o;31641:230::-;31687:7;31729:1;31724;31720:5;;31719:11;31720:5;31765:80;31776:1;31772;:5;31765:80;;;-1:-1:-1;31798:1:0;31832;31798;;31819;31798;31819:5;;;;;:9;31818:15;;;;;;31814:19;;31765:80;;24204:228;24247:4;;24264:138;24285:6;:13;24281:17;;24264:138;;;24324:19;24333:6;24340:1;24333:9;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24333:9:0;24324:8;:19::i;:::-;24320:71;;;24371:4;24364:11;;;;;24320:71;24300:3;;24264:138;;;;24419:5;24412:12;;24204:228;;:::o;21825:121::-;-1:-1:-1;;;;;21913:18:0;21889:4;21913:18;;;:12;:18;;;;;:25;;21825:121::o;32204:564::-;32264:10;;;32310:85;32330:7;:14;32326:1;:18;32310:85;;;32373:7;32381:1;32373:10;;;;;;;;;;;;;;32366:17;;;;32346:3;;;;;;;32310:85;;;;32405:12;32426:7;:14;32420:3;:20;;;;;;32405:35;;32515:1;32509:7;;32527:6;32544:94;32559:7;:14;32555:1;:18;32544:94;;;32625:1;32616:4;32603:7;32611:1;32603:10;;;;;;;;;;;;;;:17;32602:24;32595:31;;;;32575:3;;;;;;;32544:94;;;32653:32;32682:1;32665:7;:14;:18;32658:3;:26;;;;;;32653:4;:32::i;30967:188::-;31073:4;31097:50;31104:42;31111:7;31120:8;31130;31140:1;31143:2;31104:6;:42::i;31097:50::-;31090:57;30967:188;-1:-1:-1;;;;30967:188:0:o;21958:158::-;22030:7;22057:51;21372:42;22093:6;22101;22057:26;:51::i;:::-;22050:58;;21958:158;;;;;:::o;24047:149::-;24100:4;21567;24143:21;24159:4;24143:15;:21::i;:::-;:31;24125:15;:49;24124:64;;24047:149;-1:-1:-1;;24047:149:0:o;30767:188::-;30874:4;30898:49;30905:41;30912:7;30921:8;30931;30941:1;30944;30905:6;:41::i;25661:1117::-;25751:14;25778:12;25793:54;21372:42;25829:7;25838:8;25793:26;:54::i;:::-;25778:69;-1:-1:-1;25866:31:0;25778:69;25879:17;21567:4;25894:1;25879:14;:17::i;:::-;25866:6;:31::i;:::-;25858:82;;;;-1:-1:-1;;;25858:82:0;;;;;;;:::i;:::-;25952:14;25971:48;26001:7;26010:8;25971:29;:48::i;:::-;25951:68;;;26032:31;;:::i;:::-;26066:21;26082:4;26066:15;:21::i;:::-;26032:55;;26099:21;26122;26148:54;26197:4;26148:48;:54::i;:::-;-1:-1:-1;26236:22:0;;26098:104;;-1:-1:-1;26098:104:0;-1:-1:-1;26217:15:0;:41;26213:136;;;-1:-1:-1;;;;;26290:18:0;;;;;;:12;:18;;;;;26309:25;;-1:-1:-1;;26309:27:0;;;26290:47;;;;;;;;;;;;;;;;26275:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26213:136;26406:22;;26388:15;:40;26453:16;;:34;;26476:11;26453:34;;;26472:1;26453:34;26439:48;;26512:7;-1:-1:-1;;;;;26502:17:0;:6;-1:-1:-1;;;;;26502:17:0;;26498:273;;;26543:88;26560:12;:29;;;26591:16;26609:11;26622:8;26543:16;:88::i;:::-;26536:95;;;;;;;;;;26498:273;26671:88;26688:12;:29;;;26719:16;26737:11;26750:8;26671:16;:88::i;20577:170::-;20663:10;;-1:-1:-1;;;;;20663:10:0;20649;:24;20641:56;;;;-1:-1:-1;;;20641:56:0;;;;;;;:::i;:::-;20708:17;:31;;-1:-1:-1;;;;;;20708:31:0;-1:-1:-1;;;;;20708:31:0;;;;;;;;;;20577:170::o;21141:78::-;21176:42;21141:78;:::o;26786:1458::-;26892:14;26919:12;26934:54;21372:42;26970:7;26979:8;26934:26;:54::i;:::-;26919:69;-1:-1:-1;27007:41:0;26919:69;27020:27;21567:4;27035:11;27020:14;:27::i;27007:41::-;26999:92;;;;-1:-1:-1;;;26999:92:0;;;;;;;:::i;:::-;27103:14;27122:48;27152:7;27161:8;27122:29;:48::i;:::-;-1:-1:-1;;;;;;27239:18:0;;27183:27;27239:18;;;:12;:18;;;;;:25;27102:68;;-1:-1:-1;27183:27:0;-1:-1:-1;;27239:27:0;27183;27286:23;27239:27;27297:11;27286:10;:23::i;:::-;27277:32;;27324:14;27367:7;-1:-1:-1;;;;;27357:17:0;:6;-1:-1:-1;;;;;27357:17:0;;27353:827;;;27391:373;27402:6;27398:1;:10;27391:373;;;-1:-1:-1;;;;;;27533:18:0;;;;;;:12;:18;;;;;:21;;27448:1;27446:3;;;27494:254;;27446:1;;27533:21;;;;;;;;;;;;;;;;:38;;;27594:12;:18;27607:4;-1:-1:-1;;;;;27594:18:0;-1:-1:-1;;;;;27594:18:0;;;;;;;;;;;;27613:9;27594:29;;;;;;;;;;;;;;;;;;:46;;;27706:12;:18;27719:4;-1:-1:-1;;;;;27706:18:0;-1:-1:-1;;;;;27706:18:0;;;;;;;;;;;;27725:1;27706:21;;;;;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;27664:18:0;;;;:12;:18;;;;;;;:29;;27683:9;;27664:29;;;;;;;;;;;;;;;;:39;;;:73;27739:8;27494:16;:254::i;:::-;27468:280;;;;27410:3;;;;;27391:373;;;27353:827;;;27807:6;27803:1;:10;27796:373;;;-1:-1:-1;;;;;;27938:18:0;;;;;;:12;:18;;;;;:21;;27853:1;27851:3;;;27899:254;;27851:1;;27938:21;;;;;;;;;;;;;;;;:38;;;27999:12;:18;28012:4;-1:-1:-1;;;;;27999:18:0;-1:-1:-1;;;;;27999:18:0;;;;;;;;;;;;28018:9;27999:29;;;;;;;;;;;;;;;;;;:46;;;28111:12;:18;28124:4;-1:-1:-1;;;;;28111:18:0;-1:-1:-1;;;;;28111:18:0;;;;;;;;;;;;28130:1;28111:21;;;;;;;27899:254;27873:280;;;;27815:3;;;;;27796:373;;;28197:39;:22;28224:11;28197:26;:39::i;:::-;28190:46;26786:1458;-1:-1:-1;;;;;;;;;;;26786:1458:0:o;30537:218::-;30664:4;30688:59;30695:51;30702:7;30711:8;30721;30731:6;30739;30695;:51::i;30688:59::-;30681:66;30537:218;-1:-1:-1;;;;;;30537:218:0:o;28256:189::-;28358:13;28391:46;28398:7;28407:8;28417;28427:6;28435:1;28391:6;:46::i;21338:76::-;21372:42;21338:76;:::o;22472:195::-;22545:4;19703:7;;19674:43;;-1:-1:-1;;;19674:43:0;;21091:42;;19674:16;;:43;;19691:10;;22545:4;;;;19674:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19666:92;;;;-1:-1:-1;;;19666:92:0;;;;;;;:::i;:::-;22562:12:::1;22577:51;21372:42;22613:6;22621;22577:26;:51::i;:::-;22562:66;;22646:13;22654:4;22646:7;:13::i;20270:142::-:0;20344:10;;-1:-1:-1;;;;;20344:10:0;20330;:24;20322:56;;;;-1:-1:-1;;;20322:56:0;;;;;;;:::i;:::-;20389:7;:15;20270:142::o;23819:220::-;23884:12;19703:7;;19674:43;;-1:-1:-1;;;19674:43:0;;21091:42;;19674:16;;:43;;19691:10;;23884:12;;;;19674:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19666:92;;;;-1:-1:-1;;;19666:92:0;;;;;;;:::i;:::-;23920:6:::1;23916:1;:10;23909:123;;;23952:18;23960:6;23967:1;23960:9;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;23960:9:0::1;23952:7;:18::i;:::-;23948:73;;;-1:-1:-1::0;24001:4:0::1;23948:73;23928:3;::::0;;::::1;::::0;23909:123:::1;;31167:190:::0;31274:4;31298:51;31305:43;31312:7;31321:8;31331;31341:1;31344:3;31305:6;:43::i;21533:38::-;21567:4;21533:38;:::o;29932:189::-;30034:13;30067:46;30074:7;30083:8;30093;30103:6;30111:1;30067:6;:46::i;20225:32::-;;;-1:-1:-1;;;;;20225:32:0;;:::o;21661:90::-;21701:16;21737:6;21730:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21730:13:0;;;;;;;;;;;;;;;;;;;;;;;21661:90;:::o;14222:478::-;14311:12;14337:14;14353;14371:26;14382:6;14390;14371:10;:26::i;:::-;14336:61;;;;14499:7;14552:6;14560;14535:32;;;;;;;;;:::i;:::-;;;;;;;;;;;;;14525:43;;;;;;14438:251;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14438:251:0;;;;;;;;;14428:262;;14438:251;14428:262;;;;;14222:478;-1:-1:-1;;;;;;14222:478:0:o;13777:353::-;13852:14;13868;13913:6;-1:-1:-1;;;;;13903:16:0;:6;-1:-1:-1;;;;;13903:16:0;;;13895:68;;;;-1:-1:-1;;;13895:68:0;;;;;;;:::i;:::-;14002:6;-1:-1:-1;;;;;13993:15:0;:6;-1:-1:-1;;;;;13993:15:0;;:53;;14031:6;14039;13993:53;;;14012:6;14020;13993:53;13974:72;;-1:-1:-1;13974:72:0;-1:-1:-1;;;;;;14065:20:0;;14057:65;;;;-1:-1:-1;;;14057:65:0;;;;;;;:::i;:::-;13777:353;;;;;:::o;8889:137::-;8947:7;8974:44;8978:1;8981;8974:44;;;;;;;;;;;;;;;;;:3;:44::i;25050:442::-;25208:14;25268:40;;:::i;:::-;25311:112;;;;;;;;25400:11;25376:20;25355:18;:41;25354:57;;;;;;-1:-1:-1;;;;;25311:112:0;;;25268:155;-1:-1:-1;25446:38:0;:26;25268:155;25463:8;25446:16;:26::i;:::-;:36;:38::i;:::-;25434:50;;;25050:442;-1:-1:-1;;;;;;25050:442:0:o;24440:602::-;24489:4;24597:25;;:::i;:::-;24625:21;24641:4;24625:15;:21::i;:::-;24694:16;;24597:49;;-1:-1:-1;24676:15:0;:34;21567:4;24725:24;;24721:291;;;24767:21;24790;24816:54;24865:4;24816:48;:54::i;:::-;-1:-1:-1;;;;;;24885:18:0;;;;;;:12;:18;;;;;;;;24909:64;;;;;;;24921:15;24909:64;;;;;;;;;;;;;;24885:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24989:11:0;;-1:-1:-1;;;;24989:11:0;24721:291;-1:-1:-1;25029:5:0;;24440:602;-1:-1:-1;;;24440:602:0:o;23599:212::-;23639:12;;23664:140;23685:6;:13;23681:17;;23664:140;;;23724:18;23732:6;23739:1;23732:9;;;;;;;23724:18;23720:73;;;23773:4;23763:14;;23720:73;23700:3;;23664:140;;;;23599:212;:::o;34295:422::-;34359:35;;-1:-1:-1;;;34359:35:0;;34342:4;;21091:42;;34359:12;;:35;;21286:42;;34386:7;;34359:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;34439:16:0;;;34453:1;34439:16;;;34415:21;34439:16;;;;;34415:21;34439:16;;;;;;;;;;-1:-1:-1;34439:16:0;34415:40;;21091:42;34466:4;34471:1;34466:7;;;;;;;;;;;;;:23;-1:-1:-1;;;;;34466:23:0;;;-1:-1:-1;;;;;34466:23:0;;;;;21176:42;34500:4;34505:1;34500:7;;;;;;;;-1:-1:-1;;;;;34500:23:0;;;:7;;;;;;;;;;;:23;34536:21;21286:42;34560:28;34589:7;34606:1;34610:4;34624;34631:13;:3;34639:4;34631:7;:13::i;:::-;34560:85;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34560:85:0;;;;;;;;;;;;:::i;:::-;34536:109;;21176:42;-1:-1:-1;;;;;34656:13:0;;34670:7;34678:1;34670:10;;;;;;;;;;;;;;34656:25;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34699:7;34707:1;34699:10;;;;;;;;;;;;;;34692:17;;;;34295:422;;;:::o;5993:1064::-;6079:21;6102;6125;6176:23;:21;:23::i;:::-;6159:40;;6246:4;-1:-1:-1;;;;;6229:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6210:64;;6321:4;-1:-1:-1;;;;;6304:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6285:64;;6464:16;6482;6500:25;6546:4;-1:-1:-1;;;;;6529:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6463:102;;;;;;6602:14;6580:36;;:18;:36;;;6576:474;;6702:35;;;6848:62;;;6853:39;6873:8;6883;6853:19;:39::i;:::-;:42;-1:-1:-1;;;;;6848:48:0;:62;6828:82;;;;;6976:62;;;6981:39;7001:8;7011;6981:19;:39::i;:::-;:42;-1:-1:-1;;;;;6976:48:0;:62;6956:82;;;;;-1:-1:-1;6576:474:0;5993:1064;;;;;;;;:::o;9750:471::-;9808:7;10053:6;10049:47;;-1:-1:-1;10083:1:0;10076:8;;10049:47;10120:5;;;10124:1;10120;:5;:1;10144:5;;;;;:10;10136:56;;;;-1:-1:-1;;;10136:56:0;;;;;;;:::i;25500:153::-;25563:4;25642:3;25606:21;25622:4;25606:15;:21::i;:::-;:31;25588:15;:49;25587:58;;;25500:153;-1:-1:-1;;;25500:153:0:o;11408:132::-;11466:7;11493:39;11497:1;11500;11493:39;;;;;;;;;;;;;;;;;:3;:39::i;9315:192::-;9401:7;9437:12;9429:6;;;;9421:29;;;;-1:-1:-1;;;9421:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;9473:5:0;;;9315:192::o;4396:253::-;4463:16;;:::i;:::-;4492:6;4517;;;:54;;-1:-1:-1;;4563:7:0;;-1:-1:-1;;;;;4558:13:0;4532:17;;;;4553:1;4532:17;4553:1;4527:27;;;;;:44;4517:54;4509:102;;;;-1:-1:-1;;;4509:102:0;;;;;;;:::i;:::-;4629:12;;;;;;;;;;;;;4396:253;-1:-1:-1;;;4396:253:0:o;5350:130::-;5450:7;3667:3;5450:21;;5350:130::o;7996:181::-;8054:7;8086:5;;;8110:6;;;;8102:46;;;;-1:-1:-1;;;8102:46:0;;;;;;;:::i;5764:123::-;5853:25;:15;:25;;5764:123::o;4805:246::-;4886:16;;:::i;:::-;4937:1;4923:11;-1:-1:-1;;;;;4923:15:0;;4915:51;;;;-1:-1:-1;;;4915:51:0;;;;;;;:::i;:::-;4984:59;;;;;;;;;;-1:-1:-1;;;;;4994:48:0;;-1:-1:-1;;;3667:3:0;4995:32;;;;4994:48;;;;;;-1:-1:-1;;;;;4984:59:0;;;;4977:66;;4805:246;;;;:::o;12028:345::-;12114:7;12216:12;12209:5;12201:28;;;;-1:-1:-1;;;12201:28:0;;;;;;;;:::i;:::-;;12240:9;12256:1;12252;:5;;;;;;;12028:345;-1:-1:-1;;;;;12028:345:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o;160:707::-;;277:3;270:4;262:6;258:17;254:27;244:2;;-1:-1;;285:12;244:2;332:6;319:20;354:80;369:64;426:6;369:64;:::i;:::-;354:80;:::i;:::-;462:21;;;345:89;-1:-1;506:4;519:14;;;;494:17;;;608;;;599:27;;;;596:36;-1:-1;593:2;;;645:1;;635:12;593:2;670:1;655:206;680:6;677:1;674:13;655:206;;;2155:20;;748:50;;812:14;;;;840;;;;702:1;695:9;655:206;;;659:14;;;;;237:630;;;;:::o;2505:241::-;;2609:2;2597:9;2588:7;2584:23;2580:32;2577:2;;;-1:-1;;2615:12;2577:2;85:6;72:20;97:33;124:5;97:33;:::i;2753:366::-;;;2874:2;2862:9;2853:7;2849:23;2845:32;2842:2;;;-1:-1;;2880:12;2842:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2932:63;-1:-1;3032:2;3071:22;;72:20;97:33;72:20;97:33;:::i;:::-;3040:63;;;;2836:283;;;;;:::o;3126:366::-;;;3247:2;3235:9;3226:7;3222:23;3218:32;3215:2;;;-1:-1;;3253:12;3215:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3305:63;3405:2;3444:22;;;;2155:20;;-1:-1;;;3209:283::o;3499:491::-;;;;3637:2;3625:9;3616:7;3612:23;3608:32;3605:2;;;-1:-1;;3643:12;3605:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3695:63;-1:-1;3795:2;3834:22;;2155:20;;-1:-1;3903:2;3942:22;;72:20;97:33;72:20;97:33;:::i;:::-;3911:63;;;;3599:391;;;;;:::o;3997:617::-;;;;;4152:3;4140:9;4131:7;4127:23;4123:33;4120:2;;;-1:-1;;4159:12;4120:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4211:63;-1:-1;4311:2;4350:22;;2155:20;;-1:-1;4419:2;4458:22;;72:20;97:33;72:20;97:33;:::i;:::-;4114:500;;;;-1:-1;4427:63;;4527:2;4566:22;2155:20;;-1:-1;;4114:500::o;4621:743::-;;;;;;4793:3;4781:9;4772:7;4768:23;4764:33;4761:2;;;-1:-1;;4800:12;4761:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4852:63;-1:-1;4952:2;4991:22;;2155:20;;-1:-1;5060:2;5099:22;;72:20;97:33;72:20;97:33;:::i;:::-;4755:609;;;;-1:-1;5068:63;;5168:2;5207:22;;2155:20;;-1:-1;5276:3;5316:22;2155:20;;4755:609;-1:-1;;4755:609::o;5371:377::-;;5500:2;5488:9;5479:7;5475:23;5471:32;5468:2;;;-1:-1;;5506:12;5468:2;5564:17;5551:31;5602:18;5594:6;5591:30;5588:2;;;-1:-1;;5624:12;5588:2;5654:78;5724:7;5715:6;5704:9;5700:22;5654:78;:::i;5755:392::-;;5895:2;;5883:9;5874:7;5870:23;5866:32;5863:2;;;-1:-1;;5901:12;5863:2;5952:17;5946:24;5990:18;5982:6;5979:30;5976:2;;;-1:-1;;6012:12;5976:2;6099:22;;1014:4;1002:17;;998:27;-1:-1;988:2;;-1:-1;;1029:12;988:2;1069:6;1063:13;1091:80;1106:64;1163:6;1106:64;:::i;1091:80::-;1199:21;;;1256:14;;;;1231:17;;;1345;;;1336:27;;;;1333:36;-1:-1;1330:2;;;-1:-1;;1372:12;1330:2;-1:-1;1398:10;;1392:217;1417:6;1414:1;1411:13;1392:217;;;2303:13;;1485:61;;1439:1;1432:9;;;;;1560:14;;;;1588;;1392:217;;;-1:-1;6032:99;5857:290;-1:-1;;;;;;;5857:290::o;6154:627::-;;;;6317:2;6305:9;6296:7;6292:23;6288:32;6285:2;;;-1:-1;;6323:12;6285:2;6381:17;6368:31;6419:18;6411:6;6408:30;6405:2;;;-1:-1;;6441:12;6405:2;6471:78;6541:7;6532:6;6521:9;6517:22;6471:78;:::i;:::-;6461:88;6586:2;6625:22;;2155:20;;-1:-1;6694:2;6733:22;;;2155:20;;6279:502;-1:-1;;;;6279:502::o;6788:257::-;;6900:2;6888:9;6879:7;6875:23;6871:32;6868:2;;;-1:-1;;6906:12;6868:2;1704:6;1698:13;37133:5;34112:13;34105:21;37111:5;37108:32;37098:2;;-1:-1;;37144:12;7052:311;;7191:2;7179:9;7170:7;7166:23;7162:32;7159:2;;;-1:-1;;7197:12;7159:2;1866:6;1860:13;1878:57;1929:5;1878:57;:::i;7370:533::-;;;;7518:2;7506:9;7497:7;7493:23;7489:32;7486:2;;;-1:-1;;7524:12;7486:2;2031:6;2025:13;2043:33;2070:5;2043:33;:::i;:::-;7687:2;7737:22;;2025:13;7576:74;;-1:-1;2043:33;2025:13;2043:33;:::i;:::-;7806:2;7855:22;;2443:13;7695:74;;-1:-1;34734:10;34723:22;;37648:34;;37638:2;;-1:-1;;37686:12;7910:241;;8014:2;8002:9;7993:7;7989:23;7985:32;7982:2;;;-1:-1;;8020:12;7982:2;-1:-1;2155:20;;7976:175;-1:-1;7976:175::o;8158:263::-;;8273:2;8261:9;8252:7;8248:23;8244:32;8241:2;;;-1:-1;;8279:12;8241:2;-1:-1;2303:13;;8235:186;-1:-1;8235:186::o;8428:366::-;;;8549:2;8537:9;8528:7;8524:23;8520:32;8517:2;;;-1:-1;;8555:12;8517:2;-1:-1;;2155:20;;;8707:2;8746:22;;;2155:20;;-1:-1;8511:283::o;8801:491::-;;;;8939:2;8927:9;8918:7;8914:23;8910:32;8907:2;;;-1:-1;;8945:12;8907:2;-1:-1;;2155:20;;;9097:2;9136:22;;2155:20;;-1:-1;9205:2;9244:22;;;2155:20;;8901:391;-1:-1;8901:391::o;10232:690::-;;10425:5;32704:12;33379:6;33374:3;33367:19;33416:4;;33411:3;33407:14;10437:93;;33416:4;10601:5;32400:14;-1:-1;10640:260;10665:6;10662:1;10659:13;10640:260;;;10726:13;;-1:-1;;;;;34517:54;9873:37;;9453:14;;;;33107;;;;5602:18;10680:9;10640:260;;;-1:-1;10906:10;;10356:566;-1:-1;;;;;10356:566::o;19276:392::-;-1:-1;;36900:2;36896:14;;;;;10131:58;;36896:14;;;;;19529:2;19520:12;;10131:58;19631:12;;;19420:248::o;19675:926::-;-1:-1;;;;;;16033:87;;36900:2;36896:14;;;;-1:-1;;36896:14;16018:1;16139:11;;10131:58;20287:12;;;11859:58;13559:66;20398:12;;;13539:87;13645:12;;;20021:580::o;20608:222::-;-1:-1;;;;;34517:54;;;;9873:37;;20735:2;20720:18;;20706:124::o;20837:604::-;-1:-1;;;;;34517:54;;;;9742:58;;21245:2;21230:18;;11859:58;;;;21336:2;21321:18;;12525:58;21427:2;21412:18;;12525:58;21072:3;21057:19;;21043:398::o;21448:460::-;-1:-1;;;;;34517:54;;;9873:37;;34517:54;;;;21811:2;21796:18;;9742:58;21894:2;21879:18;;11859:58;;;;21639:2;21624:18;;21610:298::o;21915:333::-;-1:-1;;;;;34517:54;;;;9873:37;;22234:2;22219:18;;11859:58;22070:2;22055:18;;22041:207::o;22255:370::-;;22432:2;22453:17;22446:47;22507:108;22432:2;22421:9;22417:18;22601:6;22507:108;:::i;22632:370::-;22809:2;22823:47;;;32704:12;;22794:18;;;33367:19;;;22632:370;;22809:2;32400:14;;;;33407;;;;22632:370;11369:260;11394:6;11391:1;11388:13;11369:260;;;11455:13;;11859:58;;33107:14;;;;9635;;;;11416:1;11409:9;11369:260;;;-1:-1;22876:116;;22780:222;-1:-1;;;;;;22780:222::o;23009:210::-;34112:13;;34105:21;11724:34;;23130:2;23115:18;;23101:118::o;24031:310::-;;24178:2;;24199:17;24192:47;12740:5;32704:12;33379:6;24178:2;24167:9;24163:18;33367:19;-1:-1;36238:101;36252:6;36249:1;36246:13;36238:101;;;36319:11;;;;;36313:18;36300:11;;;33407:14;36300:11;36293:39;36267:10;;36238:101;;;36354:6;36351:1;36348:13;36345:2;;;-1:-1;33407:14;36410:6;24167:9;36401:16;;36394:27;36345:2;-1:-1;36805:7;36789:14;-1:-1;;36785:28;12898:39;;;;33407:14;12898:39;;24149:192;-1:-1;;;24149:192::o;24348:416::-;24548:2;24562:47;;;13174:1;24533:18;;;33367:19;-1:-1;;;33407:14;;;13189:28;13236:12;;;24519:245::o;24771:416::-;24971:2;24985:47;;;13896:2;24956:18;;;33367:19;13932:34;33407:14;;;13912:55;-1:-1;;;13987:12;;;13980:31;14030:12;;;24942:245::o;25194:416::-;25394:2;25408:47;;;14281:2;25379:18;;;33367:19;14317:29;33407:14;;;14297:50;14366:12;;;25365:245::o;25617:416::-;25817:2;25831:47;;;14617:1;25802:18;;;33367:19;-1:-1;;;33407:14;;;14632:27;14678:12;;;25788:245::o;26040:416::-;26240:2;26254:47;;;14929:2;26225:18;;;33367:19;-1:-1;;;33407:14;;;14945:42;15006:12;;;26211:245::o;26463:416::-;26663:2;26677:47;;;26648:18;;;33367:19;15293:34;33407:14;;;15273:55;15347:12;;;26634:245::o;26886:416::-;27086:2;27100:47;;;15598:2;27071:18;;;33367:19;15634:34;33407:14;;;15614:55;-1:-1;;;15689:12;;;15682:30;15731:12;;;27057:245::o;27309:416::-;27509:2;27523:47;;;16389:2;27494:18;;;33367:19;16425:34;33407:14;;;16405:55;-1:-1;;;16480:12;;;16473:25;16517:12;;;27480:245::o;27732:416::-;27932:2;27946:47;;;16768:1;27917:18;;;33367:19;-1:-1;;;33407:14;;;16783:28;16830:12;;;27903:245::o;28155:416::-;28355:2;28369:47;;;17081:2;28340:18;;;33367:19;17117:31;33407:14;;;17097:52;17168:12;;;28326:245::o;28578:416::-;28778:2;28792:47;;;17419:2;28763:18;;;33367:19;17455:34;33407:14;;;17435:55;-1:-1;;;17510:12;;;17503:28;17550:12;;;28749:245::o;29001:416::-;29201:2;29215:47;;;17801:2;29186:18;;;33367:19;17837:34;33407:14;;;17817:55;-1:-1;;;17892:12;;;17885:27;17931:12;;;29172:245::o;29424:416::-;29624:2;29638:47;;;18182:2;29609:18;;;33367:19;18218:25;33407:14;;;18198:46;18263:12;;;29595:245::o;29847:338::-;18594:23;;11859:58;;18777:4;18766:16;;;18760:23;18837:14;;;11859:58;18943:4;18932:16;;;18926:23;19003:14;;;11859:58;;;;30032:2;30017:18;;30003:182::o;30192:222::-;11859:58;;;30319:2;30304:18;;30290:124::o;30421:832::-;;11909:5;11866:3;11859:58;11909:5;30883:2;30872:9;30868:18;11859:58;30718:3;30920:2;30909:9;30905:18;30898:48;30960:108;30718:3;30707:9;30703:19;31054:6;30960:108;:::i;:::-;-1:-1;;;;;34517:54;;;;31155:2;31140:18;;9742:58;-1:-1;31238:3;31223:19;11859:58;30952:116;30689:564;-1:-1;;;30689:564::o;31260:444::-;11859:58;;;31607:2;31592:18;;11859:58;;;;31690:2;31675:18;;11859:58;31443:2;31428:18;;31414:290::o;31711:256::-;31773:2;31767:9;31799:17;;;31874:18;31859:34;;31895:22;;;31856:62;31853:2;;;31931:1;;31921:12;31853:2;31773;31940:22;31751:216;;-1:-1;31751:216::o;31974:304::-;;32133:18;32125:6;32122:30;32119:2;;;-1:-1;;32155:12;32119:2;-1:-1;32200:4;32188:17;;;32253:15;;32056:222::o;36928:117::-;-1:-1;;;;;34517:54;;36987:35;;36977:2;;37036:1;;37026:12;37342:117;-1:-1;;;;;37429:5;34401:42;37404:5;37401:35;37391:2;;37450:1;;37440:12

Swarm Source

ipfs://9941223f2659d98e4271f07a0ed53a453115b07abb7993b9b1e1835f442ae2b2

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.