Contract 0x116449c7B1d0837439E12216d7b1EbaecbD848FF

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x09e4ed3312b35961e066ca41e7077da6968d4bb9b613c4dfd61abd9e3a294c9dAllocate Seignio...750962202022-09-28 14:00:143 hrs 14 mins agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x7780082b4f2820ab05283347a4cf607b1445c6111ade39906588335c9c2008efAllocate Seignio...750780022022-09-28 8:00:159 hrs 14 mins agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0xbb0084bcd898ae74afbc2f73ba18903a3de0fb3984010f2c2f5b670d2d17d023Allocate Seignio...750596332022-09-28 2:00:1215 hrs 14 mins agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x7aee0713a080de31fc35a521da15690c35c53ad0f0f5c86890705641b69c8ddbAllocate Seignio...750412362022-09-27 20:00:1421 hrs 14 mins agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0xae7903ee8c0415419982ce5ce3b9fb77443384146a363c8a344b1edfd444e4a4Allocate Seignio...750232022022-09-27 14:00:151 day 3 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x68f04d2aabd118262436e5f91020bfe6a4bfe60a242f18052a8afa0330549bfeAllocate Seignio...750053492022-09-27 8:00:131 day 9 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x3d679267aa8e223fd9461f1043d714207bfee0bd32c6d638b1f1c838e296168cAllocate Seignio...749872072022-09-27 2:00:151 day 15 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x3c550e262047a8b16c39bb07e8544eec522ef4ca605aa6b8217e479877bb2c3fAllocate Seignio...749693252022-09-26 20:00:151 day 21 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x4a9a611e4860f8a869d278b7532929896d0d910613e364bd8619d3e3711dae5aAllocate Seignio...749515572022-09-26 14:00:152 days 3 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0xafa32a545b148ede9cbb2d304133cb08dd51d83cecbb93a0b436eb1da07aa4ffAllocate Seignio...749338262022-09-26 8:00:152 days 9 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x62b8c754843f92c770e7b2bddc50911c1d2d8b22180cbe4384feaf695350726cAllocate Seignio...749157852022-09-26 2:00:142 days 15 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x7f1a7434e21cb8b829205567b5c1281607f11d3723b1f07eaf8f7fa8ae6873ceAllocate Seignio...748977332022-09-25 20:00:162 days 21 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x8c811b45ab9294181ea6e7f7e72f3fa2f3453f136e36e43a525a3e739dd564b7Allocate Seignio...748803262022-09-25 14:00:153 days 3 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x9dd63329aa34add548d6380f09af460bfe9907f3b2df0073acea372b0568c8aaAllocate Seignio...748623932022-09-25 8:00:163 days 9 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x24da6608fd01806f335447859de0e5045c0c846aca89b30aa013cdbeec8af452Allocate Seignio...748443912022-09-25 2:00:153 days 15 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x24ee04694f81cb62df9eaa1e3780493aede7eaacbcca42da8938601a1f5c94adAllocate Seignio...748266662022-09-24 20:00:303 days 21 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x2f2dbbf90fe08f72b8257197c9ba74a122721d3c92499d5a160e1e54d09a87f6Allocate Seignio...748091922022-09-24 14:00:144 days 3 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x47d4e70643527b3a8b96bd4129827fe0b28236d642ca296646862873a8692121Allocate Seignio...747917302022-09-24 8:00:144 days 9 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0xd36866557ca0f98ead9b299ec136f047659f31ecd0ed3e5827ecfeafe8df89feAllocate Seignio...747738842022-09-24 2:00:164 days 15 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0xa274c26c97eb824486fe703b569f6323235ec849f77031724975d20f47c0d54dAllocate Seignio...747565352022-09-23 20:00:144 days 21 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x3e4406f18b7f964f882fbcfffd1200f9b7d6ed33344b44f469b6a31101134729Allocate Seignio...747508962022-09-23 17:58:574 days 23 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000685428
0xa89ef18621936c66e248ee182fe1aa36e9036f0ef4406d0c5b5e7558480bb337Allocate Seignio...747506282022-09-23 17:53:274 days 23 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000685428
0x61ada2d498247537dbca6ed350dfbeb4112a0af8b4d88fc094a48987663a78fdAllocate Seignio...747503642022-09-23 17:48:014 days 23 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000968304
0x71569500da8ee933553beaf45366b1a967fcc1190a29319c5559f6c4acf1d3beAllocate Seignio...746875332022-09-22 20:00:175 days 21 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
0x691855eb26ca822ec693134764535223983bb47050dad018c67deb42862f80f5Allocate Seignio...746705652022-09-22 14:00:156 days 3 hrs agoPolaris Finance: DEV Wallet IN 0x116449c7b1d0837439e12216d7b1ebaecbd848ff0 ETH0.00000959904
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
TripolarTreasury

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 aurorascan.dev on 2022-04-17
*/

// File: contracts/interfaces/IMasonry.sol



pragma solidity 0.6.12;

interface IMasonry {
    function balanceOf(address _mason) external view returns (uint256);

    function earned(address _mason) external view returns (uint256);

    function canWithdraw(address _mason) external view returns (bool);

    function canClaimReward(address _mason) external view returns (bool);

    function epoch() external view returns (uint256);

    function nextEpochPoint() external view returns (uint256);

    function getPolarPrice() external view returns (uint256);

    function setOperator(address _operator) external;

    function setLockUp(uint256 _withdrawLockupEpochs, uint256 _rewardLockupEpochs) external;

    function stake(uint256 _amount) external;

    function withdraw(uint256 _amount) external;

    function exit() external;

    function claimReward() external;

    function allocateSeigniorage(uint256 _amount) external;

    function governanceRecoverUnsupported(address _token, uint256 _amount, address _to) external;
}

// File: contracts/interfaces/IOracle.sol



pragma solidity 0.6.12;

interface IOracle {
    function update() external;

    function consult(address _token, uint256 _amountIn) external view returns (uint144 amountOut);

    function twap(address _token, uint256 _amountIn) external view returns (uint144 _amountOut);
}

// File: contracts/interfaces/IBasisAsset.sol



pragma solidity ^0.6.0;

interface IBasisAsset {
    function mint(address recipient, uint256 amount) external returns (bool);

    function burn(uint256 amount) external;

    function burnFrom(address from, uint256 amount) external;

    function isOperator() external returns (bool);

    function operator() external view returns (address);

    function transferOperator(address newOperator_) external;
}

// File: contracts/utils/ContractGuard.sol



pragma solidity 0.6.12;

contract ContractGuard {
    mapping(uint256 => mapping(address => bool)) private _status;

    function checkSameOriginReentranted() internal view returns (bool) {
        return _status[block.number][tx.origin];
    }

    function checkSameSenderReentranted() internal view returns (bool) {
        return _status[block.number][msg.sender];
    }

    modifier onlyOneBlock() {
        require(!checkSameOriginReentranted(), "ContractGuard: one block, one function");
        require(!checkSameSenderReentranted(), "ContractGuard: one block, one function");

        _;

        _status[block.number][tx.origin] = true;
        _status[block.number][msg.sender] = true;
    }
}

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol



pragma solidity >=0.6.0 <0.8.0;


// File: contracts/owner/Operator.sol



pragma solidity 0.6.12;



contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() internal {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }
}

// File: contracts/lib/Babylonian.sol



pragma solidity ^0.6.0;

