Contract 0x65767a3eb149FefB9AF0DC91D79983B7bb6a3Cb0

 

Contract Overview

Rubik Finance: Treasury
Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x03692dffa75e623808d5f22de92692d18a7153b349302353233163addc5f4a6cMasonry Set Oper...448310562022-08-13 17:15:01178 days 3 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.000038412978
0xbb004ad4c9d0d21135542757917433c5ec01cd3b74b9ce32d420232229a3c0a1Allocate Seignio...448307282022-08-13 17:08:52178 days 3 hrs agoRubik Finance: Deployer IN  Rubik Finance: Treasury0 FTM0.000440170546
0x74bc724c5e38cabb05413e0274f79e806cafe5cabaad95a76771ab3e3878560bAllocate Seignio...399984102022-06-07 15:25:41245 days 5 hrs ago0x2a1d82f5242064330bac450c2305cb1d6cb6e2b2 IN  Rubik Finance: Treasury0 FTM0.002136561782
0x642074519c0a9813844ee9cdbd3bd9fb5ef24522a02ce5d579a0d8ce39260bccGovernance Recov...373157522022-05-01 7:11:51282 days 13 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.023227289482
0x52d1ae72aa8917e68b800a70d520c0d2ed60cc76f76c85457ea3378619b4a2b0Set Rubik Oracle370470402022-04-27 4:54:34286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.005653761812
0x5e0d0175f3fcfc240f2810e2d4c03101c1d4cd33d6ff6f6a447942cbe7ebc909Set Rubik Oracle370468352022-04-27 4:51:05286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.005634756737
0xea0ab9f282bc52bd47e833d21222544759090326da1b325eced8564bcb6afe70Set Rubik Oracle370460972022-04-27 4:37:51286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.006124233117
0x03d068f16e64c2f620d02077a57d7151aa501c8844f0fd1a4ca203b73138f3b2Set Rubik Oracle370457792022-04-27 4:32:06286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.006623732312
0xfcbbeb443908b1c5847009d4cf0ff830d1c925cb8052d4aafd2660699d43ed72Set Bootstrap370453682022-04-27 4:24:42286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.01210243008
0x05bae85395aa7bad631e6b061f0096f2e9a054616537f7336cb6af432d5ce36bSet Rubik Oracle370453422022-04-27 4:24:17286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.00724270248
0x375a2c279c16b9900f0e1e60856d14e414eff58abeec2316a9bd4f301547de1aSet Rubik Oracle370446632022-04-27 4:11:57286 days 16 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.008175381915
0xa46d34d59b7937159a01c28c40f83a8a3e56ece49df2aa3fbf059ab68011edfbSet Rubik Oracle370279782022-04-26 22:32:44286 days 22 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.008649676343
0xa0330242a67d9a8c695628b2ef7df0c9cb9678ec91a62e3b89ce42794f3e2257Set Bond Treasur...367416792022-04-23 1:11:09290 days 19 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.00491257684
0x3d62adbedd6e7ea35fdba755f5315e4e4aa6d9ebb8f124ab73319a9a9d78985fSet Bond Treasur...366541092022-04-21 23:09:51291 days 21 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.008306982801
0x2e1ecaccf4013269ebf0cfbeaa38c72ca18d7c766e2a08ddf9413bcbd278ca21Set Extra Funds366399422022-04-21 18:37:24292 days 2 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.068890722978
0x4d3dc2a304139b994173db016182a83d2e589799609aa361f046586f1f84be79Initialize366394202022-04-21 18:28:40292 days 2 hrs ago0xfa1dcf8369ff71afe0fc2b57e1d103ab931766c7 IN  Rubik Finance: Treasury0 FTM0.380927068264
0x305eaee7553c03676083d8261f8f5c86a1dbf2ee7c858adf1bdd8fa7344c08090x60806040366312512022-04-21 15:52:46292 days 5 hrs agoRubik Finance: Deployer IN  Create: Treasury0 FTM1.085775897662
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x305eaee7553c03676083d8261f8f5c86a1dbf2ee7c858adf1bdd8fa7344c0809366312512022-04-21 15:52:46292 days 5 hrs ago Rubik Finance: Deployer  Contract Creation0 FTM
[ Download CSV Export 
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:
Treasury

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 FtmScan.com on 2022-04-21
*/

// SPDX-License-Identifier: MIT


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 @openzeppelin/contracts/token/ERC20/[email protected]



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/math/[email protected]



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/utils/[email protected]



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/token/ERC20/[email protected]



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/utils/[email protected]



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 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/[email protected]



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/[email protected]



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 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/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 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/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/IMasonry.sol



pragma solidity 0.6.12;

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

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

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

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

    function epoch() external view returns (uint256);

    function nextEpochPoint() external view returns (uint256);

    function getRubikPrice() 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;
}


interface IBondTreasury {
    function totalVested() external view returns (uint256);
}

// File contracts/Treasury.sol



pragma solidity 0.6.12;


contract Treasury 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 = 0;
    uint256 public epochSupplyContractionLeft = 0;

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

    // core components
    address public rubik;
    address public rbond;
    address public rshare;

    address public masonry;
    address public bondTreasury;
    address public rubikOracle;

    // price
    uint256 public rubikPriceOne;
    uint256 public rubikPriceCeiling;

    uint256 public seigniorageSaved;

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

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

    uint256 public bondSupplyExpansionPercent;

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

    /* =================== Added variables =================== */
    uint256 public previousEpochRubikPrice;
    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 RUBIK during debt phase

    address public daoFund;
    uint256 public daoFunRsharedPercent;

    address public devFund1;
    address public devFund2;
    address public devFund3;
    address public devFund4;   
    uint256 public devFunRsharedPercent;

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

    event Initialized(address indexed executor, uint256 at);
    event BurnerBonds(address indexed from, uint256 bondAmount);
    event RedeemerBonds(address indexed from, uint256 rubikAmount, uint256 bondAmount);
    event BoughtBonds(address indexed from, uint256 rubikAmount, 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);
    event RebateTreasuryFunded(uint256 timestamp, uint256 seigniorage);

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

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

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

        _;
    }

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

        _;

        epoch = epoch.add(1);
        epochSupplyContractionLeft = (getRubikPrice() > rubikPriceCeiling) ? 0 : getRubikCirculatingSupply().mul(maxSupplyContractionPercent).div(10000);
    }

    modifier checkOperator {
        require(
            IBasisAsset(rubik).operator() == address(this) &&
                IBasisAsset(rbond).operator() == address(this) &&
                IBasisAsset(rshare).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 getRubikPrice() public view returns (uint256 rubikPrice) {
        try IOracle(rubikOracle).consult(rubik, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult RUBIK price from the oracle");
        }
    }

    function getRubikUpdatedPrice() public view returns (uint256 _rubikPrice) {
        try IOracle(rubikOracle).twap(rubik, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult RUBIK price from the oracle");
        }
    }

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

    function getBurnableRubikLeft() public view returns (uint256 _burnableRubikLeft) {
        uint256 _rubikPrice = getRubikPrice();
        if (_rubikPrice <= rubikPriceOne) {
            uint256 _rubikSupply = getRubikCirculatingSupply();
            uint256 _bondMaxSupply = _rubikSupply.mul(maxDebtRatioPercent).div(10000);
            uint256 _bondSupply = IERC20(rbond).totalSupply();
            if (_bondMaxSupply > _bondSupply) {
                uint256 _maxMintableBond = _bondMaxSupply.sub(_bondSupply);
                uint256 _maxBurnableRubik = _maxMintableBond.mul(_rubikPrice).div(1e18);
                _burnableRubikLeft = Math.min(epochSupplyContractionLeft, _maxBurnableRubik);
            }
        }
    }

    function getRedeemableBonds() public view returns (uint256 _redeemableBonds) {
        uint256 _rubikPrice = getRubikPrice();
        if (_rubikPrice > rubikPriceCeiling) {
            uint256 _totalRubik = IERC20(rubik).balanceOf(address(this));
            uint256 _rate = getBondPremiumRate();
            if (_rate > 0) {
                _redeemableBonds = _totalRubik.mul(1e18).div(_rate);
            }
        }
    }

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

    function getBondPremiumRate() public view returns (uint256 _rate) {
        uint256 _rubikPrice = getRubikPrice();
        if (_rubikPrice > rubikPriceCeiling) {
            uint256 _rubikPricePremiumThreshold = rubikPriceOne.mul(premiumThreshold).div(100);
            if (_rubikPrice >= _rubikPricePremiumThreshold) {
                //Price > 1.10
                uint256 _premiumAmount = _rubikPrice.sub(rubikPriceOne).mul(premiumPercent).div(10000);
                _rate = rubikPriceOne.add(_premiumAmount);
                if (maxPremiumRate > 0 && _rate > maxPremiumRate) {
                    _rate = maxPremiumRate;
                }
            } else {
                // no premium bonus
                _rate = rubikPriceOne;
            }
        }
    }

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

    function initialize(
        address _rubik,
        address _rbond,
        address _rshare,
        address _rubikOracle,
        address _masonry,
        address _genesisPool,
        address _genesisPool2,
        address _bondTreasury,
        uint256 _startTime
    ) public notInitialized {
        rubik = _rubik;
        rbond = _rbond;
        rshare = _rshare;
        rubikOracle = _rubikOracle;
        masonry = _masonry;
        bondTreasury = _bondTreasury;
        startTime = _startTime;

        rubikPriceOne = 10**18;
        rubikPriceCeiling = rubikPriceOne.mul(101).div(100);

        // exclude contracts from total supply
        excludedFromTotalSupply.push(_genesisPool);
        excludedFromTotalSupply.push(_genesisPool2);
        excludedFromTotalSupply.push(_bondTreasury);

        // Dynamic max expansion percent
        supplyTiers = [0 ether, 5000000 ether, 10000000 ether, 15000000 ether, 20000000 ether, 50000000 ether, 100000000 ether, 200000000 ether, 500000000 ether];
        maxExpansionTiers = [200, 150, 100, 50, 50, 50, 50, 50, 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 RUBIK and mint RBOND)
        maxDebtRatioPercent = 3500; // Upto 35% supply of RBOND to purchase

        bondSupplyExpansionPercent = 500; // maximum 5% emissions per epoch for POL bonds

        premiumThreshold = 110;
        premiumPercent = 7000;


        bootstrapEpochs = 0;
        bootstrapSupplyExpansionPercent = 350;

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

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

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

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

    function setBondTreasury(address _bondTreasury) external onlyOperator {
        bondTreasury = _bondTreasury;
    }

    function setRubikOracle(address _rubikOracle) external onlyOperator {
        rubikOracle = _rubikOracle;
    }

    function setRubikPriceCeiling(uint256 _rubikPriceCeiling) external onlyOperator {
        require(_rubikPriceCeiling >= rubikPriceOne && _rubikPriceCeiling <= rubikPriceOne.mul(120).div(100), "out of range"); // [$1.0, $1.2]
        rubikPriceCeiling = _rubikPriceCeiling;
    }

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

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

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

    function 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 _daoFunRsharedPercent,
        address _devFund1,
        address _devFund2,
        address _devFund3,
        address _devFund4,
        uint256 _devFunRsharedPercent
    ) external onlyOperator {
        require(_daoFund != address(0), "zero");

        require(_daoFunRsharedPercent <= 1000, "out of range"); // <= 30%
        require(_devFund1 != address(0), "zero");
        require(_devFund2 != address(0), "zero");
        require(_devFund3 != address(0), "zero");
        require(_devFund4 != address(0), "zero");

        require(_devFunRsharedPercent <= 500, "out of range"); // <= 10%
        daoFund = _daoFund;
        daoFunRsharedPercent = _daoFunRsharedPercent;
        devFund1 = _devFund1;
        devFund2 = _devFund2;
        devFund3 = _devFund3;
        devFund4 = _devFund4;

        devFunRsharedPercent = _devFunRsharedPercent;
    }

    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 >= rubikPriceCeiling, "_premiumThreshold exceeds rubikPriceCeiling");
        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;
    }

    function setBondSupplyExpansionPercent(uint256 _bondSupplyExpansionPercent) external onlyOperator {
        bondSupplyExpansionPercent = _bondSupplyExpansionPercent;
    }

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

    function _updateRubikPrice() internal {
        try IOracle(rubikOracle).update() {} catch {}
    }

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

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

        uint256 rubikPrice = getRubikPrice();
        require(rubikPrice == targetPrice, "Treasury: RUBIK price moved");
        require(
            rubikPrice < rubikPriceOne, // price < $1
            "Treasury: rubikPrice not eligible for bond purchase"
        );

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

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

        uint256 _bondAmount = _rubikAmount.mul(_rate).div(1e18);
        uint256 rubikSupply = getRubikCirculatingSupply();
        uint256 newBondSupply = IERC20(rbond).totalSupply().add(_bondAmount);
        require(newBondSupply <= rubikSupply.mul(maxDebtRatioPercent).div(10000), "over max debt ratio");

        IBasisAsset(rubik).burnFrom(msg.sender, _rubikAmount);
        IBasisAsset(rbond).mint(msg.sender, _bondAmount);

        epochSupplyContractionLeft = epochSupplyContractionLeft.sub(_rubikAmount);
        _updateRubikPrice();

        emit BoughtBonds(msg.sender, _rubikAmount, _bondAmount);
    }

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

        uint256 rubikPrice = getRubikPrice();
        require(rubikPrice == targetPrice, "Treasury: RUBIK price moved");
        require(
            rubikPrice > rubikPriceCeiling, // price > $1.01
            "Treasury: rubikPrice not eligible for bond purchase"
        );

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

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

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

        IBasisAsset(rbond).burnFrom(msg.sender, _bondAmount);
        IERC20(rubik).safeTransfer(msg.sender, _rubikAmount);

        _updateRubikPrice();

        emit RedeemerBonds(msg.sender, _rubikAmount, _bondAmount);
    }

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

        uint256 _daoFunRsharedAmount = 0;
        if (daoFunRsharedPercent > 0) {
            _daoFunRsharedAmount = _amount.mul(daoFunRsharedPercent).div(10000);
            IERC20(rubik).transfer(daoFund, _daoFunRsharedAmount);
            emit DaoFundFunded(now, _daoFunRsharedAmount);
        }

        uint256 _devFunRsharedAmount = 0;
        if (devFunRsharedPercent > 0) {
            _devFunRsharedAmount = _amount.mul(devFunRsharedPercent).div(10000);
            IERC20(rubik).transfer(devFund1, _devFunRsharedAmount.div(4));
            IERC20(rubik).transfer(devFund2, _devFunRsharedAmount.div(4));
            IERC20(rubik).transfer(devFund3, _devFunRsharedAmount.div(4));
            IERC20(rubik).transfer(devFund4, _devFunRsharedAmount.div(4));
            emit DevFundFunded(now, _devFunRsharedAmount);
        }

        _amount = _amount.sub(_daoFunRsharedAmount).sub(_devFunRsharedAmount);

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

    function _sendToBondTreasury(uint256 _amount) internal {
        uint256 treasuryBalance = IERC20(rubik).balanceOf(bondTreasury);
        uint256 treasuryVested = IBondTreasury(bondTreasury).totalVested();
        if (treasuryVested >= treasuryBalance) return;
        uint256 unspent = treasuryBalance.sub(treasuryVested);
        if (_amount > unspent) {
            IBasisAsset(rubik).mint(bondTreasury, _amount.sub(unspent));
            emit RebateTreasuryFunded(now, _amount.sub(unspent));
        }
    }

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

    function allocateSeigniorage() external onlyOneBlock checkCondition checkEpoch checkOperator {
        _updateRubikPrice();
        previousEpochRubikPrice = getRubikPrice();
        uint256 rubikSupply = getRubikCirculatingSupply().sub(seigniorageSaved);
        _sendToBondTreasury(rubikSupply.mul(bondSupplyExpansionPercent).div(10000));
        if (epoch < bootstrapEpochs) {
            // 28 first epochs with 4.5% expansion
            _sendToMasonry(rubikSupply.mul(bootstrapSupplyExpansionPercent).div(10000));
        } else {
            if (previousEpochRubikPrice > rubikPriceCeiling) {
                // Expansion ($RUBIK Price > 1 $FTM): there is some seigniorage to be allocated
                uint256 bondSupply = IERC20(rbond).totalSupply();
                uint256 _percentage = previousEpochRubikPrice.sub(rubikPriceOne);
                uint256 _savedForBond;
                uint256 _savedForMasonry;
                uint256 _mse = _calculateMaxSupplyExpansionPercent(rubikSupply).mul(1e14);
                if (_percentage > _mse) {
                    _percentage = _mse;
                }
                if (seigniorageSaved >= bondSupply.mul(bondDepletionFloorPercent).div(10000)) {
                    // saved enough to pay debt, mint as usual rate
                    _savedForMasonry = rubikSupply.mul(_percentage).div(1e18);
                } else {
                    // have not saved enough to pay debt, mint more
                    uint256 _seigniorage = rubikSupply.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(rubik).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(rubik), "rubik");
        require(address(_token) != address(rbond), "bond");
        require(address(_token) != address(rshare), "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 Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"rubikAmount","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":"BurnerBonds","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":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"RebateTreasuryFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"rubikAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"RedeemerBonds","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":"bondSupplyExpansionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_rubikAmount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"buyBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoFunRsharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFunRsharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund4","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"getBurnableRubikLeft","outputs":[{"internalType":"uint256","name":"_burnableRubikLeft","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":"getRubikCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRubikPrice","outputs":[{"internalType":"uint256","name":"rubikPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRubikUpdatedPrice","outputs":[{"internalType":"uint256","name":"_rubikPrice","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":"_rubik","type":"address"},{"internalType":"address","name":"_rbond","type":"address"},{"internalType":"address","name":"_rshare","type":"address"},{"internalType":"address","name":"_rubikOracle","type":"address"},{"internalType":"address","name":"_masonry","type":"address"},{"internalType":"address","name":"_genesisPool","type":"address"},{"internalType":"address","name":"_genesisPool2","type":"address"},{"internalType":"address","name":"_bondTreasury","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"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":"previousEpochRubikPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rbond","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"rshare","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rubik","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rubikOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rubikPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rubikPriceOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seigniorageExpansionFloorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seigniorageSaved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondDepletionFloorPercent","type":"uint256"}],"name":"setBondDepletionFloorPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondSupplyExpansionPercent","type":"uint256"}],"name":"setBondSupplyExpansionPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bondTreasury","type":"address"}],"name":"setBondTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bootstrapEpochs","type":"uint256"},{"internalType":"uint256","name":"_bootstrapSupplyExpansionPercent","type":"uint256"}],"name":"setBootstrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discountPercent","type":"uint256"}],"name":"setDiscountPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"uint256","name":"_daoFunRsharedPercent","type":"uint256"},{"internalType":"address","name":"_devFund1","type":"address"},{"internalType":"address","name":"_devFund2","type":"address"},{"internalType":"address","name":"_devFund3","type":"address"},{"internalType":"address","name":"_devFund4","type":"address"},{"internalType":"uint256","name":"_devFunRsharedPercent","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":"address","name":"_rubikOracle","type":"address"}],"name":"setRubikOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rubikPriceCeiling","type":"uint256"}],"name":"setRubikPriceCeiling","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":[],"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"}]

