Contract 0x58d030Fb9b40ed1245762Fe321FbEd41bb217eEE

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3eb4851e632f6a8de9b2ec1cd46a85e577d894c45205ff3d70434fb509883f37Allocate Seignio...750962382022-09-28 14:00:353 hrs 6 mins agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x6d3a4c94c932f9412ad633bbc000f791012218d1abad2b736fcf123a7927757bAllocate Seignio...750780252022-09-28 8:00:419 hrs 6 mins agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000976428
0xd3f4327f4396b73e23418a81238a3bbd732fa8116898296a569d1d31c288f7e1Buy Bonds750689502022-09-28 5:01:5412 hrs 5 mins ago0x318f6277e7ec3ce9f9f1cb655fef873b930b61f5 IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00001150261
0x6ae86aef2fd6d46792b81986d8b8ffdb832a8ce4b9e61d2c4725dbe873bbe101Allocate Seignio...750596592022-09-28 2:00:4315 hrs 6 mins agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xbc3a61115667a2db011ec6ddad0c30ed0b7ba3f08d92351d6fe3d851609d7108Allocate Seignio...750412602022-09-27 20:00:4221 hrs 6 mins agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xfd2f1e2c86fc9d68c462ca2e21e83f98a5e5e4830a9a34199fd9fe0c4e00ac1fAllocate Seignio...750232332022-09-27 14:00:521 day 3 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000976428
0x095b9591c1a1b6f1944ecf19ed7449821f8819a9915f8bd62fb90d527b83194cBuy Bonds750197992022-09-27 12:51:421 day 4 hrs ago0xf13ce4d2f506641cab43edc51257588730d70139 IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.0000098601
0x56413df0c59abcb9931e822361589bb630eaad38903dbd32edef3f47fa0ae436Allocate Seignio...750053662022-09-27 8:00:331 day 9 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x56ca00d17b84a938a25d134b08a84a8748e14e553a83b2c23235611e4a66ea2aAllocate Seignio...749872222022-09-27 2:00:341 day 15 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xb1e93c40058ab747456f595071cb02c8f056037313ffcccd4ee838731a3e5f00Allocate Seignio...749693452022-09-26 20:00:381 day 21 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xf1f503885b6522f704e7f178ded594b74dbfbf26aa4845406f0804bb64a2baacAllocate Seignio...749515782022-09-26 14:00:402 days 3 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x0403f8678b73a25376a8b403b247f6530b14ce20d8f26fa3c2909fda1d185e21Allocate Seignio...749338442022-09-26 8:00:372 days 9 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xbe80fd702b25f53bda65c63eaa63467b9079cb76e545b0fbd46e12332dc1ba9bAllocate Seignio...749157992022-09-26 2:00:302 days 15 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x51203b302da6aa9526897acac00843897eb5cc4193c8ca0621d72cd47dc300b9Allocate Seignio...748977512022-09-25 20:00:392 days 21 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x522c1d3beb79b31cf003efc2329055b73ecd067921f2ae1eb2db41486b7200b8Allocate Seignio...748803462022-09-25 14:00:403 days 3 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x79d5eafeaa366b957b938f14405243fe4e9f52f92f3086558f56a0882a835894Allocate Seignio...748624112022-09-25 8:00:383 days 9 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xe7eb95d9e271f577c9a1d8c8f1b431f66eb3699f3d10949893de767d2b66badcAllocate Seignio...748444082022-09-25 2:00:383 days 15 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x46eb9944ca1d3f05b8deefbc532b3b7e280b253eba71fc9277eb4f8482f6a22eAllocate Seignio...748266832022-09-24 20:00:503 days 21 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x6a69a98987274e2e707c742bf8c7741759f07a832d30929edddd1d35d736dff4Allocate Seignio...748092112022-09-24 14:00:364 days 3 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xed849963e1ebbf5ac963ac82c010d4a850599b53fad0b0d521549ffcf3b4b7d7Allocate Seignio...747917502022-09-24 8:00:394 days 9 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0xa730f7cd17740e209ca82a25180e502f7d4f94e9666896e0942cb84a5ea999bcAllocate Seignio...747739022022-09-24 2:00:394 days 15 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x9d17d32cb07cea0cd8a3ecbf1877e6b2f3bfdc3ff902c893b83ef0bce437563bAllocate Seignio...747565542022-09-23 20:00:384 days 21 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000959628
0x563dd57de09c2b096af665e8d8929e4d269c3f14ac4e3b7907107596370d16a3Allocate Seignio...747509172022-09-23 17:59:254 days 23 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000685188
0x410514de9e79a679c8be719f9e79d9bad12340302e4e133055c157dec945787aAllocate Seignio...747506492022-09-23 17:53:534 days 23 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000685188
0x1b1e56085809c4eb8fd88c9d975ab34f6f9b59652ee64bad700d813c71422dbdAllocate Seignio...747503872022-09-23 17:48:304 days 23 hrs agoPolaris Finance: DEV Wallet IN  0x58d030fb9b40ed1245762fe321fbed41bb217eee0 ETH0.00000968028
[ 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:
UspTreasury

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

// 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/usp/UspTreasury.sol



pragma solidity 0.6.12;











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

    https://polarisfinance.io
*/
contract UspTreasury 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 = 177;
    uint256 public epochSupplyContractionLeft = 0;

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

    // core components
    address public usp;
    address public uspbond;
    address public spolar;

    address public masonry;
    address public uspOracle;

    // price
    uint256 public uspPriceOne;
    uint256 public uspbondPriceCeiling;
    uint256 public uspPriceCeiling;

    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 USP price
    uint256 public bootstrapEpochs;
    uint256 public bootstrapSupplyExpansionPercent;

    /* =================== Added variables =================== */
    uint256 public previousEpochUspPrice;
    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 USP 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 uspAmount, uint256 bondAmount);
    event Boughtbonds(address indexed from, uint256 uspAmount, 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);

    /**
     * @notice Constructs the USP TREASURY contract.
     */
    constructor() public {
        operator = msg.sender;
    }

    /* =================== 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 = (getUspPrice() > uspPriceCeiling) ? 0 : getUspCirculatingSupply().mul(maxSupplyContractionPercent).div(10000);
    }

    modifier checkOperator() {
        require(
            IBasisAsset(usp).operator() == address(this) && IBasisAsset(usp).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 getUspPrice() public view returns (uint256 uspPrice) {
        try IOracle(uspOracle).consult(usp, 1e18) returns (uint144 price) {
            return uint256(price * 1e12);
        } catch {
            revert("Treasury: failed to consult USP price from the oracle");
        }
    }

    function getUspUpdatedPrice() public view returns (uint256 _uspPrice) {
        try IOracle(uspOracle).twap(usp, 1e18) returns (uint144 price) {
            return uint256(price * 1e12);
        } catch {
            revert("Treasury: failed to consult USP price from the oracle");
        }
    }

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

    function getBurnableUspLeft() public view returns (uint256 _burnableUspLeft) {
        uint256 _uspPrice = getUspPrice();
        if (_uspPrice <= uspPriceOne) {
            uint256 _uspSupply = getUspCirculatingSupply();
            uint256 _bondMaxSupply = _uspSupply.mul(maxDebtRatioPercent).div(10000);
            uint256 _bondSupply = IERC20(uspbond).totalSupply();
            if (_bondMaxSupply > _bondSupply) {
                uint256 _maxMintableBond = _bondMaxSupply.sub(_bondSupply);
                uint256 _maxBurnableUsp = _maxMintableBond.mul(_uspPrice).div(1e18);
                _burnableUspLeft = Math.min(epochSupplyContractionLeft, _maxBurnableUsp);
            }
        }
    }

    function getRedeemableBonds() public view returns (uint256 _redeemableBonds) {
        uint256 _uspPrice = getUspPrice();
        if (_uspPrice > uspbondPriceCeiling) {
            uint256 _totalUsp = IERC20(usp).balanceOf(address(this));
            uint256 _rate = getBondPremiumRate();
            if (_rate > 0) {
                _redeemableBonds = _totalUsp.mul(1e18).div(_rate);
            }
        }
    }

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

    function getBondPremiumRate() public view returns (uint256 _rate) {
        uint256 _uspPrice = getUspPrice();
        if (_uspPrice > uspbondPriceCeiling) {
            uint256 _uspPricePremiumThreshold = uspPriceOne.mul(premiumThreshold).div(100);
            if (_uspPrice >= _uspPricePremiumThreshold) {
                //Price > 1.10
                uint256 _premiumAmount = _uspPrice.sub(uspPriceOne).mul(premiumPercent).div(10000);
                _rate = uspPriceOne.add(_premiumAmount);
                if (maxPremiumRate > 0 && _rate > maxPremiumRate) {
                    _rate = maxPremiumRate;
                }
            } else {
                // no premium bonus
                _rate = uspPriceOne;
            }
        }
    }

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

    function initialize(
        address _usp,
        address _uspbond,
        address _spolar,
        address _uspOracle,
        address _masonry,
        uint256 _startTime,
        address[] memory _excludedFromTotalSupply
    ) public notInitialized onlyOperator {
        usp = _usp;
        uspbond = _uspbond;
        spolar = _spolar;
        uspOracle = _uspOracle;
        masonry = _masonry;
        startTime = _startTime;
        excludedFromTotalSupply = _excludedFromTotalSupply;

        uspPriceOne = 1e18;
        uspbondPriceCeiling = uspPriceOne.mul(101).div(100);
        uspPriceCeiling = uspPriceOne.mul(80).div(100);

        // Dynamic max expansion percent
        supplyTiers = [0, 200000e18, 250000e18, 350000e18, 450000e18, 550000e18, 650000e18, 850000e18, 1200000e18];
        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 USP and mint USPBOND)
        maxDebtRatioPercent = 3500; // Upto 35% supply of USPBOND 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(usp).balanceOf(address(this));

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

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

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

    function setUspOracle(address _uspOracle) external onlyOperator {
        uspOracle = _uspOracle;
        _updateUspPrice();
    }

    function setPriceCeiling(uint256 _uspPriceCeiling, uint256 _uspbondPriceCeiling) external onlyOperator {
        require(_uspPriceCeiling >= uspPriceOne.mul(10).div(100) && _uspPriceCeiling <= uspPriceOne.mul(120).div(100), "out of range"); // [$0.1, $1.2]
        require(_uspbondPriceCeiling >= uspPriceOne.mul(10).div(100) && _uspbondPriceCeiling <= uspPriceOne.mul(120).div(100), "out of range"); // [$0.1, $1.2]

        uspbondPriceCeiling = _uspbondPriceCeiling;
        uspPriceCeiling = _uspPriceCeiling;
    }

    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 < 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 < 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 setbondDepletionFloorPercent(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 <= 4500, "out of range"); // <= 45%
        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 >= uspbondPriceCeiling, "_premiumThreshold exceeds uspbondPriceCeiling");
        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 _updateUspPrice() internal {
        try IOracle(uspOracle).update() {} catch {}
    }

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

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

        uint256 uspPrice = getUspPrice();
        require(uspPrice == targetPrice, "Treasury: USP price moved");
        require(
            uspPrice < uspPriceOne, // price < $1
            "Treasury: USP Price not eligible for bond purchase"
        );

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

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

        uint256 _bondAmount = _uspAmount.mul(_rate).div(1e18);
        uint256 uspSupply = getUspCirculatingSupply();
        uint256 newBondSupply = IERC20(uspbond).totalSupply().add(_bondAmount);
        require(newBondSupply <= uspSupply.mul(maxDebtRatioPercent).div(10000), "over max debt ratio");

        IBasisAsset(usp).burnFrom(msg.sender, _uspAmount);
        IBasisAsset(uspbond).mint(msg.sender, _bondAmount);

        epochSupplyContractionLeft = epochSupplyContractionLeft.sub(_uspAmount);
        _updateUspPrice();

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

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

        uint256 uspPrice = getUspPrice();
        require(uspPrice == targetPrice, "Treasury: USP price moved");
        require(
            uspPrice > uspbondPriceCeiling, // price > $1.01
            "Treasury: USP Price not eligible for bond purchase"
        );

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

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

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

        IBasisAsset(uspbond).burnFrom(msg.sender, _bondAmount);
        IERC20(usp).safeTransfer(msg.sender, _uspAmount);

        _updateUspPrice();

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

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

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

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

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

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

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

    function allocateSeigniorage() external onlyOneBlock checkCondition checkEpoch checkOperator {
        _updateUspPrice();
        previousEpochUspPrice = getUspPrice();
        uint256 uspSupply = getUspCirculatingSupply().sub(seigniorageSaved);
        if (epoch < bootstrapEpochs) {
            // 28 first epochs with 4.5% expansion
            _sendToMasonry(uspSupply.mul(bootstrapSupplyExpansionPercent).div(10000));
        } else {
            if (previousEpochUspPrice > uspPriceCeiling) {
                // Expansion ($USP Price > 1 $USDC): there is some seigniorage to be allocated
                uint256 bondSupply = IERC20(uspbond).totalSupply();
                uint256 _savedForBond;
                uint256 _savedForMasonry;
                uint256 _percentage = _calculateMaxSupplyExpansionPercent(uspSupply).mul(1e14);

                if (seigniorageSaved >= bondSupply.mul(bondDepletionFloorPercent).div(10000)) {
                    // saved enough to pay debt, mint as usual rate
                    _savedForMasonry = uspSupply.mul(_percentage).div(1e18);
                } else {
                    // have not saved enough to pay debt, mint more
                    uint256 _seigniorage = uspSupply.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(usp).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(usp), "usp");
        require(address(_token) != address(uspbond), "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

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"uspAmount","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":"uspAmount","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":"_uspAmount","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":"getBurnableUspLeft","outputs":[{"internalType":"uint256","name":"_burnableUspLeft","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":"getUspCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUspPrice","outputs":[{"internalType":"uint256","name":"uspPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUspUpdatedPrice","outputs":[{"internalType":"uint256","name":"_uspPrice","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":"_usp","type":"address"},{"internalType":"address","name":"_uspbond","type":"address"},{"internalType":"address","name":"_spolar","type":"address"},{"internalType":"address","name":"_uspOracle","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":"previousEpochUspPrice","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":"_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":"uint256","name":"_uspPriceCeiling","type":"uint256"},{"internalType":"uint256","name":"_uspbondPriceCeiling","type":"uint256"}],"name":"setPriceCeiling","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":"_uspOracle","type":"address"}],"name":"setUspOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondDepletionFloorPercent","type":"uint256"}],"name":"setbondDepletionFloorPercent","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":"usp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uspOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uspPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uspPriceOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uspbond","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uspbondPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526001805460ff60a01b1916905560b1600355600060045534801561002757600080fd5b50600180546001600160a01b03191633179055614739806100496000396000f3fe608060405234801561001057600080fd5b50600436106104335760003560e01c806373c838a511610236578063a64f244b1161013b578063c8f987f3116100c3578063da3ed41911610087578063da3ed4191461098b578063da64fc2714610993578063e90b245414610a6e578063f14698de14610a76578063fcb6f00814610a7e57610433565b8063c8f987f314610912578063cecce38e1461091a578063d4b1494414610937578063d5d3b26c1461095d578063d98f24951461098357610433565b8063b8a878f91161010a578063b8a878f9146108a3578063bcc81f19146108ab578063be266d54146108e5578063c5967c2614610902578063c8412d021461090a57610433565b8063a64f244b14610865578063af5961a71461086d578063b3ab15fb14610875578063b4d1d7951461089b57610433565b80638d934f74116101be578063951357d41161018d578063951357d4146107bb57806398b762a1146107f1578063998200251461080e578063a0487eea1461082b578063a204452b1461084857610433565b80638d934f7414610762578063900cf0cf1461076a57806391bbfed514610772578063940e60641461079557610433565b806381d11eaf1161020557806381d11eaf1461072557806382cad8381461072d57806383c228791461074a57806384119b2714610752578063874106cc1461075a57610433565b806373c838a51461070557806378e979251461070d5780637d72930014610715578063811440e11461071d57610433565b80634013a08e1161033c578063591663e1116102c457806362ac58e41161029357806362ac58e41461068657806363f96cf4146106ac5780637269bf46146106b457806372c054f9146106da578063734f7096146106e257610433565b8063591663e11461065157806359bf5d391461066e5780635a0fc79c146106765780635b7561791461067e57610433565b80635200c79a1161030b5780635200c79a146105e057806354575af4146105e857806354f04a111461061e57806355ebdeef14610641578063570ca7351461064957610433565b80634013a08e1461059657806340af7ba51461059e5780634390d2a8146105bb578063499f3f19146105c357610433565b8063174e19c9116103bf57806322f832cd1161038e57806322f832cd1461056e57806329ef1919146105765780632e9c7b651461057e578063392e53cd146105865780633c53a9c11461058e57610433565b8063174e19c91461051e578063183f2a2714610526578063190707b6146105495780631c4e0ac61461055157610433565b80630db7eb0b116104065780630db7eb0b14610496578063110636291461049e578063118ebbf9146104c2578063154ec2db146104e5578063158ef93e1461050257610433565b806303be7e761461043857806304e5c7b1146104525780630b5bcec7146104715780630cf601751461048e575b600080fd5b610440610a86565b60408051918252519081900360200190f35b61046f6004803603602081101561046857600080fd5b5035610a8c565b005b61046f6004803603602081101561048757600080fd5b5035610b5b565b610440610bf7565b610440610ca9565b6104a6610d4b565b604080516001600160a01b039092168252519081900360200190f35b61046f600480360360408110156104d857600080fd5b5080359060200135610d5a565b61046f600480360360208110156104fb57600080fd5b5035611331565b61050a6113d6565b604080519115158252519081900360200190f35b6104406113e6565b61046f6004803603604081101561053c57600080fd5b50803590602001356114ed565b6104a6611646565b61046f6004803603602081101561056757600080fd5b5035611655565b6104406116f7565b6104406116fd565b610440611703565b61050a611709565b61044061171a565b610440611800565b61046f600480360360208110156105b457600080fd5b5035611806565b6104a66118ab565b61046f600480360360208110156105d957600080fd5b50356118ba565b610440611957565b61046f600480360360608110156105fe57600080fd5b506001600160a01b038135811691602081013591604090910135166119b9565b61046f6004803603604081101561063457600080fd5b5080359060200135611afb565b6104406121b4565b6104a66121ba565b61046f6004803603602081101561066757600080fd5b50356121c9565b61044061226b565b610440612271565b61046f612277565b61046f6004803603602081101561069c57600080fd5b50356001600160a01b0316612884565b6104a6612936565b61046f600480360360208110156106ca57600080fd5b50356001600160a01b0316612945565b6104406129b4565b61046f600480360360408110156106f857600080fd5b5080359060200135612a74565b610440612b2d565b610440612b33565b610440612b39565b610440612b3f565b610440612b45565b6104a66004803603602081101561074357600080fd5b5035612b4b565b6104a6612b72565b610440612b81565b610440612b87565b6104a6612b8d565b610440612b9c565b61046f6004803603604081101561078857600080fd5b5080359060200135612ba2565b61050a600480360360408110156107ab57600080fd5b5060ff8135169060200135612c9a565b61046f600480360360608110156107d157600080fd5b506001600160a01b03813581169160208101359160409091013516612db6565b61046f6004803603602081101561080757600080fd5b5035612e79565b6104406004803603602081101561082457600080fd5b5035612ec7565b6104406004803603602081101561084157600080fd5b5035612ee5565b61046f6004803603602081101561085e57600080fd5b5035612ef2565b610440612f40565b6104a6613080565b61046f6004803603602081101561088b57600080fd5b50356001600160a01b031661308f565b6104406130fa565b610440613100565b61046f600480360360808110156108c157600080fd5b506001600160a01b0381358116916020810135916040820135169060600135613106565b61046f600480360360208110156108fb57600080fd5b503561329b565b610440613331565b61044061335b565b610440613361565b61046f6004803603602081101561093057600080fd5b5035613367565b61050a6004803603604081101561094d57600080fd5b5060ff8135169060200135613408565b61046f6004803603602081101561097357600080fd5b50356001600160a01b0316613502565b61044061356d565b610440613573565b61046f600480360360e08110156109a957600080fd5b6001600160a01b03823581169260208101358216926040820135831692606083013581169260808101359091169160a0820135919081019060e0810160c08201356401000000008111156109fc57600080fd5b820183602082011115610a0e57600080fd5b80359060200191846020830284011164010000000083111715610a3057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550613579945050505050565b6104406138c4565b6104406138ca565b6104406138d0565b60225481565b6001546001600160a01b03163314610ad55760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600c54811015610b165760405162461bcd60e51b815260040180806020018281038252602d815260200180614406602d913960400191505060405180910390fd5b6096811115610b565760405162461bcd60e51b81526004018080602001828103825260248152602001806144936024913960400191505060405180910390fd5b601c55565b6001546001600160a01b03163314610ba45760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600a8110158015610bb757506103e88111155b610bf25760405162461bcd60e51b81526004018080602001828103825260288152602001806145b16028913960400191505060405180910390fd5b601155565b600080610c0261171a565b9050600b548111610ca557601b54610c1e57600b549150610ca5565b6000610c4782610c41670de0b6b3a7640000600b546138d690919063ffffffff16565b90613936565b90506000610c72612710610c41601b54610c6c600b548761399d90919063ffffffff16565b906138d6565b600b54909150610c8290826139fa565b93506000601954118015610c97575060195484115b15610ca25760195493505b50505b5090565b600080610cb461171a565b9050600c54811115610ca5576000610cde6064610c41601c54600b546138d690919063ffffffff16565b9050808210610d40576000610d0a612710610c41601d54610c6c600b548861399d90919063ffffffff16565b600b54909150610d1a90826139fa565b93506000601a54118015610d2f5750601a5484115b15610d3a57601a5493505b50610d46565b600b5492505b505090565b600a546001600160a01b031681565b610d62613a54565b15610d9e5760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b610da6613a73565b15610de25760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b600254421015610e35576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015610e7957600080fd5b505afa158015610e8d573d6000803e3d6000fd5b505050506040513d6020811015610ea357600080fd5b50516001600160a01b0316148015610f3157506006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015610efa57600080fd5b505afa158015610f0e573d6000803e3d6000fd5b505050506040513d6020811015610f2457600080fd5b50516001600160a01b0316145b8015610fb357506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015610f7c57600080fd5b505afa158015610f90573d6000803e3d6000fd5b505050506040513d6020811015610fa657600080fd5b50516001600160a01b0316145b611004576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b600082116110435760405162461bcd60e51b815260040180806020018281038252602e815260200180614433602e913960400191505060405180910390fd5b600061104d61171a565b905081811461109f576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881554d4081c1c9a58d9481b5bdd9959603a1b604482015290519081900360640190fd5b600c5481116110df5760405162461bcd60e51b81526004018080602001828103825260328152602001806144616032913960400191505060405180910390fd5b60006110e9610ca9565b905060008111611140576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000611158670de0b6b3a7640000610c4187856138d6565b600654604080516370a0823160e01b8152306004820152905192935083926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156111a857600080fd5b505afa1580156111bc573d6000803e3d6000fd5b505050506040513d60208110156111d257600080fd5b505110156112115760405162461bcd60e51b81526004018080602001828103825260258152602001806144dd6025913960400191505060405180910390fd5b611229611220600e5483613a92565b600e549061399d565b600e556007546040805163079cc67960e41b81523360048201526024810188905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561127f57600080fd5b505af1158015611293573d6000803e3d6000fd5b50506006546112af92506001600160a01b031690503383613aa8565b6112b7613afa565b6040805182815260208101879052815133927f51e0d16595cabc591e64da08e45bb223577e5b9a39cd947b4ddc3472b2dd8878928290030190a25050436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055505050565b6001546001600160a01b0316331461137a5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b614e208111156113d1576040805162461bcd60e51b815260206004820152601d60248201527f5f646973636f756e7450657263656e74206973206f7665722032303025000000604482015290519081900360640190fd5b601b55565b600154600160a01b900460ff1681565b6000806113f161171a565b9050600b548111610ca5576000611406612f40565b90506000611425612710610c41601554856138d690919063ffffffff16565b90506000600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561147757600080fd5b505afa15801561148b573d6000803e3d6000fd5b505050506040513d60208110156114a157600080fd5b50519050808211156114e65760006114b9838361399d565b905060006114d3670de0b6b3a7640000610c4184896138d6565b90506114e160045482613a92565b965050505b5050505090565b6001546001600160a01b031633146115365760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6115516064610c41600a600b546138d690919063ffffffff16565b821015801561157a57506115766064610c416078600b546138d690919063ffffffff16565b8211155b6115ba576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b6115d56064610c41600a600b546138d690919063ffffffff16565b81101580156115fe57506115fa6064610c416078600b546138d690919063ffffffff16565b8111155b61163e576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b600c55600d55565b6008546001600160a01b031681565b6001546001600160a01b0316331461169e5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6101f481101580156116b257506127108111155b6116f2576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601255565b60135481565b601b5481565b601a5481565b600154600160a01b900460ff165b90565b600a5460065460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b15801561177c57600080fd5b505afa9250505080156117a157506040513d602081101561179c57600080fd5b505160015b6117dc5760405162461bcd60e51b81526004018080602001828103825260358152602001806145536035913960400191505060405180910390fd5b8064e8d4a510000271ffffffffffffffffffffffffffffffffffff16915050611717565b601e5481565b6001546001600160a01b0316331461184f5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b614e208111156118a6576040805162461bcd60e51b815260206004820152601c60248201527f5f7072656d69756d50657263656e74206973206f766572203230302500000000604482015290519081900360640190fd5b601d55565b6021546001600160a01b031681565b6001546001600160a01b031633146119035760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b61271081101580156119175750614e208111155b6119525760405162461bcd60e51b81526004018080602001828103825260298152602001806145886029913960400191505060405180910390fd5b601e55565b600a5460065460408051630d01142560e31b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691636808a12891604480820192602092909190829003018186803b15801561177c57600080fd5b6001546001600160a01b03163314611a025760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6006546001600160a01b0384811691161415611a4b576040805162461bcd60e51b815260206004820152600360248201526207573760ec1b604482015290519081900360640190fd5b6007546001600160a01b0384811691161415611a97576040805162461bcd60e51b81526020600480830191909152602482015263189bdb9960e21b604482015290519081900360640190fd5b6008546001600160a01b0384811691161415611ae2576040805162461bcd60e51b8152602060048201526005602482015264736861726560d81b604482015290519081900360640190fd5b611af66001600160a01b0384168284613aa8565b505050565b611b03613a54565b15611b3f5760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b611b47613a73565b15611b835760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b600254421015611bd6576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611c1a57600080fd5b505afa158015611c2e573d6000803e3d6000fd5b505050506040513d6020811015611c4457600080fd5b50516001600160a01b0316148015611cd257506006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611c9b57600080fd5b505afa158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50516001600160a01b0316145b8015611d5457506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611d1d57600080fd5b505afa158015611d31573d6000803e3d6000fd5b505050506040513d6020811015611d4757600080fd5b50516001600160a01b0316145b611da5576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b60008211611de45760405162461bcd60e51b81526004018080602001828103825260308152602001806145236030913960400191505060405180910390fd5b6000611dee61171a565b9050818114611e40576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881554d4081c1c9a58d9481b5bdd9959603a1b604482015290519081900360640190fd5b600b548110611e805760405162461bcd60e51b81526004018080602001828103825260328152602001806144616032913960400191505060405180910390fd5b600454831115611ec15760405162461bcd60e51b815260040180806020018281038252602a8152602001806146ac602a913960400191505060405180910390fd5b6000611ecb610bf7565b905060008111611f22576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000611f3a670de0b6b3a7640000610c4187856138d6565b90506000611f46612f40565b90506000611fce83600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f9c57600080fd5b505afa158015611fb0573d6000803e3d6000fd5b505050506040513d6020811015611fc657600080fd5b5051906139fa565b9050611feb612710610c41601554856138d690919063ffffffff16565b811115612035576040805162461bcd60e51b81526020600482015260136024820152726f766572206d6178206465627420726174696f60681b604482015290519081900360640190fd5b6006546040805163079cc67960e41b8152336004820152602481018a905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561208857600080fd5b505af115801561209c573d6000803e3d6000fd5b5050600754604080516340c10f1960e01b81523360048201526024810188905290516001600160a01b0390921693506340c10f1992506044808201926020929091908290030181600087803b1580156120f457600080fd5b505af1158015612108573d6000803e3d6000fd5b505050506040513d602081101561211e57600080fd5b505060045461212d908861399d565b600455612138613afa565b6040805188815260208101859052815133927f8d4d82b32edc2141d9566e4f640295cbd1de32b8e899b1643ae6c585ce64c8c4928290030190a25050436000908152602081815260408083203284529091528082208054600160ff19918216811790925533845291909220805490911690911790555050505050565b60205481565b6001546001600160a01b031681565b6001546001600160a01b031633146122125760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6103e8811015801561222657506127108111155b612266576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601555565b600e5490565b600e5481565b61227f613a54565b156122bb5760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b6122c3613a73565b156122ff5760405162461bcd60e51b81526004018080602001828103825260268152602001806146506026913960400191505060405180910390fd5b600254421015612352576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b61235a613331565b4210156123ae576040805162461bcd60e51b815260206004820152601860248201527f54726561737572793a206e6f74206f70656e6564207965740000000000000000604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b1580156123f257600080fd5b505afa158015612406573d6000803e3d6000fd5b505050506040513d602081101561241c57600080fd5b50516001600160a01b03161480156124aa57506006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561247357600080fd5b505afa158015612487573d6000803e3d6000fd5b505050506040513d602081101561249d57600080fd5b50516001600160a01b0316145b801561252c57506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b1580156124f557600080fd5b505afa158015612509573d6000803e3d6000fd5b505050506040513d602081101561251f57600080fd5b50516001600160a01b0316145b61257d576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b612585613afa565b61258d61171a565b601855600e546000906125a8906125a2612f40565b9061399d565b905060165460035410156125de576125d96125d4612710610c41601754856138d690919063ffffffff16565b613b5a565b612808565b600d54601854111561280857600754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561262f57600080fd5b505afa158015612643573d6000803e3d6000fd5b505050506040513d602081101561265957600080fd5b5051905060008080612674655af3107a4000610c6c87613e9d565b9050612691612710610c41601254876138d690919063ffffffff16565b600e54106126b6576126af670de0b6b3a7640000610c4187846138d6565b9150612722565b60006126ce670de0b6b3a7640000610c4188856138d6565b90506126eb612710610c41601354846138d690919063ffffffff16565b92506126f7818461399d565b601e54909450156127205761271d612710610c41601e54876138d690919063ffffffff16565b93505b505b81156127315761273182613b5a565b821561280357600e5461274490846139fa565b600e55600654604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b15801561279b57600080fd5b505af11580156127af573d6000803e3d6000fd5b505050506040513d60208110156127c557600080fd5b5050604080514281526020810185905281517ff705142bf09f04297640495ddf7c59b7fd6f51894c5aea9602d631cf05f0efc2929181900390910190a15b505050505b506003546128179060016139fa565b600355600d5461282561171a565b116128435761283e612710610c41601454610c6c612f40565b612846565b60005b600455436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6001546001600160a01b031633146128cd5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6009546040805163b3ab15fb60e01b81526001600160a01b0384811660048301529151919092169163b3ab15fb91602480830192600092919082900301818387803b15801561291b57600080fd5b505af115801561292f573d6000803e3d6000fd5b5050505050565b6009546001600160a01b031681565b6001546001600160a01b0316331461298e5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0383161790556129b1613afa565b50565b6000806129bf61171a565b9050600c54811115610ca557600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612a1657600080fd5b505afa158015612a2a573d6000803e3d6000fd5b505050506040513d6020811015612a4057600080fd5b505190506000612a4e610ca9565b90508015610ca257612a6c81610c4184670de0b6b3a76400006138d6565b935050505090565b6001546001600160a01b03163314612abd5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b60095460408051632ffaaa0960e01b8152600481018590526024810184905290516001600160a01b0390921691632ffaaa099160448082019260009290919082900301818387803b158015612b1157600080fd5b505af1158015612b25573d6000803e3d6000fd5b505050505050565b600b5481565b60025481565b600d5481565b600c5481565b60125481565b60058181548110612b5857fe5b6000918252602090912001546001600160a01b0316905081565b6007546001600160a01b031681565b60185481565b60175481565b601f546001600160a01b031681565b60035481565b6001546001600160a01b03163314612beb5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6078821115612c41576040805162461bcd60e51b815260206004820152601e60248201527f5f626f6f74737472617045706f6368733a206f7574206f662072616e67650000604482015290519081900360640190fd5b60648110158015612c5457506103e88111155b612c8f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806146d6602e913960400191505060405180910390fd5b601691909155601755565b6001546000906001600160a01b03163314612ce65760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b60098360ff1610612d285760405162461bcd60e51b81526004018080602001828103825260298152602001806145d96029913960400191505060405180910390fd5b60ff831615612d5a57600f6001840360ff1681548110612d4457fe5b90600052602060002001548211612d5a57600080fd5b60088360ff161015612d8f57600f8360010160ff1681548110612d7957fe5b90600052602060002001548210612d8f57600080fd5b81600f8460ff1681548110612da057fe5b6000918252602090912001555060015b92915050565b6001546001600160a01b03163314612dff5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b60095460408051631515d6bd60e21b81526001600160a01b038681166004830152602482018690528481166044830152915191909216916354575af491606480830192600092919082900301818387803b158015612e5c57600080fd5b505af1158015612e70573d6000803e3d6000fd5b50505050505050565b6001546001600160a01b03163314612ec25760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b601955565b600f8181548110612ed457fe5b600091825260209091200154905081565b60108181548110612ed457fe5b6001546001600160a01b03163314612f3b5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b601a55565b600654604080516318160ddd60e01b815290516000926001600160a01b031691839183916318160ddd916004808301926020929190829003018186803b158015612f8957600080fd5b505afa158015612f9d573d6000803e3d6000fd5b505050506040513d6020811015612fb357600080fd5b505190506000805b60055460ff821610156130755761306b846001600160a01b03166370a0823160058460ff1681548110612fea57fe5b60009182526020918290200154604080516001600160e01b031960e086901b1681526001600160a01b0390921660048301525160248083019392829003018186803b15801561303857600080fd5b505afa15801561304c573d6000803e3d6000fd5b505050506040513d602081101561306257600080fd5b505183906139fa565b9150600101612fbb565b50612a6c828261399d565b6006546001600160a01b031681565b6001546001600160a01b031633146130d85760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61546081565b60195481565b6001546001600160a01b0316331461314f5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b6001600160a01b038416613193576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6111948311156131d9576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b6001600160a01b03821661321d576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6103e8811115613263576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601f80546001600160a01b03199081166001600160a01b03968716179091556020939093556021805490931691909316179055602255565b6001546001600160a01b031633146132e45760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600954604080516397ffe1d760e01b81526004810184905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b15801561291b57600080fd5b600061335661334d6154606003546138d690919063ffffffff16565b600254906139fa565b905090565b601d5481565b601c5481565b6001546001600160a01b031633146133b05760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b606481101580156133c357506105dc8111155b613403576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601455565b6001546000906001600160a01b031633146134545760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b60098360ff16106134965760405162461bcd60e51b81526004018080602001828103825260298152602001806145d96029913960400191505060405180910390fd5b600a82101580156134a957506103e88211155b6134f1576040805162461bcd60e51b81526020600482015260146024820152735f76616c75653a206f7574206f662072616e676560601b604482015290519081900360640190fd5b8160108460ff1681548110612da057fe5b6001546001600160a01b0316331461354b5760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60115481565b60155481565b600154600160a01b900460ff16156135d8576040805162461bcd60e51b815260206004820152601d60248201527f54726561737572793a20616c726561647920696e697469616c697a6564000000604482015290519081900360640190fd5b6001546001600160a01b031633146136215760405162461bcd60e51b81526004018080602001828103825260248152602001806146026024913960400191505060405180910390fd5b600680546001600160a01b03199081166001600160a01b038a811691909117909255600780548216898416179055600880548216888416179055600a80548216878416179055600980549091169185169190911790556002829055805161368f9060059060208401906142db565b50670de0b6b3a7640000600b8190556136b090606490610c419060656138d6565b600c55600b546136c890606490610c419060506138d6565b600d55604080516101208101825260008152692a5a058fc295ed00000060208201526934f086f3b33b6840000091810191909152694a1d89bb94865ec000006060820152695f4a8c8375d15540000060808201526974778f4b571c4bc0000060a08201526989a4921338674240000060c082015269b3fe97a2fafd2f40000060e082015269fe1c215e8f838e00000061010082015261376b90600f90600961433c565b50604080516101208101825260fa815260e1602082015260c89181019190915260af606082015260966080820152607d60a0820152606460c0820152604b60e082015260326101008201526137c4906010906009614391565b50610190601155612710601255610dac601381905561012c601455601555606e601c55611b58601d5560006016556101c2601755600654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561384357600080fd5b505afa158015613857573d6000803e3d6000fd5b505050506040513d602081101561386d57600080fd5b5051600e556001805460ff60a01b1916600160a01b17905560408051438152905133917f25ff68dd81b34665b5ba7e553ee5511bf6812e12adb4a7e2c0d9e26b3099ce79919081900360200190a250505050505050565b60145481565b60165481565b60045481565b6000826138e557506000612db0565b828202828482816138f257fe5b041461392f5760405162461bcd60e51b81526004018080602001828103825260218152602001806145026021913960400191505060405180910390fd5b9392505050565b600080821161398c576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161399557fe5b049392505050565b6000828211156139f4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561392f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b4360009081526020818152604080832032845290915290205460ff1690565b4360009081526020818152604080832033845290915290205460ff1690565b6000818310613aa1578161392f565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611af6908490613efa565b600a60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613b4a57600080fd5b505af19250505080156129b15750565b600654604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b158015613bae57600080fd5b505af1158015613bc2573d6000803e3d6000fd5b505050506040513d6020811015613bd857600080fd5b505060205460009015613cc357613c00612710610c41602054856138d690919063ffffffff16565b600654601f546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b158015613c5b57600080fd5b505af1158015613c6f573d6000803e3d6000fd5b505050506040513d6020811015613c8557600080fd5b5050604080514281526020810183905281517fcb3f34aaa3445b461e6da5492dc89e5c257a59fa598131f3b6bbc97a3638e409929181900390910190a15b60225460009015613dac57613ce9612710610c41602254866138d690919063ffffffff16565b6006546021546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b158015613d4457600080fd5b505af1158015613d58573d6000803e3d6000fd5b505050506040513d6020811015613d6e57600080fd5b5050604080514281526020810183905281517fdc8b715b18523e58b7fd0da53259dfa91efd91df4a854d94b136e3333a3b9395929181900390910190a15b613dba816125a2858561399d565b600954600654919450613ddb916001600160a01b0390811691166000613fab565b600954600654613df8916001600160a01b03918216911685613fab565b600954604080516397ffe1d760e01b81526004810186905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b158015613e4557600080fd5b505af1158015613e59573d6000803e3d6000fd5b5050604080514281526020810187905281517fa72fa2f263b243b0f0e1fec5f3d49d33de573d15929b6b730c6b8ab3838c1c4d9450908190039091019150a1505050565b600060085b600f8160ff1681548110613eb257fe5b90600052602060002001548310613ee75760108160ff1681548110613ed357fe5b600091825260209091200154601155613ef0565b60001901613ea2565b5050601154919050565b6060613f4f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166140be9092919063ffffffff16565b805190915015611af657808060200190516020811015613f6e57600080fd5b5051611af65760405162461bcd60e51b815260040180806020018281038252602a815260200180614626602a913960400191505060405180910390fd5b801580614031575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561400357600080fd5b505afa158015614017573d6000803e3d6000fd5b505050506040513d602081101561402d57600080fd5b5051155b61406c5760405162461bcd60e51b81526004018080602001828103825260368152602001806146766036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611af6908490613efa565b60606140cd84846000856140d5565b949350505050565b6060824710156141165760405162461bcd60e51b81526004018080602001828103825260268152602001806144b76026913960400191505060405180910390fd5b61411f85614231565b614170576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106141af5780518252601f199092019160209182019101614190565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614211576040519150601f19603f3d011682016040523d82523d6000602084013e614216565b606091505b5091509150614226828286614237565b979650505050505050565b3b151590565b6060831561424657508161392f565b8251156142565782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156142a0578181015183820152602001614288565b50505050905090810190601f1680156142cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215614330579160200282015b8281111561433057825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906142fb565b50610ca59291506143d1565b828054828255906000526020600020908101928215614385579160200282015b82811115614385578251829069ffffffffffffffffffff1690559160200191906001019061435c565b50610ca59291506143f0565b828054828255906000526020600020908101928215614385579160200282015b82811115614385578251829060ff169055916020019190600101906143b1565b5b80821115610ca55780546001600160a01b03191681556001016143d2565b5b80821115610ca557600081556001016143f156fe5f7072656d69756d5468726573686f6c64206578636565647320757370626f6e6450726963654365696c696e6754726561737572793a2063616e6e6f742072656465656d20626f6e64732077697468207a65726f20616d6f756e7454726561737572793a20555350205072696365206e6f7420656c696769626c6520666f7220626f6e642070757263686173655f7072656d69756d5468726573686f6c6420697320686967686572207468616e20312e35416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c54726561737572793a20747265617375727920686173206e6f206d6f726520627564676574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754726561737572793a2063616e6e6f7420707572636861736520626f6e64732077697468207a65726f20616d6f756e7454726561737572793a206661696c656420746f20636f6e73756c74205553502070726963652066726f6d20746865206f7261636c655f6d696e74696e67466163746f72466f72506179696e67446562743a206f7574206f662072616e67655f6d6178537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765496e6465782068617320746f206265206c6f776572207468616e20636f756e74206f6620746965727354726561737572793a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756e6374696f6e5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636554726561737572793a206e6f7420656e6f75676820626f6e64206c65667420746f2070757263686173655f626f6f747374726170537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765a2646970667358221220b708aa736ea32b217732345614a65795f93d7c226bc31974d641fc4478a7a02f64736f6c634300060c0033

Deployed ByteCode Sourcemap

33718:22326:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35691:35;;;:::i;:::-;;;;;;;;;;;;;;;;47505:326;;;;;;;;;;;;;;;;-1:-1:-1;47505:326:0;;:::i;:::-;;43906:319;;;;;;;;;;;;;;;;-1:-1:-1;43906:319:0;;:::i;39716:713::-;;;:::i;40437:765::-;;;:::i;34474:24::-;;;:::i;:::-;;;;-1:-1:-1;;;;;34474:24:0;;;;;;;;;;;;;;50316:1084;;;;;;;;;;;;;;;;-1:-1:-1;50316:1084:0;;;;;;;:::i;47290:207::-;;;;;;;;;;;;;;;;-1:-1:-1;47290:207:0;;:::i;34079:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;38565:712;;;:::i;43373:525::-;;;;;;;;;;;;;;;;-1:-1:-1;43373:525:0;;;;;;;:::i;34415:21::-;;;:::i;45018:291::-;;;;;;;;;;;;;;;;-1:-1:-1;45018:291:0;;:::i;34846:47::-;;;:::i;35391:30::-;;;:::i;35332:29::-;;;:::i;37583:89::-;;;:::i;37831:298::-;;;:::i;35502:41::-;;;:::i;47839:201::-;;;;;;;;;;;;;;;;-1:-1:-1;47839:201:0;;:::i;35662:22::-;;;:::i;48048:330::-;;;;;;;;;;;;;;;;-1:-1:-1;48048:330:0;;:::i;38137:303::-;;;:::i;54890:421::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54890:421:0;;;;;;;;;;;;;;;;;:::i;49013:1295::-;;;;;;;;;;;;;;;;-1:-1:-1;49013:1295:0;;;;;;;:::i;35618:35::-;;;:::i;34033:23::-;;;:::i;45628:257::-;;;;;;;;;;;;;;;;-1:-1:-1;45628:257:0;;:::i;38463:94::-;;;:::i;34634:31::-;;;:::i;52806:2076::-;;;:::i;55319:128::-;;;;;;;;;;;;;;;;-1:-1:-1;55319:128:0;-1:-1:-1;;;;;55319:128:0;;:::i;34445:22::-;;;:::i;43232:133::-;;;;;;;;;;;;;;;;-1:-1:-1;43232:133:0;-1:-1:-1;;;;;43232:133:0;;:::i;39285:423::-;;;:::i;55455:198::-;;;;;;;;;;;;;;;;-1:-1:-1;55455:198:0;;;;;;;:::i;34521:26::-;;;:::i;34133:24::-;;;:::i;34595:30::-;;;:::i;34554:34::-;;;:::i;34799:40::-;;;:::i;34288:::-;;;;;;;;;;;;;;;;-1:-1:-1;34288:40:0;;:::i;34386:22::-;;;:::i;35228:36::-;;;:::i;35106:46::-;;;:::i;35589:22::-;;;:::i;34164:26::-;;;:::i;45893:499::-;;;;;;;;;;;;;;;;-1:-1:-1;45893:499:0;;;;;;;:::i;44233:428::-;;;;;;;;;;;;;;;;-1:-1:-1;44233:428:0;;;;;;;;;:::i;55807:234::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55807:234:0;;;;;;;;;;;;;;;;;:::i;47020:129::-;;;;;;;;;;;;;;;;-1:-1:-1;47020:129:0;;:::i;34674:28::-;;;;;;;;;;;;;;;;-1:-1:-1;34674:28:0;;:::i;34709:34::-;;;;;;;;;;;;;;;;-1:-1:-1;34709:34:0;;:::i;47157:125::-;;;;;;;;;;;;;;;;-1:-1:-1;47157:125:0;;:::i;48544:461::-;;;:::i;34361:18::-;;;:::i;43018:101::-;;;;;;;;;;;;;;;;-1:-1:-1;43018:101:0;-1:-1:-1;;;;;43018:101:0;;:::i;33914:40::-;;;:::i;35271:30::-;;;:::i;46400:612::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46400:612:0;;;;;;;;;;;;;;;;;;;;:::i;55661:138::-;;;;;;;;;;;;;;;;-1:-1:-1;55661:138:0;;:::i;37694:114::-;;;:::i;35466:29::-;;;:::i;35428:31::-;;;:::i;45317:303::-;;;;;;;;;;;;;;;;-1:-1:-1;45317:303:0;;:::i;44669:341::-;;;;;;;;;;;;;;;;-1:-1:-1;44669:341:0;;;;;;;;;:::i;43127:97::-;;;;;;;;;;;;;;;;-1:-1:-1;43127:97:0;-1:-1:-1;;;;;43127:97:0;;:::i;34752:40::-;;;:::i;34949:34::-;;;:::i;41256:1754::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41256:1754:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41256:1754:0;;-1:-1:-1;41256:1754:0;;-1:-1:-1;;;;;41256:1754:0:i;34900:42::-;;;:::i;35069:30::-;;;:::i;34197:45::-;;;:::i;35691:35::-;;;;:::o;47505:326::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47623:19:::1;;47602:17;:40;;47594:98;;;;-1:-1:-1::0;;;47594:98:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47732:3;47711:17;:24;;47703:73;;;;-1:-1:-1::0;;;47703:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47787:16;:36:::0;47505:326::o;43906:319::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44052:2:::1;44022:26;:32;;:70;;;;;44088:4;44058:26;:34;;44022:70;44014:123;;;;-1:-1:-1::0;;;44014:123:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44163:25;:54:::0;43906:319::o;39716:713::-;39768:13;39794:17;39814:13;:11;:13::i;:::-;39794:33;;39855:11;;39842:9;:24;39838:584;;39887:15;;39883:528;;39968:11;;39960:19;;39883:528;;;40020:19;40042:36;40068:9;40042:21;40058:4;40042:11;;:15;;:21;;;;:::i;:::-;:25;;:36::i;:::-;40020:58;;40114:23;40140:60;40194:5;40140:49;40173:15;;40140:28;40156:11;;40140;:15;;:28;;;;:::i;:::-;:32;;:49::i;:60::-;40227:11;;40114:86;;-1:-1:-1;40227:32:0;;40114:86;40227:15;:32::i;:::-;40219:40;;40300:1;40282:15;;:19;:46;;;;;40313:15;;40305:5;:23;40282:46;40278:118;;;40361:15;;40353:23;;40278:118;39883:528;;;39716:713;;:::o;40437:765::-;40488:13;40514:17;40534:13;:11;:13::i;:::-;40514:33;;40574:19;;40562:9;:31;40558:637;;;40610:33;40646:42;40684:3;40646:33;40662:16;;40646:11;;:15;;:33;;;;:::i;:42::-;40610:78;;40720:25;40707:9;:38;40703:481;;40798:22;40823:57;40874:5;40823:46;40854:14;;40823:26;40837:11;;40823:9;:13;;:26;;;;:::i;:57::-;40907:11;;40798:82;;-1:-1:-1;40907:31:0;;40798:82;40907:15;:31::i;:::-;40899:39;;40978:1;40961:14;;:18;:44;;;;;40991:14;;40983:5;:22;40961:44;40957:115;;;41038:14;;41030:22;;40957:115;40703:481;;;;41157:11;;41149:19;;40703:481;40558:637;40437:765;;:::o;34474:24::-;;;-1:-1:-1;;;;;34474:24:0;;:::o;50316:1084::-;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36751:9:::1;;36744:3;:16;;36736:54;;;::::0;;-1:-1:-1;;;36736:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36736:54:0;;;;;;;;;;;;;::::1;;37195:3:::2;::::0;37183:27:::2;::::0;;-1:-1:-1;;;37183:27:0;;;;37222:4:::2;::::0;-1:-1:-1;;;;;37195:3:0::2;::::0;37183:25:::2;::::0;:27:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37195:3;37183:27;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37183:27:0;-1:-1:-1;;;;;37183:44:0::2;;:92:::0;::::2;;;-1:-1:-1::0;37243:3:0::2;::::0;37231:27:::2;::::0;;-1:-1:-1;;;37231:27:0;;;;37270:4:::2;::::0;-1:-1:-1;;;;;37243:3:0::2;::::0;37231:25:::2;::::0;:27:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37243:3;37231:27;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37231:27:0;-1:-1:-1;;;;;37231:44:0::2;;37183:92;:141;;;;-1:-1:-1::0;37288:7:0::2;::::0;37279:28:::2;::::0;;-1:-1:-1;;;37279:28:0;;;;37319:4:::2;::::0;-1:-1:-1;;;;;37288:7:0::2;::::0;37279:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37288:7;37279:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37279:28:0;-1:-1:-1;;;;;37279:45:0::2;;37183:141;37161:221;;;::::0;;-1:-1:-1;;;37161:221:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;50463:1:::3;50449:11;:15;50441:74;;;;-1:-1:-1::0;;;50441:74:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50528:16;50547:13;:11;:13::i;:::-;50528:32;;50591:11;50579:8;:23;50571:61;;;::::0;;-1:-1:-1;;;50571:61:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;50571:61:0;;;;;;;;;;;;;::::3;;50676:19;;50665:8;:30;50643:147;;;;-1:-1:-1::0;;;50643:147:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50803:13;50819:20;:18;:20::i;:::-;50803:36;;50866:1;50858:5;:9;50850:49;;;::::0;;-1:-1:-1;;;50850:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;50912:18;50933:32;50960:4;50933:22;:11:::0;50949:5;50933:15:::3;:22::i;:32::-;50991:3;::::0;50984:36:::3;::::0;;-1:-1:-1;;;50984:36:0;;51014:4:::3;50984:36;::::0;::::3;::::0;;;50912:53;;-1:-1:-1;50912:53:0;;-1:-1:-1;;;;;50991:3:0;;::::3;::::0;50984:21:::3;::::0;:36;;;;;::::3;::::0;;;;;;;;;50991:3;50984:36;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;50984:36:0;:50:::3;;50976:100;;;;-1:-1:-1::0;;;50976:100:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51108:60;51129:38;51138:16;;51156:10;51129:8;:38::i;:::-;51108:16;::::0;;:20:::3;:60::i;:::-;51089:16;:79:::0;51193:7:::3;::::0;51181:54:::3;::::0;;-1:-1:-1;;;51181:54:0;;51211:10:::3;51181:54;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;51193:7:0;;::::3;::::0;51181:29:::3;::::0;:54;;;;;51193:7:::3;::::0;51181:54;;;;;;;;51193:7;;51181:54;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;51253:3:0::3;::::0;51246:48:::3;::::0;-1:-1:-1;;;;;;51253:3:0::3;::::0;-1:-1:-1;51271:10:0::3;51283::::0;51246:24:::3;:48::i;:::-;51307:17;:15;:17::i;:::-;51342:50;::::0;;;;;::::3;::::0;::::3;::::0;;;;;51356:10:::3;::::0;51342:50:::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;;;50316:1084:0:o;47290:207::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47405:5:::1;47385:16;:25;;47377:67;;;::::0;;-1:-1:-1;;;47377:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;47455:15;:34:::0;47290:207::o;34079:31::-;;;-1:-1:-1;;;34079:31:0;;;;;:::o;38565:712::-;38616:24;38653:17;38673:13;:11;:13::i;:::-;38653:33;;38714:11;;38701:9;:24;38697:573;;38742:18;38763:25;:23;:25::i;:::-;38742:46;;38803:22;38828:46;38868:5;38828:35;38843:19;;38828:10;:14;;:35;;;;:::i;:46::-;38803:71;;38889:19;38918:7;;;;;;;;;-1:-1:-1;;;;;38918:7:0;-1:-1:-1;;;;;38911:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38911:29:0;;-1:-1:-1;38959:28:0;;;38955:304;;;39008:24;39035:31;:14;39054:11;39035:18;:31::i;:::-;39008:58;-1:-1:-1;39085:23:0;39111:41;39147:4;39111:31;39008:58;39132:9;39111:20;:31::i;:41::-;39085:67;;39190:53;39199:26;;39227:15;39190:8;:53::i;:::-;39171:72;;38955:304;;;38697:573;;;38565:712;;:::o;43373:525::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43515:28:::1;43539:3;43515:19;43531:2;43515:11;;:15;;:19;;;;:::i;:28::-;43495:16;:48;;:101;;;;;43567:29;43592:3;43567:20;43583:3;43567:11;;:15;;:20;;;;:::i;:29::-;43547:16;:49;;43495:101;43487:126;;;::::0;;-1:-1:-1;;;43487:126:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43487:126:0;;;;;;;;;;;;;::::1;;43672:28;43696:3;43672:19;43688:2;43672:11;;:15;;:19;;;;:::i;:28::-;43648:20;:52;;:109;;;;;43728:29;43753:3;43728:20;43744:3;43728:11;;:15;;:20;;;;:::i;:29::-;43704:20;:53;;43648:109;43640:134;;;::::0;;-1:-1:-1;;;43640:134:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43640:134:0;;;;;;;;;;;;;::::1;;43803:19;:42:::0;43856:15:::1;:34:::0;43373:525::o;34415:21::-;;;-1:-1:-1;;;;;34415:21:0;;:::o;45018:291::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45163:3:::1;45133:26;:33;;:72;;;;;45200:5;45170:26;:35;;45133:72;45125:97;;;::::0;;-1:-1:-1;;;45125:97:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45125:97:0;;;;;;;;;;;;;::::1;;45247:25;:54:::0;45018:291::o;34846:47::-;;;;:::o;35391:30::-;;;;:::o;35332:29::-;;;;:::o;37583:89::-;37653:11;;-1:-1:-1;;;37653:11:0;;;;37583:89;;:::o;37831:298::-;37916:9;;37935:3;;37908:37;;;-1:-1:-1;;;37908:37:0;;-1:-1:-1;;;;;37935:3:0;;;37908:37;;;;37940:4;37908:37;;;;;;37875:16;;37916:9;;;;;37908:26;;:37;;;;;;;;;;;;;;;37916:9;37908:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37908:37:0;;;37904:218;;38047:63;;-1:-1:-1;;;38047:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37904:218;38000:5;38008:4;38000:12;37992:21;;37985:28;;;;;35502:41;;;;:::o;47839:201::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47951:5:::1;47932:15;:24;;47924:65;;;::::0;;-1:-1:-1;;;47924:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48000:14;:32:::0;47839:201::o;35662:22::-;;;-1:-1:-1;;;;;35662:22:0;;:::o;48048:330::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48196:5:::1;48165:27;:36;;:76;;;;;48236:5;48205:27;:36;;48165:76;48157:130;;;;-1:-1:-1::0;;;48157:130:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48314:26;:56:::0;48048:330::o;38137:303::-;38230:9;;38246:3;;38222:34;;;-1:-1:-1;;;38222:34:0;;-1:-1:-1;;;;;38246:3:0;;;38222:34;;;;38251:4;38222:34;;;;;;38188:17;;38230:9;;;;;38222:23;;:34;;;;;;;;;;;;;;;38230:9;38222:34;;;;;;;;;;54890:421;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55121:3:::1;::::0;-1:-1:-1;;;;;55094:31:0;;::::1;55121:3:::0;::::1;55094:31;;55086:47;;;::::0;;-1:-1:-1;;;55086:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55086:47:0;;;;;;;;;;;;;::::1;;55179:7;::::0;-1:-1:-1;;;;;55152:35:0;;::::1;55179:7:::0;::::1;55152:35;;55144:52;;;::::0;;-1:-1:-1;;;55144:52:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;55144:52:0;;;;;;;;;;;;;::::1;;55242:6;::::0;-1:-1:-1;;;;;55215:34:0;;::::1;55242:6:::0;::::1;55215:34;;55207:52;;;::::0;;-1:-1:-1;;;55207:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55207:52:0;;;;;;;;;;;;;::::1;;55270:33;-1:-1:-1::0;;;;;55270:19:0;::::1;55290:3:::0;55295:7;55270:19:::1;:33::i;:::-;54890:421:::0;;;:::o;49013:1295::-;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36751:9:::1;;36744:3;:16;;36736:54;;;::::0;;-1:-1:-1;;;36736:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36736:54:0;;;;;;;;;;;;;::::1;;37195:3:::2;::::0;37183:27:::2;::::0;;-1:-1:-1;;;37183:27:0;;;;37222:4:::2;::::0;-1:-1:-1;;;;;37195:3:0::2;::::0;37183:25:::2;::::0;:27:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37195:3;37183:27;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37183:27:0;-1:-1:-1;;;;;37183:44:0::2;;:92:::0;::::2;;;-1:-1:-1::0;37243:3:0::2;::::0;37231:27:::2;::::0;;-1:-1:-1;;;37231:27:0;;;;37270:4:::2;::::0;-1:-1:-1;;;;;37243:3:0::2;::::0;37231:25:::2;::::0;:27:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37243:3;37231:27;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37231:27:0;-1:-1:-1;;;;;37231:44:0::2;;37183:92;:141;;;;-1:-1:-1::0;37288:7:0::2;::::0;37279:28:::2;::::0;;-1:-1:-1;;;37279:28:0;;;;37319:4:::2;::::0;-1:-1:-1;;;;;37288:7:0::2;::::0;37279:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37288:7;37279:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37279:28:0;-1:-1:-1;;;;;37279:45:0::2;;37183:141;37161:221;;;::::0;;-1:-1:-1;;;37161:221:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;49155:1:::3;49142:10;:14;49134:75;;;;-1:-1:-1::0;;;49134:75:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49222:16;49241:13;:11;:13::i;:::-;49222:32;;49285:11;49273:8;:23;49265:61;;;::::0;;-1:-1:-1;;;49265:61:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;49265:61:0;;;;;;;;;;;;;::::3;;49370:11;;49359:8;:22;49337:136;;;;-1:-1:-1::0;;;49337:136:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49508:26;;49494:10;:40;;49486:95;;;;-1:-1:-1::0;;;49486:95:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49594:13;49610:21;:19;:21::i;:::-;49594:37;;49658:1;49650:5;:9;49642:49;;;::::0;;-1:-1:-1;;;49642:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;49704:19;49726:31;49752:4;49726:21;:10:::0;49741:5;49726:14:::3;:21::i;:31::-;49704:53;;49768:17;49788:25;:23;:25::i;:::-;49768:45;;49824:21;49848:46;49882:11;49855:7;;;;;;;;;-1:-1:-1::0;;;;;49855:7:0::3;-1:-1:-1::0;;;;;49848:27:0::3;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;49848:29:0;;:33:::3;:46::i;:::-;49824:70;;49930:45;49969:5;49930:34;49944:19;;49930:9;:13;;:34;;;;:::i;:45::-;49913:13;:62;;49905:94;;;::::0;;-1:-1:-1;;;49905:94:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;49905:94:0;;;;;;;;;;;;;::::3;;50024:3;::::0;50012:49:::3;::::0;;-1:-1:-1;;;50012:49:0;;50038:10:::3;50012:49;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;50024:3:0;;::::3;::::0;50012:25:::3;::::0;:49;;;;;50024:3:::3;::::0;50012:49;;;;;;;;50024:3;;50012:49;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;50084:7:0::3;::::0;50072:50:::3;::::0;;-1:-1:-1;;;50072:50:0;;50098:10:::3;50072:50;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;50084:7:0;;::::3;::::0;-1:-1:-1;50072:25:0::3;::::0;-1:-1:-1;50072:50:0;;;;;::::3;::::0;;;;;;;;;50084:7:::3;::::0;50072:50;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;;50164:26:0::3;::::0;:42:::3;::::0;50195:10;50164:30:::3;:42::i;:::-;50135:26;:71:::0;50217:17:::3;:15;:17::i;:::-;50252:48;::::0;;;;;::::3;::::0;::::3;::::0;;;;;50264:10:::3;::::0;50252:48:::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;;;;;49013:1295:0:o;35618:35::-;;;;:::o;34033:23::-;;;-1:-1:-1;;;;;34033:23:0;;:::o;45628:257::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45755:4:::1;45731:20;:28;;:61;;;;;45787:5;45763:20;:29;;45731:61;45723:86;;;::::0;;-1:-1:-1;;;45723:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45723:86:0;;;;;;;;;;;;;::::1;;45835:19;:42:::0;45628:257::o;38463:94::-;38533:16;;38463:94;:::o;34634:31::-;;;;:::o;52806:2076::-;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36751:9:::1;;36744:3;:16;;36736:54;;;::::0;;-1:-1:-1;;;36736:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36736:54:0;;;;;;;;;;;;;::::1;;36868:16:::2;:14;:16::i;:::-;36861:3;:23;;36853:60;;;::::0;;-1:-1:-1;;;36853:60:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;37195:3:::3;::::0;37183:27:::3;::::0;;-1:-1:-1;;;37183:27:0;;;;37222:4:::3;::::0;-1:-1:-1;;;;;37195:3:0::3;::::0;37183:25:::3;::::0;:27:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37195:3;37183:27;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37183:27:0;-1:-1:-1;;;;;37183:44:0::3;;:92:::0;::::3;;;-1:-1:-1::0;37243:3:0::3;::::0;37231:27:::3;::::0;;-1:-1:-1;;;37231:27:0;;;;37270:4:::3;::::0;-1:-1:-1;;;;;37243:3:0::3;::::0;37231:25:::3;::::0;:27:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37243:3;37231:27;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37231:27:0;-1:-1:-1;;;;;37231:44:0::3;;37183:92;:141;;;;-1:-1:-1::0;37288:7:0::3;::::0;37279:28:::3;::::0;;-1:-1:-1;;;37279:28:0;;;;37319:4:::3;::::0;-1:-1:-1;;;;;37288:7:0::3;::::0;37279:26:::3;::::0;:28:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37288:7;37279:28;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37279:28:0;-1:-1:-1;;;;;37279:45:0::3;;37183:141;37161:221;;;::::0;;-1:-1:-1;;;37161:221:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;52910:17:::4;:15;:17::i;:::-;52962:13;:11;:13::i;:::-;52938:21;:37:::0;53036:16:::4;::::0;52986:17:::4;::::0;53006:47:::4;::::0;:25:::4;:23;:25::i;:::-;:29:::0;::::4;:47::i;:::-;52986:67;;53076:15;;53068:5;;:23;53064:1811;;;53160:73;53175:57;53226:5;53175:46;53189:31;;53175:9;:13;;:46;;;;:::i;:57::-;53160:14;:73::i;:::-;53064:1811;;;53294:15;;53270:21;;:39;53266:1598;;;53454:7;::::0;53447:29:::4;::::0;;-1:-1:-1;;;53447:29:0;;;;53426:18:::4;::::0;-1:-1:-1;;;;;53454:7:0::4;::::0;53447:27:::4;::::0;:29:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;53454:7;53447:29;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;53447:29:0;;-1:-1:-1;53495:21:0::4;::::0;;53600:56:::4;53651:4;53600:46;53636:9:::0;53600:35:::4;:46::i;:56::-;53578:78;;53701:52;53747:5;53701:41;53716:25;;53701:10;:14;;:41;;;;:::i;:52::-;53681:16;;:72;53677:779;;53866:36;53897:4;53866:26;:9:::0;53880:11;53866:13:::4;:26::i;:36::-;53847:55;;53677:779;;;54020:20;54043:36;54074:4;54043:26;:9:::0;54057:11;54043:13:::4;:26::i;:36::-;54020:59;;54121:61;54176:5;54121:50;54138:32;;54121:12;:16;;:50;;;;:::i;:61::-;54102:80:::0;-1:-1:-1;54221:34:0::4;:12:::0;54102:80;54221:16:::4;:34::i;:::-;54282:26;::::0;54205:50;;-1:-1:-1;54282:30:0;54278:159:::4;;54357:56;54407:5;54357:45;54375:26;;54357:13;:17;;:45;;;;:::i;:56::-;54341:72;;54278:159;53677:779;;54478:20:::0;;54474:101:::4;;54523:32;54538:16;54523:14;:32::i;:::-;54597:17:::0;;54593:256:::4;;54658:16;::::0;:35:::4;::::0;54679:13;54658:20:::4;:35::i;:::-;54639:16;:54:::0;54728:3:::4;::::0;54716:51:::4;::::0;;-1:-1:-1;;;54716:51:0;;54746:4:::4;54716:51;::::0;::::4;::::0;;;;;;;;;-1:-1:-1;;;;;54728:3:0;;::::4;::::0;54716:21:::4;::::0;:51;;;;;::::4;::::0;;;;;;;;;54728:3:::4;::::0;54716:51;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;;54795:34:0::4;::::0;;54810:3:::4;54795:34:::0;;54716:51:::4;54795:34:::0;::::4;::::0;;;;;::::4;::::0;;;;;;;;;::::4;54593:256;53266:1598;;;;;-1:-1:-1::0;36948:5:0::2;::::0;:12:::2;::::0;36958:1:::2;36948:9;:12::i;:::-;36940:5;:20:::0;37017:15:::2;::::0;37001:13:::2;:11;:13::i;:::-;:31;37000:109;;37040:69;37103:5;37040:58;37070:27;;37040:25;:23;:25::i;:69::-;37000:109;;;37036:1;37000:109;36971:26;:138:::0;2580:12;2572:7;:21;;;;;;;;;;;2594:9;2572:32;;;;;;;;:39;;2607:4;-1:-1:-1;;2572:39:0;;;;;;;;2644:10;2622:33;;;;;;:40;;;;;;;;;;52806:2076::o;55319:128::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55408:7:::1;::::0;55399:40:::1;::::0;;-1:-1:-1;;;55399:40:0;;-1:-1:-1;;;;;55399:40:0;;::::1;;::::0;::::1;::::0;;;55408:7;;;::::1;::::0;55399:29:::1;::::0;:40;;;;;55408:7:::1;::::0;55399:40;;;;;;;55408:7;;55399:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55319:128:::0;:::o;34445:22::-;;;-1:-1:-1;;;;;34445:22:0;;:::o;43232:133::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43307:9:::1;:22:::0;;-1:-1:-1;;;;;;43307:22:0::1;-1:-1:-1::0;;;;;43307:22:0;::::1;;::::0;;43340:17:::1;:15;:17::i;:::-;43232:133:::0;:::o;39285:423::-;39336:24;39373:17;39393:13;:11;:13::i;:::-;39373:33;;39433:19;;39421:9;:31;39417:284;;;39496:3;;39489:36;;;-1:-1:-1;;;39489:36:0;;39519:4;39489:36;;;;;;39469:17;;-1:-1:-1;;;;;39496:3:0;;39489:21;;:36;;;;;;;;;;;;;;39496:3;39489:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39489:36:0;;-1:-1:-1;39540:13:0;39556:20;:18;:20::i;:::-;39540:36;-1:-1:-1;39595:9:0;;39591:99;;39644:30;39668:5;39644:19;:9;39658:4;39644:13;:19::i;:30::-;39625:49;;39417:284;;39285:423;;:::o;55455:198::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55583:7:::1;::::0;55574:71:::1;::::0;;-1:-1:-1;;;55574:71:0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;55583:7:0;;::::1;::::0;55574:27:::1;::::0;:71;;;;;55583:7:::1;::::0;55574:71;;;;;;;;55583:7;;55574:71;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55455:198:::0;;:::o;34521:26::-;;;;:::o;34133:24::-;;;;:::o;34595:30::-;;;;:::o;34554:34::-;;;;:::o;34799:40::-;;;;:::o;34288:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34288:40:0;;-1:-1:-1;34288:40:0;:::o;34386:22::-;;;-1:-1:-1;;;;;34386:22:0;;:::o;35228:36::-;;;;:::o;35106:46::-;;;;:::o;35589:22::-;;;-1:-1:-1;;;;;35589:22:0;;:::o;34164:26::-;;;;:::o;45893:499::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46044:3:::1;46024:16;:23;;46016:66;;;::::0;;-1:-1:-1;;;46016:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;46151:3;46115:32;:39;;:83;;;;;46194:4;46158:32;:40;;46115:83;46107:142;;;;-1:-1:-1::0;;;46107:142:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46273:15;:34:::0;;;;46318:31:::1;:66:::0;45893:499::o;44233:428::-;36608:8;;44323:4;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44357:1:::1;44348:6;:10;;;44340:64;;;;-1:-1:-1::0;;;44340:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44419:10;::::0;::::1;::::0;44415:84:::1;;44463:11;44484:1;44475:6;:10;44463:23;;;;;;;;;;;;;;;;;;44454:6;:32;44446:41;;;::::0;::::1;;44522:1;44513:6;:10;;;44509:84;;;44557:11;44569:6;44578:1;44569:10;44557:23;;;;;;;;;;;;;;;;;;44548:6;:32;44540:41;;;::::0;::::1;;44625:6;44603:11;44615:6;44603:19;;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;:28:::0;-1:-1:-1;44649:4:0::1;36682:1;44233:428:::0;;;;:::o;55807:234::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55974:7:::1;::::0;55965:68:::1;::::0;;-1:-1:-1;;;55965:68:0;;-1:-1:-1;;;;;55965:68:0;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;55974:7;;;::::1;::::0;55965:46:::1;::::0;:68;;;;;55974:7:::1;::::0;55965:68;;;;;;;55974:7;;55965:68;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55807:234:::0;;;:::o;47020:129::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47107:15:::1;:34:::0;47020:129::o;34674:28::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34674:28:0;:::o;34709:34::-;;;;;;;;;;47157:125;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47242:14:::1;:32:::0;47157:125::o;48544:461::-;48645:3;;48682:22;;;-1:-1:-1;;;48682:22:0;;;;48600:7;;-1:-1:-1;;;;;48645:3:0;;48600:7;;48645:3;;48682:20;;:22;;;;;;;;;;;;;;48645:3;48682:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48682:22:0;;-1:-1:-1;48715:23:0;;48753:195;48787:23;:30;48777:40;;;;48753:195;;;48863:73;48883:8;-1:-1:-1;;;;;48883:18:0;;48902:23;48926:7;48902:32;;;;;;;;;;;;;;;;;;;;;48883:52;;;-1:-1:-1;;;;;;48883:52:0;;;;;;;-1:-1:-1;;;;;48902:32:0;;;48883:52;;;;;;;;;;48902:32;48883:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48883:52:0;48863:15;;:19;:73::i;:::-;48845:91;-1:-1:-1;48819:9:0;;48753:195;;;-1:-1:-1;48965:32:0;:11;48981:15;48965;:32::i;34361:18::-;;;-1:-1:-1;;;;;34361:18:0;;:::o;43018:101::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43091:8:::1;:20:::0;;-1:-1:-1;;;;;;43091:20:0::1;-1:-1:-1::0;;;;;43091:20:0;;;::::1;::::0;;;::::1;::::0;;43018:101::o;33914:40::-;33947:7;33914:40;:::o;35271:30::-;;;;:::o;46400:612::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46605:22:0;::::1;46597:39;;;::::0;;-1:-1:-1;;;46597:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;46597:39:0;;;;;;;;;;;;;::::1;;46680:4;46655:21;:29;;46647:54;;;::::0;;-1:-1:-1;;;46647:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46647:54:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;46730:22:0;::::1;46722:39;;;::::0;;-1:-1:-1;;;46722:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;46722:39:0;;;;;;;;;;;;;::::1;;46805:4;46780:21;:29;;46772:54;;;::::0;;-1:-1:-1;;;46772:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46772:54:0;;;;;;;;;;;;;::::1;;46847:7;:18:::0;;-1:-1:-1;;;;;;46847:18:0;;::::1;-1:-1:-1::0;;;;;46847:18:0;;::::1;;::::0;;;46876:20:::1;:44:::0;;;;46931:7:::1;:18:::0;;;;::::1;::::0;;;::::1;;::::0;;46960:20:::1;:44:::0;46400:612::o;55661:138::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55755:7:::1;::::0;55746:45:::1;::::0;;-1:-1:-1;;;55746:45:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;55755:7:0;;::::1;::::0;55746:37:::1;::::0;:45;;;;;55755:7:::1;::::0;55746:45;;;;;;;;55755:7;;55746:45;::::1;;::::0;::::1;;;;::::0;::::1;37694:114:::0;37741:7;37768:32;37782:17;33947:7;37782:5;;:9;;:17;;;;:::i;:::-;37768:9;;;:13;:32::i;:::-;37761:39;;37694:114;:::o;35466:29::-;;;;:::o;35428:31::-;;;;:::o;45317:303::-;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45468:3:::1;45436:28;:35;;:75;;;;;45507:4;45475:28;:36;;45436:75;45428:100;;;::::0;;-1:-1:-1;;;45428:100:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45428:100:0;;;;;;;;;;;;;::::1;;45554:27;:58:::0;45317:303::o;44669:341::-;36608:8;;44765:4;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44799:1:::1;44790:6;:10;;;44782:64;;;;-1:-1:-1::0;;;44782:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44875:2;44865:6;:12;;:30;;;;;44891:4;44881:6;:14;;44865:30;44857:63;;;::::0;;-1:-1:-1;;;44857:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44857:63:0;;;;;;;;;;;;;::::1;;44974:6;44946:17;44964:6;44946:25;;;;;;;;;43127:97:::0;36608:8;;-1:-1:-1;;;;;36608:8:0;36620:10;36608:22;36600:71;;;;-1:-1:-1;;;36600:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43198:7:::1;:18:::0;;-1:-1:-1;;;;;;43198:18:0::1;-1:-1:-1::0;;;;;43198:18:0;;;::::1;::::0;;;::::1;::::0;;43127:97::o;34752:40::-;;;;:::o;34949:34::-;;;;:::o;41256:1754::-;37458:11;;-1:-1:-1;;;37458:11:0;;;;37457:12;37449:54;;;;;-1:-1:-1;;;37449:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36608:8:::1;::::0;-1:-1:-1;;;;;36608:8:0::1;36620:10;36608:22;36600:71;;;;-1:-1:-1::0;;;36600:71:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41542:3:::2;:10:::0;;-1:-1:-1;;;;;;41542:10:0;;::::2;-1:-1:-1::0;;;;;41542:10:0;;::::2;::::0;;;::::2;::::0;;;41563:7:::2;:18:::0;;;::::2;::::0;;::::2;;::::0;;41592:6:::2;:16:::0;;;::::2;::::0;;::::2;;::::0;;41619:9:::2;:22:::0;;;::::2;::::0;;::::2;;::::0;;41652:7:::2;:18:::0;;;;::::2;::::0;;::::2;::::0;;;::::2;::::0;;41681:9:::2;:22:::0;;;41714:50;;::::2;::::0;-1:-1:-1;;41714:50:0::2;::::0;::::2;::::0;::::2;:::i;:::-;-1:-1:-1::0;41791:4:0::2;41777:11;:18:::0;;;41828:29:::2;::::0;41853:3:::2;::::0;41828:20:::2;::::0;41844:3:::2;41828:15;:20::i;:29::-;41806:19;:51:::0;41886:11:::2;::::0;:28:::2;::::0;41910:3:::2;::::0;41886:19:::2;::::0;41902:2:::2;41886:15;:19::i;:28::-;41868:15;:46:::0;41969:106:::2;::::0;;::::2;::::0;::::2;::::0;;-1:-1:-1;41969:106:0;;41987:9:::2;41969:106;::::0;::::2;::::0;41998:9:::2;41969:106:::0;;;;;;;42009:9:::2;41969:106:::0;;;;42020:9:::2;41969:106:::0;;;;42031:9:::2;41969:106:::0;;;;42042:9:::2;41969:106:::0;;;;42053:9:::2;41969:106:::0;;;;42064:10:::2;41969:106:::0;;;;::::2;::::0;:11:::2;::::0;:106:::2;;:::i;:::-;-1:-1:-1::0;42086:63:0::2;::::0;;::::2;::::0;::::2;::::0;;42107:3:::2;42086:63:::0;;42112:3:::2;42086:63;::::0;::::2;::::0;42117:3:::2;42086:63:::0;;;;;;;42122:3:::2;42086:63:::0;;;;42127:3:::2;42086:63:::0;;;;42132:3:::2;42086:63:::0;;;;42137:3:::2;42086:63:::0;;;;42142:2:::2;42086:63:::0;;;;42146:2:::2;42086:63:::0;;;;::::2;::::0;:17:::2;::::0;:63:::2;;:::i;:::-;-1:-1:-1::0;42190:3:0::2;42162:25;:31:::0;42268:5:::2;42240:25;:33:::0;42362:4:::2;42327:32;:39:::0;;;42457:3:::2;42427:27;:33:::0;42538:19:::2;:26:::0;42638:3:::2;42619:16;:22:::0;42669:4:::2;42652:14;:21:::0;-1:-1:-1;42734:15:0::2;:19:::0;42798:3:::2;42764:31;:37:::0;-1:-1:-1;42889:3:0;42882:36:::2;::::0;;-1:-1:-1;;;42882:36:0;;42912:4:::2;42882:36;::::0;::::2;::::0;;;-1:-1:-1;;;;;42889:3:0;;::::2;::::0;42882:21:::2;::::0;:36;;;;;::::2;::::0;;;;;;;;;42889:3;42882:36;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;42882:36:0;42863:16:::2;:55:::0;42945:4:::2;42931:18:::0;;-1:-1:-1;;;;42931:18:0::2;-1:-1:-1::0;;;42931:18:0::2;::::0;;42965:37:::2;::::0;;42989:12:::2;42965:37:::0;;;;42977:10:::2;::::0;42965:37:::2;::::0;;;;;42882:36:::2;42965:37:::0;;::::2;41256:1754:::0;;;;;;;:::o;34900:42::-;;;;:::o;35069:30::-;;;;:::o;34197: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;48439:97::-;48498:9;;;;;;;;;-1:-1:-1;;;;;48498:9:0;-1:-1:-1;;;;;48490:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48439:97::o;51408:1006::-;51481:3;;51469:45;;;-1:-1:-1;;;51469:45:0;;51499:4;51469:45;;;;;;;;;;;;-1:-1:-1;;;;;51481:3:0;;;;51469:21;;:45;;;;;;;;;;;;;;;51481:3;;51469:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51469:45:0;51574:20;51527:28;;51574:24;51570:250;;51638:44;51676:5;51638:33;51650:20;;51638:7;:11;;:33;;;;:::i;:44::-;51704:3;;51718:7;;51697:51;;;-1:-1:-1;;;51697:51:0;;-1:-1:-1;;;;;51718:7:0;;;51697:51;;;;;;;;;;;;51615:67;;-1:-1:-1;51704:3:0;;;51697:20;;:51;;;;;;;;;;;;;;;51704:3;;51697:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51768:40:0;;;51782:3;51768:40;;51697:51;51768:40;;;;;;;;;;;;;;;;;;51570:250;51879:20;;51832:28;;51879:24;51875:250;;51943:44;51981:5;51943:33;51955:20;;51943:7;:11;;:33;;;;:::i;:44::-;52009:3;;52023:7;;52002:51;;;-1:-1:-1;;;52002:51:0;;-1:-1:-1;;;;;52023:7:0;;;52002:51;;;;;;;;;;;;51920:67;;-1:-1:-1;52009:3:0;;;52002:20;;:51;;;;;;;;;;;;;;;52009:3;;52002:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52073:40:0;;;52087:3;52073:40;;52002:51;52073:40;;;;;;;;;;;;;;;;;;51875:250;52147:59;52185:20;52147:33;:7;52159:20;52147:11;:33::i;:59::-;52243:7;;52226:3;;52137:69;;-1:-1:-1;52219:35:0;;-1:-1:-1;;;;;52226:3:0;;;;52243:7;;52219:23;:35::i;:::-;52289:7;;52272:3;;52265:41;;-1:-1:-1;;;;;52272:3:0;;;;52289:7;52298;52265:23;:41::i;:::-;52326:7;;52317:46;;;-1:-1:-1;;;52317:46:0;;;;;;;;;;-1:-1:-1;;;;;52326:7:0;;;;52317:37;;:46;;;;;52326:7;;52317:46;;;;;;;;52326:7;;52317:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52379:27:0;;;52393:3;52379:27;;;;;;;;;;;;-1:-1:-1;52379:27:0;;;;;;;;-1:-1:-1;52379:27:0;51408:1006;;;:::o;52422:376::-;52505:7;52545:1;52525:223;52604:11;52616:6;52604:19;;;;;;;;;;;;;;;;;;52590:10;:33;52586:151;;52672:17;52690:6;52672:25;;;;;;;;;;;;;;;;;;;;52644;:53;52716:5;;52586:151;-1:-1:-1;;52561:8:0;52525:223;;;-1:-1:-1;;52765:25:0;;52422:376;;;:::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://b708aa736ea32b217732345614a65795f93d7c226bc31974d641fc4478a7a02f
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.