ETH Price: $3,486.31 (+0.96%)

Contract

0x73353801921417F465377c8d898c6f4C0270282C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Update Pair147733232022-05-14 11:22:25956 days ago1652527345IN
0x73353801...C0270282C
0 ETH0.0058526643.39615687
Update Pair147611952022-05-12 12:56:49958 days ago1652360209IN
0x73353801...C0270282C
0 ETH0.03076901228.14508259
Update Pair147542952022-05-11 10:20:45959 days ago1652264445IN
0x73353801...C0270282C
0 ETH0.0109832281.43803644
Update Pair147448822022-05-09 22:07:37960 days ago1652134057IN
0x73353801...C0270282C
0 ETH0.01476813109.5023055
Update Pair147435782022-05-09 17:07:58960 days ago1652116078IN
0x73353801...C0270282C
0 ETH0.02763172204.88284645
Update Pair147305962022-05-07 15:35:23962 days ago1651937723IN
0x73353801...C0270282C
0 ETH0.0080587459.75368523
Update Pair147224302022-05-06 8:18:10964 days ago1651825090IN
0x73353801...C0270282C
0 ETH0.0089254366.18005252
Update Pair147139572022-05-04 23:58:05965 days ago1651708685IN
0x73353801...C0270282C
0 ETH0.0083818662.14960787
Update Pair147123252022-05-04 17:40:58965 days ago1651686058IN
0x73353801...C0270282C
0 ETH0.0064011847.4632646
Update Pair146976532022-05-02 9:57:52968 days ago1651485472IN
0x73353801...C0270282C
0 ETH0.0066680549.44207115
Update Pair146937692022-05-01 19:19:46968 days ago1651432786IN
0x73353801...C0270282C
0 ETH0.0073032954.15225641
Update Pair146847132022-04-30 9:08:41970 days ago1651309721IN
0x73353801...C0270282C
0 ETH0.0056393741.81463541
Update Pair146813842022-04-29 20:28:57970 days ago1651264137IN
0x73353801...C0270282C
0 ETH0.0075287755.82408132
Update Pair146736052022-04-28 15:22:34971 days ago1651159354IN
0x73353801...C0270282C
0 ETH0.0086820764.37556712
Update Pair146649412022-04-27 6:40:56973 days ago1651041656IN
0x73353801...C0270282C
0 ETH0.0049260336.52539489
Update Pair146532442022-04-25 10:24:20975 days ago1650882260IN
0x73353801...C0270282C
0 ETH0.0050161137.19330784
Update Pair146485202022-04-24 16:32:09975 days ago1650817929IN
0x73353801...C0270282C
0 ETH0.0070252752.0907465
Update Pair146463672022-04-24 8:14:09976 days ago1650788049IN
0x73353801...C0270282C
0 ETH0.0025605118.98563715
Update Pair146331352022-04-22 6:44:16978 days ago1650609856IN
0x73353801...C0270282C
0 ETH0.0052214638.71596923
Update Pair146319162022-04-22 2:06:23978 days ago1650593183IN
0x73353801...C0270282C
0 ETH0.0072307853.61456714
Update Pair146149442022-04-19 10:17:47981 days ago1650363467IN
0x73353801...C0270282C
0 ETH0.007493255.56038978
Update Pair146107802022-04-18 18:28:25981 days ago1650306505IN
0x73353801...C0270282C
0 ETH0.0088808465.84940443
Update Pair146040732022-04-17 17:23:52982 days ago1650216232IN
0x73353801...C0270282C
0 ETH0.0049598236.77597984
Update Pair145981042022-04-16 18:54:35983 days ago1650135275IN
0x73353801...C0270282C
0 ETH0.0056798842.11504478
Update Pair145891622022-04-15 9:35:46985 days ago1650015346IN
0x73353801...C0270282C
0 ETH0.0047501435.22120727
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
125147542021-05-27 6:13:421308 days ago1622096022
0x73353801...C0270282C
0.14296165 ETH
125147542021-05-27 6:13:421308 days ago1622096022
0x73353801...C0270282C
0.14296165 ETH
121629812021-04-02 23:01:171362 days ago1617404477
0x73353801...C0270282C
0.13232823 ETH
121629812021-04-02 23:01:171362 days ago1617404477
0x73353801...C0270282C
0.13232823 ETH
121629752021-04-02 22:59:511362 days ago1617404391
0x73353801...C0270282C
0.13239546 ETH
121629752021-04-02 22:59:511362 days ago1617404391
0x73353801...C0270282C
0.13239546 ETH
121629472021-04-02 22:53:461362 days ago1617404026
0x73353801...C0270282C
0.79122213 ETH
121629472021-04-02 22:53:461362 days ago1617404026
0x73353801...C0270282C
0.79122213 ETH
121628472021-04-02 22:30:431362 days ago1617402643
0x73353801...C0270282C
0.13783865 ETH
121628472021-04-02 22:30:431362 days ago1617402643
0x73353801...C0270282C
0.13783865 ETH
121628442021-04-02 22:29:301362 days ago1617402570
0x73353801...C0270282C
0.13709049 ETH
121628442021-04-02 22:29:301362 days ago1617402570
0x73353801...C0270282C
0.13709049 ETH
121628142021-04-02 22:23:401362 days ago1617402220
0x73353801...C0270282C
0.81946075 ETH
121628142021-04-02 22:23:401362 days ago1617402220
0x73353801...C0270282C
0.81946075 ETH
121627112021-04-02 22:00:031362 days ago1617400803
0x73353801...C0270282C
0.13787903 ETH
121627112021-04-02 22:00:031362 days ago1617400803
0x73353801...C0270282C
0.13787903 ETH
121627052021-04-02 21:58:391362 days ago1617400719
0x73353801...C0270282C
0.13795153 ETH
121627052021-04-02 21:58:391362 days ago1617400719
0x73353801...C0270282C
0.13795153 ETH
121626702021-04-02 21:51:241362 days ago1617400284
0x73353801...C0270282C
0.82461236 ETH
121626702021-04-02 21:51:241362 days ago1617400284
0x73353801...C0270282C
0.82461236 ETH
121625682021-04-02 21:29:501362 days ago1617398990
0x73353801...C0270282C
0.13874752 ETH
121625682021-04-02 21:29:501362 days ago1617398990
0x73353801...C0270282C
0.13874752 ETH
121625582021-04-02 21:28:281362 days ago1617398908
0x73353801...C0270282C
0.13830311 ETH
121625582021-04-02 21:28:281362 days ago1617398908
0x73353801...C0270282C
0.13830311 ETH
121625202021-04-02 21:20:231362 days ago1617398423
0x73353801...C0270282C
0.82685107 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Keep3rV1Oracle

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-11-10
*/

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

interface IUniswapV2Factory {
    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 IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

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

    function initialize(address, address) external;
}

