Contract 0xc43b4b989a4452e793198fce6bd404b61f054f8b

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2414923732cfd49050f142b082db39f0dc890e327b4a8300cf5bd307ba5621beInitialize691717962023-03-12 15:25:55194 days 17 hrs ago0x9ee976cf6edb36653745d95f51768bebce5a2bb9 IN  0xc43b4b989a4452e793198fce6bd404b61f054f8b0 ETH0.00019971 0.1
0x13bec1f3f08ff93b08f47ff6133e5f5c589aadd40d642af3424ccc57384e010c0x60006006691659582023-03-12 14:57:53194 days 17 hrs ago0x9ee976cf6edb36653745d95f51768bebce5a2bb9 IN  Create: Treasury0 ETH0.00194173 0.1
[ Download CSV Export 
Latest 6 internal transactions
Parent Txn Hash Block From To Value
0x63fca1b469c5fbfe09d7c998e0ed6e18f562ad71b15fdcda20ea3e36850b12b0706663352023-03-17 7:06:07190 days 1 hr ago 0x549c9c53616ce77170965490354d1360032f0880 0xc43b4b989a4452e793198fce6bd404b61f054f8b0 ETH
0xb81ce517209138e8a30203ba8cb89290682e761c5cdb16f7b57187a94e0bdb3f706637312023-03-17 6:55:20190 days 1 hr ago 0x549c9c53616ce77170965490354d1360032f0880 0xc43b4b989a4452e793198fce6bd404b61f054f8b0 ETH
0x7a7e0637463cb6178c1cbd47f36accc71422a81266ff96f45e60ae0e6cb4426a704803442023-03-16 17:45:37190 days 15 hrs ago 0x549c9c53616ce77170965490354d1360032f0880 0xc43b4b989a4452e793198fce6bd404b61f054f8b0 ETH
0x2414923732cfd49050f142b082db39f0dc890e327b4a8300cf5bd307ba5621be691717962023-03-12 15:25:55194 days 17 hrs ago 0xc43b4b989a4452e793198fce6bd404b61f054f8b 0xfc0fd99a9a7557237d9a22127ac77a27e4c61df90 ETH
0x2414923732cfd49050f142b082db39f0dc890e327b4a8300cf5bd307ba5621be691717962023-03-12 15:25:55194 days 17 hrs ago 0xc43b4b989a4452e793198fce6bd404b61f054f8b 0xfc0fd99a9a7557237d9a22127ac77a27e4c61df90 ETH
0x2414923732cfd49050f142b082db39f0dc890e327b4a8300cf5bd307ba5621be691717962023-03-12 15:25:55194 days 17 hrs ago 0xc43b4b989a4452e793198fce6bd404b61f054f8b 0xfc0fd99a9a7557237d9a22127ac77a27e4c61df90 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Treasury

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2023-03-12
*/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

pragma solidity >=0.6.12;

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
    }
}

pragma solidity >=0.6.12;

contract Operator is Context, Ownable {
    address private _operator;

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

    constructor() {
        _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 onlyOperator {
        _transferOperator(newOperator_);
    }

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

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;
    }
}
pragma solidity >=0.6.12;

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;
}


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);

    function sync() external;
}


pragma solidity >=0.6.12;

interface IBoardroom {
    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 getMainTokenPrice() 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 totalSupply() external view returns (uint256);

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

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}


pragma solidity >=0.6.12;

interface IMainToken is IERC20 {
    function grantRebaseExclusion(address account) external;
    function getExcluded() external view returns (address[] memory);
    function rebase(uint256 epoch, uint256 supplyDelta, bool negative) external returns (uint256);
    function rebaseSupply() external view returns (uint256);
    function isDevFund(address _address) external view returns (bool);
    function isDaoFund(address _address) external view returns (bool);
    function getDevFund() external view returns (address);
    function getDaoFund() external view returns (address);
    function mint(address recipient, uint256 amount) external returns (bool);
}

// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
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) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            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) {
        unchecked {
            // 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) {
        unchecked {
            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) {
        unchecked {
            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) {
        return a + b;
    }

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

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
pragma solidity >=0.6.12;


contract Treasury is ContractGuard {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    /* ========= CONSTANT VARIABLES ======== */
    uint256 public constant PERIOD = 6 hours;

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

    // governance
    address public operator;
    // flags
    bool public initialized;
    // epoch
    uint256 public startTime;
    uint256 public epoch;
    uint256 public previousEpoch;
    uint256 public epochSupplyContractionLeft;
    uint256 public bootstrapEpochs = 0;
    uint256 public bootstrapSupplyExpansionPercent = 300;

    // exclusions from total supply
    address[] public excludedFromTotalSupply = [
        address(0xf1493C245D91e42d3e7D46Cb1F0359cEA10D7Bff) // TurtGenesisRewardPool
    ];

    address public turt;
    address public shell;
    address public boardroom;
    address public oracle;

    // price
    uint256 public turtPriceOne;
    uint256 public turtPriceCeiling;
    uint256 public turtPriceRebase;
    uint256 public consecutiveEpochHasPriceBelowOne;

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

    /*===== Rebase ====*/
    uint256 public numberOfEpochBelowOneCondition = 1;
    uint256 private constant DECIMALS = 18;
    uint256 private constant ONE = uint256(10 ** DECIMALS);
    uint256 private TWAP_FOR_MAX_EXPANSION = 12e17;
    uint256 private TWAP_DELTA_FOR_MAX_EXPANSION = 2e17;
    // Due to the expression in computeSupplyDelta(), MAX_RATE * MAX_SUPPLY must fit into an int256.
    // Both are 18 decimals fixed point numbers.
    uint256 private constant MAX_RATE = 10 ** 18 * 10 ** DECIMALS;
    // MAX_SUPPLY = MAX_INT256 / MAX_RATE
    uint256 private constant MAX_SUPPLY = uint256(type(int256).max) / MAX_RATE;

    bool public rebaseStarted;

    uint256 private constant midpointRounding = 10 ** (DECIMALS - 7);

    uint256 public previousEpochMainPrice;

    uint256 public constant minMainSupplyToExpansion = 10000 ether;

    uint256 public MIN_EXPANSION_RATE = 100; // 1%
    bool public useFixedTwap = false;

    /*===== End Rebase ====*/

    uint256 public constant daoFundSharedPercent = 20; // 20%
    address public daoFund;
    uint256 public constant devFundSharedPercent = 5; // 5%
    address public devFund;

    uint256 public pegRewardPoolPercent = 25; // 25%
    address public pegRewardPool;

    uint256 private constant minPercentExpansionTier = 10; // 0.1%
    uint256 private constant maxPercentExpansionTier = 1000; // 10%

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

    event Initialized(address indexed executor, uint256 at);
    event TreasuryFunded(uint256 timestamp, uint256 seigniorage);
    event BoardroomFunded(uint256 timestamp, uint256 seigniorage);
    event DaoFundFunded(uint256 timestamp, uint256 seigniorage);
    event DevFundFunded(uint256 timestamp, uint256 seigniorage);
    event RewardPoolFunded(uint256 timestamp, uint256 seigniorage);

    event LogRebase(
        uint256 indexed epoch,
        uint256 supplyDelta,
        uint256 newPrice,
        uint256 oldPrice,
        uint256 newTotalSupply,
        uint256 oldTotalSupply,
        uint256 timestampSec
    );
    event SetOperator(address indexed account, address newOperator);
    event SetBoardroom(address indexed account, address newBoardroom);
    event SetTurtPriceCeiling(uint256 newValue);
    event SetSupplyTiersEntry(uint8 _index, uint256 _value);
    event SetMaxExpansionTiersEntry(uint8 _index, uint256 _value);
    event SetMinExpansionTiersEntry(uint8 _index, uint256 _value);
    event TransactionExecuted(address indexed target, uint256 value, string signature, bytes data);

    function setNumberOfEpochToRebase(uint256 _numberOfEpoc) public onlyOperator {
        numberOfEpochBelowOneCondition = _numberOfEpoc;
    }

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

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

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

        _;
    }

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

        _;

        epoch = epoch.add(1);
    }

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

        _;
    }

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

        _;
    }

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

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

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

    // oracle
    function getTurtPrice() public view returns (uint256) {
        try IOracle(oracle).consult(turt, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to consult Turt price from the oracle");
        }
    }

    function getTwapPrice() public view returns (uint256) {
        try IOracle(oracle).twap(turt, 1e18) returns (uint144 price) {
            return uint256(price);
        } catch {
            revert("Treasury: failed to twap Turt price from the oracle");
        }
    }

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

    function initialize(
        address _turt,
        address _shell,
        address _oracle,
        address _boardroom,
        address _daoFund,
        address _devFund,
        uint256 _startTime,
        uint256 _epoch,
        address _pegRewardPool


    ) external notInitialized {
        require(_turt != address(0), "!_turt");
        require(_shell != address(0), "!_shell");
        require(_oracle != address(0), "!_oracle");
        require(_boardroom != address(0), "!_boardroom");
        require(_daoFund != address(0), "!_boardroom");
        require(_devFund != address(0), "!_boardroom");

        turt = _turt;
        shell = _shell;
        oracle = _oracle;
        boardroom = _boardroom;
        daoFund = _daoFund;
        devFund = _devFund;
        startTime = _startTime;
        epoch = _epoch;
        previousEpoch = epoch.sub(1);
        pegRewardPool = _pegRewardPool;
        turtPriceOne = 10 ** 18;
        // This is to allow a PEG of 1 turt per USDC
        turtPriceRebase = 85 * 10 ** 16;
        // 0.85 USDC
        turtPriceCeiling = turtPriceOne;

        // Dynamic max expansion percent
        supplyTiers = [0 ether, 10000 ether, 15000 ether, 25000 ether, 35000 ether, 60000 ether, 250000 ether, 500000 ether, 1000000 ether];
        maxExpansionTiers = [300, 250, 200, 150, 125, 100];
        minExpansionTiers = [100, 85, 70, 55, 40, 40];

        IMainToken(turt).grantRebaseExclusion(address(this));
        IMainToken(turt).grantRebaseExclusion(daoFund);
        IMainToken(turt).grantRebaseExclusion(address(boardroom));

        initialized = true;
        operator = msg.sender;

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

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
        emit SetOperator(msg.sender, _operator);
    }

    function setBoardroom(address _boardroom) external onlyOperator {
        boardroom = _boardroom;
        emit SetBoardroom(msg.sender, _boardroom);
    }

    function setPegRewardPool(address _pegRewardPool) external onlyOperator {
        pegRewardPool = _pegRewardPool;
    }

    function setBootstrapEpoch(uint256 _bootstrapEpoch) external onlyOperator {
        require(_bootstrapEpoch <= 56, "Exceed allowed");
        bootstrapEpochs = _bootstrapEpoch;
    }

    function grantRebaseExclusion(address who) external onlyOperator {
        IMainToken(turt).grantRebaseExclusion(who);
    }

    function setTurtPriceCeiling(uint256 _turtPriceCeiling) external onlyOperator {
        require(_turtPriceCeiling >= turtPriceOne && _turtPriceCeiling <= turtPriceOne.mul(120).div(100), "out of range");
        // [$1.0, $1.2]
        turtPriceCeiling = _turtPriceCeiling;
        emit SetTurtPriceCeiling(_turtPriceCeiling);
          }
    function setPegRewardPoolPercent(uint256 _new_percent) external onlyOperator {
        pegRewardPoolPercent = _new_percent;
    }

    function setSupplyTiersEntry(uint8 _index, uint256 _value) external onlyOperator returns (bool) {
        require(_index >= 0, "Index has to be higher than 0");
        require(_index < supplyTiers.length, "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;
        emit SetSupplyTiersEntry(_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 < maxExpansionTiers.length, "Index has to be lower than count of tiers");
        require(_value >= minPercentExpansionTier && _value <= maxPercentExpansionTier, "_value: out of range");
        // [0.1%, 10%]
        maxExpansionTiers[_index] = _value;
        emit SetMaxExpansionTiersEntry(_index, _value);
        return true;
    }

    function setMinExpansionTiersEntry(uint8 _index, uint256 _value) external onlyOperator returns (bool) {
        require(_index >= 0, "Index has to be higher than 0");
        require(_index < minExpansionTiers.length, "Index has to be lower than count of tiers");
        require(_value >= minPercentExpansionTier && _value <= maxPercentExpansionTier, "_value: out of range");
        // [0.1%, 10%]
        minExpansionTiers[_index] = _value;
        emit SetMinExpansionTiersEntry(_index, _value);
        return true;
    }

    function setTwapForMaxExpansion(uint256 _twapThresold) external onlyOperator {
        TWAP_FOR_MAX_EXPANSION = _twapThresold;
        TWAP_DELTA_FOR_MAX_EXPANSION = _twapThresold.sub(turtPriceOne);
    }

    /* ========== MUTABLE FUNCTIONS ========== */
    function syncPrice() public {
        try IOracle(oracle).sync() {} catch {
            revert("Treasury: failed to sync price from the oracle");
        }
    }

    function _updatePrice() public {
        try IOracle(oracle).update() {} catch {
            revert("Treasury: failed to update price from the oracle");
        }
    }

    function getTurtCirculatingSupply() public view returns (uint256) {
        return IMainToken(turt).rebaseSupply();
    }

    function getEstimatedReward() external view returns (uint256) {
        uint256 turtTotalSupply = IMainToken(turt).totalSupply();
        if (turtTotalSupply < minMainSupplyToExpansion) {
            turtTotalSupply = minMainSupplyToExpansion;
        }

        uint256 percentage = calcExpansionRate(turtTotalSupply);
        uint256 estimatedReward = turtTotalSupply.mul(percentage).div(10000);

        uint256 _daoFundSharedAmount = estimatedReward.mul(daoFundSharedPercent).div(100);
        uint256 _devFundSharedAmount = estimatedReward.mul(devFundSharedPercent).div(100);
        uint256 _rewardPoolFundSharedAmount = estimatedReward.mul(pegRewardPoolPercent).div(100);

        return estimatedReward.sub(_daoFundSharedAmount).sub(_devFundSharedAmount).sub(_rewardPoolFundSharedAmount);
    }

    function _sendToBoardroom(uint256 _amount) internal {
        IMainToken turtErc20 = IMainToken(turt);
        turtErc20.mint(address(this), _amount);

        uint256 _daoFundSharedAmount = _amount.mul(daoFundSharedPercent).div(100);
        turtErc20.transfer(daoFund, _daoFundSharedAmount);
        emit DaoFundFunded(block.timestamp, _daoFundSharedAmount);

        uint256 _devFundSharedAmount = _amount.mul(devFundSharedPercent).div(100);
        turtErc20.transfer(devFund, _devFundSharedAmount);
        emit DevFundFunded(block.timestamp, _devFundSharedAmount);

         uint256 _pegRewardPoolSharedAmount = _amount.mul(pegRewardPoolPercent).div(100);
        turtErc20.transfer(pegRewardPool, _pegRewardPoolSharedAmount);
        emit RewardPoolFunded(block.timestamp, _pegRewardPoolSharedAmount);

        _amount = _amount.sub(_daoFundSharedAmount).sub(_devFundSharedAmount).sub(_pegRewardPoolSharedAmount);
        IERC20(turt).safeApprove(boardroom, 0);
        IERC20(turt).safeApprove(boardroom, _amount);
        IBoardroom(boardroom).allocateSeigniorage(_amount);
        emit BoardroomFunded(block.timestamp, _amount);
    }

    function calculateMaxSupplyExpansionPercent(uint256 _turtSupply) public view returns (uint256) {
        uint256 maxSupplyExpansionPercent;
        uint256 supplyTierLength = supplyTiers.length;
        uint256 maxExpansionTiersLength = maxExpansionTiers.length;
        require(supplyTierLength == maxExpansionTiersLength, "SupplyTier data invalid");

        for (uint256 tierId = supplyTierLength - 1; tierId >= 0; --tierId) {
            if (_turtSupply >= supplyTiers[tierId]) {
                maxSupplyExpansionPercent = maxExpansionTiers[tierId];
                break;
            }
        }

        return maxSupplyExpansionPercent;
    }

    function calculateMinSupplyExpansionPercent(uint256 _turtSupply) public view returns (uint256) {
        uint256 minSupplyExpansionPercent;
        uint256 supplyTierLength = supplyTiers.length;
        uint256 minExpansionTiersLength = minExpansionTiers.length;
        require(supplyTierLength == minExpansionTiersLength, "SupplyTier data invalid");

        for (uint256 tierId = supplyTierLength - 1; tierId >= 0; --tierId) {
            if (_turtSupply >= supplyTiers[tierId]) {
                minSupplyExpansionPercent = minExpansionTiers[tierId];
                break;
            }
        }

        return minSupplyExpansionPercent;
    }

    function calcDynamicExpansionPercent(uint256 _turtSupply) public view returns (uint256 _percent) {
        uint256 max_expansion = calculateMaxSupplyExpansionPercent(_turtSupply);
        uint256 min_expansion = calculateMinSupplyExpansionPercent(_turtSupply);
        uint256 twap = getTurtPrice();

        if (twap <= turtPriceOne) {
            _percent = 0;
        } else {
            uint256 twap_delta = twap.sub(turtPriceOne);
            uint256 average_rate = (max_expansion.add(min_expansion)).div(2);
            //        _percent = twap_delta.mul(1e6).div(TWAP_DELTA_FOR_MAX_EXPANSION).mul(average_rate).add(min_expansion);
            _percent = average_rate.mul(1e18).div(TWAP_DELTA_FOR_MAX_EXPANSION).mul(twap_delta).div(1e18);
            _percent = _percent.add(min_expansion);

            if (_percent < min_expansion) {
                _percent = min_expansion;
            }

            if (_percent > max_expansion) {
                _percent = max_expansion;
            }
        }

    }

    function calcExpansionRate(uint256 _turtSupply) public view returns(uint256 _expansion_rate) {
        if (useFixedTwap) {
            _expansion_rate = calculateMaxSupplyExpansionPercent(_turtSupply);
        } else {
            _expansion_rate = calcDynamicExpansionPercent(_turtSupply);
        }
    }

    function allocateSeigniorage() external onlyOneBlock checkCondition checkEpoch checkOperator {
        _updatePrice();
        previousEpochMainPrice = getTurtPrice();
        uint256 turtTotalSupply = IMainToken(turt).totalSupply();
        if (epoch < bootstrapEpochs) {
            _sendToBoardroom(turtTotalSupply.mul(bootstrapSupplyExpansionPercent).div(10000));
        } else {
            if (previousEpochMainPrice > turtPriceCeiling) {
                // Expansion
                if (turtTotalSupply < minMainSupplyToExpansion) {
                    turtTotalSupply = minMainSupplyToExpansion;
                }
                uint256 _percentage = calcExpansionRate(turtTotalSupply);
                uint256 _savedForBoardroom = turtTotalSupply.mul(_percentage).div(10000);
                if (_savedForBoardroom > 0) {
                    uint256 boardRoomAmount = IBoardroom(boardroom).totalSupply();
                    if (boardRoomAmount > 0) {
                        _sendToBoardroom(_savedForBoardroom);
                    } else {
                        // mint to DAOFund
                        IMainToken(turt).mint(daoFund, _savedForBoardroom);
                    }
                }
            }

            // Rebase
            if (previousEpochMainPrice < turtPriceOne) {
                consecutiveEpochHasPriceBelowOne = consecutiveEpochHasPriceBelowOne.add(1);
            } else {
                consecutiveEpochHasPriceBelowOne = 0;
            }

            if (rebaseStarted && previousEpochMainPrice < turtPriceOne) {
                _rebase(turtPriceOne);
                consecutiveEpochHasPriceBelowOne = 0;
            } else {
                rebaseStarted = false;
                // twap <= 0.85 MATIC => rebase
                // {consecutiveEpochHasPriceBelowOne} consecutive epoch has twap < 1 MATIC => rebase
                if (previousEpochMainPrice <= turtPriceRebase || consecutiveEpochHasPriceBelowOne == numberOfEpochBelowOneCondition) {
                    _rebase(turtPriceOne);
                    consecutiveEpochHasPriceBelowOne = 0;
                }
            }
        }

    }

    function boardroomAllocateSeigniorage(uint256 amount) external onlyOperator {
        IBoardroom(boardroom).allocateSeigniorage(amount);
    }

    function toggleUseFixedTwap() external onlyOperator {
        useFixedTwap = !useFixedTwap;
    }

    function computeSupplyDelta() public view returns (bool negative, uint256 supplyDelta, uint256 targetRate) {
        require(previousEpochMainPrice > 0, "previousEpochMainPrice invalid");
        targetRate = 10 ** DECIMALS;
        uint256 rate = previousEpochMainPrice.mul(10 ** DECIMALS).div(10 ** 18);
        negative = rate < targetRate;
        uint256 rebasePercentage = ONE;
        if (negative) {
            rebasePercentage = targetRate.sub(rate).mul(ONE).div(targetRate);
        } else {
            rebasePercentage = rate.sub(targetRate).mul(ONE).div(targetRate);
        }

        supplyDelta = mathRound(getTurtCirculatingSupply().mul(rebasePercentage).div(ONE));
    }

    function mathRound(uint256 _value) internal pure returns (uint256) {
        uint256 valueFloor = _value.div(midpointRounding).mul(midpointRounding);
        uint256 delta = _value.sub(valueFloor);
        if (delta >= midpointRounding.div(2)) {
            return valueFloor.add(midpointRounding);
        } else {
            return valueFloor;
        }
    }

    function _rebase(uint256 _oldPrice) internal onlyOperator {
        require(epoch >= previousEpoch, "cannot rebase");
        (bool negative, uint256 supplyDelta, uint256 targetRate) = computeSupplyDelta();

        uint256 oldTotalSupply = IERC20(turt).totalSupply();
        uint256 newTotalSupply = oldTotalSupply;
        if (supplyDelta > 0) {
            rebaseStarted = true;
            if (oldTotalSupply.add(uint256(supplyDelta)) > MAX_SUPPLY) {
                supplyDelta = MAX_SUPPLY.sub(oldTotalSupply);
            }

            newTotalSupply = IMainToken(turt).rebase(epoch, supplyDelta, negative);
            require(newTotalSupply <= MAX_SUPPLY, "newTotalSupply <= MAX_SUPPLY");
            previousEpoch = epoch;
            syncPrice();
        }

        emit LogRebase(epoch, supplyDelta, targetRate, _oldPrice, newTotalSupply, oldTotalSupply, block.timestamp);
    }

    //==========END REBASE===========

    function executeTransaction(
        address target,
        uint256 value,
        string memory signature,
        bytes memory data
    ) public onlyOperator returns (bytes memory) {
        bytes memory callData;

        if (bytes(signature).length == 0) {
            callData = data;
        } else {
            callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data);
        }
        // solium-disable-next-line security/no-call-value
        (bool success, bytes memory returnData) = target.call{value : value}(callData);
        require(success, string("Treasury::executeTransaction: Transaction execution reverted."));
        emit TransactionExecuted(target, value, signature, data);
        return returnData;
    }

    receive() external payable {}
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"BoardroomFunded","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":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supplyDelta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldTotalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestampSec","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seigniorage","type":"uint256"}],"name":"RewardPoolFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address","name":"newBoardroom","type":"address"}],"name":"SetBoardroom","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_index","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetMaxExpansionTiersEntry","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_index","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetMinExpansionTiersEntry","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address","name":"newOperator","type":"address"}],"name":"SetOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_index","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetSupplyTiersEntry","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetTurtPriceCeiling","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"TransactionExecuted","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":"MIN_EXPANSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allocateSeigniorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"boardroom","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"boardroomAllocateSeigniorage","outputs":[],"stateMutability":"nonpayable","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":"_turtSupply","type":"uint256"}],"name":"calcDynamicExpansionPercent","outputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_turtSupply","type":"uint256"}],"name":"calcExpansionRate","outputs":[{"internalType":"uint256","name":"_expansion_rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_turtSupply","type":"uint256"}],"name":"calculateMaxSupplyExpansionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_turtSupply","type":"uint256"}],"name":"calculateMinSupplyExpansionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"computeSupplyDelta","outputs":[{"internalType":"bool","name":"negative","type":"bool"},{"internalType":"uint256","name":"supplyDelta","type":"uint256"},{"internalType":"uint256","name":"targetRate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"consecutiveEpochHasPriceBelowOne","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":"daoFundSharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundSharedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getEstimatedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTurtCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTurtPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTwapPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"grantRebaseExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_turt","type":"address"},{"internalType":"address","name":"_shell","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_boardroom","type":"address"},{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"address","name":"_devFund","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_epoch","type":"uint256"},{"internalType":"address","name":"_pegRewardPool","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxExpansionTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minExpansionTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMainSupplyToExpansion","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":"numberOfEpochBelowOneCondition","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":"oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pegRewardPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pegRewardPoolPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousEpochMainPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebaseStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_boardroom","type":"address"}],"name":"setBoardroom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bootstrapEpoch","type":"uint256"}],"name":"setBootstrapEpoch","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":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMinExpansionTiersEntry","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfEpoc","type":"uint256"}],"name":"setNumberOfEpochToRebase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pegRewardPool","type":"address"}],"name":"setPegRewardPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_percent","type":"uint256"}],"name":"setPegRewardPoolPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setSupplyTiersEntry","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_turtPriceCeiling","type":"uint256"}],"name":"setTurtPriceCeiling","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_twapThresold","type":"uint256"}],"name":"setTwapForMaxExpansion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shell","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"syncPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleUseFixedTwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"turtPriceCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"turtPriceOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"turtPriceRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useFixedTwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