60806040526001805460ff60a01b191690556000600381905560045534801561002757600080fd5b50614e20806100376000396000f3fe608060405234801561001057600080fd5b50600436106104755760003560e01c8063734f709611610257578063b4d1d79511610146578063d4b14944116100c3578063e90b245411610087578063e90b245414610a8f578063f14698de14610a97578063f245245a14610a9f578063fb9e2b3414610abc578063fcb6f00814610ac457610475565b8063d4b1494414610a2b578063d5d3b26c14610a51578063d5ebf5ed14610a77578063d98f249514610a7f578063da3ed41914610a8757610475565b8063c8412d021161010a578063c8412d02146109ee578063c8f987f3146109f6578063ca9ab2ee146109fe578063cecce38e14610a06578063cf2c5d4d14610a2357610475565b8063b4d1d795146109b1578063b8a878f9146109b9578063be266d54146109c1578063c31cbdeb146109de578063c5967c26146109e657610475565b806391bbfed5116101d45780639ab4f775116101985780639ab4f77514610923578063a0487eea1461092b578063a204452b14610948578063b26df41c14610965578063b3ab15fb1461098b57610475565b806391bbfed51461086a578063940e60641461088d578063951357d4146108b357806398b762a1146108e9578063998200251461090657610475565b8063874106cc1161021b578063874106cc1461082d5780638c664db6146108355780638d934f7414610852578063900cf0cf1461085a57806390ab1f321461086257610475565b8063734f7096146107d557806378e97925146107f85780637cea53db1461080057806381d11eaf1461080857806382cad8381461081057610475565b806340af7ba5116103735780635a0fc79c116102f05780636beec71a116102b45780636beec71a146107615780636dc651d91461076957806371b68fd71461077157806371b947bf146107c557806372c054f9146107cd57610475565b80635a0fc79c1461071b5780635b756179146107235780635d60e1761461072b57806362ac58e41461073357806363f96cf41461075957610475565b806354f04a111161033757806354f04a11146106c3578063570ca735146106e6578063591663e1146106ee57806359a2428c1461070b57806359bf5d391461071357610475565b806340af7ba514610643578063431480e514610660578063499f3f19146106685780635160b3501461068557806354575af41461068d57610475565b8063158ef93e116104015780632e9c7b65116103c55780632e9c7b65146105bb578063344dd6e4146105c3578063349aa30a1461062b578063392e53cd146106335780634013a08e1461063b57610475565b8063158ef93e1461057f578063205ef63a1461059b5780632087515f146105a357806322f832cd146105ab57806329ef1919146105b357610475565b80630cf60175116104485780630cf60175146104f95780630db7eb0b14610513578063117effeb1461051b578063118ebbf91461053f578063154ec2db1461056257610475565b806304e5c7b11461047a57806309044cec146104995780630a79c951146104b65780630b5bcec7146104dc575b600080fd5b6104976004803603602081101561049057600080fd5b5035610acc565b005b610497600480360360208110156104af57600080fd5b5035610b9b565b610497600480360360208110156104cc57600080fd5b50356001600160a01b0316610c5b565b610497600480360360208110156104f257600080fd5b5035610cc6565b610501610d62565b60408051918252519081900360200190f35b610501610e0e565b610523610eb0565b604080516001600160a01b039092168252519081900360200190f35b6104976004803603604081101561055557600080fd5b5080359060200135610ebf565b6104976004803603602081101561057857600080fd5b503561151c565b6105876115c1565b604080519115158252519081900360200190f35b6105016115d1565b6105016115d7565b6105016116de565b6105016116e4565b6105016116ea565b61049760048036036101208110156105da57600080fd5b506001600160a01b038135811691602081013582169160408201358116916060810135821691608082013581169160a081013582169160c082013581169160e08101359091169061010001356116f0565b610501611a6b565b610587611a71565b610501611a82565b6104976004803603602081101561065957600080fd5b5035611a88565b610501611b2d565b6104976004803603602081101561067e57600080fd5b5035611b33565b610501611bd0565b610497600480360360608110156106a357600080fd5b506001600160a01b03813581169160208101359160409091013516611bd6565b610497600480360360408110156106d957600080fd5b5080359060200135611d1a565b610523612459565b6104976004803603602081101561070457600080fd5b5035612468565b61050161250a565b610501612510565b610501612516565b61049761251c565b610523612bf1565b6104976004803603602081101561074957600080fd5b50356001600160a01b0316612c00565b610523612cb2565b610523612cc1565b610523612cd0565b610497600480360360e081101561078757600080fd5b506001600160a01b03813581169160208101359160408201358116916060810135821691608082013581169160a08101359091169060c00135612cdf565b610501612f70565b610501612f76565b610497600480360360408110156107eb57600080fd5b5080359060200135613036565b6105016130ef565b6105236130f5565b610501613104565b6105236004803603602081101561082657600080fd5b503561310a565b610501613131565b6104976004803603602081101561084b57600080fd5b5035613137565b6105236131d9565b6105016131e8565b6105016131ee565b6104976004803603604081101561088057600080fd5b508035906020013561332e565b610587600480360360408110156108a357600080fd5b5060ff8135169060200135613426565b610497600480360360608110156108c957600080fd5b506001600160a01b03813581169160208101359160409091013516613542565b610497600480360360208110156108ff57600080fd5b5035613605565b6105016004803603602081101561091c57600080fd5b5035613653565b610523613671565b6105016004803603602081101561094157600080fd5b5035613680565b6104976004803603602081101561095e57600080fd5b503561368d565b6104976004803603602081101561097b57600080fd5b50356001600160a01b03166136db565b610497600480360360208110156109a157600080fd5b50356001600160a01b0316613746565b6105016137b1565b6105016137b7565b610497600480360360208110156109d757600080fd5b50356137bd565b610501613853565b610501613930565b61050161395a565b610501613960565b610523613966565b61049760048036036020811015610a1c57600080fd5b5035613975565b610523613a16565b61058760048036036040811015610a4157600080fd5b5060ff8135169060200135613a25565b61049760048036036020811015610a6757600080fd5b50356001600160a01b0316613b1f565b610523613b8a565b610501613b99565b610501613b9f565b610501613ba5565b610501613bab565b61049760048036036020811015610ab557600080fd5b5035613bb1565b610501613bff565b610501613c61565b6001546001600160a01b03163314610b155760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600d54811015610b565760405162461bcd60e51b815260040180806020018281038252602b815260200180614aec602b913960400191505060405180910390fd5b6096811115610b965760405162461bcd60e51b8152600401808060200182810382526024815260200180614b786024913960400191505060405180910390fd5b601d55565b6001546001600160a01b03163314610be45760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600c548110158015610c165750610c126064610c0c6078600c54613c6790919063ffffffff16565b90613cc7565b8111155b610c56576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b600d55565b6001546001600160a01b03163314610ca45760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163314610d0f5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600a8110158015610d2257506103e88111155b610d5d5760405162461bcd60e51b8152600401808060200182810382526028815260200180614c616028913960400191505060405180910390fd5b601155565b600080610d6d613853565b9050600c548111610e0a57601c54610d8957600c549150610e0a565b6000610dac82610c0c670de0b6b3a7640000600c54613c6790919063ffffffff16565b90506000610dd7612710610c0c601c54610dd1600c5487613d2e90919063ffffffff16565b90613c67565b600c54909150610de79082613d8b565b93506000601a54118015610dfc5750601a5484115b15610e0757601a5493505b50505b5090565b600080610e19613853565b9050600d54811115610e0a576000610e436064610c0c601d54600c54613c6790919063ffffffff16565b9050808210610ea5576000610e6f612710610c0c601e54610dd1600c5488613d2e90919063ffffffff16565b600c54909150610e7f9082613d8b565b93506000601b54118015610e945750601b5484115b15610e9f57601b5493505b50610eab565b600c5492505b505090565b6023546001600160a01b031681565b610ec7613de5565b15610f035760405162461bcd60e51b8152600401808060200182810382526026815260200180614d376026913960400191505060405180910390fd5b610f0b613e04565b15610f475760405162461bcd60e51b8152600401808060200182810382526026815260200180614d376026913960400191505060405180910390fd5b600254421015610f9a576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015610fde57600080fd5b505afa158015610ff2573d6000803e3d6000fd5b505050506040513d602081101561100857600080fd5b50516001600160a01b031614801561109657506007546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561105f57600080fd5b505afa158015611073573d6000803e3d6000fd5b505050506040513d602081101561108957600080fd5b50516001600160a01b0316145b801561111857506008546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b1580156110e157600080fd5b505afa1580156110f5573d6000803e3d6000fd5b505050506040513d602081101561110b57600080fd5b50516001600160a01b0316145b801561119a57506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561116357600080fd5b505afa158015611177573d6000803e3d6000fd5b505050506040513d602081101561118d57600080fd5b50516001600160a01b0316145b6111eb576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b6000821161122a5760405162461bcd60e51b815260040180806020018281038252602e815260200180614b17602e913960400191505060405180910390fd5b6000611234613853565b905081811461128a576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20525542494b207072696365206d6f7665640000000000604482015290519081900360640190fd5b600d5481116112ca5760405162461bcd60e51b8152600401808060200182810382526033815260200180614b456033913960400191505060405180910390fd5b60006112d4610e0e565b90506000811161132b576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000611343670de0b6b3a7640000610c0c8785613c67565b600654604080516370a0823160e01b8152306004820152905192935083926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561139357600080fd5b505afa1580156113a7573d6000803e3d6000fd5b505050506040513d60208110156113bd57600080fd5b505110156113fc5760405162461bcd60e51b8152600401808060200182810382526025815260200180614bc26025913960400191505060405180910390fd5b61141461140b600e5483613e23565b600e5490613d2e565b600e556007546040805163079cc67960e41b81523360048201526024810188905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561146a57600080fd5b505af115801561147e573d6000803e3d6000fd5b505060065461149a92506001600160a01b031690503383613e39565b6114a2613e8b565b6040805182815260208101879052815133927f5b27d683a8efd247a62241204cd28fbb6b216f52b2d7a94b46cec8b0114c0923928290030190a25050436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055505050565b6001546001600160a01b031633146115655760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b614e208111156115bc576040805162461bcd60e51b815260206004820152601d60248201527f5f646973636f756e7450657263656e74206973206f7665722032303025000000604482015290519081900360640190fd5b601c55565b600154600160a01b900460ff1681565b60195481565b6000806115e2613853565b9050600c548111610e0a5760006115f76131ee565b90506000611616612710610c0c60155485613c6790919063ffffffff16565b90506000600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561166857600080fd5b505afa15801561167c573d6000803e3d6000fd5b505050506040513d602081101561169257600080fd5b50519050808211156116d75760006116aa8383613d2e565b905060006116c4670de0b6b3a7640000610c0c8489613c67565b90506116d260045482613e23565b965050505b5050505090565b60135481565b601c5481565b601b5481565b600154600160a01b900460ff161561174f576040805162461bcd60e51b815260206004820152601d60248201527f54726561737572793a20616c726561647920696e697469616c697a6564000000604482015290519081900360640190fd5b600680546001600160a01b03199081166001600160a01b038c8116919091179092556007805482168b84161790556008805482168a8416179055600b80548216898416179055600980548216888416179055600a80549091169184169190911790556002819055670de0b6b3a7640000600c8190556117d690606490610c0c906065613c67565b600d55600580546001818101835560008381527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db092830180546001600160a01b03808b166001600160a01b03199283161790925585548085018755850180548a84169083161790558554938401909555919092018054918616919093161790915560408051610120810182529182526a0422ca8b0a00a42500000060208301526a084595161401484a000000908201526a0c685fa11e01ec6f00000060608201526a108b2a2c2802909400000060808201526a295be96e6406697200000060a08201526a52b7d2dcc80cd2e400000060c08201526aa56fa5b99019a5c800000060e08201526b019d971e4fe8401e740000006101008201526118fc90600f906009614a3f565b50604080516101208101825260c88152609660208201526064918101919091526032606082018190526080820181905260a0820181905260c0820181905260e08201819052610100820152611955906010906009614a96565b50610190601155612710601255610dac601381905561012c6014556015556101f4601655606e601d55611b58601e55600060175561015e601855600654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156119da57600080fd5b505afa1580156119ee573d6000803e3d6000fd5b505050506040513d6020811015611a0457600080fd5b5051600e55600180546001600160a01b031960ff60a01b19909116600160a01b1716339081179091556040805143815290517f25ff68dd81b34665b5ba7e553ee5511bf6812e12adb4a7e2c0d9e26b3099ce799181900360200190a2505050505050505050565b60165481565b600154600160a01b900460ff165b90565b601f5481565b6001546001600160a01b03163314611ad15760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b614e20811115611b28576040805162461bcd60e51b815260206004820152601c60248201527f5f7072656d69756d50657263656e74206973206f766572203230302500000000604482015290519081900360640190fd5b601e55565b60265481565b6001546001600160a01b03163314611b7c5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b6127108110158015611b905750614e208111155b611bcb5760405162461bcd60e51b8152600401808060200182810382526029815260200180614c386029913960400191505060405180910390fd5b601f55565b60215481565b6001546001600160a01b03163314611c1f5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b6006546001600160a01b0384811691161415611c6a576040805162461bcd60e51b8152602060048201526005602482015264727562696b60d81b604482015290519081900360640190fd5b6007546001600160a01b0384811691161415611cb6576040805162461bcd60e51b81526020600480830191909152602482015263189bdb9960e21b604482015290519081900360640190fd5b6008546001600160a01b0384811691161415611d01576040805162461bcd60e51b8152602060048201526005602482015264736861726560d81b604482015290519081900360640190fd5b611d156001600160a01b0384168284613e39565b505050565b611d22613de5565b15611d5e5760405162461bcd60e51b8152600401808060200182810382526026815260200180614d376026913960400191505060405180910390fd5b611d66613e04565b15611da25760405162461bcd60e51b8152600401808060200182810382526026815260200180614d376026913960400191505060405180910390fd5b600254421015611df5576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611e3957600080fd5b505afa158015611e4d573d6000803e3d6000fd5b505050506040513d6020811015611e6357600080fd5b50516001600160a01b0316148015611ef157506007546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611eba57600080fd5b505afa158015611ece573d6000803e3d6000fd5b505050506040513d6020811015611ee457600080fd5b50516001600160a01b0316145b8015611f7357506008546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611f3c57600080fd5b505afa158015611f50573d6000803e3d6000fd5b505050506040513d6020811015611f6657600080fd5b50516001600160a01b0316145b8015611ff557506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611fbe57600080fd5b505afa158015611fd2573d6000803e3d6000fd5b505050506040513d6020811015611fe857600080fd5b50516001600160a01b0316145b612046576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b600082116120855760405162461bcd60e51b8152600401808060200182810382526030815260200180614c086030913960400191505060405180910390fd5b600061208f613853565b90508181146120e5576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20525542494b207072696365206d6f7665640000000000604482015290519081900360640190fd5b600c5481106121255760405162461bcd60e51b8152600401808060200182810382526033815260200180614b456033913960400191505060405180910390fd5b6004548311156121665760405162461bcd60e51b815260040180806020018281038252602a815260200180614d93602a913960400191505060405180910390fd5b6000612170610d62565b9050600081116121c7576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b60006121df670de0b6b3a7640000610c0c8785613c67565b905060006121eb6131ee565b9050600061227383600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561224157600080fd5b505afa158015612255573d6000803e3d6000fd5b505050506040513d602081101561226b57600080fd5b505190613d8b565b9050612290612710610c0c60155485613c6790919063ffffffff16565b8111156122da576040805162461bcd60e51b81526020600482015260136024820152726f766572206d6178206465627420726174696f60681b604482015290519081900360640190fd5b6006546040805163079cc67960e41b8152336004820152602481018a905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561232d57600080fd5b505af1158015612341573d6000803e3d6000fd5b5050600754604080516340c10f1960e01b81523360048201526024810188905290516001600160a01b0390921693506340c10f1992506044808201926020929091908290030181600087803b15801561239957600080fd5b505af11580156123ad573d6000803e3d6000fd5b505050506040513d60208110156123c357600080fd5b50506004546123d29088613d2e565b6004556123dd613e8b565b6040805188815260208101859052815133927f73017f1b70789e2e66759eeb3c7ec11f59e6eedb55d921cfaec5410dd42a4799928290030190a25050436000908152602081815260408083203284529091528082208054600160ff19918216811790925533845291909220805490911690911790555050505050565b6001546001600160a01b031681565b6001546001600160a01b031633146124b15760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b6103e881101580156124c557506127108111155b612505576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601555565b600d5481565b600e5490565b600e5481565b612524613de5565b156125605760405162461bcd60e51b8152600401808060200182810382526026815260200180614d376026913960400191505060405180910390fd5b612568613e04565b156125a45760405162461bcd60e51b8152600401808060200182810382526026815260200180614d376026913960400191505060405180910390fd5b6002544210156125f7576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6125ff613930565b421015612653576040805162461bcd60e51b815260206004820152601860248201527f54726561737572793a206e6f74206f70656e6564207965740000000000000000604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561269757600080fd5b505afa1580156126ab573d6000803e3d6000fd5b505050506040513d60208110156126c157600080fd5b50516001600160a01b031614801561274f57506007546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561271857600080fd5b505afa15801561272c573d6000803e3d6000fd5b505050506040513d602081101561274257600080fd5b50516001600160a01b0316145b80156127d157506008546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561279a57600080fd5b505afa1580156127ae573d6000803e3d6000fd5b505050506040513d60208110156127c457600080fd5b50516001600160a01b0316145b801561285357506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561281c57600080fd5b505afa158015612830573d6000803e3d6000fd5b505050506040513d602081101561284657600080fd5b50516001600160a01b0316145b6128a4576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b6128ac613e8b565b6128b4613853565b601955600e546000906128cf906128c96131ee565b90613d2e565b90506128f46128ef612710610c0c60165485613c6790919063ffffffff16565b613eef565b60175460035410156129285761292361291e612710610c0c60185485613c6790919063ffffffff16565b6140ed565b612b75565b600d546019541115612b7557600754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561297957600080fd5b505afa15801561298d573d6000803e3d6000fd5b505050506040513d60208110156129a357600080fd5b5051600c546019549192506000916129ba91613d2e565b905060008060006129d4655af3107a4000610dd188614601565b9050808411156129e2578093505b6129fd612710610c0c60125488613c6790919063ffffffff16565b600e5410612a2257612a1b670de0b6b3a7640000610c0c8887613c67565b9150612a8e565b6000612a3a670de0b6b3a7640000610c0c8988613c67565b9050612a57612710610c0c60135484613c6790919063ffffffff16565b9250612a638184613d2e565b601f5490945015612a8c57612a89612710610c0c601f5487613c6790919063ffffffff16565b93505b505b8115612a9d57612a9d826140ed565b8215612b6f57600e54612ab09084613d8b565b600e55600654604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b158015612b0757600080fd5b505af1158015612b1b573d6000803e3d6000fd5b505050506040513d6020811015612b3157600080fd5b5050604080514281526020810185905281517ff705142bf09f04297640495ddf7c59b7fd6f51894c5aea9602d631cf05f0efc2929181900390910190a15b50505050505b50600354612b84906001613d8b565b600355600d54612b92613853565b11612bb057612bab612710610c0c601454610dd16131ee565b612bb3565b60005b600455436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6008546001600160a01b031681565b6001546001600160a01b03163314612c495760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b6009546040805163b3ab15fb60e01b81526001600160a01b0384811660048301529151919092169163b3ab15fb91602480830192600092919082900301818387803b158015612c9757600080fd5b505af1158015612cab573d6000803e3d6000fd5b5050505050565b6009546001600160a01b031681565b6025546001600160a01b031681565b6022546001600160a01b031681565b6001546001600160a01b03163314612d285760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b6001600160a01b038716612d6c576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6103e8861115612db2576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b6001600160a01b038516612df6576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6001600160a01b038416612e3a576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6001600160a01b038316612e7e576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6001600160a01b038216612ec2576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6101f4811115612f08576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b602080546001600160a01b03199081166001600160a01b03998a16179091556021969096556022805487169588169590951790945560238054861693871693909317909255602480548516918616919091179055602580549093169316929092179055602655565b600c5481565b600080612f81613853565b9050600d54811115610e0a57600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612fd857600080fd5b505afa158015612fec573d6000803e3d6000fd5b505050506040513d602081101561300257600080fd5b505190506000613010610e0e565b90508015610e075761302e81610c0c84670de0b6b3a7640000613c67565b935050505090565b6001546001600160a01b0316331461307f5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b60095460408051632ffaaa0960e01b8152600481018590526024810184905290516001600160a01b0390921691632ffaaa099160448082019260009290919082900301818387803b1580156130d357600080fd5b505af11580156130e7573d6000803e3d6000fd5b505050505050565b60025481565b6007546001600160a01b031681565b60125481565b6005818154811061311757fe5b6000918252602090912001546001600160a01b0316905081565b60185481565b6001546001600160a01b031633146131805760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b6101f4811015801561319457506127108111155b6131d4576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601255565b6020546001600160a01b031681565b60035481565b600654604080516318160ddd60e01b815290516000926001600160a01b031691839183916318160ddd916004808301926020929190829003018186803b15801561323757600080fd5b505afa15801561324b573d6000803e3d6000fd5b505050506040513d602081101561326157600080fd5b505190506000805b60055460ff8216101561332357613319846001600160a01b03166370a0823160058460ff168154811061329857fe5b60009182526020918290200154604080516001600160e01b031960e086901b1681526001600160a01b0390921660048301525160248083019392829003018186803b1580156132e657600080fd5b505afa1580156132fa573d6000803e3d6000fd5b505050506040513d602081101561331057600080fd5b50518390613d8b565b9150600101613269565b5061302e8282613d2e565b6001546001600160a01b031633146133775760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b60788211156133cd576040805162461bcd60e51b815260206004820152601e60248201527f5f626f6f74737472617045706f6368733a206f7574206f662072616e67650000604482015290519081900360640190fd5b606481101580156133e057506103e88111155b61341b5760405162461bcd60e51b815260040180806020018281038252602e815260200180614dbd602e913960400191505060405180910390fd5b601791909155601855565b6001546000906001600160a01b031633146134725760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b60098360ff16106134b45760405162461bcd60e51b8152600401808060200182810382526029815260200180614c896029913960400191505060405180910390fd5b60ff8316156134e657600f6001840360ff16815481106134d057fe5b906000526020600020015482116134e657600080fd5b60088360ff16101561351b57600f8360010160ff168154811061350557fe5b9060005260206000200154821061351b57600080fd5b81600f8460ff168154811061352c57fe5b6000918252602090912001555060015b92915050565b6001546001600160a01b0316331461358b5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b60095460408051631515d6bd60e21b81526001600160a01b038681166004830152602482018690528481166044830152915191909216916354575af491606480830192600092919082900301818387803b1580156135e857600080fd5b505af11580156135fc573d6000803e3d6000fd5b50505050505050565b6001546001600160a01b0316331461364e5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b601a55565b600f818154811061366057fe5b600091825260209091200154905081565b600a546001600160a01b031681565b6010818154811061366057fe5b6001546001600160a01b031633146136d65760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b601b55565b6001546001600160a01b031633146137245760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b0316331461378f5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61546081565b601a5481565b6001546001600160a01b031633146138065760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600954604080516397ffe1d760e01b81526004810184905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b158015612c9757600080fd5b600b5460065460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b1580156138b557600080fd5b505afa9250505080156138da57506040513d60208110156138d557600080fd5b505160015b6139155760405162461bcd60e51b8152600401808060200182810382526037815260200180614cb26037913960400191505060405180910390fd5b71ffffffffffffffffffffffffffffffffffff169050611a7f565b600061395561394c615460600354613c6790919063ffffffff16565b60025490613d8b565b905090565b601e5481565b601d5481565b6024546001600160a01b031681565b6001546001600160a01b031633146139be5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b606481101580156139d157506105dc8111155b613a11576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601455565b600b546001600160a01b031681565b6001546000906001600160a01b03163314613a715760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b60098360ff1610613ab35760405162461bcd60e51b8152600401808060200182810382526029815260200180614c896029913960400191505060405180910390fd5b600a8210158015613ac657506103e88211155b613b0e576040805162461bcd60e51b81526020600482015260146024820152735f76616c75653a206f7574206f662072616e676560601b604482015290519081900360640190fd5b8160108460ff168154811061352c57fe5b6001546001600160a01b03163314613b685760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031681565b60115481565b60155481565b60145481565b60175481565b6001546001600160a01b03163314613bfa5760405162461bcd60e51b8152600401808060200182810382526024815260200180614ce96024913960400191505060405180910390fd5b601655565b600b5460065460408051630d01142560e31b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691636808a12891604480820192602092909190829003018186803b1580156138b557600080fd5b60045481565b600082613c765750600061353c565b82820282848281613c8357fe5b0414613cc05760405162461bcd60e51b8152600401808060200182810382526021815260200180614be76021913960400191505060405180910390fd5b9392505050565b6000808211613d1d576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381613d2657fe5b049392505050565b600082821115613d85576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015613cc0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b4360009081526020818152604080832032845290915290205460ff1690565b4360009081526020818152604080832033845290915290205460ff1690565b6000818310613e325781613cc0565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d1590849061465e565b600b60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613edb57600080fd5b505af1925050508015613eec575060015b50565b600654600a54604080516370a0823160e01b81526001600160a01b039283166004820152905160009392909216916370a0823191602480820192602092909190829003018186803b158015613f4357600080fd5b505afa158015613f57573d6000803e3d6000fd5b505050506040513d6020811015613f6d57600080fd5b5051600a54604080516306672f1560e21b815290519293506000926001600160a01b039092169163199cbc5491600480820192602092909190829003018186803b158015613fba57600080fd5b505afa158015613fce573d6000803e3d6000fd5b505050506040513d6020811015613fe457600080fd5b50519050818110613ff6575050613eec565b60006140028383613d2e565b9050808411156140e757600654600a546001600160a01b03918216916340c10f19911661402f8785613d2e565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561407557600080fd5b505af1158015614089573d6000803e3d6000fd5b505050506040513d602081101561409f57600080fd5b507f0fb78c87bf033716512ff0f9fbc6cc8c5558b44e44fece73c58c196dc8e5ae7a9050426140ce8684613d2e565b6040805192835260208301919091528051918290030190a15b50505050565b600654604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b15801561414157600080fd5b505af1158015614155573d6000803e3d6000fd5b505050506040513d602081101561416b57600080fd5b50506021546000901561425357614193612710610c0c60215485613c6790919063ffffffff16565b600654602080546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101869052905194955092169263a9059cbb9260448082019392918290030181600087803b1580156141eb57600080fd5b505af11580156141ff573d6000803e3d6000fd5b505050506040513d602081101561421557600080fd5b5050604080514281526020810183905281517fcb3f34aaa3445b461e6da5492dc89e5c257a59fa598131f3b6bbc97a3638e409929181900390910190a15b6026546000901561451057614279612710610c0c60265486613c6790919063ffffffff16565b6006546022549192506001600160a01b039081169163a9059cbb91166142a0846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156142e657600080fd5b505af11580156142fa573d6000803e3d6000fd5b505050506040513d602081101561431057600080fd5b50506006546023546001600160a01b039182169163a9059cbb9116614336846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561437c57600080fd5b505af1158015614390573d6000803e3d6000fd5b505050506040513d60208110156143a657600080fd5b50506006546024546001600160a01b039182169163a9059cbb91166143cc846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561441257600080fd5b505af1158015614426573d6000803e3d6000fd5b505050506040513d602081101561443c57600080fd5b50506006546025546001600160a01b039182169163a9059cbb9116614462846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156144a857600080fd5b505af11580156144bc573d6000803e3d6000fd5b505050506040513d60208110156144d257600080fd5b5050604080514281526020810183905281517fdc8b715b18523e58b7fd0da53259dfa91efd91df4a854d94b136e3333a3b9395929181900390910190a15b61451e816128c98585613d2e565b60095460065491945061453f916001600160a01b039081169116600061470f565b60095460065461455c916001600160a01b0391821691168561470f565b600954604080516397ffe1d760e01b81526004810186905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b1580156145a957600080fd5b505af11580156145bd573d6000803e3d6000fd5b5050604080514281526020810187905281517fa72fa2f263b243b0f0e1fec5f3d49d33de573d15929b6b730c6b8ab3838c1c4d9450908190039091019150a1505050565b600060085b600f8160ff168154811061461657fe5b9060005260206000200154831061464b5760108160ff168154811061463757fe5b600091825260209091200154601155614654565b60001901614606565b5050601154919050565b60606146b3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166148229092919063ffffffff16565b805190915015611d15578080602001905160208110156146d257600080fd5b5051611d155760405162461bcd60e51b815260040180806020018281038252602a815260200180614d0d602a913960400191505060405180910390fd5b801580614795575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561476757600080fd5b505afa15801561477b573d6000803e3d6000fd5b505050506040513d602081101561479157600080fd5b5051155b6147d05760405162461bcd60e51b8152600401808060200182810382526036815260200180614d5d6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611d1590849061465e565b60606148318484600085614839565b949350505050565b60608247101561487a5760405162461bcd60e51b8152600401808060200182810382526026815260200180614b9c6026913960400191505060405180910390fd5b61488385614995565b6148d4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106149135780518252601f1990920191602091820191016148f4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614975576040519150601f19603f3d011682016040523d82523d6000602084013e61497a565b606091505b509150915061498a82828661499b565b979650505050505050565b3b151590565b606083156149aa575081613cc0565b8251156149ba5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614a045781810151838201526020016149ec565b50505050905090810190601f168015614a315780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215614a8a579160200282015b82811115614a8a57825182906bffffffffffffffffffffffff16905591602001919060010190614a5f565b50610e0a929150614ad6565b828054828255906000526020600020908101928215614a8a579160200282015b82811115614a8a578251829060ff16905591602001919060010190614ab6565b5b80821115610e0a5760008155600101614ad756fe5f7072656d69756d5468726573686f6c64206578636565647320727562696b50726963654365696c696e6754726561737572793a2063616e6e6f742072656465656d20626f6e64732077697468207a65726f20616d6f756e7454726561737572793a20727562696b5072696365206e6f7420656c696769626c6520666f7220626f6e642070757263686173655f7072656d69756d5468726573686f6c6420697320686967686572207468616e20312e35416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c54726561737572793a20747265617375727920686173206e6f206d6f726520627564676574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754726561737572793a2063616e6e6f7420707572636861736520626f6e64732077697468207a65726f20616d6f756e745f6d696e74696e67466163746f72466f72506179696e67446562743a206f7574206f662072616e67655f6d6178537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765496e6465782068617320746f206265206c6f776572207468616e20636f756e74206f6620746965727354726561737572793a206661696c656420746f20636f6e73756c7420525542494b2070726963652066726f6d20746865206f7261636c6554726561737572793a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756e6374696f6e5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636554726561737572793a206e6f7420656e6f75676820626f6e64206c65667420746f2070757263686173655f626f6f747374726170537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765a264697066735822122047fddc12411aef78dae73d0247910066377091e043471698386325a68ad4197864736f6c634300060c0033