library Babylonian {
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
        // else z = 0
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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



pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/math/Math.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: contracts/tripolar/TripolarTreasury.sol



pragma solidity 0.6.12;











/*
    ____        __           _         _______
   / __ \____  / /___ ______(_)____   / ____(_)___  ____ _____  ________
  / /_/ / __ \/ / __ `/ ___/ / ___/  / /_  / / __ \/ __ `/ __ \/ ___/ _ \
 / ____/ /_/ / / /_/ / /  / (__  )  / __/ / / / / / /_/ / / / / /__/  __/
/_/    \____/_/\__,_/_/  /_/____/  /_/   /_/_/ /_/\__,_/_/ /_/\___/\___/

    https://polarisfinance.io
*/
contract TripolarTreasury is ContractGuard {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    /* ========= CONSTANT VARIABLES ======== */

    uint256 public constant PERIOD = 6 hours;

    /* ========== STATE VARIABLES ========== */

    // governance
    address public operator;

    // flags
    bool public initialized = false;

    // epoch
    uint256 public startTime;
    uint256 public epoch = 1;
    uint256 public epochSupplyContractionLeft = 0;

    // exclusions from total supply
    address[] public excludedFromTotalSupply;

    // core components
    address public tripolar;
    address public tribond;
    address public spolar;

    address public masonry;
    address public tripolarOracle;

    // price
    uint256 public tripolarPriceOne;
    uint256 public tripolarPriceCeiling;

    uint256 public seigniorageSaved;

    uint256[] public supplyTiers;
    uint256[] public maxExpansionTiers;

    uint256 public maxSupplyExpansionPercent;
    uint256 public bondDepletionFloorPercent;
    uint256 public seigniorageExpansionFloorPercent;
    uint256 public maxSupplyContractionPercent;
    uint256 public maxDebtRatioPercent;

    // 28 first epochs (1 week) with 4.5% expansion regardless of TRIPOLAR price
    uint256 public bootstrapEpochs;
    uint256 public bootstrapSupplyExpansionPercent;

    /* =================== Added variables =================== */
    uint256 public previousEpochTripolarPrice;
    uint256 public maxDiscountRate; // when purchasing bond
    uint256 public maxPremiumRate; // when redeeming bond
    uint256 public discountPercent;
    uint256 public premiumThreshold;
    uint256 public premiumPercent;
    uint256 public mintingFactorForPayingDebt; // print extra TRIPOLAR during debt phase

    address public daoFund;
    uint256 public daoFundSharedPercent;

    address public devFund;
    uint256 public devFundSharedPercent;

    /* =================== Events =================== */

    event Initialized(address indexed executor, uint256 at);
    event BurnedBonds(address indexed from, uint256 bondAmount);
    event RedeemedBonds(address indexed from, uint256 tripolarAmount, uint256 bondAmount);
    event Boughtbonds(address indexed from, uint256 tripolarAmount, uint256 bondAmount);
    event TreasuryFunded(uint256 timestamp, uint256 seigniorage);
    event MasonryFunded(uint256 timestamp, uint256 seigniorage);
    event DaoFundFunded(uint256 timestamp, uint256 seigniorage);
    event DevFundFunded(uint256 timestamp, uint256 seigniorage);

    /* =================== Modifier =================== */

    modifier onlyOperator() {
        require(operator == msg.sender, "Treasury: caller is not the operator");
        _;
    }

    modifier checkCondition {
        require(now >= startTime, "Treasury: not started yet");

        _;
    }

    modifier checkEpoch {
        require(now >= nextEpochPoint(), "Treasury: not opened yet");

        _;

        epoch = epoch.add(1);
        epochSupplyContractionLeft = (getTripolarPrice() > tripolarPriceCeiling) ? 0 : getTripolarCirculatingSupply().mul(maxSupplyContractionPercent).div(10000);
    }

    modifier checkOperator {
        require(
            IBasisAsset(tripolar).operator() == address(this) &&
                IBasisAsset(tripolar).operator() == address(this) &&
                Operator(masonry).operator() == address(this),
            "Treasury: need more permission"
        );

        _;
    }

    modifier notInitialized {
        require(!initialized, "Treasury: already initialized");

        _;
    }

    /* ========== VIEW FUNCTIONS ========== */

    function isInitialized() public view returns (bool) {
        return initialized;
    }

    // epoch
    function nextEpochPoint() public view returns (uint256) {
        return startTime.add(epoch.mul(PERIOD));
    }

    // oracle
    function getTripolarPrice() public view returns (uint256 tripolarPrice) {
        try IOracle(tripolarOracle).consult(tripolar, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult TRIPOLAR price from the oracle");
        }
    }

    function getTripolarUpdatedPrice() public view returns (uint256 _tripolarPrice) {
        try IOracle(tripolarOracle).twap(tripolar, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult TRIPOLAR price from the oracle");
        }
    }

    // budget
    function getReserve() public view returns (uint256) {
        return seigniorageSaved;
    }

    function getBurnableTripolarLeft() public view returns (uint256 _burnableTripolarLeft) {
        uint256 _tripolarPrice = getTripolarPrice();
        if (_tripolarPrice <= tripolarPriceOne) {
            uint256 _tripolarSupply = getTripolarCirculatingSupply();
            uint256 _bondMaxSupply = _tripolarSupply.mul(maxDebtRatioPercent).div(10000);
            uint256 _bondSupply = IERC20(tribond).totalSupply();
            if (_bondMaxSupply > _bondSupply) {
                uint256 _maxMintableBond = _bondMaxSupply.sub(_bondSupply);
                uint256 _maxBurnableTripolar = _maxMintableBond.mul(_tripolarPrice).div(1e18);
                _burnableTripolarLeft = Math.min(epochSupplyContractionLeft, _maxBurnableTripolar);
            }
        }
    }

    function getRedeemableBonds() public view returns (uint256 _redeemableBonds) {
        uint256 _tripolarPrice = getTripolarPrice();
        if (_tripolarPrice > tripolarPriceCeiling) {
            uint256 _totalTripolar = IERC20(tripolar).balanceOf(address(this));
            uint256 _rate = getBondPremiumRate();
            if (_rate > 0) {
                _redeemableBonds = _totalTripolar.mul(1e18).div(_rate);
            }
        }
    }

    function getBondDiscountRate() public view returns (uint256 _rate) {
        uint256 _tripolarPrice = getTripolarPrice();
        if (_tripolarPrice <= tripolarPriceOne) {
            if (discountPercent == 0) {
                // no discount
                _rate = tripolarPriceOne;
            } else {
                uint256 _bondAmount = tripolarPriceOne.mul(1e18).div(_tripolarPrice); // to burn 1 TRIPOLAR
                uint256 _discountAmount = _bondAmount.sub(tripolarPriceOne).mul(discountPercent).div(10000);
                _rate = tripolarPriceOne.add(_discountAmount);
                if (maxDiscountRate > 0 && _rate > maxDiscountRate) {
                    _rate = maxDiscountRate;
                }
            }
        }
    }

    function getBondPremiumRate() public view returns (uint256 _rate) {
        uint256 _tripolarPrice = getTripolarPrice();
        if (_tripolarPrice > tripolarPriceCeiling) {
            uint256 _tripolarPricePremiumThreshold = tripolarPriceOne.mul(premiumThreshold).div(100);
            if (_tripolarPrice >= _tripolarPricePremiumThreshold) {
                //Price > 1.10
                uint256 _premiumAmount = _tripolarPrice.sub(tripolarPriceOne).mul(premiumPercent).div(10000);
                _rate = tripolarPriceOne.add(_premiumAmount);
                if (maxPremiumRate > 0 && _rate > maxPremiumRate) {
                    _rate = maxPremiumRate;
                }
            } else {
                // no premium bonus
                _rate = tripolarPriceOne;
            }
        }
    }

    /* ========== GOVERNANCE ========== */

    function initialize(
        address _tripolar,
        address _tribond,
        address _spolar,
        address _tripolarOracle,
        address _masonry,
        uint256 _startTime,
        address[] memory _excludedFromTotalSupply
    ) public notInitialized {
        tripolar = _tripolar;
        tribond = _tribond;
        spolar = _spolar;
        tripolarOracle = _tripolarOracle;
        masonry = _masonry;
        startTime = _startTime;
        excludedFromTotalSupply = _excludedFromTotalSupply;

        tripolarPriceOne = 1e18;
        tripolarPriceCeiling = tripolarPriceOne.mul(101).div(100);

        // Dynamic max expansion percent
        supplyTiers = [0, 100000e18, 130000e18, 165000e18, 210000e18, 250000e18, 290000e18, 330000e18, 990000e18];
        maxExpansionTiers = [250, 225, 200, 175, 150, 125, 100, 75, 50];

        maxSupplyExpansionPercent = 400; // Upto 4.0% supply for expansion

        bondDepletionFloorPercent = 10000; // 100% of Bond supply for depletion floor
        seigniorageExpansionFloorPercent = 3500; // At least 35% of expansion reserved for masonry
        maxSupplyContractionPercent = 300; // Upto 3.0% supply for contraction (to burn TRIPOLAR and mint pbond)
        maxDebtRatioPercent = 3500; // Upto 35% supply of pbond to purchase

        premiumThreshold = 110;
        premiumPercent = 7000;

        // First 28 epochs with 4.5% expansion
        bootstrapEpochs = 0;
        bootstrapSupplyExpansionPercent = 450;

        // set seigniorageSaved to it's balance
        seigniorageSaved = IERC20(tripolar).balanceOf(address(this));

        initialized = true;
        operator = msg.sender;
        emit Initialized(msg.sender, block.number);
    }

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    function setMasonry(address _masonry) external onlyOperator {
        masonry = _masonry;
    }

    function setTripolarOracle(address _tripolarOracle) external onlyOperator {
        tripolarOracle = _tripolarOracle;
    }

    function setTripolarPriceCeiling(uint256 _tripolarPriceCeiling) external onlyOperator {
        require(_tripolarPriceCeiling >= tripolarPriceOne && _tripolarPriceCeiling <= tripolarPriceOne.mul(120).div(100), "out of range"); // [$1.0, $1.2]
        tripolarPriceCeiling = _tripolarPriceCeiling;
    }

    function setMaxSupplyExpansionPercents(uint256 _maxSupplyExpansionPercent) external onlyOperator {
        require(_maxSupplyExpansionPercent >= 10 && _maxSupplyExpansionPercent <= 1000, "_maxSupplyExpansionPercent: out of range"); // [0.1%, 10%]
        maxSupplyExpansionPercent = _maxSupplyExpansionPercent;
    }

    function setSupplyTiersEntry(uint8 _index, uint256 _value) external onlyOperator returns (bool) {
        require(_index >= 0, "Index has to be higher than 0");
        require(_index < 9, "Index has to be lower than count of tiers");
        if (_index > 0) {
            require(_value > supplyTiers[_index - 1]);
        }
        if (_index < 8) {
            require(_value < supplyTiers[_index + 1]);
        }
        supplyTiers[_index] = _value;
        return true;
    }

    function setMaxExpansionTiersEntry(uint8 _index, uint256 _value) external onlyOperator returns (bool) {
        require(_index >= 0, "Index has to be higher than 0");
        require(_index < 9, "Index has to be lower than count of tiers");
        require(_value >= 10 && _value <= 1000, "_value: out of range"); // [0.1%, 10%]
        maxExpansionTiers[_index] = _value;
        return true;
    }

    function sepbondDepletionFloorPercent(uint256 _bondDepletionFloorPercent) external onlyOperator {
        require(_bondDepletionFloorPercent >= 500 && _bondDepletionFloorPercent <= 10000, "out of range"); // [5%, 100%]
        bondDepletionFloorPercent = _bondDepletionFloorPercent;
    }

    function setMaxSupplyContractionPercent(uint256 _maxSupplyContractionPercent) external onlyOperator {
        require(_maxSupplyContractionPercent >= 100 && _maxSupplyContractionPercent <= 1500, "out of range"); // [0.1%, 15%]
        maxSupplyContractionPercent = _maxSupplyContractionPercent;
    }

    function setMaxDebtRatioPercent(uint256 _maxDebtRatioPercent) external onlyOperator {
        require(_maxDebtRatioPercent >= 1000 && _maxDebtRatioPercent <= 10000, "out of range"); // [10%, 100%]
        maxDebtRatioPercent = _maxDebtRatioPercent;
    }

    function setBootstrap(uint256 _bootstrapEpochs, uint256 _bootstrapSupplyExpansionPercent) external onlyOperator {
        require(_bootstrapEpochs <= 120, "_bootstrapEpochs: out of range"); // <= 1 month
        require(_bootstrapSupplyExpansionPercent >= 100 && _bootstrapSupplyExpansionPercent <= 1000, "_bootstrapSupplyExpansionPercent: out of range"); // [1%, 10%]
        bootstrapEpochs = _bootstrapEpochs;
        bootstrapSupplyExpansionPercent = _bootstrapSupplyExpansionPercent;
    }

    function setExtraFunds(
        address _daoFund,
        uint256 _daoFundSharedPercent,
        address _devFund,
        uint256 _devFundSharedPercent
    ) external onlyOperator {
        require(_daoFund != address(0), "zero");
        require(_daoFundSharedPercent <= 3000, "out of range"); // <= 30%
        require(_devFund != address(0), "zero");
        require(_devFundSharedPercent <= 1000, "out of range"); // <= 10%
        daoFund = _daoFund;
        daoFundSharedPercent = _daoFundSharedPercent;
        devFund = _devFund;
        devFundSharedPercent = _devFundSharedPercent;
    }

    function setMaxDiscountRate(uint256 _maxDiscountRate) external onlyOperator {
        maxDiscountRate = _maxDiscountRate;
    }

    function setMaxPremiumRate(uint256 _maxPremiumRate) external onlyOperator {
        maxPremiumRate = _maxPremiumRate;
    }

    function setDiscountPercent(uint256 _discountPercent) external onlyOperator {
        require(_discountPercent <= 20000, "_discountPercent is over 200%");
        discountPercent = _discountPercent;
    }

    function setPremiumThreshold(uint256 _premiumThreshold) external onlyOperator {
        require(_premiumThreshold >= tripolarPriceCeiling, "_premiumThreshold exceeds tripolarPriceCeiling");
        require(_premiumThreshold <= 150, "_premiumThreshold is higher than 1.5");
        premiumThreshold = _premiumThreshold;
    }

    function setPremiumPercent(uint256 _premiumPercent) external onlyOperator {
        require(_premiumPercent <= 20000, "_premiumPercent is over 200%");
        premiumPercent = _premiumPercent;
    }

    function setMintingFactorForPayingDebt(uint256 _mintingFactorForPayingDebt) external onlyOperator {
        require(_mintingFactorForPayingDebt >= 10000 && _mintingFactorForPayingDebt <= 20000, "_mintingFactorForPayingDebt: out of range"); // [100%, 200%]
        mintingFactorForPayingDebt = _mintingFactorForPayingDebt;
    }

    /* ========== MUTABLE FUNCTIONS ========== */

    function _updateTripolarPrice() internal {
        try IOracle(tripolarOracle).update() {} catch {}
    }

    function getTripolarCirculatingSupply() public view returns (uint256) {
        IERC20 tripolarErc20 = IERC20(tripolar);
        uint256 totalSupply = tripolarErc20.totalSupply();
        uint256 balanceExcluded = 0;
        for (uint8 entryId = 0; entryId < excludedFromTotalSupply.length; ++entryId) {
            balanceExcluded = balanceExcluded.add(tripolarErc20.balanceOf(excludedFromTotalSupply[entryId]));
        }
        return totalSupply.sub(balanceExcluded);
    }

    function buyBonds(uint256 _tripolarAmount, uint256 targetPrice) external onlyOneBlock checkCondition checkOperator {
        require(_tripolarAmount > 0, "Treasury: cannot purchase bonds with zero amount");

        uint256 tripolarPrice = getTripolarPrice();
        require(tripolarPrice == targetPrice, "Treasury: TRIPOLAR price moved");
        require(
            tripolarPrice < tripolarPriceOne, // price < $1
            "Treasury: TRIPOLAR Price not eligible for bond purchase"
        );

        require(_tripolarAmount <= epochSupplyContractionLeft, "Treasury: not enough bond left to purchase");

        uint256 _rate = getBondDiscountRate();
        require(_rate > 0, "Treasury: invalid bond rate");

        uint256 _bondAmount = _tripolarAmount.mul(_rate).div(1e18);
        uint256 tripolarSupply = getTripolarCirculatingSupply();
        uint256 newBondSupply = IERC20(tribond).totalSupply().add(_bondAmount);
        require(newBondSupply <= tripolarSupply.mul(maxDebtRatioPercent).div(10000), "over max debt ratio");

        IBasisAsset(tripolar).burnFrom(msg.sender, _tripolarAmount);
        IBasisAsset(tribond).mint(msg.sender, _bondAmount);

        epochSupplyContractionLeft = epochSupplyContractionLeft.sub(_tripolarAmount);
        _updateTripolarPrice();

        emit Boughtbonds(msg.sender, _tripolarAmount, _bondAmount);
    }

    function redeemBonds(uint256 _bondAmount, uint256 targetPrice) external onlyOneBlock checkCondition checkOperator {
        require(_bondAmount > 0, "Treasury: cannot redeem bonds with zero amount");

        uint256 tripolarPrice = getTripolarPrice();
        require(tripolarPrice == targetPrice, "Treasury: TRIPOLAR price moved");
        require(
            tripolarPrice > tripolarPriceCeiling, // price > $1.01
            "Treasury: TRIPOLAR Price not eligible for bond purchase"
        );

        uint256 _rate = getBondPremiumRate();
        require(_rate > 0, "Treasury: invalid bond rate");

        uint256 _tripolarAmount = _bondAmount.mul(_rate).div(1e18);
        require(IERC20(tripolar).balanceOf(address(this)) >= _tripolarAmount, "Treasury: treasury has no more budget");

        seigniorageSaved = seigniorageSaved.sub(Math.min(seigniorageSaved, _tripolarAmount));

        IBasisAsset(tribond).burnFrom(msg.sender, _bondAmount);
        IERC20(tripolar).safeTransfer(msg.sender, _tripolarAmount);

        _updateTripolarPrice();

        emit RedeemedBonds(msg.sender, _tripolarAmount, _bondAmount);
    }

    function _sendToMasonry(uint256 _amount) internal {
        IBasisAsset(tripolar).mint(address(this), _amount);

        uint256 _daoFundSharedAmount = 0;
        if (daoFundSharedPercent > 0) {
            _daoFundSharedAmount = _amount.mul(daoFundSharedPercent).div(10000);
            IERC20(tripolar).transfer(daoFund, _daoFundSharedAmount);
            emit DaoFundFunded(now, _daoFundSharedAmount);
        }

        uint256 _devFundSharedAmount = 0;
        if (devFundSharedPercent > 0) {
            _devFundSharedAmount = _amount.mul(devFundSharedPercent).div(10000);
            IERC20(tripolar).transfer(devFund, _devFundSharedAmount);
            emit DevFundFunded(now, _devFundSharedAmount);
        }

        _amount = _amount.sub(_daoFundSharedAmount).sub(_devFundSharedAmount);

        IERC20(tripolar).safeApprove(masonry, 0);
        IERC20(tripolar).safeApprove(masonry, _amount);
        IMasonry(masonry).allocateSeigniorage(_amount);
        emit MasonryFunded(now, _amount);
    }

    function _calculateMaxSupplyExpansionPercent(uint256 _tripolarSupply) internal returns (uint256) {
        for (uint8 tierId = 8; tierId >= 0; --tierId) {
            if (_tripolarSupply >= supplyTiers[tierId]) {
                maxSupplyExpansionPercent = maxExpansionTiers[tierId];
                break;
            }
        }
        return maxSupplyExpansionPercent;
    }

    function allocateSeigniorage() external onlyOneBlock checkCondition checkEpoch checkOperator {
        _updateTripolarPrice();
        previousEpochTripolarPrice = getTripolarPrice();
        uint256 tripolarSupply = getTripolarCirculatingSupply().sub(seigniorageSaved);
        if (epoch < bootstrapEpochs) {
            // 28 first epochs with 4.5% expansion
            _sendToMasonry(tripolarSupply.mul(bootstrapSupplyExpansionPercent).div(10000));
        } else {
            if (previousEpochTripolarPrice > tripolarPriceCeiling) {
                // Expansion ($TRIPOLAR Price > 1 $FTM): there is some seigniorage to be allocated
                uint256 bondSupply = IERC20(tribond).totalSupply();
                uint256 _percentage = previousEpochTripolarPrice.sub(tripolarPriceOne);
                uint256 _savedForBond;
                uint256 _savedForMasonry;
                uint256 _mse = _calculateMaxSupplyExpansionPercent(tripolarSupply).mul(1e14);
                if (_percentage > _mse) {
                    _percentage = _mse;
                }
                if (seigniorageSaved >= bondSupply.mul(bondDepletionFloorPercent).div(10000)) {
                    // saved enough to pay debt, mint as usual rate
                    _savedForMasonry = tripolarSupply.mul(_percentage).div(1e18);
                } else {
                    // have not saved enough to pay debt, mint more
                    uint256 _seigniorage = tripolarSupply.mul(_percentage).div(1e18);
                    _savedForMasonry = _seigniorage.mul(seigniorageExpansionFloorPercent).div(10000);
                    _savedForBond = _seigniorage.sub(_savedForMasonry);
                    if (mintingFactorForPayingDebt > 0) {
                        _savedForBond = _savedForBond.mul(mintingFactorForPayingDebt).div(10000);
                    }
                }
                if (_savedForMasonry > 0) {
                    _sendToMasonry(_savedForMasonry);
                }
                if (_savedForBond > 0) {
                    seigniorageSaved = seigniorageSaved.add(_savedForBond);
                    IBasisAsset(tripolar).mint(address(this), _savedForBond);
                    emit TreasuryFunded(now, _savedForBond);
                }
            }
        }
    }

    function governanceRecoverUnsupported(
        IERC20 _token,
        uint256 _amount,
        address _to
    ) external onlyOperator {
        // do not allow to drain core tokens
        require(address(_token) != address(tripolar), "tripolar");
        require(address(_token) != address(tribond), "bond");
        require(address(_token) != address(spolar), "share");
        _token.safeTransfer(_to, _amount);
    }

    function masonrySetOperator(address _operator) external onlyOperator {
        IMasonry(masonry).setOperator(_operator);
    }

    function masonrySetLockUp(uint256 _withdrawLockupEpochs, uint256 _rewardLockupEpochs) external onlyOperator {
        IMasonry(masonry).setLockUp(_withdrawLockupEpochs, _rewardLockupEpochs);
    }

    function masonryAllocateSeigniorage(uint256 amount) external onlyOperator {
        IMasonry(masonry).allocateSeigniorage(amount);
    }

    function masonryGovernanceRecoverUnsupported(
        address _token,
        uint256 _amount,
        address _to
    ) external onlyOperator {
        IMasonry(masonry).governanceRecoverUnsupported(_token, _amount, _to);
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"tripolarAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"Boughtbonds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"BurnedBonds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"DaoFundFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"DevFundFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"executor","type":"address"},{"indexed":false,"internalType":"uint256","name":"at","type":"uint256"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"MasonryFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"tripolarAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"RedeemedBonds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"TreasuryFunded","type":"event"},{"inputs":[],"name":"PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocateSeigniorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bondDepletionFloorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bootstrapEpochs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bootstrapSupplyExpansionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tripolarAmount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"buyBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoFundSharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundSharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochSupplyContractionLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"excludedFromTotalSupply","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBondDiscountRate","outputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBondPremiumRate","outputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBurnableTripolarLeft","outputs":[{"internalType":"uint256","name":"_burnableTripolarLeft","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRedeemableBonds","outputs":[{"internalType":"uint256","name":"_redeemableBonds","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTripolarCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTripolarPrice","outputs":[{"internalType":"uint256","name":"tripolarPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTripolarUpdatedPrice","outputs":[{"internalType":"uint256","name":"_tripolarPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tripolar","type":"address"},{"internalType":"address","name":"_tribond","type":"address"},{"internalType":"address","name":"_spolar","type":"address"},{"internalType":"address","name":"_tripolarOracle","type":"address"},{"internalType":"address","name":"_masonry","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"address[]","name":"_excludedFromTotalSupply","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masonry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"masonryAllocateSeigniorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"masonryGovernanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawLockupEpochs","type":"uint256"},{"internalType":"uint256","name":"_rewardLockupEpochs","type":"uint256"}],"name":"masonrySetLockUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"masonrySetOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxDebtRatioPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDiscountRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxExpansionTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPremiumRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyContractionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyExpansionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingFactorForPayingDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextEpochPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousEpochTripolarPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondAmount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"redeemBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seigniorageExpansionFloorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seigniorageSaved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondDepletionFloorPercent","type":"uint256"}],"name":"sepbondDepletionFloorPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bootstrapEpochs","type":"uint256"},{"internalType":"uint256","name":"_bootstrapSupplyExpansionPercent","type":"uint256"}],"name":"setBootstrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discountPercent","type":"uint256"}],"name":"setDiscountPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"uint256","name":"_daoFundSharedPercent","type":"uint256"},{"internalType":"address","name":"_devFund","type":"address"},{"internalType":"uint256","name":"_devFundSharedPercent","type":"uint256"}],"name":"setExtraFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_masonry","type":"address"}],"name":"setMasonry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDebtRatioPercent","type":"uint256"}],"name":"setMaxDebtRatioPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDiscountRate","type":"uint256"}],"name":"setMaxDiscountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxExpansionTiersEntry","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPremiumRate","type":"uint256"}],"name":"setMaxPremiumRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplyContractionPercent","type":"uint256"}],"name":"setMaxSupplyContractionPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplyExpansionPercent","type":"uint256"}],"name":"setMaxSupplyExpansionPercents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintingFactorForPayingDebt","type":"uint256"}],"name":"setMintingFactorForPayingDebt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_premiumPercent","type":"uint256"}],"name":"setPremiumPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_premiumThreshold","type":"uint256"}],"name":"setPremiumThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setSupplyTiersEntry","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tripolarOracle","type":"address"}],"name":"setTripolarOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tripolarPriceCeiling","type":"uint256"}],"name":"setTripolarPriceCeiling","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"spolar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribond","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tripolar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tripolarOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tripolarPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tripolarPriceOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526001805460ff60a01b19168155600355600060045534801561002557600080fd5b50614654806100356000396000f3fe608060405234801561001057600080fd5b50600436106104285760003560e01c806372c054f91161022b578063b4d1d79511610130578063d4b14944116100b8578063da3ed41911610087578063da3ed41914610972578063da64fc271461097a578063e90b245414610a55578063f14698de14610a5d578063fcb6f00814610a6557610428565b8063d4b1494414610916578063d5d3b26c1461093c578063d62f34e314610962578063d98f24951461096a57610428565b8063be266d54116100ff578063be266d54146108c4578063c5967c26146108e1578063c8412d02146108e9578063c8f987f3146108f1578063cecce38e146108f957610428565b8063b4d1d79514610872578063b8a878f91461087a578063bc14caad14610882578063bcc81f191461088a57610428565b806391bbfed5116101b3578063998200251161018257806399820025146107ed578063a0487eea1461080a578063a204452b14610827578063b2a1d22514610844578063b3ab15fb1461084c57610428565b806391bbfed514610751578063940e606414610774578063951357d41461079a57806398b762a1146107d057610428565b806382cad838116101fa57806382cad83814610714578063874106cc14610731578063896c5a68146107395780638d934f7414610741578063900cf0cf1461074957610428565b806372c054f9146106d9578063734f7096146106e157806378e979251461070457806381d11eaf1461070c57610428565b806340af7ba511610331578063591663e1116102b95780635b756179116102885780635b7561791461066057806362ac58e41461066857806363f96cf41461068e5780636546e48a146106965780636697187a146106b357610428565b8063591663e11461062b57806359bf5d39146106485780635a0fc79c146106505780635b72bc611461065857610428565b8063499f3f1911610300578063499f3f19146105a557806354575af4146105c257806354f04a11146105f857806355ebdeef1461061b578063570ca7351461062357610428565b806340af7ba514610570578063413b3ed41461058d5780634390d2a814610595578063483dd7d61461059d57610428565b8063158ef93e116103b457806329ef19191161038357806329ef1919146105485780632e1ee978146105505780632e9c7b6514610558578063392e53cd146105605780634013a08e1461056857610428565b8063158ef93e146104e3578063190707b6146104ff57806322f832cd146105235780632397d6d61461052b57610428565b80630cf60175116103fb5780630cf601751461048b5780630db7eb0b1461049357806310f8951b1461049b578063118ebbf9146104a3578063154ec2db146104c657610428565b806303be7e761461042d57806304e5c7b11461044757806307c448db146104665780630b5bcec71461046e575b600080fd5b610435610a6d565b60408051918252519081900360200190f35b6104646004803603602081101561045d57600080fd5b5035610a73565b005b610435610b42565b6104646004803603602081101561048457600080fd5b5035610c1d565b610435610cb9565b610435610d6b565b610435610e0d565b610464600480360360408110156104b957600080fd5b5080359060200135610f55565b610464600480360360208110156104dc57600080fd5b5035611530565b6104eb6115d5565b604080519115158252519081900360200190f35b6105076115e5565b604080516001600160a01b039092168252519081900360200190f35b6104356115f4565b6104646004803603602081101561054157600080fd5b50356115fa565b6104356116b4565b6104356116ba565b6104356116c0565b6104eb6116c6565b6104356116d6565b6104646004803603602081101561058657600080fd5b50356116dc565b610507611781565b610507611790565b61043561179f565b610464600480360360208110156105bb57600080fd5b50356117a5565b610464600480360360608110156105d857600080fd5b506001600160a01b03813581169160208101359160409091013516611842565b6104646004803603604081101561060e57600080fd5b5080359060200135611989565b610435612046565b61050761204c565b6104646004803603602081101561064157600080fd5b503561205b565b6104356120fd565b610435612103565b610507612109565b610464612118565b6104646004803603602081101561067e57600080fd5b50356001600160a01b0316612748565b6105076127fa565b610464600480360360208110156106ac57600080fd5b5035612809565b610464600480360360208110156106c957600080fd5b50356001600160a01b03166128ab565b610435612916565b610464600480360360408110156106f757600080fd5b50803590602001356129ce565b610435612a87565b610435612a8d565b6105076004803603602081101561072a57600080fd5b5035612a93565b610435612aba565b610435612ac0565b610507612bc7565b610435612bd6565b6104646004803603604081101561076757600080fd5b5080359060200135612bdc565b6104eb6004803603604081101561078a57600080fd5b5060ff8135169060200135612cd4565b610464600480360360608110156107b057600080fd5b506001600160a01b03813581169160208101359160409091013516612df0565b610464600480360360208110156107e657600080fd5b5035612eb3565b6104356004803603602081101561080357600080fd5b5035612f01565b6104356004803603602081101561082057600080fd5b5035612f1f565b6104646004803603602081101561083d57600080fd5b5035612f2c565b610435612f7a565b6104646004803603602081101561086257600080fd5b50356001600160a01b0316612f80565b610435612feb565b610435612ff1565b610507612ff7565b610464600480360360808110156108a057600080fd5b506001600160a01b0381358116916020810135916040820135169060600135613006565b610464600480360360208110156108da57600080fd5b503561319b565b610435613231565b61043561325b565b610435613261565b6104646004803603602081101561090f57600080fd5b5035613267565b6104eb6004803603604081101561092c57600080fd5b5060ff8135169060200135613308565b6104646004803603602081101561095257600080fd5b50356001600160a01b0316613402565b61043561346d565b6104356134cf565b6104356134d5565b610464600480360360e081101561099057600080fd5b6001600160a01b03823581169260208101358216926040820135831692606083013581169260808101359091169160a0820135919081019060e0810160c08201356401000000008111156109e357600080fd5b8201836020820111156109f557600080fd5b80359060200191846020830284011164010000000083111715610a1757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506134db945050505050565b6104356137d3565b6104356137d9565b6104356137df565b60215481565b6001546001600160a01b03163314610abc5760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600c54811015610afd5760405162461bcd60e51b815260040180806020018281038252602e8152602001806143ea602e913960400191505060405180910390fd5b6096811115610b3d5760405162461bcd60e51b815260040180806020018281038252602481526020018061437b6024913960400191505060405180910390fd5b601b55565b600a5460065460408051630d01142560e31b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691636808a12891604480820192602092909190829003018186803b158015610ba457600080fd5b505afa925050508015610bc957506040513d6020811015610bc457600080fd5b505160015b610c045760405162461bcd60e51b815260040180806020018281038252603a815260200180614507603a913960400191505060405180910390fd5b71ffffffffffffffffffffffffffffffffffff16905090565b6001546001600160a01b03163314610c665760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600a8110158015610c7957506103e88111155b610cb45760405162461bcd60e51b81526004018080602001828103825260288152602001806144926028913960400191505060405180910390fd5b601055565b600080610cc461346d565b9050600b548111610d6757601a54610ce057600b549150610d67565b6000610d0982610d03670de0b6b3a7640000600b546137e590919063ffffffff16565b90613845565b90506000610d34612710610d03601a54610d2e600b54876138ac90919063ffffffff16565b906137e5565b600b54909150610d449082613909565b93506000601854118015610d59575060185484115b15610d645760185493505b50505b5090565b600080610d7661346d565b9050600c54811115610d67576000610da06064610d03601b54600b546137e590919063ffffffff16565b9050808210610e02576000610dcc612710610d03601c54610d2e600b54886138ac90919063ffffffff16565b600b54909150610ddc9082613909565b93506000601954118015610df1575060195484115b15610dfc5760195493505b50610e08565b600b5492505b505090565b600654604080516318160ddd60e01b815290516000926001600160a01b031691839183916318160ddd916004808301926020929190829003018186803b158015610e5657600080fd5b505afa158015610e6a573d6000803e3d6000fd5b505050506040513d6020811015610e8057600080fd5b505190506000805b60055460ff82161015610f4257610f38846001600160a01b03166370a0823160058460ff1681548110610eb757fe5b60009182526020918290200154604080516001600160e01b031960e086901b1681526001600160a01b0390921660048301525160248083019392829003018186803b158015610f0557600080fd5b505afa158015610f19573d6000803e3d6000fd5b505050506040513d6020811015610f2f57600080fd5b50518390613909565b9150600101610e88565b50610f4d82826138ac565b935050505090565b610f5d613963565b15610f995760405162461bcd60e51b815260040180806020018281038252602681526020018061456b6026913960400191505060405180910390fd5b610fa1613982565b15610fdd5760405162461bcd60e51b815260040180806020018281038252602681526020018061456b6026913960400191505060405180910390fd5b600254421015611030576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561107457600080fd5b505afa158015611088573d6000803e3d6000fd5b505050506040513d602081101561109e57600080fd5b50516001600160a01b031614801561112c57506006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b1580156110f557600080fd5b505afa158015611109573d6000803e3d6000fd5b505050506040513d602081101561111f57600080fd5b50516001600160a01b0316145b80156111ae57506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561117757600080fd5b505afa15801561118b573d6000803e3d6000fd5b505050506040513d60208110156111a157600080fd5b50516001600160a01b0316145b6111ff576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b6000821161123e5760405162461bcd60e51b815260040180806020018281038252602e815260200180614316602e913960400191505060405180910390fd5b600061124861346d565b905081811461129e576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a20545249504f4c4152207072696365206d6f7665640000604482015290519081900360640190fd5b600c5481116112de5760405162461bcd60e51b81526004018080602001828103825260378152602001806143446037913960400191505060405180910390fd5b60006112e8610d6b565b90506000811161133f576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000611357670de0b6b3a7640000610d0387856137e5565b600654604080516370a0823160e01b8152306004820152905192935083926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156113a757600080fd5b505afa1580156113bb573d6000803e3d6000fd5b505050506040513d60208110156113d157600080fd5b505110156114105760405162461bcd60e51b81526004018080602001828103825260258152602001806143c56025913960400191505060405180910390fd5b61142861141f600d54836139a1565b600d54906138ac565b600d556007546040805163079cc67960e41b81523360048201526024810188905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561147e57600080fd5b505af1158015611492573d6000803e3d6000fd5b50506006546114ae92506001600160a01b0316905033836139b7565b6114b6613a09565b6040805182815260208101879052815133927f51e0d16595cabc591e64da08e45bb223577e5b9a39cd947b4ddc3472b2dd8878928290030190a25050436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055505050565b6001546001600160a01b031633146115795760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b614e208111156115d0576040805162461bcd60e51b815260206004820152601d60248201527f5f646973636f756e7450657263656e74206973206f7665722032303025000000604482015290519081900360640190fd5b601a55565b600154600160a01b900460ff1681565b6008546001600160a01b031681565b60125481565b6001546001600160a01b031633146116435760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600b54811015801561166f575061166b6064610d036078600b546137e590919063ffffffff16565b8111155b6116af576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b600c55565b601a5481565b600b5481565b60195481565b600154600160a01b900460ff1690565b601d5481565b6001546001600160a01b031633146117255760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b614e2081111561177c576040805162461bcd60e51b815260206004820152601c60248201527f5f7072656d69756d50657263656e74206973206f766572203230302500000000604482015290519081900360640190fd5b601c55565b600a546001600160a01b031681565b6020546001600160a01b031681565b600c5481565b6001546001600160a01b031633146117ee5760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b61271081101580156118025750614e208111155b61183d5760405162461bcd60e51b81526004018080602001828103825260298152602001806144696029913960400191505060405180910390fd5b601d55565b6001546001600160a01b0316331461188b5760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b6006546001600160a01b03848116911614156118d9576040805162461bcd60e51b81526020600482015260086024820152673a3934b837b630b960c11b604482015290519081900360640190fd5b6007546001600160a01b0384811691161415611925576040805162461bcd60e51b81526020600480830191909152602482015263189bdb9960e21b604482015290519081900360640190fd5b6008546001600160a01b0384811691161415611970576040805162461bcd60e51b8152602060048201526005602482015264736861726560d81b604482015290519081900360640190fd5b6119846001600160a01b03841682846139b7565b505050565b611991613963565b156119cd5760405162461bcd60e51b815260040180806020018281038252602681526020018061456b6026913960400191505060405180910390fd5b6119d5613982565b15611a115760405162461bcd60e51b815260040180806020018281038252602681526020018061456b6026913960400191505060405180910390fd5b600254421015611a64576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611aa857600080fd5b505afa158015611abc573d6000803e3d6000fd5b505050506040513d6020811015611ad257600080fd5b50516001600160a01b0316148015611b6057506006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611b2957600080fd5b505afa158015611b3d573d6000803e3d6000fd5b505050506040513d6020811015611b5357600080fd5b50516001600160a01b0316145b8015611be257506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611bab57600080fd5b505afa158015611bbf573d6000803e3d6000fd5b505050506040513d6020811015611bd557600080fd5b50516001600160a01b0316145b611c33576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b60008211611c725760405162461bcd60e51b81526004018080602001828103825260308152602001806144396030913960400191505060405180910390fd5b6000611c7c61346d565b9050818114611cd2576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a20545249504f4c4152207072696365206d6f7665640000604482015290519081900360640190fd5b600b548110611d125760405162461bcd60e51b81526004018080602001828103825260378152602001806143446037913960400191505060405180910390fd5b600454831115611d535760405162461bcd60e51b815260040180806020018281038252602a8152602001806145c7602a913960400191505060405180910390fd5b6000611d5d610cb9565b905060008111611db4576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000611dcc670de0b6b3a7640000610d0387856137e5565b90506000611dd8610e0d565b90506000611e6083600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e2e57600080fd5b505afa158015611e42573d6000803e3d6000fd5b505050506040513d6020811015611e5857600080fd5b505190613909565b9050611e7d612710610d03601454856137e590919063ffffffff16565b811115611ec7576040805162461bcd60e51b81526020600482015260136024820152726f766572206d6178206465627420726174696f60681b604482015290519081900360640190fd5b6006546040805163079cc67960e41b8152336004820152602481018a905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b158015611f1a57600080fd5b505af1158015611f2e573d6000803e3d6000fd5b5050600754604080516340c10f1960e01b81523360048201526024810188905290516001600160a01b0390921693506340c10f1992506044808201926020929091908290030181600087803b158015611f8657600080fd5b505af1158015611f9a573d6000803e3d6000fd5b505050506040513d6020811015611fb057600080fd5b5050600454611fbf90886138ac565b600455611fca613a09565b6040805188815260208101859052815133927f8d4d82b32edc2141d9566e4f640295cbd1de32b8e899b1643ae6c585ce64c8c4928290030190a25050436000908152602081815260408083203284529091528082208054600160ff19918216811790925533845291909220805490911690911790555050505050565b601f5481565b6001546001600160a01b031681565b6001546001600160a01b031633146120a45760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b6103e881101580156120b857506127108111155b6120f8576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601455565b600d5490565b600d5481565b6007546001600160a01b031681565b612120613963565b1561215c5760405162461bcd60e51b815260040180806020018281038252602681526020018061456b6026913960400191505060405180910390fd5b612164613982565b156121a05760405162461bcd60e51b815260040180806020018281038252602681526020018061456b6026913960400191505060405180910390fd5b6002544210156121f3576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6121fb613231565b42101561224f576040805162461bcd60e51b815260206004820152601860248201527f54726561737572793a206e6f74206f70656e6564207965740000000000000000604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561229357600080fd5b505afa1580156122a7573d6000803e3d6000fd5b505050506040513d60208110156122bd57600080fd5b50516001600160a01b031614801561234b57506006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561231457600080fd5b505afa158015612328573d6000803e3d6000fd5b505050506040513d602081101561233e57600080fd5b50516001600160a01b0316145b80156123cd57506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561239657600080fd5b505afa1580156123aa573d6000803e3d6000fd5b505050506040513d60208110156123c057600080fd5b50516001600160a01b0316145b61241e576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b612426613a09565b61242e61346d565b601755600d5460009061244990612443610e0d565b906138ac565b9050601554600354101561247f5761247a612475612710610d03601654856137e590919063ffffffff16565b613a6d565b6126cc565b600c5460175411156126cc57600754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156124d057600080fd5b505afa1580156124e4573d6000803e3d6000fd5b505050506040513d60208110156124fa57600080fd5b5051600b54601754919250600091612511916138ac565b9050600080600061252b655af3107a4000610d2e88613dad565b905080841115612539578093505b612554612710610d03601154886137e590919063ffffffff16565b600d541061257957612572670de0b6b3a7640000610d0388876137e5565b91506125e5565b6000612591670de0b6b3a7640000610d0389886137e5565b90506125ae612710610d03601254846137e590919063ffffffff16565b92506125ba81846138ac565b601d54909450156125e3576125e0612710610d03601d54876137e590919063ffffffff16565b93505b505b81156125f4576125f482613a6d565b82156126c657600d546126079084613909565b600d55600654604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b15801561265e57600080fd5b505af1158015612672573d6000803e3d6000fd5b505050506040513d602081101561268857600080fd5b5050604080514281526020810185905281517ff705142bf09f04297640495ddf7c59b7fd6f51894c5aea9602d631cf05f0efc2929181900390910190a15b50505050505b506003546126db906001613909565b600355600c546126e961346d565b1161270757612702612710610d03601354610d2e610e0d565b61270a565b60005b600455436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6001546001600160a01b031633146127915760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b6009546040805163b3ab15fb60e01b81526001600160a01b0384811660048301529151919092169163b3ab15fb91602480830192600092919082900301818387803b1580156127df57600080fd5b505af11580156127f3573d6000803e3d6000fd5b5050505050565b6009546001600160a01b031681565b6001546001600160a01b031633146128525760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b6101f4811015801561286657506127108111155b6128a6576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601155565b6001546001600160a01b031633146128f45760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008061292161346d565b9050600c54811115610d6757600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561297857600080fd5b505afa15801561298c573d6000803e3d6000fd5b505050506040513d60208110156129a257600080fd5b5051905060006129b0610d6b565b90508015610d6457610f4d81610d0384670de0b6b3a76400006137e5565b6001546001600160a01b03163314612a175760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b60095460408051632ffaaa0960e01b8152600481018590526024810184905290516001600160a01b0390921691632ffaaa099160448082019260009290919082900301818387803b158015612a6b57600080fd5b505af1158015612a7f573d6000803e3d6000fd5b505050505050565b60025481565b60115481565b60058181548110612aa057fe5b6000918252602090912001546001600160a01b0316905081565b60165481565b600080612acb61346d565b9050600b548111610d67576000612ae0610e0d565b90506000612aff612710610d03601454856137e590919063ffffffff16565b90506000600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612b5157600080fd5b505afa158015612b65573d6000803e3d6000fd5b505050506040513d6020811015612b7b57600080fd5b5051905080821115612bc0576000612b9383836138ac565b90506000612bad670de0b6b3a7640000610d0384896137e5565b9050612bbb600454826139a1565b965050505b5050505090565b601e546001600160a01b031681565b60035481565b6001546001600160a01b03163314612c255760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b6078821115612c7b576040805162461bcd60e51b815260206004820152601e60248201527f5f626f6f74737472617045706f6368733a206f7574206f662072616e67650000604482015290519081900360640190fd5b60648110158015612c8e57506103e88111155b612cc95760405162461bcd60e51b815260040180806020018281038252602e8152602001806145f1602e913960400191505060405180910390fd5b601591909155601655565b6001546000906001600160a01b03163314612d205760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b60098360ff1610612d625760405162461bcd60e51b81526004018080602001828103825260298152602001806144ba6029913960400191505060405180910390fd5b60ff831615612d9457600e6001840360ff1681548110612d7e57fe5b90600052602060002001548211612d9457600080fd5b60088360ff161015612dc957600e8360010160ff1681548110612db357fe5b90600052602060002001548210612dc957600080fd5b81600e8460ff1681548110612dda57fe5b6000918252602090912001555060015b92915050565b6001546001600160a01b03163314612e395760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b60095460408051631515d6bd60e21b81526001600160a01b038681166004830152602482018690528481166044830152915191909216916354575af491606480830192600092919082900301818387803b158015612e9657600080fd5b505af1158015612eaa573d6000803e3d6000fd5b50505050505050565b6001546001600160a01b03163314612efc5760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b601855565b600e8181548110612f0e57fe5b600091825260209091200154905081565b600f8181548110612f0e57fe5b6001546001600160a01b03163314612f755760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b601955565b60175481565b6001546001600160a01b03163314612fc95760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61546081565b60185481565b6006546001600160a01b031681565b6001546001600160a01b0316331461304f5760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b6001600160a01b038416613093576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b610bb88311156130d9576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b6001600160a01b03821661311d576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6103e8811115613163576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601e80546001600160a01b03199081166001600160a01b0396871617909155601f939093556020805490931691909316179055602155565b6001546001600160a01b031633146131e45760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600954604080516397ffe1d760e01b81526004810184905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b1580156127df57600080fd5b600061325661324d6154606003546137e590919063ffffffff16565b60025490613909565b905090565b601c5481565b601b5481565b6001546001600160a01b031633146132b05760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b606481101580156132c357506105dc8111155b613303576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601355565b6001546000906001600160a01b031633146133545760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b60098360ff16106133965760405162461bcd60e51b81526004018080602001828103825260298152602001806144ba6029913960400191505060405180910390fd5b600a82101580156133a957506103e88211155b6133f1576040805162461bcd60e51b81526020600482015260146024820152735f76616c75653a206f7574206f662072616e676560601b604482015290519081900360640190fd5b81600f8460ff1681548110612dda57fe5b6001546001600160a01b0316331461344b5760405162461bcd60e51b81526004018080602001828103825260248152602001806144e36024913960400191505060405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600a5460065460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b158015610ba457600080fd5b60105481565b60145481565b600154600160a01b900460ff161561353a576040805162461bcd60e51b815260206004820152601d60248201527f54726561737572793a20616c726561647920696e697469616c697a6564000000604482015290519081900360640190fd5b600680546001600160a01b03199081166001600160a01b038a811691909117909255600780548216898416179055600880548216888416179055600a8054821687841617905560098054909116918516919091179055600282905580516135a89060059060208401906141eb565b50670de0b6b3a7640000600b8190556135c990606490610d039060656137e5565b600c5560408051610120810182526000815269152d02c7e14af68000006020820152691b87506a3e7b0d400000918101919091526922f0aafd00887d2000006060820152692c781f708c509f40000060808201526934f086f3b33b6840000060a0820152693d68ee76da263140000060c08201526945e155fa0110fa40000060e082015269d1a401ee0332eec0000061010082015261366c90600e90600961424c565b50604080516101208101825260fa815260e1602082015260c89181019190915260af606082015260966080820152607d60a0820152606460c0820152604b60e082015260326101008201526136c590600f9060096142a1565b50610190601055612710601155610dac601281905561012c601355601455606e601b55611b58601c5560006015556101c2601655600654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561374457600080fd5b505afa158015613758573d6000803e3d6000fd5b505050506040513d602081101561376e57600080fd5b5051600d55600180546001600160a01b031960ff60a01b19909116600160a01b1716339081179091556040805143815290517f25ff68dd81b34665b5ba7e553ee5511bf6812e12adb4a7e2c0d9e26b3099ce799181900360200190a250505050505050565b60135481565b60155481565b60045481565b6000826137f457506000612dea565b8282028284828161380157fe5b041461383e5760405162461bcd60e51b81526004018080602001828103825260218152602001806144186021913960400191505060405180910390fd5b9392505050565b600080821161389b576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816138a457fe5b049392505050565b600082821115613903576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561383e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b4360009081526020818152604080832032845290915290205460ff1690565b4360009081526020818152604080832033845290915290205460ff1690565b60008183106139b0578161383e565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611984908490613e0a565b600a60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613a5957600080fd5b505af1925050508015613a6a575060015b50565b600654604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b158015613ac157600080fd5b505af1158015613ad5573d6000803e3d6000fd5b505050506040513d6020811015613aeb57600080fd5b5050601f5460009015613bd657613b13612710610d03601f54856137e590919063ffffffff16565b600654601e546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b158015613b6e57600080fd5b505af1158015613b82573d6000803e3d6000fd5b505050506040513d6020811015613b9857600080fd5b5050604080514281526020810183905281517fcb3f34aaa3445b461e6da5492dc89e5c257a59fa598131f3b6bbc97a3638e409929181900390910190a15b60215460009015613cbc57613bfc612710610d03602154866137e590919063ffffffff16565b600654602080546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101869052905194955092169263a9059cbb9260448082019392918290030181600087803b158015613c5457600080fd5b505af1158015613c68573d6000803e3d6000fd5b505050506040513d6020811015613c7e57600080fd5b5050604080514281526020810183905281517fdc8b715b18523e58b7fd0da53259dfa91efd91df4a854d94b136e3333a3b9395929181900390910190a15b613cca8161244385856138ac565b600954600654919450613ceb916001600160a01b0390811691166000613ebb565b600954600654613d08916001600160a01b03918216911685613ebb565b600954604080516397ffe1d760e01b81526004810186905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b158015613d5557600080fd5b505af1158015613d69573d6000803e3d6000fd5b5050604080514281526020810187905281517fa72fa2f263b243b0f0e1fec5f3d49d33de573d15929b6b730c6b8ab3838c1c4d9450908190039091019150a1505050565b600060085b600e8160ff1681548110613dc257fe5b90600052602060002001548310613df757600f8160ff1681548110613de357fe5b600091825260209091200154601055613e00565b60001901613db2565b5050601054919050565b6060613e5f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613fce9092919063ffffffff16565b80519091501561198457808060200190516020811015613e7e57600080fd5b50516119845760405162461bcd60e51b815260040180806020018281038252602a815260200180614541602a913960400191505060405180910390fd5b801580613f41575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015613f1357600080fd5b505afa158015613f27573d6000803e3d6000fd5b505050506040513d6020811015613f3d57600080fd5b5051155b613f7c5760405162461bcd60e51b81526004018080602001828103825260368152602001806145916036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611984908490613e0a565b6060613fdd8484600085613fe5565b949350505050565b6060824710156140265760405162461bcd60e51b815260040180806020018281038252602681526020018061439f6026913960400191505060405180910390fd5b61402f85614141565b614080576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106140bf5780518252601f1990920191602091820191016140a0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614121576040519150601f19603f3d011682016040523d82523d6000602084013e614126565b606091505b5091509150614136828286614147565b979650505050505050565b3b151590565b6060831561415657508161383e565b8251156141665782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156141b0578181015183820152602001614198565b50505050905090810190601f1680156141dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215614240579160200282015b8281111561424057825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061420b565b50610d679291506142e1565b828054828255906000526020600020908101928215614295579160200282015b82811115614295578251829069ffffffffffffffffffff1690559160200191906001019061426c565b50610d67929150614300565b828054828255906000526020600020908101928215614295579160200282015b82811115614295578251829060ff169055916020019190600101906142c1565b5b80821115610d675780546001600160a01b03191681556001016142e2565b5b80821115610d67576000815560010161430156fe54726561737572793a2063616e6e6f742072656465656d20626f6e64732077697468207a65726f20616d6f756e7454726561737572793a20545249504f4c4152205072696365206e6f7420656c696769626c6520666f7220626f6e642070757263686173655f7072656d69756d5468726573686f6c6420697320686967686572207468616e20312e35416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c54726561737572793a20747265617375727920686173206e6f206d6f7265206275646765745f7072656d69756d5468726573686f6c64206578636565647320747269706f6c617250726963654365696c696e67536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754726561737572793a2063616e6e6f7420707572636861736520626f6e64732077697468207a65726f20616d6f756e745f6d696e74696e67466163746f72466f72506179696e67446562743a206f7574206f662072616e67655f6d6178537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765496e6465782068617320746f206265206c6f776572207468616e20636f756e74206f6620746965727354726561737572793a2063616c6c6572206973206e6f7420746865206f70657261746f7254726561737572793a206661696c656420746f20636f6e73756c7420545249504f4c41522070726963652066726f6d20746865206f7261636c655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756e6374696f6e5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636554726561737572793a206e6f7420656e6f75676820626f6e64206c65667420746f2070757263686173655f626f6f747374726170537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765a264697066735822122013d80aa872080181df00b42a1b47cb8868a9e335d55f022765cb10ca71fc571764736f6c634300060c0033

