Contract 0x30333ce00ac3025276927672aaefd80f22e89e54 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x87fdb8299e1b8837624d58e229ef108096af42071f192cfe0179ef9c2163ca30Set Gov2449042021-09-01 15:25:08955 days 9 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000757338037 ETH1.091963789
0xe5c92c4d87b47b535997c847243c2ffc6ab042282b008d385045eee19a1dceb7Set Price Sample...2394622021-09-01 11:44:03955 days 13 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000725205974 ETH1.085225041
0x7f963b1a0e953eea3af5255a3b79b68a4b179deba70791a15f1b62a999641214Set Price Sample...2266472021-08-30 10:01:55957 days 15 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000581665649 ETH0.868038491
0x0d9049c0df94d217d26fd052f36595df68e1300470880eae6c397923dc17a1b1Set Token Config2197332021-08-17 6:10:00970 days 18 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000640785736 ETH0.479937547
0x2fc59dffab202e5e2d1e908d21dd2ab07f2ab612ed5ec7d4da249f49a2adbbfaSet Token Config2197322021-08-17 6:10:00970 days 18 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000543456322 ETH0.479937547
0xb285c628eae7a97f9792da81f96edd97b80091f26283a3cdce9f8cace4e64fe4Set Token Config2197312021-08-17 6:10:00970 days 18 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000544137353 ETH0.479937547
0x4d88e3fdb01efac0a3945a9e3c7b81bae3ea4e3c925030e42e7bf456c7b806bbSet Chainlink Fl...2197282021-08-17 6:06:18970 days 19 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000316957475 ETH0.479937547
0x8347a4cf31b72be41d056f3405750940f5594b278dd0a8863713d2847698d73bSet Is Amm Enabl...2197272021-08-17 6:06:18970 days 19 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000303710239 ETH0.479937547
0x34397a5097d7463b2815e32e994e2bd167f2f20c480bb37979ab2fd80dac90eeSet Secondary Pr...2197262021-08-17 6:06:18970 days 19 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000412944985 ETH0.479937547
0x53b6d6b111c49383f014c38c0aa81e97b05044f6d09ad5577c1c0b59003b7d58Set Price Sample...2197252021-08-17 6:06:18970 days 19 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000304373033 ETH0.479937547
0x05ac9cf9dd8f7bd39b02c98346f15c1249b547371374c05bc4ae0dd32f6a40daSet Max Strict P...2197242021-08-17 6:06:18970 days 19 hrs agoGMX: Deployer IN  0x30333ce00ac3025276927672aaefd80f22e89e540 ETH0.000406316567 ETH0.479937547
0x1032ce8b05a3ea10f6f28a4e26a422df3bfcd5c1d13654f87e11cfd2fa6bbeee0x608060402197232021-08-17 6:06:18970 days 19 hrs agoGMX: Deployer IN  Create: VaultPriceFeed0 ETH0.032117509445 ETH0.479937547
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x3c14e07edd0dc67442fa96f1ec6999c57e810a830 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x3c14e07edd0dc67442fa96f1ec6999c57e810a830 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x3c14e07edd0dc67442fa96f1ec6999c57e810a830 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago GMX: Vault 0x30333ce00ac3025276927672aaefd80f22e89e540 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago GMX: Vault 0x30333ce00ac3025276927672aaefd80f22e89e540 ETH
0x4c6d580ce018a24141af3d92abab2e199a5357b931dc15a8ae9195065a8c12dd3146462021-09-08 1:45:00948 days 23 hrs ago GMX: Vault 0x30333ce00ac3025276927672aaefd80f22e89e540 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x3c14e07edd0dc67442fa96f1ec6999c57e810a830 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x3c14e07edd0dc67442fa96f1ec6999c57e810a830 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x639fe6ab55c921f74e7fac1ee960c0b6293ba6120 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x3c14e07edd0dc67442fa96f1ec6999c57e810a830 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago GMX: Vault 0x30333ce00ac3025276927672aaefd80f22e89e540 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago GMX: Vault 0x30333ce00ac3025276927672aaefd80f22e89e540 ETH
0x9a772f770260a6315de0dbd24906e4e86e38465ed6b27466c4b96294271bb7ce3146412021-09-08 1:45:00948 days 23 hrs ago GMX: Vault 0x30333ce00ac3025276927672aaefd80f22e89e540 ETH
0x71c67f03c4d587bb9d0be17a7bebafdfb3e14a9027d6329d1e688235388c48c33146332021-09-08 1:43:12948 days 23 hrs ago 0x30333ce00ac3025276927672aaefd80f22e89e54 0x50834f3163758fcc1df9973b6e91f0f0f0434ad30 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VaultPriceFeed

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2021-08-30
*/

// Sources flattened with hardhat v2.6.1 https://hardhat.org

// File contracts/libraries/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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


// File contracts/core/interfaces/IVaultPriceFeed.sol


pragma solidity 0.6.12;

interface IVaultPriceFeed {
    function adjustmentBasisPoints(address _token) external view returns (uint256);
    function isAdjustmentAdditive(address _token) external view returns (bool);
    function setAdjustment(address _token, bool _isAdditive, uint256 _adjustmentBps) external;
    function setUseV2Pricing(bool _useV2Pricing) external;
    function setIsAmmEnabled(bool _isEnabled) external;
    function setIsSecondaryPriceEnabled(bool _isEnabled) external;
    function setSpreadBasisPoints(address _token, uint256 _spreadBasisPoints) external;
    function setSpreadThresholdBasisPoints(uint256 _spreadThresholdBasisPoints) external;
    function setFavorPrimaryPrice(bool _favorPrimaryPrice) external;
    function setPriceSampleSpace(uint256 _priceSampleSpace) external;
    function setMaxStrictPriceDeviation(uint256 _maxStrictPriceDeviation) external;
    function getPrice(address _token, bool _maximise, bool _includeAmmPrice, bool _useSwapPricing) external view returns (uint256);
    function getAmmPrice(address _token) external view returns (uint256);
}


// File contracts/oracle/interfaces/IPriceFeed.sol


pragma solidity 0.6.12;

interface IPriceFeed {
    function description() external view returns (string memory);
    function aggregator() external view returns (address);
    function latestAnswer() external view returns (int256);
    function latestRound() external view returns (uint80);
    function getRoundData(uint80 roundId) external view returns (uint80, int256, uint256, uint256, uint80);
}


// File contracts/oracle/interfaces/ISecondaryPriceFeed.sol


pragma solidity 0.6.12;

interface ISecondaryPriceFeed {
    function getPrice(address _token, uint256 _referencePrice, bool _maximise) external view returns (uint256);
}


// File contracts/oracle/interfaces/IChainlinkFlags.sol


pragma solidity 0.6.12;

interface IChainlinkFlags {
  function getFlag(address) external view returns (bool);
}


// File contracts/amm/interfaces/IPancakePair.sol


pragma solidity >=0.5.0;

interface IPancakePair {
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
}


// File contracts/core/VaultPriceFeed.sol






pragma solidity 0.6.12;

