Contract 0x792707b7565ab5b2aecb1e006f6e2f480d5cc0e7

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5fa703decdf1e1c385d7934823e0f809d6a87086efb65a9ef5a064ae289db7e0Set Capital Orac...407567782022-06-18 1:54:1611 days 23 hrs ago0x0e54b2fdc08d1fbeccf426faef8aaa8f9de8a12e IN  0x792707b7565ab5b2aecb1e006f6e2f480d5cc0e70 FTM0.029261379703
0x5d58823bde0f56b280cff1b3f16f6e90758f63d497f99bdc148a296cd688770cInitialize407556022022-06-18 1:31:2111 days 23 hrs ago0x0e54b2fdc08d1fbeccf426faef8aaa8f9de8a12e IN  0x792707b7565ab5b2aecb1e006f6e2f480d5cc0e70 FTM0.396034
0xe84ba4528580caacd534d1faa9c1f4708f29e4b51f6476027be540e080a37f980x60806040402448872022-06-11 0:22:5719 days 1 hr ago0x0e54b2fdc08d1fbeccf426faef8aaa8f9de8a12e IN  Create: Treasury0 FTM0.122807683343
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xe84ba4528580caacd534d1faa9c1f4708f29e4b51f6476027be540e080a37f98402448872022-06-11 0:22:5719 days 1 hr ago 0x0e54b2fdc08d1fbeccf426faef8aaa8f9de8a12e  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-06-11
*/