Deployed ByteCode Sourcemap

33388:24525:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48061:322;;;;;;;;;;;;;;;;-1:-1:-1;48061:322:0;;:::i;:::-;;43706:281;;;;;;;;;;;;;;;;-1:-1:-1;43706:281:0;;:::i;43460:117::-;;;;;;;;;;;;;;;;-1:-1:-1;43460:117:0;-1:-1:-1;;;;;43460:117:0;;:::i;43995:319::-;;;;;;;;;;;;;;;;-1:-1:-1;43995:319:0;;:::i;39610:733::-;;;:::i;:::-;;;;;;;;;;;;;;;;40351:785;;;:::i;35412:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;35412:23:0;;;;;;;;;;;;;;51096:1107;;;;;;;;;;;;;;;;-1:-1:-1;51096:1107:0;;;;;;;:::i;47846:207::-;;;;;;;;;;;;;;;;-1:-1:-1;47846:207:0;;:::i;33746:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;34944:38;;;:::i;38425:736::-;;;:::i;34510:47::-;;;:::i;35109:30::-;;;:::i;35050:29::-;;;:::i;41190:2048::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41190:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34656:41::-;;;:::i;37437:89::-;;;:::i;35220:41::-;;;:::i;48391:201::-;;;;;;;;;;;;;;;;-1:-1:-1;48391:201:0;;:::i;35505:35::-;;;:::i;48600:330::-;;;;;;;;;;;;;;;;-1:-1:-1;48600:330:0;;:::i;35338:35::-;;;:::i;56757:423::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;56757:423:0;;;;;;;;;;;;;;;;;:::i;49760:1328::-;;;;;;;;;;;;;;;;-1:-1:-1;49760:1328:0;;;;;;;:::i;33700:23::-;;;:::i;45845:257::-;;;;;;;;;;;;;;;;-1:-1:-1;45845:257:0;;:::i;34257:32::-;;;:::i;38323:94::-;;;:::i;34298:31::-;;;:::i;54387:2362::-;;;:::i;34080:21::-;;;:::i;57188:128::-;;;;;;;;;;;;;;;;-1:-1:-1;57188:128:0;-1:-1:-1;;;;;57188:128:0;;:::i;34110:22::-;;;:::i;35472:23::-;;;:::i;35382:::-;;;:::i;46617:951::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46617:951:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34222:28::-;;;:::i;39169:433::-;;;:::i;57324:198::-;;;;;;;;;;;;;;;;-1:-1:-1;57324:198:0;;;;;;;:::i;33800:24::-;;;:::i;34053:20::-;;;:::i;34463:40::-;;;:::i;33953:::-;;;;;;;;;;;;;;;;-1:-1:-1;33953:40:0;;:::i;34822:46::-;;;:::i;45235:291::-;;;;;;;;;;;;;;;;-1:-1:-1;45235:291:0;;:::i;35309:22::-;;;:::i;33831:24::-;;;:::i;49281:471::-;;;:::i;46110:499::-;;;;;;;;;;;;;;;;-1:-1:-1;46110:499:0;;;;;;;:::i;44322:492::-;;;;;;;;;;;;;;;;-1:-1:-1;44322:492:0;;;;;;;;;:::i;57676:234::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57676:234:0;;;;;;;;;;;;;;;;;:::i;47576:129::-;;;;;;;;;;;;;;;;-1:-1:-1;47576:129:0;;:::i;34338:28::-;;;;;;;;;;;;;;;;-1:-1:-1;34338:28:0;;:::i;34139:27::-;;;:::i;34373:34::-;;;;;;;;;;;;;;;;-1:-1:-1;34373:34:0;;:::i;47713:125::-;;;;;;;;;;;;;;;;-1:-1:-1;47713:125:0;;:::i;43585:113::-;;;;;;;;;;;;;;;;-1:-1:-1;43585:113:0;-1:-1:-1;;;;;43585:113:0;;:::i;43246:101::-;;;;;;;;;;;;;;;;-1:-1:-1;43246:101:0;-1:-1:-1;;;;;43246:101:0;;:::i;33581:40::-;;;:::i;34989:30::-;;;:::i;57530:138::-;;;;;;;;;;;;;;;;-1:-1:-1;57530:138:0;;:::i;37685:301::-;;;:::i;37548:114::-;;;:::i;35184:29::-;;;:::i;35146:31::-;;;:::i;35442:23::-;;;:::i;45534:303::-;;;;;;;;;;;;;;;;-1:-1:-1;45534:303:0;;:::i;34173:26::-;;;:::i;44822:405::-;;;;;;;;;;;;;;;;-1:-1:-1;44822:405:0;;;;;;;;;:::i;43355:97::-;;;;;;;;;;;;;;;;-1:-1:-1;43355:97:0;-1:-1:-1;;;;;43355:97:0;;:::i;34026:20::-;;;:::i;34416:40::-;;;:::i;34613:34::-;;;:::i;34564:42::-;;;:::i;34785:30::-;;;:::i;48938:173::-;;;;;;;;;;;;;;;;-1:-1:-1;48938:173:0;;:::i;37994:306::-;;;:::i;33862:45::-;;;:::i;48061:322::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48179:17:::1;;48158;:38;;48150:94;;;;-1:-1:-1::0;;;48150:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48284:3;48263:17;:24;;48255:73;;;;-1:-1:-1::0;;;48255:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48339:16;:36:::0;48061:322::o;43706:281::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43827:13:::1;;43805:18;:35;;:92;;;;;43866:31;43893:3;43866:22;43884:3;43866:13;;:17;;:22;;;;:::i;:::-;:26:::0;::::1;:31::i;:::-;43844:18;:53;;43805:92;43797:117;;;::::0;;-1:-1:-1;;;43797:117:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43797:117:0;;;;;;;;;;;;;::::1;;43941:17;:38:::0;43706:281::o;43460:117::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43541:12:::1;:28:::0;;-1:-1:-1;;;;;;43541:28:0::1;-1:-1:-1::0;;;;;43541:28:0;;;::::1;::::0;;;::::1;::::0;;43460:117::o;43995:319::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44141:2:::1;44111:26;:32;;:70;;;;;44177:4;44147:26;:34;;44111:70;44103:123;;;;-1:-1:-1::0;;;44103:123:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44252:25;:54:::0;43995:319::o;39610:733::-;39662:13;39688:19;39710:15;:13;:15::i;:::-;39688:37;;39755:13;;39740:11;:28;39736:600;;39789:15;;39785:540;;39870:13;;39862:21;;39785:540;;;39924:19;39946:40;39974:11;39946:23;39964:4;39946:13;;:17;;:23;;;;:::i;:40::-;39924:62;;40024:23;40050:62;40106:5;40050:51;40085:15;;40050:30;40066:13;;40050:11;:15;;:30;;;;:::i;:::-;:34;;:51::i;:62::-;40139:13;;40024:88;;-1:-1:-1;40139:34:0;;40024:88;40139:17;:34::i;:::-;40131:42;;40214:1;40196:15;;:19;:46;;;;;40227:15;;40219:5;:23;40196:46;40192:118;;;40275:15;;40267:23;;40192:118;39785:540;;;39610:733;;:::o;40351:785::-;40402:13;40428:19;40450:15;:13;:15::i;:::-;40428:37;;40494:17;;40480:11;:31;40476:653;;;40528:35;40566:44;40606:3;40566:35;40584:16;;40566:13;;:17;;:35;;;;:::i;:44::-;40528:82;;40644:27;40629:11;:42;40625:493;;40724:22;40749:61;40804:5;40749:50;40784:14;;40749:30;40765:13;;40749:11;:15;;:30;;;;:::i;:61::-;40837:13;;40724:86;;-1:-1:-1;40837:33:0;;40724:86;40837:17;:33::i;:::-;40829:41;;40910:1;40893:14;;:18;:44;;;;;40923:14;;40915:5;:22;40893:44;40889:115;;;40970:14;;40962:22;;40889:115;40625:493;;;;41089:13;;41081:21;;40625:493;40476:653;40351:785;;:::o;35412:23::-;;;-1:-1:-1;;;;;35412:23:0;;:::o;51096:1107::-;30995:28;:26;:28::i;:::-;30994:29;30986:80;;;;-1:-1:-1;;;30986:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31086:28;:26;:28::i;:::-;31085:29;31077:80;;;;-1:-1:-1;;;31077:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36499:9:::1;;36492:3;:16;;36484:54;;;::::0;;-1:-1:-1;;;36484:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36484:54:0;;;;;;;;;;;;;::::1;;36945:5:::2;::::0;36933:29:::2;::::0;;-1:-1:-1;;;36933:29:0;;;;36974:4:::2;::::0;-1:-1:-1;;;;;36945:5:0::2;::::0;36933:27:::2;::::0;:29:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;36945:5;36933:29;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;36933:29:0;-1:-1:-1;;;;;36933:46:0::2;;:113:::0;::::2;;;-1:-1:-1::0;37012:5:0::2;::::0;37000:29:::2;::::0;;-1:-1:-1;;;37000:29:0;;;;37041:4:::2;::::0;-1:-1:-1;;;;;37012:5:0::2;::::0;37000:27:::2;::::0;:29:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37012:5;37000:29;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37000:29:0;-1:-1:-1;;;;;37000:46:0::2;;36933:113;:181;;;;-1:-1:-1::0;37079:6:0::2;::::0;37067:30:::2;::::0;;-1:-1:-1;;;37067:30:0;;;;37109:4:::2;::::0;-1:-1:-1;;;;;37079:6:0::2;::::0;37067:28:::2;::::0;:30:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37079:6;37067:30;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37067:30:0;-1:-1:-1;;;;;37067:47:0::2;;36933:181;:247;;;;-1:-1:-1::0;37144:7:0::2;::::0;37135:28:::2;::::0;;-1:-1:-1;;;37135:28:0;;;;37175:4:::2;::::0;-1:-1:-1;;;;;37144:7:0::2;::::0;37135:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37144:7;37135:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37135:28:0;-1:-1:-1;;;;;37135:45:0::2;;36933:247;36911:327;;;::::0;;-1:-1:-1;;;36911:327:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;51243:1:::3;51229:11;:15;51221:74;;;;-1:-1:-1::0;;;51221:74:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51308:18;51329:15;:13;:15::i;:::-;51308:36;;51377:11;51363:10;:25;51355:65;;;::::0;;-1:-1:-1;;;51355:65:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;51466:17;;51453:10;:30;51431:148;;;;-1:-1:-1::0;;;51431:148:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51592:13;51608:20;:18;:20::i;:::-;51592:36;;51655:1;51647:5;:9;51639:49;;;::::0;;-1:-1:-1;;;51639:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;51701:20;51724:32;51751:4;51724:22;:11:::0;51740:5;51724:15:::3;:22::i;:32::-;51782:5;::::0;51775:38:::3;::::0;;-1:-1:-1;;;51775:38:0;;51807:4:::3;51775:38;::::0;::::3;::::0;;;51701:55;;-1:-1:-1;51701:55:0;;-1:-1:-1;;;;;51782:5:0;;::::3;::::0;51775:23:::3;::::0;:38;;;;;::::3;::::0;;;;;;;;;51782:5;51775:38;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;51775:38:0;:54:::3;;51767:104;;;;-1:-1:-1::0;;;51767:104:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51903:62;51924:40;51933:16;;51951:12;51924:8;:40::i;:::-;51903:16;::::0;;:20:::3;:62::i;:::-;51884:16;:81:::0;51990:5:::3;::::0;51978:52:::3;::::0;;-1:-1:-1;;;51978:52:0;;52006:10:::3;51978:52;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;51990:5:0;;::::3;::::0;51978:27:::3;::::0;:52;;;;;51990:5:::3;::::0;51978:52;;;;;;;;51990:5;;51978:52;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;52048:5:0::3;::::0;52041:52:::3;::::0;-1:-1:-1;;;;;;52048:5:0::3;::::0;-1:-1:-1;52068:10:0::3;52080:12:::0;52041:26:::3;:52::i;:::-;52106:19;:17;:19::i;:::-;52143:52;::::0;;;;;::::3;::::0;::::3;::::0;;;;;52157:10:::3;::::0;52143:52:::3;::::0;;;;;;::::3;-1:-1:-1::0;;31192:12:0;31184:7;:21;;;;;;;;;;;31206:9;31184:32;;;;;;;;:39;;31219:4;-1:-1:-1;;31184:39:0;;;;;;;;31256:10;31234:33;;;;;;:40;;;;;;;;;;-1:-1:-1;;;51096:1107:0:o;47846:207::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47961:5:::1;47941:16;:25;;47933:67;;;::::0;;-1:-1:-1;;;47933:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48011:15;:34:::0;47846:207::o;33746:31::-;;;-1:-1:-1;;;33746:31:0;;;;;:::o;34944:38::-;;;;:::o;38425:736::-;38478:26;38517:19;38539:15;:13;:15::i;:::-;38517:37;;38584:13;;38569:11;:28;38565:589;;38614:20;38637:27;:25;:27::i;:::-;38614:50;;38679:22;38704:48;38746:5;38704:37;38721:19;;38704:12;:16;;:37;;;;:::i;:48::-;38679:73;;38767:19;38796:5;;;;;;;;;-1:-1:-1;;;;;38796:5:0;-1:-1:-1;;;;;38789:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38789:27:0;;-1:-1:-1;38835:28:0;;;38831:312;;;38884:24;38911:31;:14;38930:11;38911:18;:31::i;:::-;38884:58;-1:-1:-1;38961:25:0;38989:43;39027:4;38989:33;38884:58;39010:11;38989:20;:33::i;:43::-;38961:71;;39072:55;39081:26;;39109:17;39072:8;:55::i;:::-;39051:76;;38831:312;;;38565:589;;;38425:736;;:::o;34510:47::-;;;;:::o;35109:30::-;;;;:::o;35050:29::-;;;;:::o;41190:2048::-;37312:11;;-1:-1:-1;;;37312:11:0;;;;37311:12;37303:54;;;;;-1:-1:-1;;;37303:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41508:5:::1;:14:::0;;-1:-1:-1;;;;;;41508:14:0;;::::1;-1:-1:-1::0;;;;;41508:14:0;;::::1;::::0;;;::::1;::::0;;;41533:5:::1;:14:::0;;;::::1;::::0;;::::1;;::::0;;41558:6:::1;:16:::0;;;::::1;::::0;;::::1;;::::0;;41585:11:::1;:26:::0;;;::::1;::::0;;::::1;;::::0;;41622:7:::1;:18:::0;;;::::1;::::0;;::::1;;::::0;;41651:12:::1;:28:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;41690:22:0;;;41741:6:::1;41725:13;:22:::0;;;41778:31:::1;::::0;41805:3:::1;::::0;41778:22:::1;::::0;41796:3:::1;41778:17;:22::i;:31::-;41758:17;:51:::0;41870:23:::1;:42:::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;41870:42:0;;;;;;::::1;::::0;;-1:-1:-1;;;;;41870:42:0;;::::1;-1:-1:-1::0;;;;;;41870:42:0;;::::1;;::::0;;;41923:43;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;;::::0;;41977;;;;::::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;;::::1;;::::0;;;42075:153:::1;::::0;;::::1;::::0;::::1;::::0;;;;;42099:13:::1;41870:42;42075:153:::0;::::1;::::0;42114:14:::1;42075:153:::0;;;;42130:14:::1;42075:153:::0;;;;42146:14:::1;42075:153:::0;;;;42162:14:::1;42075:153:::0;;;;42178:15:::1;42075:153:::0;;;;42195:15:::1;42075:153:::0;;;;42212:15:::1;41870:42;42075:153:::0;;;::::1;::::0;:11:::1;::::0;:153:::1;;:::i;:::-;-1:-1:-1::0;42239:59:0::1;::::0;;::::1;::::0;::::1;::::0;;42260:3:::1;42239:59:::0;;42265:3:::1;42239:59;::::0;::::1;::::0;42270:3:::1;42239:59:::0;;;;;;;42275:2:::1;42239:59:::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;:17:::1;::::0;:59:::1;;:::i;:::-;-1:-1:-1::0;42339:3:0::1;42311:25;:31:::0;42417:5:::1;42389:25;:33:::0;42511:4:::1;42476:32;:39:::0;;;42606:3:::1;42576:27;:33:::0;42687:19:::1;:26:::0;42795:3:::1;42766:26;:32:::0;42878:3:::1;42859:16;:22:::0;42909:4:::1;42892:14;:21:::0;-1:-1:-1;42928:15:0::1;:19:::0;42992:3:::1;42958:31;:37:::0;-1:-1:-1;43083:5:0;43076:38:::1;::::0;;-1:-1:-1;;;43076:38:0;;43108:4:::1;43076:38;::::0;::::1;::::0;;;-1:-1:-1;;;;;43083:5:0;;::::1;::::0;43076:23:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;43083:5;43076:38;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43076:38:0;43057:16:::1;:57:::0;43141:4:::1;43127:18:::0;;-1:-1:-1;;;;;;;;;;43127:18:0;;::::1;-1:-1:-1::0;;;43127:18:0::1;43156:21;43167:10;43156:21:::0;;::::1;::::0;;;43193:37:::1;::::0;;43217:12:::1;43193:37:::0;;;;::::1;::::0;;;;43076:38:::1;43193:37:::0;;::::1;41190:2048:::0;;;;;;;;;:::o;34656:41::-;;;;:::o;37437:89::-;37507:11;;-1:-1:-1;;;37507:11:0;;;;37437:89;;:::o;35220:41::-;;;;:::o;48391:201::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48503:5:::1;48484:15;:24;;48476:65;;;::::0;;-1:-1:-1;;;48476:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48552:14;:32:::0;48391:201::o;35505:35::-;;;;:::o;48600:330::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48748:5:::1;48717:27;:36;;:76;;;;;48788:5;48757:27;:36;;48717:76;48709:130;;;;-1:-1:-1::0;;;48709:130:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48866:26;:56:::0;48600:330::o;35338:35::-;;;;:::o;56757:423::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56988:5:::1;::::0;-1:-1:-1;;;;;56961:33:0;;::::1;56988:5:::0;::::1;56961:33;;56953:51;;;::::0;;-1:-1:-1;;;56953:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;56953:51:0;;;;;;;;;;;;;::::1;;57050:5;::::0;-1:-1:-1;;;;;57023:33:0;;::::1;57050:5:::0;::::1;57023:33;;57015:50;;;::::0;;-1:-1:-1;;;57015:50:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;57015:50:0;;;;;;;;;;;;;::::1;;57111:6;::::0;-1:-1:-1;;;;;57084:34:0;;::::1;57111:6:::0;::::1;57084:34;;57076:52;;;::::0;;-1:-1:-1;;;57076:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;57076:52:0;;;;;;;;;;;;;::::1;;57139:33;-1:-1:-1::0;;;;;57139:19:0;::::1;57159:3:::0;57164:7;57139:19:::1;:33::i;:::-;56757:423:::0;;;:::o;49760:1328::-;30995:28;:26;:28::i;:::-;30994:29;30986:80;;;;-1:-1:-1;;;30986:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31086:28;:26;:28::i;:::-;31085:29;31077:80;;;;-1:-1:-1;;;31077:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36499:9:::1;;36492:3;:16;;36484:54;;;::::0;;-1:-1:-1;;;36484:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36484:54:0;;;;;;;;;;;;;::::1;;36945:5:::2;::::0;36933:29:::2;::::0;;-1:-1:-1;;;36933:29:0;;;;36974:4:::2;::::0;-1:-1:-1;;;;;36945:5:0::2;::::0;36933:27:::2;::::0;:29:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;36945:5;36933:29;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;36933:29:0;-1:-1:-1;;;;;36933:46:0::2;;:113:::0;::::2;;;-1:-1:-1::0;37012:5:0::2;::::0;37000:29:::2;::::0;;-1:-1:-1;;;37000:29:0;;;;37041:4:::2;::::0;-1:-1:-1;;;;;37012:5:0::2;::::0;37000:27:::2;::::0;:29:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37012:5;37000:29;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37000:29:0;-1:-1:-1;;;;;37000:46:0::2;;36933:113;:181;;;;-1:-1:-1::0;37079:6:0::2;::::0;37067:30:::2;::::0;;-1:-1:-1;;;37067:30:0;;;;37109:4:::2;::::0;-1:-1:-1;;;;;37079:6:0::2;::::0;37067:28:::2;::::0;:30:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37079:6;37067:30;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37067:30:0;-1:-1:-1;;;;;37067:47:0::2;;36933:181;:247;;;;-1:-1:-1::0;37144:7:0::2;::::0;37135:28:::2;::::0;;-1:-1:-1;;;37135:28:0;;;;37175:4:::2;::::0;-1:-1:-1;;;;;37144:7:0::2;::::0;37135:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37144:7;37135:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37135:28:0;-1:-1:-1;;;;;37135:45:0::2;;36933:247;36911:327;;;::::0;;-1:-1:-1;;;36911:327:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;49906:1:::3;49891:12;:16;49883:77;;;;-1:-1:-1::0;;;49883:77:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49973:18;49994:15;:13;:15::i;:::-;49973:36;;50042:11;50028:10;:25;50020:65;;;::::0;;-1:-1:-1;;;50020:65:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;50131:13;;50118:10;:26;50096:141;;;;-1:-1:-1::0;;;50096:141:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50274:26;;50258:12;:42;;50250:97;;;;-1:-1:-1::0;;;50250:97:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50360:13;50376:21;:19;:21::i;:::-;50360:37;;50424:1;50416:5;:9;50408:49;;;::::0;;-1:-1:-1;;;50408:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;50470:19;50492:33;50520:4;50492:23;:12:::0;50509:5;50492:16:::3;:23::i;:33::-;50470:55;;50536:19;50558:27;:25;:27::i;:::-;50536:49;;50596:21;50620:44;50652:11;50627:5;;;;;;;;;-1:-1:-1::0;;;;;50627:5:0::3;-1:-1:-1::0;;;;;50620:25:0::3;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;50620:27:0;;:31:::3;:44::i;:::-;50596:68;;50700:47;50741:5;50700:36;50716:19;;50700:11;:15;;:36;;;;:::i;:47::-;50683:13;:64;;50675:96;;;::::0;;-1:-1:-1;;;50675:96:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;50675:96:0;;;;;;;;;;;;;::::3;;50796:5;::::0;50784:53:::3;::::0;;-1:-1:-1;;;50784:53:0;;50812:10:::3;50784:53;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;50796:5:0;;::::3;::::0;50784:27:::3;::::0;:53;;;;;50796:5:::3;::::0;50784:53;;;;;;;;50796:5;;50784:53;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;50860:5:0::3;::::0;50848:48:::3;::::0;;-1:-1:-1;;;50848:48:0;;50872:10:::3;50848:48;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;50860:5:0;;::::3;::::0;-1:-1:-1;50848:23:0::3;::::0;-1:-1:-1;50848:48:0;;;;;::::3;::::0;;;;;;;;;50860:5:::3;::::0;50848:48;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;;50938:26:0::3;::::0;:44:::3;::::0;50969:12;50938:30:::3;:44::i;:::-;50909:26;:73:::0;50993:19:::3;:17;:19::i;:::-;51030:50;::::0;;;;;::::3;::::0;::::3;::::0;;;;;51042:10:::3;::::0;51030:50:::3;::::0;;;;;;::::3;-1:-1:-1::0;;31192:12:0;31184:7;:21;;;;;;;;;;;31206:9;31184:32;;;;;;;;:39;;31219:4;-1:-1:-1;;31184:39:0;;;;;;;;31256:10;31234:33;;;;;;:40;;;;;;;;;;-1:-1:-1;;;;;49760:1328:0:o;33700:23::-;;;-1:-1:-1;;;;;33700:23:0;;:::o;45845:257::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45972:4:::1;45948:20;:28;;:61;;;;;46004:5;45980:20;:29;;45948:61;45940:86;;;::::0;;-1:-1:-1;;;45940:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45940:86:0;;;;;;;;;;;;;::::1;;46052:19;:42:::0;45845:257::o;34257:32::-;;;;:::o;38323:94::-;38393:16;;38323:94;:::o;34298:31::-;;;;:::o;54387:2362::-;30995:28;:26;:28::i;:::-;30994:29;30986:80;;;;-1:-1:-1;;;30986:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31086:28;:26;:28::i;:::-;31085:29;31077:80;;;;-1:-1:-1;;;31077:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36499:9:::1;;36492:3;:16;;36484:54;;;::::0;;-1:-1:-1;;;36484:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36484:54:0;;;;;;;;;;;;;::::1;;36614:16:::2;:14;:16::i;:::-;36607:3;:23;;36599:60;;;::::0;;-1:-1:-1;;;36599:60:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;36945:5:::3;::::0;36933:29:::3;::::0;;-1:-1:-1;;;36933:29:0;;;;36974:4:::3;::::0;-1:-1:-1;;;;;36945:5:0::3;::::0;36933:27:::3;::::0;:29:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;36945:5;36933:29;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;36933:29:0;-1:-1:-1;;;;;36933:46:0::3;;:113:::0;::::3;;;-1:-1:-1::0;37012:5:0::3;::::0;37000:29:::3;::::0;;-1:-1:-1;;;37000:29:0;;;;37041:4:::3;::::0;-1:-1:-1;;;;;37012:5:0::3;::::0;37000:27:::3;::::0;:29:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37012:5;37000:29;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37000:29:0;-1:-1:-1;;;;;37000:46:0::3;;36933:113;:181;;;;-1:-1:-1::0;37079:6:0::3;::::0;37067:30:::3;::::0;;-1:-1:-1;;;37067:30:0;;;;37109:4:::3;::::0;-1:-1:-1;;;;;37079:6:0::3;::::0;37067:28:::3;::::0;:30:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37079:6;37067:30;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37067:30:0;-1:-1:-1;;;;;37067:47:0::3;;36933:181;:247;;;;-1:-1:-1::0;37144:7:0::3;::::0;37135:28:::3;::::0;;-1:-1:-1;;;37135:28:0;;;;37175:4:::3;::::0;-1:-1:-1;;;;;37144:7:0::3;::::0;37135:26:::3;::::0;:28:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37144:7;37135:28;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37135:28:0;-1:-1:-1;;;;;37135:45:0::3;;36933:247;36911:327;;;::::0;;-1:-1:-1;;;36911:327:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;54491:19:::4;:17;:19::i;:::-;54547:15;:13;:15::i;:::-;54521:23;:41:::0;54627:16:::4;::::0;54573:19:::4;::::0;54595:49:::4;::::0;:27:::4;:25;:27::i;:::-;:31:::0;::::4;:49::i;:::-;54573:71;;54655:75;54675:54;54723:5;54675:43;54691:26;;54675:11;:15;;:43;;;;:::i;:54::-;54655:19;:75::i;:::-;54753:15;;54745:5;;:23;54741:2001;;;54837:75;54852:59;54905:5;54852:48;54868:31;;54852:11;:15;;:48;;;;:::i;:59::-;54837:14;:75::i;:::-;54741:2001;;;54975:17;;54949:23;;:43;54945:1786;;;55138:5;::::0;55131:27:::4;::::0;;-1:-1:-1;;;55131:27:0;;;;55110:18:::4;::::0;-1:-1:-1;;;;;55138:5:0::4;::::0;55131:25:::4;::::0;:27:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;55138:5;55131:27;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;55131:27:0;55227:13:::4;::::0;55199:23:::4;::::0;55131:27;;-1:-1:-1;55177:19:0::4;::::0;55199:42:::4;::::0;:27:::4;:42::i;:::-;55177:64;;55260:21;55300:24:::0;55343:12:::4;55358:58;55411:4;55358:48;55394:11;55358:35;:48::i;:58::-;55343:73;;55453:4;55439:11;:18;55435:85;;;55496:4;55482:18;;55435:85;55562:52;55608:5;55562:41;55577:25;;55562:10;:14;;:41;;;;:::i;:52::-;55542:16;;:72;55538:783;;55727:38;55760:4;55727:28;:11:::0;55743;55727:15:::4;:28::i;:38::-;55708:57;;55538:783;;;55883:20;55906:38;55939:4;55906:28;:11:::0;55922;55906:15:::4;:28::i;:38::-;55883:61;;55986;56041:5;55986:50;56003:32;;55986:12;:16;;:50;;;;:::i;:61::-;55967:80:::0;-1:-1:-1;56086:34:0::4;:12:::0;55967:80;56086:16:::4;:34::i;:::-;56147:26;::::0;56070:50;;-1:-1:-1;56147:30:0;56143:159:::4;;56222:56;56272:5;56222:45;56240:26;;56222:13;:17;;:45;;;;:::i;:56::-;56206:72;;56143:159;55538:783;;56343:20:::0;;56339:101:::4;;56388:32;56403:16;56388:14;:32::i;:::-;56462:17:::0;;56458:258:::4;;56523:16;::::0;:35:::4;::::0;56544:13;56523:20:::4;:35::i;:::-;56504:16;:54:::0;56593:5:::4;::::0;56581:53:::4;::::0;;-1:-1:-1;;;56581:53:0;;56613:4:::4;56581:53;::::0;::::4;::::0;;;;;;;;;-1:-1:-1;;;;;56593:5:0;;::::4;::::0;56581:23:::4;::::0;:53;;;;;::::4;::::0;;;;;;;;;56593:5:::4;::::0;56581:53;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;;56662:34:0::4;::::0;;56677:3:::4;56662:34:::0;;56581:53:::4;56662:34:::0;::::4;::::0;;;;;::::4;::::0;;;;;;;;;::::4;56458:258;54945:1786;;;;;;-1:-1:-1::0;36694:5:0::2;::::0;:12:::2;::::0;36704:1:::2;36694:9;:12::i;:::-;36686:5;:20:::0;36765:17:::2;::::0;36747:15:::2;:13;:15::i;:::-;:35;36746:115;;36790:71;36855:5;36790:60;36822:27;;36790;:25;:27::i;:71::-;36746:115;;;36786:1;36746:115;36717:26;:144:::0;31192:12;31184:7;:21;;;;;;;;;;;31206:9;31184:32;;;;;;;;:39;;31219:4;-1:-1:-1;;31184:39:0;;;;;;;;31256:10;31234:33;;;;;;:40;;;;;;;;;;54387:2362::o;34080:21::-;;;-1:-1:-1;;;;;34080:21:0;;:::o;57188:128::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57277:7:::1;::::0;57268:40:::1;::::0;;-1:-1:-1;;;57268:40:0;;-1:-1:-1;;;;;57268:40:0;;::::1;;::::0;::::1;::::0;;;57277:7;;;::::1;::::0;57268:29:::1;::::0;:40;;;;;57277:7:::1;::::0;57268:40;;;;;;;57277:7;;57268:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57188:128:::0;:::o;34110:22::-;;;-1:-1:-1;;;;;34110:22:0;;:::o;35472:23::-;;;-1:-1:-1;;;;;35472:23:0;;:::o;35382:::-;;;-1:-1:-1;;;;;35382:23:0;;:::o;46617:951::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46907:22:0;::::1;46899:39;;;::::0;;-1:-1:-1;;;46899:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;46899:39:0;;;;;;;;;;;;;::::1;;46984:4;46959:21;:29;;46951:54;;;::::0;;-1:-1:-1;;;46951:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46951:54:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47034:23:0;::::1;47026:40;;;::::0;;-1:-1:-1;;;47026:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47026:40:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47085:23:0;::::1;47077:40;;;::::0;;-1:-1:-1;;;47077:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47077:40:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47136:23:0;::::1;47128:40;;;::::0;;-1:-1:-1;;;47128:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47128:40:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47187:23:0;::::1;47179:40;;;::::0;;-1:-1:-1;;;47179:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47179:40:0;;;;;;;;;;;;;::::1;;47265:3;47240:21;:28;;47232:53;;;::::0;;-1:-1:-1;;;47232:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;47232:53:0;;;;;;;;;;;;;::::1;;47306:7;:18:::0;;-1:-1:-1;;;;;;47306:18:0;;::::1;-1:-1:-1::0;;;;;47306:18:0;;::::1;;::::0;;;47335:20:::1;:44:::0;;;;47390:8:::1;:20:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;47421:8:::1;:20:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;47452:8:::1;:20:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;47483:8:::1;:20:::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;47516::::1;:44:::0;46617:951::o;34222:28::-;;;;:::o;39169:433::-;39220:24;39257:19;39279:15;:13;:15::i;:::-;39257:37;;39323:17;;39309:11;:31;39305:290;;;39386:5;;39379:38;;;-1:-1:-1;;;39379:38:0;;39411:4;39379:38;;;;;;39357:19;;-1:-1:-1;;;;;39386:5:0;;39379:23;;:38;;;;;;;;;;;;;;39386:5;39379:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39379:38:0;;-1:-1:-1;39432:13:0;39448:20;:18;:20::i;:::-;39432:36;-1:-1:-1;39487:9:0;;39483:101;;39536:32;39562:5;39536:21;:11;39552:4;39536:15;:21::i;:32::-;39517:51;;39305:290;;39169:433;;:::o;57324:198::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57452:7:::1;::::0;57443:71:::1;::::0;;-1:-1:-1;;;57443:71:0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;57452:7:0;;::::1;::::0;57443:27:::1;::::0;:71;;;;;57452:7:::1;::::0;57443:71;;;;;;;;57452:7;;57443:71;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57324:198:::0;;:::o;33800:24::-;;;;:::o;34053:20::-;;;-1:-1:-1;;;;;34053:20:0;;:::o;34463:40::-;;;;:::o;33953:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33953:40:0;;-1:-1:-1;33953:40:0;:::o;34822:46::-;;;;:::o;45235:291::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45380:3:::1;45350:26;:33;;:72;;;;;45417:5;45387:26;:35;;45350:72;45342:97;;;::::0;;-1:-1:-1;;;45342:97:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45342:97:0;;;;;;;;;;;;;::::1;;45464:25;:54:::0;45235:291::o;35309:22::-;;;-1:-1:-1;;;;;35309:22:0;;:::o;33831:24::-;;;;:::o;49281:471::-;49386:5;;49425:24;;;-1:-1:-1;;;49425:24:0;;;;49339:7;;-1:-1:-1;;;;;49386:5:0;;49339:7;;49386:5;;49425:22;;:24;;;;;;;;;;;;;;49386:5;49425:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49425:24:0;;-1:-1:-1;49460:23:0;;49498:197;49532:23;:30;49522:40;;;;49498:197;;;49608:75;49628:10;-1:-1:-1;;;;;49628:20:0;;49649:23;49673:7;49649:32;;;;;;;;;;;;;;;;;;;;;49628:54;;;-1:-1:-1;;;;;;49628:54:0;;;;;;;-1:-1:-1;;;;;49649:32:0;;;49628:54;;;;;;;;;;49649:32;49628:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49628:54:0;49608:15;;:19;:75::i;:::-;49590:93;-1:-1:-1;49564:9:0;;49498:197;;;-1:-1:-1;49712:32:0;:11;49728:15;49712;:32::i;46110:499::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46261:3:::1;46241:16;:23;;46233:66;;;::::0;;-1:-1:-1;;;46233:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;46368:3;46332:32;:39;;:83;;;;;46411:4;46375:32;:40;;46332:83;46324:142;;;;-1:-1:-1::0;;;46324:142:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46490:15;:34:::0;;;;46535:31:::1;:66:::0;46110:499::o;44322:492::-;36358:8;;44412:4;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44510:1:::1;44501:6;:10;;;44493:64;;;;-1:-1:-1::0;;;44493:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44572:10;::::0;::::1;::::0;44568:84:::1;;44616:11;44637:1;44628:6;:10;44616:23;;;;;;;;;;;;;;;;;;44607:6;:32;44599:41;;;::::0;::::1;;44675:1;44666:6;:10;;;44662:84;;;44710:11;44722:6;44731:1;44722:10;44710:23;;;;;;;;;;;;;;;;;;44701:6;:32;44693:41;;;::::0;::::1;;44778:6;44756:11;44768:6;44756:19;;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;:28:::0;-1:-1:-1;44802:4:0::1;36432:1;44322:492:::0;;;;:::o;57676:234::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57843:7:::1;::::0;57834:68:::1;::::0;;-1:-1:-1;;;57834:68:0;;-1:-1:-1;;;;;57834:68:0;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;57843:7;;;::::1;::::0;57834:46:::1;::::0;:68;;;;;57843:7:::1;::::0;57834:68;;;;;;;57843:7;;57834:68;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57676:234:::0;;;:::o;47576:129::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47663:15:::1;:34:::0;47576:129::o;34338:28::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34338:28:0;:::o;34139:27::-;;;-1:-1:-1;;;;;34139:27:0;;:::o;34373:34::-;;;;;;;;;;47713:125;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47798:14:::1;:32:::0;47713:125::o;43585:113::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43664:11:::1;:26:::0;;-1:-1:-1;;;;;;43664:26:0::1;-1:-1:-1::0;;;;;43664:26:0;;;::::1;::::0;;;::::1;::::0;;43585:113::o;43246:101::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43319:8:::1;:20:::0;;-1:-1:-1;;;;;;43319:20:0::1;-1:-1:-1::0;;;;;43319:20:0;;;::::1;::::0;;;::::1;::::0;;43246:101::o;33581:40::-;33614:7;33581:40;:::o;34989:30::-;;;;:::o;57530:138::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57624:7:::1;::::0;57615:45:::1;::::0;;-1:-1:-1;;;57615:45:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;57624:7:0;;::::1;::::0;57615:37:::1;::::0;:45;;;;;57624:7:::1;::::0;57615:45;;;;;;;;57624:7;;57615:45;::::1;;::::0;::::1;;;;::::0;::::1;37685:301:::0;37774:11;;37795:5;;37766:41;;;-1:-1:-1;;;37766:41:0;;-1:-1:-1;;;;;37795:5:0;;;37766:41;;;;37802:4;37766:41;;;;;;37731:18;;37774:11;;;;;37766:28;;:41;;;;;;;;;;;;;;;37774:11;37766:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37766:41:0;;;37762:217;;37902:65;;-1:-1:-1;;;37902:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37762:217;37854:14;;;-1:-1:-1;37847:21:0;;37548:114;37595:7;37622:32;37636:17;33614:7;37636:5;;:9;;:17;;;;:::i;:::-;37622:9;;;:13;:32::i;:::-;37615:39;;37548:114;:::o;35184:29::-;;;;:::o;35146:31::-;;;;:::o;35442:23::-;;;-1:-1:-1;;;;;35442:23:0;;:::o;45534:303::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45685:3:::1;45653:28;:35;;:75;;;;;45724:4;45692:28;:36;;45653:75;45645:100;;;::::0;;-1:-1:-1;;;45645:100:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45645:100:0;;;;;;;;;;;;;::::1;;45771:27;:58:::0;45534:303::o;34173:26::-;;;-1:-1:-1;;;;;34173:26:0;;:::o;44822:405::-;36358:8;;44918:4;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45016:1:::1;45007:6;:10;;;44999:64;;;;-1:-1:-1::0;;;44999:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45092:2;45082:6;:12;;:30;;;;;45108:4;45098:6;:14;;45082:30;45074:63;;;::::0;;-1:-1:-1;;;45074:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45074:63:0;;;;;;;;;;;;;::::1;;45191:6;45163:17;45181:6;45163:25;;;;;;;;;43355:97:::0;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43426:7:::1;:18:::0;;-1:-1:-1;;;;;;43426:18:0::1;-1:-1:-1::0;;;;;43426:18:0;;;::::1;::::0;;;::::1;::::0;;43355:97::o;34026:20::-;;;-1:-1:-1;;;;;34026:20:0;;:::o;34416:40::-;;;;:::o;34613:34::-;;;;:::o;34564:42::-;;;;:::o;34785:30::-;;;;:::o;48938:173::-;36358:8;;-1:-1:-1;;;;;36358:8:0;36370:10;36358:22;36350:71;;;;-1:-1:-1;;;36350:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49047:26:::1;:56:::0;48938:173::o;37994:306::-;38091:11;;38109:5;;38083:38;;;-1:-1:-1;;;38083:38:0;;-1:-1:-1;;;;;38109:5:0;;;38083:38;;;;38116:4;38083:38;;;;;;38047:19;;38091:11;;;;;38083:25;;:38;;;;;;;;;;;;;;;38091:11;38083:38;;;;;;;;;;33862:45;;;;:::o;7347:220::-;7405:7;7429:6;7425:20;;-1:-1:-1;7444:1:0;7437:8;;7425:20;7468:5;;;7472:1;7468;:5;:1;7492:5;;;;;:10;7484:56;;;;-1:-1:-1;;;7484:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7558:1;7347:220;-1:-1:-1;;;7347:220:0:o;8045:153::-;8103:7;8135:1;8131;:5;8123:44;;;;;-1:-1:-1;;;8123:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8189:1;8185;:5;;;;;;;8045:153;-1:-1:-1;;;8045:153:0:o;6930:158::-;6988:7;7021:1;7016;:6;;7008:49;;;;;-1:-1:-1;;;7008:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7075:5:0;;;6930:158::o;6468:179::-;6526:7;6558:5;;;6582:6;;;;6574:46;;;;;-1:-1:-1;;;6574:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;30684:125;30777:12;30745:4;30769:21;;;;;;;;;;;30791:9;30769:32;;;;;;;;;;30684:125;:::o;30817:126::-;30910:12;30878:4;30902:21;;;;;;;;;;;30924:10;30902:33;;;;;;;;;;30817:126;:::o;419:106::-;477:7;508:1;504;:5;:13;;516:1;504:13;;;-1:-1:-1;512:1:0;;497:20;-1:-1:-1;419:106:0:o;19848:177::-;19958:58;;;-1:-1:-1;;;;;19958:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19958:58:0;-1:-1:-1;;;19958:58:0;;;19931:86;;19951:5;;19931:19;:86::i;49172:101::-;49233:11;;;;;;;;;-1:-1:-1;;;;;49233:11:0;-1:-1:-1;;;;;49225:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49221:45;49172:101::o;53471:520::-;53570:5;;53587:12;;53563:37;;;-1:-1:-1;;;53563:37:0;;-1:-1:-1;;;;;53587:12:0;;;53563:37;;;;;;53537:23;;53570:5;;;;;53563:23;;:37;;;;;;;;;;;;;;;53570:5;53563:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53563:37:0;53650:12;;53636:41;;;-1:-1:-1;;;53636:41:0;;;;53563:37;;-1:-1:-1;53611:22:0;;-1:-1:-1;;;;;53650:12:0;;;;53636:39;;:41;;;;;53563:37;;53636:41;;;;;;;;53650:12;53636:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53636:41:0;;-1:-1:-1;53692:33:0;;;53688:46;;53727:7;;;;53688:46;53744:15;53762:35;:15;53782:14;53762:19;:35::i;:::-;53744:53;;53822:7;53812;:17;53808:176;;;53858:5;;53870:12;;-1:-1:-1;;;;;53858:5:0;;;;53846:23;;53870:12;53884:20;:7;53896;53884:11;:20::i;:::-;53846:59;;;;;;;;;;;;;-1:-1:-1;;;;;53846:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53925:47:0;;-1:-1:-1;53946:3:0;53951:20;:7;53963;53951:11;:20::i;:::-;53925:47;;;;;;;;;;;;;;;;;;;;;;53808:176;53471:520;;;;:::o;52211:1252::-;52284:5;;52272:47;;;-1:-1:-1;;;52272:47:0;;52304:4;52272:47;;;;;;;;;;;;-1:-1:-1;;;;;52284:5:0;;;;52272:23;;:47;;;;;;;;;;;;;;;52284:5;;52272:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52379:20:0;;52332:28;;52379:24;52375:252;;52443:44;52481:5;52443:33;52455:20;;52443:7;:11;;:33;;;;:::i;:44::-;52509:5;;52525:7;;;52502:53;;;-1:-1:-1;;;52502:53:0;;-1:-1:-1;;;;;52525:7:0;;;52502:53;;;;;;;;;;;;52420:67;;-1:-1:-1;52509:5:0;;;52502:22;;:53;;;;;52525:7;52502:53;;;;;;52509:5;;52502:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52575:40:0;;;52589:3;52575:40;;52502:53;52575:40;;;;;;;;;;;;;;;;;;52375:252;52686:20;;52639:28;;52686:24;52682:488;;52750:44;52788:5;52750:33;52762:20;;52750:7;:11;;:33;;;;:::i;:44::-;52816:5;;52832:8;;52727:67;;-1:-1:-1;;;;;;52816:5:0;;;;52809:22;;52832:8;52842:27;52727:67;52867:1;52842:24;:27::i;:::-;52809:61;;;;;;;;;;;;;-1:-1:-1;;;;;52809:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52892:5:0;;52908:8;;-1:-1:-1;;;;;52892:5:0;;;;52885:22;;52908:8;52918:27;:20;52943:1;52918:24;:27::i;:::-;52885:61;;;;;;;;;;;;;-1:-1:-1;;;;;52885:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52968:5:0;;52984:8;;-1:-1:-1;;;;;52968:5:0;;;;52961:22;;52984:8;52994:27;:20;53019:1;52994:24;:27::i;:::-;52961:61;;;;;;;;;;;;;-1:-1:-1;;;;;52961:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53044:5:0;;53060:8;;-1:-1:-1;;;;;53044:5:0;;;;53037:22;;53060:8;53070:27;:20;53095:1;53070:24;:27::i;:::-;53037:61;;;;;;;;;;;;;-1:-1:-1;;;;;53037:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53118:40:0;;;53132:3;53118:40;;53037:61;53118:40;;;;;;;;;;;;;;;;;;52682:488;53192:59;53230:20;53192:33;:7;53204:20;53192:11;:33::i;:59::-;53290:7;;53271:5;;53182:69;;-1:-1:-1;53264:37:0;;-1:-1:-1;;;;;53271:5:0;;;;53290:7;;53264:25;:37::i;:::-;53338:7;;53319:5;;53312:43;;-1:-1:-1;;;;;53319:5:0;;;;53338:7;53347;53312:25;:43::i;:::-;53375:7;;53366:46;;;-1:-1:-1;;;53366:46:0;;;;;;;;;;-1:-1:-1;;;;;53375:7:0;;;;53366:37;;:46;;;;;53375:7;;53366:46;;;;;;;;53375:7;;53366:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53428:27:0;;;53442:3;53428:27;;;;;;;;;;;;-1:-1:-1;53428:27:0;;;;;;;;-1:-1:-1;53428:27:0;52211:1252;;;:::o;53999:380::-;54084:7;54124:1;54104:225;54185:11;54197:6;54185:19;;;;;;;;;;;;;;;;;;54169:12;:35;54165:153;;54253:17;54271:6;54253:25;;;;;;;;;;;;;;;;;;;;54225;:53;54297:5;;54165:153;-1:-1:-1;;54140:8:0;54104:225;;;-1:-1:-1;;54346:25:0;;53999:380;;;:::o;22153:761::-;22577:23;22603:69;22631:4;22603:69;;;;;;;;;;;;;;;;;22611:5;-1:-1:-1;;;;;22603:27:0;;;:69;;;;;:::i;:::-;22687:17;;22577:95;;-1:-1:-1;22687:21:0;22683:224;;22829:10;22818:30;;;;;;;;;;;;;;;-1:-1:-1;22818:30:0;22810:85;;;;-1:-1:-1;;;22810:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20507:622;20877:10;;;20876:62;;-1:-1:-1;20893:39:0;;;-1:-1:-1;;;20893:39:0;;20917:4;20893:39;;;;-1:-1:-1;;;;;20893:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20893:39:0;:44;20876:62;20868:152;;;;-1:-1:-1;;;20868:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21058:62;;;-1:-1:-1;;;;;21058:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21058:62:0;-1:-1:-1;;;21058:62:0;;;21031:90;;21051:5;;21031:19;:90::i;14835:195::-;14938:12;14970:52;14992:6;15000:4;15006:1;15009:12;14970:21;:52::i;:::-;14963:59;14835:195;-1:-1:-1;;;;14835:195:0:o;15887:530::-;16014:12;16072:5;16047:21;:30;;16039:81;;;;-1:-1:-1;;;16039:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16139:18;16150:6;16139:10;:18::i;:::-;16131:60;;;;;-1:-1:-1;;;16131:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16265:12;16279:23;16306:6;-1:-1:-1;;;;;16306:11:0;16326:5;16334:4;16306:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16306:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16264:75;;;;16357:52;16375:7;16384:10;16396:12;16357:17;:52::i;:::-;16350:59;15887:530;-1:-1:-1;;;;;;;15887:530:0:o;11917:422::-;12284:20;12323:8;;;11917:422::o;18427:742::-;18542:12;18571:7;18567:595;;;-1:-1:-1;18602:10:0;18595:17;;18567:595;18716:17;;:21;18712:439;;18979:10;18973:17;19040:15;19027:10;19023:2;19019:19;19012:44;18927:148;19122:12;19115:20;;-1:-1:-1;;;19115:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://47fddc12411aef78dae73d0247910066377091e043471698386325a68ad41978
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.