contract VaultPriceFeed is IVaultPriceFeed {
    using SafeMath for uint256;

    uint256 public constant PRICE_PRECISION = 10 ** 30;
    uint256 public constant ONE_USD = PRICE_PRECISION;
    uint256 public constant BASIS_POINTS_DIVISOR = 10000;
    uint256 public constant MAX_SPREAD_BASIS_POINTS = 50;
    uint256 public constant MAX_ADJUSTMENT_INTERVAL = 2 hours;
    uint256 public constant MAX_ADJUSTMENT_BASIS_POINTS = 20;

    // Identifier of the Sequencer offline flag on the Flags contract
    address constant private FLAG_ARBITRUM_SEQ_OFFLINE = address(bytes20(bytes32(uint256(keccak256("chainlink.flags.arbitrum-seq-offline")) - 1)));

    address public gov;
    address public chainlinkFlags;

    bool public isAmmEnabled = true;
    bool public isSecondaryPriceEnabled = true;
    bool public useV2Pricing = false;
    bool public favorPrimaryPrice = false;
    uint256 public priceSampleSpace = 3;
    uint256 public maxStrictPriceDeviation = 0;
    address public secondaryPriceFeed;
    uint256 public spreadThresholdBasisPoints = 30;

    address public btc;
    address public eth;
    address public bnb;
    address public bnbBusd;
    address public ethBnb;
    address public btcBnb;

    mapping (address => address) public priceFeeds;
    mapping (address => uint256) public priceDecimals;
    mapping (address => uint256) public spreadBasisPoints;
    // Chainlink can return prices for stablecoins
    // that differs from 1 USD by a larger percentage than stableSwapFeeBasisPoints
    // we use strictStableTokens to cap the price to 1 USD
    // this allows us to configure stablecoins like DAI as being a stableToken
    // while not being a strictStableToken
    mapping (address => bool) public strictStableTokens;

    mapping (address => uint256) public override adjustmentBasisPoints;
    mapping (address => bool) public override isAdjustmentAdditive;
    mapping (address => uint256) public lastAdjustmentTimings;

    modifier onlyGov() {
        require(msg.sender == gov, "VaultPriceFeed: forbidden");
        _;
    }

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

    function setGov(address _gov) external onlyGov {
        gov = _gov;
    }

    function setChainlinkFlags(address _chainlinkFlags) external onlyGov {
        chainlinkFlags = _chainlinkFlags;
    }

    function setAdjustment(address _token, bool _isAdditive, uint256 _adjustmentBps) external override onlyGov {
        require(
            lastAdjustmentTimings[_token].add(MAX_ADJUSTMENT_INTERVAL) < block.timestamp,
            "VaultPriceFeed: adjustment frequency exceeded"
        );
        require(_adjustmentBps <= MAX_ADJUSTMENT_BASIS_POINTS, "invalid _adjustmentBps");
        isAdjustmentAdditive[_token] = _isAdditive;
        adjustmentBasisPoints[_token] = _adjustmentBps;
        lastAdjustmentTimings[_token] = block.timestamp;
    }

    function setUseV2Pricing(bool _useV2Pricing) external override onlyGov {
        useV2Pricing = _useV2Pricing;
    }

    function setIsAmmEnabled(bool _isEnabled) external override onlyGov {
        isAmmEnabled = _isEnabled;
    }

    function setIsSecondaryPriceEnabled(bool _isEnabled) external override onlyGov {
        isSecondaryPriceEnabled = _isEnabled;
    }

    function setSecondaryPriceFeed(address _secondaryPriceFeed) external onlyGov {
        secondaryPriceFeed = _secondaryPriceFeed;
    }

    function setTokens(address _btc, address _eth, address _bnb) external onlyGov {
        btc = _btc;
        eth = _eth;
        bnb = _bnb;
    }

    function setPairs(address _bnbBusd, address _ethBnb, address _btcBnb) external onlyGov {
        bnbBusd = _bnbBusd;
        ethBnb = _ethBnb;
        btcBnb = _btcBnb;
    }

    function setSpreadBasisPoints(address _token, uint256 _spreadBasisPoints) external override onlyGov {
        require(_spreadBasisPoints <= MAX_SPREAD_BASIS_POINTS, "VaultPriceFeed: invalid _spreadBasisPoints");
        spreadBasisPoints[_token] = _spreadBasisPoints;
    }

    function setSpreadThresholdBasisPoints(uint256 _spreadThresholdBasisPoints) external override onlyGov {
        spreadThresholdBasisPoints = _spreadThresholdBasisPoints;
    }

    function setFavorPrimaryPrice(bool _favorPrimaryPrice) external override onlyGov {
        favorPrimaryPrice = _favorPrimaryPrice;
    }

    function setPriceSampleSpace(uint256 _priceSampleSpace) external override onlyGov {
        require(_priceSampleSpace > 0, "VaultPriceFeed: invalid _priceSampleSpace");
        priceSampleSpace = _priceSampleSpace;
    }

    function setMaxStrictPriceDeviation(uint256 _maxStrictPriceDeviation) external override onlyGov {
        maxStrictPriceDeviation = _maxStrictPriceDeviation;
    }

    function setTokenConfig(
        address _token,
        address _priceFeed,
        uint256 _priceDecimals,
        bool _isStrictStable
    ) external onlyGov {
        priceFeeds[_token] = _priceFeed;
        priceDecimals[_token] = _priceDecimals;
        strictStableTokens[_token] = _isStrictStable;
    }

    function getPrice(address _token, bool _maximise, bool _includeAmmPrice, bool /* _useSwapPricing */) public override view returns (uint256) {
        uint256 price = useV2Pricing ? getPriceV2(_token, _maximise, _includeAmmPrice) : getPriceV1(_token, _maximise, _includeAmmPrice);

        uint256 adjustmentBps = adjustmentBasisPoints[_token];
        if (adjustmentBps > 0) {
            bool isAdditive = isAdjustmentAdditive[_token];
            if (isAdditive) {
                price = price.mul(BASIS_POINTS_DIVISOR.add(adjustmentBps)).div(BASIS_POINTS_DIVISOR);
            } else {
                price = price.mul(BASIS_POINTS_DIVISOR.sub(adjustmentBps)).div(BASIS_POINTS_DIVISOR);
            }
        }

        return price;
    }

    function getPriceV1(address _token, bool _maximise, bool _includeAmmPrice) public view returns (uint256) {
        uint256 price = getPrimaryPrice(_token, _maximise);

        if (_includeAmmPrice && isAmmEnabled) {
            uint256 ammPrice = getAmmPrice(_token);
            if (ammPrice > 0) {
                if (_maximise && ammPrice > price) {
                    price = ammPrice;
                }
                if (!_maximise && ammPrice < price) {
                    price = ammPrice;
                }
            }
        }

        if (_includeAmmPrice && isSecondaryPriceEnabled) {
            price = getSecondaryPrice(_token, price, _maximise);
        }

        if (strictStableTokens[_token]) {
            uint256 delta = price > ONE_USD ? price.sub(ONE_USD) : ONE_USD.sub(price);
            if (delta <= maxStrictPriceDeviation) {
                return ONE_USD;
            }
        }

        uint256 _spreadBasisPoints = spreadBasisPoints[_token];

        if (_maximise) {
            return price.mul(BASIS_POINTS_DIVISOR.add(_spreadBasisPoints)).div(BASIS_POINTS_DIVISOR);
        }

        return price.mul(BASIS_POINTS_DIVISOR.sub(_spreadBasisPoints)).div(BASIS_POINTS_DIVISOR);
    }

    function getPriceV2(address _token, bool _maximise, bool _includeAmmPrice) public view returns (uint256) {
        uint256 price = getPrimaryPrice(_token, _maximise);

        if (_includeAmmPrice && isAmmEnabled) {
            price = getAmmPriceV2(_token, _maximise, price);
        }

        if (_includeAmmPrice && isSecondaryPriceEnabled) {
            price = getSecondaryPrice(_token, price, _maximise);
        }

        if (strictStableTokens[_token]) {
            uint256 delta = price > ONE_USD ? price.sub(ONE_USD) : ONE_USD.sub(price);
            if (delta <= maxStrictPriceDeviation) {
                return ONE_USD;
            }
        }

        uint256 _spreadBasisPoints = spreadBasisPoints[_token];

        if (_maximise) {
            return price.mul(BASIS_POINTS_DIVISOR.add(_spreadBasisPoints)).div(BASIS_POINTS_DIVISOR);
        }

        return price.mul(BASIS_POINTS_DIVISOR.sub(_spreadBasisPoints)).div(BASIS_POINTS_DIVISOR);
    }

    function getAmmPriceV2(address _token, bool _maximise, uint256 _primaryPrice) public view returns (uint256) {
        uint256 ammPrice = getAmmPrice(_token);
        if (ammPrice == 0) {
            return _primaryPrice;
        }

        uint256 diff = ammPrice > _primaryPrice ? ammPrice.sub(_primaryPrice) : _primaryPrice.sub(ammPrice);
        if (diff.mul(BASIS_POINTS_DIVISOR) < _primaryPrice.mul(spreadThresholdBasisPoints)) {
            if (favorPrimaryPrice) {
                return _primaryPrice;
            }
            return ammPrice;
        }

        if (_maximise && ammPrice > _primaryPrice) {
            return ammPrice;
        }

        if (!_maximise && ammPrice < _primaryPrice) {
            return ammPrice;
        }

        return _primaryPrice;
    }

    function getPrimaryPrice(address _token, bool _maximise) public view returns (uint256) {
        address priceFeedAddress = priceFeeds[_token];
        require(priceFeedAddress != address(0), "VaultPriceFeed: invalid price feed");

        if (chainlinkFlags != address(0)) {
            bool isRaised = IChainlinkFlags(chainlinkFlags).getFlag(FLAG_ARBITRUM_SEQ_OFFLINE);
            if (isRaised) {
                    // If flag is raised we shouldn't perform any critical operations
                revert("Chainlink feeds are not being updated");
            }
        }

        IPriceFeed priceFeed = IPriceFeed(priceFeedAddress);

        uint256 price = 0;
        uint80 roundId = priceFeed.latestRound();

        for (uint80 i = 0; i < priceSampleSpace; i++) {
            if (roundId <= i) { break; }
            uint256 p;

            if (i == 0) {
                int256 _p = priceFeed.latestAnswer();
                require(_p > 0, "VaultPriceFeed: invalid price");
                p = uint256(_p);
            } else {
                (, int256 _p, , ,) = priceFeed.getRoundData(roundId - i);
                require(_p > 0, "VaultPriceFeed: invalid price");
                p = uint256(_p);
            }

            if (price == 0) {
                price = p;
                continue;
            }

            if (_maximise && p > price) {
                price = p;
                continue;
            }

            if (!_maximise && p < price) {
                price = p;
            }
        }

        require(price > 0, "VaultPriceFeed: could not fetch price");
        // normalise price precision
        uint256 _priceDecimals = priceDecimals[_token];
        return price.mul(PRICE_PRECISION).div(10 ** _priceDecimals);
    }

    function getSecondaryPrice(address _token, uint256 _referencePrice, bool _maximise) public view returns (uint256) {
        if (secondaryPriceFeed == address(0)) { return _referencePrice; }
        return ISecondaryPriceFeed(secondaryPriceFeed).getPrice(_token, _referencePrice, _maximise);
    }

    function getAmmPrice(address _token) public override view returns (uint256) {
        if (_token == bnb) {
            // for bnbBusd, reserve0: BNB, reserve1: BUSD
            return getPairPrice(bnbBusd, true);
        }

        if (_token == eth) {
            uint256 price0 = getPairPrice(bnbBusd, true);
            // for ethBnb, reserve0: ETH, reserve1: BNB
            uint256 price1 = getPairPrice(ethBnb, true);
            // this calculation could overflow if (price0 / 10**30) * (price1 / 10**30) is more than 10**17
            return price0.mul(price1).div(PRICE_PRECISION);
        }

        if (_token == btc) {
            uint256 price0 = getPairPrice(bnbBusd, true);
            // for btcBnb, reserve0: BTC, reserve1: BNB
            uint256 price1 = getPairPrice(btcBnb, true);
            // this calculation could overflow if (price0 / 10**30) * (price1 / 10**30) is more than 10**17
            return price0.mul(price1).div(PRICE_PRECISION);
        }

        return 0;
    }

    // if divByReserve0: calculate price as reserve1 / reserve0
    // if !divByReserve1: calculate price as reserve0 / reserve1
    function getPairPrice(address _pair, bool _divByReserve0) public view returns (uint256) {
        (uint256 reserve0, uint256 reserve1, ) = IPancakePair(_pair).getReserves();
        if (_divByReserve0) {
            if (reserve0 == 0) { return 0; }
            return reserve1.mul(PRICE_PRECISION).div(reserve0);
        }
        if (reserve1 == 0) { return 0; }
        return reserve0.mul(PRICE_PRECISION).div(reserve1);
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BASIS_POINTS_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ADJUSTMENT_BASIS_POINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ADJUSTMENT_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SPREAD_BASIS_POINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_USD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"adjustmentBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbBusd","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"btc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"btcBnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkFlags","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethBnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"favorPrimaryPrice","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"getAmmPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_maximise","type":"bool"},{"internalType":"uint256","name":"_primaryPrice","type":"uint256"}],"name":"getAmmPriceV2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"},{"internalType":"bool","name":"_divByReserve0","type":"bool"}],"name":"getPairPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_maximise","type":"bool"},{"internalType":"bool","name":"_includeAmmPrice","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_maximise","type":"bool"},{"internalType":"bool","name":"_includeAmmPrice","type":"bool"}],"name":"getPriceV1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_maximise","type":"bool"},{"internalType":"bool","name":"_includeAmmPrice","type":"bool"}],"name":"getPriceV2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_maximise","type":"bool"}],"name":"getPrimaryPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_referencePrice","type":"uint256"},{"internalType":"bool","name":"_maximise","type":"bool"}],"name":"getSecondaryPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAdjustmentAdditive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAmmEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSecondaryPriceEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastAdjustmentTimings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxStrictPriceDeviation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"priceDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"priceFeeds","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceSampleSpace","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondaryPriceFeed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_isAdditive","type":"bool"},{"internalType":"uint256","name":"_adjustmentBps","type":"uint256"}],"name":"setAdjustment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_chainlinkFlags","type":"address"}],"name":"setChainlinkFlags","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_favorPrimaryPrice","type":"bool"}],"name":"setFavorPrimaryPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isEnabled","type":"bool"}],"name":"setIsAmmEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isEnabled","type":"bool"}],"name":"setIsSecondaryPriceEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxStrictPriceDeviation","type":"uint256"}],"name":"setMaxStrictPriceDeviation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bnbBusd","type":"address"},{"internalType":"address","name":"_ethBnb","type":"address"},{"internalType":"address","name":"_btcBnb","type":"address"}],"name":"setPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_priceSampleSpace","type":"uint256"}],"name":"setPriceSampleSpace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_secondaryPriceFeed","type":"address"}],"name":"setSecondaryPriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_spreadBasisPoints","type":"uint256"}],"name":"setSpreadBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_spreadThresholdBasisPoints","type":"uint256"}],"name":"setSpreadThresholdBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_priceFeed","type":"address"},{"internalType":"uint256","name":"_priceDecimals","type":"uint256"},{"internalType":"bool","name":"_isStrictStable","type":"bool"}],"name":"setTokenConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_btc","type":"address"},{"internalType":"address","name":"_eth","type":"address"},{"internalType":"address","name":"_bnb","type":"address"}],"name":"setTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useV2Pricing","type":"bool"}],"name":"setUseV2Pricing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"spreadBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spreadThresholdBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"strictStableTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useV2Pricing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526001805461ffff60b01b1960ff60a81b1960ff60a01b19909216600160a01b1791909116600160a81b171690556003600281905560009055601e60055534801561004d57600080fd5b50600080546001600160a01b03191633179055611f768061006f6000396000f3fe608060405234801561001057600080fd5b506004361061025c5760003560e01c80630957aed9146102615780631193c8091461027b578063126082cf1461029f57806312d43a51146102a75780632fa03b8f146102af5780632fbfe3d3146102ce5780632fc3a70a146102eb57806330536ee514610329578063378e7bf7146103455780633d949c5f1461034d5780633eba8d36146103835780633ebbc601146103b75780633f0c3bb7146103bf578063443be209146103c757806348cac277146103ff57806349a876e4146104255780634a4b1f4f1461042d5780634b9ade471461043557806356c8c2c114610473578063593d9e80146104a1578063604f37e9146104a957806367781c0e146104c85780636ce8a44b146104d05780636fc80708146104f6578063717cfe7a146104fe578063732391b414610524578063826e055f1461055a5780638b86616c146105805780638c7c9e0c1461058857806393f690741461059057806395082d25146104c8578063971bd396146105c857806397dfade7146105d05780639917dc74146105d85780639a0a6635146105f75780639b18dc471461061d5780639b889380146106255780639dcb511a14610651578063a27ea38614610677578063a28d57d81461069d578063a2ad7b93146106a5578063a39c73a3146106d3578063b02a2de4146106db578063b731dd871461070f578063b8f611051461072c578063c2138d8c14610752578063cefe0f2114610778578063cfad57a21461079e578063d694376c146107c4578063e4440e02146107f8578063eb1c92a914610800578063fd34ec401461081f575b600080fd5b61026961083e565b60408051918252519081900360200190f35b610283610843565b604080516001600160a01b039092168252519081900360200190f35b610269610852565b610283610858565b6102cc600480360360208110156102c557600080fd5b5035610867565b005b6102cc600480360360208110156102e457600080fd5b50356108f8565b6102696004803603608081101561030157600080fd5b506001600160a01b03813516906020810135151590604081013515159060600135151561094a565b610331610a08565b604080519115158252519081900360200190f35b610269610a18565b6102696004803603606081101561036357600080fd5b506001600160a01b03813516906020810135151590604001351515610a1e565b6102696004803603606081101561039957600080fd5b506001600160a01b0381351690602081013590604001351515610b9c565b610331610c4a565b610331610c5a565b6102cc600480360360608110156103dd57600080fd5b506001600160a01b038135811691602081013582169160409091013516610c6a565b6102696004803603602081101561041557600080fd5b50356001600160a01b0316610cf6565b610283610d08565b610269610d17565b6102cc6004803603608081101561044b57600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515610d1c565b6102696004803603604081101561048957600080fd5b506001600160a01b0381351690602001351515610dbe565b6103316111eb565b6102cc600480360360208110156104bf57600080fd5b503515156111fb565b610269611266565b610331600480360360208110156104e657600080fd5b50356001600160a01b0316611276565b61026961128b565b6102696004803603602081101561051457600080fd5b50356001600160a01b0316611291565b6102696004803603606081101561053a57600080fd5b506001600160a01b038135169060208101351515906040013515156112a3565b6102cc6004803603602081101561057057600080fd5b50356001600160a01b03166112ff565b61028361136e565b61028361137d565b6102cc600480360360608110156105a657600080fd5b506001600160a01b03813581169160208101358216916040909101351661138c565b610283611418565b610283611427565b6102cc600480360360208110156105ee57600080fd5b50351515611436565b6102cc6004803603602081101561060d57600080fd5b50356001600160a01b03166114a1565b610269611510565b6102cc6004803603604081101561063b57600080fd5b506001600160a01b038135169060200135611516565b6102836004803603602081101561066757600080fd5b50356001600160a01b03166115bf565b6102696004803603602081101561068d57600080fd5b50356001600160a01b03166115da565b6102836115ec565b610269600480360360408110156106bb57600080fd5b506001600160a01b03813516906020013515156115fb565b6102696116e8565b610269600480360360608110156106f157600080fd5b506001600160a01b03813516906020810135151590604001356116ee565b6102cc6004803603602081101561072557600080fd5b50356117b6565b6103316004803603602081101561074257600080fd5b50356001600160a01b0316611808565b6102696004803603602081101561076857600080fd5b50356001600160a01b031661181d565b6102696004803603602081101561078e57600080fd5b50356001600160a01b031661191c565b6102cc600480360360208110156107b457600080fd5b50356001600160a01b031661192e565b6102cc600480360360608110156107da57600080fd5b506001600160a01b038135169060208101351515906040013561199d565b610283611ae0565b6102cc6004803603602081101561081657600080fd5b50351515611aef565b6102cc6004803603602081101561083557600080fd5b50351515611b5a565b603281565b600a546001600160a01b031681565b61271081565b6000546001600160a01b031681565b6000546001600160a01b031633146108b4576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600081116108f35760405162461bcd60e51b8152600401808060200182810382526029815260200180611df46029913960400191505060405180910390fd5b600255565b6000546001600160a01b03163314610945576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600355565b6001546000908190600160b01b900460ff166109705761096b868686610a1e565b61097b565b61097b8686866112a3565b6001600160a01b03871660009081526010602052604090205490915080156109fe576001600160a01b03871660009081526011602052604090205460ff1680156109e6576109df6127106109d96109d28286611bc5565b8690611c1d565b90611c76565b92506109fc565b6109f96127106109d96109d28286611cb5565b92505b505b5095945050505050565b600154600160b01b900460ff1681565b60035481565b600080610a2b8585610dbe565b9050828015610a435750600154600160a01b900460ff165b15610a88576000610a538661181d565b90508015610a8657848015610a6757508181115b15610a70578091505b84158015610a7d57508181105b15610a86578091505b505b828015610a9e5750600154600160a81b900460ff165b15610ab157610aae858286610b9c565b90505b6001600160a01b0385166000908152600f602052604090205460ff1615610b3b57600068327cb2734119d3b7a9601e1b8211610b0257610afd68327cb2734119d3b7a9601e1b83611cb5565b610b18565b610b188268327cb2734119d3b7a9601e1b611cb5565b90506003548111610b395768327cb2734119d3b7a9601e1b92505050610b95565b505b6001600160a01b0385166000908152600e60205260409020548415610b7d57610b746127106109d9610b6d8285611bc5565b8590611c1d565b92505050610b95565b610b906127106109d9610b6d8285611cb5565b925050505b9392505050565b6004546000906001600160a01b0316610bb6575081610b95565b6004805460408051630ffd9c6d60e31b81526001600160a01b038881169482019490945260248101879052851515604482015290519290911691637fece36891606480820192602092909190829003018186803b158015610c1657600080fd5b505afa158015610c2a573d6000803e3d6000fd5b505050506040513d6020811015610c4057600080fd5b5051949350505050565b600154600160a81b900460ff1681565b600154600160a01b900460ff1681565b6000546001600160a01b03163314610cb7576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600680546001600160a01b039485166001600160a01b031991821617909155600780549385169382169390931790925560088054919093169116179055565b60106020526000908152604090205481565b6008546001600160a01b031681565b601481565b6000546001600160a01b03163314610d69576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b6001600160a01b039384166000908152600c6020908152604080832080546001600160a01b0319169690971695909517909555600d855283812092909255600f90935220805460ff1916911515919091179055565b6001600160a01b038083166000908152600c602052604081205490911680610e175760405162461bcd60e51b8152600401808060200182810382526022815260200180611f1f6022913960400191505060405180910390fd5b6001546001600160a01b031615610ef45760015460408051631abf23ff60e11b815273a438451d6458044c3c8cd2f6f31c91ac882a6d91600482015290516000926001600160a01b03169163357e47fe916024808301926020929190829003018186803b158015610e8757600080fd5b505afa158015610e9b573d6000803e3d6000fd5b505050506040513d6020811015610eb157600080fd5b505190508015610ef25760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb06025913960400191505060405180910390fd5b505b6000819050600080826001600160a01b031663668a0f026040518163ffffffff1660e01b815260040160206040518083038186803b158015610f3557600080fd5b505afa158015610f49573d6000803e3d6000fd5b505050506040513d6020811015610f5f57600080fd5b5051905060005b600254816001600160501b0316101561116657806001600160501b0316826001600160501b031611610f9757611166565b60006001600160501b03821661105a576000856001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe257600080fd5b505afa158015610ff6573d6000803e3d6000fd5b505050506040513d602081101561100c57600080fd5b5051905060008113611053576040805162461bcd60e51b815260206004820152601d6024820152600080516020611eff833981519152604482015290519081900360640190fd5b9050611122565b6000856001600160a01b0316639a6fc8f58486036040518263ffffffff1660e01b815260040180826001600160501b0316815260200191505060a06040518083038186803b1580156110ab57600080fd5b505afa1580156110bf573d6000803e3d6000fd5b505050506040513d60a08110156110d557600080fd5b506020015190506000811361111f576040805162461bcd60e51b815260206004820152601d6024820152600080516020611eff833981519152604482015290519081900360640190fd5b90505b8361112e57925061115e565b87801561113a57508381115b1561114657925061115e565b8715801561115357508381105b1561115c578093505b505b600101610f66565b50600082116111a65760405162461bcd60e51b8152600401808060200182810382526025815260200180611e1d6025913960400191505060405180910390fd5b6001600160a01b0387166000908152600d60205260409020546111dd600a82900a6109d98568327cb2734119d3b7a9601e1b611c1d565b955050505050505b92915050565b600154600160b81b900460ff1681565b6000546001600160a01b03163314611248576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160b81b0260ff60b81b19909216919091179055565b68327cb2734119d3b7a9601e1b81565b60116020526000908152604090205460ff1681565b60025481565b60126020526000908152604090205481565b6000806112b08585610dbe565b90508280156112c85750600154600160a01b900460ff165b15610a88576112d88585836116ee565b9050828015610a9e5750600154600160a81b900460ff1615610ab157610aae858286610b9c565b6000546001600160a01b0316331461134c576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6007546001600160a01b031681565b6000546001600160a01b031633146113d9576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600980546001600160a01b039485166001600160a01b031991821617909155600a805493851693821693909317909255600b8054919093169116179055565b600b546001600160a01b031681565b6009546001600160a01b031681565b6000546001600160a01b03163314611483576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146114ee576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b611c2081565b6000546001600160a01b03163314611563576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60328111156115a35760405162461bcd60e51b815260040180806020018281038252602a815260200180611ed5602a913960400191505060405180910390fd5b6001600160a01b039091166000908152600e6020526040902055565b600c602052600090815260409020546001600160a01b031681565b600e6020526000908152604090205481565b6006546001600160a01b031681565b6000806000846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561163957600080fd5b505afa15801561164d573d6000803e3d6000fd5b505050506040513d606081101561166357600080fd5b5080516020909101516001600160701b03918216935016905083156116b55781611692576000925050506111e5565b6116ac826109d98368327cb2734119d3b7a9601e1b611c1d565b925050506111e5565b806116c5576000925050506111e5565b6116df816109d98468327cb2734119d3b7a9601e1b611c1d565b95945050505050565b60055481565b6000806116fa8561181d565b90508061170a5782915050610b95565b60008382116117225761171d8483611cb5565b61172c565b61172c8285611cb5565b905061174360055485611c1d90919063ffffffff16565b61174f82612710611c1d565b101561177957600154600160b81b900460ff1615611771578392505050610b95565b509050610b95565b84801561178557508382115b1561179257509050610b95565b8415801561179f57508382105b156117ac57509050610b95565b5091949350505050565b6000546001600160a01b03163314611803576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600555565b600f6020526000908152604090205460ff1681565b6008546000906001600160a01b03838116911614156118545760095461184d906001600160a01b031660016115fb565b9050611917565b6007546001600160a01b03838116911614156118c657600954600090611884906001600160a01b031660016115fb565b600a549091506000906118a1906001600160a01b031660016115fb565b90506118bd68327cb2734119d3b7a9601e1b6109d98484611c1d565b92505050611917565b6006546001600160a01b0383811691161415611913576009546000906118f6906001600160a01b031660016115fb565b600b549091506000906118a1906001600160a01b031660016115fb565b5060005b919050565b600d6020526000908152604090205481565b6000546001600160a01b0316331461197b576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146119ea576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152601260205260409020544290611a1190611c20611bc5565b10611a4d5760405162461bcd60e51b815260040180806020018281038252602d815260200180611e63602d913960400191505060405180910390fd5b6014811115611a9c576040805162461bcd60e51b8152602060048201526016602482015275696e76616c6964205f61646a7573746d656e7442707360501b604482015290519081900360640190fd5b6001600160a01b03929092166000908152601160209081526040808320805460ff191694151594909417909355601081528282209390935560129092529020429055565b6001546001600160a01b031681565b6000546001600160a01b03163314611b3c576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160a81b0260ff60a81b19909216919091179055565b6000546001600160a01b03163314611ba7576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160b01b0260ff60b01b19909216919091179055565b600082820183811015610b95576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b600082611c2c575060006111e5565b82820282848281611c3957fe5b0414610b955760405162461bcd60e51b8152600401808060200182810382526021815260200180611e426021913960400191505060405180910390fd5b6000610b9583836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250611cf7565b6000610b9583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d99565b60008183611d835760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d48578181015183820152602001611d30565b50505050905090810190601f168015611d755780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611d8f57fe5b0495945050505050565b60008184841115611deb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d48578181015183820152602001611d30565b50505090039056fe5661756c745072696365466565643a20696e76616c6964205f707269636553616d706c6553706163655661756c745072696365466565643a20636f756c64206e6f74206665746368207072696365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775661756c745072696365466565643a2061646a7573746d656e74206672657175656e63792065786365656465645661756c745072696365466565643a20666f7262696464656e00000000000000436861696e6c696e6b20666565647320617265206e6f74206265696e6720757064617465645661756c745072696365466565643a20696e76616c6964205f7370726561644261736973506f696e74735661756c745072696365466565643a20696e76616c69642070726963650000005661756c745072696365466565643a20696e76616c69642070726963652066656564a264697066735822122020066e00e677e32af737ac76307508232f90a66d8890d2182ccf30135f34b71c64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025c5760003560e01c80630957aed9146102615780631193c8091461027b578063126082cf1461029f57806312d43a51146102a75780632fa03b8f146102af5780632fbfe3d3146102ce5780632fc3a70a146102eb57806330536ee514610329578063378e7bf7146103455780633d949c5f1461034d5780633eba8d36146103835780633ebbc601146103b75780633f0c3bb7146103bf578063443be209146103c757806348cac277146103ff57806349a876e4146104255780634a4b1f4f1461042d5780634b9ade471461043557806356c8c2c114610473578063593d9e80146104a1578063604f37e9146104a957806367781c0e146104c85780636ce8a44b146104d05780636fc80708146104f6578063717cfe7a146104fe578063732391b414610524578063826e055f1461055a5780638b86616c146105805780638c7c9e0c1461058857806393f690741461059057806395082d25146104c8578063971bd396146105c857806397dfade7146105d05780639917dc74146105d85780639a0a6635146105f75780639b18dc471461061d5780639b889380146106255780639dcb511a14610651578063a27ea38614610677578063a28d57d81461069d578063a2ad7b93146106a5578063a39c73a3146106d3578063b02a2de4146106db578063b731dd871461070f578063b8f611051461072c578063c2138d8c14610752578063cefe0f2114610778578063cfad57a21461079e578063d694376c146107c4578063e4440e02146107f8578063eb1c92a914610800578063fd34ec401461081f575b600080fd5b61026961083e565b60408051918252519081900360200190f35b610283610843565b604080516001600160a01b039092168252519081900360200190f35b610269610852565b610283610858565b6102cc600480360360208110156102c557600080fd5b5035610867565b005b6102cc600480360360208110156102e457600080fd5b50356108f8565b6102696004803603608081101561030157600080fd5b506001600160a01b03813516906020810135151590604081013515159060600135151561094a565b610331610a08565b604080519115158252519081900360200190f35b610269610a18565b6102696004803603606081101561036357600080fd5b506001600160a01b03813516906020810135151590604001351515610a1e565b6102696004803603606081101561039957600080fd5b506001600160a01b0381351690602081013590604001351515610b9c565b610331610c4a565b610331610c5a565b6102cc600480360360608110156103dd57600080fd5b506001600160a01b038135811691602081013582169160409091013516610c6a565b6102696004803603602081101561041557600080fd5b50356001600160a01b0316610cf6565b610283610d08565b610269610d17565b6102cc6004803603608081101561044b57600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515610d1c565b6102696004803603604081101561048957600080fd5b506001600160a01b0381351690602001351515610dbe565b6103316111eb565b6102cc600480360360208110156104bf57600080fd5b503515156111fb565b610269611266565b610331600480360360208110156104e657600080fd5b50356001600160a01b0316611276565b61026961128b565b6102696004803603602081101561051457600080fd5b50356001600160a01b0316611291565b6102696004803603606081101561053a57600080fd5b506001600160a01b038135169060208101351515906040013515156112a3565b6102cc6004803603602081101561057057600080fd5b50356001600160a01b03166112ff565b61028361136e565b61028361137d565b6102cc600480360360608110156105a657600080fd5b506001600160a01b03813581169160208101358216916040909101351661138c565b610283611418565b610283611427565b6102cc600480360360208110156105ee57600080fd5b50351515611436565b6102cc6004803603602081101561060d57600080fd5b50356001600160a01b03166114a1565b610269611510565b6102cc6004803603604081101561063b57600080fd5b506001600160a01b038135169060200135611516565b6102836004803603602081101561066757600080fd5b50356001600160a01b03166115bf565b6102696004803603602081101561068d57600080fd5b50356001600160a01b03166115da565b6102836115ec565b610269600480360360408110156106bb57600080fd5b506001600160a01b03813516906020013515156115fb565b6102696116e8565b610269600480360360608110156106f157600080fd5b506001600160a01b03813516906020810135151590604001356116ee565b6102cc6004803603602081101561072557600080fd5b50356117b6565b6103316004803603602081101561074257600080fd5b50356001600160a01b0316611808565b6102696004803603602081101561076857600080fd5b50356001600160a01b031661181d565b6102696004803603602081101561078e57600080fd5b50356001600160a01b031661191c565b6102cc600480360360208110156107b457600080fd5b50356001600160a01b031661192e565b6102cc600480360360608110156107da57600080fd5b506001600160a01b038135169060208101351515906040013561199d565b610283611ae0565b6102cc6004803603602081101561081657600080fd5b50351515611aef565b6102cc6004803603602081101561083557600080fd5b50351515611b5a565b603281565b600a546001600160a01b031681565b61271081565b6000546001600160a01b031681565b6000546001600160a01b031633146108b4576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600081116108f35760405162461bcd60e51b8152600401808060200182810382526029815260200180611df46029913960400191505060405180910390fd5b600255565b6000546001600160a01b03163314610945576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600355565b6001546000908190600160b01b900460ff166109705761096b868686610a1e565b61097b565b61097b8686866112a3565b6001600160a01b03871660009081526010602052604090205490915080156109fe576001600160a01b03871660009081526011602052604090205460ff1680156109e6576109df6127106109d96109d28286611bc5565b8690611c1d565b90611c76565b92506109fc565b6109f96127106109d96109d28286611cb5565b92505b505b5095945050505050565b600154600160b01b900460ff1681565b60035481565b600080610a2b8585610dbe565b9050828015610a435750600154600160a01b900460ff165b15610a88576000610a538661181d565b90508015610a8657848015610a6757508181115b15610a70578091505b84158015610a7d57508181105b15610a86578091505b505b828015610a9e5750600154600160a81b900460ff165b15610ab157610aae858286610b9c565b90505b6001600160a01b0385166000908152600f602052604090205460ff1615610b3b57600068327cb2734119d3b7a9601e1b8211610b0257610afd68327cb2734119d3b7a9601e1b83611cb5565b610b18565b610b188268327cb2734119d3b7a9601e1b611cb5565b90506003548111610b395768327cb2734119d3b7a9601e1b92505050610b95565b505b6001600160a01b0385166000908152600e60205260409020548415610b7d57610b746127106109d9610b6d8285611bc5565b8590611c1d565b92505050610b95565b610b906127106109d9610b6d8285611cb5565b925050505b9392505050565b6004546000906001600160a01b0316610bb6575081610b95565b6004805460408051630ffd9c6d60e31b81526001600160a01b038881169482019490945260248101879052851515604482015290519290911691637fece36891606480820192602092909190829003018186803b158015610c1657600080fd5b505afa158015610c2a573d6000803e3d6000fd5b505050506040513d6020811015610c4057600080fd5b5051949350505050565b600154600160a81b900460ff1681565b600154600160a01b900460ff1681565b6000546001600160a01b03163314610cb7576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600680546001600160a01b039485166001600160a01b031991821617909155600780549385169382169390931790925560088054919093169116179055565b60106020526000908152604090205481565b6008546001600160a01b031681565b601481565b6000546001600160a01b03163314610d69576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b6001600160a01b039384166000908152600c6020908152604080832080546001600160a01b0319169690971695909517909555600d855283812092909255600f90935220805460ff1916911515919091179055565b6001600160a01b038083166000908152600c602052604081205490911680610e175760405162461bcd60e51b8152600401808060200182810382526022815260200180611f1f6022913960400191505060405180910390fd5b6001546001600160a01b031615610ef45760015460408051631abf23ff60e11b815273a438451d6458044c3c8cd2f6f31c91ac882a6d91600482015290516000926001600160a01b03169163357e47fe916024808301926020929190829003018186803b158015610e8757600080fd5b505afa158015610e9b573d6000803e3d6000fd5b505050506040513d6020811015610eb157600080fd5b505190508015610ef25760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb06025913960400191505060405180910390fd5b505b6000819050600080826001600160a01b031663668a0f026040518163ffffffff1660e01b815260040160206040518083038186803b158015610f3557600080fd5b505afa158015610f49573d6000803e3d6000fd5b505050506040513d6020811015610f5f57600080fd5b5051905060005b600254816001600160501b0316101561116657806001600160501b0316826001600160501b031611610f9757611166565b60006001600160501b03821661105a576000856001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe257600080fd5b505afa158015610ff6573d6000803e3d6000fd5b505050506040513d602081101561100c57600080fd5b5051905060008113611053576040805162461bcd60e51b815260206004820152601d6024820152600080516020611eff833981519152604482015290519081900360640190fd5b9050611122565b6000856001600160a01b0316639a6fc8f58486036040518263ffffffff1660e01b815260040180826001600160501b0316815260200191505060a06040518083038186803b1580156110ab57600080fd5b505afa1580156110bf573d6000803e3d6000fd5b505050506040513d60a08110156110d557600080fd5b506020015190506000811361111f576040805162461bcd60e51b815260206004820152601d6024820152600080516020611eff833981519152604482015290519081900360640190fd5b90505b8361112e57925061115e565b87801561113a57508381115b1561114657925061115e565b8715801561115357508381105b1561115c578093505b505b600101610f66565b50600082116111a65760405162461bcd60e51b8152600401808060200182810382526025815260200180611e1d6025913960400191505060405180910390fd5b6001600160a01b0387166000908152600d60205260409020546111dd600a82900a6109d98568327cb2734119d3b7a9601e1b611c1d565b955050505050505b92915050565b600154600160b81b900460ff1681565b6000546001600160a01b03163314611248576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160b81b0260ff60b81b19909216919091179055565b68327cb2734119d3b7a9601e1b81565b60116020526000908152604090205460ff1681565b60025481565b60126020526000908152604090205481565b6000806112b08585610dbe565b90508280156112c85750600154600160a01b900460ff165b15610a88576112d88585836116ee565b9050828015610a9e5750600154600160a81b900460ff1615610ab157610aae858286610b9c565b6000546001600160a01b0316331461134c576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6007546001600160a01b031681565b6000546001600160a01b031633146113d9576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600980546001600160a01b039485166001600160a01b031991821617909155600a805493851693821693909317909255600b8054919093169116179055565b600b546001600160a01b031681565b6009546001600160a01b031681565b6000546001600160a01b03163314611483576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146114ee576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b611c2081565b6000546001600160a01b03163314611563576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60328111156115a35760405162461bcd60e51b815260040180806020018281038252602a815260200180611ed5602a913960400191505060405180910390fd5b6001600160a01b039091166000908152600e6020526040902055565b600c602052600090815260409020546001600160a01b031681565b600e6020526000908152604090205481565b6006546001600160a01b031681565b6000806000846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561163957600080fd5b505afa15801561164d573d6000803e3d6000fd5b505050506040513d606081101561166357600080fd5b5080516020909101516001600160701b03918216935016905083156116b55781611692576000925050506111e5565b6116ac826109d98368327cb2734119d3b7a9601e1b611c1d565b925050506111e5565b806116c5576000925050506111e5565b6116df816109d98468327cb2734119d3b7a9601e1b611c1d565b95945050505050565b60055481565b6000806116fa8561181d565b90508061170a5782915050610b95565b60008382116117225761171d8483611cb5565b61172c565b61172c8285611cb5565b905061174360055485611c1d90919063ffffffff16565b61174f82612710611c1d565b101561177957600154600160b81b900460ff1615611771578392505050610b95565b509050610b95565b84801561178557508382115b1561179257509050610b95565b8415801561179f57508382105b156117ac57509050610b95565b5091949350505050565b6000546001600160a01b03163314611803576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600555565b600f6020526000908152604090205460ff1681565b6008546000906001600160a01b03838116911614156118545760095461184d906001600160a01b031660016115fb565b9050611917565b6007546001600160a01b03838116911614156118c657600954600090611884906001600160a01b031660016115fb565b600a549091506000906118a1906001600160a01b031660016115fb565b90506118bd68327cb2734119d3b7a9601e1b6109d98484611c1d565b92505050611917565b6006546001600160a01b0383811691161415611913576009546000906118f6906001600160a01b031660016115fb565b600b549091506000906118a1906001600160a01b031660016115fb565b5060005b919050565b600d6020526000908152604090205481565b6000546001600160a01b0316331461197b576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146119ea576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152601260205260409020544290611a1190611c20611bc5565b10611a4d5760405162461bcd60e51b815260040180806020018281038252602d815260200180611e63602d913960400191505060405180910390fd5b6014811115611a9c576040805162461bcd60e51b8152602060048201526016602482015275696e76616c6964205f61646a7573746d656e7442707360501b604482015290519081900360640190fd5b6001600160a01b03929092166000908152601160209081526040808320805460ff191694151594909417909355601081528282209390935560129092529020429055565b6001546001600160a01b031681565b6000546001600160a01b03163314611b3c576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160a81b0260ff60a81b19909216919091179055565b6000546001600160a01b03163314611ba7576040805162461bcd60e51b81526020600482015260196024820152600080516020611e90833981519152604482015290519081900360640190fd5b60018054911515600160b01b0260ff60b01b19909216919091179055565b600082820183811015610b95576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b600082611c2c575060006111e5565b82820282848281611c3957fe5b0414610b955760405162461bcd60e51b8152600401808060200182810382526021815260200180611e426021913960400191505060405180910390fd5b6000610b9583836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250611cf7565b6000610b9583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d99565b60008183611d835760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d48578181015183820152602001611d30565b50505050905090810190601f168015611d755780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611d8f57fe5b0495945050505050565b60008184841115611deb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d48578181015183820152602001611d30565b50505090039056fe5661756c745072696365466565643a20696e76616c6964205f707269636553616d706c6553706163655661756c745072696365466565643a20636f756c64206e6f74206665746368207072696365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775661756c745072696365466565643a2061646a7573746d656e74206672657175656e63792065786365656465645661756c745072696365466565643a20666f7262696464656e00000000000000436861696e6c696e6b20666565647320617265206e6f74206265696e6720757064617465645661756c745072696365466565643a20696e76616c6964205f7370726561644261736973506f696e74735661756c745072696365466565643a20696e76616c69642070726963650000005661756c745072696365466565643a20696e76616c69642070726963652066656564a264697066735822122020066e00e677e32af737ac76307508232f90a66d8890d2182ccf30135f34b71c64736f6c634300060c0033