600060065561012c60075560a060405273f1493c245d91e42d3e7d46cb1f0359cea10d7bff6080908152620000399060089060016200007f565b5060016014556710a741a4627800006015556702c68af0bb14000060165560646019908155601a805460ff19169055601c553480156200007857600080fd5b5062000100565b828054828255906000526020600020908101928215620000d7579160200282015b82811115620000d757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620000a0565b50620000e5929150620000e9565b5090565b5b80821115620000e55760008155600101620000ea565b613b6e80620001106000396000f3fe6080604052600436106103bc5760003560e01c8063874106cc116101f2578063c5967c261161010d578063e73101f2116100a0578063f14698de1161006f578063f14698de14610a80578063f6050e5014610a96578063fcb6f00814610ab6578063fe4880d414610acc57600080fd5b8063e73101f214610a0b578063ec15a4ee14610a2b578063eee2bfa014610a4b578063f11d2ff414610a6057600080fd5b8063d4b14944116100dc578063d4b1494414610996578063e59f8109146109b6578063e6e198a9146109d6578063e706f916146109f657600080fd5b8063c5967c2614610932578063c5a1943714610947578063c5c0050e14610967578063c9eea77c1461098157600080fd5b80639ff3ca7411610185578063b3ab15fb11610154578063b3ab15fb146108c6578063b3ffc777146108e6578063b4d1d79514610906578063bbf7133f1461091c57600080fd5b80639ff3ca741461083e578063a0487eea14610854578063a4fe6e2614610874578063a5d65c54146108a657600080fd5b80639501cd25116101c15780639501cd25146107be57806399820025146107de5780639a7a4e15146107fe5780639cbbe46a1461081e57600080fd5b8063874106cc1461074d5780638d934f7414610763578063900cf0cf14610788578063940e60641461079e57600080fd5b80634390d2a8116102e25780635cdaab48116102755780637dc0d1d0116102445780637dc0d1d0146106d8578063828a61a7146106f857806382cad8381461071857806382f6e5d91461073857600080fd5b80635cdaab48146106775780635e02c51e1461068d5780635f64b2a0146106ad57806378e97925146106c257600080fd5b8063570ca735116102b1578063570ca7351461060c57806358d2562f1461062c5780635b7561791461064c5780635ba97d401461066157600080fd5b80634390d2a81461059457806343a8bd1e146105cc57806354243538146105e257806355ebdeef146105f757600080fd5b80632706abca1161035a5780633235e32c116103295780633235e32c1461052a5780633552ed8214610540578063392e53cd146105605780633f438fbb1461057f57600080fd5b80632706abca146104ba578063284708e8146104d457806329c60b24146104f45780632c598d381461051457600080fd5b8063158ef93e11610396578063158ef93e146104285780631c042b8c146104595780631e0e3e5a1461046f5780632224fa251461048d57600080fd5b806301a93783146103c857806303be7e76146103ea5780630e360bb61461041257600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103e86103e336600461369a565b610aec565b005b3480156103f657600080fd5b506103ff600581565b6040519081526020015b60405180910390f35b34801561041e57600080fd5b506103ff601c5481565b34801561043457600080fd5b5060015461044990600160a01b900460ff1681565b6040519015158152602001610409565b34801561046557600080fd5b506103ff600d5481565b34801561047b57600080fd5b506103ff69021e19e0c9bab240000081565b34801561049957600080fd5b506104ad6104a83660046135a4565b610b81565b6040516104099190613777565b3480156104c657600080fd5b50601a546104499060ff1681565b3480156104e057600080fd5b506103e86104ef36600461369a565b610cdb565b34801561050057600080fd5b506103ff61050f36600461369a565b610d1e565b34801561052057600080fd5b506103ff60195481565b34801561053657600080fd5b506103ff60105481565b34801561054c57600080fd5b506103ff61055b36600461369a565b610df1565b34801561056c57600080fd5b50600154600160a01b900460ff16610449565b34801561058b57600080fd5b506103e8610e17565b3480156105a057600080fd5b50601b546105b4906001600160a01b031681565b6040516001600160a01b039091168152602001610409565b3480156105d857600080fd5b506103ff600e5481565b3480156105ee57600080fd5b506103e8610edd565b34801561060357600080fd5b506103ff601481565b34801561061857600080fd5b506001546105b4906001600160a01b031681565b34801561063857600080fd5b50601d546105b4906001600160a01b031681565b34801561065857600080fd5b506103e8610f1b565b34801561066d57600080fd5b506103ff60145481565b34801561068357600080fd5b506103ff60045481565b34801561069957600080fd5b50600b546105b4906001600160a01b031681565b3480156106b957600080fd5b506103ff61153d565b3480156106ce57600080fd5b506103ff60025481565b3480156106e457600080fd5b50600c546105b4906001600160a01b031681565b34801561070457600080fd5b506103e86107133660046134fa565b6115bf565b34801561072457600080fd5b506105b461073336600461369a565b611aaf565b34801561074457600080fd5b506103ff611ad9565b34801561075957600080fd5b506103ff60075481565b34801561076f57600080fd5b50601a546105b49061010090046001600160a01b031681565b34801561079457600080fd5b506103ff60035481565b3480156107aa57600080fd5b506104496107b93660046136cc565b611bdc565b3480156107ca57600080fd5b506103ff6107d936600461369a565b611d1a565b3480156107ea57600080fd5b506103ff6107f936600461369a565b611de1565b34801561080a57600080fd5b506104496108193660046136cc565b611e02565b34801561082a57600080fd5b506009546105b4906001600160a01b031681565b34801561084a57600080fd5b506103ff600f5481565b34801561086057600080fd5b506103ff61086f36600461369a565b611f08565b34801561088057600080fd5b50610889611f18565b604080519315158452602084019290925290820152606001610409565b3480156108b257600080fd5b506103ff6108c136600461369a565b61202f565b3480156108d257600080fd5b506103e86108e13660046134c0565b61203f565b3480156108f257600080fd5b506103e86109013660046134c0565b6120c0565b34801561091257600080fd5b506103ff61546081565b34801561092857600080fd5b506103ff60185481565b34801561093e57600080fd5b506103ff61213a565b34801561095357600080fd5b506103ff61096236600461369a565b61215f565b34801561097357600080fd5b506017546104499060ff1681565b34801561098d57600080fd5b506103e861220a565b3480156109a257600080fd5b506104496109b13660046136cc565b6122d0565b3480156109c257600080fd5b506103e86109d136600461369a565b6123d6565b3480156109e257600080fd5b506103e86109f13660046134c0565b612447565b348015610a0257600080fd5b506103ff612493565b348015610a1757600080fd5b506103e8610a2636600461369a565b6125c5565b348015610a3757600080fd5b506103e8610a4636600461369a565b6125f4565b348015610a5757600080fd5b506103ff612623565b348015610a6c57600080fd5b50600a546105b4906001600160a01b031681565b348015610a8c57600080fd5b506103ff60065481565b348015610aa257600080fd5b506103e8610ab13660046134c0565b612715565b348015610ac257600080fd5b506103ff60055481565b348015610ad857600080fd5b506103e8610ae736600461369a565b612771565b6001546001600160a01b03163314610b1f5760405162461bcd60e51b8152600401610b16906137f8565b60405180910390fd5b600b546040516397ffe1d760e01b8152600481018390526001600160a01b03909116906397ffe1d7906024015b600060405180830381600087803b158015610b6657600080fd5b505af1158015610b7a573d6000803e3d6000fd5b5050505050565b6001546060906001600160a01b03163314610bae5760405162461bcd60e51b8152600401610b16906137f8565b6060835160001415610bc1575081610bed565b838051906020012083604051602001610bdb92919061372a565b60405160208183030381529060405290505b600080876001600160a01b03168784604051610c09919061375b565b60006040518083038185875af1925050503d8060008114610c46576040519150601f19603f3d011682016040523d82523d6000602084013e610c4b565b606091505b5091509150816040518060600160405280603d8152602001613afc603d913990610c885760405162461bcd60e51b8152600401610b169190613777565b50876001600160a01b03167f02351f450e2fc766dda692922cd0e080a07d702d68757f2154bf686ee052be6e888888604051610cc693929190613882565b60405180910390a2925050505b949350505050565b6001546001600160a01b03163314610d055760405162461bcd60e51b8152600401610b16906137f8565b6015819055600d54610d1890829061283d565b60165550565b600080610d2a83611d1a565b90506000610d378461215f565b90506000610d43611ad9565b9050600d548111610d575760009350610de9565b6000610d6e600d548361283d90919063ffffffff16565b90506000610d876002610d818787612850565b9061285c565b9050610dc0670de0b6b3a7640000610d8184610dba601654610d81670de0b6b3a76400008861286890919063ffffffff16565b90612868565b9550610dcc8685612850565b955083861015610dda578395505b84861115610de6578495505b50505b505050919050565b601a5460009060ff1615610e0e57610e0882611d1a565b92915050565b610e0882610d1e565b600c60009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610e6757600080fd5b505af1925050508015610e78575060015b610edb5760405162461bcd60e51b815260206004820152602e60248201527f54726561737572793a206661696c656420746f2073796e63207072696365206660448201526d726f6d20746865206f7261636c6560901b6064820152608401610b16565b565b6001546001600160a01b03163314610f075760405162461bcd60e51b8152600401610b16906137f8565b601a805460ff19811660ff90911615179055565b4360009081526020818152604080832032845290915290205460ff1615610f545760405162461bcd60e51b8152600401610b169061383c565b4360009081526020818152604080832033845290915290205460ff1615610f8d5760405162461bcd60e51b8152600401610b169061383c565b600254421015610fdf5760405162461bcd60e51b815260206004820152601960248201527f54726561737572793a206e6f74207374617274656420796574000000000000006044820152606401610b16565b610fe761213a565b4210156110365760405162461bcd60e51b815260206004820152601860248201527f54726561737572793a206e6f74206f70656e65642079657400000000000000006044820152606401610b16565b6009546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561107a57600080fd5b505afa15801561108e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b291906134dd565b6001600160a01b031614801561114a5750600a546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561110757600080fd5b505afa15801561111b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113f91906134dd565b6001600160a01b0316145b80156111d85750600b546040805163570ca73560e01b8152905130926001600160a01b03169163570ca735916004808301926020929190829003018186803b15801561119557600080fd5b505afa1580156111a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cd91906134dd565b6001600160a01b0316145b6112245760405162461bcd60e51b815260206004820152601e60248201527f54726561737572793a206e656564206d6f7265207065726d697373696f6e00006044820152606401610b16565b61122c61220a565b611234611ad9565b601855600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561127c57600080fd5b505afa158015611290573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b491906136b3565b905060065460035410156112ea576112e56112e0612710610d816007548561286890919063ffffffff16565b612874565b6114f0565b600e5460185411156114635769021e19e0c9bab2400000811015611315575069021e19e0c9bab24000005b600061132082610df1565b90506000611334612710610d818585612868565b9050801561146057600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561138157600080fd5b505afa158015611395573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b991906136b3565b905080156113cf576113ca82612874565b61145e565b600954601a546040516340c10f1960e01b81526001600160a01b0361010090920482166004820152602481018590529116906340c10f1990604401602060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145c919061364f565b505b505b50505b600d5460185410156114855760105461147d906001612850565b60105561148b565b60006010555b60175460ff1680156114a05750600d54601854105b156114ba576114b0600d54612c73565b60006010556114f0565b6017805460ff19169055600f546018541115806114da5750601454601054145b156114f0576114ea600d54612c73565b60006010555b506003546114ff906001612850565b600355436000908152602081815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6009546040805163155be63f60e21b815290516000926001600160a01b03169163556f98fc916004808301926020929190829003018186803b15801561158257600080fd5b505afa158015611596573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ba91906136b3565b905090565b600154600160a01b900460ff16156116195760405162461bcd60e51b815260206004820152601d60248201527f54726561737572793a20616c726561647920696e697469616c697a65640000006044820152606401610b16565b6001600160a01b0389166116585760405162461bcd60e51b81526020600482015260066024820152650857dd1d5c9d60d21b6044820152606401610b16565b6001600160a01b0388166116985760405162461bcd60e51b81526020600482015260076024820152660857dcda195b1b60ca1b6044820152606401610b16565b6001600160a01b0387166116d95760405162461bcd60e51b8152602060048201526008602482015267215f6f7261636c6560c01b6044820152606401610b16565b6001600160a01b0386166116ff5760405162461bcd60e51b8152600401610b169061378a565b6001600160a01b0385166117255760405162461bcd60e51b8152600401610b169061378a565b6001600160a01b03841661174b5760405162461bcd60e51b8152600401610b169061378a565b600980546001600160a01b03199081166001600160a01b038c811691909117909255600a805482168b8416179055600c805482168a8416179055600b80548216898416179055601a8054610100600160a81b03191661010089851602179055601b8054909116918616919091179055600283905560038290556117cf82600161283d565b600455601d80546001600160a01b0319166001600160a01b038316179055670de0b6b3a7640000600d819055670bcbce7f1b150000600f55600e5560408051610120810182526000815269021e19e0c9bab2400000602082015269032d26d12e980b6000009181019190915269054b40b1f852bda0000060608201526907695a92c20d6fe000006080820152690cb49b44ba602d80000060a08201526934f086f3b33b6840000060c08201526969e10de76676d080000060e082015269d3c21bcecceda10000006101008201526118aa90601190600961335b565b506040805160c08101825261012c815260fa602082015260c89181019190915260966060820152607d6080820152606460a08201526118ed9060129060066133b4565b506040805160c08101825260648152605560208201526046918101919091526037606082015260286080820181905260a082015261192f9060139060066133f5565b50600954604051630f6050e560e41b81523060048201526001600160a01b039091169063f6050e5090602401600060405180830381600087803b15801561197557600080fd5b505af1158015611989573d6000803e3d6000fd5b5050600954601a54604051630f6050e560e41b81526001600160a01b03610100909204821660048201529116925063f6050e509150602401600060405180830381600087803b1580156119db57600080fd5b505af11580156119ef573d6000803e3d6000fd5b5050600954600b54604051630f6050e560e41b81526001600160a01b0391821660048201529116925063f6050e509150602401600060405180830381600087803b158015611a3c57600080fd5b505af1158015611a50573d6000803e3d6000fd5b5050600180546001600160a81b03191633908117600160a01b179091556040514381529092507f25ff68dd81b34665b5ba7e553ee5511bf6812e12adb4a7e2c0d9e26b3099ce79915060200160405180910390a2505050505050505050565b60088181548110611abf57600080fd5b6000918252602090912001546001600160a01b0316905081565b600c54600954604051633ddac95360e01b81526001600160a01b039182166004820152670de0b6b3a764000060248201526000929190911690633ddac9539060440160206040518083038186803b158015611b3357600080fd5b505afa925050508015611b63575060408051601f3d908101601f19168201909252611b6091810190613671565b60015b611bce5760405162461bcd60e51b815260206004820152603660248201527f54726561737572793a206661696c656420746f20636f6e73756c7420547572746044820152752070726963652066726f6d20746865206f7261636c6560501b6064820152608401610b16565b6001600160901b0316919050565b6001546000906001600160a01b03163314611c095760405162461bcd60e51b8152600401610b16906137f8565b60115460ff841610611c2d5760405162461bcd60e51b8152600401610b16906137af565b60ff831615611c6c576011611c43600185613a37565b60ff1681548110611c5657611c56613ab7565b90600052602060002001548211611c6c57600080fd5b60088360ff161015611cae576011611c858460016138cf565b60ff1681548110611c9857611c98613ab7565b90600052602060002001548210611cae57600080fd5b8160118460ff1681548110611cc557611cc5613ab7565b600091825260209182902001919091556040805160ff861681529182018490527f2d95cd07a0b2817bd6738c13aae19bedc90f5aed82cdaf6b0647d3295c19699c91015b60405180910390a150600192915050565b6011546012546000918291808214611d6e5760405162461bcd60e51b815260206004820152601760248201527614dd5c1c1b1e551a595c8819185d18481a5b9d985b1a59604a1b6044820152606401610b16565b6000611d7b600184613a20565b90505b60118181548110611d9157611d91613ab7565b90600052602060002001548610611dc75760128181548110611db557611db5613ab7565b90600052602060002001549350611dd7565b611dd081613a8a565b9050611d7e565b5091949350505050565b60118181548110611df157600080fd5b600091825260209091200154905081565b6001546000906001600160a01b03163314611e2f5760405162461bcd60e51b8152600401610b16906137f8565b60135460ff841610611e535760405162461bcd60e51b8152600401610b16906137af565b600a8210158015611e6657506103e88211155b611ea95760405162461bcd60e51b81526020600482015260146024820152735f76616c75653a206f7574206f662072616e676560601b6044820152606401610b16565b8160138460ff1681548110611ec057611ec0613ab7565b600091825260209182902001919091556040805160ff861681529182018490527f94804203ff8f33ff64fdeeff8eec3567e492854e7f8e48de7c3dd3abde0efec19101611d09565b60128181548110611df157600080fd5b60008060008060185411611f6e5760405162461bcd60e51b815260206004820152601e60248201527f70726576696f757345706f63684d61696e507269636520696e76616c696400006044820152606401610b16565b611f7a6012600a613959565b90506000611fa2670de0b6b3a7640000610d81611f996012600a613959565b60185490612868565b828110945090506000611fb76012600a613959565b90508415611fe357611fdc83610d81611fd26012600a613959565b610dba878761283d565b9050612003565b61200083610d81611ff66012600a613959565b610dba868861283d565b90505b6120266120216120156012600a613959565b610d8184610dba61153d565b612f86565b93505050909192565b60138181548110611df157600080fd5b6001546001600160a01b031633146120695760405162461bcd60e51b8152600401610b16906137f8565b600180546001600160a01b0319166001600160a01b03831690811790915560405190815233907f2709918445f306d3e94d280907c62c5d2525ac3192d2e544774c7f181d65af3e906020015b60405180910390a250565b6001546001600160a01b031633146120ea5760405162461bcd60e51b8152600401610b16906137f8565b600b80546001600160a01b0319166001600160a01b03831690811790915560405190815233907f46c7bed093b76b1e0777e3ea8db3a7cb87e5fb5c67d60185abb37cb41dcb9e74906020016120b5565b60006115ba61215661546060035461286890919063ffffffff16565b60025490612850565b60115460135460009182918082146121b35760405162461bcd60e51b815260206004820152601760248201527614dd5c1c1b1e551a595c8819185d18481a5b9d985b1a59604a1b6044820152606401610b16565b60006121c0600184613a20565b90505b601181815481106121d6576121d6613ab7565b906000526020600020015486106121fa5760138181548110611db557611db5613ab7565b61220381613a8a565b90506121c3565b600c60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561225a57600080fd5b505af192505050801561226b575060015b610edb5760405162461bcd60e51b815260206004820152603060248201527f54726561737572793a206661696c656420746f2075706461746520707269636560448201526f2066726f6d20746865206f7261636c6560801b6064820152608401610b16565b6001546000906001600160a01b031633146122fd5760405162461bcd60e51b8152600401610b16906137f8565b60125460ff8416106123215760405162461bcd60e51b8152600401610b16906137af565b600a821015801561233457506103e88211155b6123775760405162461bcd60e51b81526020600482015260146024820152735f76616c75653a206f7574206f662072616e676560601b6044820152606401610b16565b8160128460ff168154811061238e5761238e613ab7565b600091825260209182902001919091556040805160ff861681529182018490527f8dd55b96825dbcc34ee8411138e0fbe5e79572978376c39dcf28900e39ac514e9101611d09565b6001546001600160a01b031633146124005760405162461bcd60e51b8152600401610b16906137f8565b60388111156124425760405162461bcd60e51b815260206004820152600e60248201526d115e18d9595908185b1b1bddd95960921b6044820152606401610b16565b600655565b6001546001600160a01b031633146124715760405162461bcd60e51b8152600401610b16906137f8565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b600080600960009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156124e457600080fd5b505afa1580156124f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251c91906136b3565b905069021e19e0c9bab240000081101561253d575069021e19e0c9bab24000005b600061254882610df1565b9050600061255c612710610d818585612868565b905060006125706064610d81846014612868565b905060006125846064610d81856005612868565b905060006125a26064610d81601c548761286890919063ffffffff16565b90506125ba816125b48481888861283d565b9061283d565b965050505050505090565b6001546001600160a01b031633146125ef5760405162461bcd60e51b8152600401610b16906137f8565b601c55565b6001546001600160a01b0316331461261e5760405162461bcd60e51b8152600401610b16906137f8565b601455565b600c54600954604051630d01142560e31b81526001600160a01b039182166004820152670de0b6b3a764000060248201526000929190911690636808a1289060440160206040518083038186803b15801561267d57600080fd5b505afa9250505080156126ad575060408051601f3d908101601f191682019092526126aa91810190613671565b60015b611bce5760405162461bcd60e51b815260206004820152603360248201527f54726561737572793a206661696c656420746f207477617020547572742070726044820152726963652066726f6d20746865206f7261636c6560681b6064820152608401610b16565b6001546001600160a01b0316331461273f5760405162461bcd60e51b8152600401610b16906137f8565b600954604051630f6050e560e41b81526001600160a01b0383811660048301529091169063f6050e5090602401610b4c565b6001546001600160a01b0316331461279b5760405162461bcd60e51b8152600401610b16906137f8565b600d5481101580156127c757506127c36064610d816078600d5461286890919063ffffffff16565b8111155b6128025760405162461bcd60e51b815260206004820152600c60248201526b6f7574206f662072616e676560a01b6044820152606401610b16565b600e8190556040518181527f812decf0de4c3df0567ac4dc0a071dfda2281e9eac70c4f82ae964786389a4f29060200160405180910390a150565b60006128498284613a20565b9392505050565b600061284982846138b7565b600061284982846138f4565b60006128498284613a01565b6009546040516340c10f1960e01b8152306004820152602481018390526001600160a01b039091169081906340c10f1990604401602060405180830381600087803b1580156128c257600080fd5b505af11580156128d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128fa919061364f565b50600061290d6064610d81856014612868565b601a5460405163a9059cbb60e01b81526001600160a01b03610100909204821660048201526024810183905291925083169063a9059cbb90604401602060405180830381600087803b15801561296257600080fd5b505af1158015612976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299a919061364f565b5060408051428152602081018390527fcb3f34aaa3445b461e6da5492dc89e5c257a59fa598131f3b6bbc97a3638e409910160405180910390a160006129e66064610d81866005612868565b601b5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925084169063a9059cbb90604401602060405180830381600087803b158015612a3657600080fd5b505af1158015612a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6e919061364f565b5060408051428152602081018390527fdc8b715b18523e58b7fd0da53259dfa91efd91df4a854d94b136e3333a3b9395910160405180910390a16000612ac46064610d81601c548861286890919063ffffffff16565b601d5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925085169063a9059cbb90604401602060405180830381600087803b158015612b1457600080fd5b505af1158015612b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4c919061364f565b5060408051428152602081018390527f5451f0d28a59c1c16a9d7cc5017150d585749eb225366037423f94b85ad94ea7910160405180910390a1612b96816125b48481898861283d565b600b54600954919650612bb7916001600160a01b039081169116600061301e565b600b54600954612bd4916001600160a01b0391821691168761301e565b600b546040516397ffe1d760e01b8152600481018790526001600160a01b03909116906397ffe1d790602401600060405180830381600087803b158015612c1a57600080fd5b505af1158015612c2e573d6000803e3d6000fd5b505060408051428152602081018990527f03ca7276ab7799bf73fb79d27ff0610cd7049574f2508ef8445162833d439aea935001905060405180910390a15050505050565b6001546001600160a01b03163314612c9d5760405162461bcd60e51b8152600401610b16906137f8565b6004546003541015612ce15760405162461bcd60e51b815260206004820152600d60248201526c63616e6e6f742072656261736560981b6044820152606401610b16565b6000806000612cee611f18565b9250925092506000600960009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015612d4457600080fd5b505afa158015612d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d7c91906136b3565b9050808315612f26576017805460ff19166001179055612d9e6012600a613959565b612db090670de0b6b3a7640000613a01565b612dc1906001600160ff1b036138f4565b612dcb8386612850565b1115612e0757612e0482612de16012600a613959565b612df390670de0b6b3a7640000613a01565b6125b4906001600160ff1b036138f4565b93505b600954600354604051637af548c160e01b815260048101919091526024810186905286151560448201526001600160a01b0390911690637af548c190606401602060405180830381600087803b158015612e6057600080fd5b505af1158015612e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9891906136b3565b9050612ea66012600a613959565b612eb890670de0b6b3a7640000613a01565b612ec9906001600160ff1b036138f4565b811115612f185760405162461bcd60e51b815260206004820152601c60248201527f6e6577546f74616c537570706c79203c3d204d41585f535550504c59000000006044820152606401610b16565b600354600455612f26610e17565b600354604080518681526020810186905290810188905260608101839052608081018490524260a08201527ffd6cbfd1ec22e48b8b0af0096cbe80257df1cf6b8ef035d9187029ac51ca04a29060c00160405180910390a2505050505050565b600080612fc4612f9860076012613a20565b612fa390600a613959565b610dba612fb260076012613a20565b612fbd90600a613959565b869061285c565b90506000612fd2848361283d565b9050612ff06002612fe560076012613a20565b610d8190600a613959565b811061301757610cd361300560076012613a20565b61301090600a613959565b8390612850565b5092915050565b8015806130a75750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561306d57600080fd5b505afa158015613081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a591906136b3565b155b6131125760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610b16565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052613164908490613169565b505050565b60006131be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661323b9092919063ffffffff16565b80519091501561316457808060200190518101906131dc919061364f565b6131645760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b16565b6060610cd3848460008585600080866001600160a01b03168587604051613262919061375b565b60006040518083038185875af1925050503d806000811461329f576040519150601f19603f3d011682016040523d82523d6000602084013e6132a4565b606091505b50915091506132b5878383876132c0565b979650505050505050565b6060831561332c578251613325576001600160a01b0385163b6133255760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b16565b5081610cd3565b610cd383838151156133415781518083602001fd5b8060405162461bcd60e51b8152600401610b169190613777565b8280548282559060005260206000209081019282156133a4579160200282015b828111156133a4578251829069ffffffffffffffffffff1690559160200191906001019061337b565b506133b0929150613435565b5090565b8280548282559060005260206000209081019282156133a4579160200282015b828111156133a4578251829061ffff169055916020019190600101906133d4565b8280548282559060005260206000209081019282156133a4579160200282015b828111156133a4578251829060ff16905591602001919060010190613415565b5b808211156133b05760008155600101613436565b600067ffffffffffffffff8084111561346557613465613acd565b604051601f8501601f19908116603f0116810190828211818310171561348d5761348d613acd565b816040528093508581528686860111156134a657600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156134d257600080fd5b813561284981613ae3565b6000602082840312156134ef57600080fd5b815161284981613ae3565b60008060008060008060008060006101208a8c03121561351957600080fd5b893561352481613ae3565b985060208a013561353481613ae3565b975060408a013561354481613ae3565b965060608a013561355481613ae3565b955060808a013561356481613ae3565b945060a08a013561357481613ae3565b935060c08a0135925060e08a013591506101008a013561359381613ae3565b809150509295985092959850929598565b600080600080608085870312156135ba57600080fd5b84356135c581613ae3565b935060208501359250604085013567ffffffffffffffff808211156135e957600080fd5b818701915087601f8301126135fd57600080fd5b61360c8883356020850161344a565b9350606087013591508082111561362257600080fd5b508501601f8101871361363457600080fd5b6136438782356020840161344a565b91505092959194509250565b60006020828403121561366157600080fd5b8151801515811461284957600080fd5b60006020828403121561368357600080fd5b81516001600160901b038116811461284957600080fd5b6000602082840312156136ac57600080fd5b5035919050565b6000602082840312156136c557600080fd5b5051919050565b600080604083850312156136df57600080fd5b823560ff811681146136f057600080fd5b946020939093013593505050565b60008151808452613716816020860160208601613a5a565b601f01601f19169290920160200192915050565b6001600160e01b031983168152815160009061374d816004850160208701613a5a565b919091016004019392505050565b6000825161376d818460208701613a5a565b9190910192915050565b60208152600061284960208301846136fe565b6020808252600b908201526a215f626f617264726f6f6d60a81b604082015260600190565b60208082526029908201527f496e6465782068617320746f206265206c6f776572207468616e20636f756e74604082015268206f6620746965727360b81b606082015260800190565b60208082526024908201527f54726561737572793a2063616c6c6572206973206e6f7420746865206f70657260408201526330ba37b960e11b606082015260800190565b60208082526026908201527f436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756040820152653731ba34b7b760d11b606082015260800190565b83815260606020820152600061389b60608301856136fe565b82810360408401526138ad81856136fe565b9695505050505050565b600082198211156138ca576138ca613aa1565b500190565b600060ff821660ff84168060ff038211156138ec576138ec613aa1565b019392505050565b60008261391157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561395157816000190482111561393757613937613aa1565b8085161561394457918102915b93841c939080029061391b565b509250929050565b6000612849838360008261396f57506001610e08565b8161397c57506000610e08565b8160018114613992576002811461399c576139b8565b6001915050610e08565b60ff8411156139ad576139ad613aa1565b50506001821b610e08565b5060208310610133831016604e8410600b84101617156139db575081810a610e08565b6139e58383613916565b80600019048211156139f9576139f9613aa1565b029392505050565b6000816000190483118215151615613a1b57613a1b613aa1565b500290565b600082821015613a3257613a32613aa1565b500390565b600060ff821660ff841680821015613a5157613a51613aa1565b90039392505050565b60005b83811015613a75578181015183820152602001613a5d565b83811115613a84576000848401525b50505050565b600081613a9957613a99613aa1565b506000190190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114613af857600080fd5b5056fe54726561737572793a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e20657865637574696f6e2072657665727465642ea26469706673582212207f0bc09db305c8f0886167e1939e40cb8cff53f02f711b57d88162bbad7d180064736f6c63430008070033