// 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 UniswapV2OracleLibrary {
    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 = IUniswapV2Pair(pair).price0CumulativeLast();
        price1Cumulative = IUniswapV2Pair(pair).price1CumulativeLast();

        // if time has elapsed since the last update on the pair, mock the accumulated price values
        (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = IUniswapV2Pair(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 UniswapV2Library {
    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, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
            ))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

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

interface IUniswapV2Router {
    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 Keep3rV1Oracle {
    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);
    IUniswapV2Router public constant UNI = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public constant factory = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f;
    // 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 UniswapV2Library.pairFor(factory, tokenA, tokenB);
    }
    
    function pairForWETH(address tokenA) external pure returns (address) {
        return UniswapV2Library.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 = UniswapV2Library.pairFor(factory, tokenA, tokenB);
        return _update(pair);
    }

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

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

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

    function workForFree() public keeper {
        bool worked = _updateAll();
        require(worked, "UniswapV2Oracle: !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,) = UniswapV2OracleLibrary.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 = UniswapV2Library.pairFor(factory, tokenIn, tokenOut);
        require(_valid(pair, periodSize.mul(2)), "UniswapV2Oracle::quote: stale prices");
        (address token0,) = UniswapV2Library.sortTokens(tokenIn, tokenOut);

        Observation memory _observation = lastObservation(pair);
        (uint price0Cumulative, uint price1Cumulative,) = UniswapV2OracleLibrary.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 = UniswapV2Library.pairFor(factory, tokenIn, tokenOut);
        require(_valid(pair, periodSize.mul(granularity)), "UniswapV2Oracle::quote: stale prices");
        (address token0,) = UniswapV2Library.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 = UniswapV2Library.pairFor(factory, tokenIn, tokenOut);
        (address token0,) = UniswapV2Library.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 IUniswapV2Router","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 Keep3rV1Oracle.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"}]

6080604052680ad78ebc5ac620000060005534801561001d57600080fd5b50600180546001600160a01b03191633179055612d388061003f6000396000f3fe60806040526004361061023f5760003560e01c80638373a7ab1161012e578063bc9c5941116100ab578063de4b5e071161006f578063de4b5e0714610698578063e4463eb2146106b8578063efa7dbbd146106cd578063f39c38a0146106ed578063ffb0a4a01461070257610246565b8063bc9c594114610603578063c45a015514610623578063c640752d14610638578063c88fa15914610658578063c9ff6f4d1461067857610246565b8063a75d39c2116100f2578063a75d39c21461056e578063ab033ea91461058e578063ad5c4648146105ae578063ae6ec9b7146105c3578063b1f0cad1146105e357610246565b80638373a7ab146104ce5780639119a8d5146104ee57806396ed28f91461050e5780639f4713031461052e578063a10d04381461054e57610246565b80634411935e116101bc578063541bcb7611610180578063541bcb761461044f5780635aa6e67514610464578063677342ce1461047957806380bb2bac1461049957806381bfb885146104ae57610246565b80634411935e146103af578063470838a0146103cf5780634761703c146103ef5780634b71c33c1461040f57806352c28fab1461042f57610246565b80631b56bbf9116102035780631b56bbf914610316578063202e1e4314610343578063238efcbc14610370578063322e9f0414610385578063399b2fb91461039a57610246565b8063024599661461024b57806305e0b9a014610283578063064141e5146102a55780630a793398146102c757806311a9b128146102f457610246565b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004612435565b610724565b60405161027a93929190612c7b565b60405180910390f35b34801561028f57600080fd5b50610298610763565b60405161027a9190612809565b3480156102b157600080fd5b506102c56102c03660046125fc565b61077b565b005b3480156102d357600080fd5b506102e76102e23660046124e8565b61079a565b60405161027a9190612893565b34801561030057600080fd5b50610309610a7f565b60405161027a9190612c36565b34801561032257600080fd5b506103366103313660046123e1565b610a85565b60405161027a91906128d7565b34801561034f57600080fd5b5061036361035e3660046123e1565b610b4c565b60405161027a9190612c15565b34801561037c57600080fd5b506102c5610bba565b34801561039157600080fd5b506102c5610c08565b3480156103a657600080fd5b506102c5610ea0565b3480156103bb57600080fd5b506103096103ca36600461271e565b610f78565b3480156103db57600080fd5b506102986103ea3660046123e1565b610f94565b3480156103fb57600080fd5b506102e761040a3660046124a1565b610fc9565b34801561041b57600080fd5b506102e761042a3660046124a1565b610fe3565b34801561043b57600080fd5b506102c561044a3660046123fd565b610ff3565b34801561045b57600080fd5b5061029861114f565b34801561047057600080fd5b50610298611167565b34801561048557600080fd5b506103096104943660046126cd565b611176565b3480156104a557600080fd5b506103366111a8565b3480156104ba57600080fd5b506103096104c93660046123e1565b611200565b3480156104da57600080fd5b506103096104e9366004612539565b61121b565b3480156104fa57600080fd5b50610309610509366004612460565b6112ae565b34801561051a57600080fd5b506102986105293660046123fd565b6112ca565b34801561053a57600080fd5b506103366105493660046123e1565b6112f4565b34801561055a57600080fd5b50610309610569366004612460565b61130c565b34801561057a57600080fd5b50610309610589366004612460565b611320565b34801561059a57600080fd5b506102c56105a93660046123e1565b611471565b3480156105ba57600080fd5b506102986114bd565b3480156105cf57600080fd5b506103096105de3660046124a1565b6114d5565b3480156105ef57600080fd5b506103096105fe3660046124e8565b61177b565b34801561060f57600080fd5b506102e761061e3660046124a1565b611797565b34801561062f57600080fd5b506102986117a7565b34801561064457600080fd5b506103366106533660046123fd565b6117bf565b34801561066457600080fd5b506102c56106733660046126cd565b611898565b34801561068457600080fd5b506103366106933660046126fd565b6118c7565b3480156106a457600080fd5b506103096106b3366004612460565b6119ba565b3480156106c457600080fd5b506103096119cf565b3480156106d957600080fd5b506102e76106e83660046124a1565b6119d5565b3480156106f957600080fd5b506102986119e5565b34801561070e57600080fd5b506107176119f4565b60405161027a9190612880565b6005602052816000526040600020818154811061073d57fe5b600091825260209091206003909102018054600182015460029092015490935090915083565b731ceb5cb57c4d4e2b2433641b95dd330a33185a4481565b60006107868461121b565b9050610793818484610f78565b5050505050565b606060006107bd735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8887611a56565b905060006107cb8887611ac6565b50905060608567ffffffffffffffff811180156107e757600080fd5b50604051908082528060200260200182016040528015610811578160200160208202803683370190505b506001600160a01b0384166000908152600560205260408120549192506000199091019061084182898902611b50565b90506000808c6001600160a01b0316866001600160a01b03161415610991575b8383101561098c576001600160a01b03871660009081526005602052604090208054848b01935061096991908590811061089757fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b0316815260200190815260200160002084815481106108d957fe5b906000526020600020906003020160010154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b600091825260208083206003909202909101546001600160a01b038d1683526005909152604090912080548790811061095057fe5b906000526020600020906003020160000154038f611b92565b85828151811061097557fe5b602090810291909101015291880191600101610861565b610a6e565b83831015610a6e576001600160a01b03871660009081526005602052604090208054848b019350610a4b9190859081106109c757fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b031681526020019081526020016000208481548110610a0957fe5b906000526020600020906003020160020154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b858281518110610a5757fe5b602090810291909101015291880191600101610991565b50929b9a5050505050505050505050565b60005481565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da91610ac49133918690819060040161281d565b602060405180830381600087803b158015610ade57600080fd5b505af1158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b169190612648565b610b3b5760405162461bcd60e51b8152600401610b3290612af0565b60405180910390fd5b610b4482611bf0565b90505b919050565b610b5461232d565b6001600160a01b038216600090815260056020526040902080546000198101908110610b7c57fe5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b6002546001600160a01b03163314610be45760405162461bcd60e51b8152600401610b3290612ab9565b600254600180546001600160a01b0319166001600160a01b03909216919091179055565b60005a60008054604051630ffaf9ed60e11b8152929350731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610c4e923392909190819060040161281d565b602060405180830381600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612648565b610cbc5760405162461bcd60e51b8152600401610b3290612af0565b6000610cc6611c95565b905080610ce55760405162461bcd60e51b8152600401610b3290612be5565b506000731ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b03166309aff02b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3557600080fd5b505afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190612668565b6001600160a01b031663525ea631610d865a8590611b50565b6040518263ffffffff1660e01b8152600401610da29190612c36565b60206040518083038186803b158015610dba57600080fd5b505afa158015610dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df291906126e5565b6040516346cd669760e11b8152909150731ceb5cb57c4d4e2b2433641b95dd330a33185a4490638d9acd2e90610e3090839030908690600401612843565b600060405180830381600087803b158015610e4a57600080fd5b505af1158015610e5e573d6000803e3d6000fd5b50505050610e6b81611cc9565b604051909150339082156108fc029083906000818181858888f19350505050158015610e9b573d6000803e3d6000fd5b505050565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610ede92339290819060040161281d565b602060405180830381600087803b158015610ef857600080fd5b505af1158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f309190612648565b610f4c5760405162461bcd60e51b8152600401610b3290612af0565b6000610f56611c95565b905080610f755760405162461bcd60e51b8152600401610b3290612be5565b50565b6000610f8382611176565b8385602802020290505b9392505050565b6000610b44735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8373c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611a56565b6060610fda8585858561015061079a565b95945050505050565b6060610fda85858585603061079a565b6001546001600160a01b0316331461101d5760405162461bcd60e51b8152600401610b329061296c565b600061103e735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8484611a56565b6001600160a01b03811660009081526004602052604090205490915060ff161561107a5760405162461bcd60e51b8152600401610b3290612a9a565b6001600160a01b0381166000818152600460205260408120805460ff1916600190811790915560038054918201815582527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b031916909217909155806110e983611f51565b506001600160a01b0390941660009081526005602090815260408083208151606081018352428152808401958652918201978852805460018181018355918552929093209051600390920201908155915190820155925160029093019290925550505050565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6001546001600160a01b031681565b600060026001830104825b80821015610f8d57508060028180868161119757fe5b0401816111a057fe5b049150611181565b6000805b6003548110156111f7576111e0600382815481106111c657fe5b6000918252602090912001546001600160a01b03166112f4565b156111ef5760019150506111fd565b6001016111ac565b50600090505b90565b6001600160a01b031660009081526005602052604090205490565b600080805b835181101561124e5783818151811061123557fe5b6020026020010151820191508080600101915050611220565b5060008351828161125b57fe5b0490506000915060005b84518110156112985760028286838151811061127d57fe5b6020026020010151030a830192508080600101915050611265565b610fda600186510384816112a857fe5b04611176565b60006112c26104e98585856001603061079a565b949350505050565b60006112eb735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8484611a56565b90505b92915050565b600061070861130283610b4c565b5142031192915050565b60006112c26104e98585856001600261079a565b600080611342735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8685611a56565b905061135a816113556107086002612126565b612160565b6113765760405162461bcd60e51b8152600401610b3290612a15565b60006113828685611ac6565b50905061138d61232d565b61139683610b4c565b90506000806113a485611f51565b5084519193509150421415611415576001600160a01b0385166000908152600560205260409020805460011981019081106113db57fe5b9060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505092505b8251420380156114255780611428565b60015b9050896001600160a01b0316856001600160a01b0316141561146157611454846020015184838c611b92565b9650505050505050610f8d565b611454846040015183838c611b92565b6001546001600160a01b0316331461149b5760405162461bcd60e51b8152600401610b32906129a3565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000806114f7735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8786611a56565b90506115098161135561070886612126565b6115255760405162461bcd60e51b8152600401610b3290612a15565b60006115318786611ac6565b506001600160a01b03831660009081526005602052604081205491925090600019018161155e8288611b50565b905060008a6001600160a01b0316856001600160a01b03161415611699575b8282101561169457506001600160a01b03851660009081526005602052604090208054600183019161168591849081106115b357fe5b90600052602060002090600302016001015460056000896001600160a01b03166001600160a01b0316815260200190815260200160002083815481106115f557fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b600091825260208083206003909202909101546001600160a01b038c1683526005909152604090912080548690811061166c57fe5b906000526020600020906003020160000154038d611b92565b9093019260019091019061157d565b611762565b8282101561176257506001600160a01b03851660009081526005602052604090208054600183019161175391849081106116cf57fe5b90600052602060002090600302016002015460056000896001600160a01b03166001600160a01b03168152602001908152602001600020838154811061171157fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b90930192600190910190611699565b61176c8489612178565b9b9a5050505050505050505050565b600061178d6104e9878787878761079a565b9695505050505050565b6060610fda85858585600161079a565b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916117fe9133918690819060040161281d565b602060405180830381600087803b15801561181857600080fd5b505af115801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612648565b61186c5760405162461bcd60e51b8152600401610b3290612af0565b600061188d735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8585611a56565b90506112c281611bf0565b6001546001600160a01b031633146118c25760405162461bcd60e51b8152600401610b32906129a3565b600055565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916119069133918690819060040161281d565b602060405180830381600087803b15801561192057600080fd5b505af1158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612648565b6119745760405162461bcd60e51b8152600401610b3290612af0565b818310156112ee576119a66003848154811061198c57fe5b6000918252602090912001546001600160a01b0316611bf0565b156119af575060015b600190920191611974565b60006112c26104e9858585600161015061079a565b61070881565b6060610fda85858585600261079a565b6002546001600160a01b031681565b60606003805480602002602001604051908101604052809291908181526020018280548015611a4c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a2e575b5050505050905090565b6000806000611a658585611ac6565b91509150858282604051602001611a7d92919061278c565b60405160208183030381529060405280519060200120604051602001611aa49291906127b3565b60408051601f1981840301815291905280516020909101209695505050505050565b600080826001600160a01b0316846001600160a01b03161415611afb5760405162461bcd60e51b8152600401610b32906129d0565b826001600160a01b0316846001600160a01b031610611b1b578284611b1e565b83835b90925090506001600160a01b038216611b495760405162461bcd60e51b8152600401610b3290612b77565b9250929050565b60006112eb83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f77008152506121ba565b6000611b9c61234e565b60405180602001604052808588880381611bb257fe5b046001600160e01b031690529050611bd2611bcd82856121e6565b612245565b71ffffffffffffffffffffffffffffffffffff169695505050505050565b6000611bfa61232d565b611c0383610b4c565b80519091504203610708811115611c8b57600080611c2086611f51565b506001600160a01b0388166000908152600560209081526040808320815160608101835242815280840196875291820194855280546001818101835591855292909320905160039092020190815592518382015590516002909201919091559450610b479350505050565b5060009392505050565b6000805b600354811015611cc557611cb36003828154811061198c57fe5b15611cbd57600191505b600101611c99565b5090565b60405163095ea7b360e01b8152600090731ceb5cb57c4d4e2b2433641b95dd330a33185a449063095ea7b390611d1990737a250d5630b4cf539739df2c5dacb4c659f2488d908690600401612867565b602060405180830381600087803b158015611d3357600080fd5b505af1158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b9190612648565b506040805160028082526060808301845292602083019080368337019050509050731ceb5cb57c4d4e2b2433641b95dd330a33185a4481600081518110611dae57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611df057fe5b6001600160a01b03909216602092830291909101909101526060737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398560008530611e354261070861224c565b6040518663ffffffff1660e01b8152600401611e55959493929190612c3f565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eab919081019061256c565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d82600181518110611edd57fe5b60200260200101516040518263ffffffff1660e01b8152600401611f019190612c36565b600060405180830381600087803b158015611f1b57600080fd5b505af1158015611f2f573d6000803e3d6000fd5b5050505080600181518110611f4057fe5b602002602001015192505050919050565b6000806000611f5e612271565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b158015611f9957600080fd5b505afa158015611fad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd191906126e5565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b15801561200c57600080fd5b505afa158015612020573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204491906126e5565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561208457600080fd5b505afa158015612098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bc9190612684565b9250925092508363ffffffff168163ffffffff161461211c5780840363ffffffff81166120e9848661227b565b516001600160e01b031602969096019563ffffffff811661210a858561227b565b516001600160e01b0316029590950194505b5050509193909250565b600082612135575060006112ee565b8282028284828161214257fe5b04146112eb5760405162461bcd60e51b8152600401610b3290612a59565b60008161216c84610b4c565b51420311159392505050565b60006112eb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122f6565b600081848411156121de5760405162461bcd60e51b8152600401610b3291906128e2565b505050900390565b6121ee612360565b600082158061221457505082516001600160e01b03168281029083828161221157fe5b04145b6122305760405162461bcd60e51b8152600401610b3290612b34565b60408051602081019091529081529392505050565b5160701c90565b6000828201838110156112eb5760405162461bcd60e51b8152600401610b3290612935565b63ffffffff421690565b61228361234e565b6000826001600160701b0316116122ac5760405162461bcd60e51b8152600401610b3290612bae565b6040805160208101909152806001600160701b0384166dffffffffffffffffffffffffffff60701b607087901b16816122e157fe5b046001600160e01b0316815250905092915050565b600081836123175760405162461bcd60e51b8152600401610b3291906128e2565b50600083858161232357fe5b0495945050505050565b60405180606001604052806000815260200160008152602001600081525090565b60408051602081019091526000815290565b6040518060200160405280600081525090565b600082601f830112612383578081fd5b813561239661239182612cb8565b612c91565b8181529150602080830190848101818402860182018710156123b757600080fd5b60005b848110156123d6578135845292820192908201906001016123ba565b505050505092915050565b6000602082840312156123f2578081fd5b81356112eb81612cd8565b6000806040838503121561240f578081fd5b823561241a81612cd8565b9150602083013561242a81612cd8565b809150509250929050565b60008060408385031215612447578182fd5b823561245281612cd8565b946020939093013593505050565b600080600060608486031215612474578081fd5b833561247f81612cd8565b925060208401359150604084013561249681612cd8565b809150509250925092565b600080600080608085870312156124b6578081fd5b84356124c181612cd8565b93506020850135925060408501356124d881612cd8565b9396929550929360600135925050565b600080600080600060a086880312156124ff578081fd5b853561250a81612cd8565b945060208601359350604086013561252181612cd8565b94979396509394606081013594506080013592915050565b60006020828403121561254a578081fd5b813567ffffffffffffffff811115612560578182fd5b6112c284828501612373565b6000602080838503121561257e578182fd5b825167ffffffffffffffff811115612594578283fd5b8301601f810185136125a4578283fd5b80516125b261239182612cb8565b81815283810190838501858402850186018910156125ce578687fd5b8694505b838510156125f05780518352600194909401939185019185016125d2565b50979650505050505050565b600080600060608486031215612610578283fd5b833567ffffffffffffffff811115612626578384fd5b61263286828701612373565b9660208601359650604090950135949350505050565b600060208284031215612659578081fd5b815180151581146112eb578182fd5b600060208284031215612679578081fd5b81516112eb81612cd8565b600080600060608486031215612698578283fd5b83516126a381612ced565b60208501519093506126b481612ced565b604085015190925063ffffffff81168114612496578182fd5b6000602082840312156126de578081fd5b5035919050565b6000602082840312156126f6578081fd5b5051919050565b6000806040838503121561270f578182fd5b50508035926020909101359150565b600080600060608486031215612732578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b838110156127815781516001600160a01b03168752958201959082019060010161275c565b509495945050505050565b6bffffffffffffffffffffffff19606093841b811682529190921b16601482015260280190565b6001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b6001600160a01b0391909116815260200190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082526112eb6020830184612749565b6020808252825182820181905260009190848201906040850190845b818110156128cb578351835292840192918401916001016128af565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b8181101561290e578581018301518582016040015282016128f2565b8181111561291f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601a908201527f556e697377617056324f7261636c653a3a6164643a2021676f76000000000000604082015260600190565b60208082526013908201527239b2ba23b7bb32b93730b731b29d1010b3b7bb60691b604082015260600190565b60208082526025908201527f556e697377617056324c6962726172793a204944454e544943414c5f41444452604082015264455353455360d81b606082015260800190565b60208082526024908201527f556e697377617056324f7261636c653a3a71756f74653a207374616c652070726040820152636963657360e01b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526005908201526435b737bbb760d91b604082015260600190565b6020808252601d908201527f616363657074476f7665726e616e63653a202170656e64696e67476f76000000604082015260600190565b60208082526024908201527f3a3a69734b65657065723a206b6565706572206973206e6f7420726567697374604082015263195c995960e21b606082015260800190565b60208082526023908201527f4669786564506f696e743a204d554c5449504c49434154494f4e5f4f564552466040820152624c4f5760e81b606082015260800190565b6020808252601e908201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604082015260600190565b60208082526017908201527f4669786564506f696e743a204449565f42595f5a45524f000000000000000000604082015260600190565b602080825260169082015275556e697377617056324f7261636c653a2021776f726b60501b604082015260600190565b81518152602080830151908201526040918201519181019190915260600190565b90815260200190565b600086825285602083015260a06040830152612c5e60a0830186612749565b6001600160a01b0394909416606083015250608001529392505050565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612cb057600080fd5b604052919050565b600067ffffffffffffffff821115612cce578081fd5b5060209081020190565b6001600160a01b0381168114610f7557600080fd5b6001600160701b0381168114610f7557600080fdfea2646970667358221220386fa96ff044920e3533c4b2ee4bafeca1878a3f769cdb506fa5ebf95b83b6e264736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061023f5760003560e01c80638373a7ab1161012e578063bc9c5941116100ab578063de4b5e071161006f578063de4b5e0714610698578063e4463eb2146106b8578063efa7dbbd146106cd578063f39c38a0146106ed578063ffb0a4a01461070257610246565b8063bc9c594114610603578063c45a015514610623578063c640752d14610638578063c88fa15914610658578063c9ff6f4d1461067857610246565b8063a75d39c2116100f2578063a75d39c21461056e578063ab033ea91461058e578063ad5c4648146105ae578063ae6ec9b7146105c3578063b1f0cad1146105e357610246565b80638373a7ab146104ce5780639119a8d5146104ee57806396ed28f91461050e5780639f4713031461052e578063a10d04381461054e57610246565b80634411935e116101bc578063541bcb7611610180578063541bcb761461044f5780635aa6e67514610464578063677342ce1461047957806380bb2bac1461049957806381bfb885146104ae57610246565b80634411935e146103af578063470838a0146103cf5780634761703c146103ef5780634b71c33c1461040f57806352c28fab1461042f57610246565b80631b56bbf9116102035780631b56bbf914610316578063202e1e4314610343578063238efcbc14610370578063322e9f0414610385578063399b2fb91461039a57610246565b8063024599661461024b57806305e0b9a014610283578063064141e5146102a55780630a793398146102c757806311a9b128146102f457610246565b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004612435565b610724565b60405161027a93929190612c7b565b60405180910390f35b34801561028f57600080fd5b50610298610763565b60405161027a9190612809565b3480156102b157600080fd5b506102c56102c03660046125fc565b61077b565b005b3480156102d357600080fd5b506102e76102e23660046124e8565b61079a565b60405161027a9190612893565b34801561030057600080fd5b50610309610a7f565b60405161027a9190612c36565b34801561032257600080fd5b506103366103313660046123e1565b610a85565b60405161027a91906128d7565b34801561034f57600080fd5b5061036361035e3660046123e1565b610b4c565b60405161027a9190612c15565b34801561037c57600080fd5b506102c5610bba565b34801561039157600080fd5b506102c5610c08565b3480156103a657600080fd5b506102c5610ea0565b3480156103bb57600080fd5b506103096103ca36600461271e565b610f78565b3480156103db57600080fd5b506102986103ea3660046123e1565b610f94565b3480156103fb57600080fd5b506102e761040a3660046124a1565b610fc9565b34801561041b57600080fd5b506102e761042a3660046124a1565b610fe3565b34801561043b57600080fd5b506102c561044a3660046123fd565b610ff3565b34801561045b57600080fd5b5061029861114f565b34801561047057600080fd5b50610298611167565b34801561048557600080fd5b506103096104943660046126cd565b611176565b3480156104a557600080fd5b506103366111a8565b3480156104ba57600080fd5b506103096104c93660046123e1565b611200565b3480156104da57600080fd5b506103096104e9366004612539565b61121b565b3480156104fa57600080fd5b50610309610509366004612460565b6112ae565b34801561051a57600080fd5b506102986105293660046123fd565b6112ca565b34801561053a57600080fd5b506103366105493660046123e1565b6112f4565b34801561055a57600080fd5b50610309610569366004612460565b61130c565b34801561057a57600080fd5b50610309610589366004612460565b611320565b34801561059a57600080fd5b506102c56105a93660046123e1565b611471565b3480156105ba57600080fd5b506102986114bd565b3480156105cf57600080fd5b506103096105de3660046124a1565b6114d5565b3480156105ef57600080fd5b506103096105fe3660046124e8565b61177b565b34801561060f57600080fd5b506102e761061e3660046124a1565b611797565b34801561062f57600080fd5b506102986117a7565b34801561064457600080fd5b506103366106533660046123fd565b6117bf565b34801561066457600080fd5b506102c56106733660046126cd565b611898565b34801561068457600080fd5b506103366106933660046126fd565b6118c7565b3480156106a457600080fd5b506103096106b3366004612460565b6119ba565b3480156106c457600080fd5b506103096119cf565b3480156106d957600080fd5b506102e76106e83660046124a1565b6119d5565b3480156106f957600080fd5b506102986119e5565b34801561070e57600080fd5b506107176119f4565b60405161027a9190612880565b6005602052816000526040600020818154811061073d57fe5b600091825260209091206003909102018054600182015460029092015490935090915083565b731ceb5cb57c4d4e2b2433641b95dd330a33185a4481565b60006107868461121b565b9050610793818484610f78565b5050505050565b606060006107bd735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8887611a56565b905060006107cb8887611ac6565b50905060608567ffffffffffffffff811180156107e757600080fd5b50604051908082528060200260200182016040528015610811578160200160208202803683370190505b506001600160a01b0384166000908152600560205260408120549192506000199091019061084182898902611b50565b90506000808c6001600160a01b0316866001600160a01b03161415610991575b8383101561098c576001600160a01b03871660009081526005602052604090208054848b01935061096991908590811061089757fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b0316815260200190815260200160002084815481106108d957fe5b906000526020600020906003020160010154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b600091825260208083206003909202909101546001600160a01b038d1683526005909152604090912080548790811061095057fe5b906000526020600020906003020160000154038f611b92565b85828151811061097557fe5b602090810291909101015291880191600101610861565b610a6e565b83831015610a6e576001600160a01b03871660009081526005602052604090208054848b019350610a4b9190859081106109c757fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b031681526020019081526020016000208481548110610a0957fe5b906000526020600020906003020160020154600560008b6001600160a01b03166001600160a01b03168152602001908152602001600020868154811061091b57fe5b858281518110610a5757fe5b602090810291909101015291880191600101610991565b50929b9a5050505050505050505050565b60005481565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da91610ac49133918690819060040161281d565b602060405180830381600087803b158015610ade57600080fd5b505af1158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b169190612648565b610b3b5760405162461bcd60e51b8152600401610b3290612af0565b60405180910390fd5b610b4482611bf0565b90505b919050565b610b5461232d565b6001600160a01b038216600090815260056020526040902080546000198101908110610b7c57fe5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b6002546001600160a01b03163314610be45760405162461bcd60e51b8152600401610b3290612ab9565b600254600180546001600160a01b0319166001600160a01b03909216919091179055565b60005a60008054604051630ffaf9ed60e11b8152929350731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610c4e923392909190819060040161281d565b602060405180830381600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612648565b610cbc5760405162461bcd60e51b8152600401610b3290612af0565b6000610cc6611c95565b905080610ce55760405162461bcd60e51b8152600401610b3290612be5565b506000731ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b03166309aff02b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3557600080fd5b505afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190612668565b6001600160a01b031663525ea631610d865a8590611b50565b6040518263ffffffff1660e01b8152600401610da29190612c36565b60206040518083038186803b158015610dba57600080fd5b505afa158015610dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df291906126e5565b6040516346cd669760e11b8152909150731ceb5cb57c4d4e2b2433641b95dd330a33185a4490638d9acd2e90610e3090839030908690600401612843565b600060405180830381600087803b158015610e4a57600080fd5b505af1158015610e5e573d6000803e3d6000fd5b50505050610e6b81611cc9565b604051909150339082156108fc029083906000818181858888f19350505050158015610e9b573d6000803e3d6000fd5b505050565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4492631ff5f3da92610ede92339290819060040161281d565b602060405180830381600087803b158015610ef857600080fd5b505af1158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f309190612648565b610f4c5760405162461bcd60e51b8152600401610b3290612af0565b6000610f56611c95565b905080610f755760405162461bcd60e51b8152600401610b3290612be5565b50565b6000610f8382611176565b8385602802020290505b9392505050565b6000610b44735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8373c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611a56565b6060610fda8585858561015061079a565b95945050505050565b6060610fda85858585603061079a565b6001546001600160a01b0316331461101d5760405162461bcd60e51b8152600401610b329061296c565b600061103e735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8484611a56565b6001600160a01b03811660009081526004602052604090205490915060ff161561107a5760405162461bcd60e51b8152600401610b3290612a9a565b6001600160a01b0381166000818152600460205260408120805460ff1916600190811790915560038054918201815582527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b031916909217909155806110e983611f51565b506001600160a01b0390941660009081526005602090815260408083208151606081018352428152808401958652918201978852805460018181018355918552929093209051600390920201908155915190820155925160029093019290925550505050565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6001546001600160a01b031681565b600060026001830104825b80821015610f8d57508060028180868161119757fe5b0401816111a057fe5b049150611181565b6000805b6003548110156111f7576111e0600382815481106111c657fe5b6000918252602090912001546001600160a01b03166112f4565b156111ef5760019150506111fd565b6001016111ac565b50600090505b90565b6001600160a01b031660009081526005602052604090205490565b600080805b835181101561124e5783818151811061123557fe5b6020026020010151820191508080600101915050611220565b5060008351828161125b57fe5b0490506000915060005b84518110156112985760028286838151811061127d57fe5b6020026020010151030a830192508080600101915050611265565b610fda600186510384816112a857fe5b04611176565b60006112c26104e98585856001603061079a565b949350505050565b60006112eb735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8484611a56565b90505b92915050565b600061070861130283610b4c565b5142031192915050565b60006112c26104e98585856001600261079a565b600080611342735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8685611a56565b905061135a816113556107086002612126565b612160565b6113765760405162461bcd60e51b8152600401610b3290612a15565b60006113828685611ac6565b50905061138d61232d565b61139683610b4c565b90506000806113a485611f51565b5084519193509150421415611415576001600160a01b0385166000908152600560205260409020805460011981019081106113db57fe5b9060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505092505b8251420380156114255780611428565b60015b9050896001600160a01b0316856001600160a01b0316141561146157611454846020015184838c611b92565b9650505050505050610f8d565b611454846040015183838c611b92565b6001546001600160a01b0316331461149b5760405162461bcd60e51b8152600401610b32906129a3565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000806114f7735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8786611a56565b90506115098161135561070886612126565b6115255760405162461bcd60e51b8152600401610b3290612a15565b60006115318786611ac6565b506001600160a01b03831660009081526005602052604081205491925090600019018161155e8288611b50565b905060008a6001600160a01b0316856001600160a01b03161415611699575b8282101561169457506001600160a01b03851660009081526005602052604090208054600183019161168591849081106115b357fe5b90600052602060002090600302016001015460056000896001600160a01b03166001600160a01b0316815260200190815260200160002083815481106115f557fe5b906000526020600020906003020160010154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b600091825260208083206003909202909101546001600160a01b038c1683526005909152604090912080548690811061166c57fe5b906000526020600020906003020160000154038d611b92565b9093019260019091019061157d565b611762565b8282101561176257506001600160a01b03851660009081526005602052604090208054600183019161175391849081106116cf57fe5b90600052602060002090600302016002015460056000896001600160a01b03166001600160a01b03168152602001908152602001600020838154811061171157fe5b906000526020600020906003020160020154600560008a6001600160a01b03166001600160a01b03168152602001908152602001600020858154811061163757fe5b90930192600190910190611699565b61176c8489612178565b9b9a5050505050505050505050565b600061178d6104e9878787878761079a565b9695505050505050565b6060610fda85858585600161079a565b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916117fe9133918690819060040161281d565b602060405180830381600087803b15801561181857600080fd5b505af115801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612648565b61186c5760405162461bcd60e51b8152600401610b3290612af0565b600061188d735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f8585611a56565b90506112c281611bf0565b6001546001600160a01b031633146118c25760405162461bcd60e51b8152600401610b32906129a3565b600055565b60008054604051630ffaf9ed60e11b8152731ceb5cb57c4d4e2b2433641b95dd330a33185a4491631ff5f3da916119069133918690819060040161281d565b602060405180830381600087803b15801561192057600080fd5b505af1158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612648565b6119745760405162461bcd60e51b8152600401610b3290612af0565b818310156112ee576119a66003848154811061198c57fe5b6000918252602090912001546001600160a01b0316611bf0565b156119af575060015b600190920191611974565b60006112c26104e9858585600161015061079a565b61070881565b6060610fda85858585600261079a565b6002546001600160a01b031681565b60606003805480602002602001604051908101604052809291908181526020018280548015611a4c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a2e575b5050505050905090565b6000806000611a658585611ac6565b91509150858282604051602001611a7d92919061278c565b60405160208183030381529060405280519060200120604051602001611aa49291906127b3565b60408051601f1981840301815291905280516020909101209695505050505050565b600080826001600160a01b0316846001600160a01b03161415611afb5760405162461bcd60e51b8152600401610b32906129d0565b826001600160a01b0316846001600160a01b031610611b1b578284611b1e565b83835b90925090506001600160a01b038216611b495760405162461bcd60e51b8152600401610b3290612b77565b9250929050565b60006112eb83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f77008152506121ba565b6000611b9c61234e565b60405180602001604052808588880381611bb257fe5b046001600160e01b031690529050611bd2611bcd82856121e6565b612245565b71ffffffffffffffffffffffffffffffffffff169695505050505050565b6000611bfa61232d565b611c0383610b4c565b80519091504203610708811115611c8b57600080611c2086611f51565b506001600160a01b0388166000908152600560209081526040808320815160608101835242815280840196875291820194855280546001818101835591855292909320905160039092020190815592518382015590516002909201919091559450610b479350505050565b5060009392505050565b6000805b600354811015611cc557611cb36003828154811061198c57fe5b15611cbd57600191505b600101611c99565b5090565b60405163095ea7b360e01b8152600090731ceb5cb57c4d4e2b2433641b95dd330a33185a449063095ea7b390611d1990737a250d5630b4cf539739df2c5dacb4c659f2488d908690600401612867565b602060405180830381600087803b158015611d3357600080fd5b505af1158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b9190612648565b506040805160028082526060808301845292602083019080368337019050509050731ceb5cb57c4d4e2b2433641b95dd330a33185a4481600081518110611dae57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611df057fe5b6001600160a01b03909216602092830291909101909101526060737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398560008530611e354261070861224c565b6040518663ffffffff1660e01b8152600401611e55959493929190612c3f565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eab919081019061256c565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d82600181518110611edd57fe5b60200260200101516040518263ffffffff1660e01b8152600401611f019190612c36565b600060405180830381600087803b158015611f1b57600080fd5b505af1158015611f2f573d6000803e3d6000fd5b5050505080600181518110611f4057fe5b602002602001015192505050919050565b6000806000611f5e612271565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b158015611f9957600080fd5b505afa158015611fad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd191906126e5565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b15801561200c57600080fd5b505afa158015612020573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204491906126e5565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561208457600080fd5b505afa158015612098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bc9190612684565b9250925092508363ffffffff168163ffffffff161461211c5780840363ffffffff81166120e9848661227b565b516001600160e01b031602969096019563ffffffff811661210a858561227b565b516001600160e01b0316029590950194505b5050509193909250565b600082612135575060006112ee565b8282028284828161214257fe5b04146112eb5760405162461bcd60e51b8152600401610b3290612a59565b60008161216c84610b4c565b51420311159392505050565b60006112eb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122f6565b600081848411156121de5760405162461bcd60e51b8152600401610b3291906128e2565b505050900390565b6121ee612360565b600082158061221457505082516001600160e01b03168281029083828161221157fe5b04145b6122305760405162461bcd60e51b8152600401610b3290612b34565b60408051602081019091529081529392505050565b5160701c90565b6000828201838110156112eb5760405162461bcd60e51b8152600401610b3290612935565b63ffffffff421690565b61228361234e565b6000826001600160701b0316116122ac5760405162461bcd60e51b8152600401610b3290612bae565b6040805160208101909152806001600160701b0384166dffffffffffffffffffffffffffff60701b607087901b16816122e157fe5b046001600160e01b0316815250905092915050565b600081836123175760405162461bcd60e51b8152600401610b3291906128e2565b50600083858161232357fe5b0495945050505050565b60405180606001604052806000815260200160008152602001600081525090565b60408051602081019091526000815290565b6040518060200160405280600081525090565b600082601f830112612383578081fd5b813561239661239182612cb8565b612c91565b8181529150602080830190848101818402860182018710156123b757600080fd5b60005b848110156123d6578135845292820192908201906001016123ba565b505050505092915050565b6000602082840312156123f2578081fd5b81356112eb81612cd8565b6000806040838503121561240f578081fd5b823561241a81612cd8565b9150602083013561242a81612cd8565b809150509250929050565b60008060408385031215612447578182fd5b823561245281612cd8565b946020939093013593505050565b600080600060608486031215612474578081fd5b833561247f81612cd8565b925060208401359150604084013561249681612cd8565b809150509250925092565b600080600080608085870312156124b6578081fd5b84356124c181612cd8565b93506020850135925060408501356124d881612cd8565b9396929550929360600135925050565b600080600080600060a086880312156124ff578081fd5b853561250a81612cd8565b945060208601359350604086013561252181612cd8565b94979396509394606081013594506080013592915050565b60006020828403121561254a578081fd5b813567ffffffffffffffff811115612560578182fd5b6112c284828501612373565b6000602080838503121561257e578182fd5b825167ffffffffffffffff811115612594578283fd5b8301601f810185136125a4578283fd5b80516125b261239182612cb8565b81815283810190838501858402850186018910156125ce578687fd5b8694505b838510156125f05780518352600194909401939185019185016125d2565b50979650505050505050565b600080600060608486031215612610578283fd5b833567ffffffffffffffff811115612626578384fd5b61263286828701612373565b9660208601359650604090950135949350505050565b600060208284031215612659578081fd5b815180151581146112eb578182fd5b600060208284031215612679578081fd5b81516112eb81612cd8565b600080600060608486031215612698578283fd5b83516126a381612ced565b60208501519093506126b481612ced565b604085015190925063ffffffff81168114612496578182fd5b6000602082840312156126de578081fd5b5035919050565b6000602082840312156126f6578081fd5b5051919050565b6000806040838503121561270f578182fd5b50508035926020909101359150565b600080600060608486031215612732578081fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b838110156127815781516001600160a01b03168752958201959082019060010161275c565b509495945050505050565b6bffffffffffffffffffffffff19606093841b811682529190921b16601482015260280190565b6001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b6001600160a01b0391909116815260200190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6000602082526112eb6020830184612749565b6020808252825182820181905260009190848201906040850190845b818110156128cb578351835292840192918401916001016128af565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b8181101561290e578581018301518582016040015282016128f2565b8181111561291f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601a908201527f556e697377617056324f7261636c653a3a6164643a2021676f76000000000000604082015260600190565b60208082526013908201527239b2ba23b7bb32b93730b731b29d1010b3b7bb60691b604082015260600190565b60208082526025908201527f556e697377617056324c6962726172793a204944454e544943414c5f41444452604082015264455353455360d81b606082015260800190565b60208082526024908201527f556e697377617056324f7261636c653a3a71756f74653a207374616c652070726040820152636963657360e01b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526005908201526435b737bbb760d91b604082015260600190565b6020808252601d908201527f616363657074476f7665726e616e63653a202170656e64696e67476f76000000604082015260600190565b60208082526024908201527f3a3a69734b65657065723a206b6565706572206973206e6f7420726567697374604082015263195c995960e21b606082015260800190565b60208082526023908201527f4669786564506f696e743a204d554c5449504c49434154494f4e5f4f564552466040820152624c4f5760e81b606082015260800190565b6020808252601e908201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604082015260600190565b60208082526017908201527f4669786564506f696e743a204449565f42595f5a45524f000000000000000000604082015260600190565b602080825260169082015275556e697377617056324f7261636c653a2021776f726b60501b604082015260600190565b81518152602080830151908201526040918201519181019190915260600190565b90815260200190565b600086825285602083015260a06040830152612c5e60a0830186612749565b6001600160a01b0394909416606083015250608001529392505050565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612cb057600080fd5b604052919050565b600067ffffffffffffffff821115612cce578081fd5b5060209081020190565b6001600160a01b0381168114610f7557600080fd5b6001600160701b0381168114610f7557600080fdfea2646970667358221220386fa96ff044920e3533c4b2ee4bafeca1878a3f769cdb506fa5ebf95b83b6e264736f6c634300060c0033

Deployed Bytecode Sourcemap

19275:15362:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21650:53;;;;;;;;;;-1:-1:-1;21650:53:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;20943:86;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33908:251::-;;;;;;;;;;-1:-1:-1;33908:251:0;;;;;:::i;:::-;;:::i;:::-;;28378:1459;;;;;;;;;;-1:-1:-1;28378:1459:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;19495:28::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22247:104::-;;;;;;;;;;-1:-1:-1;22247:104:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23375:153::-;;;;;;;;;;-1:-1:-1;23375:153:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20765:170::-;;;;;;;;;;;;;:::i;23094:127::-;;;;;;;;;;;;;:::i;23229:134::-;;;;;;;;;;;;;:::i;33223:246::-;;;;;;;;;;-1:-1:-1;33223:246:0;;;;;:::i;:::-;;:::i;22017:151::-;;;;;;;;;;-1:-1:-1;22017:151:0;;;;;:::i;:::-;;:::i;30251:191::-;;;;;;;;;;-1:-1:-1;30251:191:0;;;;;:::i;:::-;;:::i;30050:189::-;;;;;;;;;;-1:-1:-1;30050:189:0;;;;;:::i;:::-;;:::i;22560:526::-;;;;;;;;;;-1:-1:-1;22560:526:0;;;;;:::i;:::-;;:::i;21121:99::-;;;;;;;;;;;;;:::i;20088:25::-;;;;;;;;;;;;;:::i;31558:230::-;;;;;;;;;;-1:-1:-1;31558:230:0;;;;;:::i;:::-;;:::i;24141:228::-;;;;;;;;;;;;;:::i;21716:121::-;;;;;;;;;;-1:-1:-1;21716:121:0;;;;;:::i;:::-;;:::i;32121:564::-;;;;;;;;;;-1:-1:-1;32121:564:0;;;;;:::i;:::-;;:::i;30884:188::-;;;;;;;;;;-1:-1:-1;30884:188:0;;;;;:::i;:::-;;:::i;21849:156::-;;;;;;;;;;-1:-1:-1;21849:156:0;;;;;:::i;:::-;;:::i;23984:149::-;;;;;;;;;;-1:-1:-1;23984:149:0;;;;;:::i;:::-;;:::i;30684:188::-;;;;;;;;;;-1:-1:-1;30684:188:0;;;;;:::i;:::-;;:::i;25596:1109::-;;;;;;;;;;-1:-1:-1;25596:1109:0;;;;;:::i;:::-;;:::i;20472:170::-;;;;;;;;;;-1:-1:-1;20472:170:0;;;;;:::i;:::-;;:::i;21036:78::-;;;;;;;;;;;;;:::i;26713:1452::-;;;;;;;;;;-1:-1:-1;26713:1452:0;;;;;:::i;:::-;;:::i;30454:218::-;;;;;;;;;;-1:-1:-1;30454:218:0;;;;;:::i;:::-;;:::i;28177:189::-;;;;;;;;;;-1:-1:-1;28177:189:0;;;;;:::i;:::-;;:::i;21229:76::-;;;;;;;;;;;;;:::i;22359:193::-;;;;;;;;;;-1:-1:-1;22359:193:0;;;;;:::i;:::-;;:::i;20165:142::-;;;;;;;;;;-1:-1:-1;20165:142:0;;;;;:::i;:::-;;:::i;23756:220::-;;;;;;;;;;-1:-1:-1;23756:220:0;;;;;:::i;:::-;;:::i;31084:190::-;;;;;;;;;;-1:-1:-1;31084:190:0;;;;;:::i;:::-;;:::i;21424:38::-;;;;;;;;;;;;;:::i;29849:189::-;;;;;;;;;;-1:-1:-1;29849:189:0;;;;;:::i;:::-;;:::i;20120:32::-;;;;;;;;;;;;;:::i;21552:90::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;21650:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21650:53:0;;-1:-1:-1;21650:53:0;:::o;20943:86::-;20986:42;20943:86;:::o;33908:251::-;34066:9;34078:16;34085:8;34078:6;:16::i;:::-;34066:28;;34105:46;34126:4;34132:11;34145:5;34105:20;:46::i;:::-;;33908:251;;;;:::o;28378:1459::-;28491:13;28517:12;28532:52;21263:42;28566:7;28575:8;28532:24;:52::i;:::-;28517:67;;28596:14;28615:46;28643:7;28652:8;28615:27;:46::i;:::-;28595:66;;;28672:21;28707:6;28696:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28696:18:0;-1:-1:-1;;;;;;28749:18:0;;28735:11;28749:18;;;:12;:18;;;;;:25;28672:42;;-1:-1:-1;;;28749:27:0;;;;28796;28749;28807:15;;;28796:10;:27::i;:::-;28787:36;;28834:14;28863:10;28912:7;-1:-1:-1;;;;;28902:17:0;:6;-1:-1:-1;;;;;28902:17:0;;28898:907;;;28936:413;28947:6;28943:1;:10;28936:413;;;-1:-1:-1;;;;;29082:18:0;;;;;;:12;:18;;;;;:21;;28997:10;;;;-1:-1:-1;29043:254:0;;29082:18;28997:1;;29082:21;;;;;;;;;;;;;;;;:38;;;29143:12;:18;29156:4;-1:-1:-1;;;;;29143:18:0;-1:-1:-1;;;;;29143:18:0;;;;;;;;;;;;29162:9;29143:29;;;;;;;;;;;;;;;;;;:46;;;29255:12;:18;29268:4;-1:-1:-1;;;;;29255:18:0;-1:-1:-1;;;;;29255:18:0;;;;;;;;;;;;29274:1;29255:21;;;;;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;29213:18:0;;;;:12;:18;;;;;;;:29;;29232:9;;29213:29;;;;;;;;;;;;;;;;:39;;;:73;29288:8;29043:16;:254::i;:::-;29026:7;29034:5;29026:14;;;;;;;;;;;;;;;;;:271;28955:9;;;;29332:1;29324:9;28936:413;;;28898:907;;;29392:6;29388:1;:10;29381:413;;;-1:-1:-1;;;;;29527:18:0;;;;;;:12;:18;;;;;:21;;29442:10;;;;-1:-1:-1;29488:254:0;;29527:18;29442:1;;29527:21;;;;;;;;;;;;;;;;:38;;;29588:12;:18;29601:4;-1:-1:-1;;;;;29588:18:0;-1:-1:-1;;;;;29588:18:0;;;;;;;;;;;;29607:9;29588:29;;;;;;;;;;;;;;;;;;:46;;;29700:12;:18;29713:4;-1:-1:-1;;;;;29700:18:0;-1:-1:-1;;;;;29700:18:0;;;;;;;;;;;;29719:1;29700:21;;;;;;;29488:254;29471:7;29479:5;29471:14;;;;;;;;;;;;;;;;;:271;29400:9;;;;29777:1;29769:9;29381:413;;;-1:-1:-1;29822:7:0;;28378:1459;-1:-1:-1;;;;;;;;;;;28378:1459:0:o;19495:28::-;;;;:::o;22247:104::-;22306:4;19598:7;;19569:43;;-1:-1:-1;;;19569:43:0;;20986:42;;19569:16;;:43;;19586:10;;22306:4;;;;19569:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19561:92;;;;-1:-1:-1;;;19561:92:0;;;;;;;:::i;:::-;;;;;;;;;22330:13:::1;22338:4;22330:7;:13::i;:::-;22323:20;;19664:1;22247:104:::0;;;:::o;23375:153::-;23435:18;;:::i;:::-;-1:-1:-1;;;;;23473:18:0;;;;;;:12;:18;;;;;23492:25;;-1:-1:-1;;23492:27:0;;;23473:47;;;;;;;;;;;;;;;;23466:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23375:153;;;:::o;20765:170::-;20835:17;;-1:-1:-1;;;;;20835:17:0;20821:10;:31;20813:73;;;;-1:-1:-1;;;20813:73:0;;;;;;;:::i;:::-;20910:17;;;20897:30;;-1:-1:-1;;;;;;20897:30:0;-1:-1:-1;;;;;20910:17:0;;;20897:30;;;;;;20765:170::o;23094:127::-;19710:13;19726:9;19783:7;;;19754:43;;-1:-1:-1;;;19754:43:0;;19710:25;;-1:-1:-1;20986:42:0;;19754:16;;:43;;19771:10;;19783:7;;;;;19754:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19746:92;;;;-1:-1:-1;;;19746:92:0;;;;;;;:::i;:::-;23135:11:::1;23149:12;:10;:12::i;:::-;23135:26;;23180:6;23172:41;;;;-1:-1:-1::0;;;23172:41:0::1;;;;;;;:::i;:::-;19849:1;19861:14:::0;20986:42;-1:-1:-1;;;;;19878:9:0;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;19878:25:0;;19904:23;19917:9;19904:8;;:12;:23::i;:::-;19878:50;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19939:53;;-1:-1:-1;;;19939:53:0;;19861:67;;-1:-1:-1;20986:42:0;;19939:12;;:53;;20986:42;;19975:4;;19861:67;;19939:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20015:16;20021:9;20015:5;:16::i;:::-;20042:30;;20003:28;;-1:-1:-1;20042:10:0;;:30;;;;;20003:28;;20042:30;;;;20003:28;20042:10;:30;;;;;;;;;;;;;;;;;;;;;23094:127;;:::o;23229:134::-;19598:7;;;19569:43;;-1:-1:-1;;;19569:43:0;;20986:42;;19569:16;;:43;;19586:10;;19598:7;;;19569:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19561:92;;;;-1:-1:-1;;;19561:92:0;;;;;;;:::i;:::-;23277:11:::1;23291:12;:10;:12::i;:::-;23277:26;;23322:6;23314:41;;;;-1:-1:-1::0;;;23314:41:0::1;;;;;;;:::i;:::-;19664:1;23229:134::o:0;33223:246::-;33358:16;33424:11;33429:5;33424:4;:11::i;:::-;33410;33403:4;33398:2;:9;:23;:37;33387:48;;33223:246;;;;;;:::o;22017:151::-;22077:7;22104:56;21263:42;22138:6;21071:42;22104:24;:56::i;30251:191::-;30353:13;30386:48;30393:7;30402:8;30412;30422:6;30430:3;30386:6;:48::i;:::-;30379:55;30251:191;-1:-1:-1;;;;;30251:191:0:o;30050:189::-;30151:13;30184:47;30191:7;30200:8;30210;30220:6;30228:2;30184:6;:47::i;22560:526::-;22647:10;;-1:-1:-1;;;;;22647:10:0;22633;:24;22625:63;;;;-1:-1:-1;;;22625:63:0;;;;;;;:::i;:::-;22699:12;22714:49;21263:42;22748:6;22756;22714:24;:49::i;:::-;-1:-1:-1;;;;;22783:12:0;;;;;;:6;:12;;;;;;22699:64;;-1:-1:-1;22783:12:0;;22782:13;22774:31;;;;-1:-1:-1;;;22774:31:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22816:12:0;;;;;;:6;:12;;;;;:19;;-1:-1:-1;;22816:19:0;22831:4;22816:19;;;;;;22846:6;:17;;;;;;;;;;;;;-1:-1:-1;;;;;;22846:17:0;;;;;;;22816:12;22926:52;22823:4;22926:46;:52::i;:::-;-1:-1:-1;;;;;;22989:18:0;;;;;;;:12;:18;;;;;;;;23013:64;;;;;;;23025:15;23013:64;;;;;;;;;;;;;;22989:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;22560:526:0:o;21121:99::-;21177:42;21121:99;:::o;20088:25::-;;;-1:-1:-1;;;;;20088:25:0;;:::o;31558:230::-;31604:7;31646:1;31641;31637:5;;31636:11;31637:5;31682:80;31693:1;31689;:5;31682:80;;;-1:-1:-1;31715:1:0;31749;31715;;31736;31715;31736:5;;;;;:9;31735:15;;;;;;31731:19;;31682:80;;24141:228;24184:4;;24201:138;24222:6;:13;24218:17;;24201:138;;;24261:19;24270:6;24277:1;24270:9;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24270:9:0;24261:8;:19::i;:::-;24257:71;;;24308:4;24301:11;;;;;24257:71;24237:3;;24201:138;;;;24356:5;24349:12;;24141:228;;:::o;21716:121::-;-1:-1:-1;;;;;21804:18:0;21780:4;21804:18;;;:12;:18;;;;;:25;;21716:121::o;32121:564::-;32181:10;;;32227:85;32247:7;:14;32243:1;:18;32227:85;;;32290:7;32298:1;32290:10;;;;;;;;;;;;;;32283:17;;;;32263:3;;;;;;;32227:85;;;;32322:12;32343:7;:14;32337:3;:20;;;;;;32322:35;;32432:1;32426:7;;32444:6;32461:94;32476:7;:14;32472:1;:18;32461:94;;;32542:1;32533:4;32520:7;32528:1;32520:10;;;;;;;;;;;;;;:17;32519:24;32512:31;;;;32492:3;;;;;;;32461:94;;;32570:32;32599:1;32582:7;:14;:18;32575:3;:26;;;;;;32570:4;:32::i;30884:188::-;30990:4;31014:50;31021:42;31028:7;31037:8;31047;31057:1;31060:2;31021:6;:42::i;31014:50::-;31007:57;30884:188;-1:-1:-1;;;;30884:188:0:o;21849:156::-;21921:7;21948:49;21263:42;21982:6;21990;21948:24;:49::i;:::-;21941:56;;21849:156;;;;;:::o;23984:149::-;24037:4;21458;24080:21;24096:4;24080:15;:21::i;:::-;:31;24062:15;:49;24061:64;;23984:149;-1:-1:-1;;23984:149:0:o;30684:188::-;30791:4;30815:49;30822:41;30829:7;30838:8;30848;30858:1;30861;30822:6;:41::i;25596:1109::-;25686:14;25713:12;25728:52;21263:42;25762:7;25771:8;25728:24;:52::i;:::-;25713:67;-1:-1:-1;25799:31:0;25713:67;25812:17;21458:4;25827:1;25812:14;:17::i;:::-;25799:6;:31::i;:::-;25791:80;;;;-1:-1:-1;;;25791:80:0;;;;;;;:::i;:::-;25883:14;25902:46;25930:7;25939:8;25902:27;:46::i;:::-;25882:66;;;25961:31;;:::i;:::-;25995:21;26011:4;25995:15;:21::i;:::-;25961:55;;26028:21;26051;26077:52;26124:4;26077:46;:52::i;:::-;-1:-1:-1;26163:22:0;;26027:102;;-1:-1:-1;26027:102:0;-1:-1:-1;26144:15:0;:41;26140:136;;;-1:-1:-1;;;;;26217:18:0;;;;;;:12;:18;;;;;26236:25;;-1:-1:-1;;26236:27:0;;;26217:47;;;;;;;;;;;;;;;;26202:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26140:136;26333:22;;26315:15;:40;26380:16;;:34;;26403:11;26380:34;;;26399:1;26380:34;26366:48;;26439:7;-1:-1:-1;;;;;26429:17:0;:6;-1:-1:-1;;;;;26429:17:0;;26425:273;;;26470:88;26487:12;:29;;;26518:16;26536:11;26549:8;26470:16;:88::i;:::-;26463:95;;;;;;;;;;26425:273;26598:88;26615:12;:29;;;26646:16;26664:11;26677:8;26598:16;:88::i;20472:170::-;20558:10;;-1:-1:-1;;;;;20558:10:0;20544;:24;20536:56;;;;-1:-1:-1;;;20536:56:0;;;;;;;:::i;:::-;20603:17;:31;;-1:-1:-1;;;;;;20603:31:0;-1:-1:-1;;;;;20603:31:0;;;;;;;;;;20472:170::o;21036:78::-;21071:42;21036:78;:::o;26713:1452::-;26819:14;26846:12;26861:52;21263:42;26895:7;26904:8;26861:24;:52::i;:::-;26846:67;-1:-1:-1;26932:41:0;26846:67;26945:27;21458:4;26960:11;26945:14;:27::i;26932:41::-;26924:90;;;;-1:-1:-1;;;26924:90:0;;;;;;;:::i;:::-;27026:14;27045:46;27073:7;27082:8;27045:27;:46::i;:::-;-1:-1:-1;;;;;;27160:18:0;;27104:27;27160:18;;;:12;:18;;;;;:25;27025:66;;-1:-1:-1;27104:27:0;-1:-1:-1;;27160:27:0;27104;27207:23;27160:27;27218:11;27207:10;:23::i;:::-;27198:32;;27245:14;27288:7;-1:-1:-1;;;;;27278:17:0;:6;-1:-1:-1;;;;;27278:17:0;;27274:827;;;27312:373;27323:6;27319:1;:10;27312:373;;;-1:-1:-1;;;;;;27454:18:0;;;;;;:12;:18;;;;;:21;;27369:1;27367:3;;;27415:254;;27367:1;;27454:21;;;;;;;;;;;;;;;;:38;;;27515:12;:18;27528:4;-1:-1:-1;;;;;27515:18:0;-1:-1:-1;;;;;27515:18:0;;;;;;;;;;;;27534:9;27515:29;;;;;;;;;;;;;;;;;;:46;;;27627:12;:18;27640:4;-1:-1:-1;;;;;27627:18:0;-1:-1:-1;;;;;27627:18:0;;;;;;;;;;;;27646:1;27627:21;;;;;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;27585:18:0;;;;:12;:18;;;;;;;:29;;27604:9;;27585:29;;;;;;;;;;;;;;;;:39;;;:73;27660:8;27415:16;:254::i;:::-;27389:280;;;;27331:3;;;;;27312:373;;;27274:827;;;27728:6;27724:1;:10;27717:373;;;-1:-1:-1;;;;;;27859:18:0;;;;;;:12;:18;;;;;:21;;27774:1;27772:3;;;27820:254;;27772:1;;27859:21;;;;;;;;;;;;;;;;:38;;;27920:12;:18;27933:4;-1:-1:-1;;;;;27920:18:0;-1:-1:-1;;;;;27920:18:0;;;;;;;;;;;;27939:9;27920:29;;;;;;;;;;;;;;;;;;:46;;;28032:12;:18;28045:4;-1:-1:-1;;;;;28032:18:0;-1:-1:-1;;;;;28032:18:0;;;;;;;;;;;;28051:1;28032:21;;;;;;;27820:254;27794:280;;;;27736:3;;;;;27717:373;;;28118:39;:22;28145:11;28118:26;:39::i;:::-;28111:46;26713:1452;-1:-1:-1;;;;;;;;;;;26713:1452:0:o;30454:218::-;30581:4;30605:59;30612:51;30619:7;30628:8;30638;30648:6;30656;30612;:51::i;30605:59::-;30598:66;30454:218;-1:-1:-1;;;;;;30454:218:0:o;28177:189::-;28279:13;28312:46;28319:7;28328:8;28338;28348:6;28356:1;28312:6;:46::i;21229:76::-;21263:42;21229:76;:::o;22359:193::-;22432:4;19598:7;;19569:43;;-1:-1:-1;;;19569:43:0;;20986:42;;19569:16;;:43;;19586:10;;22432:4;;;;19569:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19561:92;;;;-1:-1:-1;;;19561:92:0;;;;;;;:::i;:::-;22449:12:::1;22464:49;21263:42;22498:6;22506;22464:24;:49::i;:::-;22449:64;;22531:13;22539:4;22531:7;:13::i;20165:142::-:0;20239:10;;-1:-1:-1;;;;;20239:10:0;20225;:24;20217:56;;;;-1:-1:-1;;;20217:56:0;;;;;;;:::i;:::-;20284:7;:15;20165:142::o;23756:220::-;23821:12;19598:7;;19569:43;;-1:-1:-1;;;19569:43:0;;20986:42;;19569:16;;:43;;19586:10;;23821:12;;;;19569:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19561:92;;;;-1:-1:-1;;;19561:92:0;;;;;;;:::i;:::-;23857:6:::1;23853:1;:10;23846:123;;;23889:18;23897:6;23904:1;23897:9;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;23897:9:0::1;23889:7;:18::i;:::-;23885:73;;;-1:-1:-1::0;23938:4:0::1;23885:73;23865:3;::::0;;::::1;::::0;23846:123:::1;;31084:190:::0;31191:4;31215:51;31222:43;31229:7;31238:8;31248;31258:1;31261:3;31222:6;:43::i;21424:38::-;21458:4;21424:38;:::o;29849:189::-;29951:13;29984:46;29991:7;30000:8;30010;30020:6;30028:1;29984:6;:46::i;20120:32::-;;;-1:-1:-1;;;;;20120:32:0;;:::o;21552:90::-;21592:16;21628:6;21621:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21621:13:0;;;;;;;;;;;;;;;;;;;;;;;21552:90;:::o;14134:478::-;14223:12;14249:14;14265;14283:26;14294:6;14302;14283:10;:26::i;:::-;14248:61;;;;14411:7;14464:6;14472;14447:32;;;;;;;;;:::i;:::-;;;;;;;;;;;;;14437:43;;;;;;14350:251;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14350:251:0;;;;;;;;;14340:262;;14350:251;14340:262;;;;;14134:478;-1:-1:-1;;;;;;14134:478:0:o;13693:349::-;13768:14;13784;13829:6;-1:-1:-1;;;;;13819:16:0;:6;-1:-1:-1;;;;;13819:16:0;;;13811:66;;;;-1:-1:-1;;;13811:66:0;;;;;;;:::i;:::-;13916:6;-1:-1:-1;;;;;13907:15:0;:6;-1:-1:-1;;;;;13907:15:0;;:53;;13945:6;13953;13907:53;;;13926:6;13934;13907:53;13888:72;;-1:-1:-1;13888:72:0;-1:-1:-1;;;;;;13979:20:0;;13971:63;;;;-1:-1:-1;;;13971:63:0;;;;;;;:::i;:::-;13693:349;;;;;:::o;8807:137::-;8865:7;8892:44;8896:1;8899;8892:44;;;;;;;;;;;;;;;;;:3;:44::i;24985:442::-;25143:14;25203:40;;:::i;:::-;25246:112;;;;;;;;25335:11;25311:20;25290:18;:41;25289:57;;;;;;-1:-1:-1;;;;;25246:112:0;;;25203:155;-1:-1:-1;25381:38:0;:26;25203:155;25398:8;25381:16;:26::i;:::-;:36;:38::i;:::-;25369:50;;;24985:442;-1:-1:-1;;;;;;24985:442:0:o;24377:600::-;24426:4;24534:25;;:::i;:::-;24562:21;24578:4;24562:15;:21::i;:::-;24631:16;;24534:49;;-1:-1:-1;24613:15:0;:34;21458:4;24662:24;;24658:289;;;24704:21;24727;24753:52;24800:4;24753:46;:52::i;:::-;-1:-1:-1;;;;;;24820:18:0;;;;;;:12;:18;;;;;;;;24844:64;;;;;;;24856:15;24844:64;;;;;;;;;;;;;;24820:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24924:11:0;;-1:-1:-1;;;;24924:11:0;24658:289;-1:-1:-1;24964:5:0;;24377:600;-1:-1:-1;;;24377:600:0:o;23536:212::-;23576:12;;23601:140;23622:6;:13;23618:17;;23601:140;;;23661:18;23669:6;23676:1;23669:9;;;;;;;23661:18;23657:73;;;23710:4;23700:14;;23657:73;23637:3;;23601:140;;;;23536:212;:::o;34212:422::-;34276:35;;-1:-1:-1;;;34276:35:0;;34259:4;;20986:42;;34276:12;;:35;;21177:42;;34303:7;;34276:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;34356:16:0;;;34370:1;34356:16;;;34332:21;34356:16;;;;;34332:21;34356:16;;;;;;;;;;-1:-1:-1;34356:16:0;34332:40;;20986:42;34383:4;34388:1;34383:7;;;;;;;;;;;;;:23;-1:-1:-1;;;;;34383:23:0;;;-1:-1:-1;;;;;34383:23:0;;;;;21071:42;34417:4;34422:1;34417:7;;;;;;;;-1:-1:-1;;;;;34417:23:0;;;:7;;;;;;;;;;;:23;34453:21;21177:42;34477:28;34506:7;34523:1;34527:4;34541;34548:13;:3;34556:4;34548:7;:13::i;:::-;34477:85;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34477:85:0;;;;;;;;;;;;:::i;:::-;34453:109;;21071:42;-1:-1:-1;;;;;34573:13:0;;34587:7;34595:1;34587:10;;;;;;;;;;;;;;34573:25;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34616:7;34624:1;34616:10;;;;;;;;;;;;;;34609:17;;;;34212:422;;;:::o;5917:1058::-;6003:21;6026;6049;6100:23;:21;:23::i;:::-;6083:40;;6168:4;-1:-1:-1;;;;;6153:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6134:62;;6241:4;-1:-1:-1;;;;;6226:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6207:62;;6384:16;6402;6420:25;6464:4;-1:-1:-1;;;;;6449:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6383:100;;;;;;6520:14;6498:36;;:18;:36;;;6494:474;;6620:35;;;6766:62;;;6771:39;6791:8;6801;6771:19;:39::i;:::-;:42;-1:-1:-1;;;;;6766:48:0;:62;6746:82;;;;;6894:62;;;6899:39;6919:8;6929;6899:19;:39::i;:::-;:42;-1:-1:-1;;;;;6894:48:0;:62;6874:82;;;;;-1:-1:-1;6494:474:0;5917:1058;;;;;;;;:::o;9668:471::-;9726:7;9971:6;9967:47;;-1:-1:-1;10001:1:0;9994:8;;9967:47;10038:5;;;10042:1;10038;:5;:1;10062:5;;;;;:10;10054:56;;;;-1:-1:-1;;;10054:56:0;;;;;;;:::i;25435:153::-;25498:4;25577:3;25541:21;25557:4;25541:15;:21::i;:::-;:31;25523:15;:49;25522:58;;;25435:153;-1:-1:-1;;;25435:153:0:o;11326:132::-;11384:7;11411:39;11415:1;11418;11411:39;;;;;;;;;;;;;;;;;:3;:39::i;9233:192::-;9319:7;9355:12;9347:6;;;;9339:29;;;;-1:-1:-1;;;9339:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;9391:5:0;;;9233:192::o;4322:253::-;4389:16;;:::i;:::-;4418:6;4443;;;:54;;-1:-1:-1;;4489:7:0;;-1:-1:-1;;;;;4484:13:0;4458:17;;;;4479:1;4458:17;4479:1;4453:27;;;;;:44;4443:54;4435:102;;;;-1:-1:-1;;;4435:102:0;;;;;;;:::i;:::-;4555:12;;;;;;;;;;;;;4322:253;-1:-1:-1;;;4322:253:0:o;5276:130::-;5376:7;3593:3;5376:21;;5276:130::o;7914:181::-;7972:7;8004:5;;;8028:6;;;;8020:46;;;;-1:-1:-1;;;8020:46:0;;;;;;;:::i;5688:123::-;5777:25;:15;:25;;5688:123::o;4731:246::-;4812:16;;:::i;:::-;4863:1;4849:11;-1:-1:-1;;;;;4849:15:0;;4841:51;;;;-1:-1:-1;;;4841:51:0;;;;;;;:::i;:::-;4910:59;;;;;;;;;;-1:-1:-1;;;;;4920:48:0;;-1:-1:-1;;;3593:3:0;4921:32;;;;4920:48;;;;;;-1:-1:-1;;;;;4910:59:0;;;;4903:66;;4731:246;;;;:::o;11946:345::-;12032:7;12134:12;12127:5;12119:28;;;;-1:-1:-1;;;12119:28:0;;;;;;;;:::i;:::-;;12158:9;12174:1;12170;:5;;;;;;;11946:345;-1:-1:-1;;;;;11946: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;37148:5;34133:13;34126:21;37126:5;37123:32;37113:2;;-1:-1;;37159: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;34755:10;34744:22;;37663:34;;37653:2;;-1:-1;;37701: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;32725:12;33400:6;33395:3;33388:19;33437:4;;33432:3;33428:14;10437:93;;33437:4;10601:5;32421:14;-1:-1;10640:260;10665:6;10662:1;10659:13;10640:260;;;10726:13;;-1:-1;;;;;34538:54;9873:37;;9453:14;;;;33128;;;;5602:18;10680:9;10640:260;;;-1:-1;10906:10;;10356:566;-1:-1;;;;;10356:566::o;19301:392::-;-1:-1;;36915:2;36911:14;;;;;10131:58;;36911:14;;;;;19554:2;19545:12;;10131:58;19656:12;;;19445:248::o;19700:926::-;-1:-1;;;;;;15394:87;;36915:2;36911:14;;;;-1:-1;;36911:14;15379:1;15500:11;;10131:58;20312:12;;;11859:58;15006:66;20423:12;;;14986:87;15092:12;;;20046:580::o;20633:222::-;-1:-1;;;;;34538:54;;;;9873:37;;20760:2;20745:18;;20731:124::o;20862:604::-;-1:-1;;;;;34538:54;;;;9742:58;;21270:2;21255:18;;11859:58;;;;21361:2;21346:18;;12521:58;21452:2;21437:18;;12521:58;21097:3;21082:19;;21068:398::o;21473:460::-;-1:-1;;;;;34538:54;;;9873:37;;34538:54;;;;21836:2;21821:18;;9742:58;21919:2;21904:18;;11859:58;;;;21664:2;21649:18;;21635:298::o;21940:333::-;-1:-1;;;;;34538:54;;;;9873:37;;22259:2;22244:18;;11859:58;22095:2;22080:18;;22066:207::o;22280:370::-;;22457:2;22478:17;22471:47;22532:108;22457:2;22446:9;22442:18;22626:6;22532:108;:::i;22657:370::-;22834:2;22848:47;;;32725:12;;22819:18;;;33388:19;;;22657:370;;22834:2;32421:14;;;;33428;;;;22657:370;11369:260;11394:6;11391:1;11388:13;11369:260;;;11455:13;;11859:58;;33128:14;;;;9635;;;;11416:1;11409:9;11369:260;;;-1:-1;22901:116;;22805:222;-1:-1;;;;;;22805:222::o;23034:210::-;34133:13;;34126:21;11724:34;;23155:2;23140:18;;23126:118::o;24052:310::-;;24199:2;;24220:17;24213:47;12736:5;32725:12;33400:6;24199:2;24188:9;24184:18;33388:19;-1:-1;36253:101;36267:6;36264:1;36261:13;36253:101;;;36334:11;;;;;36328:18;36315:11;;;33428:14;36315:11;36308:39;36282:10;;36253:101;;;36369:6;36366:1;36363:13;36360:2;;;-1:-1;33428:14;36425:6;24188:9;36416:16;;36409:27;36360:2;-1:-1;36820:7;36804:14;-1:-1;;36800:28;12894:39;;;;33428:14;12894:39;;24170:192;-1:-1;;;24170:192::o;24369:416::-;24569:2;24583:47;;;13170:2;24554:18;;;33388:19;13206:29;33428:14;;;13186:50;13255:12;;;24540:245::o;24792:416::-;24992:2;25006:47;;;13506:2;24977:18;;;33388:19;13542:28;33428:14;;;13522:49;13590:12;;;24963:245::o;25215:416::-;25415:2;25429:47;;;13841:2;25400:18;;;33388:19;-1:-1;;;33428:14;;;13857:42;13918:12;;;25386:245::o;25638:416::-;25838:2;25852:47;;;14169:2;25823:18;;;33388:19;14205:34;33428:14;;;14185:55;-1:-1;;;14260:12;;;14253:29;14301:12;;;25809:245::o;26061:416::-;26261:2;26275:47;;;14552:2;26246:18;;;33388:19;14588:34;33428:14;;;14568:55;-1:-1;;;14643:12;;;14636:28;14683:12;;;26232:245::o;26484:416::-;26684:2;26698:47;;;15750:2;26669:18;;;33388:19;15786:34;33428:14;;;15766:55;-1:-1;;;15841:12;;;15834:25;15878:12;;;26655:245::o;26907:416::-;27107:2;27121:47;;;16129:1;27092:18;;;33388:19;-1:-1;;;33428:14;;;16144:28;16191:12;;;27078:245::o;27330:416::-;27530:2;27544:47;;;16442:2;27515:18;;;33388:19;16478:31;33428:14;;;16458:52;16529:12;;;27501:245::o;27753:416::-;27953:2;27967:47;;;16780:2;27938:18;;;33388:19;16816:34;33428:14;;;16796:55;-1:-1;;;16871:12;;;16864:28;16911:12;;;27924:245::o;28176:416::-;28376:2;28390:47;;;17162:2;28361:18;;;33388:19;17198:34;33428:14;;;17178:55;-1:-1;;;17253:12;;;17246:27;17292:12;;;28347:245::o;28599:416::-;28799:2;28813:47;;;17543:2;28784:18;;;33388:19;17579:32;33428:14;;;17559:53;17631:12;;;28770:245::o;29022:416::-;29222:2;29236:47;;;17882:2;29207:18;;;33388:19;17918:25;33428:14;;;17898:46;17963:12;;;29193:245::o;29445:416::-;29645:2;29659:47;;;18214:2;29630:18;;;33388:19;-1:-1;;;33428:14;;;18230:45;18294:12;;;29616:245::o;29868:338::-;18619:23;;11859:58;;18802:4;18791:16;;;18785:23;18862:14;;;11859:58;18968:4;18957:16;;;18951:23;19028:14;;;11859:58;;;;30053:2;30038:18;;30024:182::o;30213:222::-;11859:58;;;30340:2;30325:18;;30311:124::o;30442:832::-;;11909:5;11866:3;11859:58;11909:5;30904:2;30893:9;30889:18;11859:58;30739:3;30941:2;30930:9;30926:18;30919:48;30981:108;30739:3;30728:9;30724:19;31075:6;30981:108;:::i;:::-;-1:-1;;;;;34538:54;;;;31176:2;31161:18;;9742:58;-1:-1;31259:3;31244:19;11859:58;30973:116;30710:564;-1:-1;;;30710:564::o;31281:444::-;11859:58;;;31628:2;31613:18;;11859:58;;;;31711:2;31696:18;;11859:58;31464:2;31449:18;;31435:290::o;31732:256::-;31794:2;31788:9;31820:17;;;31895:18;31880:34;;31916:22;;;31877:62;31874:2;;;31952:1;;31942:12;31874:2;31794;31961:22;31772:216;;-1:-1;31772:216::o;31995:304::-;;32154:18;32146:6;32143:30;32140:2;;;-1:-1;;32176:12;32140:2;-1:-1;32221:4;32209:17;;;32274:15;;32077:222::o;36943:117::-;-1:-1;;;;;34538:54;;37002:35;;36992:2;;37051:1;;37041:12;37357:117;-1:-1;;;;;37444:5;34422:42;37419:5;37416:35;37406:2;;37465:1;;37455:12

Swarm Source

ipfs://386fa96ff044920e3533c4b2ee4bafeca1878a3f769cdb506fa5ebf95b83b6e2

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.