// SPDX-License-Identifier: MIT    
/*
    https://discord.gg/YUrfB68JG6

    http://capitalusd.io
*/


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 getCapitalPrice() 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 capital;
    address public investment;
    address public interest;

    address public masonry;
    address public bondTreasury;
    address public capitalOracle;

    // price
    uint256 public capitalPriceOne;
    uint256 public capitalPriceCeiling;

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

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

    address public daoFund;
    uint256 public daoFunCapitaldPercent;

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

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

    event Initialized(address indexed executor, uint256 at);
    event BurnerBonds(address indexed from, uint256 bondAmount);
    event RedeemerBonds(address indexed from, uint256 capitalAmount, uint256 bondAmount);
    event BoughtBonds(address indexed from, uint256 capitalAmount, 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 = (getCapitalPrice() > capitalPriceCeiling) ? 0 : getCapitalCirculatingSupply().mul(maxSupplyContractionPercent).div(10000);
    }

    modifier checkOperator {
        require(
            IBasisAsset(capital).operator() == address(this) &&
                IBasisAsset(investment).operator() == address(this) &&
                IBasisAsset(interest).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 getCapitalPrice() public view returns (uint256 capitalPrice) {
        try IOracle(capitalOracle).consult(capital, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult CAPITAL price from the oracle");
        }
    }

    function getCapitalUpdatedPrice() public view returns (uint256 _capitalPrice) {
        try IOracle(capitalOracle).twap(capital, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult CAPITAL price from the oracle");
        }
    }

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

    function getBurnableCapitalLeft() public view returns (uint256 _burnableCapitalLeft) {
        uint256 _capitalPrice = getCapitalPrice();
        if (_capitalPrice <= capitalPriceOne) {
            uint256 _capitalSupply = getCapitalCirculatingSupply();
            uint256 _bondMaxSupply = _capitalSupply.mul(maxDebtRatioPercent).div(10000);
            uint256 _bondSupply = IERC20(investment).totalSupply();
            if (_bondMaxSupply > _bondSupply) {
                uint256 _maxMintableBond = _bondMaxSupply.sub(_bondSupply);
                uint256 _maxBurnableCapital = _maxMintableBond.mul(_capitalPrice).div(1e18);
                _burnableCapitalLeft = Math.min(epochSupplyContractionLeft, _maxBurnableCapital);
            }
        }
    }

    function getRedeemableBonds() public view returns (uint256 _redeemableBonds) {
        uint256 _capitalPrice = getCapitalPrice();
        if (_capitalPrice > capitalPriceCeiling) {
            uint256 _totalCapital = IERC20(capital).balanceOf(address(this));
            uint256 _rate = getBondPremiumRate();
            if (_rate > 0) {
                _redeemableBonds = _totalCapital.mul(1e18).div(_rate);
            }
        }
    }

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

    function getBondPremiumRate() public view returns (uint256 _rate) {
        uint256 _capitalPrice = getCapitalPrice();
        if (_capitalPrice > capitalPriceCeiling) {
            uint256 _capitalPricePremiumThreshold = capitalPriceOne.mul(premiumThreshold).div(100);
            if (_capitalPrice >= _capitalPricePremiumThreshold) {
                //Price > 1.10
                uint256 _premiumAmount = _capitalPrice.sub(capitalPriceOne).mul(premiumPercent).div(10000);
                _rate = capitalPriceOne.add(_premiumAmount);
                if (maxPremiumRate > 0 && _rate > maxPremiumRate) {
                    _rate = maxPremiumRate;
                }
            } else {
                // no premium bonus
                _rate = capitalPriceOne;
            }
        }
    }

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

    function initialize(
        address _capital,
        address _investment,
        address _interest,
        address _capitalOracle,
        address _masonry,
        address _genesisPool,
        address _genesisPool2,
        address _bondTreasury,
        uint256 _startTime
    ) public notInitialized {
        capital = _capital;
        investment = _investment;
        interest = _interest;
        capitalOracle = _capitalOracle;
        masonry = _masonry;
        bondTreasury = _bondTreasury;
        startTime = _startTime;

        capitalPriceOne = 10**18;
        capitalPriceCeiling = capitalPriceOne.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 = 200; // 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 CAPITAL and mint TBOND)
        maxDebtRatioPercent = 3500; // Upto 35% supply of TBOND to purchase

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

        premiumThreshold = 110;
        premiumPercent = 7000;


        bootstrapEpochs = 10;
        bootstrapSupplyExpansionPercent = 200;

        // set seigniorageSaved to it's balance
        seigniorageSaved = IERC20(capital).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 setCapitalOracle(address _capitalOracle) external onlyOperator {
        capitalOracle = _capitalOracle;
    }

    function setCapitalPriceCeiling(uint256 _capitalPriceCeiling) external onlyOperator {
        require(_capitalPriceCeiling >= capitalPriceOne && _capitalPriceCeiling <= capitalPriceOne.mul(120).div(100), "out of range"); // [$1.0, $1.2]
        capitalPriceCeiling = _capitalPriceCeiling;
    }

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

        require(_daoFunCapitaldPercent <= 3000, "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(_devFunCapitaldPercent <= 1000, "out of range"); // <= 10%
        daoFund = _daoFund;
        daoFunCapitaldPercent = _daoFunCapitaldPercent;
        devFund1 = _devFund1;
        devFund2 = _devFund2;
        devFund3 = _devFund3;
        devFund4 = _devFund4;

        devFunCapitaldPercent = _devFunCapitaldPercent;
    }

    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 >= capitalPriceCeiling, "_premiumThreshold exceeds capitalPriceCeiling");
        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 _updateCapitalPrice() internal {
        try IOracle(capitalOracle).update() {} catch {}
    }

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

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

        uint256 capitalPrice = getCapitalPrice();
        require(capitalPrice == targetPrice, "Treasury: CAPITAL price moved");
        require(
            capitalPrice < capitalPriceOne, // price < $1
            "Treasury: capitalPrice not eligible for bond purchase"
        );

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

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

        uint256 _bondAmount = _capitalAmount.mul(_rate).div(1e18);
        uint256 capitalSupply = getCapitalCirculatingSupply();
        uint256 newBondSupply = IERC20(investment).totalSupply().add(_bondAmount);
        require(newBondSupply <= capitalSupply.mul(maxDebtRatioPercent).div(10000), "over max debt ratio");

        IBasisAsset(capital).burnFrom(msg.sender, _capitalAmount);
        IBasisAsset(investment).mint(msg.sender, _bondAmount);

        epochSupplyContractionLeft = epochSupplyContractionLeft.sub(_capitalAmount);
        _updateCapitalPrice();

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

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

        uint256 capitalPrice = getCapitalPrice();
        require(capitalPrice == targetPrice, "Treasury: CAPITAL price moved");
        require(
            capitalPrice > capitalPriceCeiling, // price > $1.01
            "Treasury: capitalPrice not eligible for bond purchase"
        );

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

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

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

        IBasisAsset(investment).burnFrom(msg.sender, _bondAmount);
        IERC20(capital).safeTransfer(msg.sender, _capitalAmount);

        _updateCapitalPrice();

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

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

        uint256 _daoFunCapitaldAmount = 0;
        if (daoFunCapitaldPercent > 0) {
            _daoFunCapitaldAmount = _amount.mul(daoFunCapitaldPercent).div(10000);
            IERC20(capital).transfer(daoFund, _daoFunCapitaldAmount);
            emit DaoFundFunded(now, _daoFunCapitaldAmount);
        }

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

        _amount = _amount.sub(_daoFunCapitaldAmount).sub(_devFunCapitaldAmount);

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

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

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

    function allocateSeigniorage() external onlyOneBlock checkCondition checkEpoch checkOperator {
        _updateCapitalPrice();
        previousEpochCapitalPrice = getCapitalPrice();
        uint256 capitalSupply = getCapitalCirculatingSupply().sub(seigniorageSaved);
        _sendToBondTreasury(capitalSupply.mul(bondSupplyExpansionPercent).div(10000));
        if (epoch < bootstrapEpochs) {
            // 28 first epochs with 4.5% expansion
            _sendToMasonry(capitalSupply.mul(bootstrapSupplyExpansionPercent).div(10000));
        } else {
            if (previousEpochCapitalPrice > capitalPriceCeiling) {
                // Expansion ($CAPITAL Price > 1 $FTM): there is some seigniorage to be allocated
                uint256 bondSupply = IERC20(investment).totalSupply();
                uint256 _percentage = previousEpochCapitalPrice.sub(capitalPriceOne);
                uint256 _savedForBond;
                uint256 _savedForMasonry;
                uint256 _mse = _calculateMaxSupplyExpansionPercent(capitalSupply).mul(1e14);
                if (_percentage > _mse) {
                    _percentage = _mse;
                }
                if (seigniorageSaved >= bondSupply.mul(bondDepletionFloorPercent).div(10000)) {
                    // saved enough to pay debt, mint as usual rate
                    _savedForMasonry = capitalSupply.mul(_percentage).div(1e18);
                } else {
                    // have not saved enough to pay debt, mint more
                    uint256 _seigniorage = capitalSupply.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(capital).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(capital), "capital");
        require(address(_token) != address(investment), "bond");
        require(address(_token) != address(interest), "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":"capitalAmount","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":"capitalAmount","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":"_capitalAmount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"buyBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"capital","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"capitalOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"capitalPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"capitalPriceOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoFunCapitaldPercent","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":"devFunCapitaldPercent","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":"getBurnableCapitalLeft","outputs":[{"internalType":"uint256","name":"_burnableCapitalLeft","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCapitalCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCapitalPrice","outputs":[{"internalType":"uint256","name":"capitalPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCapitalUpdatedPrice","outputs":[{"internalType":"uint256","name":"_capitalPrice","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":[{"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":"_capital","type":"address"},{"internalType":"address","name":"_investment","type":"address"},{"internalType":"address","name":"_interest","type":"address"},{"internalType":"address","name":"_capitalOracle","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":"interest","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"investment","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"previousEpochCapitalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondAmount","type":"uint256"},{"internalType":"uint256","name":"targetPrice","type":"uint256"}],"name":"redeemBonds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seigniorageExpansionFloorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seigniorageSaved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bondDepletionFloorPercent","type":"uint256"}],"name":"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":"address","name":"_capitalOracle","type":"address"}],"name":"setCapitalOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_capitalPriceCeiling","type":"uint256"}],"name":"setCapitalPriceCeiling","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":"_daoFunCapitaldPercent","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":"_devFunCapitaldPercent","type":"uint256"}],"name":"setExtraFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_masonry","type":"address"}],"name":"setMasonry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDebtRatioPercent","type":"uint256"}],"name":"setMaxDebtRatioPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDiscountRate","type":"uint256"}],"name":"setMaxDiscountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxExpansionTiersEntry","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPremiumRate","type":"uint256"}],"name":"setMaxPremiumRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplyContractionPercent","type":"uint256"}],"name":"setMaxSupplyContractionPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplyExpansionPercent","type":"uint256"}],"name":"setMaxSupplyExpansionPercents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintingFactorForPayingDebt","type":"uint256"}],"name":"setMintingFactorForPayingDebt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_premiumPercent","type":"uint256"}],"name":"setPremiumPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_premiumThreshold","type":"uint256"}],"name":"setPremiumThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setSupplyTiersEntry","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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"}]

60806040526001805460ff60a01b191690556000600381905560045534801561002757600080fd5b50614e26806100376000396000f3fe608060405234801561001057600080fd5b50600436106104755760003560e01c80637985720111610257578063b4d1d79511610146578063d211fd18116100c3578063e14f960e11610087578063e14f960e14610a71578063e90b245414610a97578063f14698de14610a9f578063f245245a14610aa7578063fcb6f00814610ac457610475565b8063d211fd1814610a0d578063d4b1494414610a15578063d5d3b26c14610a3b578063d98f249514610a61578063da3ed41914610a6957610475565b8063c5f1dcf81161010a578063c5f1dcf8146109d0578063c8412d02146109d8578063c8f987f3146109e0578063ca9ab2ee146109e8578063cecce38e146109f057610475565b8063b4d1d79514610993578063b8a878f91461099b578063be266d54146109a3578063c392f766146109c0578063c5967c26146109c857610475565b8063930f6405116101d45780639ab4f775116101985780639ab4f77514610923578063a0487eea1461092b578063a204452b14610948578063b24f2fc814610965578063b3ab15fb1461096d57610475565b8063930f640514610885578063940e60641461088d578063951357d4146108b357806398b762a1146108e9578063998200251461090657610475565b80638c664db61161021b5780638c664db61461082d5780638d934f741461084a578063900cf0cf1461085257806391bbfed51461085a5780639296e1381461087d57610475565b806379857201146107f057806381d11eaf146107f857806382cad8381461080057806383a286601461081d578063874106cc1461082557610475565b80634e5ea1a51161037357806363f96cf4116102f057806371b68fd7116102b457806371b68fd7146107615780637243b3c5146107b557806372c054f9146107bd578063734f7096146107c557806378e97925146107e857610475565b806363f96cf414610739578063697730421461074157806369b83d26146107495780636beec71a146107515780636dc651d91461075957610475565b8063591663e111610337578063591663e1146106de57806359bf5d39146106fb5780635a0fc79c146107035780635b7561791461070b57806362ac58e41461071357610475565b80634e5ea1a51461065857806354575af41461066057806354f04a1114610696578063570ca735146106b957806357d9c399146106c157610475565b806322f832cd11610401578063392e53cd116103c5578063392e53cd146106065780634013a08e1461060e57806340af7ba51461061657806345fbfbca14610633578063499f3f191461063b57610475565b806322f832cd1461057e57806329ef1919146105865780632e9c7b651461058e578063344dd6e414610596578063349aa30a146105fe57610475565b80630db7eb0b116104485780630db7eb0b146104f6578063117effeb146104fe578063118ebbf914610522578063154ec2db14610545578063158ef93e1461056257610475565b806304e5c7b11461047a5780630a79c951146104995780630b5bcec7146104bf5780630cf60175146104dc575b600080fd5b6104976004803603602081101561049057600080fd5b5035610acc565b005b610497600480360360208110156104af57600080fd5b50356001600160a01b0316610b9b565b610497600480360360208110156104d557600080fd5b5035610c06565b6104e4610ca2565b60408051918252519081900360200190f35b6104e4610d54565b610506610df6565b604080516001600160a01b039092168252519081900360200190f35b6104976004803603604081101561053857600080fd5b5080359060200135610e05565b6104976004803603602081101561055b57600080fd5b5035611462565b61056a611507565b604080519115158252519081900360200190f35b6104e4611517565b6104e461151d565b6104e4611523565b61049760048036036101208110156105ad57600080fd5b506001600160a01b038135811691602081013582169160408201358116916060810135821691608082013581169160a081013582169160c082013581169160e0810135909116906101000135611529565b6104e46118a2565b61056a6118a8565b6104e46118b9565b6104976004803603602081101561062c57600080fd5b50356118bf565b610506611964565b6104976004803603602081101561065157600080fd5b5035611973565b6104e4611a10565b6104976004803603606081101561067657600080fd5b506001600160a01b03813581169160208101359160409091013516611a16565b610497600480360360408110156106ac57600080fd5b5080359060200135611b5c565b61050661229b565b610497600480360360208110156106d757600080fd5b50356122aa565b610497600480360360208110156106f457600080fd5b5035612364565b6104e4612406565b6104e461240c565b610497612412565b6104976004803603602081101561072957600080fd5b50356001600160a01b0316612ae7565b610506612b99565b6104e4612ba8565b6104e4612bae565b610506612c8b565b610506612c9a565b610497600480360360e081101561077757600080fd5b506001600160a01b03813581169160208101359160408201358116916060810135821691608082013581169160a08101359091169060c00135612ca9565b6104e4612f3a565b6104e4613041565b610497600480360360408110156107db57600080fd5b5080359060200135613101565b6104e46131ba565b6105066131c0565b6104e46131cf565b6105066004803603602081101561081657600080fd5b50356131d5565b6104e46131fc565b6104e4613202565b6104976004803603602081101561084357600080fd5b5035613208565b6105066132aa565b6104e46132b9565b6104976004803603604081101561087057600080fd5b50803590602001356132bf565b6104e46133b7565b6104e4613419565b61056a600480360360408110156108a357600080fd5b5060ff813516906020013561341f565b610497600480360360608110156108c957600080fd5b506001600160a01b0381358116916020810135916040909101351661353b565b610497600480360360208110156108ff57600080fd5b50356135fe565b6104e46004803603602081101561091c57600080fd5b503561364c565b61050661366a565b6104e46004803603602081101561094157600080fd5b5035613679565b6104976004803603602081101561095e57600080fd5b5035613686565b6104e46136d4565b6104976004803603602081101561098357600080fd5b50356001600160a01b0316613814565b6104e461387f565b6104e4613885565b610497600480360360208110156109b957600080fd5b503561388b565b610506613921565b6104e4613930565b6104e461395a565b6104e4613960565b6104e4613966565b61050661396c565b61049760048036036020811015610a0657600080fd5b503561397b565b610506613a1c565b61056a60048036036040811015610a2b57600080fd5b5060ff8135169060200135613a2b565b61049760048036036020811015610a5157600080fd5b50356001600160a01b0316613b25565b6104e4613b90565b6104e4613b96565b61049760048036036020811015610a8757600080fd5b50356001600160a01b0316613b9c565b6104e4613c07565b6104e4613c0d565b61049760048036036020811015610abd57600080fd5b5035613c13565b6104e4613c61565b6001546001600160a01b03163314610b155760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600d54811015610b565760405162461bcd60e51b815260040180806020018281038252602d815260200180614d96602d913960400191505060405180910390fd5b6096811115610b965760405162461bcd60e51b8152600401808060200182810382526024815260200180614b536024913960400191505060405180910390fd5b601d55565b6001546001600160a01b03163314610be45760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163314610c4f5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600a8110158015610c6257506103e88111155b610c9d5760405162461bcd60e51b8152600401808060200182810382526028815260200180614c716028913960400191505060405180910390fd5b601155565b600080610cad6133b7565b9050600c548111610d5057601c54610cc957600c549150610d50565b6000610cf282610cec670de0b6b3a7640000600c54613c6790919063ffffffff16565b90613cc7565b90506000610d1d612710610cec601c54610d17600c5487613d2e90919063ffffffff16565b90613c67565b600c54909150610d2d9082613d8b565b93506000601a54118015610d425750601a5484115b15610d4d57601a5493505b50505b5090565b600080610d5f6133b7565b9050600d54811115610d50576000610d896064610cec601d54600c54613c6790919063ffffffff16565b9050808210610deb576000610db5612710610cec601e54610d17600c5488613d2e90919063ffffffff16565b600c54909150610dc59082613d8b565b93506000601b54118015610dda5750601b5484115b15610de557601b5493505b50610df1565b600c5492505b505090565b6023546001600160a01b031681565b610e0d613de5565b15610e495760405162461bcd60e51b8152600401808060200182810382526026815260200180614d106026913960400191505060405180910390fd5b610e51613e04565b15610e8d5760405162461bcd60e51b8152600401808060200182810382526026815260200180614d106026913960400191505060405180910390fd5b600254421015610ee0576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015610f2457600080fd5b505afa158015610f38573d6000803e3d6000fd5b505050506040513d6020811015610f4e57600080fd5b50516001600160a01b0316148015610fdc57506007546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015610fa557600080fd5b505afa158015610fb9573d6000803e3d6000fd5b505050506040513d6020811015610fcf57600080fd5b50516001600160a01b0316145b801561105e57506008546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561102757600080fd5b505afa15801561103b573d6000803e3d6000fd5b505050506040513d602081101561105157600080fd5b50516001600160a01b0316145b80156110e057506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b1580156110a957600080fd5b505afa1580156110bd573d6000803e3d6000fd5b505050506040513d60208110156110d357600080fd5b50516001600160a01b0316145b611131576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b600082116111705760405162461bcd60e51b815260040180806020018281038252602e815260200180614b25602e913960400191505060405180910390fd5b600061117a6133b7565b90508181146111d0576040805162461bcd60e51b815260206004820152601d60248201527f54726561737572793a204341504954414c207072696365206d6f766564000000604482015290519081900360640190fd5b600d5481116112105760405162461bcd60e51b8152600401808060200182810382526035815260200180614b9d6035913960400191505060405180910390fd5b600061121a610d54565b905060008111611271576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000611289670de0b6b3a7640000610cec8785613c67565b600654604080516370a0823160e01b8152306004820152905192935083926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156112d957600080fd5b505afa1580156112ed573d6000803e3d6000fd5b505050506040513d602081101561130357600080fd5b505110156113425760405162461bcd60e51b8152600401808060200182810382526025815260200180614bd26025913960400191505060405180910390fd5b61135a611351600e5483613e23565b600e5490613d2e565b600e556007546040805163079cc67960e41b81523360048201526024810188905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b50506006546113e092506001600160a01b031690503383613e39565b6113e8613e8b565b6040805182815260208101879052815133927f5b27d683a8efd247a62241204cd28fbb6b216f52b2d7a94b46cec8b0114c0923928290030190a25050436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055505050565b6001546001600160a01b031633146114ab5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b614e20811115611502576040805162461bcd60e51b815260206004820152601d60248201527f5f646973636f756e7450657263656e74206973206f7665722032303025000000604482015290519081900360640190fd5b601c55565b600154600160a01b900460ff1681565b60135481565b601c5481565b601b5481565b600154600160a01b900460ff1615611588576040805162461bcd60e51b815260206004820152601d60248201527f54726561737572793a20616c726561647920696e697469616c697a6564000000604482015290519081900360640190fd5b600680546001600160a01b03199081166001600160a01b038c8116919091179092556007805482168b84161790556008805482168a8416179055600b80548216898416179055600980548216888416179055600a80549091169184169190911790556002819055670de0b6b3a7640000600c81905561160f90606490610cec906065613c67565b600d55600580546001818101835560008381527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db092830180546001600160a01b03808b166001600160a01b03199283161790925585548085018755850180548a84169083161790558554938401909555919092018054918616919093161790915560408051610120810182529182526a0422ca8b0a00a42500000060208301526a084595161401484a000000908201526a0c685fa11e01ec6f00000060608201526a108b2a2c2802909400000060808201526a295be96e6406697200000060a08201526a52b7d2dcc80cd2e400000060c08201526aa56fa5b99019a5c800000060e08201526b019d971e4fe8401e7400000061010082015261173590600f906009614a3f565b50604080516101208101825260c88152609660208201526064918101919091526032606082018190526080820181905260a0820181905260c0820181905260e0820181905261010082015261178e906010906009614a96565b5060c86011819055612710601255610dac601381905561012c6014556015556101f4601655606e601d55611b58601e55600a601755601855600654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561181157600080fd5b505afa158015611825573d6000803e3d6000fd5b505050506040513d602081101561183b57600080fd5b5051600e55600180546001600160a01b031960ff60a01b19909116600160a01b1716339081179091556040805143815290517f25ff68dd81b34665b5ba7e553ee5511bf6812e12adb4a7e2c0d9e26b3099ce799181900360200190a2505050505050505050565b60165481565b600154600160a01b900460ff165b90565b601f5481565b6001546001600160a01b031633146119085760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b614e2081111561195f576040805162461bcd60e51b815260206004820152601c60248201527f5f7072656d69756d50657263656e74206973206f766572203230302500000000604482015290519081900360640190fd5b601e55565b6007546001600160a01b031681565b6001546001600160a01b031633146119bc5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b61271081101580156119d05750614e208111155b611a0b5760405162461bcd60e51b8152600401808060200182810382526029815260200180614c486029913960400191505060405180910390fd5b601f55565b600d5481565b6001546001600160a01b03163314611a5f5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b6006546001600160a01b0384811691161415611aac576040805162461bcd60e51b815260206004820152600760248201526618d85c1a5d185b60ca1b604482015290519081900360640190fd5b6007546001600160a01b0384811691161415611af8576040805162461bcd60e51b81526020600480830191909152602482015263189bdb9960e21b604482015290519081900360640190fd5b6008546001600160a01b0384811691161415611b43576040805162461bcd60e51b8152602060048201526005602482015264736861726560d81b604482015290519081900360640190fd5b611b576001600160a01b0384168284613e39565b505050565b611b64613de5565b15611ba05760405162461bcd60e51b8152600401808060200182810382526026815260200180614d106026913960400191505060405180910390fd5b611ba8613e04565b15611be45760405162461bcd60e51b8152600401808060200182810382526026815260200180614d106026913960400191505060405180910390fd5b600254421015611c37576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611c7b57600080fd5b505afa158015611c8f573d6000803e3d6000fd5b505050506040513d6020811015611ca557600080fd5b50516001600160a01b0316148015611d3357506007546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611cfc57600080fd5b505afa158015611d10573d6000803e3d6000fd5b505050506040513d6020811015611d2657600080fd5b50516001600160a01b0316145b8015611db557506008546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611d7e57600080fd5b505afa158015611d92573d6000803e3d6000fd5b505050506040513d6020811015611da857600080fd5b50516001600160a01b0316145b8015611e3757506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b158015611e0057600080fd5b505afa158015611e14573d6000803e3d6000fd5b505050506040513d6020811015611e2a57600080fd5b50516001600160a01b0316145b611e88576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b60008211611ec75760405162461bcd60e51b8152600401808060200182810382526030815260200180614c186030913960400191505060405180910390fd5b6000611ed16133b7565b9050818114611f27576040805162461bcd60e51b815260206004820152601d60248201527f54726561737572793a204341504954414c207072696365206d6f766564000000604482015290519081900360640190fd5b600c548110611f675760405162461bcd60e51b8152600401808060200182810382526035815260200180614b9d6035913960400191505060405180910390fd5b600454831115611fa85760405162461bcd60e51b815260040180806020018281038252602a815260200180614d6c602a913960400191505060405180910390fd5b6000611fb2610ca2565b905060008111612009576040805162461bcd60e51b815260206004820152601b60248201527f54726561737572793a20696e76616c696420626f6e6420726174650000000000604482015290519081900360640190fd5b6000612021670de0b6b3a7640000610cec8785613c67565b9050600061202d6136d4565b905060006120b583600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561208357600080fd5b505afa158015612097573d6000803e3d6000fd5b505050506040513d60208110156120ad57600080fd5b505190613d8b565b90506120d2612710610cec60155485613c6790919063ffffffff16565b81111561211c576040805162461bcd60e51b81526020600482015260136024820152726f766572206d6178206465627420726174696f60681b604482015290519081900360640190fd5b6006546040805163079cc67960e41b8152336004820152602481018a905290516001600160a01b03909216916379cc67909160448082019260009290919082900301818387803b15801561216f57600080fd5b505af1158015612183573d6000803e3d6000fd5b5050600754604080516340c10f1960e01b81523360048201526024810188905290516001600160a01b0390921693506340c10f1992506044808201926020929091908290030181600087803b1580156121db57600080fd5b505af11580156121ef573d6000803e3d6000fd5b505050506040513d602081101561220557600080fd5b50506004546122149088613d2e565b60045561221f613e8b565b6040805188815260208101859052815133927f73017f1b70789e2e66759eeb3c7ec11f59e6eedb55d921cfaec5410dd42a4799928290030190a25050436000908152602081815260408083203284529091528082208054600160ff19918216811790925533845291909220805490911690911790555050505050565b6001546001600160a01b031681565b6001546001600160a01b031633146122f35760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600c54811015801561231f575061231b6064610cec6078600c54613c6790919063ffffffff16565b8111155b61235f576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b600d55565b6001546001600160a01b031633146123ad5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b6103e881101580156123c157506127108111155b612401576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601555565b600e5490565b600e5481565b61241a613de5565b156124565760405162461bcd60e51b8152600401808060200182810382526026815260200180614d106026913960400191505060405180910390fd5b61245e613e04565b1561249a5760405162461bcd60e51b8152600401808060200182810382526026815260200180614d106026913960400191505060405180910390fd5b6002544210156124ed576040805162461bcd60e51b8152602060048201526019602482015278151c99585cdd5c9e4e881b9bdd081cdd185c9d1959081e595d603a1b604482015290519081900360640190fd5b6124f5613930565b421015612549576040805162461bcd60e51b815260206004820152601860248201527f54726561737572793a206e6f74206f70656e6564207965740000000000000000604482015290519081900360640190fd5b6006546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561258d57600080fd5b505afa1580156125a1573d6000803e3d6000fd5b505050506040513d60208110156125b757600080fd5b50516001600160a01b031614801561264557506007546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561260e57600080fd5b505afa158015612622573d6000803e3d6000fd5b505050506040513d602081101561263857600080fd5b50516001600160a01b0316145b80156126c757506008546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561269057600080fd5b505afa1580156126a4573d6000803e3d6000fd5b505050506040513d60208110156126ba57600080fd5b50516001600160a01b0316145b801561274957506009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561271257600080fd5b505afa158015612726573d6000803e3d6000fd5b505050506040513d602081101561273c57600080fd5b50516001600160a01b0316145b61279a576040805162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e0000604482015290519081900360640190fd5b6127a2613e8b565b6127aa6133b7565b601955600e546000906127c5906127bf6136d4565b90613d2e565b90506127ea6127e5612710610cec60165485613c6790919063ffffffff16565b613eef565b601754600354101561281e57612819612814612710610cec60185485613c6790919063ffffffff16565b6140ed565b612a6b565b600d546019541115612a6b57600754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561286f57600080fd5b505afa158015612883573d6000803e3d6000fd5b505050506040513d602081101561289957600080fd5b5051600c546019549192506000916128b091613d2e565b905060008060006128ca655af3107a4000610d1788614601565b9050808411156128d8578093505b6128f3612710610cec60125488613c6790919063ffffffff16565b600e541061291857612911670de0b6b3a7640000610cec8887613c67565b9150612984565b6000612930670de0b6b3a7640000610cec8988613c67565b905061294d612710610cec60135484613c6790919063ffffffff16565b92506129598184613d2e565b601f54909450156129825761297f612710610cec601f5487613c6790919063ffffffff16565b93505b505b811561299357612993826140ed565b8215612a6557600e546129a69084613d8b565b600e55600654604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b1580156129fd57600080fd5b505af1158015612a11573d6000803e3d6000fd5b505050506040513d6020811015612a2757600080fd5b5050604080514281526020810185905281517ff705142bf09f04297640495ddf7c59b7fd6f51894c5aea9602d631cf05f0efc2929181900390910190a15b50505050505b50600354612a7a906001613d8b565b600355600d54612a886133b7565b11612aa657612aa1612710610cec601454610d176136d4565b612aa9565b60005b600455436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6001546001600160a01b03163314612b305760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b6009546040805163b3ab15fb60e01b81526001600160a01b0384811660048301529151919092169163b3ab15fb91602480830192600092919082900301818387803b158015612b7e57600080fd5b505af1158015612b92573d6000803e3d6000fd5b5050505050565b6009546001600160a01b031681565b60195481565b600b5460065460408051630d01142560e31b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691636808a12891604480820192602092909190829003018186803b158015612c1057600080fd5b505afa925050508015612c3557506040513d6020811015612c3057600080fd5b505160015b612c705760405162461bcd60e51b8152600401808060200182810382526039815260200180614aec6039913960400191505060405180910390fd5b71ffffffffffffffffffffffffffffffffffff1690506118b6565b6025546001600160a01b031681565b6022546001600160a01b031681565b6001546001600160a01b03163314612cf25760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b6001600160a01b038716612d36576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b610bb8861115612d7c576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b6001600160a01b038516612dc0576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6001600160a01b038416612e04576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6001600160a01b038316612e48576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6001600160a01b038216612e8c576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b6103e8811115612ed2576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b602080546001600160a01b03199081166001600160a01b03998a16179091556021969096556022805487169588169590951790945560238054861693871693909317909255602480548516918616919091179055602580549093169316929092179055602655565b600080612f456133b7565b9050600c548111610d50576000612f5a6136d4565b90506000612f79612710610cec60155485613c6790919063ffffffff16565b90506000600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612fcb57600080fd5b505afa158015612fdf573d6000803e3d6000fd5b505050506040513d6020811015612ff557600080fd5b505190508082111561303a57600061300d8383613d2e565b90506000613027670de0b6b3a7640000610cec8489613c67565b905061303560045482613e23565b965050505b5050505090565b60008061304c6133b7565b9050600d54811115610d5057600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156130a357600080fd5b505afa1580156130b7573d6000803e3d6000fd5b505050506040513d60208110156130cd57600080fd5b5051905060006130db610d54565b90508015610d4d576130f981610cec84670de0b6b3a7640000613c67565b935050505090565b6001546001600160a01b0316331461314a5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b60095460408051632ffaaa0960e01b8152600481018590526024810184905290516001600160a01b0390921691632ffaaa099160448082019260009290919082900301818387803b15801561319e57600080fd5b505af11580156131b2573d6000803e3d6000fd5b505050505050565b60025481565b600b546001600160a01b031681565b60125481565b600581815481106131e257fe5b6000918252602090912001546001600160a01b0316905081565b60215481565b60185481565b6001546001600160a01b031633146132515760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b6101f4811015801561326557506127108111155b6132a5576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601255565b6020546001600160a01b031681565b60035481565b6001546001600160a01b031633146133085760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b607882111561335e576040805162461bcd60e51b815260206004820152601e60248201527f5f626f6f74737472617045706f6368733a206f7574206f662072616e67650000604482015290519081900360640190fd5b6064811015801561337157506103e88111155b6133ac5760405162461bcd60e51b815260040180806020018281038252602e815260200180614dc3602e913960400191505060405180910390fd5b601791909155601855565b600b5460065460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b158015612c1057600080fd5b600c5481565b6001546000906001600160a01b0316331461346b5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b60098360ff16106134ad5760405162461bcd60e51b8152600401808060200182810382526029815260200180614c996029913960400191505060405180910390fd5b60ff8316156134df57600f6001840360ff16815481106134c957fe5b906000526020600020015482116134df57600080fd5b60088360ff16101561351457600f8360010160ff16815481106134fe57fe5b9060005260206000200154821061351457600080fd5b81600f8460ff168154811061352557fe5b6000918252602090912001555060015b92915050565b6001546001600160a01b031633146135845760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b60095460408051631515d6bd60e21b81526001600160a01b038681166004830152602482018690528481166044830152915191909216916354575af491606480830192600092919082900301818387803b1580156135e157600080fd5b505af11580156135f5573d6000803e3d6000fd5b50505050505050565b6001546001600160a01b031633146136475760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b601a55565b600f818154811061365957fe5b600091825260209091200154905081565b600a546001600160a01b031681565b6010818154811061365957fe5b6001546001600160a01b031633146136cf5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b601b55565b600654604080516318160ddd60e01b815290516000926001600160a01b031691839183916318160ddd916004808301926020929190829003018186803b15801561371d57600080fd5b505afa158015613731573d6000803e3d6000fd5b505050506040513d602081101561374757600080fd5b505190506000805b60055460ff82161015613809576137ff846001600160a01b03166370a0823160058460ff168154811061377e57fe5b60009182526020918290200154604080516001600160e01b031960e086901b1681526001600160a01b0390921660048301525160248083019392829003018186803b1580156137cc57600080fd5b505afa1580156137e0573d6000803e3d6000fd5b505050506040513d60208110156137f657600080fd5b50518390613d8b565b915060010161374f565b506130f98282613d2e565b6001546001600160a01b0316331461385d5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61546081565b601a5481565b6001546001600160a01b031633146138d45760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600954604080516397ffe1d760e01b81526004810184905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b158015612b7e57600080fd5b6008546001600160a01b031681565b600061395561394c615460600354613c6790919063ffffffff16565b60025490613d8b565b905090565b60265481565b601e5481565b601d5481565b6024546001600160a01b031681565b6001546001600160a01b031633146139c45760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b606481101580156139d757506105dc8111155b613a17576040805162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b604482015290519081900360640190fd5b601455565b6006546001600160a01b031681565b6001546000906001600160a01b03163314613a775760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b60098360ff1610613ab95760405162461bcd60e51b8152600401808060200182810382526029815260200180614c996029913960400191505060405180910390fd5b600a8210158015613acc57506103e88211155b613b14576040805162461bcd60e51b81526020600482015260146024820152735f76616c75653a206f7574206f662072616e676560601b604482015290519081900360640190fd5b8160108460ff168154811061352557fe5b6001546001600160a01b03163314613b6e5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60115481565b60155481565b6001546001600160a01b03163314613be55760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60145481565b60175481565b6001546001600160a01b03163314613c5c5760405162461bcd60e51b8152600401808060200182810382526024815260200180614cc26024913960400191505060405180910390fd5b601655565b60045481565b600082613c7657506000613535565b82820282848281613c8357fe5b0414613cc05760405162461bcd60e51b8152600401808060200182810382526021815260200180614bf76021913960400191505060405180910390fd5b9392505050565b6000808211613d1d576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381613d2657fe5b049392505050565b600082821115613d85576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015613cc0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b4360009081526020818152604080832032845290915290205460ff1690565b4360009081526020818152604080832033845290915290205460ff1690565b6000818310613e325781613cc0565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611b5790849061465e565b600b60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613edb57600080fd5b505af1925050508015613eec575060015b50565b600654600a54604080516370a0823160e01b81526001600160a01b039283166004820152905160009392909216916370a0823191602480820192602092909190829003018186803b158015613f4357600080fd5b505afa158015613f57573d6000803e3d6000fd5b505050506040513d6020811015613f6d57600080fd5b5051600a54604080516306672f1560e21b815290519293506000926001600160a01b039092169163199cbc5491600480820192602092909190829003018186803b158015613fba57600080fd5b505afa158015613fce573d6000803e3d6000fd5b505050506040513d6020811015613fe457600080fd5b50519050818110613ff6575050613eec565b60006140028383613d2e565b9050808411156140e757600654600a546001600160a01b03918216916340c10f19911661402f8785613d2e565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561407557600080fd5b505af1158015614089573d6000803e3d6000fd5b505050506040513d602081101561409f57600080fd5b507f0fb78c87bf033716512ff0f9fbc6cc8c5558b44e44fece73c58c196dc8e5ae7a9050426140ce8684613d2e565b6040805192835260208301919091528051918290030190a15b50505050565b600654604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f19916044808201926020929091908290030181600087803b15801561414157600080fd5b505af1158015614155573d6000803e3d6000fd5b505050506040513d602081101561416b57600080fd5b50506021546000901561425357614193612710610cec60215485613c6790919063ffffffff16565b600654602080546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101869052905194955092169263a9059cbb9260448082019392918290030181600087803b1580156141eb57600080fd5b505af11580156141ff573d6000803e3d6000fd5b505050506040513d602081101561421557600080fd5b5050604080514281526020810183905281517fcb3f34aaa3445b461e6da5492dc89e5c257a59fa598131f3b6bbc97a3638e409929181900390910190a15b6026546000901561451057614279612710610cec60265486613c6790919063ffffffff16565b6006546022549192506001600160a01b039081169163a9059cbb91166142a0846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156142e657600080fd5b505af11580156142fa573d6000803e3d6000fd5b505050506040513d602081101561431057600080fd5b50506006546023546001600160a01b039182169163a9059cbb9116614336846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561437c57600080fd5b505af1158015614390573d6000803e3d6000fd5b505050506040513d60208110156143a657600080fd5b50506006546024546001600160a01b039182169163a9059cbb91166143cc846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561441257600080fd5b505af1158015614426573d6000803e3d6000fd5b505050506040513d602081101561443c57600080fd5b50506006546025546001600160a01b039182169163a9059cbb9116614462846004613cc7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156144a857600080fd5b505af11580156144bc573d6000803e3d6000fd5b505050506040513d60208110156144d257600080fd5b5050604080514281526020810183905281517fdc8b715b18523e58b7fd0da53259dfa91efd91df4a854d94b136e3333a3b9395929181900390910190a15b61451e816127bf8585613d2e565b60095460065491945061453f916001600160a01b039081169116600061470f565b60095460065461455c916001600160a01b0391821691168561470f565b600954604080516397ffe1d760e01b81526004810186905290516001600160a01b03909216916397ffe1d79160248082019260009290919082900301818387803b1580156145a957600080fd5b505af11580156145bd573d6000803e3d6000fd5b5050604080514281526020810187905281517fa72fa2f263b243b0f0e1fec5f3d49d33de573d15929b6b730c6b8ab3838c1c4d9450908190039091019150a1505050565b600060085b600f8160ff168154811061461657fe5b9060005260206000200154831061464b5760108160ff168154811061463757fe5b600091825260209091200154601155614654565b60001901614606565b5050601154919050565b60606146b3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166148229092919063ffffffff16565b805190915015611b57578080602001905160208110156146d257600080fd5b5051611b575760405162461bcd60e51b815260040180806020018281038252602a815260200180614ce6602a913960400191505060405180910390fd5b801580614795575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561476757600080fd5b505afa15801561477b573d6000803e3d6000fd5b505050506040513d602081101561479157600080fd5b5051155b6147d05760405162461bcd60e51b8152600401808060200182810382526036815260200180614d366036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611b5790849061465e565b60606148318484600085614839565b949350505050565b60608247101561487a5760405162461bcd60e51b8152600401808060200182810382526026815260200180614b776026913960400191505060405180910390fd5b61488385614995565b6148d4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106149135780518252601f1990920191602091820191016148f4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614975576040519150601f19603f3d011682016040523d82523d6000602084013e61497a565b606091505b509150915061498a82828661499b565b979650505050505050565b3b151590565b606083156149aa575081613cc0565b8251156149ba5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614a045781810151838201526020016149ec565b50505050905090810190601f168015614a315780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215614a8a579160200282015b82811115614a8a57825182906bffffffffffffffffffffffff16905591602001919060010190614a5f565b50610d50929150614ad6565b828054828255906000526020600020908101928215614a8a579160200282015b82811115614a8a578251829060ff16905591602001919060010190614ab6565b5b80821115610d505760008155600101614ad756fe54726561737572793a206661696c656420746f20636f6e73756c74204341504954414c2070726963652066726f6d20746865206f7261636c6554726561737572793a2063616e6e6f742072656465656d20626f6e64732077697468207a65726f20616d6f756e745f7072656d69756d5468726573686f6c6420697320686967686572207468616e20312e35416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c54726561737572793a206361706974616c5072696365206e6f7420656c696769626c6520666f7220626f6e6420707572636861736554726561737572793a20747265617375727920686173206e6f206d6f726520627564676574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754726561737572793a2063616e6e6f7420707572636861736520626f6e64732077697468207a65726f20616d6f756e745f6d696e74696e67466163746f72466f72506179696e67446562743a206f7574206f662072616e67655f6d6178537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765496e6465782068617320746f206265206c6f776572207468616e20636f756e74206f6620746965727354726561737572793a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756e6374696f6e5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636554726561737572793a206e6f7420656e6f75676820626f6e64206c65667420746f2070757263686173655f7072656d69756d5468726573686f6c642065786365656473206361706974616c50726963654365696c696e675f626f6f747374726170537570706c79457870616e73696f6e50657263656e743a206f7574206f662072616e6765a2646970667358221220c0cbd906c74e56f5efddf7ea8772e966a9db221392d04d04f59206249c627ba264736f6c634300060c0033

Deployed ByteCode Sourcemap

33465:24943:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48366:326;;;;;;;;;;;;;;;;-1:-1:-1;48366:326:0;;:::i;:::-;;43732:117;;;;;;;;;;;;;;;;-1:-1:-1;43732:117:0;-1:-1:-1;;;;;43732:117:0;;:::i;44291:319::-;;;;;;;;;;;;;;;;-1:-1:-1;44291:319:0;;:::i;39794:753::-;;;:::i;:::-;;;;;;;;;;;;;;;;40555:809;;;:::i;35511:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;35511:23:0;;;;;;;;;;;;;;51467:1142;;;;;;;;;;;;;;;;-1:-1:-1;51467:1142:0;;;;;;;:::i;48151:207::-;;;;;;;;;;;;;;;;-1:-1:-1;48151:207:0;;:::i;33823:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;34602:47;;;:::i;35205:30::-;;;:::i;35146:29::-;;;:::i;41418:2092::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41418:2092:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34748:41::-;;;:::i;37556:89::-;;;:::i;35316:41::-;;;:::i;48700:201::-;;;;;;;;;;;;;;;;-1:-1:-1;48700:201:0;;:::i;34132:25::-;;;:::i;48909:330::-;;;;;;;;;;;;;;;;-1:-1:-1;48909:330:0;;:::i;34347:34::-;;;:::i;57241:434::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57241:434:0;;;;;;;;;;;;;;;;;:::i;50083:1376::-;;;;;;;;;;;;;;;;-1:-1:-1;50083:1376:0;;;;;;;:::i;33777:23::-;;;:::i;43986:297::-;;;;;;;;;;;;;;;;-1:-1:-1;43986:297:0;;:::i;46141:257::-;;;;;;;;;;;;;;;;-1:-1:-1;46141:257:0;;:::i;38462:94::-;;;:::i;34390:31::-;;;:::i;54834:2399::-;;;:::i;57683:128::-;;;;;;;;;;;;;;;;-1:-1:-1;57683:128:0;-1:-1:-1;;;;;57683:128:0;;:::i;34196:22::-;;;:::i;35038:40::-;;;:::i;38123:316::-;;;:::i;35571:23::-;;;:::i;35481:::-;;;:::i;46913:960::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46913:960:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;38564:767::-;;;:::i;39339:447::-;;;:::i;57819:198::-;;;;;;;;;;;;;;;;-1:-1:-1;57819:198:0;;;;;;;:::i;33877:24::-;;;:::i;34259:28::-;;;:::i;34555:40::-;;;:::i;34030:::-;;;;;;;;;;;;;;;;-1:-1:-1;34030:40:0;;:::i;35436:36::-;;;:::i;34916:46::-;;;:::i;45531:291::-;;;;;;;;;;;;;;;;-1:-1:-1;45531:291:0;;:::i;35407:22::-;;;:::i;33908:24::-;;;:::i;46406:499::-;;;;;;;;;;;;;;;;-1:-1:-1;46406:499:0;;;;;;;:::i;37804:311::-;;;:::i;34310:30::-;;;:::i;44618:492::-;;;;;;;;;;;;;;;;-1:-1:-1;44618:492:0;;;;;;;;;:::i;58171:234::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;58171:234:0;;;;;;;;;;;;;;;;;:::i;47881:129::-;;;;;;;;;;;;;;;;-1:-1:-1;47881:129:0;;:::i;34430:28::-;;;;;;;;;;;;;;;;-1:-1:-1;34430:28:0;;:::i;34225:27::-;;;:::i;34465:34::-;;;;;;;;;;;;;;;;-1:-1:-1;34465:34:0;;:::i;48018:125::-;;;;;;;;;;;;;;;;-1:-1:-1;48018:125:0;;:::i;49594:481::-;;;:::i;43518:101::-;;;;;;;;;;;;;;;;-1:-1:-1;43518:101:0;-1:-1:-1;;;;;43518:101:0;;:::i;33658:40::-;;;:::i;35085:30::-;;;:::i;58025:138::-;;;;;;;;;;;;;;;;-1:-1:-1;58025:138:0;;:::i;34164:23::-;;;:::i;37667:114::-;;;:::i;35604:36::-;;;:::i;35280:29::-;;;:::i;35242:31::-;;;:::i;35541:23::-;;;:::i;45830:303::-;;;;;;;;;;;;;;;;-1:-1:-1;45830:303:0;;:::i;34103:22::-;;;:::i;45118:405::-;;;;;;;;;;;;;;;;-1:-1:-1;45118:405:0;;;;;;;;;:::i;43627:97::-;;;;;;;;;;;;;;;;-1:-1:-1;43627:97:0;-1:-1:-1;;;;;43627:97:0;;:::i;34508:40::-;;;:::i;34705:34::-;;;:::i;43857:121::-;;;;;;;;;;;;;;;;-1:-1:-1;43857:121:0;-1:-1:-1;;;;;43857:121:0;;:::i;34656:42::-;;;:::i;34879:30::-;;;:::i;49247:173::-;;;;;;;;;;;;;;;;-1:-1:-1;49247:173:0;;:::i;33939:45::-;;;:::i;48366:326::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48484:19:::1;;48463:17;:40;;48455:98;;;;-1:-1:-1::0;;;48455:98:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48593:3;48572:17;:24;;48564:73;;;;-1:-1:-1::0;;;48564:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48648:16;:36:::0;48366:326::o;43732:117::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43813:12:::1;:28:::0;;-1:-1:-1;;;;;;43813:28:0::1;-1:-1:-1::0;;;;;43813:28:0;;;::::1;::::0;;;::::1;::::0;;43732:117::o;44291:319::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44437:2:::1;44407:26;:32;;:70;;;;;44473:4;44443:26;:34;;44407:70;44399:123;;;;-1:-1:-1::0;;;44399:123:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44548:25;:54:::0;44291:319::o;39794:753::-;39846:13;39872:21;39896:17;:15;:17::i;:::-;39872:41;;39945:15;;39928:13;:32;39924:616;;39981:15;;39977:552;;40062:15;;40054:23;;39977:552;;;40118:19;40140:44;40170:13;40140:25;40160:4;40140:15;;:19;;:25;;;;:::i;:::-;:29;;:44::i;:::-;40118:66;;40224:23;40250:64;40308:5;40250:53;40287:15;;40250:32;40266:15;;40250:11;:15;;:32;;;;:::i;:::-;:36;;:53::i;:64::-;40341:15;;40224:90;;-1:-1:-1;40341:36:0;;40224:90;40341:19;:36::i;:::-;40333:44;;40418:1;40400:15;;:19;:46;;;;;40431:15;;40423:5;:23;40400:46;40396:118;;;40479:15;;40471:23;;40396:118;39977:552;;;39794:753;;:::o;40555:809::-;40606:13;40632:21;40656:17;:15;:17::i;:::-;40632:41;;40704:19;;40688:13;:35;40684:673;;;40740:37;40780:46;40822:3;40780:37;40800:16;;40780:15;;:19;;:37;;;;:::i;:46::-;40740:86;;40862:29;40845:13;:46;40841:505;;40944:22;40969:65;41028:5;40969:54;41008:14;;40969:34;40987:15;;40969:13;:17;;:34;;;;:::i;:65::-;41061:15;;40944:90;;-1:-1:-1;41061:35:0;;40944:90;41061:19;:35::i;:::-;41053:43;;41136:1;41119:14;;:18;:44;;;;;41149:14;;41141:5;:22;41119:44;41115:115;;;41196:14;;41188:22;;41115:115;40841:505;;;;41315:15;;41307:23;;40841:505;40684:673;40555:809;;:::o;35511:23::-;;;-1:-1:-1;;;;;35511:23:0;;:::o;51467:1142::-;31070:28;:26;:28::i;:::-;31069:29;31061:80;;;;-1:-1:-1;;;31061:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31161:28;:26;:28::i;:::-;31160:29;31152:80;;;;-1:-1:-1;;;31152:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36603:9:::1;;36596:3;:16;;36588:54;;;::::0;;-1:-1:-1;;;36588:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36588:54:0;;;;;;;;;;;;;::::1;;37055:7:::2;::::0;37043:31:::2;::::0;;-1:-1:-1;;;37043:31:0;;;;37086:4:::2;::::0;-1:-1:-1;;;;;37055:7:0::2;::::0;37043:29:::2;::::0;:31:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37055:7;37043:31;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37043:31:0;-1:-1:-1;;;;;37043:48:0::2;;:120:::0;::::2;;;-1:-1:-1::0;37124:10:0::2;::::0;37112:34:::2;::::0;;-1:-1:-1;;;37112:34:0;;;;37158:4:::2;::::0;-1:-1:-1;;;;;37124:10:0::2;::::0;37112:32:::2;::::0;:34:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37124:10;37112:34;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37112:34:0;-1:-1:-1;;;;;37112:51:0::2;;37043:120;:190;;;;-1:-1:-1::0;37196:8:0::2;::::0;37184:32:::2;::::0;;-1:-1:-1;;;37184:32:0;;;;37228:4:::2;::::0;-1:-1:-1;;;;;37196:8:0::2;::::0;37184:30:::2;::::0;:32:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37196:8;37184:32;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37184:32:0;-1:-1:-1;;;;;37184:49:0::2;;37043:190;:256;;;;-1:-1:-1::0;37263:7:0::2;::::0;37254:28:::2;::::0;;-1:-1:-1;;;37254:28:0;;;;37294:4:::2;::::0;-1:-1:-1;;;;;37263:7:0::2;::::0;37254:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37263:7;37254:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37254:28:0;-1:-1:-1;;;;;37254:45:0::2;;37043:256;37021:336;;;::::0;;-1:-1:-1;;;37021:336:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;51614:1:::3;51600:11;:15;51592:74;;;;-1:-1:-1::0;;;51592:74:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51679:20;51702:17;:15;:17::i;:::-;51679:40;;51754:11;51738:12;:27;51730:69;;;::::0;;-1:-1:-1;;;51730:69:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;51847:19;;51832:12;:34;51810:154;;;;-1:-1:-1::0;;;51810:154:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51977:13;51993:20;:18;:20::i;:::-;51977:36;;52040:1;52032:5;:9;52024:49;;;::::0;;-1:-1:-1;;;52024:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;52086:22;52111:32;52138:4;52111:22;:11:::0;52127:5;52111:15:::3;:22::i;:32::-;52169:7;::::0;52162:40:::3;::::0;;-1:-1:-1;;;52162:40:0;;52196:4:::3;52162:40;::::0;::::3;::::0;;;52086:57;;-1:-1:-1;52086:57:0;;-1:-1:-1;;;;;52169:7:0;;::::3;::::0;52162:25:::3;::::0;:40;;;;;::::3;::::0;;;;;;;;;52169:7;52162:40;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;52162:40:0;:58:::3;;52154:108;;;;-1:-1:-1::0;;;52154:108:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52294:64;52315:42;52324:16;;52342:14;52315:8;:42::i;:::-;52294:16;::::0;;:20:::3;:64::i;:::-;52275:16;:83:::0;52383:10:::3;::::0;52371:57:::3;::::0;;-1:-1:-1;;;52371:57:0;;52404:10:::3;52371:57;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;52383:10:0;;::::3;::::0;52371:32:::3;::::0;:57;;;;;52383:10:::3;::::0;52371:57;;;;;;;;52383:10;;52371:57;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;52446:7:0::3;::::0;52439:56:::3;::::0;-1:-1:-1;;;;;;52446:7:0::3;::::0;-1:-1:-1;52468:10:0::3;52480:14:::0;52439:28:::3;:56::i;:::-;52508:21;:19;:21::i;:::-;52547:54;::::0;;;;;::::3;::::0;::::3;::::0;;;;;52561:10:::3;::::0;52547:54:::3;::::0;;;;;;::::3;-1:-1:-1::0;;31267:12:0;31259:7;:21;;;;;;;;;;;31281:9;31259:32;;;;;;;;:39;;31294:4;-1:-1:-1;;31259:39:0;;;;;;;;31331:10;31309:33;;;;;;:40;;;;;;;;;;-1:-1:-1;;;51467:1142:0:o;48151:207::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48266:5:::1;48246:16;:25;;48238:67;;;::::0;;-1:-1:-1;;;48238:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48316:15;:34:::0;48151:207::o;33823:31::-;;;-1:-1:-1;;;33823:31:0;;;;;:::o;34602:47::-;;;;:::o;35205:30::-;;;;:::o;35146:29::-;;;;:::o;41418:2092::-;37431:11;;-1:-1:-1;;;37431:11:0;;;;37430:12;37422:54;;;;;-1:-1:-1;;;37422:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41747:7:::1;:18:::0;;-1:-1:-1;;;;;;41747:18:0;;::::1;-1:-1:-1::0;;;;;41747:18:0;;::::1;::::0;;;::::1;::::0;;;41776:10:::1;:24:::0;;;::::1;::::0;;::::1;;::::0;;41811:8:::1;:20:::0;;;::::1;::::0;;::::1;;::::0;;41842:13:::1;:30:::0;;;::::1;::::0;;::::1;;::::0;;41883:7:::1;:18:::0;;;::::1;::::0;;::::1;;::::0;;41912:12:::1;:28:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;41951:22:0;;;42004:6:::1;41986:15;:24:::0;;;42043:33:::1;::::0;42072:3:::1;::::0;42043:24:::1;::::0;42063:3:::1;42043:19;:24::i;:33::-;42021:19;:55:::0;42137:23:::1;:42:::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;42137:42:0;;;;;;::::1;::::0;;-1:-1:-1;;;;;42137:42:0;;::::1;-1:-1:-1::0;;;;;;42137:42:0;;::::1;;::::0;;;42190:43;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;;::::0;;42244;;;;::::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;;::::1;;::::0;;;42342:153:::1;::::0;;::::1;::::0;::::1;::::0;;;;;42366:13:::1;42137:42;42342:153:::0;::::1;::::0;42381:14:::1;42342:153:::0;;;;42397:14:::1;42342:153:::0;;;;42413:14:::1;42342:153:::0;;;;42429:14:::1;42342:153:::0;;;;42445:15:::1;42342:153:::0;;;;42462:15:::1;42342:153:::0;;;;42479:15:::1;42137:42;42342:153:::0;;;::::1;::::0;:11:::1;::::0;:153:::1;;:::i;:::-;-1:-1:-1::0;42506:59:0::1;::::0;;::::1;::::0;::::1;::::0;;42527:3:::1;42506:59:::0;;42532:3:::1;42506:59;::::0;::::1;::::0;42537:3:::1;42506:59:::0;;;;;;;42542:2:::1;42506:59:::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;:17:::1;::::0;:59:::1;;:::i;:::-;-1:-1:-1::0;42606:3:0::1;42578:25;:31:::0;;;42684:5:::1;42656:25;:33:::0;42778:4:::1;42743:32;:39:::0;;;42873:3:::1;42843:27;:33:::0;42956:19:::1;:26:::0;43064:3:::1;43035:26;:32:::0;43147:3:::1;43128:16;:22:::0;43178:4:::1;43161:14;:21:::0;43215:2:::1;43197:15;:20:::0;43228:31:::1;:37:::0;-1:-1:-1;43353:7:0;43346:40:::1;::::0;;-1:-1:-1;;;43346:40:0;;43380:4:::1;43346:40;::::0;::::1;::::0;;;-1:-1:-1;;;;;43353:7:0;;::::1;::::0;43346:25:::1;::::0;:40;;;;;::::1;::::0;;;;;;;;;43353:7;43346:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43346:40:0;43327:16:::1;:59:::0;43413:4:::1;43399:18:::0;;-1:-1:-1;;;;;;;;;;43399:18:0;;::::1;-1:-1:-1::0;;;43399:18:0::1;43428:21;43439:10;43428:21:::0;;::::1;::::0;;;43465:37:::1;::::0;;43489:12:::1;43465:37:::0;;;;::::1;::::0;;;;43346:40:::1;43465:37:::0;;::::1;41418:2092:::0;;;;;;;;;:::o;34748:41::-;;;;:::o;37556:89::-;37626:11;;-1:-1:-1;;;37626:11:0;;;;37556:89;;:::o;35316:41::-;;;;:::o;48700:201::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48812:5:::1;48793:15;:24;;48785:65;;;::::0;;-1:-1:-1;;;48785:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;48861:14;:32:::0;48700:201::o;34132:25::-;;;-1:-1:-1;;;;;34132:25:0;;:::o;48909:330::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49057:5:::1;49026:27;:36;;:76;;;;;49097:5;49066:27;:36;;49026:76;49018:130;;;;-1:-1:-1::0;;;49018:130:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49175:26;:56:::0;48909:330::o;34347:34::-;;;;:::o;57241:434::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57472:7:::1;::::0;-1:-1:-1;;;;;57445:35:0;;::::1;57472:7:::0;::::1;57445:35;;57437:55;;;::::0;;-1:-1:-1;;;57437:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;57437:55:0;;;;;;;;;;;;;::::1;;57538:10;::::0;-1:-1:-1;;;;;57511:38:0;;::::1;57538:10:::0;::::1;57511:38;;57503:55;;;::::0;;-1:-1:-1;;;57503:55:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;57503:55:0;;;;;;;;;;;;;::::1;;57604:8;::::0;-1:-1:-1;;;;;57577:36:0;;::::1;57604:8:::0;::::1;57577:36;;57569:54;;;::::0;;-1:-1:-1;;;57569:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;57569:54:0;;;;;;;;;;;;;::::1;;57634:33;-1:-1:-1::0;;;;;57634:19:0;::::1;57654:3:::0;57659:7;57634:19:::1;:33::i;:::-;57241:434:::0;;;:::o;50083:1376::-;31070:28;:26;:28::i;:::-;31069:29;31061:80;;;;-1:-1:-1;;;31061:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31161:28;:26;:28::i;:::-;31160:29;31152:80;;;;-1:-1:-1;;;31152:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36603:9:::1;;36596:3;:16;;36588:54;;;::::0;;-1:-1:-1;;;36588:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36588:54:0;;;;;;;;;;;;;::::1;;37055:7:::2;::::0;37043:31:::2;::::0;;-1:-1:-1;;;37043:31:0;;;;37086:4:::2;::::0;-1:-1:-1;;;;;37055:7:0::2;::::0;37043:29:::2;::::0;:31:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37055:7;37043:31;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37043:31:0;-1:-1:-1;;;;;37043:48:0::2;;:120:::0;::::2;;;-1:-1:-1::0;37124:10:0::2;::::0;37112:34:::2;::::0;;-1:-1:-1;;;37112:34:0;;;;37158:4:::2;::::0;-1:-1:-1;;;;;37124:10:0::2;::::0;37112:32:::2;::::0;:34:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37124:10;37112:34;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37112:34:0;-1:-1:-1;;;;;37112:51:0::2;;37043:120;:190;;;;-1:-1:-1::0;37196:8:0::2;::::0;37184:32:::2;::::0;;-1:-1:-1;;;37184:32:0;;;;37228:4:::2;::::0;-1:-1:-1;;;;;37196:8:0::2;::::0;37184:30:::2;::::0;:32:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37196:8;37184:32;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37184:32:0;-1:-1:-1;;;;;37184:49:0::2;;37043:190;:256;;;;-1:-1:-1::0;37263:7:0::2;::::0;37254:28:::2;::::0;;-1:-1:-1;;;37254:28:0;;;;37294:4:::2;::::0;-1:-1:-1;;;;;37263:7:0::2;::::0;37254:26:::2;::::0;:28:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;37263:7;37254:28;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;37254:28:0;-1:-1:-1;;;;;37254:45:0::2;;37043:256;37021:336;;;::::0;;-1:-1:-1;;;37021:336:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;50233:1:::3;50216:14;:18;50208:79;;;;-1:-1:-1::0;;;50208:79:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50300:20;50323:17;:15;:17::i;:::-;50300:40;;50375:11;50359:12;:27;50351:69;;;::::0;;-1:-1:-1;;;50351:69:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;50468:15;;50453:12;:30;50431:147;;;;-1:-1:-1::0;;;50431:147:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50617:26;;50599:14;:44;;50591:99;;;;-1:-1:-1::0;;;50591:99:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50703:13;50719:21;:19;:21::i;:::-;50703:37;;50767:1;50759:5;:9;50751:49;;;::::0;;-1:-1:-1;;;50751:49:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;50813:19;50835:35;50865:4;50835:25;:14:::0;50854:5;50835:18:::3;:25::i;:35::-;50813:57;;50881:21;50905:29;:27;:29::i;:::-;50881:53;;50945:21;50969:49;51006:11;50976:10;;;;;;;;;-1:-1:-1::0;;;;;50976:10:0::3;-1:-1:-1::0;;;;;50969:30:0::3;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;50969:32:0;;:36:::3;:49::i;:::-;50945:73;;51054:49;51097:5;51054:38;51072:19;;51054:13;:17;;:38;;;;:::i;:49::-;51037:13;:66;;51029:98;;;::::0;;-1:-1:-1;;;51029:98:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;51029:98:0;;;;;;;;;;;;;::::3;;51152:7;::::0;51140:57:::3;::::0;;-1:-1:-1;;;51140:57:0;;51170:10:::3;51140:57;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;51152:7:0;;::::3;::::0;51140:29:::3;::::0;:57;;;;;51152:7:::3;::::0;51140:57;;;;;;;;51152:7;;51140:57;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;51220:10:0::3;::::0;51208:53:::3;::::0;;-1:-1:-1;;;51208:53:0;;51237:10:::3;51208:53;::::0;::::3;::::0;;;;;;;;;-1:-1:-1;;;;;51220:10:0;;::::3;::::0;-1:-1:-1;51208:28:0::3;::::0;-1:-1:-1;51208:53:0;;;;;::::3;::::0;;;;;;;;;51220:10:::3;::::0;51208:53;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;;51303:26:0::3;::::0;:46:::3;::::0;51334:14;51303:30:::3;:46::i;:::-;51274:26;:75:::0;51360:21:::3;:19;:21::i;:::-;51399:52;::::0;;;;;::::3;::::0;::::3;::::0;;;;;51411:10:::3;::::0;51399:52:::3;::::0;;;;;;::::3;-1:-1:-1::0;;31267:12:0;31259:7;:21;;;;;;;;;;;31281:9;31259:32;;;;;;;;:39;;31294:4;-1:-1:-1;;31259:39:0;;;;;;;;31331:10;31309:33;;;;;;:40;;;;;;;;;;-1:-1:-1;;;;;50083:1376:0:o;33777:23::-;;;-1:-1:-1;;;;;33777:23:0;;:::o;43986:297::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44113:15:::1;;44089:20;:39;;:100;;;;;44156:33;44185:3;44156:24;44176:3;44156:15;;:19;;:24;;;;:::i;:33::-;44132:20;:57;;44089:100;44081:125;;;::::0;;-1:-1:-1;;;44081:125:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44081:125:0;;;;;;;;;;;;;::::1;;44233:19;:42:::0;43986:297::o;46141:257::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46268:4:::1;46244:20;:28;;:61;;;;;46300:5;46276:20;:29;;46244:61;46236:86;;;::::0;;-1:-1:-1;;;46236:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46236:86:0;;;;;;;;;;;;;::::1;;46348:19;:42:::0;46141:257::o;38462:94::-;38532:16;;38462:94;:::o;34390:31::-;;;;:::o;54834:2399::-;31070:28;:26;:28::i;:::-;31069:29;31061:80;;;;-1:-1:-1;;;31061:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31161:28;:26;:28::i;:::-;31160:29;31152:80;;;;-1:-1:-1;;;31152:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36603:9:::1;;36596:3;:16;;36588:54;;;::::0;;-1:-1:-1;;;36588:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36588:54:0;;;;;;;;;;;;;::::1;;36718:16:::2;:14;:16::i;:::-;36711:3;:23;;36703:60;;;::::0;;-1:-1:-1;;;36703:60:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;37055:7:::3;::::0;37043:31:::3;::::0;;-1:-1:-1;;;37043:31:0;;;;37086:4:::3;::::0;-1:-1:-1;;;;;37055:7:0::3;::::0;37043:29:::3;::::0;:31:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37055:7;37043:31;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37043:31:0;-1:-1:-1;;;;;37043:48:0::3;;:120:::0;::::3;;;-1:-1:-1::0;37124:10:0::3;::::0;37112:34:::3;::::0;;-1:-1:-1;;;37112:34:0;;;;37158:4:::3;::::0;-1:-1:-1;;;;;37124:10:0::3;::::0;37112:32:::3;::::0;:34:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37124:10;37112:34;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37112:34:0;-1:-1:-1;;;;;37112:51:0::3;;37043:120;:190;;;;-1:-1:-1::0;37196:8:0::3;::::0;37184:32:::3;::::0;;-1:-1:-1;;;37184:32:0;;;;37228:4:::3;::::0;-1:-1:-1;;;;;37196:8:0::3;::::0;37184:30:::3;::::0;:32:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37196:8;37184:32;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37184:32:0;-1:-1:-1;;;;;37184:49:0::3;;37043:190;:256;;;;-1:-1:-1::0;37263:7:0::3;::::0;37254:28:::3;::::0;;-1:-1:-1;;;37254:28:0;;;;37294:4:::3;::::0;-1:-1:-1;;;;;37263:7:0::3;::::0;37254:26:::3;::::0;:28:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;37263:7;37254:28;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;37254:28:0;-1:-1:-1;;;;;37254:45:0::3;;37043:256;37021:336;;;::::0;;-1:-1:-1;;;37021:336:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;54938:21:::4;:19;:21::i;:::-;54998:17;:15;:17::i;:::-;54970:25;:45:::0;55084:16:::4;::::0;55026:21:::4;::::0;55050:51:::4;::::0;:29:::4;:27;:29::i;:::-;:33:::0;::::4;:51::i;:::-;55026:75;;55112:77;55132:56;55182:5;55132:45;55150:26;;55132:13;:17;;:45;;;;:::i;:56::-;55112:19;:77::i;:::-;55212:15;;55204:5;;:23;55200:2026;;;55296:77;55311:61;55366:5;55311:50;55329:31;;55311:13;:17;;:50;;;;:::i;:61::-;55296:14;:77::i;:::-;55200:2026;;;55438:19;;55410:25;;:47;55406:1809;;;55605:10;::::0;55598:32:::4;::::0;;-1:-1:-1;;;55598:32:0;;;;55577:18:::4;::::0;-1:-1:-1;;;;;55605:10:0::4;::::0;55598:30:::4;::::0;:32:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;55605:10;55598:32;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;55598:32:0;55701:15:::4;::::0;55671:25:::4;::::0;55598:32;;-1:-1:-1;55649:19:0::4;::::0;55671:46:::4;::::0;:29:::4;:46::i;:::-;55649:68;;55736:21;55776:24:::0;55819:12:::4;55834:60;55889:4;55834:50;55870:13;55834:35;:50::i;:60::-;55819:75;;55931:4;55917:11;:18;55913:85;;;55974:4;55960:18;;55913:85;56040:52;56086:5;56040:41;56055:25;;56040:10;:14;;:41;;;;:::i;:52::-;56020:16;;:72;56016:787;;56205:40;56240:4;56205:30;:13:::0;56223:11;56205:17:::4;:30::i;:40::-;56186:59;;56016:787;;;56363:20;56386:40;56421:4;56386:30;:13:::0;56404:11;56386:17:::4;:30::i;:40::-;56363:63;;56468:61;56523:5;56468:50;56485:32;;56468:12;:16;;:50;;;;:::i;:61::-;56449:80:::0;-1:-1:-1;56568:34:0::4;:12:::0;56449:80;56568:16:::4;:34::i;:::-;56629:26;::::0;56552:50;;-1:-1:-1;56629:30:0;56625:159:::4;;56704:56;56754:5;56704:45;56722:26;;56704:13;:17;;:45;;;;:::i;:56::-;56688:72;;56625:159;56016:787;;56825:20:::0;;56821:101:::4;;56870:32;56885:16;56870:14;:32::i;:::-;56944:17:::0;;56940:260:::4;;57005:16;::::0;:35:::4;::::0;57026:13;57005:20:::4;:35::i;:::-;56986:16;:54:::0;57075:7:::4;::::0;57063:55:::4;::::0;;-1:-1:-1;;;57063:55:0;;57097:4:::4;57063:55;::::0;::::4;::::0;;;;;;;;;-1:-1:-1;;;;;57075:7:0;;::::4;::::0;57063:25:::4;::::0;:55;;;;;::::4;::::0;;;;;;;;;57075:7:::4;::::0;57063:55;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;::::0;::::4;;-1:-1:-1::0;;57146:34:0::4;::::0;;57161:3:::4;57146:34:::0;;57063:55:::4;57146:34:::0;::::4;::::0;;;;;::::4;::::0;;;;;;;;;::::4;56940:260;55406:1809;;;;;;-1:-1:-1::0;36798:5:0::2;::::0;:12:::2;::::0;36808:1:::2;36798:9;:12::i;:::-;36790:5;:20:::0;36871:19:::2;::::0;36851:17:::2;:15;:17::i;:::-;:39;36850:121;;36898:73;36965:5;36898:62;36932:27;;36898:29;:27;:29::i;:73::-;36850:121;;;36894:1;36850:121;36821:26;:150:::0;31267:12;31259:7;:21;;;;;;;;;;;31281:9;31259:32;;;;;;;;:39;;31294:4;-1:-1:-1;;31259:39:0;;;;;;;;31331:10;31309:33;;;;;;:40;;;;;;;;;;54834:2399::o;57683:128::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57772:7:::1;::::0;57763:40:::1;::::0;;-1:-1:-1;;;57763:40:0;;-1:-1:-1;;;;;57763:40:0;;::::1;;::::0;::::1;::::0;;;57772:7;;;::::1;::::0;57763:29:::1;::::0;:40;;;;;57772:7:::1;::::0;57763:40;;;;;;;57772:7;;57763:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57683:128:::0;:::o;34196:22::-;;;-1:-1:-1;;;;;34196:22:0;;:::o;35038:40::-;;;;:::o;38123:316::-;38224:13;;38244:7;;38216:42;;;-1:-1:-1;;;38216:42:0;;-1:-1:-1;;;;;38244:7:0;;;38216:42;;;;38253:4;38216:42;;;;;;38178:21;;38224:13;;;;;38216:27;;:42;;;;;;;;;;;;;;;38224:13;38216:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38216:42:0;;;38212:220;;38353:67;;-1:-1:-1;;;38353:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38212:220;38305:14;;;-1:-1:-1;38298:21:0;;35571:23;;;-1:-1:-1;;;;;35571:23:0;;:::o;35481:::-;;;-1:-1:-1;;;;;35481:23:0;;:::o;46913:960::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47205:22:0;::::1;47197:39;;;::::0;;-1:-1:-1;;;47197:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47197:39:0;;;;;;;;;;;;;::::1;;47283:4;47257:22;:30;;47249:55;;;::::0;;-1:-1:-1;;;47249:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;47249:55:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47333:23:0;::::1;47325:40;;;::::0;;-1:-1:-1;;;47325:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47325:40:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47384:23:0;::::1;47376:40;;;::::0;;-1:-1:-1;;;47376:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47376:40:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47435:23:0;::::1;47427:40;;;::::0;;-1:-1:-1;;;47427:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47427:40:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;47486:23:0;::::1;47478:40;;;::::0;;-1:-1:-1;;;47478:40:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;47478:40:0;;;;;;;;;;;;;::::1;;47565:4;47539:22;:30;;47531:55;;;::::0;;-1:-1:-1;;;47531:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;47531:55:0;;;;;;;;;;;;;::::1;;47607:7;:18:::0;;-1:-1:-1;;;;;;47607:18:0;;::::1;-1:-1:-1::0;;;;;47607:18:0;;::::1;;::::0;;;47636:21:::1;:46:::0;;;;47693:8:::1;:20:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;47724:8:::1;:20:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;47755:8:::1;:20:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;47786:8:::1;:20:::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;47819:21:::1;:46:::0;46913:960::o;38564:767::-;38619:28;38660:21;38684:17;:15;:17::i;:::-;38660:41;;38733:15;;38716:13;:32;38712:612;;38765:22;38790:29;:27;:29::i;:::-;38765:54;;38834:22;38859:50;38903:5;38859:39;38878:19;;38859:14;:18;;:39;;;;:::i;:50::-;38834:75;;38924:19;38953:10;;;;;;;;;-1:-1:-1;;;;;38953:10:0;-1:-1:-1;;;;;38946:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38946:32:0;;-1:-1:-1;38997:28:0;;;38993:320;;;39046:24;39073:31;:14;39092:11;39073:18;:31::i;:::-;39046:58;-1:-1:-1;39123:27:0;39153:45;39193:4;39153:35;39046:58;39174:13;39153:20;:35::i;:45::-;39123:75;;39240:57;39249:26;;39277:19;39240:8;:57::i;:::-;39217:80;;38993:320;;;38712:612;;;38564:767;;:::o;39339:447::-;39390:24;39427:21;39451:17;:15;:17::i;:::-;39427:41;;39499:19;;39483:13;:35;39479:300;;;39566:7;;39559:40;;;-1:-1:-1;;;39559:40:0;;39593:4;39559:40;;;;;;39535:21;;-1:-1:-1;;;;;39566:7:0;;39559:25;;:40;;;;;;;;;;;;;;39566:7;39559:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39559:40:0;;-1:-1:-1;39614:13:0;39630:20;:18;:20::i;:::-;39614:36;-1:-1:-1;39669:9:0;;39665:103;;39718:34;39746:5;39718:23;:13;39736:4;39718:17;:23::i;:34::-;39699:53;;39479:300;;39339:447;;:::o;57819:198::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57947:7:::1;::::0;57938:71:::1;::::0;;-1:-1:-1;;;57938:71:0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;57947:7:0;;::::1;::::0;57938:27:::1;::::0;:71;;;;;57947:7:::1;::::0;57938:71;;;;;;;;57947:7;;57938:71;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57819:198:::0;;:::o;33877:24::-;;;;:::o;34259:28::-;;;-1:-1:-1;;;;;34259:28:0;;:::o;34555:40::-;;;;:::o;34030:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34030:40:0;;-1:-1:-1;34030:40:0;:::o;35436:36::-;;;;:::o;34916:46::-;;;;:::o;45531:291::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45676:3:::1;45646:26;:33;;:72;;;;;45713:5;45683:26;:35;;45646:72;45638:97;;;::::0;;-1:-1:-1;;;45638:97:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45638:97:0;;;;;;;;;;;;;::::1;;45760:25;:54:::0;45531:291::o;35407:22::-;;;-1:-1:-1;;;;;35407:22:0;;:::o;33908:24::-;;;;:::o;46406:499::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46557:3:::1;46537:16;:23;;46529:66;;;::::0;;-1:-1:-1;;;46529:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;46664:3;46628:32;:39;;:83;;;;;46707:4;46671:32;:40;;46628:83;46620:142;;;;-1:-1:-1::0;;;46620:142:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46786:15;:34:::0;;;;46831:31:::1;:66:::0;46406:499::o;37804:311::-;37897:13;;37920:7;;37889:45;;;-1:-1:-1;;;37889:45:0;;-1:-1:-1;;;;;37920:7:0;;;37889:45;;;;37929:4;37889:45;;;;;;37852:20;;37897:13;;;;;37889:30;;:45;;;;;;;;;;;;;;;37897:13;37889:45;;;;;;;;;;34310:30;;;;:::o;44618:492::-;36462:8;;44708:4;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44806:1:::1;44797:6;:10;;;44789:64;;;;-1:-1:-1::0;;;44789:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44868:10;::::0;::::1;::::0;44864:84:::1;;44912:11;44933:1;44924:6;:10;44912:23;;;;;;;;;;;;;;;;;;44903:6;:32;44895:41;;;::::0;::::1;;44971:1;44962:6;:10;;;44958:84;;;45006:11;45018:6;45027:1;45018:10;45006:23;;;;;;;;;;;;;;;;;;44997:6;:32;44989:41;;;::::0;::::1;;45074:6;45052:11;45064:6;45052:19;;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;:28:::0;-1:-1:-1;45098:4:0::1;36536:1;44618:492:::0;;;;:::o;58171:234::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58338:7:::1;::::0;58329:68:::1;::::0;;-1:-1:-1;;;58329:68:0;;-1:-1:-1;;;;;58329:68:0;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;58338:7;;;::::1;::::0;58329:46:::1;::::0;:68;;;;;58338:7:::1;::::0;58329:68;;;;;;;58338:7;;58329:68;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58171:234:::0;;;:::o;47881:129::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47968:15:::1;:34:::0;47881:129::o;34430:28::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34430:28:0;:::o;34225:27::-;;;-1:-1:-1;;;;;34225:27:0;;:::o;34465:34::-;;;;;;;;;;48018:125;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48103:14:::1;:32:::0;48018:125::o;49594:481::-;49703:7;;49744:26;;;-1:-1:-1;;;49744:26:0;;;;49654:7;;-1:-1:-1;;;;;49703:7:0;;49654;;49703;;49744:24;;:26;;;;;;;;;;;;;;49703:7;49744:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49744:26:0;;-1:-1:-1;49781:23:0;;49819:199;49853:23;:30;49843:40;;;;49819:199;;;49929:77;49949:12;-1:-1:-1;;;;;49949:22:0;;49972:23;49996:7;49972:32;;;;;;;;;;;;;;;;;;;;;49949:56;;;-1:-1:-1;;;;;;49949:56:0;;;;;;;-1:-1:-1;;;;;49972:32:0;;;49949:56;;;;;;;;;;49972:32;49949:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49949:56:0;49929:15;;:19;:77::i;:::-;49911:95;-1:-1:-1;49885:9:0;;49819:199;;;-1:-1:-1;50035:32:0;:11;50051:15;50035;:32::i;43518:101::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43591:8:::1;:20:::0;;-1:-1:-1;;;;;;43591:20:0::1;-1:-1:-1::0;;;;;43591:20:0;;;::::1;::::0;;;::::1;::::0;;43518:101::o;33658:40::-;33691:7;33658:40;:::o;35085:30::-;;;;:::o;58025:138::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58119:7:::1;::::0;58110:45:::1;::::0;;-1:-1:-1;;;58110:45:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;58119:7:0;;::::1;::::0;58110:37:::1;::::0;:45;;;;;58119:7:::1;::::0;58110:45;;;;;;;;58119:7;;58110:45;::::1;;::::0;::::1;;;;::::0;::::1;34164:23:::0;;;-1:-1:-1;;;;;34164:23:0;;:::o;37667:114::-;37714:7;37741:32;37755:17;33691:7;37755:5;;:9;;:17;;;;:::i;:::-;37741:9;;;:13;:32::i;:::-;37734:39;;37667:114;:::o;35604:36::-;;;;:::o;35280:29::-;;;;:::o;35242:31::-;;;;:::o;35541:23::-;;;-1:-1:-1;;;;;35541:23:0;;:::o;45830:303::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45981:3:::1;45949:28;:35;;:75;;;;;46020:4;45988:28;:36;;45949:75;45941:100;;;::::0;;-1:-1:-1;;;45941:100:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45941:100:0;;;;;;;;;;;;;::::1;;46067:27;:58:::0;45830:303::o;34103:22::-;;;-1:-1:-1;;;;;34103:22:0;;:::o;45118:405::-;36462:8;;45214:4;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45312:1:::1;45303:6;:10;;;45295:64;;;;-1:-1:-1::0;;;45295:64:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45388:2;45378:6;:12;;:30;;;;;45404:4;45394:6;:14;;45378:30;45370:63;;;::::0;;-1:-1:-1;;;45370:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45370:63:0;;;;;;;;;;;;;::::1;;45487:6;45459:17;45477:6;45459:25;;;;;;;;;43627:97:::0;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43698:7:::1;:18:::0;;-1:-1:-1;;;;;;43698:18:0::1;-1:-1:-1::0;;;;;43698:18:0;;;::::1;::::0;;;::::1;::::0;;43627:97::o;34508:40::-;;;;:::o;34705:34::-;;;;:::o;43857:121::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43940:13:::1;:30:::0;;-1:-1:-1;;;;;;43940:30:0::1;-1:-1:-1::0;;;;;43940:30:0;;;::::1;::::0;;;::::1;::::0;;43857:121::o;34656:42::-;;;;:::o;34879:30::-;;;;:::o;49247:173::-;36462:8;;-1:-1:-1;;;;;36462:8:0;36474:10;36462:22;36454:71;;;;-1:-1:-1;;;36454:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49356:26:::1;:56:::0;49247:173::o;33939:45::-;;;;:::o;7422:220::-;7480:7;7504:6;7500:20;;-1:-1:-1;7519:1:0;7512:8;;7500:20;7543:5;;;7547:1;7543;:5;:1;7567:5;;;;;:10;7559:56;;;;-1:-1:-1;;;7559:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7633:1;7422:220;-1:-1:-1;;;7422:220:0:o;8120:153::-;8178:7;8210:1;8206;:5;8198:44;;;;;-1:-1:-1;;;8198:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8264:1;8260;:5;;;;;;;8120:153;-1:-1:-1;;;8120:153:0:o;7005:158::-;7063:7;7096:1;7091;:6;;7083:49;;;;;-1:-1:-1;;;7083:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7150:5:0;;;7005:158::o;6543:179::-;6601:7;6633:5;;;6657:6;;;;6649:46;;;;;-1:-1:-1;;;6649:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;30759:125;30852:12;30820:4;30844:21;;;;;;;;;;;30866:9;30844:32;;;;;;;;;;30759:125;:::o;30892:126::-;30985:12;30953:4;30977:21;;;;;;;;;;;30999:10;30977:33;;;;;;;;;;30892:126;:::o;494:106::-;552:7;583:1;579;:5;:13;;591:1;579:13;;;-1:-1:-1;587:1:0;;572:20;-1:-1:-1;494:106:0:o;19923:177::-;20033:58;;;-1:-1:-1;;;;;20033:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20033:58:0;-1:-1:-1;;;20033:58:0;;;20006:86;;20026:5;;20006:19;:86::i;49481:105::-;49544:13;;;;;;;;;-1:-1:-1;;;;;49544:13:0;-1:-1:-1;;;;;49536:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49532:47;49481:105::o;53910:524::-;54009:7;;54028:12;;54002:39;;;-1:-1:-1;;;54002:39:0;;-1:-1:-1;;;;;54028:12:0;;;54002:39;;;;;;53976:23;;54009:7;;;;;54002:25;;:39;;;;;;;;;;;;;;;54009:7;54002:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54002:39:0;54091:12;;54077:41;;;-1:-1:-1;;;54077:41:0;;;;54002:39;;-1:-1:-1;54052:22:0;;-1:-1:-1;;;;;54091:12:0;;;;54077:39;;:41;;;;;54002:39;;54077:41;;;;;;;;54091:12;54077:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54077:41:0;;-1:-1:-1;54133:33:0;;;54129:46;;54168:7;;;;54129:46;54185:15;54203:35;:15;54223:14;54203:19;:35::i;:::-;54185:53;;54263:7;54253;:17;54249:178;;;54299:7;;54313:12;;-1:-1:-1;;;;;54299:7:0;;;;54287:25;;54313:12;54327:20;:7;54339;54327:11;:20::i;:::-;54287:61;;;;;;;;;;;;;-1:-1:-1;;;;;54287:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54368:47:0;;-1:-1:-1;54389:3:0;54394:20;:7;54406;54394:11;:20::i;:::-;54368:47;;;;;;;;;;;;;;;;;;;;;;54249:178;53910:524;;;;:::o;52617:1285::-;52690:7;;52678:49;;;-1:-1:-1;;;52678:49:0;;52712:4;52678:49;;;;;;;;;;;;-1:-1:-1;;;;;52690:7:0;;;;52678:25;;:49;;;;;;;;;;;;;;;52690:7;;52678:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52788:21:0;;52740:29;;52788:25;52784:259;;52854:45;52893:5;52854:34;52866:21;;52854:7;:11;;:34;;;;:::i;:45::-;52921:7;;52939;;;52914:56;;;-1:-1:-1;;;52914:56:0;;-1:-1:-1;;;;;52939:7:0;;;52914:56;;;;;;;;;;;;52830:69;;-1:-1:-1;52921:7:0;;;52914:24;;:56;;;;;52939:7;52914:56;;;;;;52921:7;;52914:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52990:41:0;;;53004:3;52990:41;;52914:56;52990:41;;;;;;;;;;;;;;;;;;52784:259;53103:21;;53055:29;;53103:25;53099:504;;53169:45;53208:5;53169:34;53181:21;;53169:7;:11;;:34;;;;:::i;:45::-;53236:7;;53254:8;;53145:69;;-1:-1:-1;;;;;;53236:7:0;;;;53229:24;;53254:8;53264:28;53145:69;53290:1;53264:25;:28::i;:::-;53229:64;;;;;;;;;;;;;-1:-1:-1;;;;;53229:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53315:7:0;;53333:8;;-1:-1:-1;;;;;53315:7:0;;;;53308:24;;53333:8;53343:28;:21;53369:1;53343:25;:28::i;:::-;53308:64;;;;;;;;;;;;;-1:-1:-1;;;;;53308:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53394:7:0;;53412:8;;-1:-1:-1;;;;;53394:7:0;;;;53387:24;;53412:8;53422:28;:21;53448:1;53422:25;:28::i;:::-;53387:64;;;;;;;;;;;;;-1:-1:-1;;;;;53387:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53473:7:0;;53491:8;;-1:-1:-1;;;;;53473:7:0;;;;53466:24;;53491:8;53501:28;:21;53527:1;53501:25;:28::i;:::-;53466:64;;;;;;;;;;;;;-1:-1:-1;;;;;53466:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53550:41:0;;;53564:3;53550:41;;53466:64;53550:41;;;;;;;;;;;;;;;;;;53099:504;53625:61;53664:21;53625:34;:7;53637:21;53625:11;:34::i;:61::-;53727:7;;53706;;53615:71;;-1:-1:-1;53699:39:0;;-1:-1:-1;;;;;53706:7:0;;;;53727;;53699:27;:39::i;:::-;53777:7;;53756;;53749:45;;-1:-1:-1;;;;;53756:7:0;;;;53777;53786;53749:27;:45::i;:::-;53814:7;;53805:46;;;-1:-1:-1;;;53805:46:0;;;;;;;;;;-1:-1:-1;;;;;53814:7:0;;;;53805:37;;:46;;;;;53814:7;;53805:46;;;;;;;;53814:7;;53805:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53867:27:0;;;53881:3;53867:27;;;;;;;;;;;;-1:-1:-1;53867:27:0;;;;;;;;-1:-1:-1;53867:27:0;52617:1285;;;:::o;54442:384::-;54529:7;54569:1;54549:227;54632:11;54644:6;54632:19;;;;;;;;;;;;;;;;;;54614:14;:37;54610:155;;54700:17;54718:6;54700:25;;;;;;;;;;;;;;;;;;;;54672;:53;54744:5;;54610:155;-1:-1:-1;;54585:8:0;54549:227;;;-1:-1:-1;;54793:25:0;;54442:384;;;:::o;22228:761::-;22652:23;22678:69;22706:4;22678:69;;;;;;;;;;;;;;;;;22686:5;-1:-1:-1;;;;;22678:27:0;;;:69;;;;;:::i;:::-;22762:17;;22652:95;;-1:-1:-1;22762:21:0;22758:224;;22904:10;22893:30;;;;;;;;;;;;;;;-1:-1:-1;22893:30:0;22885:85;;;;-1:-1:-1;;;22885:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20582:622;20952:10;;;20951:62;;-1:-1:-1;20968:39:0;;;-1:-1:-1;;;20968:39:0;;20992:4;20968:39;;;;-1:-1:-1;;;;;20968:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20968:39:0;:44;20951:62;20943:152;;;;-1:-1:-1;;;20943:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21133:62;;;-1:-1:-1;;;;;21133:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21133:62:0;-1:-1:-1;;;21133:62:0;;;21106:90;;21126:5;;21106:19;:90::i;14910:195::-;15013:12;15045:52;15067:6;15075:4;15081:1;15084:12;15045:21;:52::i;:::-;15038:59;14910:195;-1:-1:-1;;;;14910:195:0:o;15962:530::-;16089:12;16147:5;16122:21;:30;;16114:81;;;;-1:-1:-1;;;16114:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16214:18;16225:6;16214:10;:18::i;:::-;16206:60;;;;;-1:-1:-1;;;16206:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16340:12;16354:23;16381:6;-1:-1:-1;;;;;16381:11:0;16401:5;16409:4;16381:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16381:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16339:75;;;;16432:52;16450:7;16459:10;16471:12;16432:17;:52::i;:::-;16425:59;15962:530;-1:-1:-1;;;;;;;15962:530:0:o;11992:422::-;12359:20;12398:8;;;11992:422::o;18502:742::-;18617:12;18646:7;18642:595;;;-1:-1:-1;18677:10:0;18670:17;;18642:595;18791:17;;:21;18787:439;;19054:10;19048:17;19115:15;19102:10;19098:2;19094:19;19087:44;19002:148;19197:12;19190:20;;-1:-1:-1;;;19190:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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