Deployed ByteCode Sourcemap

34228:21260:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52377:144;;;;;;;;;;-1:-1:-1;52377:144:0;;;;;:::i;:::-;;:::i;:::-;;36520:48;;;;;;;;;;;;36567:1;36520:48;;;;;17919:25:1;;;17907:2;17892:18;36520:48:0;;;;;;;;36612:40;;;;;;;;;;;;;;;;34550:23;;;;;;;;;;-1:-1:-1;34550:23:0;;;;-1:-1:-1;;;34550:23:0;;;;;;;;;6900:14:1;;6893:22;6875:41;;6863:2;6848:18;34550:23:0;6735:187:1;35148:27:0;;;;;;;;;;;;;;;;36231:62;;;;;;;;;;;;36282:11;36231:62;;54684:764;;;;;;;;;;-1:-1:-1;54684:764:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;36354:32::-;;;;;;;;;;-1:-1:-1;36354:32:0;;;;;;;;44715:207;;;;;;;;;;-1:-1:-1;44715:207:0;;;;;:::i;:::-;;:::i;48806:1040::-;;;;;;;;;;-1:-1:-1;48806:1040:0;;;;;:::i;:::-;;:::i;36302:39::-;;;;;;;;;;;;;;;;35257:47;;;;;;;;;;;;;;;;49854:312;;;;;;;;;;-1:-1:-1;49854:312:0;;;;;:::i;:::-;;:::i;39173:91::-;;;;;;;;;;-1:-1:-1;39245:11:0;;-1:-1:-1;;;39245:11:0;;;;39173:91;;44981:165;;;;;;;;;;;;;:::i;36581:22::-;;;;;;;;;;-1:-1:-1;36581:22:0;;;;-1:-1:-1;;;;;36581:22:0;;;;;;-1:-1:-1;;;;;5798:32:1;;;5780:51;;5768:2;5753:18;36581:22:0;5634:203:1;35182:31:0;;;;;;;;;;;;;;;;52529:99;;;;;;;;;;;;;:::i;36428:49::-;;;;;;;;;;;;36475:2;36428:49;;34506:23;;;;;;;;;;-1:-1:-1;34506:23:0;;;;-1:-1:-1;;;;;34506:23:0;;;36666:28;;;;;;;;;;-1:-1:-1;36666:28:0;;;;-1:-1:-1;;;;;36666:28:0;;;50174:2195;;;;;;;;;;;;;:::i;35459:49::-;;;;;;;;;;;;;;;;34652:28;;;;;;;;;;;;;;;;35073:24;;;;;;;;;;-1:-1:-1;35073:24:0;;;;-1:-1:-1;;;;;35073:24:0;;;45334:123;;;;;;;;;;;;;:::i;34594:24::-;;;;;;;;;;;;;;;;35104:21;;;;;;;;;;-1:-1:-1;35104:21:0;;;;-1:-1:-1;;;;;35104:21:0;;;40043:1745;;;;;;;;;;-1:-1:-1;40043:1745:0;;;;;:::i;:::-;;:::i;34874:137::-;;;;;;;;;;-1:-1:-1;34874:137:0;;;;;:::i;:::-;;:::i;39423:282::-;;;;;;;;;;;;;:::i;34776:52::-;;;;;;;;;;;;;;;;36491:22;;;;;;;;;;-1:-1:-1;36491:22:0;;;;;;;-1:-1:-1;;;;;36491:22:0;;;34625:20;;;;;;;;;;;;;;;;43063:560;;;;;;;;;;-1:-1:-1;43063:560:0;;;;;:::i;:::-;;:::i;47462:664::-;;;;;;;;;;-1:-1:-1;47462:664:0;;;;;:::i;:::-;;:::i;35313:28::-;;;;;;;;;;-1:-1:-1;35313:28:0;;;;;:::i;:::-;;:::i;44173:534::-;;;;;;;;;;-1:-1:-1;44173:534:0;;;;;:::i;:::-;;:::i;35020:19::-;;;;;;;;;;-1:-1:-1;35020:19:0;;;;-1:-1:-1;;;;;35020:19:0;;;35220:30;;;;;;;;;;;;;;;;35348:34;;;;;;;;;;-1:-1:-1;35348:34:0;;;;;:::i;:::-;;:::i;52636:702::-;;;;;;;;;;;;;:::i;:::-;;;;7148:14:1;;7141:22;7123:41;;7195:2;7180:18;;7173:34;;;;7223:18;;;7216:34;7111:2;7096:18;52636:702:0;6927:329:1;35389:34:0;;;;;;;;;;-1:-1:-1;35389:34:0;;;;;:::i;:::-;;:::i;41796:151::-;;;;;;;;;;-1:-1:-1;41796:151:0;;;;;:::i;:::-;;:::i;41955:157::-;;;;;;;;;;-1:-1:-1;41955:157:0;;;;;:::i;:::-;;:::i;34387:40::-;;;;;;;;;;;;34420:7;34387:40;;36185:37;;;;;;;;;;;;;;;;39286:114;;;;;;;;;;;;;:::i;48134:664::-;;;;;;;;;;-1:-1:-1;48134:664:0;;;;;:::i;:::-;;:::i;36078:25::-;;;;;;;;;;-1:-1:-1;36078:25:0;;;;;;;;45154:172;;;;;;;;;;;;;:::i;43631:534::-;;;;;;;;;;-1:-1:-1;43631:534:0;;;;;:::i;:::-;;:::i;42249:185::-;;;;;;;;;;-1:-1:-1;42249:185:0;;;;;:::i;:::-;;:::i;42120:121::-;;;;;;;;;;-1:-1:-1;42120:121:0;;;;;:::i;:::-;;:::i;45465:816::-;;;;;;;;;;;;;:::i;42924:131::-;;;;;;;;;;-1:-1:-1;42924:131:0;;;;;:::i;:::-;;:::i;38037:142::-;;;;;;;;;;-1:-1:-1;38037:142:0;;;;;:::i;:::-;;:::i;39713:276::-;;;;;;;;;;;;;:::i;35046:20::-;;;;;;;;;;-1:-1:-1;35046:20:0;;;;-1:-1:-1;;;;;35046:20:0;;;34735:34;;;;;;;;;;;;;;;;42442:126;;;;;;;;;;-1:-1:-1;42442:126:0;;;;;:::i;:::-;;:::i;34687:41::-;;;;;;;;;;;;;;;;42576:342;;;;;;;;;;-1:-1:-1;42576:342:0;;;;;:::i;:::-;;:::i;52377:144::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;;;;;;;;;52475:9:::1;::::0;52464:49:::1;::::0;-1:-1:-1;;;52464:49:0;;::::1;::::0;::::1;17919:25:1::0;;;-1:-1:-1;;;;;52475:9:0;;::::1;::::0;52464:41:::1;::::0;17892:18:1;;52464:49:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;52377:144:::0;:::o;54684:764::-;38292:8;;54859:12;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;54884:21:::1;54928:9;54922:23;54949:1;54922:28;54918:179;;;-1:-1:-1::0;54978:4:0;54918:179:::1;;;55066:9;55050:27;;;;;;55080:4;55026:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55015:70;;54918:179;55168:12;55182:23:::0;55209:6:::1;-1:-1:-1::0;;;;;55209:11:0::1;55229:5;55236:8;55209:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55167:78;;;;55264:7;55273:71;;;;;;;;;;;;;;;;;55256:89;;;;;-1:-1:-1::0;;;55256:89:0::1;;;;;;;;:::i;:::-;;55381:6;-1:-1:-1::0;;;;;55361:51:0::1;;55389:5;55396:9;55407:4;55361:51;;;;;;;;:::i;:::-;;;;;;;;55430:10:::0;-1:-1:-1;;;38366:1:0::1;54684:764:::0;;;;;;:::o;44715:207::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;44803:22:::1;:38:::0;;;44901:12:::1;::::0;44883:31:::1;::::0;44828:13;;44883:17:::1;:31::i;:::-;44852:28;:62:::0;-1:-1:-1;44715:207:0:o;48806:1040::-;48885:16;48914:21;48938:47;48973:11;48938:34;:47::i;:::-;48914:71;;48996:21;49020:47;49055:11;49020:34;:47::i;:::-;48996:71;;49078:12;49093:14;:12;:14::i;:::-;49078:29;;49132:12;;49124:4;:20;49120:717;;49172:1;49161:12;;49120:717;;;49206:18;49227:22;49236:12;;49227:4;:8;;:22;;;;:::i;:::-;49206:43;-1:-1:-1;49264:20:0;49287:41;49326:1;49288:32;:13;49306;49288:17;:32::i;:::-;49287:38;;:41::i;:::-;49264:64;;49480:82;49557:4;49480:72;49541:10;49480:56;49507:28;;49480:22;49497:4;49480:12;:16;;:22;;;;:::i;:56::-;:60;;:72::i;:82::-;49469:93;-1:-1:-1;49588:27:0;49469:93;49601:13;49588:12;:27::i;:::-;49577:38;;49647:13;49636:8;:24;49632:89;;;49692:13;49681:24;;49632:89;49752:13;49741:8;:24;49737:89;;;49797:13;49786:24;;49737:89;49191:646;;49120:717;48903:943;;;48806:1040;;;:::o;49854:312::-;49962:12;;49922:23;;49962:12;;49958:201;;;50009:47;50044:11;50009:34;:47::i;:::-;49991:65;49854:312;-1:-1:-1;;49854:312:0:o;49958:201::-;50107:40;50135:11;50107:27;:40::i;44981:165::-;45032:6;;;;;;;;;-1:-1:-1;;;;;45032:6:0;-1:-1:-1;;;;;45024:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45020:119;;45071:56;;-1:-1:-1;;;45071:56:0;;11582:2:1;45071:56:0;;;11564:21:1;11621:2;11601:18;;;11594:30;11660:34;11640:18;;;11633:62;-1:-1:-1;;;11711:18:1;;;11704:44;11765:19;;45071:56:0;11380:410:1;45020:119:0;44981:165::o;52529:99::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;52608:12:::1;::::0;;-1:-1:-1;;52592:28:0;::::1;52608:12;::::0;;::::1;52607:13;52592:28;::::0;;52529:99::o;50174:2195::-;5212:12;5180:4;5204:21;;;;;;;;;;;5226:9;5204:32;;;;;;;;;;5429:29;5421:80;;;;-1:-1:-1;;;5421:80:0;;;;;;;:::i;:::-;5345:12;5313:4;5337:21;;;;;;;;;;;5359:10;5337:33;;;;;;;;;;5520:29;5512:80;;;;-1:-1:-1;;;5512:80:0;;;;;;;:::i;:::-;38447:9:::1;;38428:15;:28;;38420:66;;;::::0;-1:-1:-1;;;38420:66:0;;17621:2:1;38420:66:0::1;::::0;::::1;17603:21:1::0;17660:2;17640:18;;;17633:30;17699:27;17679:18;;;17672:55;17744:18;;38420:66:0::1;17419:349:1::0;38420:66:0::1;38576:16:::2;:14;:16::i;:::-;38557:15;:35;;38549:72;;;::::0;-1:-1:-1;;;38549:72:0;;10129:2:1;38549:72:0::2;::::0;::::2;10111:21:1::0;10168:2;10148:18;;;10141:30;10207:26;10187:18;;;10180:54;10251:18;;38549:72:0::2;9927:348:1::0;38549:72:0::2;38754:4:::3;::::0;38742:28:::3;::::0;;-1:-1:-1;;;38742:28:0;;;;38782:4:::3;::::0;-1:-1:-1;;;;;38754:4:0::3;::::0;38742:26:::3;::::0;:28:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;38754:4;38742:28;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;38742:45:0::3;;:108;;;;-1:-1:-1::0;38816:5:0::3;::::0;38804:29:::3;::::0;;-1:-1:-1;;;38804:29:0;;;;38845:4:::3;::::0;-1:-1:-1;;;;;38816:5:0::3;::::0;38804:27:::3;::::0;:29:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;38816:5;38804:29;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;38804:46:0::3;;38742:108;:172;;;;-1:-1:-1::0;38876:9:0::3;::::0;38867:30:::3;::::0;;-1:-1:-1;;;38867:30:0;;;;38909:4:::3;::::0;-1:-1:-1;;;;;38876:9:0::3;::::0;38867:28:::3;::::0;:30:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;38876:9;38867:30;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;38867:47:0::3;;38742:172;38720:252;;;::::0;-1:-1:-1;;;38720:252:0;;9429:2:1;38720:252:0::3;::::0;::::3;9411:21:1::0;9468:2;9448:18;;;9441:30;9507:32;9487:18;;;9480:60;9557:18;;38720:252:0::3;9227:354:1::0;38720:252:0::3;50278:14:::4;:12;:14::i;:::-;50328;:12;:14::i;:::-;50303:22;:39:::0;50390:4:::4;::::0;50379:30:::4;::::0;;-1:-1:-1;;;50379:30:0;;;;50353:23:::4;::::0;-1:-1:-1;;;;;50390:4:0::4;::::0;50379:28:::4;::::0;:30:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;50390:4;50379:30;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50353:56;;50432:15;;50424:5;;:23;50420:1940;;;50464:81;50481:63;50538:5;50481:52;50501:31;;50481:15;:19;;:52;;;;:::i;:63::-;50464:16;:81::i;:::-;50420:1940;;;50607:16;;50582:22;;:41;50578:845;;;36282:11;50678:15;:42;50674:133;;;-1:-1:-1::0;36282:11:0::4;50674:133;50825:19;50847:34;50865:15;50847:17;:34::i;:::-;50825:56:::0;-1:-1:-1;50900:26:0::4;50929:43;50966:5;50929:32;:15:::0;50825:56;50929:19:::4;:32::i;:43::-;50900:72:::0;-1:-1:-1;50995:22:0;;50991:417:::4;;51079:9;::::0;51068:35:::4;::::0;;-1:-1:-1;;;51068:35:0;;;;51042:23:::4;::::0;-1:-1:-1;;;;;51079:9:0::4;::::0;51068:33:::4;::::0;:35:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;51079:9;51068:35;::::4;;::::0;::::4;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51042:61:::0;-1:-1:-1;51130:19:0;;51126:263:::4;;51178:36;51195:18;51178:16;:36::i;:::-;51126:263;;;51326:4;::::0;51337:7:::4;::::0;51315:50:::4;::::0;-1:-1:-1;;;51315:50:0;;-1:-1:-1;;;;;51326:4:0::4;51337:7:::0;;::::4;::::0;::::4;51315:50;::::0;::::4;6351:51:1::0;6418:18;;;6411:34;;;51326:4:0;::::4;::::0;51315:21:::4;::::0;6324:18:1;;51315:50:0::4;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51126:263;51019:389;50991:417;50625:798;;50578:845;51491:12;;51466:22;;:37;51462:229;;;51559:32;::::0;:39:::4;::::0;51596:1:::4;51559:36;:39::i;:::-;51524:32;:74:::0;51462:229:::4;;;51674:1;51639:32;:36:::0;51462:229:::4;51711:13;::::0;::::4;;:54:::0;::::4;;;;51753:12;;51728:22;;:37;51711:54;51707:642;;;51786:21;51794:12;;51786:7;:21::i;:::-;51861:1;51826:32;:36:::0;51707:642:::4;;;51903:13;:21:::0;;-1:-1:-1;;51903:21:0::4;::::0;;52124:15:::4;::::0;52098:22:::4;::::0;:41:::4;;::::0;:111:::4;;;52179:30;;52143:32;;:66;52098:111;52094:240;;;52234:21;52242:12;;52234:7;:21::i;:::-;52313:1;52278:32;:36:::0;52094:240:::4;-1:-1:-1::0;38656:5:0::2;::::0;:12:::2;::::0;38666:1:::2;38656:9;:12::i;:::-;38648:5;:20:::0;5627:12;5619:7;:21;;;;;;;;;;;5641:9;5619:32;;;;;;;;:39;;5654:4;-1:-1:-1;;5619:39:0;;;;;;;;5691:10;5669:33;;;;;;:40;;;;;;;;;;50174:2195::o;45334:123::-;45429:4;;45418:31;;;-1:-1:-1;;;45418:31:0;;;;45391:7;;-1:-1:-1;;;;;45429:4:0;;45418:29;;:31;;;;;;;;;;;;;;45429:4;45418:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45411:38;;45334:123;:::o;40043:1745::-;39048:11;;-1:-1:-1;;;39048:11:0;;;;39047:12;39039:54;;;;-1:-1:-1;;;39039:54:0;;12777:2:1;39039:54:0;;;12759:21:1;12816:2;12796:18;;;12789:30;12855:31;12835:18;;;12828:59;12904:18;;39039:54:0;12575:353:1;39039:54:0;-1:-1:-1;;;;;40362:19:0;::::1;40354:38;;;::::0;-1:-1:-1;;;40354:38:0;;10889:2:1;40354:38:0::1;::::0;::::1;10871:21:1::0;10928:1;10908:18;;;10901:29;-1:-1:-1;;;10946:18:1;;;10939:36;10992:18;;40354:38:0::1;10687:329:1::0;40354:38:0::1;-1:-1:-1::0;;;;;40411:20:0;::::1;40403:40;;;::::0;-1:-1:-1;;;40403:40:0;;16863:2:1;40403:40:0::1;::::0;::::1;16845:21:1::0;16902:1;16882:18;;;16875:29;-1:-1:-1;;;16920:18:1;;;16913:37;16967:18;;40403:40:0::1;16661:330:1::0;40403:40:0::1;-1:-1:-1::0;;;;;40462:21:0;::::1;40454:42;;;::::0;-1:-1:-1;;;40454:42:0;;14252:2:1;40454:42:0::1;::::0;::::1;14234:21:1::0;14291:1;14271:18;;;14264:29;-1:-1:-1;;;14309:18:1;;;14302:38;14357:18;;40454:42:0::1;14050:331:1::0;40454:42:0::1;-1:-1:-1::0;;;;;40515:24:0;::::1;40507:48;;;;-1:-1:-1::0;;;40507:48:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;40574:22:0;::::1;40566:46;;;;-1:-1:-1::0;;;40566:46:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;40631:22:0;::::1;40623:46;;;;-1:-1:-1::0;;;40623:46:0::1;;;;;;;:::i;:::-;40682:4;:12:::0;;-1:-1:-1;;;;;;40682:12:0;;::::1;-1:-1:-1::0;;;;;40682:12:0;;::::1;::::0;;;::::1;::::0;;;40705:5:::1;:14:::0;;;::::1;::::0;;::::1;;::::0;;40730:6:::1;:16:::0;;;::::1;::::0;;::::1;;::::0;;40757:9:::1;:22:::0;;;::::1;::::0;;::::1;;::::0;;40790:7:::1;:18:::0;;-1:-1:-1;;;;;;40790:18:0::1;40682:12;40790:18:::0;;::::1;;;::::0;;40819:7:::1;:18:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;40848:9:::1;:22:::0;;;40881:5:::1;:14:::0;;;40922:12:::1;40881:14:::0;-1:-1:-1;40922:9:0::1;:12::i;:::-;40906:13;:28:::0;40945:13:::1;:30:::0;;-1:-1:-1;;;;;;40945:30:0::1;-1:-1:-1::0;;;;;40945:30:0;::::1;;::::0;;41001:8:::1;40986:12;:23:::0;;;41092:13:::1;41074:15;:31:::0;-1:-1:-1;41138:31:0;41224:131:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;41224:131:0;;41248:11:::1;41224:131;::::0;::::1;::::0;41261:11:::1;41224:131:::0;;;;;;;41274:11:::1;41224:131:::0;;;;41287:11:::1;41224:131:::0;;;;41300:11:::1;41224:131:::0;;;;41313:12:::1;41224:131:::0;;;;41327:12:::1;41224:131:::0;;;;41341:13:::1;40945:30;41224:131:::0;;;::::1;::::0;:11:::1;::::0;:131:::1;;:::i;:::-;-1:-1:-1::0;41366:50:0::1;::::0;;::::1;::::0;::::1;::::0;;41387:3:::1;41366:50:::0;;41392:3:::1;41366:50;::::0;::::1;::::0;41397:3:::1;41366:50:::0;;;;;;;41402:3:::1;41366:50:::0;;;;41407:3:::1;41366:50:::0;;;;41412:3:::1;41366:50:::0;;;;::::1;::::0;:17:::1;::::0;:50:::1;;:::i;:::-;-1:-1:-1::0;41427:45:0::1;::::0;;::::1;::::0;::::1;::::0;;41448:3:::1;41427:45:::0;;41453:2:::1;41427:45;::::0;::::1;::::0;41457:2:::1;41427:45:::0;;;;;;;41461:2:::1;41427:45:::0;;;;41465:2:::1;41427:45:::0;;;;;;;;;;::::1;::::0;:17:::1;::::0;:45:::1;;:::i;:::-;-1:-1:-1::0;41496:4:0::1;::::0;41485:52:::1;::::0;-1:-1:-1;;;41485:52:0;;41531:4:::1;41485:52;::::0;::::1;5780:51:1::0;-1:-1:-1;;;;;41496:4:0;;::::1;::::0;41485:37:::1;::::0;5753:18:1;;41485:52:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;41559:4:0::1;::::0;41586:7:::1;::::0;41548:46:::1;::::0;-1:-1:-1;;;41548:46:0;;-1:-1:-1;;;;;41559:4:0::1;41586:7:::0;;::::1;::::0;::::1;41548:46;::::0;::::1;5780:51:1::0;41559:4:0;::::1;::::0;-1:-1:-1;41548:37:0::1;::::0;-1:-1:-1;5753:18:1;;41548:46:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;41616:4:0::1;::::0;41651:9:::1;::::0;41605:57:::1;::::0;-1:-1:-1;;;41605:57:0;;-1:-1:-1;;;;;41651:9:0;;::::1;41605:57;::::0;::::1;5780:51:1::0;41616:4:0;::::1;::::0;-1:-1:-1;41605:37:0::1;::::0;-1:-1:-1;5753:18:1;;41605:57:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;41689:4:0::1;41675:18:::0;;-1:-1:-1;;;;;;41704:21:0;41715:10:::1;41704:21:::0;;;-1:-1:-1;;;41704:21:0;;;;41743:37:::1;::::0;41767:12:::1;17919:25:1::0;;41715:10:0;;-1:-1:-1;41743:37:0::1;::::0;-1:-1:-1;17907:2:1;17892:18;41743:37:0::1;;;;;;;40043:1745:::0;;;;;;;;;:::o;34874:137::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34874:137:0;;-1:-1:-1;34874:137:0;:::o;39423:282::-;39500:6;;39516:4;;39492:35;;-1:-1:-1;;;39492:35:0;;-1:-1:-1;;;;;39516:4:0;;;39492:35;;;6351:51:1;39522:4:0;6418:18:1;;;6411:34;39468:7:0;;39500:6;;;;;39492:23;;6324:18:1;;39492:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39492:35:0;;;;;;;;-1:-1:-1;;39492:35:0;;;;;;;;;;;;:::i;:::-;;;39488:210;;39622:64;;-1:-1:-1;;;39622:64:0;;11997:2:1;39622:64:0;;;11979:21:1;12036:2;12016:18;;;12009:30;12075:34;12055:18;;;12048:62;-1:-1:-1;;;12126:18:1;;;12119:52;12188:19;;39622:64:0;11795:418:1;39488:210:0;-1:-1:-1;;;;;39574:14:0;;39423:282;-1:-1:-1;39423:282:0:o;43063:560::-;38292:8;;43153:4;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;43251:11:::1;:18:::0;43242:27:::1;::::0;::::1;;43234:81;;;;-1:-1:-1::0;;;43234:81:0::1;;;;;;;:::i;:::-;43330:10;::::0;::::1;::::0;43326:84:::1;;43374:11;43386:10;43395:1;43386:6:::0;:10:::1;:::i;:::-;43374:23;;;;;;;;;;:::i;:::-;;;;;;;;;43365:6;:32;43357:41;;;::::0;::::1;;43433:1;43424:6;:10;;;43420:84;;;43468:11;43480:10;:6:::0;43489:1:::1;43480:10;:::i;:::-;43468:23;;;;;;;;;;:::i;:::-;;;;;;;;;43459:6;:32;43451:41;;;::::0;::::1;;43536:6;43514:11;43526:6;43514:19;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;:28:::0;;;;43558:35:::1;::::0;;19737:4:1;19725:17;;19707:36;;19759:18;;;19752:34;;;43558:35:0::1;::::0;19680:18:1;43558:35:0::1;;;;;;;;-1:-1:-1::0;43611:4:0::1;43063:560:::0;;;;:::o;47462:664::-;47639:11;:18;47702:17;:24;47548:7;;;;47745:43;;;47737:79;;;;-1:-1:-1;;;47737:79:0;;15693:2:1;47737:79:0;;;15675:21:1;15732:2;15712:18;;;15705:30;-1:-1:-1;;;15751:18:1;;;15744:53;15814:18;;47737:79:0;15491:347:1;47737:79:0;47834:14;47851:20;47870:1;47851:16;:20;:::i;:::-;47834:37;;47829:245;47930:11;47942:6;47930:19;;;;;;;;:::i;:::-;;;;;;;;;47915:11;:34;47911:152;;47998:17;48016:6;47998:25;;;;;;;;:::i;:::-;;;;;;;;;47970:53;;48042:5;;47911:152;47886:8;;;:::i;:::-;;;47829:245;;;-1:-1:-1;48093:25:0;;47462:664;-1:-1:-1;;;;47462:664:0:o;35313:28::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35313:28:0;:::o;44173:534::-;38292:8;;44269:4;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;44367:17:::1;:24:::0;44358:33:::1;::::0;::::1;;44350:87;;;;-1:-1:-1::0;;;44350:87:0::1;;;;;;;:::i;:::-;36754:2;44456:6;:33;;:70;;;;;36822:4;44493:6;:33;;44456:70;44448:103;;;::::0;-1:-1:-1;;;44448:103:0;;13545:2:1;44448:103:0::1;::::0;::::1;13527:21:1::0;13584:2;13564:18;;;13557:30;-1:-1:-1;;;13603:18:1;;;13596:50;13663:18;;44448:103:0::1;13343:344:1::0;44448:103:0::1;44614:6;44586:17;44604:6;44586:25;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;:34:::0;;;;44636:41:::1;::::0;;19737:4:1;19725:17;;19707:36;;19759:18;;;19752:34;;;44636:41:0::1;::::0;19680:18:1;44636:41:0::1;19537:255:1::0;35348:34:0;;;;;;;;;;;;52636:702;52687:13;52702:19;52723:18;52787:1;52762:22;;:26;52754:69;;;;-1:-1:-1;;;52754:69:0;;11223:2:1;52754:69:0;;;11205:21:1;11262:2;11242:18;;;11235:30;11301:32;11281:18;;;11274:60;11351:18;;52754:69:0;11021:354:1;52754:69:0;52847:14;35551:2;52847;:14;:::i;:::-;52834:27;-1:-1:-1;52872:12:0;52887:56;52934:8;52887:42;52914:14;35551:2;52914;:14;:::i;:::-;52887:22;;;:26;:42::i;:56::-;52965:17;;;;-1:-1:-1;52872:71:0;-1:-1:-1;52993:24:0;35599:14;35551:2;35599;:14;:::i;:::-;52993:30;;53038:8;53034:202;;;53082:45;53116:10;53082:29;35599:14;35551:2;35599;:14;:::i;:::-;53082:20;:10;53097:4;53082:14;:20::i;:45::-;53063:64;;53034:202;;;53179:45;53213:10;53179:29;35599:14;35551:2;35599;:14;:::i;:::-;53179:20;:4;53188:10;53179:8;:20::i;:45::-;53160:64;;53034:202;53262:68;53272:57;35599:14;35551:2;35599;:14;:::i;:::-;53272:48;53303:16;53272:26;:24;:26::i;:57::-;53262:9;:68::i;:::-;53248:82;;52743:595;;52636:702;;;:::o;35389:34::-;;;;;;;;;;;;41796:151;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;41869:8:::1;:20:::0;;-1:-1:-1;;;;;;41869:20:0::1;-1:-1:-1::0;;;;;41869:20:0;::::1;::::0;;::::1;::::0;;;41905:34:::1;::::0;5780:51:1;;;41917:10:0::1;::::0;41905:34:::1;::::0;5768:2:1;5753:18;41905:34:0::1;;;;;;;;41796:151:::0;:::o;41955:157::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;42030:9:::1;:22:::0;;-1:-1:-1;;;;;;42030:22:0::1;-1:-1:-1::0;;;;;42030:22:0;::::1;::::0;;::::1;::::0;;;42068:36:::1;::::0;5780:51:1;;;42081:10:0::1;::::0;42068:36:::1;::::0;5768:2:1;5753:18;42068:36:0::1;5634:203:1::0;39286:114:0;39333:7;39360:32;39374:17;34420:7;39374:5;;:9;;:17;;;;:::i;:::-;39360:9;;;:13;:32::i;48134:664::-;48311:11;:18;48374:17;:24;48220:7;;;;48417:43;;;48409:79;;;;-1:-1:-1;;;48409:79:0;;15693:2:1;48409:79:0;;;15675:21:1;15732:2;15712:18;;;15705:30;-1:-1:-1;;;15751:18:1;;;15744:53;15814:18;;48409:79:0;15491:347:1;48409:79:0;48506:14;48523:20;48542:1;48523:16;:20;:::i;:::-;48506:37;;48501:245;48602:11;48614:6;48602:19;;;;;;;;:::i;:::-;;;;;;;;;48587:11;:34;48583:152;;48670:17;48688:6;48670:25;;;;;;;;:::i;48583:152::-;48558:8;;;:::i;:::-;;;48501:245;;45154:172;45208:6;;;;;;;;;-1:-1:-1;;;;;45208:6:0;-1:-1:-1;;;;;45200:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45196:123;;45249:58;;-1:-1:-1;;;45249:58:0;;8249:2:1;45249:58:0;;;8231:21:1;8288:2;8268:18;;;8261:30;8327:34;8307:18;;;8300:62;-1:-1:-1;;;8378:18:1;;;8371:46;8434:19;;45249:58:0;8047:412:1;43631:534:0;38292:8;;43727:4;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;43825:17:::1;:24:::0;43816:33:::1;::::0;::::1;;43808:87;;;;-1:-1:-1::0;;;43808:87:0::1;;;;;;;:::i;:::-;36754:2;43914:6;:33;;:70;;;;;36822:4;43951:6;:33;;43914:70;43906:103;;;::::0;-1:-1:-1;;;43906:103:0;;13545:2:1;43906:103:0::1;::::0;::::1;13527:21:1::0;13584:2;13564:18;;;13557:30;-1:-1:-1;;;13603:18:1;;;13596:50;13663:18;;43906:103:0::1;13343:344:1::0;43906:103:0::1;44072:6;44044:17;44062:6;44044:25;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;:34:::0;;;;44094:41:::1;::::0;;19737:4:1;19725:17;;19707:36;;19759:18;;;19752:34;;;44094:41:0::1;::::0;19680:18:1;44094:41:0::1;19537:255:1::0;42249:185:0;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;42361:2:::1;42342:15;:21;;42334:48;;;::::0;-1:-1:-1;;;42334:48:0;;9086:2:1;42334:48:0::1;::::0;::::1;9068:21:1::0;9125:2;9105:18;;;9098:30;-1:-1:-1;;;9144:18:1;;;9137:44;9198:18;;42334:48:0::1;8884:338:1::0;42334:48:0::1;42393:15;:33:::0;42249:185::o;42120:121::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;42203:13:::1;:30:::0;;-1:-1:-1;;;;;;42203:30:0::1;-1:-1:-1::0;;;;;42203:30:0;;;::::1;::::0;;;::::1;::::0;;42120:121::o;45465:816::-;45518:7;45538:23;45575:4;;;;;;;;;-1:-1:-1;;;;;45575:4:0;-1:-1:-1;;;;;45564:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45538:56;;36282:11;45609:15;:42;45605:117;;;-1:-1:-1;36282:11:0;45605:117;45734:18;45755:34;45773:15;45755:17;:34::i;:::-;45734:55;-1:-1:-1;45800:23:0;45826:42;45862:5;45826:31;:15;45734:55;45826:19;:31::i;:42::-;45800:68;-1:-1:-1;45881:28:0;45912:50;45958:3;45912:41;45800:68;36475:2;45912:19;:41::i;:50::-;45881:81;-1:-1:-1;45973:28:0;46004:50;46050:3;46004:41;:15;36567:1;46004:19;:41::i;:50::-;45973:81;;46065:35;46103:50;46149:3;46103:41;46123:20;;46103:15;:19;;:41;;;;:::i;:50::-;46065:88;-1:-1:-1;46173:100:0;46065:88;46173:67;46219:20;46173:67;:15;46193:20;46173:19;:41::i;:::-;:45;;:67::i;:100::-;46166:107;;;;;;;;45465:816;:::o;42924:131::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;43012:20:::1;:35:::0;42924:131::o;38037:142::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;38125:30:::1;:46:::0;38037:142::o;39713:276::-;39790:6;;39803:4;;39782:32;;-1:-1:-1;;;39782:32:0;;-1:-1:-1;;;;;39803:4:0;;;39782:32;;;6351:51:1;39809:4:0;6418:18:1;;;6411:34;39758:7:0;;39790:6;;;;;39782:20;;6324:18:1;;39782:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39782:32:0;;;;;;;;-1:-1:-1;;39782:32:0;;;;;;;;;;;;:::i;:::-;;;39778:204;;39909:61;;-1:-1:-1;;;39909:61:0;;8666:2:1;39909:61:0;;;8648:21:1;8705:2;8685:18;;;8678:30;8744:34;8724:18;;;8717:62;-1:-1:-1;;;8795:18:1;;;8788:49;8854:19;;39909:61:0;8464:415:1;42442:126:0;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;42529:4:::1;::::0;42518:42:::1;::::0;-1:-1:-1;;;42518:42:0;;-1:-1:-1;;;;;5798:32:1;;;42518:42:0::1;::::0;::::1;5780:51:1::0;42529:4:0;;::::1;::::0;42518:37:::1;::::0;5753:18:1;;42518:42:0::1;5634:203:1::0;42576:342:0;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;42694:12:::1;;42673:17;:33;;:88;;;;;42731:30;42757:3;42731:21;42748:3;42731:12;;:16;;:21;;;;:::i;:30::-;42710:17;:51;;42673:88;42665:113;;;::::0;-1:-1:-1;;;42665:113:0;;9788:2:1;42665:113:0::1;::::0;::::1;9770:21:1::0;9827:2;9807:18;;;9800:30;-1:-1:-1;;;9846:18:1;;;9839:42;9898:18;;42665:113:0::1;9586:336:1::0;42665:113:0::1;42814:16;:36:::0;;;42866:38:::1;::::0;17919:25:1;;;42866:38:0::1;::::0;17907:2:1;17892:18;42866:38:0::1;;;;;;;42576:342:::0;:::o;14336:98::-;14394:7;14421:5;14425:1;14421;:5;:::i;:::-;14414:12;14336:98;-1:-1:-1;;;14336:98:0:o;13955:::-;14013:7;14040:5;14044:1;14040;:5;:::i;15092:98::-;15150:7;15177:5;15181:1;15177;:5;:::i;14693:98::-;14751:7;14778:5;14782:1;14778;:5;:::i;46289:1165::-;46386:4;;46402:38;;-1:-1:-1;;;46402:38:0;;46425:4;46402:38;;;6351:51:1;6418:18;;;6411:34;;;-1:-1:-1;;;;;46386:4:0;;;;;;46402:14;;6324:18:1;;46402:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;46453:28:0;46484:42;46522:3;46484:33;:7;36475:2;46484:11;:33::i;:42::-;46556:7;;46537:49;;-1:-1:-1;;;46537:49:0;;-1:-1:-1;;;;;46556:7:0;;;;;;46537:49;;;6351:51:1;6418:18;;;6411:34;;;;;-1:-1:-1;46537:18:0;;;;;6324::1;;46537:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;46602:52:0;;;46616:15;18584:25:1;;18640:2;18625:18;;18618:34;;;46602:52:0;;18557:18:1;46602:52:0;;;;;;;46667:28;46698:42;46736:3;46698:33;:7;36567:1;46698:11;:33::i;:42::-;46770:7;;46751:49;;-1:-1:-1;;;46751:49:0;;-1:-1:-1;;;;;46770:7:0;;;46751:49;;;6351:51:1;6418:18;;;6411:34;;;46667:73:0;;-1:-1:-1;46751:18:0;;;;;6324::1;;46751:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;46816:52:0;;;46830:15;18584:25:1;;18640:2;18625:18;;18618:34;;;46816:52:0;;18557:18:1;46816:52:0;;;;;;;46882:34;46919:42;46957:3;46919:33;46931:20;;46919:7;:11;;:33;;;;:::i;:42::-;46991:13;;46972:61;;-1:-1:-1;;;46972:61:0;;-1:-1:-1;;;;;46991:13:0;;;46972:61;;;6351:51:1;6418:18;;;6411:34;;;46882:79:0;;-1:-1:-1;46972:18:0;;;;;6324::1;;46972:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;47049:61:0;;;47066:15;18584:25:1;;18640:2;18625:18;;18618:34;;;47049:61:0;;18557:18:1;47049:61:0;;;;;;;47133:91;47197:26;47133:59;47171:20;47133:59;:7;47145:20;47133:11;:33::i;:91::-;47260:9;;47242:4;;47123:101;;-1:-1:-1;47235:38:0;;-1:-1:-1;;;;;47242:4:0;;;;47260:9;;47235:24;:38::i;:::-;47309:9;;47291:4;;47284:44;;-1:-1:-1;;;;;47291:4:0;;;;47309:9;47320:7;47284:24;:44::i;:::-;47350:9;;47339:50;;-1:-1:-1;;;47339:50:0;;;;;17919:25:1;;;-1:-1:-1;;;;;47350:9:0;;;;47339:41;;17892:18:1;;47339:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47405:41:0;;;47421:15;18584:25:1;;18640:2;18625:18;;18618:34;;;47405:41:0;;-1:-1:-1;18557:18:1;;-1:-1:-1;47405:41:0;;;;;;;46341:1113;;;;46289:1165;:::o;53724:911::-;38292:8;;-1:-1:-1;;;;;38292:8:0;38304:10;38292:22;38284:71;;;;-1:-1:-1;;;38284:71:0;;;;;;;:::i;:::-;53810:13:::1;;53801:5;;:22;;53793:48;;;::::0;-1:-1:-1;;;53793:48:0;;15351:2:1;53793:48:0::1;::::0;::::1;15333:21:1::0;15390:2;15370:18;;;15363:30;-1:-1:-1;;;15409:18:1;;;15402:43;15462:18;;53793:48:0::1;15149:337:1::0;53793:48:0::1;53853:13;53868:19:::0;53889:18:::1;53911:20;:18;:20::i;:::-;53852:79;;;;;;53944:22;53976:4;;;;;;;;;-1:-1:-1::0;;;;;53976:4:0::1;-1:-1:-1::0;;;;;53969:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53944:51:::0;-1:-1:-1;53944:51:0;54060:15;;54056:453:::1;;54092:13;:20:::0;;-1:-1:-1;;54092:20:0::1;54108:4;54092:20;::::0;;35931:14:::1;35551:2;35931;:14;:::i;:::-;35920:25;::::0;:8:::1;:25;:::i;:::-;36033:36;::::0;-1:-1:-1;;;;;36033:36:0::1;:::i;:::-;54131:40;:14:::0;54158:11;54131:18:::1;:40::i;:::-;:53;54127:138;;;54219:30;54234:14:::0;35931::::1;35551:2;35931;:14;:::i;:::-;35920:25;::::0;:8:::1;:25;:::i;:::-;36033:36;::::0;-1:-1:-1;;;;;36033:36:0::1;:::i;54219:30::-;54205:44;;54127:138;54309:4;::::0;54322:5:::1;::::0;54298:53:::1;::::0;-1:-1:-1;;;54298:53:0;;::::1;::::0;::::1;18859:25:1::0;;;;18900:18;;;18893:34;;;18970:14;;18963:22;18943:18;;;18936:50;-1:-1:-1;;;;;54309:4:0;;::::1;::::0;54298:23:::1;::::0;18832:18:1;;54298:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54281:70:::0;-1:-1:-1;35931:14:0::1;35551:2;35931;:14;:::i;:::-;35920:25;::::0;:8:::1;:25;:::i;:::-;36033:36;::::0;-1:-1:-1;;;;;36033:36:0::1;:::i;:::-;54374:14;:28;;54366:69;;;::::0;-1:-1:-1;;;54366:69:0;;12420:2:1;54366:69:0::1;::::0;::::1;12402:21:1::0;12459:2;12439:18;;;12432:30;12498;12478:18;;;12471:58;12546:18;;54366:69:0::1;12218:352:1::0;54366:69:0::1;54466:5;::::0;54450:13:::1;:21:::0;54486:11:::1;:9;:11::i;:::-;54536:5;::::0;54526:101:::1;::::0;;19284:25:1;;;19340:2;19325:18;;19318:34;;;19368:18;;;19361:34;;;19426:2;19411:18;;19404:34;;;19469:3;19454:19;;19447:35;;;54611:15:0::1;19513:3:1::0;19498:19;;19491:35;54526:101:0::1;::::0;19271:3:1;19256:19;54526:101:0::1;;;;;;;53782:853;;;;;53724:911:::0;:::o;53346:370::-;53404:7;;53445:50;36163:12;36174:1;35551:2;36163:12;:::i;:::-;36156:20;;:2;:20;:::i;:::-;53445:28;36163:12;36174:1;35551:2;36163:12;:::i;:::-;36156:20;;:2;:20;:::i;:::-;53445:6;;:10;:28::i;:50::-;53424:71;-1:-1:-1;53506:13:0;53522:22;:6;53424:71;53522:10;:22::i;:::-;53506:38;-1:-1:-1;53568:23:0;53589:1;36163:12;36174:1;35551:2;36163:12;:::i;:::-;36156:20;;:2;:20;:::i;53568:23::-;53559:5;:32;53555:154;;53615:32;36163:12;36174:1;35551:2;36163:12;:::i;:::-;36156:20;;:2;:20;:::i;:::-;53615:10;;:14;:32::i;53555:154::-;-1:-1:-1;53687:10:0;53346:370;-1:-1:-1;;53346:370:0:o;31145:616::-;31509:10;;;31508:62;;-1:-1:-1;31525:39:0;;-1:-1:-1;;;31525:39:0;;31549:4;31525:39;;;6054:34:1;-1:-1:-1;;;;;6124:15:1;;;6104:18;;;6097:43;31525:15:0;;;;;5989:18:1;;31525:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;31508:62;31486:166;;;;-1:-1:-1;;;31486:166:0;;17198:2:1;31486:166:0;;;17180:21:1;17237:2;17217:18;;;17210:30;17276:34;17256:18;;;17249:62;-1:-1:-1;;;17327:18:1;;;17320:52;17389:19;;31486:166:0;16996:418:1;31486:166:0;31690:62;;;-1:-1:-1;;;;;6369:32:1;;31690:62:0;;;6351:51:1;6418:18;;;;6411:34;;;31690:62:0;;;;;;;;;;6324:18:1;;;;31690:62:0;;;;;;;;-1:-1:-1;;;;;31690:62:0;-1:-1:-1;;;31690:62:0;;;31663:90;;31683:5;;31663:19;:90::i;:::-;31145:616;;;:::o;33476:716::-;33900:23;33926:69;33954:4;33926:69;;;;;;;;;;;;;;;;;33934:5;-1:-1:-1;;;;;33926:27:0;;;:69;;;;;:::i;:::-;34010:17;;33900:95;;-1:-1:-1;34010:21:0;34006:179;;34107:10;34096:30;;;;;;;;;;;;:::i;:::-;34088:85;;;;-1:-1:-1;;;34088:85:0;;16045:2:1;34088:85:0;;;16027:21:1;16084:2;16064:18;;;16057:30;16123:34;16103:18;;;16096:62;-1:-1:-1;;;16174:18:1;;;16167:40;16224:19;;34088:85:0;15843:406:1;24335:229:0;24472:12;24504:52;24526:6;24534:4;24540:1;24543:12;24472;25743;25757:23;25784:6;-1:-1:-1;;;;;25784:11:0;25803:5;25810:4;25784:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25742:73;;;;25833:69;25860:6;25868:7;25877:10;25889:12;25833:26;:69::i;:::-;25826:76;25455:455;-1:-1:-1;;;;;;;25455:455:0:o;28028:644::-;28213:12;28242:7;28238:427;;;28270:17;;28266:290;;-1:-1:-1;;;;;21873:19:0;;;28480:60;;;;-1:-1:-1;;;28480:60:0;;14993:2:1;28480:60:0;;;14975:21:1;15032:2;15012:18;;;15005:30;15071:31;15051:18;;;15044:59;15120:18;;28480:60:0;14791:353:1;28480:60:0;-1:-1:-1;28577:10:0;28570:17;;28238:427;28620:33;28628:10;28640:12;29375:17;;:21;29371:388;;29607:10;29601:17;29664:15;29651:10;29647:2;29643:19;29636:44;29371:388;29734:12;29727:20;;-1:-1:-1;;;29727:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;902:251::-;972:6;1025:2;1013:9;1004:7;1000:23;996:32;993:52;;;1041:1;1038;1031:12;993:52;1073:9;1067:16;1092:31;1117:5;1092:31;:::i;1158:1235::-;1289:6;1297;1305;1313;1321;1329;1337;1345;1353;1406:3;1394:9;1385:7;1381:23;1377:33;1374:53;;;1423:1;1420;1413:12;1374:53;1462:9;1449:23;1481:31;1506:5;1481:31;:::i;:::-;1531:5;-1:-1:-1;1588:2:1;1573:18;;1560:32;1601:33;1560:32;1601:33;:::i;:::-;1653:7;-1:-1:-1;1712:2:1;1697:18;;1684:32;1725:33;1684:32;1725:33;:::i;:::-;1777:7;-1:-1:-1;1836:2:1;1821:18;;1808:32;1849:33;1808:32;1849:33;:::i;:::-;1901:7;-1:-1:-1;1960:3:1;1945:19;;1932:33;1974;1932;1974;:::i;:::-;2026:7;-1:-1:-1;2085:3:1;2070:19;;2057:33;2099;2057;2099;:::i;:::-;2151:7;-1:-1:-1;2205:3:1;2190:19;;2177:33;;-1:-1:-1;2257:3:1;2242:19;;2229:33;;-1:-1:-1;2314:3:1;2299:19;;2286:33;2328;2286;2328;:::i;:::-;2380:7;2370:17;;;1158:1235;;;;;;;;;;;:::o;2398:1002::-;2503:6;2511;2519;2527;2580:3;2568:9;2559:7;2555:23;2551:33;2548:53;;;2597:1;2594;2587:12;2548:53;2636:9;2623:23;2655:31;2680:5;2655:31;:::i;:::-;2705:5;-1:-1:-1;2757:2:1;2742:18;;2729:32;;-1:-1:-1;2812:2:1;2797:18;;2784:32;2835:18;2865:14;;;2862:34;;;2892:1;2889;2882:12;2862:34;2930:6;2919:9;2915:22;2905:32;;2975:7;2968:4;2964:2;2960:13;2956:27;2946:55;;2997:1;2994;2987:12;2946:55;3020:73;3085:7;3080:2;3067:16;3062:2;3058;3054:11;3020:73;:::i;:::-;3010:83;;3146:2;3135:9;3131:18;3118:32;3102:48;;3175:2;3165:8;3162:16;3159:36;;;3191:1;3188;3181:12;3159:36;-1:-1:-1;3214:24:1;;3269:4;3261:13;;3257:27;-1:-1:-1;3247:55:1;;3298:1;3295;3288:12;3247:55;3321:73;3386:7;3381:2;3368:16;3363:2;3359;3355:11;3321:73;:::i;:::-;3311:83;;;2398:1002;;;;;;;:::o;3405:277::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3573:9;3567:16;3626:5;3619:13;3612:21;3605:5;3602:32;3592:60;;3648:1;3645;3638:12;3687:309;3757:6;3810:2;3798:9;3789:7;3785:23;3781:32;3778:52;;;3826:1;3823;3816:12;3778:52;3858:9;3852:16;-1:-1:-1;;;;;3901:5:1;3897:50;3890:5;3887:61;3877:89;;3962:1;3959;3952:12;4001:180;4060:6;4113:2;4101:9;4092:7;4088:23;4084:32;4081:52;;;4129:1;4126;4119:12;4081:52;-1:-1:-1;4152:23:1;;4001:180;-1:-1:-1;4001:180:1:o;4186:184::-;4256:6;4309:2;4297:9;4288:7;4284:23;4280:32;4277:52;;;4325:1;4322;4315:12;4277:52;-1:-1:-1;4348:16:1;;4186:184;-1:-1:-1;4186:184:1:o;4375:337::-;4441:6;4449;4502:2;4490:9;4481:7;4477:23;4473:32;4470:52;;;4518:1;4515;4508:12;4470:52;4557:9;4544:23;4607:4;4600:5;4596:16;4589:5;4586:27;4576:55;;4627:1;4624;4617:12;4576:55;4650:5;4702:2;4687:18;;;;4674:32;;-1:-1:-1;;;4375:337:1:o;4717:257::-;4758:3;4796:5;4790:12;4823:6;4818:3;4811:19;4839:63;4895:6;4888:4;4883:3;4879:14;4872:4;4865:5;4861:16;4839:63;:::i;:::-;4956:2;4935:15;-1:-1:-1;;4931:29:1;4922:39;;;;4963:4;4918:50;;4717:257;-1:-1:-1;;4717:257:1:o;4979:371::-;-1:-1:-1;;;;;;5164:33:1;;5152:46;;5221:13;;5134:3;;5243:61;5221:13;5293:1;5284:11;;5277:4;5265:17;;5243:61;:::i;:::-;5324:16;;;;5342:1;5320:24;;4979:371;-1:-1:-1;;;4979:371:1:o;5355:274::-;5484:3;5522:6;5516:13;5538:53;5584:6;5579:3;5572:4;5564:6;5560:17;5538:53;:::i;:::-;5607:16;;;;;5355:274;-1:-1:-1;;5355:274:1:o;7261:217::-;7408:2;7397:9;7390:21;7371:4;7428:44;7468:2;7457:9;7453:18;7445:6;7428:44;:::i;7707:335::-;7909:2;7891:21;;;7948:2;7928:18;;;7921:30;-1:-1:-1;;;7982:2:1;7967:18;;7960:41;8033:2;8018:18;;7707:335::o;12933:405::-;13135:2;13117:21;;;13174:2;13154:18;;;13147:30;13213:34;13208:2;13193:18;;13186:62;-1:-1:-1;;;13279:2:1;13264:18;;13257:39;13328:3;13313:19;;12933:405::o;14386:400::-;14588:2;14570:21;;;14627:2;14607:18;;;14600:30;14666:34;14661:2;14646:18;;14639:62;-1:-1:-1;;;14732:2:1;14717:18;;14710:34;14776:3;14761:19;;14386:400::o;16254:402::-;16456:2;16438:21;;;16495:2;16475:18;;;16468:30;16534:34;16529:2;16514:18;;16507:62;-1:-1:-1;;;16600:2:1;16585:18;;16578:36;16646:3;16631:19;;16254:402::o;17955:450::-;18178:6;18167:9;18160:25;18221:2;18216;18205:9;18201:18;18194:30;18141:4;18247:44;18287:2;18276:9;18272:18;18264:6;18247:44;:::i;:::-;18339:9;18331:6;18327:22;18322:2;18311:9;18307:18;18300:50;18367:32;18392:6;18384;18367:32;:::i;:::-;18359:40;17955:450;-1:-1:-1;;;;;;17955:450:1:o;19797:128::-;19837:3;19868:1;19864:6;19861:1;19858:13;19855:39;;;19874:18;;:::i;:::-;-1:-1:-1;19910:9:1;;19797:128::o;19930:204::-;19968:3;20004:4;20001:1;19997:12;20036:4;20033:1;20029:12;20071:3;20065:4;20061:14;20056:3;20053:23;20050:49;;;20079:18;;:::i;:::-;20115:13;;19930:204;-1:-1:-1;;;19930:204:1:o;20139:217::-;20179:1;20205;20195:132;;20249:10;20244:3;20240:20;20237:1;20230:31;20284:4;20281:1;20274:15;20312:4;20309:1;20302:15;20195:132;-1:-1:-1;20341:9:1;;20139:217::o;20361:422::-;20450:1;20493:5;20450:1;20507:270;20528:7;20518:8;20515:21;20507:270;;;20587:4;20583:1;20579:6;20575:17;20569:4;20566:27;20563:53;;;20596:18;;:::i;:::-;20646:7;20636:8;20632:22;20629:55;;;20666:16;;;;20629:55;20745:22;;;;20705:15;;;;20507:270;;;20511:3;20361:422;;;;;:::o;20788:131::-;20848:5;20877:36;20904:8;20898:4;20973:5;21003:8;20993:80;;-1:-1:-1;21044:1:1;21058:5;;20993:80;21092:4;21082:76;;-1:-1:-1;21129:1:1;21143:5;;21082:76;21174:4;21192:1;21187:59;;;;21260:1;21255:130;;;;21167:218;;21187:59;21217:1;21208:10;;21231:5;;;21255:130;21292:3;21282:8;21279:17;21276:43;;;21299:18;;:::i;:::-;-1:-1:-1;;21355:1:1;21341:16;;21370:5;;21167:218;;21469:2;21459:8;21456:16;21450:3;21444:4;21441:13;21437:36;21431:2;21421:8;21418:16;21413:2;21407:4;21404:12;21400:35;21397:77;21394:159;;;-1:-1:-1;21506:19:1;;;21538:5;;21394:159;21585:34;21610:8;21604:4;21585:34;:::i;:::-;21655:6;21651:1;21647:6;21643:19;21634:7;21631:32;21628:58;;;21666:18;;:::i;:::-;21704:20;;20924:806;-1:-1:-1;;;20924:806:1:o;21735:168::-;21775:7;21841:1;21837;21833:6;21829:14;21826:1;21823:21;21818:1;21811:9;21804:17;21800:45;21797:71;;;21848:18;;:::i;:::-;-1:-1:-1;21888:9:1;;21735:168::o;21908:125::-;21948:4;21976:1;21973;21970:8;21967:34;;;21981:18;;:::i;:::-;-1:-1:-1;22018:9:1;;21908:125::o;22038:195::-;22076:4;22113;22110:1;22106:12;22145:4;22142:1;22138:12;22170:3;22165;22162:12;22159:38;;;22177:18;;:::i;:::-;22214:13;;;22038:195;-1:-1:-1;;;22038:195:1:o;22238:258::-;22310:1;22320:113;22334:6;22331:1;22328:13;22320:113;;;22410:11;;;22404:18;22391:11;;;22384:39;22356:2;22349:10;22320:113;;;22451:6;22448:1;22445:13;22442:48;;;22486:1;22477:6;22472:3;22468:16;22461:27;22442:48;;22238:258;;;:::o;22501:136::-;22540:3;22568:5;22558:39;;22577:18;;:::i;:::-;-1:-1:-1;;;22613:18:1;;22501:136::o;22642:127::-;22703:10;22698:3;22694:20;22691:1;22684:31;22734:4;22731:1;22724:15;22758:4;22755:1;22748:15;22774:127;22835:10;22830:3;22826:20;22823:1;22816:31;22866:4;22863:1;22856:15;22890:4;22887:1;22880:15;22906:127;22967:10;22962:3;22958:20;22955:1;22948:31;22998:4;22995:1;22988:15;23022:4;23019:1;23012:15;23038:131;-1:-1:-1;;;;;23113:31:1;;23103:42;;23093:70;;23159:1;23156;23149:12;23093:70;23038:131;:::o

Metadata Hash

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