Deployed ByteCode Sourcemap

7872:12764:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8129:52;;;:::i;:::-;;;;;;;;;;;;;;;;9062:21;;;:::i;:::-;;;;-1:-1:-1;;;;;9062:21:0;;;;;;;;;;;;;;8070:52;;;:::i;8539:18::-;;;:::i;12321:223::-;;;;;;;;;;;;;;;;-1:-1:-1;12321:223:0;;:::i;:::-;;12552:165;;;;;;;;;;;;;;;;-1:-1:-1;12552:165:0;;:::i;13053:758::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13053:758:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;8689:32::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;8814:42;;;:::i;13819:1256::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13819:1256:0;;;;;;;;;;;;;;;;;:::i;18722:299::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18722:299:0;;;;;;;;;;;;;;;:::i;8640:42::-;;;:::i;8602:31::-;;;:::i;11363:149::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11363:149:0;;;;;;;;;;;;;;;;;;;:::i;9670:66::-;;;;;;;;;;;;;;;;-1:-1:-1;9670:66:0;-1:-1:-1;;;;;9670:66:0;;:::i;9008:18::-;;;:::i;8252:56::-;;;:::i;12725:320::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12725:320:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;16900:1814::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16900:1814:0;;;;;;;;;;:::i;8728:37::-;;;:::i;12175:138::-;;;;;;;;;;;;;;;;-1:-1:-1;12175:138:0;;;;:::i;8014:49::-;;;:::i;9743:62::-;;;;;;;;;;;;;;;;-1:-1:-1;9743:62:0;-1:-1:-1;;;;;9743:62:0;;:::i;8772:35::-;;;:::i;9812:57::-;;;;;;;;;;;;;;;;-1:-1:-1;9812:57:0;-1:-1:-1;;;;;9812:57:0;;:::i;15083:992::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15083:992:0;;;;;;;;;;;;;;;;;:::i;10139:120::-;;;;;;;;;;;;;;;;-1:-1:-1;10139:120:0;-1:-1:-1;;;;;10139:120:0;;:::i;8863:33::-;;;:::i;8983:18::-;;;:::i;11520:178::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11520:178:0;;;;;;;;;;;;;;;;;;;:::i;9090:21::-;;;:::i;9033:22::-;;;:::i;10957:112::-;;;;;;;;;;;;;;;;-1:-1:-1;10957:112:0;;;;:::i;11219:136::-;;;;;;;;;;;;;;;;-1:-1:-1;11219:136:0;-1:-1:-1;;;;;11219:136:0;;:::i;8188:57::-;;;:::i;11706:276::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11706:276:0;;;;;;;;:::i;9120:46::-;;;;;;;;;;;;;;;;-1:-1:-1;9120:46:0;-1:-1:-1;;;;;9120:46:0;;:::i;9229:53::-;;;;;;;;;;;;;;;;-1:-1:-1;9229:53:0;-1:-1:-1;;;;;9229:53:0;;:::i;8958:18::-;;;:::i;20196:437::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20196:437:0;;;;;;;;;;:::i;8903:46::-;;;:::i;16083:809::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16083:809:0;;;;;;;;;;;;;;;:::i;11990:177::-;;;;;;;;;;;;;;;;-1:-1:-1;11990:177:0;;:::i;9610:51::-;;;;;;;;;;;;;;;;-1:-1:-1;9610:51:0;-1:-1:-1;;;;;9610:51:0;;:::i;19029:1028::-;;;;;;;;;;;;;;;;-1:-1:-1;19029:1028:0;-1:-1:-1;;;;;19029:1028:0;;:::i;9173:49::-;;;;;;;;;;;;;;;;-1:-1:-1;9173:49:0;-1:-1:-1;;;;;9173:49:0;;:::i;10055:76::-;;;;;;;;;;;;;;;;-1:-1:-1;10055:76:0;-1:-1:-1;;;;;10055:76:0;;:::i;10267:556::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10267:556:0;;;;;;;;;;;;;;;:::i;8564:29::-;;;:::i;11077:134::-;;;;;;;;;;;;;;;;-1:-1:-1;11077:134:0;;;;:::i;10831:118::-;;;;;;;;;;;;;;;;-1:-1:-1;10831:118:0;;;;:::i;8129:52::-;8179:2;8129:52;:::o;9062:21::-;;;-1:-1:-1;;;;;9062:21:0;;:::o;8070:52::-;8117:5;8070:52;:::o;8539:18::-;;;-1:-1:-1;;;;;8539:18:0;;:::o;12321:223::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;12442:1:::1;12422:17;:21;12414:75;;;;-1:-1:-1::0;;;12414:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12500:16;:36:::0;12321:223::o;12552:165::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;12659:23:::1;:50:::0;12552:165::o;13053:758::-;13220:12;;13184:7;;;;-1:-1:-1;;;13220:12:0;;;;:112;;13285:47;13296:6;13304:9;13315:16;13285:10;:47::i;:::-;13220:112;;;13235:47;13246:6;13254:9;13265:16;13235:10;:47::i;:::-;-1:-1:-1;;;;;13369:29:0;;13345:21;13369:29;;;:21;:29;;;;;;13204:128;;-1:-1:-1;13413:17:0;;13409:370;;-1:-1:-1;;;;;13465:28:0;;13447:15;13465:28;;;:20;:28;;;;;;;;13508:260;;;;13551:76;8117:5;13551:50;13561:39;8117:5;13586:13;13561:24;:39::i;:::-;13551:5;;:9;:50::i;:::-;:54;;:76::i;:::-;13543:84;;13508:260;;;13676:76;8117:5;13676:50;13686:39;8117:5;13711:13;13686:24;:39::i;13676:76::-;13668:84;;13508:260;13409:370;;-1:-1:-1;13798:5:0;13053:758;-1:-1:-1;;;;;13053:758:0:o;8689:32::-;;;-1:-1:-1;;;8689:32:0;;;;;:::o;8814:42::-;;;;:::o;13819:1256::-;13915:7;13935:13;13951:34;13967:6;13975:9;13951:15;:34::i;:::-;13935:50;;14002:16;:32;;;;-1:-1:-1;14022:12:0;;-1:-1:-1;;;14022:12:0;;;;14002:32;13998:376;;;14051:16;14070:19;14082:6;14070:11;:19::i;:::-;14051:38;-1:-1:-1;14108:12:0;;14104:259;;14145:9;:29;;;;;14169:5;14158:8;:16;14145:29;14141:94;;;14207:8;14199:16;;14141:94;14258:9;14257:10;:30;;;;;14282:5;14271:8;:16;14257:30;14253:95;;;14320:8;14312:16;;14253:95;13998:376;;14390:16;:43;;;;-1:-1:-1;14410:23:0;;-1:-1:-1;;;14410:23:0;;;;14390:43;14386:127;;;14458:43;14476:6;14484:5;14491:9;14458:17;:43::i;:::-;14450:51;;14386:127;-1:-1:-1;;;;;14529:26:0;;;;;;:18;:26;;;;;;;;14525:233;;;14572:13;-1:-1:-1;;;14588:5:0;:15;:57;;14627:18;-1:-1:-1;;;14639:5:0;14627:11;:18::i;:::-;14588:57;;;14606:18;:5;-1:-1:-1;;;14606:9:0;:18::i;:::-;14572:73;;14673:23;;14664:5;:32;14660:87;;-1:-1:-1;;;14717:14:0;;;;;;14660:87;14525:233;;-1:-1:-1;;;;;14799:25:0;;14770:26;14799:25;;;:17;:25;;;;;;14837:130;;;;14874:81;8117:5;14874:55;14884:44;8117:5;14909:18;14884:24;:44::i;:::-;14874:5;;:9;:55::i;:81::-;14867:88;;;;;;14837:130;14986:81;8117:5;14986:55;14996:44;8117:5;15021:18;14996:24;:44::i;14986:81::-;14979:88;;;;13819:1256;;;;;;:::o;18722:299::-;18851:18;;18827:7;;-1:-1:-1;;;;;18851:18:0;18847:65;;-1:-1:-1;18894:15:0;18887:22;;18847:65;18949:18;;;18929:84;;;-1:-1:-1;;;18929:84:0;;-1:-1:-1;;;;;18929:84:0;;;;;;;;;;;;;;;;;;;;;;;;;18949:18;;;;;18929:48;;:84;;;;;;;;;;;;;;;18949:18;18929:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18929:84:0;;18722:299;-1:-1:-1;;;;18722:299:0:o;8640:42::-;;;-1:-1:-1;;;8640:42:0;;;;;:::o;8602:31::-;;;-1:-1:-1;;;8602:31:0;;;;;:::o;11363:149::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;11452:3:::1;:10:::0;;-1:-1:-1;;;;;11452:10:0;;::::1;-1:-1:-1::0;;;;;;11452:10:0;;::::1;;::::0;;;11473:3:::1;:10:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;11494:3:::1;:10:::0;;;;;::::1;::::0;::::1;;::::0;;11363:149::o;9670:66::-;;;;;;;;;;;;;:::o;9008:18::-;;;-1:-1:-1;;;;;9008:18:0;;:::o;8252:56::-;8306:2;8252:56;:::o;12725:320::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;12902:18:0;;::::1;;::::0;;;:10:::1;:18;::::0;;;;;;;:31;;-1:-1:-1;;;;;;12902:31:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;;12944:13:::1;:21:::0;;;;;:38;;;;12993:18:::1;:26:::0;;;;:44;;-1:-1:-1;;12993:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;12725:320::o;16900:1814::-;-1:-1:-1;;;;;17025:18:0;;;16978:7;17025:18;;;:10;:18;;;;;;16978:7;;17025:18;17062:30;17054:77;;;;-1:-1:-1;;;17054:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17148:14;;-1:-1:-1;;;;;17148:14:0;:28;17144:340;;17225:14;;17209:66;;;-1:-1:-1;;;17209:66:0;;8441:89;17209:66;;;;;;17193:13;;-1:-1:-1;;;;;17225:14:0;;17209:39;;:66;;;;;;;;;;;;;;17225:14;17209:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17209:66:0;;-1:-1:-1;17290:183:0;;;;17410:47;;-1:-1:-1;;;17410:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17290:183;17144:340;;17496:20;17530:16;17496:51;;17560:13;17588:14;17605:9;-1:-1:-1;;;;;17605:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17605:23:0;;-1:-1:-1;17646:8:0;17641:829;17664:16;;17660:1;-1:-1:-1;;;;;17660:20:0;;17641:829;;;17717:1;-1:-1:-1;;;;;17706:12:0;:7;-1:-1:-1;;;;;17706:12:0;;17702:28;;17722:5;;17702:28;17744:9;-1:-1:-1;;;;;17774:6:0;;17770:382;;17801:9;17813;-1:-1:-1;;;;;17813:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17813:24:0;;-1:-1:-1;17869:1:0;17864:6;;17856:48;;;;;-1:-1:-1;;;17856:48:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17856:48:0;;;;;;;;;;;;;;;17935:2;-1:-1:-1;17770:382:0;;;17982:9;18000;-1:-1:-1;;;;;18000:22:0;;18033:1;18023:7;:11;18000:35;;;;;;;;;;;;;-1:-1:-1;;;;;18000:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18000:35:0;;;;-1:-1:-1;18067:1:0;18062:6;;18054:48;;;;;-1:-1:-1;;;18054:48:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;18054:48:0;;;;;;;;;;;;;;;18133:2;-1:-1:-1;17770:382:0;18172:10;18168:87;;18211:1;-1:-1:-1;18231:8:0;;18168:87;18275:9;:22;;;;;18292:5;18288:1;:9;18275:22;18271:99;;;18326:1;-1:-1:-1;18346:8:0;;18271:99;18391:9;18390:10;:23;;;;;18408:5;18404:1;:9;18390:23;18386:73;;;18442:1;18434:9;;18386:73;17641:829;;17682:3;;17641:829;;;;18498:1;18490:5;:9;18482:59;;;;-1:-1:-1;;;18482:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18615:21:0;;18590:22;18615:21;;;:13;:21;;;;;;18654:52;18685:2;:20;;;18654:26;:5;-1:-1:-1;;;18654:9:0;:26::i;:52::-;18647:59;;;;;;;16900:1814;;;;;:::o;8728:37::-;;;-1:-1:-1;;;8728:37:0;;;;;:::o;12175:138::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;12267:17:::1;:38:::0;;;::::1;;-1:-1:-1::0;;;12267:38:0::1;-1:-1:-1::0;;;;12267:38:0;;::::1;::::0;;;::::1;::::0;;12175:138::o;8014:49::-;-1:-1:-1;;;8014:49:0;:::o;9743:62::-;;;;;;;;;;;;;;;:::o;8772:35::-;;;;:::o;9812:57::-;;;;;;;;;;;;;:::o;15083:992::-;15179:7;15199:13;15215:34;15231:6;15239:9;15215:15;:34::i;:::-;15199:50;;15266:16;:32;;;;-1:-1:-1;15286:12:0;;-1:-1:-1;;;15286:12:0;;;;15266:32;15262:112;;;15323:39;15337:6;15345:9;15356:5;15323:13;:39::i;:::-;15315:47;;15390:16;:43;;;;-1:-1:-1;15410:23:0;;-1:-1:-1;;;15410:23:0;;;;15386:127;;;15458:43;15476:6;15484:5;15491:9;15458:17;:43::i;10139:120::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;10219:14:::1;:32:::0;;-1:-1:-1;;;;;;10219:32:0::1;-1:-1:-1::0;;;;;10219:32:0;;;::::1;::::0;;;::::1;::::0;;10139:120::o;8863:33::-;;;-1:-1:-1;;;;;8863:33:0;;:::o;8983:18::-;;;-1:-1:-1;;;;;8983:18:0;;:::o;11520:178::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;11618:7:::1;:18:::0;;-1:-1:-1;;;;;11618:18:0;;::::1;-1:-1:-1::0;;;;;;11618:18:0;;::::1;;::::0;;;11647:6:::1;:16:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;11674:6:::1;:16:::0;;;;;::::1;::::0;::::1;;::::0;;11520:178::o;9090:21::-;;;-1:-1:-1;;;;;9090:21:0;;:::o;9033:22::-;;;-1:-1:-1;;;;;9033:22:0;;:::o;10957:112::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;11036:12:::1;:25:::0;;;::::1;;-1:-1:-1::0;;;11036:25:0::1;-1:-1:-1::0;;;;11036:25:0;;::::1;::::0;;;::::1;::::0;;10957:112::o;11219:136::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;11307:18:::1;:40:::0;;-1:-1:-1;;;;;;11307:40:0::1;-1:-1:-1::0;;;;;11307:40:0;;;::::1;::::0;;;::::1;::::0;;11219:136::o;8188:57::-;8238:7;8188:57;:::o;11706:276::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;8179:2:::1;11825:18;:45;;11817:100;;;;-1:-1:-1::0;;;11817:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;11928:25:0;;::::1;;::::0;;;:17:::1;:25;::::0;;;;:46;11706:276::o;9120:46::-;;;;;;;;;;;;-1:-1:-1;;;;;9120:46:0;;:::o;9229:53::-;;;;;;;;;;;;;:::o;8958:18::-;;;-1:-1:-1;;;;;8958:18:0;;:::o;20196:437::-;20275:7;20296:16;20314;20349:5;-1:-1:-1;;;;;20336:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20336:33:0;;;;;;;-1:-1:-1;;;;;20295:74:0;;;;-1:-1:-1;20295:74:0;;-1:-1:-1;20380:143:0;;;;20419:13;20415:32;;20443:1;20436:8;;;;;;20415:32;20468:43;20502:8;20468:29;:8;-1:-1:-1;;;20468:12:0;:29::i;:43::-;20461:50;;;;;;20380:143;20537:13;20533:32;;20561:1;20554:8;;;;;;20533:32;20582:43;20616:8;20582:29;:8;-1:-1:-1;;;20582:12:0;:29::i;:43::-;20575:50;20196:437;-1:-1:-1;;;;;20196:437:0:o;8903:46::-;;;;:::o;16083:809::-;16182:7;16202:16;16221:19;16233:6;16221:11;:19::i;:::-;16202:38;-1:-1:-1;16255:13:0;16251:66;;16292:13;16285:20;;;;;16251:66;16329:12;16355:13;16344:8;:24;:84;;16401:27;:13;16419:8;16401:17;:27::i;:::-;16344:84;;;16371:27;:8;16384:13;16371:12;:27::i;:::-;16329:99;;16476:45;16494:26;;16476:13;:17;;:45;;;;:::i;:::-;16443:30;:4;8117:5;16443:8;:30::i;:::-;:78;16439:218;;;16542:17;;-1:-1:-1;;;16542:17:0;;;;16538:78;;;16587:13;16580:20;;;;;;16538:78;-1:-1:-1;16637:8:0;-1:-1:-1;16630:15:0;;16439:218;16673:9;:37;;;;;16697:13;16686:8;:24;16673:37;16669:85;;;-1:-1:-1;16734:8:0;-1:-1:-1;16727:15:0;;16669:85;16771:9;16770:10;:38;;;;;16795:13;16784:8;:24;16770:38;16766:86;;;-1:-1:-1;16832:8:0;-1:-1:-1;16825:15:0;;16766:86;-1:-1:-1;16871:13:0;;16083:809;-1:-1:-1;;;;16083:809:0:o;11990:177::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;12103:26:::1;:56:::0;11990:177::o;9610:51::-;;;;;;;;;;;;;;;:::o;19029:1028::-;19130:3;;19096:7;;-1:-1:-1;;;;;19120:13:0;;;19130:3;;19120:13;19116:139;;;19229:7;;19216:27;;-1:-1:-1;;;;;19229:7:0;;19216:12;:27::i;:::-;19209:34;;;;19116:139;19281:3;;-1:-1:-1;;;;;19271:13:0;;;19281:3;;19271:13;19267:375;;;19331:7;;19301:14;;19318:27;;-1:-1:-1;;;;;19331:7:0;;19318:12;:27::i;:::-;19447:6;;19301:44;;-1:-1:-1;19417:14:0;;19434:26;;-1:-1:-1;;;;;19447:6:0;;19434:12;:26::i;:::-;19417:43;-1:-1:-1;19591:39:0;-1:-1:-1;;;19591:18:0;:6;19417:43;19591:10;:18::i;:39::-;19584:46;;;;;;19267:375;19668:3;;-1:-1:-1;;;;;19658:13:0;;;19668:3;;19658:13;19654:375;;;19718:7;;19688:14;;19705:27;;-1:-1:-1;;;;;19718:7:0;;19705:12;:27::i;:::-;19834:6;;19688:44;;-1:-1:-1;19804:14:0;;19821:26;;-1:-1:-1;;;;;19834:6:0;;19821:12;:26::i;19654:375::-;-1:-1:-1;20048:1:0;19029:1028;;;;:::o;9173:49::-;;;;;;;;;;;;;:::o;10055:76::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;10113:3:::1;:10:::0;;-1:-1:-1;;;;;;10113:10:0::1;-1:-1:-1::0;;;;;10113:10:0;;;::::1;::::0;;;::::1;::::0;;10055:76::o;10267:556::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;10407:29:0;::::1;;::::0;;;:21:::1;:29;::::0;;;;;10468:15:::1;::::0;10407:58:::1;::::0;8238:7:::1;10407:33;:58::i;:::-;:76;10385:171;;;;-1:-1:-1::0;;;10385:171:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8306:2;10575:14;:45;;10567:80;;;::::0;;-1:-1:-1;;;10567:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;10567:80:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;10658:28:0;;;::::1;;::::0;;;:20:::1;:28;::::0;;;;;;;:42;;-1:-1:-1;;10658:42:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;10711:21:::1;:29:::0;;;;;:46;;;;10768:21:::1;:29:::0;;;;;10800:15:::1;10768:47:::0;;10267:556::o;8564:29::-;;;-1:-1:-1;;;;;8564:29:0;;:::o;11077:134::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;11167:23:::1;:36:::0;;;::::1;;-1:-1:-1::0;;;11167:36:0::1;-1:-1:-1::0;;;;11167:36:0;;::::1;::::0;;;::::1;::::0;;11077:134::o;10831:118::-;9930:3;;-1:-1:-1;;;;;9930:3:0;9916:10;:17;9908:55;;;;;-1:-1:-1;;;9908:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9908:55:0;;;;;;;;;;;;;;;10913:12:::1;:28:::0;;;::::1;;-1:-1:-1::0;;;10913:28:0::1;-1:-1:-1::0;;;;10913:28:0;;::::1;::::0;;;::::1;::::0;;10831:118::o;1015:181::-;1073:7;1105:5;;;1129:6;;;;1121:46;;;;;-1:-1:-1;;;1121:46:0;;;;;;;;;;;;-1:-1:-1;;;1121:46:0;;;;;;;;;;;;;;2369:471;2427:7;2672:6;2668:47;;-1:-1:-1;2702:1:0;2695:8;;2668:47;2739:5;;;2743:1;2739;:5;:1;2763:5;;;;;:10;2755:56;;;;-1:-1:-1;;;2755:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3316:132;3374:7;3401:39;3405:1;3408;3401:39;;;;;;;;;;;;;-1:-1:-1;;;3401:39:0;;;:3;:39::i;1479:136::-;1537:7;1564:43;1568:1;1571;1564:43;;;;;;;;;;;;;;;;;:3;:43::i;3944:278::-;4030:7;4065:12;4058:5;4050:28;;;;-1:-1:-1;;;4050:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4089:9;4105:1;4101;:5;;;;;;;3944:278;-1:-1:-1;;;;;3944:278:0:o;1918:192::-;2004:7;2040:12;2032:6;;;;2024:29;;;;-1:-1:-1;;;2024:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2076:5:0;;;1918:192::o

Metadata Hash

20066e00e677e32af737ac76307508232f90a66d8890d2182ccf30135f34b71c
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.