Deployed ByteCode Sourcemap

33728:22884:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35698:35;;;:::i;:::-;;;;;;;;;;;;;;;;47578:328;;;;;;;;;;;;;;;;-1:-1:-1;47578:328:0;;:::i;:::-;;38082:321;;;:::i;43851:319::-;;;;;;;;;;;;;;;;-1:-1:-1;43851:319:0;;:::i;39775:763::-;;;:::i;40546:821::-;;;:::i;48629:486::-;;;:::i;50521:1155::-;;;;;;;;;;;;;;;;-1:-1:-1;50521:1155:0;;;;;;;:::i;47363:207::-;;;;;;;;;;;;;;;;-1:-1:-1;47363:207:0;;:::i;34094:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;34433:21;;;:::i;:::-;;;;-1:-1:-1;;;;;34433:21:0;;;;;;;;;;;;;;34838:47;;;:::i;43538:305::-;;;;;;;;;;;;;;;;-1:-1:-1;43538:305:0;;:::i;35393:30::-;;;:::i;34544:31::-;;;:::i;35334:29::-;;;:::i;37510:89::-;;;:::i;35504:41::-;;;:::i;47914:201::-;;;;;;;;;;;;;;;;-1:-1:-1;47914:201:0;;:::i;34492:29::-;;;:::i;35669:22::-;;;:::i;34582:35::-;;;:::i;48123:330::-;;;;;;;;;;;;;;;;-1:-1:-1;48123:330:0;;:::i;55448:431::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55448:431:0;;;;;;;;;;;;;;;;;:::i;49123:1390::-;;;;;;;;;;;;;;;;-1:-1:-1;49123:1390:0;;;;;;;:::i;35625:35::-;;;:::i;34048:23::-;;;:::i;45701:257::-;;;;;;;;;;;;;;;;-1:-1:-1;45701:257:0;;:::i;38426:94::-;;;:::i;34626:31::-;;;:::i;34404:22::-;;;:::i;53117:2323::-;;;:::i;55887:128::-;;;;;;;;;;;;;;;;-1:-1:-1;55887:128:0;-1:-1:-1;;;;;55887:128:0;;:::i;34463:22::-;;;:::i;45091:291::-;;;;;;;;;;;;;;;;-1:-1:-1;45091:291:0;;:::i;43405:125::-;;;;;;;;;;;;;;;;-1:-1:-1;43405:125:0;-1:-1:-1;;;;;43405:125:0;;:::i;39313:454::-;;;:::i;56023:198::-;;;;;;;;;;;;;;;;-1:-1:-1;56023:198:0;;;;;;;:::i;34148:24::-;;;:::i;34791:40::-;;;:::i;34301:::-;;;;;;;;;;;;;;;;-1:-1:-1;34301:40:0;;:::i;35103:46::-;;;:::i;38528:777::-;;;:::i;35596:22::-;;;:::i;34179:24::-;;;:::i;45966:499::-;;;;;;;;;;;;;;;;-1:-1:-1;45966:499:0;;;;;;;:::i;44178:492::-;;;;;;;;;;;;;;;;-1:-1:-1;44178:492:0;;;;;;;;;:::i;56375:234::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;56375:234:0;;;;;;;;;;;;;;;;;:::i;47093:129::-;;;;;;;;;;;;;;;;-1:-1:-1;47093:129:0;;:::i;34666:28::-;;;;;;;;;;;;;;;;-1:-1:-1;34666:28:0;;:::i;34701:34::-;;;;;;;;;;;;;;;;-1:-1:-1;34701:34:0;;:::i;47230:125::-;;;;;;;;;;;;;;;;-1:-1:-1;47230:125:0;;:::i;35225:41::-;;;:::i;43191:101::-;;;;;;;;;;;;;;;;-1:-1:-1;43191:101:0;-1:-1:-1;;;;;43191:101:0;;:::i;33929:40::-;;;:::i;35273:30::-;;;:::i;34374:23::-;;;:::i;46473:612::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46473:612:0;;;;;;;;;;;;;;;;;;;;:::i;56229:138::-;;;;;;;;;;;;;;;;-1:-1:-1;56229:138:0;;:::i;37621:114::-;;;:::i;35468:29::-;;;:::i;35430:31::-;;;:::i;45390:303::-;;;;;;;;;;;;;;;;-1:-1:-1;45390:303:0;;:::i;44678:405::-;;;;;;;;;;;;;;;;-1:-1:-1;44678:405:0;;;;;;;;;:::i;43300:97::-;;;;;;;;;;;;;;;;-1:-1:-1;43300:97:0;-1:-1:-1;;;;;43300:97:0;;:::i;37758:316::-;;;:::i;34744:40::-;;;:::i;34941:34::-;;;:::i;41421:1762::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41421:1762:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41421:1762:0;;-1:-1:-1;41421:1762:0;;-1:-1:-1;;;;;41421:1762:0:i;34892:42::-;;;:::i;35066:30::-;;;:::i;34210:45::-;;;:::i;35698:35::-;;;;:::o;47578:328::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47696:20:::1;;47675:17;:41;;47667:100;;;;-1:-1:-1::0;;;47667:100:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47807:3;47786:17;:24;;47778:73;;;;-1:-1:-1::0;;;47778:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47862:16;:36:::0;47578:328::o;38082:321::-;38185:14;;38206:8;;38177:44;;;-1:-1:-1;;;38177:44:0;;-1:-1:-1;;;;;38206:8:0;;;38177:44;;;;38216:4;38177:44;;;;;;38138:22;;38185:14;;;;;38177:28;;:44;;;;;;;;;;;;;;;38185:14;38177:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38177:44:0;;;38173:223;;38316:68;;-1:-1:-1;;;38316:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38173:223;38268:14;;;-1:-1:-1;38082:321:0;:::o;43851:319::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43997:2:::1;43967:26;:32;;:70;;;;;44033:4;44003:26;:34;;43967:70;43959:123;;;;-1:-1:-1::0;;;43959:123:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44108:25;:54:::0;43851:319::o;39775:763::-;39827:13;39853:22;39878:18;:16;:18::i;:::-;39853:43;;39929:16;;39911:14;:34;39907:624;;39966:15;;39962:558;;40047:16;;40039:24;;39962:558;;;40104:19;40126:46;40157:14;40126:26;40147:4;40126:16;;:20;;:26;;;;:::i;:::-;:30;;:46::i;:::-;40104:68;;40213:23;40239:65;40298:5;40239:54;40277:15;;40239:33;40255:16;;40239:11;:15;;:33;;;;:::i;:::-;:37;;:54::i;:65::-;40331:16;;40213:91;;-1:-1:-1;40331:37:0;;40213:91;40331:20;:37::i;:::-;40323:45;;40409:1;40391:15;;:19;:46;;;;;40422:15;;40414:5;:23;40391:46;40387:118;;;40470:15;;40462:23;;40387:118;39962:558;;;39775:763;;:::o;40546:821::-;40597:13;40623:22;40648:18;:16;:18::i;:::-;40623:43;;40698:20;;40681:14;:37;40677:683;;;40735:38;40776:47;40819:3;40776:38;40797:16;;40776;;:20;;:38;;;;:::i;:47::-;40735:88;;40860:30;40842:14;:48;40838:511;;40943:22;40968:67;41029:5;40968:56;41009:14;;40968:36;40987:16;;40968:14;:18;;:36;;;;:::i;:67::-;41062:16;;40943:92;;-1:-1:-1;41062:36:0;;40943:92;41062:20;:36::i;:::-;41054:44;;41138:1;41121:14;;:18;:44;;;;;41151:14;;41143:5;:22;41121:44;41117:115;;;41198:14;;41190:22;;41117:115;40838:511;;;;41317:16;;41309:24;;40838:511;40677:683;40546:821;;:::o;48629:486::-;48740:8;;48782:27;;;-1:-1:-1;;;48782:27:0;;;;48690:7;;-1:-1:-1;;;;;48740:8:0;;48690:7;;48740:8;;48782:25;;:27;;;;;;;;;;;;;;48740:8;48782:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48782:27:0;;-1:-1:-1;48820:23:0;;48858:200;48892:23;:30;48882:40;;;;48858:200;;;48968:78;48988:13;-1:-1:-1;;;;;48988:23:0;;49012;49036:7;49012:32;;;;;;;;;;;;;;;;;;;;;48988:57;;;-1:-1:-1;;;;;;48988:57:0;;;;;;;-1:-1:-1;;;;;49012:32:0;;;48988:57;;;;;;;;;;49012:32;48988:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48988:57:0;48968:15;;:19;:78::i;:::-;48950:96;-1:-1:-1;48924:9:0;;48858:200;;;-1:-1:-1;49075:32:0;:11;49091:15;49075;:32::i;:::-;49068:39;;;;;48629:486;:::o;50521:1155::-;2383:28;:26;:28::i;:::-;2382:29;2374:80;;;;-1:-1:-1;;;2374:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:28;:26;:28::i;:::-;2473:29;2465:80;;;;-1:-1:-1;;;2465:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36625:9:::1;;36618:3;:16;;36610:54;;;::::0;;-1:-1:-1;;;36610:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36610:54:0;;;;;;;;;;;;;::::1;;37080:8:::2;::::0;37068:32:::2;::::0;;-1:-1:-1;;;37068:32:0;;;;37112:4:::2;::::0;-1:-1:-1;;;;;37080:8:0::2;::::0;37068:30:::2;::::0;:32:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37080:8;37068:32;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37068:32:0;-1:-1:-1;;;;;37068:49:0::2;;:119:::0;::::2;;;-1:-1:-1::0;37150:8:0::2;::::0;37138:32:::2;::::0;;-1:-1:-1;;;37138:32:0;;;;37182:4:::2;::::0;-1:-1:-1;;;;;37150:8:0::2;::::0;37138:30:::2;::::0;:32:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37150:8;37138:32;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37138:32:0;-1:-1:-1;;;;;37138:49:0::2;;37068:119;:185;;;;-1:-1:-1::0;37217:7:0::2;::::0;37208:28:::2;::::0;;-1:-1:-1;;;37208:28:0;;;;37248:4:::2;::::0;-1:-1:-1;;;;;37217:7:0::2;::::0;37208:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37217:7;37208:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37208:28:0;-1:-1:-1;;;;;37208:45:0::2;;37068:185;37046:265;;;::::0;;-1:-1:-1;;;37046:265:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;50668:1:::3;50654:11;:15;50646:74;;;;-1:-1:-1::0;;;50646:74:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50733:21;50757:18;:16;:18::i;:::-;50733:42;;50811:11;50794:13;:28;50786:71;;;::::0;;-1:-1:-1;;;50786:71:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;50906:20;;50890:13;:36;50868:158;;;;-1:-1:-1::0;;;50868:158:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51039:13;51055:20;:18;:20::i;:::-;51039:36;;51102:1;51094:5;:9;51086:49;;;::::0;;-1:-1:-1;;;51086:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;51148:23;51174:32;51201:4;51174:22;:11:::0;51190:5;51174:15:::3;:22::i;:32::-;51232:8;::::0;51225:41:::3;::::0;;-1:-1:-1;;;51225:41:0;;51260:4:::3;51225:41;::::0;::::3;::::0;;;51148:58;;-1:-1:-1;51148:58:0;;-1:-1:-1;;;;;51232:8:0;;::::3;::::0;51225:26:::3;::::0;:41;;;;;::::3;::::0;;;;;;;;;51232:8;51225:41;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;51225:41:0;:60:::3;;51217:110;;;;-1:-1:-1::0;;;51217:110:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51359:65;51380:43;51389:16;;51407:15;51380:8;:43::i;:::-;51359:16;::::0;;:20:::3;:65::i;:::-;51340:16;:84:::0;51449:7:::3;::::0;51437:54:::3;::::0;;-1:-1:-1;;;51437:54:0;;51467:10:::3;51437:54;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;51449:7:0;;::::3;::::0;51437:29:::3;::::0;:54;;;;;51449:7:::3;::::0;51437:54;;;;;;;;51449:7;;51437:54;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;51509:8:0::3;::::0;51502:58:::3;::::0;-1:-1:-1;;;;;;51509:8:0::3;::::0;-1:-1:-1;51532:10:0::3;51544:15:::0;51502:29:::3;:58::i;:::-;51573:22;:20;:22::i;:::-;51613:55;::::0;;;;;::::3;::::0;::::3;::::0;;;;;51627:10:::3;::::0;51613:55:::3;::::0;;;;;;::::3;-1:-1:-1::0;;2580:12:0;2572:7;:21;;;;;;;;;;;2594:9;2572:32;;;;;;;;:39;;2607:4;-1:-1:-1;;2572:39:0;;;;;;;;2644:10;2622:33;;;;;;:40;;;;;;;;;;-1:-1:-1;;;50521:1155:0:o;47363:207::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47478:5:::1;47458:16;:25;;47450:67;;;::::0;;-1:-1:-1;;;47450:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;47528:15;:34:::0;47363:207::o;34094:31::-;;;-1:-1:-1;;;34094:31:0;;;;;:::o;34433:21::-;;;-1:-1:-1;;;;;34433:21:0;;:::o;34838:47::-;;;;:::o;43538:305::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43668:16:::1;;43643:21;:41;;:104;;;;;43713:34;43743:3;43713:25;43734:3;43713:16;;:20;;:25;;;;:::i;:34::-;43688:21;:59;;43643:104;43635:129;;;::::0;;-1:-1:-1;;;43635:129:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43635:129:0;;;;;;;;;;;;;::::1;;43791:20;:44:::0;43538:305::o;35393:30::-;;;;:::o;34544:31::-;;;;:::o;35334:29::-;;;;:::o;37510:89::-;37580:11;;-1:-1:-1;;;37580:11:0;;;;;37510:89::o;35504:41::-;;;;:::o;47914:201::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48026:5:::1;48007:15;:24;;47999:65;;;::::0;;-1:-1:-1;;;47999:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48075:14;:32:::0;47914:201::o;34492:29::-;;;-1:-1:-1;;;;;34492:29:0;;:::o;35669:22::-;;;-1:-1:-1;;;;;35669:22:0;;:::o;34582:35::-;;;;:::o;48123:330::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48271:5:::1;48240:27;:36;;:76;;;;;48311:5;48280:27;:36;;48240:76;48232:130;;;;-1:-1:-1::0;;;48232:130:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48389:26;:56:::0;48123:330::o;55448:431::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55679:8:::1;::::0;-1:-1:-1;;;;;55652:36:0;;::::1;55679:8:::0;::::1;55652:36;;55644:57;;;::::0;;-1:-1:-1;;;55644:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55644:57:0;;;;;;;;;;;;;::::1;;55747:7;::::0;-1:-1:-1;;;;;55720:35:0;;::::1;55747:7:::0;::::1;55720:35;;55712:52;;;::::0;;-1:-1:-1;;;55712:52:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;55712:52:0;;;;;;;;;;;;;::::1;;55810:6;::::0;-1:-1:-1;;;;;55783:34:0;;::::1;55810:6:::0;::::1;55783:34;;55775:52;;;::::0;;-1:-1:-1;;;55775:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55775:52:0;;;;;;;;;;;;;::::1;;55838:33;-1:-1:-1::0;;;;;55838:19:0;::::1;55858:3:::0;55863:7;55838:19:::1;:33::i;:::-;55448:431:::0;;;:::o;49123:1390::-;2383:28;:26;:28::i;:::-;2382:29;2374:80;;;;-1:-1:-1;;;2374:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:28;:26;:28::i;:::-;2473:29;2465:80;;;;-1:-1:-1;;;2465:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36625:9:::1;;36618:3;:16;;36610:54;;;::::0;;-1:-1:-1;;;36610:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36610:54:0;;;;;;;;;;;;;::::1;;37080:8:::2;::::0;37068:32:::2;::::0;;-1:-1:-1;;;37068:32:0;;;;37112:4:::2;::::0;-1:-1:-1;;;;;37080:8:0::2;::::0;37068:30:::2;::::0;:32:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37080:8;37068:32;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37068:32:0;-1:-1:-1;;;;;37068:49:0::2;;:119:::0;::::2;;;-1:-1:-1::0;37150:8:0::2;::::0;37138:32:::2;::::0;;-1:-1:-1;;;37138:32:0;;;;37182:4:::2;::::0;-1:-1:-1;;;;;37150:8:0::2;::::0;37138:30:::2;::::0;:32:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37150:8;37138:32;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37138:32:0;-1:-1:-1;;;;;37138:49:0::2;;37068:119;:185;;;;-1:-1:-1::0;37217:7:0::2;::::0;37208:28:::2;::::0;;-1:-1:-1;;;37208:28:0;;;;37248:4:::2;::::0;-1:-1:-1;;;;;37217:7:0::2;::::0;37208:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37217:7;37208:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37208:28:0;-1:-1:-1;;;;;37208:45:0::2;;37068:185;37046:265;;;::::0;;-1:-1:-1;;;37046:265:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;49275:1:::3;49257:15;:19;49249:80;;;;-1:-1:-1::0;;;49249:80:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49342:21;49366:18;:16;:18::i;:::-;49342:42;;49420:11;49403:13;:28;49395:71;;;::::0;;-1:-1:-1;;;49395:71:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;49515:16;;49499:13;:32;49477:151;;;;-1:-1:-1::0;;;49477:151:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49668:26;;49649:15;:45;;49641:100;;;;-1:-1:-1::0;;;49641:100:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49754:13;49770:21;:19;:21::i;:::-;49754:37;;49818:1;49810:5;:9;49802:49;;;::::0;;-1:-1:-1;;;49802:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;49864:19;49886:36;49917:4;49886:26;:15:::0;49906:5;49886:19:::3;:26::i;:36::-;49864:58;;49933:22;49958:30;:28;:30::i;:::-;49933:55;;49999:21;50023:46;50057:11;50030:7;;;;;;;;;-1:-1:-1::0;;;;;50030:7:0::3;-1:-1:-1::0;;;;;50023:27:0::3;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;50023:29:0;;:33:::3;:46::i;:::-;49999:70;;50105:50;50149:5;50105:39;50124:19;;50105:14;:18;;:39;;;;:::i;:50::-;50088:13;:67;;50080:99;;;::::0;;-1:-1:-1;;;50080:99:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;50080:99:0;;;;;;;;;;;;;::::3;;50204:8;::::0;50192:59:::3;::::0;;-1:-1:-1;;;50192:59:0;;50223:10:::3;50192:59;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;50204:8:0;;::::3;::::0;50192:30:::3;::::0;:59;;;;;50204:8:::3;::::0;50192:59;;;;;;;;50204:8;;50192:59;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;50274:7:0::3;::::0;50262:50:::3;::::0;;-1:-1:-1;;;50262:50:0;;50288:10:::3;50262:50;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;50274:7:0;;::::3;::::0;-1:-1:-1;50262:25:0::3;::::0;-1:-1:-1;50262:50:0;;;;;::::3;::::0;;;;;;;;;50274:7:::3;::::0;50262:50;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;;50354:26:0::3;::::0;:47:::3;::::0;50385:15;50354:30:::3;:47::i;:::-;50325:26;:76:::0;50412:22:::3;:20;:22::i;:::-;50452:53;::::0;;;;;::::3;::::0;::::3;::::0;;;;;50464:10:::3;::::0;50452:53:::3;::::0;;;;;;::::3;-1:-1:-1::0;;2580:12:0;2572:7;:21;;;;;;;;;;;2594:9;2572:32;;;;;;;;:39;;2607:4;-1:-1:-1;;2572:39:0;;;;;;;;2644:10;2622:33;;;;;;:40;;;;;;;;;;-1:-1:-1;;;;;49123:1390:0:o;35625:35::-;;;;:::o;34048:23::-;;;-1:-1:-1;;;;;34048:23:0;;:::o;45701:257::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45828:4:::1;45804:20;:28;;:61;;;;;45860:5;45836:20;:29;;45804:61;45796:86;;;::::0;;-1:-1:-1;;;45796:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45796:86:0;;;;;;;;;;;;;::::1;;45908:19;:42:::0;45701:257::o;38426:94::-;38496:16;;38426:94;:::o;34626:31::-;;;;:::o;34404:22::-;;;-1:-1:-1;;;;;34404:22:0;;:::o;53117:2323::-;2383:28;:26;:28::i;:::-;2382:29;2374:80;;;;-1:-1:-1;;;2374:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:28;:26;:28::i;:::-;2473:29;2465:80;;;;-1:-1:-1;;;2465:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36625:9:::1;;36618:3;:16;;36610:54;;;::::0;;-1:-1:-1;;;36610:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36610:54:0;;;;;;;;;;;;;::::1;;36740:16:::2;:14;:16::i;:::-;36733:3;:23;;36725:60;;;::::0;;-1:-1:-1;;;36725:60:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;37080:8:::3;::::0;37068:32:::3;::::0;;-1:-1:-1;;;37068:32:0;;;;37112:4:::3;::::0;-1:-1:-1;;;;;37080:8:0::3;::::0;37068:30:::3;::::0;:32:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37080:8;37068:32;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37068:32:0;-1:-1:-1;;;;;37068:49:0::3;;:119:::0;::::3;;;-1:-1:-1::0;37150:8:0::3;::::0;37138:32:::3;::::0;;-1:-1:-1;;;37138:32:0;;;;37182:4:::3;::::0;-1:-1:-1;;;;;37150:8:0::3;::::0;37138:30:::3;::::0;:32:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37150:8;37138:32;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37138:32:0;-1:-1:-1;;;;;37138:49:0::3;;37068:119;:185;;;;-1:-1:-1::0;37217:7:0::3;::::0;37208:28:::3;::::0;;-1:-1:-1;;;37208:28:0;;;;37248:4:::3;::::0;-1:-1:-1;;;;;37217:7:0::3;::::0;37208:26:::3;::::0;:28:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37217:7;37208:28;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37208:28:0;-1:-1:-1;;;;;37208:45:0::3;;37068:185;37046:265;;;::::0;;-1:-1:-1;;;37046:265:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;53221:22:::4;:20;:22::i;:::-;53283:18;:16;:18::i;:::-;53254:26;:47:::0;53372:16:::4;::::0;53312:22:::4;::::0;53337:52:::4;::::0;:30:::4;:28;:30::i;:::-;:34:::0;::::4;:52::i;:::-;53312:77;;53412:15;;53404:5;;:23;53400:2033;;;53496:78;53511:62;53567:5;53511:51;53530:31;;53511:14;:18;;:51;;;;:::i;:62::-;53496:14;:78::i;:::-;53400:2033;;;53640:20;;53611:26;;:49;53607:1815;;;53809:7;::::0;53802:29:::4;::::0;;-1:-1:-1;;;53802:29:0;;;;53781:18:::4;::::0;-1:-1:-1;;;;;53809:7:0::4;::::0;53802:27:::4;::::0;:29:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;53809:7;53802:29;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;53802:29:0;53903:16:::4;::::0;53872:26:::4;::::0;53802:29;;-1:-1:-1;53850:19:0::4;::::0;53872:48:::4;::::0;:30:::4;:48::i;:::-;53850:70;;53939:21;53979:24:::0;54022:12:::4;54037:61;54093:4;54037:51;54073:14;54037:35;:51::i;:61::-;54022:76;;54135:4;54121:11;:18;54117:85;;;54178:4;54164:18;;54117:85;54244:52;54290:5;54244:41;54259:25;;54244:10;:14;;:41;;;;:::i;:52::-;54224:16;;:72;54220:789;;54409:41;54445:4;54409:31;:14:::0;54428:11;54409:18:::4;:31::i;:41::-;54390:60;;54220:789;;;54568:20;54591:41;54627:4;54591:31;:14:::0;54610:11;54591:18:::4;:31::i;:41::-;54568:64;;54674:61;54729:5;54674:50;54691:32;;54674:12;:16;;:50;;;;:::i;:61::-;54655:80:::0;-1:-1:-1;54774:34:0::4;:12:::0;54655:80;54774:16:::4;:34::i;:::-;54835:26;::::0;54758:50;;-1:-1:-1;54835:30:0;54831:159:::4;;54910:56;54960:5;54910:45;54928:26;;54910:13;:17;;:45;;;;:::i;:56::-;54894:72;;54831:159;54220:789;;55031:20:::0;;55027:101:::4;;55076:32;55091:16;55076:14;:32::i;:::-;55150:17:::0;;55146:261:::4;;55211:16;::::0;:35:::4;::::0;55232:13;55211:20:::4;:35::i;:::-;55192:16;:54:::0;55281:8:::4;::::0;55269:56:::4;::::0;;-1:-1:-1;;;55269:56:0;;55304:4:::4;55269:56;::::0;::::4;::::0;;;;;;;;;-1:-1:-1;;;;;55281:8:0;;::::4;::::0;55269:26:::4;::::0;:56;;;;;::::4;::::0;;;;;;;;;55281:8:::4;::::0;55269:56;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;;55353:34:0::4;::::0;;55368:3:::4;55353:34:::0;;55269:56:::4;55353:34:::0;::::4;::::0;;;;;::::4;::::0;;;;;;;;;::::4;55146:261;53607:1815;;;;;;-1:-1:-1::0;36820:5:0::2;::::0;:12:::2;::::0;36830:1:::2;36820:9;:12::i;:::-;36812:5;:20:::0;36894::::2;::::0;36873:18:::2;:16;:18::i;:::-;:41;36872:124;;36922:74;36990:5;36922:63;36957:27;;36922:30;:28;:30::i;:74::-;36872:124;;;36918:1;36872:124;36843:26;:153:::0;2580:12;2572:7;:21;;;;;;;;;;;2594:9;2572:32;;;;;;;;:39;;2607:4;-1:-1:-1;;2572:39:0;;;;;;;;2644:10;2622:33;;;;;;:40;;;;;;;;;;53117:2323::o;55887:128::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55976:7:::1;::::0;55967:40:::1;::::0;;-1:-1:-1;;;55967:40:0;;-1:-1:-1;;;;;55967:40:0;;::::1;;::::0;::::1;::::0;;;55976:7;;;::::1;::::0;55967:29:::1;::::0;:40;;;;;55976:7:::1;::::0;55967:40;;;;;;;55976:7;;55967:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55887:128:::0;:::o;34463:22::-;;;-1:-1:-1;;;;;34463:22:0;;:::o;45091:291::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45236:3:::1;45206:26;:33;;:72;;;;;45273:5;45243:26;:35;;45206:72;45198:97;;;::::0;;-1:-1:-1;;;45198:97:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45198:97:0;;;;;;;;;;;;;::::1;;45320:25;:54:::0;45091:291::o;43405:125::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43490:14:::1;:32:::0;;-1:-1:-1;;;;;;43490:32:0::1;-1:-1:-1::0;;;;;43490:32:0;;;::::1;::::0;;;::::1;::::0;;43405:125::o;39313:454::-;39364:24;39401:22;39426:18;:16;:18::i;:::-;39401:43;;39476:20;;39459:14;:37;39455:305;;;39545:8;;39538:41;;;-1:-1:-1;;;39538:41:0;;39573:4;39538:41;;;;;;39513:22;;-1:-1:-1;;;;;39545:8:0;;39538:26;;:41;;;;;;;;;;;;;;39545:8;39538:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39538:41:0;;-1:-1:-1;39594:13:0;39610:20;:18;:20::i;:::-;39594:36;-1:-1:-1;39649:9:0;;39645:104;;39698:35;39727:5;39698:24;:14;39717:4;39698:18;:24::i;56023:198::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56151:7:::1;::::0;56142:71:::1;::::0;;-1:-1:-1;;;56142:71:0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;56151:7:0;;::::1;::::0;56142:27:::1;::::0;:71;;;;;56151:7:::1;::::0;56142:71;;;;;;;;56151:7;;56142:71;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;56023:198:::0;;:::o;34148:24::-;;;;:::o;34791:40::-;;;;:::o;34301:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34301:40:0;;-1:-1:-1;34301:40:0;:::o;35103:46::-;;;;:::o;38528:777::-;38584:29;38626:22;38651:18;:16;:18::i;:::-;38626:43;;38702:16;;38684:14;:34;38680:618;;38735:23;38761:30;:28;:30::i;:::-;38735:56;;38806:22;38831:51;38876:5;38831:40;38851:19;;38831:15;:19;;:40;;;;:::i;:51::-;38806:76;;38897:19;38926:7;;;;;;;;;-1:-1:-1;;;;;38926:7:0;-1:-1:-1;;;;;38919:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38919:29:0;;-1:-1:-1;38967:28:0;;;38963:324;;;39016:24;39043:31;:14;39062:11;39043:18;:31::i;:::-;39016:58;-1:-1:-1;39093:28:0;39124:46;39165:4;39124:36;39016:58;39145:14;39124:20;:36::i;:46::-;39093:77;;39213:58;39222:26;;39250:20;39213:8;:58::i;:::-;39189:82;;38963:324;;;38680:618;;;38528:777;;:::o;35596:22::-;;;-1:-1:-1;;;;;35596:22:0;;:::o;34179:24::-;;;;:::o;45966:499::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46117:3:::1;46097:16;:23;;46089:66;;;::::0;;-1:-1:-1;;;46089:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;46224:3;46188:32;:39;;:83;;;;;46267:4;46231:32;:40;;46188:83;46180:142;;;;-1:-1:-1::0;;;46180:142:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46346:15;:34:::0;;;;46391:31:::1;:66:::0;45966:499::o;44178:492::-;36484:8;;44268:4;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44366:1:::1;44357:6;:10;;;44349:64;;;;-1:-1:-1::0;;;44349:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44428:10;::::0;::::1;::::0;44424:84:::1;;44472:11;44493:1;44484:6;:10;44472:23;;;;;;;;;;;;;;;;;;44463:6;:32;44455:41;;;::::0;::::1;;44531:1;44522:6;:10;;;44518:84;;;44566:11;44578:6;44587:1;44578:10;44566:23;;;;;;;;;;;;;;;;;;44557:6;:32;44549:41;;;::::0;::::1;;44634:6;44612:11;44624:6;44612:19;;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;:28:::0;-1:-1:-1;44658:4:0::1;36558:1;44178:492:::0;;;;:::o;56375:234::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56542:7:::1;::::0;56533:68:::1;::::0;;-1:-1:-1;;;56533:68:0;;-1:-1:-1;;;;;56533:68:0;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;56542:7;;;::::1;::::0;56533:46:::1;::::0;:68;;;;;56542:7:::1;::::0;56533:68;;;;;;;56542:7;;56533:68;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;56375:234:::0;;;:::o;47093:129::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47180:15:::1;:34:::0;47093:129::o;34666:28::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34666:28:0;:::o;34701:34::-;;;;;;;;;;47230:125;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47315:14:::1;:32:::0;47230:125::o;35225:41::-;;;;:::o;43191:101::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43264:8:::1;:20:::0;;-1:-1:-1;;;;;;43264:20:0::1;-1:-1:-1::0;;;;;43264:20:0;;;::::1;::::0;;;::::1;::::0;;43191:101::o;33929:40::-;33962:7;33929:40;:::o;35273:30::-;;;;:::o;34374:23::-;;;-1:-1:-1;;;;;34374:23:0;;:::o;46473:612::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46678:22:0;::::1;46670:39;;;::::0;;-1:-1:-1;;;46670:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;46670:39:0;;;;;;;;;;;;;::::1;;46753:4;46728:21;:29;;46720:54;;;::::0;;-1:-1:-1;;;46720:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46720:54:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;46803:22:0;::::1;46795:39;;;::::0;;-1:-1:-1;;;46795:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;46795:39:0;;;;;;;;;;;;;::::1;;46878:4;46853:21;:29;;46845:54;;;::::0;;-1:-1:-1;;;46845:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46845:54:0;;;;;;;;;;;;;::::1;;46920:7;:18:::0;;-1:-1:-1;;;;;;46920:18:0;;::::1;-1:-1:-1::0;;;;;46920:18:0;;::::1;;::::0;;;46949:20:::1;:44:::0;;;;47004:7:::1;:18:::0;;;;::::1;::::0;;;::::1;;::::0;;47033:20:::1;:44:::0;46473:612::o;56229:138::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56323:7:::1;::::0;56314:45:::1;::::0;;-1:-1:-1;;;56314:45:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;56323:7:0;;::::1;::::0;56314:37:::1;::::0;:45;;;;;56323:7:::1;::::0;56314:45;;;;;;;;56323:7;;56314:45;::::1;;::::0;::::1;;;;::::0;::::1;37621:114:::0;37668:7;37695:32;37709:17;33962:7;37709:5;;:9;;:17;;;;:::i;:::-;37695:9;;;:13;:32::i;:::-;37688:39;;37621:114;:::o;35468:29::-;;;;:::o;35430:31::-;;;;:::o;45390:303::-;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45541:3:::1;45509:28;:35;;:75;;;;;45580:4;45548:28;:36;;45509:75;45501:100;;;::::0;;-1:-1:-1;;;45501:100:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45501:100:0;;;;;;;;;;;;;::::1;;45627:27;:58:::0;45390:303::o;44678:405::-;36484:8;;44774:4;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44872:1:::1;44863:6;:10;;;44855:64;;;;-1:-1:-1::0;;;44855:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44948:2;44938:6;:12;;:30;;;;;44964:4;44954:6;:14;;44938:30;44930:63;;;::::0;;-1:-1:-1;;;44930:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44930:63:0;;;;;;;;;;;;;::::1;;45047:6;45019:17;45037:6;45019:25;;;;;;;;;43300:97:::0;36484:8;;-1:-1:-1;;;;;36484:8:0;36496:10;36484:22;36476:71;;;;-1:-1:-1;;;36476:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43371:7:::1;:18:::0;;-1:-1:-1;;;;;;43371:18:0::1;-1:-1:-1::0;;;;;43371:18:0;;;::::1;::::0;;;::::1;::::0;;43300:97::o;37758:316::-;37853:14;;37877:8;;37845:47;;;-1:-1:-1;;;37845:47:0;;-1:-1:-1;;;;;37877:8:0;;;37845:47;;;;37887:4;37845:47;;;;;;37807:21;;37853:14;;;;;37845:31;;:47;;;;;;;;;;;;;;;37853:14;37845:47;;;;;;;;;;34744:40;;;;:::o;34941:34::-;;;;:::o;41421:1762::-;37385:11;;-1:-1:-1;;;37385:11:0;;;;37384:12;37376:54;;;;;-1:-1:-1;;;37376:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41704:8:::1;:20:::0;;-1:-1:-1;;;;;;41704:20:0;;::::1;-1:-1:-1::0;;;;;41704:20:0;;::::1;::::0;;;::::1;::::0;;;41735:7:::1;:18:::0;;;::::1;::::0;;::::1;;::::0;;41764:6:::1;:16:::0;;;::::1;::::0;;::::1;;::::0;;41791:14:::1;:32:::0;;;::::1;::::0;;::::1;;::::0;;41834:7:::1;:18:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;41863:9:::1;:22:::0;;;41896:50;;::::1;::::0;-1:-1:-1;;41896:50:0::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;41978:4:0::1;41959:16;:23:::0;;;42016:34:::1;::::0;42046:3:::1;::::0;42016:25:::1;::::0;42037:3:::1;42016:20;:25::i;:34::-;41993:20;:57:::0;42105:105:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;42105:105:0;;42123:9:::1;42105:105;::::0;::::1;::::0;42134:9:::1;42105:105:::0;;;;;;;42145:9:::1;42105:105:::0;;;;42156:9:::1;42105:105:::0;;;;42167:9:::1;42105:105:::0;;;;42178:9:::1;42105:105:::0;;;;42189:9:::1;42105:105:::0;;;;42200:9:::1;42105:105:::0;;;;::::1;::::0;:11:::1;::::0;:105:::1;;:::i;:::-;-1:-1:-1::0;42221:63:0::1;::::0;;::::1;::::0;::::1;::::0;;42242:3:::1;42221:63:::0;;42247:3:::1;42221:63;::::0;::::1;::::0;42252:3:::1;42221:63:::0;;;;;;;42257:3:::1;42221:63:::0;;;;42262:3:::1;42221:63:::0;;;;42267:3:::1;42221:63:::0;;;;42272:3:::1;42221:63:::0;;;;42277:2:::1;42221:63:::0;;;;42281:2:::1;42221:63:::0;;;;::::1;::::0;:17:::1;::::0;:63:::1;;:::i;:::-;-1:-1:-1::0;42325:3:0::1;42297:25;:31:::0;42403:5:::1;42375:25;:33:::0;42497:4:::1;42462:32;:39:::0;;;42592:3:::1;42562:27;:33:::0;42676:19:::1;:26:::0;42774:3:::1;42755:16;:22:::0;42805:4:::1;42788:14;:21:::0;-1:-1:-1;42870:15:0::1;:19:::0;42934:3:::1;42900:31;:37:::0;-1:-1:-1;43025:8:0;43018:41:::1;::::0;;-1:-1:-1;;;43018:41:0;;43053:4:::1;43018:41;::::0;::::1;::::0;;;-1:-1:-1;;;;;43025:8:0;;::::1;::::0;43018:26:::1;::::0;:41;;;;;::::1;::::0;;;;;;;;;43025:8;43018:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43018:41:0;42999:16:::1;:60:::0;43086:4:::1;43072:18:::0;;-1:-1:-1;;;;;;;;;;43072:18:0;;::::1;-1:-1:-1::0;;;43072:18:0::1;43101:21;43112:10;43101:21:::0;;::::1;::::0;;;43138:37:::1;::::0;;43162:12:::1;43138:37:::0;;;;::::1;::::0;;;;43018:41:::1;43138:37:::0;;::::1;41421:1762:::0;;;;;;;:::o;34892:42::-;;;;:::o;35066:30::-;;;;:::o;34210:45::-;;;;:::o;22039:220::-;22097:7;22121:6;22117:20;;-1:-1:-1;22136:1:0;22129:8;;22117:20;22160:5;;;22164:1;22160;:5;:1;22184:5;;;;;:10;22176:56;;;;-1:-1:-1;;;22176:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22250:1;22039:220;-1:-1:-1;;;22039:220:0:o;22737:153::-;22795:7;22827:1;22823;:5;22815:44;;;;;-1:-1:-1;;;22815:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22881:1;22877;:5;;;;;;;22737:153;-1:-1:-1;;;22737:153:0:o;21622:158::-;21680:7;21713:1;21708;:6;;21700:49;;;;;-1:-1:-1;;;21700:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21767:5:0;;;21622:158::o;21160:179::-;21218:7;21250:5;;;21274:6;;;;21266:46;;;;;-1:-1:-1;;;21266:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2072:125;2165:12;2133:4;2157:21;;;;;;;;;;;2179:9;2157:32;;;;;;;;;;2072:125;:::o;2205:126::-;2298:12;2266:4;2290:21;;;;;;;;;;;2312:10;2290:33;;;;;;;;;;2205:126;:::o;32813:106::-;32871:7;32902:1;32898;:5;:13;;32910:1;32898:13;;;-1:-1:-1;32906:1:0;;32891:20;-1:-1:-1;32813:106:0:o;29304:177::-;29414:58;;;-1:-1:-1;;;;;29414:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29414:58:0;-1:-1:-1;;;29414:58:0;;;29387:86;;29407:5;;29387:19;:86::i;48514:107::-;48578:14;;;;;;;;;-1:-1:-1;;;;;48578:14:0;-1:-1:-1;;;;;48570:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48566:48;48514:107::o;51684:1031::-;51757:8;;51745:50;;;-1:-1:-1;;;51745:50:0;;51780:4;51745:50;;;;;;;;;;;;-1:-1:-1;;;;;51757:8:0;;;;51745:26;;:50;;;;;;;;;;;;;;;51757:8;;51745:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51855:20:0;;51808:28;;51855:24;51851:255;;51919:44;51957:5;51919:33;51931:20;;51919:7;:11;;:33;;;;:::i;:44::-;51985:8;;52004:7;;51978:56;;;-1:-1:-1;;;51978:56:0;;-1:-1:-1;;;;;52004:7:0;;;51978:56;;;;;;;;;;;;51896:67;;-1:-1:-1;51985:8:0;;;51978:25;;:56;;;;;;;;;;;;;;;51985:8;;51978:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52054:40:0;;;52068:3;52054:40;;51978:56;52054:40;;;;;;;;;;;;;;;;;;51851:255;52165:20;;52118:28;;52165:24;52161:255;;52229:44;52267:5;52229:33;52241:20;;52229:7;:11;;:33;;;;:::i;:44::-;52295:8;;52314:7;;;52288:56;;;-1:-1:-1;;;52288:56:0;;-1:-1:-1;;;;;52314:7:0;;;52288:56;;;;;;;;;;;;52206:67;;-1:-1:-1;52295:8:0;;;52288:25;;:56;;;;;52314:7;52288:56;;;;;;52295:8;;52288:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52364:40:0;;;52378:3;52364:40;;52288:56;52364:40;;;;;;;;;;;;;;;;;;52161:255;52438:59;52476:20;52438:33;:7;52450:20;52438:11;:33::i;:59::-;52539:7;;52517:8;;52428:69;;-1:-1:-1;52510:40:0;;-1:-1:-1;;;;;52517:8:0;;;;52539:7;;52510:28;:40::i;:::-;52590:7;;52568:8;;52561:46;;-1:-1:-1;;;;;52568:8:0;;;;52590:7;52599;52561:28;:46::i;:::-;52627:7;;52618:46;;;-1:-1:-1;;;52618:46:0;;;;;;;;;;-1:-1:-1;;;;;52627:7:0;;;;52618:37;;:46;;;;;52627:7;;52618:46;;;;;;;;52627:7;;52618:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52680:27:0;;;52694:3;52680:27;;;;;;;;;;;;-1:-1:-1;52680:27:0;;;;;;;;-1:-1:-1;52680:27:0;51684:1031;;;:::o;52723:386::-;52811:7;52851:1;52831:228;52915:11;52927:6;52915:19;;;;;;;;;;;;;;;;;;52896:15;:38;52892:156;;52983:17;53001:6;52983:25;;;;;;;;;;;;;;;;;;;;52955;:53;53027:5;;52892:156;-1:-1:-1;;52867:8:0;52831:228;;;-1:-1:-1;;53076:25:0;;52723:386;;;:::o;31609:761::-;32033:23;32059:69;32087:4;32059:69;;;;;;;;;;;;;;;;;32067:5;-1:-1:-1;;;;;32059:27:0;;;:69;;;;;:::i;:::-;32143:17;;32033:95;;-1:-1:-1;32143:21:0;32139:224;;32285:10;32274:30;;;;;;;;;;;;;;;-1:-1:-1;32274:30:0;32266:85;;;;-1:-1:-1;;;32266:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29963:622;30333:10;;;30332:62;;-1:-1:-1;30349:39:0;;;-1:-1:-1;;;30349:39:0;;30373:4;30349:39;;;;-1:-1:-1;;;;;30349:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30349:39:0;:44;30332:62;30324:152;;;;-1:-1:-1;;;30324:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30514:62;;;-1:-1:-1;;;;;30514:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30514:62:0;-1:-1:-1;;;30514:62:0;;;30487:90;;30507:5;;30487:19;:90::i;14022:195::-;14125:12;14157:52;14179:6;14187:4;14193:1;14196:12;14157:21;:52::i;:::-;14150:59;14022:195;-1:-1:-1;;;;14022:195:0:o;15074:530::-;15201:12;15259:5;15234:21;:30;;15226:81;;;;-1:-1:-1;;;15226:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15326:18;15337:6;15326:10;:18::i;:::-;15318:60;;;;;-1:-1:-1;;;15318:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15452:12;15466:23;15493:6;-1:-1:-1;;;;;15493:11:0;15513:5;15521:4;15493:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15493:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15451:75;;;;15544:52;15562:7;15571:10;15583:12;15544:17;:52::i;:::-;15537:59;15074:530;-1:-1:-1;;;;;;;15074:530:0:o;11104:422::-;11471:20;11510:8;;;11104:422::o;17614:742::-;17729:12;17758:7;17754:595;;;-1:-1:-1;17789:10:0;17782:17;;17754:595;17903:17;;:21;17899:439;;18166:10;18160:17;18227:15;18214:10;18210:2;18206:19;18199:44;18114:148;18309:12;18302:20;;-1:-1:-1;;;18302:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://13d80aa872080181df00b42a1b47cb8868a9e335d55f022765cb10ca71fc5717
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.