ETH Price: $3,232.76 (+1.20%)

Token

Poly Maximus (POLY)
 

Overview

Max Total Supply

1,733,385,921,719.701502402 POLY

Holders

1,826

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
50,000,000 POLY

Value
$0.00
0x76632607bbe305eedf3ef0f6aa933b58f4ad54ec
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PolyMaximus

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 420 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-05
*/

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


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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


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

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


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

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


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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


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

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


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

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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);
            }
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.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");
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: contracts/PolyMaximus.sol


pragma solidity ^0.8.4;









/// Contract Interfaces and Abstract contracts
    // this interface comes directly from the Icosa contract. Many of these are not used in Poly Maximus
    interface HedronContract {
        struct LiquidationStore{
            uint256 liquidationStart;
            address hsiAddress;
            uint96  bidAmount;
            address liquidator;
            uint88  endOffset;
            bool    isActive;
        }
        struct HEXStakeMinimal {
        uint40 stakeId;
        uint72 stakeShares;
        uint16 lockedDay;
        uint16 stakedDays;
        }
        event Approval(
            address indexed owner,
            address indexed spender,
            uint256 value
        );
        event Claim(uint256 data, address indexed claimant, uint40 indexed stakeId);
        event LoanEnd(
            uint256 data,
            address indexed borrower,
            uint40 indexed stakeId
        );
        event LoanLiquidateBid(
            uint256 data,
            address indexed bidder,
            uint40 indexed stakeId,
            uint40 indexed liquidationId
        );
        event LoanLiquidateExit(
            uint256 data,
            address indexed liquidator,
            uint40 indexed stakeId,
            uint40 indexed liquidationId
        );
        event LoanLiquidateStart(
            uint256 data,
            address indexed borrower,
            uint40 indexed stakeId,
            uint40 indexed liquidationId
        );
        event LoanPayment(
            uint256 data,
            address indexed borrower,
            uint40 indexed stakeId
        );
        event LoanStart(
            uint256 data,
            address indexed borrower,
            uint40 indexed stakeId
        );
        event Mint(uint256 data, address indexed minter, uint40 indexed stakeId);
        event Transfer(address indexed from, address indexed to, uint256 value);

        function allowance(address owner, address spender)
            external
            view
            returns (uint256);

        function approve(address spender, uint256 amount) external returns (bool);

        function balanceOf(address account) external view returns (uint256);

        function calcLoanPayment(
            address borrower,
            uint256 hsiIndex,
            address hsiAddress
        ) external view returns (uint256, uint256);

        function calcLoanPayoff(
            address borrower,
            uint256 hsiIndex,
            address hsiAddress
        ) external view returns (uint256, uint256);

        function claimInstanced(
            uint256 hsiIndex,
            address hsiAddress,
            address hsiStarterAddress
        ) external;

        function claimNative(uint256 stakeIndex, uint40 stakeId)
            external
            returns (uint256);

        function currentDay() external view returns (uint256);

        function dailyDataList(uint256)
            external
            view
            returns (
                uint72 dayMintedTotal,
                uint72 dayLoanedTotal,
                uint72 dayBurntTotal,
                uint32 dayInterestRate,
                uint8 dayMintMultiplier
            );

        function decimals() external view returns (uint8);

        function decreaseAllowance(address spender, uint256 subtractedValue)
            external
            returns (bool);

        function hsim() external view returns (address);

        function increaseAllowance(address spender, uint256 addedValue)
            external
            returns (bool);

        function liquidationList(uint256)
            external
            view
            returns (LiquidationStore memory);
            /*
            returns (
                uint256 liquidationStart,
                address hsiAddress,
                uint96 bidAmount,
                address liquidator,
                uint88 endOffset,
                bool isActive
            );*/

        function loanInstanced(uint256 hsiIndex, address hsiAddress)
            external
            returns (uint256);

        function loanLiquidate(
            address owner,
            uint256 hsiIndex,
            address hsiAddress
        ) external returns (uint256);

        function loanLiquidateBid(uint256 liquidationId, uint256 liquidationBid)
            external
            returns (uint256);

        function loanLiquidateExit(uint256 hsiIndex, uint256 liquidationId)
            external
            returns (address);

        function loanPayment(uint256 hsiIndex, address hsiAddress)
            external
            returns (uint256);

        function loanPayoff(uint256 hsiIndex, address hsiAddress)
            external
            returns (uint256);

        function loanedSupply() external view returns (uint256);

        function mintInstanced(uint256 hsiIndex, address hsiAddress)
            external
            returns (uint256);

        function mintNative(uint256 stakeIndex, uint40 stakeId)
            external
            returns (uint256);

        function name() external view returns (string memory);

        function proofOfBenevolence(uint256 amount) external;

        function shareList(uint256)
            external
            view
            returns (
                HEXStakeMinimal memory stake,
                uint16 mintedDays,
                uint8 launchBonus,
                uint16 loanStart,
                uint16 loanedDays,
                uint32 interestRate,
                uint8 paymentsMade,
                bool isLoaned
            );

        function symbol() external view returns (string memory);

        function totalSupply() external view returns (uint256);

        function transfer(address recipient, uint256 amount)
            external
            returns (bool);

        function transferFrom(
            address sender,
            address recipient,
            uint256 amount
        ) external returns (bool);
    }
    // this comes from the icosa contract. Used for staking HDRN
    interface IcosaInterface {
        event Approval(
            address indexed owner,
            address indexed spender,
            uint256 value
        );
        event HDRNStakeAddCapital(uint256 data, address indexed staker);
        event HDRNStakeEnd(uint256 data, address indexed staker);
        event HDRNStakeStart(uint256 data, address indexed staker);
        event HDRNStakingStats(
            uint256 data,
            uint256 payout,
            uint256 indexed stakeDay
        );
        event HSIBuyBack(
            uint256 price,
            address indexed seller,
            uint40 indexed stakeId
        );
        event ICSAStakeAddCapital(uint256 data, address indexed staker);
        event ICSAStakeEnd(uint256 data0, uint256 data1, address indexed staker);
        event ICSAStakeStart(uint256 data, address indexed staker);
        event ICSAStakingStats(
            uint256 data,
            uint256 payoutIcsa,
            uint256 payoutHdrn,
            uint256 indexed stakeDay
        );
        event NFTStakeEnd(
            uint256 data,
            address indexed staker,
            uint96 indexed nftId
        );
        event NFTStakeStart(
            uint256 data,
            address indexed staker,
            uint96 indexed nftId,
            address indexed tokenAddress
        );
        event NFTStakingStats(
            uint256 data,
            uint256 payout,
            uint256 indexed stakeDay
        );
        event Transfer(address indexed from, address indexed to, uint256 value);

        function allowance(address owner, address spender)
            external
            view
            returns (uint256);

        function approve(address spender, uint256 amount) external returns (bool);

        function balanceOf(address account) external view returns (uint256);

        function currentDay() external view returns (uint256);

        function decimals() external view returns (uint8);

        function decreaseAllowance(address spender, uint256 subtractedValue)
            external
            returns (bool);

        function hdrnPoolIcsaCollected() external view returns (uint256);

        function hdrnPoolPayout(uint256) external view returns (uint256);

        function hdrnPoolPoints(uint256) external view returns (uint256);

        function hdrnPoolPointsRemoved() external view returns (uint256);

        function hdrnSeedLiquidity(uint256) external view returns (uint256);

        function hdrnStakeAddCapital(uint256 amount) external returns (uint256);

        function hdrnStakeEnd()
            external
            returns (
                uint256,
                uint256,
                uint256
            );

        function hdrnStakeStart(uint256 amount) external returns (uint256);

        function hdrnStakes(address)
            external
            view
            returns (
                uint64 stakeStart,
                uint64 capitalAdded,
                uint120 stakePoints,
                bool isActive,
                uint80 payoutPreCapitalAddIcsa,
                uint80 payoutPreCapitalAddHdrn,
                uint80 stakeAmount,
                uint16 minStakeLength
            );

        function hexStakeSell(uint256 tokenId) external returns (uint256);

        function icsaPoolHdrnCollected() external view returns (uint256);

        function icsaPoolIcsaCollected() external view returns (uint256);

        function icsaPoolPayoutHdrn(uint256) external view returns (uint256);

        function icsaPoolPayoutIcsa(uint256) external view returns (uint256);

        function icsaPoolPoints(uint256) external view returns (uint256);

        function icsaPoolPointsRemoved() external view returns (uint256);

        function icsaSeedLiquidity(uint256) external view returns (uint256);

        function icsaStakeAddCapital(uint256 amount) external returns (uint256);

        function icsaStakeEnd()
            external
            returns (
                uint256,
                uint256,
                uint256,
                uint256,
                uint256
            );

        function icsaStakeStart(uint256 amount) external returns (uint256);

        function icsaStakedSupply() external view returns (uint256);

        function icsaStakes(address)
            external
            view
            returns (
                uint64 stakeStart,
                uint64 capitalAdded,
                uint120 stakePoints,
                bool isActive,
                uint80 payoutPreCapitalAddIcsa,
                uint80 payoutPreCapitalAddHdrn,
                uint80 stakeAmount,
                uint16 minStakeLength
            );

        function increaseAllowance(address spender, uint256 addedValue)
            external
            returns (bool);

        function injectSeedLiquidity(uint256 amount, uint256 seedDays) external;

        function launchDay() external view returns (uint256);

        function name() external view returns (string memory);

        function nftPoolIcsaCollected() external view returns (uint256);

        function nftPoolPayout(uint256) external view returns (uint256);

        function nftPoolPoints(uint256) external view returns (uint256);

        function nftPoolPointsRemoved() external view returns (uint256);

        function nftStakeEnd(uint256 nftId) external returns (uint256);

        function nftStakeStart(uint256 amount, address tokenAddress)
            external
            payable
            returns (uint256);

        function nftStakes(uint256)
            external
            view
            returns (
                uint64 stakeStart,
                uint64 capitalAdded,
                uint120 stakePoints,
                bool isActive,
                uint80 payoutPreCapitalAddIcsa,
                uint80 payoutPreCapitalAddHdrn,
                uint80 stakeAmount,
                uint16 minStakeLength
            );

        function symbol() external view returns (string memory);

        function totalSupply() external view returns (uint256);

        function transfer(address to, uint256 amount) external returns (bool);

        function transferFrom(
            address from,
            address to,
            uint256 amount
        ) external returns (bool);

        function waatsa() external view returns (address);
    }
    // used in ThankYouTeam escrow contract
    contract TEAMContract {
        function getCurrentPeriod() public view returns (uint256) {}
    }
    contract HEXContract {
        function currentDay() external view returns (uint256){}
        function stakeStart(uint256 newStakedHearts, uint256 newStakedDays) external {}
        function stakeEnd(uint256 stakeIndex, uint40 stakeIdParam) external {}
    }
    contract HedronContracts {
        struct HEXStakeMinimal {
        uint40 stakeId;
        uint72 stakeShares;
        uint16 lockedDay;
        uint16 stakedDays;
        }

        struct ShareStore {
            HEXStakeMinimal stake;
            uint16          mintedDays;
            uint8           launchBonus;
            uint16          loanStart;
            uint16          loanedDays;
            uint32          interestRate;
            uint8           paymentsMade;
            bool            isLoaned;
        }
        struct LiquidationStore{
            uint256 liquidationStart;
            address hsiAddress;
            uint96  bidAmount;
            address liquidator;
            uint88  endOffset;
            bool    isActive;
        }

    function currentDay() external view returns (uint256) {}
    function liquidationList(uint256 index) public view returns (LiquidationStore memory) {}
    function shareList(uint256 hshi_id) public view returns (ShareStore memory) {}
    function mintInstanced(uint256 hsiIndex,address hsiAddress) external returns (uint256){}
    function mintNative(uint256 stakeIndex, uint40 stakeId) external returns (uint256){}
    function loanLiquidate(address owner,uint256 hsiIndex,address hsiAddress) external returns (uint256) {}
    function loanLiquidateBid (uint256 liquidationId,uint256 liquidationBid) external returns (uint256) {}
    function loanLiquidateExit(uint256 hsiIndex, uint256 liquidationId) external returns (address) {}
    }
    contract HSIContract{
        struct HEXStakeMinimal {
        uint40 stakeId;
        uint72 stakeShares;
        uint16 lockedDay;
        uint16 stakedDays;
        }

        struct ShareStore {
            HEXStakeMinimal stake;
            uint16          mintedDays;
            uint8           launchBonus;
            uint16          loanStart;
            uint16          loanedDays;
            uint32          interestRate;
            uint8           paymentsMade;
            bool            isLoaned;
        }
        struct HEXStake {
        uint40 stakeId;
        uint72 stakedHearts;
        uint72 stakeShares;
        uint16 lockedDay;
        uint16 stakedDays;
        uint16 unlockedDay;
        bool   isAutoStake;
        }
    
        function share() public view returns (ShareStore memory) {}
        function goodAccounting() external {}
        function stakeDataFetch(
        ) 
            external
            view
            returns(HEXStake memory)
        {}
    }
    contract HSIManagerContract {
        mapping(address => address[]) public  hsiLists;
        function hexStakeDetokenize (uint256 tokenId) external returns (address) {}
        function hexStakeStart ( uint256 amount, uint256 length) external returns (address) {}
        function hexStakeEnd (uint256 hsiIndex,address hsiAddress) external returns (uint256) {}
        function ownerOf(uint256 tokenId) public view virtual returns (address) {}
        function hsiToken(uint256 hsiIndex) public view returns (address) {}
        function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual  returns (uint256) {}
        function safeTransferFrom(
            address from,
            address to,
            uint256 tokenId
        ) public virtual  {}
        function transferFrom(
            address from,
            address to,
            uint256 tokenId
        ) external {}
    }





contract PolyMaximus is ERC20, ERC20Burnable, ReentrancyGuard {

    /*
    Poly Maximus is a HDRN pool for bidding in the HSIs available in the Hedron Liquidation Auctions.

    * Minting and Redemption Rules:
        - Mint 1 POLY per 1 HDRN deposited to the contract before or on the LAST_POSSIBLE_MINTING_DAY.
        - When minting, users vote for their recommended Bidding Budget as a percent of the entire Poly Maximus HDRN Treasury. Votes on LAST_POSSIBLE_MINTING_DAY default to 100%.
        - When there are less than 2 days left in minting, someone needs to run finalizeMinting() which activates bidding phase, stakes HDRN, and allocates the bidding budget. Then after minting someone needs to run flushLateMint
        - All HDRN deposited on the Late Minting Day is added to the bidding budget.
        - The redemption phase begins once all stakes are ended. Users run redeemPoly() which burns POLY and transfers them the corresponding HEX, HDRN, and ICSA per the REDEMPTION_RATE values.
    
    * HSI Auction Executor
        - The Executor is an address, or set of addresses which are able to run the bid() function completely at their discretion.
        - Poly Maximus Participants agree to not have any expectations of the performance of The Executor. 
        - If the executor does not make any bids over any 30 day period, the bidding is considered done and the remaining HDRN gets staked via Icosa.
    
    * HSI Management:
        - As HSIs enter the contract after succesful auctions, someone needs to run processHSI() which records information about the stake and schedules the ending of the stakes.
        - After each HSI ends, someone needs to run endHSIStake() to mint the HDRN and end the HEX stake. If it is the last scheduled HSI, it activates the redemption period.
        - if one of the HSIs ends with at least a year left until the LAST_ACTIVE_HSI ends, the HEX is restaked until right before the LAST_ACTIVE_HSI ends and the HDRN is added to the Icosa Hedron stake.

    * Thank You Maximus Team:
        - As an expression of gratitude for the outsized benefits of participating in Poly Maximus, 1% of the incoming HDRN and 1% of the outgoing HEX is gifted to TEAM
            - Before or on MINTING_PHASE_END
            -of the 1% of the incoming HDRN:
                - 33% is distributed to TEAM stakers during year 1
                - 33% is distributed to TEAM stakers during year 2
                - 34% is sent to the Mystery Box Hot Address
            - The 1% of the outgoing HEX after all the stakes end is distributed to TEAM stakers during whichever year the last HSI ends.
    */





    /// Data Structures

        struct HEXStakeMinimal {
        uint40 stakeId;
        uint72 stakeShares;
        uint16 lockedDay;
        uint16 stakedDays;
        }

        struct ShareStore {
            HEXStakeMinimal stake;
            uint16          mintedDays;
            uint8           launchBonus;
            uint16          loanStart;
            uint16          loanedDays;
            uint32          interestRate;
            uint8           paymentsMade;
            bool            isLoaned;
        }
        struct LiquidationStore{
            uint256 liquidationStart;
            address hsiAddress;
            uint96  bidAmount;
            address liquidator;
            uint88  endOffset;
            bool    isActive;
        }

        struct LiquidationData {
            uint16          mintedDays;
            uint8           launchBonus;
            uint16          loanStart;
            uint16          loanedDays;
            uint32          interestRate;
            uint8           paymentsMade;
            bool            isLoaned;
            uint256 liquidationStart;
            address hsiAddress;
            uint96  bidAmount;
            address liquidator;
            uint88  endOffset;
            bool    isActive;
        }
        struct HEXStake {
                uint40 stakeId;
                uint72 stakedHearts;
                uint72 stakeShares;
                uint16 lockedDay;
                uint16 stakedDays;
                uint16 unlockedDay;
                bool   isAutoStake;
            }
    
    /// Events
        event Mint (address indexed user,uint256 amount);
        event Redeem (address indexed user, uint256 amount, uint256 hex_redeemed, uint256 hedron_redeemed, uint256 icosa_redeemed);
        event Bid(uint256 liquidationId, uint256 liquidationBid);
        event ProcessHSI(address indexed hsi_address, uint256 hsi_id);
   

    /// Contract interfaces
        address constant HEX_ADDRESS = 0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39;
        HEXContract hex_contract = HEXContract(HEX_ADDRESS);
        address constant HEDRON_ADDRESS=0x3819f64f282bf135d62168C1e513280dAF905e06;
        HedronContract hedron_contract = HedronContract(HEDRON_ADDRESS); 
        address constant HSI_MANAGER_ADDRESS =0x8BD3d1472A656e312E94fB1BbdD599B8C51D18e3;
        HSIManagerContract HSI_manager_contract = HSIManagerContract(HSI_MANAGER_ADDRESS); 
        address public ICOSA_CONTRACT_ADDRESS = 0xfc4913214444aF5c715cc9F7b52655e788A569ed; 
        IcosaInterface icosa_contract = IcosaInterface(ICOSA_CONTRACT_ADDRESS);
        address constant TEAM_ADDRESS = 0xB7c9E99Da8A857cE576A830A9c19312114d9dE02;
    /// Minting Variables

        uint256 public MINTING_PHASE_START;
        uint256 public MINTING_PHASE_END;
        uint256 public LAST_POSSIBLE_MINTING_DAY;
        uint256 public late_thank_you_team; // late thank you team amount
        address mystery_box_hot =0x00C055Ee792B5bC9AeB06ced73bB71ce7E5773Ce;
        bool HAS_LATE_FLUSHED;
    /// Redemption Variables
        bool public IS_REDEMPTION_ACTIVE;
        uint256 public HEX_REDEMPTION_RATE; // Number of HEX units redeemable per POLY
        uint256 public HEDRON_REDEMPTION_RATE; // Number of HEDRON units redeemable per POLY
        uint256 public ICOSA_REDEMPTION_RATE; // Number of ICSA units redeemable per POLY
        uint256 div_scalar = 10**8;
    
    /// HSI Variables
        mapping (address => bool) public END_STAKERS; // Addresses of the users who end HSI stakes on Poly Community's behalf, may be used in future gas pooling contracts
        uint256 public LAST_STAKE_START_DAY;
        uint256 public LATEST_STAKE_END_DAY;
        mapping (address => HEXStake) public HEXStakes;
        address public LAST_ACTIVE_HSI;
        
        
    
    /// Bid Execution Variables
        mapping (address => bool) public IS_EXECUTOR; // mapping of addresses authorized to run executor functions
        bool public IS_BIDDING_ACTIVE;
        // BIDDING_BUDGET_TRACKER and STAKING_BUDGET_TRACKER are used to calculate the bidding_budget_percent, updated as each user mints and votes.
        uint256 public BIDDING_BUDGET_TRACKER; 
        uint256 public STAKING_BUDGET_TRACKER;
        uint256 TOTAL_BIDDING_BUDGET; // amount of HDRN able to be bid
        uint256 public HDRN_STAKING_BUDGET; // amount of HDRN allocated for staking
        uint256 public bidding_budget_percent; // percent of total HDRN able to be bid
        address public THANK_YOU_TEAM; // contract address for the ThankYouTeam Escrow contract
        uint256 public LAST_BID_PLACED_DAY; // Updated as each bid is placed, used to declare bidding deadline
        address public EXECUTOR_MAIN = 0x07D48f521e11B3824808397A1E57177821de2b61;
        address public EXECUTOR_AUX = 0xc9534Ca2B339bbfC3435e24B93bD1239A898cB28;
        address public POLY_WATER_ADDRESS;
        

        

    constructor() ERC20("Poly Maximus", "POLY") ReentrancyGuard() {
        uint256 start_day=hex_contract.currentDay();
        MINTING_PHASE_START = start_day;
        MINTING_PHASE_END = 1075;
        LAST_POSSIBLE_MINTING_DAY = MINTING_PHASE_END + 2;
        LAST_BID_PLACED_DAY=MINTING_PHASE_END; // set to first eligible day to prevent stake_leftover_hdrn() from being run before first bid is placed
        LAST_STAKE_START_DAY= MINTING_PHASE_END+10; // HSIs must have started before this deadline in order to be processed.
        IS_EXECUTOR[EXECUTOR_MAIN]=true;
        IS_EXECUTOR[EXECUTOR_AUX]=true; 

        PolyWater poly_water_contract = new PolyWater(address(this), EXECUTOR_MAIN); // deploys the gas fee donation pool contract
        POLY_WATER_ADDRESS = address(poly_water_contract);  
       
    }
    
    /// Utilities
        /**
        * @dev Sets decimals to 9 - to be equal to that of HDRN.
        */
        function decimals() public view virtual override returns (uint8) {return 9;}
        function mint(uint256 amount) private {_mint(msg.sender, amount);}
        /**
        * @dev Gets the current HEX Day.
        * @return hex_day current day per the HEX Contract.
        */
        function getCurrentDay() public view returns (uint256 hex_day) {return hex_contract.currentDay();} 
        
    /// Minting Phase Functions
        /**
        * @dev Checks that mint phase is ongoing and that the user inputted bid budget percent is within the allowed range. Then it updates the global bidding_budget_percent value, transfers the amount of HDRN to the Poly contract, then mints the user the same number of POLY.
        * @param amount amount of HDRN minted into POLY.
        * @param bid_budget_percent percent of total HDRN the user thinks should be bid on HSIs.
        */
        function mintPoly(uint256 amount, uint256 bid_budget_percent) nonReentrant external {
            uint256 today = getCurrentDay();
            require(today <= LAST_POSSIBLE_MINTING_DAY, "Minting Phase must still be ongoing to mint POLY.");
            require(bid_budget_percent <= 100, "Bid Budget must not be greater than 100 percent.");
            require(bid_budget_percent >= 50, "Bid Budget Percent must not be less than 50 percent.");
            IERC20(HEDRON_ADDRESS).transferFrom(msg.sender, address(this), amount); // sends HDRN to the Poly Contract
            if (today==LAST_POSSIBLE_MINTING_DAY || today == LAST_POSSIBLE_MINTING_DAY-1){
                require(IS_BIDDING_ACTIVE==true, "Run finalizeMinting() to resume minting today.");  // prevent double-thanking team (even though team should get way more)
                late_thank_you_team = late_thank_you_team + (amount / 200); 
                bid_budget_percent = 100;
            }
            BIDDING_BUDGET_TRACKER = BIDDING_BUDGET_TRACKER + ((bid_budget_percent * amount)/100); // increments weighted running total bidding budget tracker
            STAKING_BUDGET_TRACKER = STAKING_BUDGET_TRACKER + (((100-bid_budget_percent) * amount)/100); // increments weighted running total staking budget tracker
            bidding_budget_percent = 100 * BIDDING_BUDGET_TRACKER / (BIDDING_BUDGET_TRACKER + STAKING_BUDGET_TRACKER); // calculates percent of total to be bid
            mint(amount); // Mints 1 POLY per 1 HDRN
            emit Mint(msg.sender, amount);
        }

        /*
        * @dev This function is run at the end of the minting phase to kick off the bidding phase. It checks if the minting phase is still ongoing, deploys the ThankYouTeam escrow contract, allocates the amount used to Thank TEAM, calculates the Bidding and Staking budgets, and stakes the HDRN staking budget.
        */
        function finalizeMinting() external nonReentrant {
            require(getCurrentDay() > MINTING_PHASE_END, "Minting Phase must be over.");
            require(IS_BIDDING_ACTIVE ==false);
            ThankYouTeam tyt = new ThankYouTeam();
            THANK_YOU_TEAM = address(tyt);
            uint256 total_hdrn = IERC20(HEDRON_ADDRESS).balanceOf(address(this));
            uint256 thank_you_team = 100 * total_hdrn / 10000; // Poly thanks TEAM for saving them 99% on gas fees and letting them have HDRN staking bonuses with 1% of the total HDRN pledged.
            IERC20(HEDRON_ADDRESS).transfer(THANK_YOU_TEAM, thank_you_team);
            TOTAL_BIDDING_BUDGET = (total_hdrn - thank_you_team) * bidding_budget_percent/100;
            HDRN_STAKING_BUDGET = (total_hdrn - thank_you_team) - TOTAL_BIDDING_BUDGET;
            IERC20(HEDRON_ADDRESS).approve(ICOSA_CONTRACT_ADDRESS, HDRN_STAKING_BUDGET);
            icosa_contract.hdrnStakeStart(HDRN_STAKING_BUDGET);
            IS_BIDDING_ACTIVE = true;
        }
        
        /* 
        @dev Anyone can run the function which sends the late poly minters' thanks to TEAM and Mystery Box. Half of it gets distributed to Year 1 TEAM stakers. Half of it gets distributed to the Mystery Box Hot address collected from the Mystery Bx Contract.
        
        */
        function flushLateMint() nonReentrant external {
            require(getCurrentDay()>LAST_POSSIBLE_MINTING_DAY, "Late Mint Phase must be over");
            require(HAS_LATE_FLUSHED==false);
            IERC20(HEDRON_ADDRESS).transfer(TEAM_ADDRESS, late_thank_you_team);
            IERC20(HEDRON_ADDRESS).transfer(mystery_box_hot, late_thank_you_team);
            HAS_LATE_FLUSHED = true;
        }
        

    /// Redemption Functions
        /**
        * @dev Checks that redemption phase is ongoing and that the amount requested is less than the user's POLY balance. Then it calculates the amount of HEX, HDRN, and ICOSA that is redeemable for the amount input by the user, burns that amount and transfers them their alloted HEX, HDRN, and ICOSA.
        * @param amount amount of POLY being redeemed.
        */
        function redeemPoly(uint256 amount) nonReentrant external {
            require(IS_REDEMPTION_ACTIVE==true, "Redemption can only happen at end.");
            uint256 current_balance = balanceOf(msg.sender);
            require(amount<=current_balance, "insufficient balance");
            uint256 redeemable_hex = amount * HEX_REDEMPTION_RATE / div_scalar;
            uint256 redeemable_hedron = amount * HEDRON_REDEMPTION_RATE / div_scalar;
            uint256 redeemable_icosa = amount * ICOSA_REDEMPTION_RATE / div_scalar;
            burn(amount);
            if (redeemable_hex > 0 ) {
                IERC20(HEX_ADDRESS).transfer(msg.sender, redeemable_hex);
            }
            if (redeemable_hedron > 0 ) {
                IERC20(HEDRON_ADDRESS).transfer(msg.sender, redeemable_hedron);
            }
            if (redeemable_icosa > 0 ) {
                IERC20(ICOSA_CONTRACT_ADDRESS).transfer(msg.sender, redeemable_icosa);
            }
            emit Redeem(msg.sender, amount, redeemable_hex, redeemable_hedron, redeemable_icosa);
        }
        

        function calculate_redemption_rate(uint256 balance, uint256 supply) public view returns (uint256 redemption_rate) {
            uint256 scaled_redemption_rate = balance * div_scalar / supply;
            return scaled_redemption_rate;
        }
 
        function set_redemption_rate() private {
            HEX_REDEMPTION_RATE = calculate_redemption_rate(IERC20(HEX_ADDRESS).balanceOf(address(this)), totalSupply());
            HEDRON_REDEMPTION_RATE = calculate_redemption_rate(IERC20(HEDRON_ADDRESS).balanceOf(address(this)), totalSupply());
            ICOSA_REDEMPTION_RATE =  calculate_redemption_rate(IERC20(ICOSA_CONTRACT_ADDRESS).balanceOf(address(this)), totalSupply());
        }
    /// Liquidation Auction Management
        /*
        * @dev Bids on existing liquidations. It checks to make sure the bid is within the maximum bid allowance, ensures that bidding is still active, and that the caller of this function is in the whitelisted executor list. Then it places the bid via the Hedron contract.
        * @param liquidationId - unique identifier for the liquidation
        * @param liquidationBid - bid amount determined by executor.
        */
        function bid(uint256 liquidationId, uint256 liquidationBid) external nonReentrant {
            require(IS_BIDDING_ACTIVE);
            require(getCurrentDay() <= LAST_BID_PLACED_DAY + 30, "If 30 Days go by without a bid placed, bidding phase ends.");
            require(IS_EXECUTOR[msg.sender]);
            hedron_contract.loanLiquidateBid(liquidationId, liquidationBid);
            LAST_BID_PLACED_DAY = getCurrentDay();
            emit Bid(liquidationId, liquidationBid);
        }
        
        /*
        * @dev Allows the executor to start the liquidation process.
        * @param owner HSI contract owner address.
        * @param hsiIndex Index of the HSI contract address in the owner's HSI list.
        * @param hsiAddress Address of the HSI contract.
        */
        function startBid(address owner, uint256 hsiIndex, address hsiAddress) external nonReentrant {
            require(getCurrentDay() <= LAST_BID_PLACED_DAY + 30, "If 30 Days go by without a bid placed, bidding phase ends.");
            require(IS_EXECUTOR[msg.sender]);
            hedron_contract.loanLiquidate(owner, hsiIndex, hsiAddress);
            LAST_BID_PLACED_DAY = getCurrentDay();
        }
        /**
            * @dev Allows any address to exit a completed liquidation, granting control of the
                    HSI to the highest bidder. Included here for UI simplicity, but may be called directly to hedron contract.
            * @param hsiIndex Index of the HSI contract address in the zero address's HSI list.
            *                 (see hsiLists -> HEXStakeInstanceManager.sol)
            * @param liquidationId ID number of the liquidation to exit.
          
     */
        function collectWinnings(uint256 hsiIndex, uint256 liquidationId) external {
            hedron_contract.loanLiquidateExit(hsiIndex, liquidationId);
        }

        
        /*
        * @dev Gets the information about the liquidation, and the HSI.
        * @param liquidation_index Hedron liquidation auction identifier
        * return liquidation_data Liquidation information including: mintedDays, launchBonus, loanStart , loanedDays, interestRate, paymentsMade, isLoaned, liquidationStart, hsiAddress, bidAmount, liquidator, endOffset, isActive
        */
        function getLiquidation(uint256 liquidation_index) public view returns (LiquidationData memory liquidation_data) {
            
            uint256 liquidationStart=hedron_contract.liquidationList(liquidation_index).liquidationStart; 
            address hsiAddress=hedron_contract.liquidationList(liquidation_index).hsiAddress;
            uint96  bidAmount=hedron_contract.liquidationList(liquidation_index).bidAmount;
            address liquidator=hedron_contract.liquidationList(liquidation_index).liquidator;
            uint88  endOffset=hedron_contract.liquidationList(liquidation_index).endOffset;
            bool    isActive=hedron_contract.liquidationList(liquidation_index).isActive;
            uint16         mintedDays=  HSIContract(hsiAddress).share().mintedDays;
            uint8          launchBonus = HSIContract(hsiAddress).share().launchBonus;
            uint16         loanStart =  HSIContract(hsiAddress).share().loanStart;
            uint16         loanedDays =HSIContract(hsiAddress).share().loanedDays;
            uint32         interestRate= HSIContract(hsiAddress).share().interestRate;
            uint8          paymentsMade = HSIContract(hsiAddress).share().paymentsMade;
            bool           isLoaned = HSIContract(hsiAddress).share().isLoaned;
            LiquidationData memory liquidation = LiquidationData(
            mintedDays, launchBonus, loanStart , loanedDays, interestRate, paymentsMade, isLoaned,
            liquidationStart, hsiAddress, bidAmount, liquidator, endOffset, isActive
            );
            return liquidation;
        }
        

        
    /// HSI Management
        /*
        * @dev Run this function when a new HSI is won by the contract. It saves a new entry in the HEXStake mapping and determines if the HSI is the one that ends on the latest day.
        * @param hsi_id Unique ID for the HSI.
        */
        function processHSI(uint256 hsi_id) external nonReentrant {
            address hsi_address = HSI_manager_contract.hsiToken(hsi_id);
            address hsi_owner = HSI_manager_contract.ownerOf(hsi_id);
            require(hsi_owner==address(this), "Can only process HSIs owned by Poly Contract.");
            HSIContract hsi = HSIContract(hsi_address);
            require(hsi.stakeDataFetch().lockedDay<LAST_STAKE_START_DAY);
            HEXStake storage stake = HEXStakes[hsi_address];
            stake.stakeId = hsi.stakeDataFetch().stakeId;
            stake.stakedHearts =hsi.stakeDataFetch().stakedHearts;
            stake.stakeShares = hsi.stakeDataFetch().stakeShares;
            stake.lockedDay = hsi.stakeDataFetch().lockedDay;
            stake.stakedDays = hsi.stakeDataFetch().stakedDays;
            stake.unlockedDay = hsi.stakeDataFetch().stakedDays;
            stake.isAutoStake = hsi.stakeDataFetch().isAutoStake;
            uint256 end_day= stake.lockedDay + stake.stakedDays;
            if (end_day>LATEST_STAKE_END_DAY) {
                LATEST_STAKE_END_DAY = end_day;
                LAST_ACTIVE_HSI = hsi_address;
            }
            HSI_manager_contract.hexStakeDetokenize(hsi_id);
            emit ProcessHSI(hsi_address, hsi_id);
        }
        /*
        * @dev Ends the HSI stake, if it is eligible to end. If it is the last active HSI in the list, it activates the redemption period and sends a HEX tip to TEAM. if it is not the last one and there is more than a year until the last active HSI, it restakes the HEX and HDRN. Then it calculates the redemption rates.
        * @param hsiIndex HSI identifier
        * @param hsiAddress HSI unique contract address
        */
        function endHSIStake(uint256 hsiIndex, address hsiAddress) external nonReentrant {
            HEXStake storage stake = HEXStakes[hsiAddress];
            require(stake.lockedDay + stake.stakedDays < getCurrentDay(), "This stake has not ended yet");
            HSI_manager_contract.hexStakeEnd(hsiIndex, hsiAddress);
            if (hsiAddress == LAST_ACTIVE_HSI) {
                icosa_contract.hdrnStakeEnd();
                IS_REDEMPTION_ACTIVE = true;
                uint256 thank_you_team = 100 * IERC20(HEX_ADDRESS).balanceOf(address(this)) / 10000;
                IERC20(HEX_ADDRESS).transfer(TEAM_ADDRESS, thank_you_team);
            }
            set_redemption_rate();
            END_STAKERS[msg.sender]=true;
        }
        /*
        * @dev mints the HDRN from HSIs held by Poly Contract
        
        */
        function hedronMintInstanced(uint256 hsiIndex, address hsiAddress) external nonReentrant {
            hedron_contract.mintInstanced(hsiIndex, hsiAddress);
            set_redemption_rate();

        }

             /*
        * @dev Mints the HDRN from the stake, ends the stake, and calculates the redemption rate.
        * @param stakeIndex - index among list of users stakes
        * @param stakeIdParam - unique ID for hex stake
        */ 
        function endNativeStake(uint256 stakeIndex, uint40 stakeIdParam) external nonReentrant {
            require(getCurrentDay() >= LATEST_STAKE_END_DAY - 2);
            hex_contract.stakeEnd(stakeIndex, stakeIdParam);
            set_redemption_rate();
        }
        /*
        * @dev Mints the HDRN from the stake, ends the stake, and calculates the redemption rate.
        * @param stakeIndex - index among list of users stakes
        * @param stakeIdParam - unique ID for hex stake
        */ 
        function hedronMintNative(uint256 stakeIndex, uint40 stakeIdParam) external nonReentrant {
            hedron_contract.mintNative(stakeIndex, stakeIdParam);
            set_redemption_rate();
        }
        /*
        @dev Checks if the bidding phase is over is adequate time left and restakes leftover HEX and HDRN.
        */
        function stakeLeftover() external nonReentrant {
            require(getCurrentDay() > LAST_BID_PLACED_DAY + 30, "Must be 30 days after LAST_BID_PLACED");
            require(IS_REDEMPTION_ACTIVE == false, "Can not run during redemption phase.");
            uint256 days_til_redemption = LATEST_STAKE_END_DAY - getCurrentDay();
            require(days_til_redemption > 366, "Can not run in the last year leading up to end of last stake.");
            if (IERC20(HEX_ADDRESS).balanceOf(address(this))> 100000*10**8 ) {
                    hex_contract.stakeStart(IERC20(HEX_ADDRESS).balanceOf(address(this)), days_til_redemption - 3);
                    set_redemption_rate();
                }
            if (IERC20(HEDRON_ADDRESS).balanceOf(address(this)) > 0) {
                IERC20(HEDRON_ADDRESS).approve(ICOSA_CONTRACT_ADDRESS, IERC20(HEDRON_ADDRESS).balanceOf(address(this)));
                icosa_contract.hdrnStakeAddCapital(IERC20(HEDRON_ADDRESS).balanceOf(address(this)));
                set_redemption_rate();
            }
        }

   
        
        

        
    
        
        

}

contract ThankYouTeam {
    // THIS CONTRACT IS AN EXPRESSION OF GRATITUDE TO MAXIMUS TEAM FOR SAVING THE HSI BIDDERS FROM HOLDING THE BAG ON HSIs IMPACTED BY GAS FEES
    address TEAM_ADDRESS =0xB7c9E99Da8A857cE576A830A9c19312114d9dE02;
    address constant HEDRON_ADDRESS=0x3819f64f282bf135d62168C1e513280dAF905e06;
    address mystery_box_hot =0x00C055Ee792B5bC9AeB06ced73bB71ce7E5773Ce;
    mapping (uint => uint256) public schedule;
    uint256 percent_year_one = 33;
    uint256 percent_year_two = 33;
    bool IS_SCHEDULED;
    constructor() {
    }
    /*
    * @dev This schedules the distributions allocated to TEAM stakers during years one and two, and sends the Mystery Box hot address a reward.
    */
    function schedule_distribution() public {
        require(IS_SCHEDULED==false);
        schedule[1]=IERC20(HEDRON_ADDRESS).balanceOf(address(this)) * percent_year_one / 100;
        schedule[3]=IERC20(HEDRON_ADDRESS).balanceOf(address(this)) * percent_year_two / 100;
        uint256 mb_amt = IERC20(HEDRON_ADDRESS).balanceOf(address(this)) - (schedule[1]+schedule[3]);
        IERC20(HEDRON_ADDRESS).transfer(mystery_box_hot, mb_amt);
        IS_SCHEDULED=true;
    }
    /*
    * @dev This sends the funds to the TEAM contract during the qualified years, then prevents it from being sent again that year.
    */
    function distribute() public {
        require(IS_SCHEDULED, "The distributions have not been scheduled yet, run schedule_distribution() first.");
        uint256 current_period = TEAMContract(TEAM_ADDRESS).getCurrentPeriod();
        uint256 amt = schedule[current_period];
        require(amt>0, "There are no available funds to be distributed this year. Either it is not a qualified year, or it has already been run this year.");
        IERC20(HEDRON_ADDRESS).transfer(TEAM_ADDRESS, amt);
        schedule[current_period]=0;
    }
     
}

contract PolyWater is ERC20, ReentrancyGuard {
    
    address public executor; 
    address constant HEX_ADDRESS = 0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39;
    HEXContract hex_contract = HEXContract(HEX_ADDRESS);

    address public POLY_ADDRESS;
    uint ds = 10**8; // division scalar
    uint256 public launch_day;
    constructor(address poly_address, address executor_address) ERC20("Poly Water", "WATER") ReentrancyGuard() {
        executor = executor_address;
        POLY_ADDRESS=poly_address; 
        launch_day = hex_contract.currentDay();
    }
    function mint(uint256 amount) private {
        _mint(msg.sender, amount);
    }
    event Mint(address indexed minter, uint mint_rate, uint amount);
    event Flush(address indexed flusher, uint amount);
    receive() external payable nonReentrant {
        uint mint_rate = current_mint_rate(); //get current mint rate
        require(mint_rate>0, "Minting Phase is over."); // ensure the mint phase is ongoing.
        mint(mint_rate*msg.value); // mint WATER to sender
        emit Mint(msg.sender,mint_rate, msg.value);
    }
    /*
    @dev calculates the mint rate. Starting at 369, and decreasing by 1/3 every 36 days.
    */
    function current_mint_rate() public view returns (uint) {
        uint256 months = ((hex_contract.currentDay() - launch_day) * ds)/(36 * ds); 
        return 369 * ds / ( 3**months * ds );
    }
    function flush() public  {
        require(msg.sender==executor, "Only Executor can run this function.");
        uint256 amount = address(this).balance;
        (bool sent, bytes memory data) = payable(executor).call{value: amount}(""); // send ETH to the Executor 
        require(sent, "Failed to send Ether");
        emit Flush(msg.sender, amount);
    }
    function flush_erc20(address token_contract_address) public  {
        require(msg.sender==executor, "Only Executor can run this function.");
        IERC20 tc = IERC20(token_contract_address);
        tc.transfer(executor, tc.balanceOf(address(this)));

    }
    
   
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidationId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidationBid","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"hsi_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"hsi_id","type":"uint256"}],"name":"ProcessHSI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"hex_redeemed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"hedron_redeemed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"icosa_redeemed","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BIDDING_BUDGET_TRACKER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"END_STAKERS","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_AUX","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_MAIN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HDRN_STAKING_BUDGET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HEDRON_REDEMPTION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"HEXStakes","outputs":[{"internalType":"uint40","name":"stakeId","type":"uint40"},{"internalType":"uint72","name":"stakedHearts","type":"uint72"},{"internalType":"uint72","name":"stakeShares","type":"uint72"},{"internalType":"uint16","name":"lockedDay","type":"uint16"},{"internalType":"uint16","name":"stakedDays","type":"uint16"},{"internalType":"uint16","name":"unlockedDay","type":"uint16"},{"internalType":"bool","name":"isAutoStake","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HEX_REDEMPTION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ICOSA_CONTRACT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ICOSA_REDEMPTION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_BIDDING_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"IS_EXECUTOR","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_REDEMPTION_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAST_ACTIVE_HSI","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAST_BID_PLACED_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAST_POSSIBLE_MINTING_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAST_STAKE_START_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LATEST_STAKE_END_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTING_PHASE_END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTING_PHASE_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POLY_WATER_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKING_BUDGET_TRACKER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THANK_YOU_TEAM","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidationId","type":"uint256"},{"internalType":"uint256","name":"liquidationBid","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bidding_budget_percent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"calculate_redemption_rate","outputs":[{"internalType":"uint256","name":"redemption_rate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"uint256","name":"liquidationId","type":"uint256"}],"name":"collectWinnings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"endHSIStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"internalType":"uint40","name":"stakeIdParam","type":"uint40"}],"name":"endNativeStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flushLateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCurrentDay","outputs":[{"internalType":"uint256","name":"hex_day","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidation_index","type":"uint256"}],"name":"getLiquidation","outputs":[{"components":[{"internalType":"uint16","name":"mintedDays","type":"uint16"},{"internalType":"uint8","name":"launchBonus","type":"uint8"},{"internalType":"uint16","name":"loanStart","type":"uint16"},{"internalType":"uint16","name":"loanedDays","type":"uint16"},{"internalType":"uint32","name":"interestRate","type":"uint32"},{"internalType":"uint8","name":"paymentsMade","type":"uint8"},{"internalType":"bool","name":"isLoaned","type":"bool"},{"internalType":"uint256","name":"liquidationStart","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"},{"internalType":"uint96","name":"bidAmount","type":"uint96"},{"internalType":"address","name":"liquidator","type":"address"},{"internalType":"uint88","name":"endOffset","type":"uint88"},{"internalType":"bool","name":"isActive","type":"bool"}],"internalType":"struct PolyMaximus.LiquidationData","name":"liquidation_data","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"hedronMintInstanced","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"internalType":"uint40","name":"stakeIdParam","type":"uint40"}],"name":"hedronMintNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"late_thank_you_team","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"bid_budget_percent","type":"uint256"}],"name":"mintPoly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsi_id","type":"uint256"}],"name":"processHSI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeemPoly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeLeftover","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"startBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052600680546001600160a01b0319908116732b591e99afe9f32eaa6214f7b7629768c40eeb3917909155600780548216733819f64f282bf135d62168c1e513280daf905e06179055600880548216738bd3d1472a656e312e94fb1bbdd599b8c51d18e317905560098054821673fc4913214444af5c715cc9f7b52655e788a569ed908117909155600a805483169091179055600f8054821672c055ee792b5bc9aeb06ced73bb71ce7e5773ce1790556305f5e1006013556022805482167307d48f521e11b3824808397a1e57177821de2b611790556023805490911673c9534ca2b339bbfc3435e24b93bd1239a898cb281790553480156200010457600080fd5b506040518060400160405280600c81526020016b506f6c79204d6178696d757360a01b81525060405180604001604052806004815260200163504f4c5960e01b81525081600390816200015891906200037f565b5060046200016782826200037f565b505060016005555060065460408051635c9302c960e01b815290516000926001600160a01b031691635c9302c99160048083019260209291908290030181865afa158015620001ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e091906200044b565b600b819055610433600c819055909150620001fd90600262000465565b600d55600c5460218190556200021590600a62000465565b601555602280546001600160a01b039081166000908152601960205260408082208054600160ff1991821681179092556023548516845282842080549091169091179055925492519092309216906200026e90620002cc565b6001600160a01b03928316815291166020820152604001604051809103906000f080158015620002a2573d6000803e3d6000fd5b50602480546001600160a01b0319166001600160a01b0392909216919091179055506200048d9050565b6114d8806200513083390190565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030557607f821691505b6020821081036200032657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037a57600081815260208120601f850160051c81016020861015620003555750805b601f850160051c820191505b81811015620003765782815560010162000361565b5050505b505050565b81516001600160401b038111156200039b576200039b620002da565b620003b381620003ac8454620002f0565b846200032c565b602080601f831160018114620003eb5760008415620003d25750858301515b600019600386901b1c1916600185901b17855562000376565b600085815260208120601f198616915b828110156200041c57888601518255948401946001909101908401620003fb565b50858210156200043b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200045e57600080fd5b5051919050565b808201808211156200048757634e487b7160e01b600052601160045260246000fd5b92915050565b614c93806200049d6000396000f3fe60806040523480156200001157600080fd5b5060043610620003a95760003560e01c80636abd90af11620001ed5780639d7639641162000119578063b9a8878a11620000af578063ce6a416e1162000086578063ce6a416e1462000854578063dd62ed3e146200086b578063de3fe97314620008a7578063eea8252414620008b157600080fd5b8063b9a8878a146200081a578063c6a2ae8f1462000824578063ce612b1f146200084a57600080fd5b8063a457c2d711620000f0578063a457c2d714620007bc578063a9059cbb14620007d3578063b80c67db14620007ea578063b87f29fb14620007f457600080fd5b80639d76396414620007915780639e5fe0a0146200079b578063a13b161d14620007b257600080fd5b806380ba40d1116200018f5780638e85751611620001665780638e857516146200074857806395d89b41146200075f57806398c9227614620007695780639b691f98146200077d57600080fd5b806380ba40d1146200072657806384eb60ed146200073057806387f6d4fc146200073e57600080fd5b806370a0823111620001c457806370a0823114620006d957806376256d44146200070557806379cc6790146200070f57600080fd5b80636abd90af14620006a45780636b9e57cc14620006bb5780636e9e2b6014620006c557600080fd5b80633e6968b611620002d957806350dc6b0d116200026f578063643b38e01162000246578063643b38e01462000665578063673b89da14620006795780636a63ef6e14620006905780636ab99e62146200069a57600080fd5b806350dc6b0d146200063057806352a76a091462000644578063598647f8146200064e57600080fd5b8063489c643d11620002b0578063489c643d14620005115780634bf8bdad146200051b5780634e44e04c146200053257806350c6eaf0146200055857600080fd5b80633e6968b614620004e657806342966c6814620004f057806346c0b9c4146200050757600080fd5b806326510714116200034f5780632c1c86d011620003265780632c1c86d014620004a05780632c26884814620004aa578063313ce56714620004bf5780633950935114620004cf57600080fd5b8063265107141462000468578063278c33a4146200047f5780632ae32c14146200049657600080fd5b80631689a0df11620003845780631689a0df146200041157806318160ddd146200043e57806323b872dd146200045157600080fd5b8063033cbd5514620003ae57806306fdde0314620003c7578063095ea7b314620003e9575b600080fd5b620003c5620003bf36600462003c95565b620008c8565b005b620003d162000c2d565b604051620003e0919062003cc8565b60405180910390f35b62000400620003fa36600462003d18565b62000cc7565b6040519015158152602001620003e0565b60225462000425906001600160a01b031681565b6040516001600160a01b039091168152602001620003e0565b6002545b604051908152602001620003e0565b620004006200046236600462003d47565b62000ce3565b620003c56200047936600462003da1565b62000d0b565b620003c56200049036600462003dc9565b62000dfa565b6200044260215481565b620003c562000f89565b600f546200040090600160a81b900460ff1681565b60405160098152602001620003e0565b62000400620004e036600462003d18565b62001321565b6200044262001364565b620003c56200050136600462003e10565b620013da565b62000442601b5481565b6200044260155481565b620003c56200052c36600462003c95565b620013e9565b620004006200054336600462003e2a565b60146020526000908152604090205460ff1681565b620005db6200056936600462003e2a565b60176020526000908152604090205464ffffffffff81169068ffffffffffffffffff6501000000000082048116916e01000000000000000000000000000081049091169061ffff600160b81b8204811691600160c81b8104821691600160d81b8204169060ff600160e81b9091041687565b6040805164ffffffffff98909816885268ffffffffffffffffff9687166020890152949095169386019390935261ffff9182166060860152811660808501521660a0830152151560c082015260e001620003e0565b60235462000425906001600160a01b031681565b620003c5620014b7565b620003c56200065f36600462003e51565b620016b3565b60185462000425906001600160a01b031681565b620003c56200068a36600462003da1565b62001881565b6200044260105481565b62000442600e5481565b620003c5620006b536600462003e10565b62001908565b6200044260115481565b60095462000425906001600160a01b031681565b62000442620006ea36600462003e2a565b6001600160a01b031660009081526020819052604090205490565b62000442601f5481565b620003c56200072036600462003d18565b62002042565b62000442600b5481565b601a54620004009060ff1681565b6200044260165481565b620004426200075936600462003e51565b6200205f565b620003d162002087565b60245462000425906001600160a01b031681565b60205462000425906001600160a01b031681565b62000442600c5481565b620003c5620007ac36600462003e51565b62002098565b620003c56200246c565b62000400620007cd36600462003d18565b62002a2b565b62000400620007e436600462003d18565b62002ac1565b62000442601e5481565b620004006200080536600462003e2a565b60196020526000908152604090205460ff1681565b62000442600d5481565b6200083b6200083536600462003e10565b62002ad1565b604051620003e0919062003e74565b6200044260125481565b620003c56200086536600462003e10565b620031b5565b620004426200087c36600462003f8a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b62000442601c5481565b620003c5620008c236600462003e51565b62003525565b6002600554036200090f5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e83398151915260448201526064015b60405180910390fd5b60026005556001600160a01b03811660009081526017602052604090206200093662001364565b8154620009589061ffff600160c81b8204811691600160b81b90041662003fd3565b61ffff1610620009ab5760405162461bcd60e51b815260206004820152601c60248201527f54686973207374616b6520686173206e6f7420656e6465642079657400000000604482015260640162000906565b6008546040516367654b7360e11b8152600481018590526001600160a01b0384811660248301529091169063ceca96e6906044016020604051808303816000875af1158015620009ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a25919062003ff8565b506018546001600160a01b039081169083160362000bfe57600a60009054906101000a90046001600160a01b03166001600160a01b0316631f4980056040518163ffffffff1660e01b81526004016060604051808303816000875af115801562000a93573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ab9919062004012565b5050600f805460ff60a81b1916600160a81b179055506040516370a0823160e01b815230600482015260009061271090732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a0823190602401602060405180830381865afa15801562000b26573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b4c919062003ff8565b62000b5990606462004041565b62000b6591906200405b565b60405163a9059cbb60e01b815273b7c9e99da8a857ce576a830a9c19312114d9de02600482015260248101829052909150732b591e99afe9f32eaa6214f7b7629768c40eeb399063a9059cbb906044016020604051808303816000875af115801562000bd5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000bfb919062004094565b50505b62000c08620035a3565b5050336000908152601460205260409020805460ff1916600190811790915560055550565b60606003805462000c3e90620040b2565b80601f016020809104026020016040519081016040528092919081815260200182805462000c6c90620040b2565b801562000cbd5780601f1062000c915761010080835404028352916020019162000cbd565b820191906000526020600020905b81548152906001019060200180831162000c9f57829003601f168201915b5050505050905090565b60003362000cd7818585620036a4565b60019150505b92915050565b60003362000cf3858285620037cc565b62000d0085858562003863565b506001949350505050565b60026005540362000d4e5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600581905560165462000d649190620040ee565b62000d6e62001364565b101562000d7a57600080fd5b600654604051631a1804d160e11b81526004810184905264ffffffffff831660248201526001600160a01b039091169063343009a290604401600060405180830381600087803b15801562000dce57600080fd5b505af115801562000de3573d6000803e3d6000fd5b5050505062000df1620035a3565b50506001600555565b60026005540362000e3d5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b600260055560215462000e5290601e62004104565b62000e5c62001364565b111562000ed25760405162461bcd60e51b815260206004820152603a60248201527f4966203330204461797320676f20627920776974686f7574206120626964207060448201527f6c616365642c2062696464696e6720706861736520656e64732e000000000000606482015260840162000906565b3360009081526019602052604090205460ff1662000eef57600080fd5b6007546040516310d9d34960e01b81526001600160a01b038581166004830152602482018590528381166044830152909116906310d9d349906064016020604051808303816000875af115801562000f4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f71919062003ff8565b5062000f7c62001364565b6021555050600160055550565b60026005540362000fcc5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600c5462000fde62001364565b116200102d5760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e67205068617365206d757374206265206f7665722e0000000000604482015260640162000906565b601a5460ff16156200103e57600080fd5b60006040516200104e9062003c71565b604051809103906000f0801580156200106b573d6000803e3d6000fd5b50602080546001600160a01b0319166001600160a01b0383161790556040516370a0823160e01b8152306004820152909150600090733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015620010dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001103919062003ff8565b905060006127106200111783606462004041565b6200112391906200405b565b60205460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052909150733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af11580156200118c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011b2919062004094565b50601f54606490620011c58385620040ee565b620011d1919062004041565b620011dd91906200405b565b601d819055620011ee8284620040ee565b620011fa9190620040ee565b601e81905560095460405163095ea7b360e01b81526001600160a01b0390911660048201526024810191909152733819f64f282bf135d62168c1e513280daf905e069063095ea7b3906044016020604051808303816000875af115801562001266573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200128c919062004094565b50600a54601e5460405162acaed560e31b81526001600160a01b039092169163056576a891620012c29160040190815260200190565b6020604051808303816000875af1158015620012e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001308919062003ff8565b5050601a805460ff191660019081179091556005555050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919062000cd790829086906200135e90879062004104565b620036a4565b60065460408051635c9302c960e01b815290516000926001600160a01b031691635c9302c99160048083019260209291908290030181865afa158015620013af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013d5919062003ff8565b905090565b620013e6338262003a3b565b50565b6002600554036200142c5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600754604051634baff1e560e11b8152600481018490526001600160a01b0383811660248301529091169063975fe3ca906044015b6020604051808303816000875af115801562001486573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014ac919062003ff8565b5062000df1620035a3565b600260055403620014fa5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600d546200150c62001364565b116200155b5760405162461bcd60e51b815260206004820152601c60248201527f4c617465204d696e74205068617365206d757374206265206f76657200000000604482015260640162000906565b600f54600160a01b900460ff16156200157357600080fd5b600e5460405163a9059cbb60e01b815273b7c9e99da8a857ce576a830a9c19312114d9de0260048201526024810191909152733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af1158015620015e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200160a919062004094565b50600f54600e5460405163a9059cbb60e01b81526001600160a01b0390921660048301526024820152733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af115801562001672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001698919062004094565b50600f805460ff60a01b1916600160a01b1790556001600555565b600260055403620016f65760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555601a5460ff166200170b57600080fd5b6021546200171b90601e62004104565b6200172562001364565b11156200179b5760405162461bcd60e51b815260206004820152603a60248201527f4966203330204461797320676f20627920776974686f7574206120626964207060448201527f6c616365642c2062696464696e6720706861736520656e64732e000000000000606482015260840162000906565b3360009081526019602052604090205460ff16620017b857600080fd5b6007546040516361c2acc360e01b815260048101849052602481018390526001600160a01b03909116906361c2acc3906044016020604051808303816000875af11580156200180b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001831919062003ff8565b506200183c62001364565b60215560408051838152602081018390527f47a0375b24d90a3895ca7fd01feef2864adfa0b83dd13508f93800383057812f910160405180910390a150506001600555565b600260055403620018c45760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600754604051633e04ae6960e21b81526004810184905264ffffffffff831660248201526001600160a01b039091169063f812b9a49060440162001466565b6002600554036200194b5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b60026005556008546040516304c8b84160e21b8152600481018390526000916001600160a01b031690631322e10490602401602060405180830381865afa1580156200199b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019c191906200411a565b6008546040516331a9108f60e11b8152600481018590529192506000916001600160a01b0390911690636352211e90602401602060405180830381865afa15801562001a11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a3791906200411a565b90506001600160a01b038116301462001aa95760405162461bcd60e51b815260206004820152602d60248201527f43616e206f6e6c792070726f636573732048534973206f776e6564206279205060448201526c37b63c9021b7b73a3930b1ba1760991b606482015260840162000906565b6000829050601554816001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e060405180830381865afa15801562001af0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b169190620041a0565b6060015161ffff161062001b2957600080fd5b600060176000856001600160a01b03166001600160a01b031681526020019081526020016000209050816001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e060405180830381865afa15801562001b91573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bb79190620041a0565b51815464ffffffffff191664ffffffffff90911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001c14573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c3a9190620041a0565b60200151815468ffffffffffffffffff90911665010000000000026dffffffffffffffffff00000000001990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001cb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cd79190620041a0565b6040015181600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550816001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e060405180830381865afa15801562001d46573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d6c9190620041a0565b60600151815461ffff909116600160b81b0261ffff60b81b1990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001dd1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001df79190620041a0565b60800151815461ffff909116600160c81b0261ffff60c81b1990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001e5c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e829190620041a0565b60800151815461ffff909116600160d81b0261ffff60d81b1990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001ee7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f0d9190620041a0565b60c001518154901515600160e81b0260ff60e81b199091161780825560009062001f4c9061ffff600160c81b8204811691600160b81b90041662003fd3565b61ffff16905060165481111562001f7e576016819055601880546001600160a01b0319166001600160a01b0387161790555b6008546040516362d02f9960e11b8152600481018890526001600160a01b039091169063c5a05f32906024016020604051808303816000875af115801562001fca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ff091906200411a565b50846001600160a01b03167ff985aec918d4c7384a8cb3a32838ef59ba9a2210112f5464076eda30a2ba5b7e876040516200202d91815260200190565b60405180910390a25050600160055550505050565b6200204f823383620037cc565b6200205b828262003a3b565b5050565b600080826013548562002073919062004041565b6200207f91906200405b565b949350505050565b60606004805462000c3e90620040b2565b600260055403620020db5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b60026005556000620020ec62001364565b9050600d54811115620021685760405162461bcd60e51b815260206004820152603160248201527f4d696e74696e67205068617365206d757374207374696c6c206265206f6e676f60448201527f696e6720746f206d696e7420504f4c592e000000000000000000000000000000606482015260840162000906565b6064821115620021d45760405162461bcd60e51b815260206004820152603060248201527f42696420427564676574206d757374206e6f742062652067726561746572207460448201526f3430b710189818103832b931b2b73a1760811b606482015260840162000906565b60328210156200224d5760405162461bcd60e51b815260206004820152603460248201527f426964204275646765742050657263656e74206d757374206e6f74206265206c60448201527f657373207468616e2035302070657263656e742e000000000000000000000000606482015260840162000906565b6040516323b872dd60e01b815233600482015230602482015260448101849052733819f64f282bf135d62168c1e513280daf905e06906323b872dd906064016020604051808303816000875af1158015620022ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022d2919062004094565b50600d54811480620022f357506001600d54620022f09190620040ee565b81145b156200238d57601a5460ff161515600114620023695760405162461bcd60e51b815260206004820152602e60248201527f52756e2066696e616c697a654d696e74696e67282920746f20726573756d652060448201526d36b4b73a34b733903a37b230bc9760911b606482015260840162000906565b6200237660c8846200405b565b600e5462002385919062004104565b600e55606491505b60646200239b848462004041565b620023a791906200405b565b601b54620023b6919062004104565b601b55606483620023c88483620040ee565b620023d4919062004041565b620023e091906200405b565b601c54620023ef919062004104565b601c819055601b5462002403919062004104565b601b546200241390606462004041565b6200241f91906200405b565b601f556200242d8362003b8f565b60405183815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a25050600160055550565b600260055403620024af5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555602154620024c490601e62004104565b620024ce62001364565b116200252b5760405162461bcd60e51b815260206004820152602560248201527f4d7573742062652033302064617973206166746572204c4153545f4249445f50604482015264131050d15160da1b606482015260840162000906565b600f54600160a81b900460ff1615620025935760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f742072756e20647572696e6720726564656d7074696f6e20706860448201526330b9b29760e11b606482015260840162000906565b60006200259f62001364565b601654620025ae9190620040ee565b905061016e8111620026295760405162461bcd60e51b815260206004820152603d60248201527f43616e206e6f742072756e20696e20746865206c6173742079656172206c656160448201527f64696e6720757020746f20656e64206f66206c617374207374616b652e000000606482015260840162000906565b6040516370a0823160e01b81523060048201526509184e72a00090732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a0823190602401602060405180830381865afa15801562002681573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a7919062003ff8565b1115620027a8576006546040516370a0823160e01b81523060048201526001600160a01b03909116906352a438b890732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a0823190602401602060405180830381865afa15801562002713573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002739919062003ff8565b62002746600385620040ee565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381600087803b1580156200278557600080fd5b505af11580156200279a573d6000803e3d6000fd5b50505050620027a8620035a3565b6040516370a0823160e01b8152306004820152600090733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015620027fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002821919062003ff8565b111562002a23576009546040516370a0823160e01b8152306004820152733819f64f282bf135d62168c1e513280daf905e069163095ea7b3916001600160a01b039091169083906370a0823190602401602060405180830381865afa1580156200288f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b5919062003ff8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801562002901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002927919062004094565b50600a546040516370a0823160e01b81523060048201526001600160a01b0390911690637088b29290733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa1580156200298d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029b3919062003ff8565b6040518263ffffffff1660e01b8152600401620029d291815260200190565b6020604051808303816000875af1158015620029f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a18919062003ff8565b5062002a23620035a3565b506001600555565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101562002ab25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840162000906565b62000d008286868403620036a4565b60003362000cd781858562003863565b604080516101a081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290526101608101829052610180810191909152600754604051631823b7dd60e01b8152600481018490526000916001600160a01b031690631823b7dd9060240160c060405180830381865afa15801562002b85573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002bab91906200428c565b51600754604051631823b7dd60e01b8152600481018690529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002bfc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c2291906200428c565b60200151600754604051631823b7dd60e01b8152600481018790529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002c76573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c9c91906200428c565b6040908101516007549151631823b7dd60e01b8152600481018890529092506000916001600160a01b031690631823b7dd9060240160c060405180830381865afa15801562002cef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d1591906200428c565b60600151600754604051631823b7dd60e01b8152600481018990529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002d69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d8f91906200428c565b60800151600754604051631823b7dd60e01b8152600481018a90529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002de3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e0991906200428c565b60a0015190506000856001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002e51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e77919062004417565b6020015190506000866001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002ebf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ee5919062004417565b6040015190506000876001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002f2d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f53919062004417565b6060015190506000886001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002f9b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002fc1919062004417565b6080015190506000896001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562003009573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200302f919062004417565b60a00151905060008a6001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562003077573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200309d919062004417565b60c00151905060008b6001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa158015620030e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200310b919062004417565b60e090810151604080516101a08101825261ffff9a8b16815260ff998a166020820152978a16908801529490971660608601525063ffffffff909116608084015290921660a082015290151560c0820152908101969096526001600160a01b039485166101008701526bffffffffffffffffffffffff90931661012086015292166101408401526affffffffffffffffffffff909116610160830152151561018082015292915050565b600260055403620031f85760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600f54600160a81b900460ff161515600114620032685760405162461bcd60e51b815260206004820152602260248201527f526564656d7074696f6e2063616e206f6e6c792068617070656e20617420656e604482015261321760f11b606482015260840162000906565b3360009081526020819052604090205480821115620032ca5760405162461bcd60e51b815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015260640162000906565b600060135460105484620032df919062004041565b620032eb91906200405b565b905060006013546011548562003302919062004041565b6200330e91906200405b565b905060006013546012548662003325919062004041565b6200333191906200405b565b90506200333e85620013da565b8215620033c65760405163a9059cbb60e01b815233600482015260248101849052732b591e99afe9f32eaa6214f7b7629768c40eeb399063a9059cbb906044016020604051808303816000875af11580156200339e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033c4919062004094565b505b81156200344e5760405163a9059cbb60e01b815233600482015260248101839052733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af115801562003426573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200344c919062004094565b505b8015620034cf5760095460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015620034a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034cd919062004094565b505b60408051868152602081018590529081018390526060810182905233907fe02f6383e19e87c24e0c03e2cd5dbd05156cb29a1b0f3dbca1fa3430e444f63d9060800160405180910390a250506001600555505050565b600754604051636ef5920360e11b815260048101849052602481018390526001600160a01b039091169063ddeb2406906044016020604051808303816000875af115801562003578573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200359e91906200411a565b505050565b6040516370a0823160e01b81523060048201526200362890732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a08231906024015b602060405180830381865afa158015620035f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200361f919062003ff8565b6002546200205f565b6010556040516370a0823160e01b81523060048201526200366890733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401620035db565b6011556009546040516370a0823160e01b81523060048201526200369f916001600160a01b0316906370a0823190602401620035db565b601255565b6001600160a01b038316620037085760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000906565b6001600160a01b0382166200376b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000906565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146200385d57818110156200384e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640162000906565b6200385d8484848403620036a4565b50505050565b6001600160a01b038316620038c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840162000906565b6001600160a01b0382166200392d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840162000906565b6001600160a01b03831660009081526020819052604090205481811015620039a75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162000906565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290620039e090849062004104565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405162003a2d91815260200190565b60405180910390a36200385d565b6001600160a01b03821662003a9d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840162000906565b6001600160a01b0382166000908152602081905260409020548181101562003b135760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840162000906565b6001600160a01b038316600090815260208190526040812083830390556002805484929062003b44908490620040ee565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b620013e633828162003be45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000906565b806002600082825462003bf8919062004104565b90915550506001600160a01b0382166000908152602081905260408120805483929062003c2790849062004104565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b61076b80620044d383390190565b6001600160a01b0381168114620013e657600080fd5b6000806040838503121562003ca957600080fd5b82359150602083013562003cbd8162003c7f565b809150509250929050565b600060208083528351808285015260005b8181101562003cf75785810183015185820160400152820162003cd9565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121562003d2c57600080fd5b823562003d398162003c7f565b946020939093013593505050565b60008060006060848603121562003d5d57600080fd5b833562003d6a8162003c7f565b9250602084013562003d7c8162003c7f565b929592945050506040919091013590565b64ffffffffff81168114620013e657600080fd5b6000806040838503121562003db557600080fd5b82359150602083013562003cbd8162003d8d565b60008060006060848603121562003ddf57600080fd5b833562003dec8162003c7f565b925060208401359150604084013562003e058162003c7f565b809150509250925092565b60006020828403121562003e2357600080fd5b5035919050565b60006020828403121562003e3d57600080fd5b813562003e4a8162003c7f565b9392505050565b6000806040838503121562003e6557600080fd5b50508035926020909101359150565b815161ffff1681526101a08101602083015162003e96602084018260ff169052565b50604083015162003ead604084018261ffff169052565b50606083015162003ec4606084018261ffff169052565b50608083015162003edd608084018263ffffffff169052565b5060a083015162003ef360a084018260ff169052565b5060c083015162003f0860c084018215159052565b5060e083015160e08301526101008084015162003f2f828501826001600160a01b03169052565b5050610120838101516bffffffffffffffffffffffff1690830152610140808401516001600160a01b031690830152610160808401516affffffffffffffffffffff1690830152610180928301511515929091019190915290565b6000806040838503121562003f9e57600080fd5b823562003fab8162003c7f565b9150602083013562003cbd8162003c7f565b634e487b7160e01b600052601160045260246000fd5b61ffff81811683821601908082111562003ff15762003ff162003fbd565b5092915050565b6000602082840312156200400b57600080fd5b5051919050565b6000806000606084860312156200402857600080fd5b8351925060208401519150604084015190509250925092565b808202811582820484141762000cdd5762000cdd62003fbd565b6000826200407957634e487b7160e01b600052601260045260246000fd5b500490565b805180151581146200408f57600080fd5b919050565b600060208284031215620040a757600080fd5b62003e4a826200407e565b600181811c90821680620040c757607f821691505b602082108103620040e857634e487b7160e01b600052602260045260246000fd5b50919050565b8181038181111562000cdd5762000cdd62003fbd565b8082018082111562000cdd5762000cdd62003fbd565b6000602082840312156200412d57600080fd5b815162003e4a8162003c7f565b604051610100810167ffffffffffffffff811182821017156200416d57634e487b7160e01b600052604160045260246000fd5b60405290565b805168ffffffffffffffffff811681146200408f57600080fd5b805161ffff811681146200408f57600080fd5b600060e08284031215620041b357600080fd5b60405160e0810181811067ffffffffffffffff82111715620041e557634e487b7160e01b600052604160045260246000fd5b6040528251620041f58162003d8d565b8152620042056020840162004173565b6020820152620042186040840162004173565b60408201526200422b606084016200418d565b60608201526200423e608084016200418d565b60808201526200425160a084016200418d565b60a08201526200426460c084016200407e565b60c08201529392505050565b80516affffffffffffffffffffff811681146200408f57600080fd5b600060c082840312156200429f57600080fd5b60405160c0810181811067ffffffffffffffff82111715620042d157634e487b7160e01b600052604160045260246000fd5b604052825181526020830151620042e88162003c7f565b602082015260408301516bffffffffffffffffffffffff811681146200430d57600080fd5b60408201526060830151620043228162003c7f565b6060820152620043356080840162004270565b60808201526200434860a084016200407e565b60a08201529392505050565b6000608082840312156200436757600080fd5b6040516080810181811067ffffffffffffffff821117156200439957634e487b7160e01b600052604160045260246000fd5b80604052508091508251620043ae8162003d8d565b8152620043be6020840162004173565b6020820152620043d1604084016200418d565b6040820152620043e4606084016200418d565b60608201525092915050565b805160ff811681146200408f57600080fd5b805163ffffffff811681146200408f57600080fd5b600061016082840312156200442b57600080fd5b620044356200413a565b62004441848462004354565b815262004451608084016200418d565b60208201526200446460a08401620043f0565b60408201526200447760c084016200418d565b60608201526200448a60e084016200418d565b60808201526200449e610100840162004402565b60a0820152620044b26101208401620043f0565b60c0820152620044c661014084016200407e565b60e0820152939250505056fe6080604052600080546001600160a01b031990811673b7c9e99da8a857ce576a830a9c19312114d9de02179091556001805490911672c055ee792b5bc9aeb06ced73bb71ce7e5773ce1790556021600381905560045534801561006157600080fd5b506106fa806100716000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80636fbfd40914610046578063e4fc6b6d14610078578063f7381ab314610082575b600080fd5b6100666100543660046105ee565b60026020526000908152604090205481565b60405190815260200160405180910390f35b61008061008a565b005b61008061031d565b60055460ff1661012d5760405162461bcd60e51b815260206004820152605160248201527f54686520646973747269627574696f6e732068617665206e6f74206265656e2060448201527f7363686564756c6564207965742c2072756e207363686564756c655f6469737460648201527f7269627574696f6e28292066697273742e000000000000000000000000000000608482015260a4015b60405180910390fd5b60008060009054906101000a90046001600160a01b03166001600160a01b031663086146d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a59190610607565b600081815260026020526040902054909150806102815760405162461bcd60e51b815260206004820152608260248201527f546865726520617265206e6f20617661696c61626c652066756e647320746f2060448201527f6265206469737472696275746564207468697320796561722e2045697468657260648201527f206974206973206e6f742061207175616c696669656420796561722c206f722060848201527f69742068617320616c7265616479206265656e2072756e20746869732079656160a482015261391760f11b60c482015260e401610124565b60005460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af11580156102e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030a9190610620565b5050600090815260026020526040812055565b60055460ff161561032d57600080fd5b6003546040516370a0823160e01b815230600482015260649190733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015610383573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a79190610607565b6103b1919061065f565b6103bb919061067c565b600160005260026020527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e055600480546040516370a0823160e01b81523092810192909252606491733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104639190610607565b61046d919061065f565b610477919061067c565b60026020527f88601476d11616a71c5be67555bd1dff4b1cbf21533d2669b768b61518cfe1c3819055600160009081527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05490916104d49161069e565b6040516370a0823160e01b8152306004820152733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015610523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105479190610607565b61055191906106b1565b60015460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052909150733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af11580156105b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105dd9190610620565b50506005805460ff19166001179055565b60006020828403121561060057600080fd5b5035919050565b60006020828403121561061957600080fd5b5051919050565b60006020828403121561063257600080fd5b8151801515811461064257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761067657610676610649565b92915050565b60008261069957634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561067657610676610649565b818103818111156106765761067661064956fea264697066735822122006cb83da1c0667ffb81c0a8cd2e6a18da789397547bfb5cd4952c254f401129464736f6c634300081100335265656e7472616e637947756172643a207265656e7472616e742063616c6c00a264697066735822122084dbbe263ddc09004c23bdccfe482c28718db00ff876488a8007235fb80456d064736f6c634300081100336080604052600780546001600160a01b031916732b591e99afe9f32eaa6214f7b7629768c40eeb391790556305f5e1006009553480156200003f57600080fd5b50604051620014d8380380620014d883398101604081905262000062916200018b565b6040518060400160405280600a8152602001692837b63c902bb0ba32b960b11b815250604051806040016040528060058152602001642ba0aa22a960d91b8152508160039081620000b4919062000268565b506004620000c3828262000268565b5050600160055550600680546001600160a01b038084166001600160a01b03199283161790925560088054858416921691909117905560075460408051635c9302c960e01b815290519190921691635c9302c99160048083019260209291908290030181865afa1580156200013c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000162919062000334565b600a55506200034e9050565b80516001600160a01b03811681146200018657600080fd5b919050565b600080604083850312156200019f57600080fd5b620001aa836200016e565b9150620001ba602084016200016e565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ee57607f821691505b6020821081036200020f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026357600081815260208120601f850160051c810160208610156200023e5750805b601f850160051c820191505b818110156200025f578281556001016200024a565b5050505b505050565b81516001600160401b03811115620002845762000284620001c3565b6200029c81620002958454620001d9565b8462000215565b602080601f831160018114620002d45760008415620002bb5750858301515b600019600386901b1c1916600185901b1785556200025f565b600085815260208120601f198616915b828110156200030557888601518255948401946001909101908401620002e4565b5085821015620003245787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200034757600080fd5b5051919050565b61117a806200035e6000396000f3fe6080604052600436106101025760003560e01c80635c35f02211610095578063a457c2d711610064578063a457c2d7146103b5578063a9059cbb146103d5578063c34c08e5146103f5578063db8f94ce14610415578063dd62ed3e1461043557600080fd5b80635c35f0221461031b5780636b9f96ea1461035357806370a082311461036a57806395d89b41146103a057600080fd5b8063313ce567116100d1578063313ce567146102b457806339509351146102d05780633f3eeda5146102f05780634b52e8671461030557600080fd5b806306fdde031461021a578063095ea7b31461024557806318160ddd1461027557806323b872dd1461029457600080fd5b366102155760026005540361015e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600555600061016d61047b565b9050600081116101bf5760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67205068617365206973206f7665722e000000000000000000006044820152606401610155565b6101d16101cc3483610e5b565b610562565b6040805182815234602082015233917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f910160405180910390a25060016005819055005b600080fd5b34801561022657600080fd5b5061022f61056f565b60405161023c9190610e72565b60405180910390f35b34801561025157600080fd5b50610265610260366004610edc565b610601565b604051901515815260200161023c565b34801561028157600080fd5b506002545b60405190815260200161023c565b3480156102a057600080fd5b506102656102af366004610f06565b61061b565b3480156102c057600080fd5b506040516012815260200161023c565b3480156102dc57600080fd5b506102656102eb366004610edc565b61063f565b3480156102fc57600080fd5b5061028661047b565b34801561031157600080fd5b50610286600a5481565b34801561032757600080fd5b5060085461033b906001600160a01b031681565b6040516001600160a01b03909116815260200161023c565b34801561035f57600080fd5b5061036861067e565b005b34801561037657600080fd5b50610286610385366004610f42565b6001600160a01b031660009081526020819052604090205490565b3480156103ac57600080fd5b5061022f6107c6565b3480156103c157600080fd5b506102656103d0366004610edc565b6107d5565b3480156103e157600080fd5b506102656103f0366004610edc565b610867565b34801561040157600080fd5b5060065461033b906001600160a01b031681565b34801561042157600080fd5b50610368610430366004610f42565b610875565b34801561044157600080fd5b50610286610450366004610f64565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600080600954602461048d9190610e5b565b600954600a54600760009054906101000a90046001600160a01b03166001600160a01b0316635c9302c96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a9190610f97565b6105149190610fb0565b61051e9190610e5b565b6105289190610fc3565b6009549091506105398260036110c9565b6105439190610e5b565b60095461055290610171610e5b565b61055c9190610fc3565b91505090565b61056c33826109e2565b50565b60606003805461057e906110d5565b80601f01602080910402602001604051908101604052809291908181526020018280546105aa906110d5565b80156105f75780601f106105cc576101008083540402835291602001916105f7565b820191906000526020600020905b8154815290600101906020018083116105da57829003601f168201915b5050505050905090565b60003361060f818585610ac1565b60019150505b92915050565b600033610629858285610be5565b610634858585610c77565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061060f908290869061067990879061110f565b610ac1565b6006546001600160a01b031633146106e45760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79204578656375746f722063616e2072756e20746869732066756e637460448201526334b7b71760e11b6064820152608401610155565b600654604051479160009182916001600160a01b03169084908381818185875af1925050503d8060008114610735576040519150601f19603f3d011682016040523d82523d6000602084013e61073a565b606091505b50915091508161078c5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610155565b60405183815233907f12b2a0ee977e74c33898f8be30fde7ae3a32ac7409a3666da55ce77e9bc32e879060200160405180910390a2505050565b60606004805461057e906110d5565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561085a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610155565b6106348286868403610ac1565b60003361060f818585610c77565b6006546001600160a01b031633146108db5760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79204578656375746f722063616e2072756e20746869732066756e637460448201526334b7b71760e11b6064820152608401610155565b6006546040516370a0823160e01b815230600482015282916001600160a01b038084169263a9059cbb92919091169083906370a0823190602401602060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109569190610f97565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156109b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dd9190611122565b505050565b6001600160a01b038216610a385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610155565b8060026000828254610a4a919061110f565b90915550506001600160a01b03821660009081526020819052604081208054839290610a7790849061110f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610b235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610155565b6001600160a01b038216610b845760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610155565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c715781811015610c645760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610155565b610c718484848403610ac1565b50505050565b6001600160a01b038316610cdb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610155565b6001600160a01b038216610d3d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610155565b6001600160a01b03831660009081526020819052604090205481811015610db55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610155565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610dec90849061110f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e3891815260200190565b60405180910390a3610c71565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761061557610615610e45565b600060208083528351808285015260005b81811015610e9f57858101830151858201604001528201610e83565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ed757600080fd5b919050565b60008060408385031215610eef57600080fd5b610ef883610ec0565b946020939093013593505050565b600080600060608486031215610f1b57600080fd5b610f2484610ec0565b9250610f3260208501610ec0565b9150604084013590509250925092565b600060208284031215610f5457600080fd5b610f5d82610ec0565b9392505050565b60008060408385031215610f7757600080fd5b610f8083610ec0565b9150610f8e60208401610ec0565b90509250929050565b600060208284031215610fa957600080fd5b5051919050565b8181038181111561061557610615610e45565b600082610fe057634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561102057816000190482111561100657611006610e45565b8085161561101357918102915b93841c9390800290610fea565b509250929050565b60008261103757506001610615565b8161104457506000610615565b816001811461105a576002811461106457611080565b6001915050610615565b60ff84111561107557611075610e45565b50506001821b610615565b5060208310610133831016604e8410600b84101617156110a3575081810a610615565b6110ad8383610fe5565b80600019048211156110c1576110c1610e45565b029392505050565b6000610f5d8383611028565b600181811c908216806110e957607f821691505b60208210810361110957634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561061557610615610e45565b60006020828403121561113457600080fd5b81518015158114610f5d57600080fdfea26469706673582212208b15e1e5191d3eafc6c219f3f79381c9f2c393c0cdca5ae71d35d8d9756cc1f064736f6c63430008110033

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620003a95760003560e01c80636abd90af11620001ed5780639d7639641162000119578063b9a8878a11620000af578063ce6a416e1162000086578063ce6a416e1462000854578063dd62ed3e146200086b578063de3fe97314620008a7578063eea8252414620008b157600080fd5b8063b9a8878a146200081a578063c6a2ae8f1462000824578063ce612b1f146200084a57600080fd5b8063a457c2d711620000f0578063a457c2d714620007bc578063a9059cbb14620007d3578063b80c67db14620007ea578063b87f29fb14620007f457600080fd5b80639d76396414620007915780639e5fe0a0146200079b578063a13b161d14620007b257600080fd5b806380ba40d1116200018f5780638e85751611620001665780638e857516146200074857806395d89b41146200075f57806398c9227614620007695780639b691f98146200077d57600080fd5b806380ba40d1146200072657806384eb60ed146200073057806387f6d4fc146200073e57600080fd5b806370a0823111620001c457806370a0823114620006d957806376256d44146200070557806379cc6790146200070f57600080fd5b80636abd90af14620006a45780636b9e57cc14620006bb5780636e9e2b6014620006c557600080fd5b80633e6968b611620002d957806350dc6b0d116200026f578063643b38e01162000246578063643b38e01462000665578063673b89da14620006795780636a63ef6e14620006905780636ab99e62146200069a57600080fd5b806350dc6b0d146200063057806352a76a091462000644578063598647f8146200064e57600080fd5b8063489c643d11620002b0578063489c643d14620005115780634bf8bdad146200051b5780634e44e04c146200053257806350c6eaf0146200055857600080fd5b80633e6968b614620004e657806342966c6814620004f057806346c0b9c4146200050757600080fd5b806326510714116200034f5780632c1c86d011620003265780632c1c86d014620004a05780632c26884814620004aa578063313ce56714620004bf5780633950935114620004cf57600080fd5b8063265107141462000468578063278c33a4146200047f5780632ae32c14146200049657600080fd5b80631689a0df11620003845780631689a0df146200041157806318160ddd146200043e57806323b872dd146200045157600080fd5b8063033cbd5514620003ae57806306fdde0314620003c7578063095ea7b314620003e9575b600080fd5b620003c5620003bf36600462003c95565b620008c8565b005b620003d162000c2d565b604051620003e0919062003cc8565b60405180910390f35b62000400620003fa36600462003d18565b62000cc7565b6040519015158152602001620003e0565b60225462000425906001600160a01b031681565b6040516001600160a01b039091168152602001620003e0565b6002545b604051908152602001620003e0565b620004006200046236600462003d47565b62000ce3565b620003c56200047936600462003da1565b62000d0b565b620003c56200049036600462003dc9565b62000dfa565b6200044260215481565b620003c562000f89565b600f546200040090600160a81b900460ff1681565b60405160098152602001620003e0565b62000400620004e036600462003d18565b62001321565b6200044262001364565b620003c56200050136600462003e10565b620013da565b62000442601b5481565b6200044260155481565b620003c56200052c36600462003c95565b620013e9565b620004006200054336600462003e2a565b60146020526000908152604090205460ff1681565b620005db6200056936600462003e2a565b60176020526000908152604090205464ffffffffff81169068ffffffffffffffffff6501000000000082048116916e01000000000000000000000000000081049091169061ffff600160b81b8204811691600160c81b8104821691600160d81b8204169060ff600160e81b9091041687565b6040805164ffffffffff98909816885268ffffffffffffffffff9687166020890152949095169386019390935261ffff9182166060860152811660808501521660a0830152151560c082015260e001620003e0565b60235462000425906001600160a01b031681565b620003c5620014b7565b620003c56200065f36600462003e51565b620016b3565b60185462000425906001600160a01b031681565b620003c56200068a36600462003da1565b62001881565b6200044260105481565b62000442600e5481565b620003c5620006b536600462003e10565b62001908565b6200044260115481565b60095462000425906001600160a01b031681565b62000442620006ea36600462003e2a565b6001600160a01b031660009081526020819052604090205490565b62000442601f5481565b620003c56200072036600462003d18565b62002042565b62000442600b5481565b601a54620004009060ff1681565b6200044260165481565b620004426200075936600462003e51565b6200205f565b620003d162002087565b60245462000425906001600160a01b031681565b60205462000425906001600160a01b031681565b62000442600c5481565b620003c5620007ac36600462003e51565b62002098565b620003c56200246c565b62000400620007cd36600462003d18565b62002a2b565b62000400620007e436600462003d18565b62002ac1565b62000442601e5481565b620004006200080536600462003e2a565b60196020526000908152604090205460ff1681565b62000442600d5481565b6200083b6200083536600462003e10565b62002ad1565b604051620003e0919062003e74565b6200044260125481565b620003c56200086536600462003e10565b620031b5565b620004426200087c36600462003f8a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b62000442601c5481565b620003c5620008c236600462003e51565b62003525565b6002600554036200090f5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e83398151915260448201526064015b60405180910390fd5b60026005556001600160a01b03811660009081526017602052604090206200093662001364565b8154620009589061ffff600160c81b8204811691600160b81b90041662003fd3565b61ffff1610620009ab5760405162461bcd60e51b815260206004820152601c60248201527f54686973207374616b6520686173206e6f7420656e6465642079657400000000604482015260640162000906565b6008546040516367654b7360e11b8152600481018590526001600160a01b0384811660248301529091169063ceca96e6906044016020604051808303816000875af1158015620009ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a25919062003ff8565b506018546001600160a01b039081169083160362000bfe57600a60009054906101000a90046001600160a01b03166001600160a01b0316631f4980056040518163ffffffff1660e01b81526004016060604051808303816000875af115801562000a93573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ab9919062004012565b5050600f805460ff60a81b1916600160a81b179055506040516370a0823160e01b815230600482015260009061271090732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a0823190602401602060405180830381865afa15801562000b26573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b4c919062003ff8565b62000b5990606462004041565b62000b6591906200405b565b60405163a9059cbb60e01b815273b7c9e99da8a857ce576a830a9c19312114d9de02600482015260248101829052909150732b591e99afe9f32eaa6214f7b7629768c40eeb399063a9059cbb906044016020604051808303816000875af115801562000bd5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000bfb919062004094565b50505b62000c08620035a3565b5050336000908152601460205260409020805460ff1916600190811790915560055550565b60606003805462000c3e90620040b2565b80601f016020809104026020016040519081016040528092919081815260200182805462000c6c90620040b2565b801562000cbd5780601f1062000c915761010080835404028352916020019162000cbd565b820191906000526020600020905b81548152906001019060200180831162000c9f57829003601f168201915b5050505050905090565b60003362000cd7818585620036a4565b60019150505b92915050565b60003362000cf3858285620037cc565b62000d0085858562003863565b506001949350505050565b60026005540362000d4e5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600581905560165462000d649190620040ee565b62000d6e62001364565b101562000d7a57600080fd5b600654604051631a1804d160e11b81526004810184905264ffffffffff831660248201526001600160a01b039091169063343009a290604401600060405180830381600087803b15801562000dce57600080fd5b505af115801562000de3573d6000803e3d6000fd5b5050505062000df1620035a3565b50506001600555565b60026005540362000e3d5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b600260055560215462000e5290601e62004104565b62000e5c62001364565b111562000ed25760405162461bcd60e51b815260206004820152603a60248201527f4966203330204461797320676f20627920776974686f7574206120626964207060448201527f6c616365642c2062696464696e6720706861736520656e64732e000000000000606482015260840162000906565b3360009081526019602052604090205460ff1662000eef57600080fd5b6007546040516310d9d34960e01b81526001600160a01b038581166004830152602482018590528381166044830152909116906310d9d349906064016020604051808303816000875af115801562000f4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f71919062003ff8565b5062000f7c62001364565b6021555050600160055550565b60026005540362000fcc5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600c5462000fde62001364565b116200102d5760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e67205068617365206d757374206265206f7665722e0000000000604482015260640162000906565b601a5460ff16156200103e57600080fd5b60006040516200104e9062003c71565b604051809103906000f0801580156200106b573d6000803e3d6000fd5b50602080546001600160a01b0319166001600160a01b0383161790556040516370a0823160e01b8152306004820152909150600090733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015620010dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001103919062003ff8565b905060006127106200111783606462004041565b6200112391906200405b565b60205460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052909150733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af11580156200118c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011b2919062004094565b50601f54606490620011c58385620040ee565b620011d1919062004041565b620011dd91906200405b565b601d819055620011ee8284620040ee565b620011fa9190620040ee565b601e81905560095460405163095ea7b360e01b81526001600160a01b0390911660048201526024810191909152733819f64f282bf135d62168c1e513280daf905e069063095ea7b3906044016020604051808303816000875af115801562001266573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200128c919062004094565b50600a54601e5460405162acaed560e31b81526001600160a01b039092169163056576a891620012c29160040190815260200190565b6020604051808303816000875af1158015620012e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001308919062003ff8565b5050601a805460ff191660019081179091556005555050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919062000cd790829086906200135e90879062004104565b620036a4565b60065460408051635c9302c960e01b815290516000926001600160a01b031691635c9302c99160048083019260209291908290030181865afa158015620013af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013d5919062003ff8565b905090565b620013e6338262003a3b565b50565b6002600554036200142c5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600754604051634baff1e560e11b8152600481018490526001600160a01b0383811660248301529091169063975fe3ca906044015b6020604051808303816000875af115801562001486573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014ac919062003ff8565b5062000df1620035a3565b600260055403620014fa5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600d546200150c62001364565b116200155b5760405162461bcd60e51b815260206004820152601c60248201527f4c617465204d696e74205068617365206d757374206265206f76657200000000604482015260640162000906565b600f54600160a01b900460ff16156200157357600080fd5b600e5460405163a9059cbb60e01b815273b7c9e99da8a857ce576a830a9c19312114d9de0260048201526024810191909152733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af1158015620015e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200160a919062004094565b50600f54600e5460405163a9059cbb60e01b81526001600160a01b0390921660048301526024820152733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af115801562001672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001698919062004094565b50600f805460ff60a01b1916600160a01b1790556001600555565b600260055403620016f65760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555601a5460ff166200170b57600080fd5b6021546200171b90601e62004104565b6200172562001364565b11156200179b5760405162461bcd60e51b815260206004820152603a60248201527f4966203330204461797320676f20627920776974686f7574206120626964207060448201527f6c616365642c2062696464696e6720706861736520656e64732e000000000000606482015260840162000906565b3360009081526019602052604090205460ff16620017b857600080fd5b6007546040516361c2acc360e01b815260048101849052602481018390526001600160a01b03909116906361c2acc3906044016020604051808303816000875af11580156200180b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001831919062003ff8565b506200183c62001364565b60215560408051838152602081018390527f47a0375b24d90a3895ca7fd01feef2864adfa0b83dd13508f93800383057812f910160405180910390a150506001600555565b600260055403620018c45760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600754604051633e04ae6960e21b81526004810184905264ffffffffff831660248201526001600160a01b039091169063f812b9a49060440162001466565b6002600554036200194b5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b60026005556008546040516304c8b84160e21b8152600481018390526000916001600160a01b031690631322e10490602401602060405180830381865afa1580156200199b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019c191906200411a565b6008546040516331a9108f60e11b8152600481018590529192506000916001600160a01b0390911690636352211e90602401602060405180830381865afa15801562001a11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a3791906200411a565b90506001600160a01b038116301462001aa95760405162461bcd60e51b815260206004820152602d60248201527f43616e206f6e6c792070726f636573732048534973206f776e6564206279205060448201526c37b63c9021b7b73a3930b1ba1760991b606482015260840162000906565b6000829050601554816001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e060405180830381865afa15801562001af0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b169190620041a0565b6060015161ffff161062001b2957600080fd5b600060176000856001600160a01b03166001600160a01b031681526020019081526020016000209050816001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e060405180830381865afa15801562001b91573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bb79190620041a0565b51815464ffffffffff191664ffffffffff90911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001c14573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c3a9190620041a0565b60200151815468ffffffffffffffffff90911665010000000000026dffffffffffffffffff00000000001990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001cb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cd79190620041a0565b6040015181600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550816001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e060405180830381865afa15801562001d46573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d6c9190620041a0565b60600151815461ffff909116600160b81b0261ffff60b81b1990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001dd1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001df79190620041a0565b60800151815461ffff909116600160c81b0261ffff60c81b1990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001e5c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e829190620041a0565b60800151815461ffff909116600160d81b0261ffff60d81b1990911617815560408051635677034f60e11b815290516001600160a01b0384169163acee069e9160048083019260e09291908290030181865afa15801562001ee7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f0d9190620041a0565b60c001518154901515600160e81b0260ff60e81b199091161780825560009062001f4c9061ffff600160c81b8204811691600160b81b90041662003fd3565b61ffff16905060165481111562001f7e576016819055601880546001600160a01b0319166001600160a01b0387161790555b6008546040516362d02f9960e11b8152600481018890526001600160a01b039091169063c5a05f32906024016020604051808303816000875af115801562001fca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ff091906200411a565b50846001600160a01b03167ff985aec918d4c7384a8cb3a32838ef59ba9a2210112f5464076eda30a2ba5b7e876040516200202d91815260200190565b60405180910390a25050600160055550505050565b6200204f823383620037cc565b6200205b828262003a3b565b5050565b600080826013548562002073919062004041565b6200207f91906200405b565b949350505050565b60606004805462000c3e90620040b2565b600260055403620020db5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b60026005556000620020ec62001364565b9050600d54811115620021685760405162461bcd60e51b815260206004820152603160248201527f4d696e74696e67205068617365206d757374207374696c6c206265206f6e676f60448201527f696e6720746f206d696e7420504f4c592e000000000000000000000000000000606482015260840162000906565b6064821115620021d45760405162461bcd60e51b815260206004820152603060248201527f42696420427564676574206d757374206e6f742062652067726561746572207460448201526f3430b710189818103832b931b2b73a1760811b606482015260840162000906565b60328210156200224d5760405162461bcd60e51b815260206004820152603460248201527f426964204275646765742050657263656e74206d757374206e6f74206265206c60448201527f657373207468616e2035302070657263656e742e000000000000000000000000606482015260840162000906565b6040516323b872dd60e01b815233600482015230602482015260448101849052733819f64f282bf135d62168c1e513280daf905e06906323b872dd906064016020604051808303816000875af1158015620022ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022d2919062004094565b50600d54811480620022f357506001600d54620022f09190620040ee565b81145b156200238d57601a5460ff161515600114620023695760405162461bcd60e51b815260206004820152602e60248201527f52756e2066696e616c697a654d696e74696e67282920746f20726573756d652060448201526d36b4b73a34b733903a37b230bc9760911b606482015260840162000906565b6200237660c8846200405b565b600e5462002385919062004104565b600e55606491505b60646200239b848462004041565b620023a791906200405b565b601b54620023b6919062004104565b601b55606483620023c88483620040ee565b620023d4919062004041565b620023e091906200405b565b601c54620023ef919062004104565b601c819055601b5462002403919062004104565b601b546200241390606462004041565b6200241f91906200405b565b601f556200242d8362003b8f565b60405183815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a25050600160055550565b600260055403620024af5760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555602154620024c490601e62004104565b620024ce62001364565b116200252b5760405162461bcd60e51b815260206004820152602560248201527f4d7573742062652033302064617973206166746572204c4153545f4249445f50604482015264131050d15160da1b606482015260840162000906565b600f54600160a81b900460ff1615620025935760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f742072756e20647572696e6720726564656d7074696f6e20706860448201526330b9b29760e11b606482015260840162000906565b60006200259f62001364565b601654620025ae9190620040ee565b905061016e8111620026295760405162461bcd60e51b815260206004820152603d60248201527f43616e206e6f742072756e20696e20746865206c6173742079656172206c656160448201527f64696e6720757020746f20656e64206f66206c617374207374616b652e000000606482015260840162000906565b6040516370a0823160e01b81523060048201526509184e72a00090732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a0823190602401602060405180830381865afa15801562002681573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a7919062003ff8565b1115620027a8576006546040516370a0823160e01b81523060048201526001600160a01b03909116906352a438b890732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a0823190602401602060405180830381865afa15801562002713573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002739919062003ff8565b62002746600385620040ee565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381600087803b1580156200278557600080fd5b505af11580156200279a573d6000803e3d6000fd5b50505050620027a8620035a3565b6040516370a0823160e01b8152306004820152600090733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015620027fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002821919062003ff8565b111562002a23576009546040516370a0823160e01b8152306004820152733819f64f282bf135d62168c1e513280daf905e069163095ea7b3916001600160a01b039091169083906370a0823190602401602060405180830381865afa1580156200288f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b5919062003ff8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801562002901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002927919062004094565b50600a546040516370a0823160e01b81523060048201526001600160a01b0390911690637088b29290733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa1580156200298d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029b3919062003ff8565b6040518263ffffffff1660e01b8152600401620029d291815260200190565b6020604051808303816000875af1158015620029f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a18919062003ff8565b5062002a23620035a3565b506001600555565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101562002ab25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840162000906565b62000d008286868403620036a4565b60003362000cd781858562003863565b604080516101a081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290526101608101829052610180810191909152600754604051631823b7dd60e01b8152600481018490526000916001600160a01b031690631823b7dd9060240160c060405180830381865afa15801562002b85573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002bab91906200428c565b51600754604051631823b7dd60e01b8152600481018690529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002bfc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c2291906200428c565b60200151600754604051631823b7dd60e01b8152600481018790529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002c76573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c9c91906200428c565b6040908101516007549151631823b7dd60e01b8152600481018890529092506000916001600160a01b031690631823b7dd9060240160c060405180830381865afa15801562002cef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d1591906200428c565b60600151600754604051631823b7dd60e01b8152600481018990529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002d69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d8f91906200428c565b60800151600754604051631823b7dd60e01b8152600481018a90529192506000916001600160a01b0390911690631823b7dd9060240160c060405180830381865afa15801562002de3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e0991906200428c565b60a0015190506000856001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002e51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e77919062004417565b6020015190506000866001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002ebf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ee5919062004417565b6040015190506000876001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002f2d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f53919062004417565b6060015190506000886001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562002f9b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002fc1919062004417565b6080015190506000896001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562003009573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200302f919062004417565b60a00151905060008a6001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa15801562003077573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200309d919062004417565b60c00151905060008b6001600160a01b031663a8d5fd656040518163ffffffff1660e01b815260040161016060405180830381865afa158015620030e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200310b919062004417565b60e090810151604080516101a08101825261ffff9a8b16815260ff998a166020820152978a16908801529490971660608601525063ffffffff909116608084015290921660a082015290151560c0820152908101969096526001600160a01b039485166101008701526bffffffffffffffffffffffff90931661012086015292166101408401526affffffffffffffffffffff909116610160830152151561018082015292915050565b600260055403620031f85760405162461bcd60e51b815260206004820152601f602482015260008051602062004c3e833981519152604482015260640162000906565b6002600555600f54600160a81b900460ff161515600114620032685760405162461bcd60e51b815260206004820152602260248201527f526564656d7074696f6e2063616e206f6e6c792068617070656e20617420656e604482015261321760f11b606482015260840162000906565b3360009081526020819052604090205480821115620032ca5760405162461bcd60e51b815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015260640162000906565b600060135460105484620032df919062004041565b620032eb91906200405b565b905060006013546011548562003302919062004041565b6200330e91906200405b565b905060006013546012548662003325919062004041565b6200333191906200405b565b90506200333e85620013da565b8215620033c65760405163a9059cbb60e01b815233600482015260248101849052732b591e99afe9f32eaa6214f7b7629768c40eeb399063a9059cbb906044016020604051808303816000875af11580156200339e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033c4919062004094565b505b81156200344e5760405163a9059cbb60e01b815233600482015260248101839052733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af115801562003426573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200344c919062004094565b505b8015620034cf5760095460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015620034a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034cd919062004094565b505b60408051868152602081018590529081018390526060810182905233907fe02f6383e19e87c24e0c03e2cd5dbd05156cb29a1b0f3dbca1fa3430e444f63d9060800160405180910390a250506001600555505050565b600754604051636ef5920360e11b815260048101849052602481018390526001600160a01b039091169063ddeb2406906044016020604051808303816000875af115801562003578573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200359e91906200411a565b505050565b6040516370a0823160e01b81523060048201526200362890732b591e99afe9f32eaa6214f7b7629768c40eeb39906370a08231906024015b602060405180830381865afa158015620035f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200361f919062003ff8565b6002546200205f565b6010556040516370a0823160e01b81523060048201526200366890733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401620035db565b6011556009546040516370a0823160e01b81523060048201526200369f916001600160a01b0316906370a0823190602401620035db565b601255565b6001600160a01b038316620037085760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000906565b6001600160a01b0382166200376b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000906565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146200385d57818110156200384e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640162000906565b6200385d8484848403620036a4565b50505050565b6001600160a01b038316620038c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840162000906565b6001600160a01b0382166200392d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840162000906565b6001600160a01b03831660009081526020819052604090205481811015620039a75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162000906565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290620039e090849062004104565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405162003a2d91815260200190565b60405180910390a36200385d565b6001600160a01b03821662003a9d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840162000906565b6001600160a01b0382166000908152602081905260409020548181101562003b135760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840162000906565b6001600160a01b038316600090815260208190526040812083830390556002805484929062003b44908490620040ee565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b620013e633828162003be45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000906565b806002600082825462003bf8919062004104565b90915550506001600160a01b0382166000908152602081905260408120805483929062003c2790849062004104565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b61076b80620044d383390190565b6001600160a01b0381168114620013e657600080fd5b6000806040838503121562003ca957600080fd5b82359150602083013562003cbd8162003c7f565b809150509250929050565b600060208083528351808285015260005b8181101562003cf75785810183015185820160400152820162003cd9565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121562003d2c57600080fd5b823562003d398162003c7f565b946020939093013593505050565b60008060006060848603121562003d5d57600080fd5b833562003d6a8162003c7f565b9250602084013562003d7c8162003c7f565b929592945050506040919091013590565b64ffffffffff81168114620013e657600080fd5b6000806040838503121562003db557600080fd5b82359150602083013562003cbd8162003d8d565b60008060006060848603121562003ddf57600080fd5b833562003dec8162003c7f565b925060208401359150604084013562003e058162003c7f565b809150509250925092565b60006020828403121562003e2357600080fd5b5035919050565b60006020828403121562003e3d57600080fd5b813562003e4a8162003c7f565b9392505050565b6000806040838503121562003e6557600080fd5b50508035926020909101359150565b815161ffff1681526101a08101602083015162003e96602084018260ff169052565b50604083015162003ead604084018261ffff169052565b50606083015162003ec4606084018261ffff169052565b50608083015162003edd608084018263ffffffff169052565b5060a083015162003ef360a084018260ff169052565b5060c083015162003f0860c084018215159052565b5060e083015160e08301526101008084015162003f2f828501826001600160a01b03169052565b5050610120838101516bffffffffffffffffffffffff1690830152610140808401516001600160a01b031690830152610160808401516affffffffffffffffffffff1690830152610180928301511515929091019190915290565b6000806040838503121562003f9e57600080fd5b823562003fab8162003c7f565b9150602083013562003cbd8162003c7f565b634e487b7160e01b600052601160045260246000fd5b61ffff81811683821601908082111562003ff15762003ff162003fbd565b5092915050565b6000602082840312156200400b57600080fd5b5051919050565b6000806000606084860312156200402857600080fd5b8351925060208401519150604084015190509250925092565b808202811582820484141762000cdd5762000cdd62003fbd565b6000826200407957634e487b7160e01b600052601260045260246000fd5b500490565b805180151581146200408f57600080fd5b919050565b600060208284031215620040a757600080fd5b62003e4a826200407e565b600181811c90821680620040c757607f821691505b602082108103620040e857634e487b7160e01b600052602260045260246000fd5b50919050565b8181038181111562000cdd5762000cdd62003fbd565b8082018082111562000cdd5762000cdd62003fbd565b6000602082840312156200412d57600080fd5b815162003e4a8162003c7f565b604051610100810167ffffffffffffffff811182821017156200416d57634e487b7160e01b600052604160045260246000fd5b60405290565b805168ffffffffffffffffff811681146200408f57600080fd5b805161ffff811681146200408f57600080fd5b600060e08284031215620041b357600080fd5b60405160e0810181811067ffffffffffffffff82111715620041e557634e487b7160e01b600052604160045260246000fd5b6040528251620041f58162003d8d565b8152620042056020840162004173565b6020820152620042186040840162004173565b60408201526200422b606084016200418d565b60608201526200423e608084016200418d565b60808201526200425160a084016200418d565b60a08201526200426460c084016200407e565b60c08201529392505050565b80516affffffffffffffffffffff811681146200408f57600080fd5b600060c082840312156200429f57600080fd5b60405160c0810181811067ffffffffffffffff82111715620042d157634e487b7160e01b600052604160045260246000fd5b604052825181526020830151620042e88162003c7f565b602082015260408301516bffffffffffffffffffffffff811681146200430d57600080fd5b60408201526060830151620043228162003c7f565b6060820152620043356080840162004270565b60808201526200434860a084016200407e565b60a08201529392505050565b6000608082840312156200436757600080fd5b6040516080810181811067ffffffffffffffff821117156200439957634e487b7160e01b600052604160045260246000fd5b80604052508091508251620043ae8162003d8d565b8152620043be6020840162004173565b6020820152620043d1604084016200418d565b6040820152620043e4606084016200418d565b60608201525092915050565b805160ff811681146200408f57600080fd5b805163ffffffff811681146200408f57600080fd5b600061016082840312156200442b57600080fd5b620044356200413a565b62004441848462004354565b815262004451608084016200418d565b60208201526200446460a08401620043f0565b60408201526200447760c084016200418d565b60608201526200448a60e084016200418d565b60808201526200449e610100840162004402565b60a0820152620044b26101208401620043f0565b60c0820152620044c661014084016200407e565b60e0820152939250505056fe6080604052600080546001600160a01b031990811673b7c9e99da8a857ce576a830a9c19312114d9de02179091556001805490911672c055ee792b5bc9aeb06ced73bb71ce7e5773ce1790556021600381905560045534801561006157600080fd5b506106fa806100716000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80636fbfd40914610046578063e4fc6b6d14610078578063f7381ab314610082575b600080fd5b6100666100543660046105ee565b60026020526000908152604090205481565b60405190815260200160405180910390f35b61008061008a565b005b61008061031d565b60055460ff1661012d5760405162461bcd60e51b815260206004820152605160248201527f54686520646973747269627574696f6e732068617665206e6f74206265656e2060448201527f7363686564756c6564207965742c2072756e207363686564756c655f6469737460648201527f7269627574696f6e28292066697273742e000000000000000000000000000000608482015260a4015b60405180910390fd5b60008060009054906101000a90046001600160a01b03166001600160a01b031663086146d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a59190610607565b600081815260026020526040902054909150806102815760405162461bcd60e51b815260206004820152608260248201527f546865726520617265206e6f20617661696c61626c652066756e647320746f2060448201527f6265206469737472696275746564207468697320796561722e2045697468657260648201527f206974206973206e6f742061207175616c696669656420796561722c206f722060848201527f69742068617320616c7265616479206265656e2072756e20746869732079656160a482015261391760f11b60c482015260e401610124565b60005460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af11580156102e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030a9190610620565b5050600090815260026020526040812055565b60055460ff161561032d57600080fd5b6003546040516370a0823160e01b815230600482015260649190733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015610383573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a79190610607565b6103b1919061065f565b6103bb919061067c565b600160005260026020527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e055600480546040516370a0823160e01b81523092810192909252606491733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104639190610607565b61046d919061065f565b610477919061067c565b60026020527f88601476d11616a71c5be67555bd1dff4b1cbf21533d2669b768b61518cfe1c3819055600160009081527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05490916104d49161069e565b6040516370a0823160e01b8152306004820152733819f64f282bf135d62168c1e513280daf905e06906370a0823190602401602060405180830381865afa158015610523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105479190610607565b61055191906106b1565b60015460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052909150733819f64f282bf135d62168c1e513280daf905e069063a9059cbb906044016020604051808303816000875af11580156105b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105dd9190610620565b50506005805460ff19166001179055565b60006020828403121561060057600080fd5b5035919050565b60006020828403121561061957600080fd5b5051919050565b60006020828403121561063257600080fd5b8151801515811461064257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761067657610676610649565b92915050565b60008261069957634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561067657610676610649565b818103818111156106765761067661064956fea264697066735822122006cb83da1c0667ffb81c0a8cd2e6a18da789397547bfb5cd4952c254f401129464736f6c634300081100335265656e7472616e637947756172643a207265656e7472616e742063616c6c00a264697066735822122084dbbe263ddc09004c23bdccfe482c28718db00ff876488a8007235fb80456d064736f6c63430008110033

Deployed Bytecode Sourcemap

86472:25293:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108441:748;;;;;;:::i;:::-;;:::i;:::-;;21315:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23666:201;;;;;;:::i;:::-;;:::i;:::-;;;1627:14:1;;1620:22;1602:41;;1590:2;1575:18;23666:201:0;1462:187:1;93966:73:0;;;;;-1:-1:-1;;;;;93966:73:0;;;;;;-1:-1:-1;;;;;1950:55:1;;;1932:74;;1920:2;1905:18;93966:73:0;1786:226:1;22435:108:0;22523:12;;22435:108;;;2163:25:1;;;2151:2;2136:18;22435:108:0;2017:177:1;24447:295:0;;;;;;:::i;:::-;;:::i;109763:264::-;;;;;;:::i;:::-;;:::i;103254:406::-;;;;;;:::i;:::-;;:::i;93854:34::-;;;;;;97964:1030;;;:::i;92306:32::-;;;;;-1:-1:-1;;;92306:32:0;;;;;;95151:76;;;95224:1;3789:36:1;;3777:2;3762:18;95151:76:0;3647:184:1;25151:238:0;;;;;;:::i;:::-;;:::i;95441:98::-;;;:::i;32684:91::-;;;;;;:::i;:::-;;:::i;93415:37::-;;;;;;92860:35;;;;;;109296:205;;;;;;:::i;:::-;;:::i;92688:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;92952:46;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;92952:46:0;;;;;-1:-1:-1;;;92952:46:0;;;;;-1:-1:-1;;;92952:46:0;;;;;-1:-1:-1;;;92952:46:0;;;;;;;;;;4695:12:1;4683:25;;;;4665:44;;4728:20;4784:15;;;4779:2;4764:18;;4757:43;4836:15;;;;4816:18;;;4809:43;;;;4871:6;4913:15;;;4908:2;4893:18;;4886:43;4966:15;;4960:3;4945:19;;4938:44;5019:15;5013:3;4998:19;;4991:44;5079:14;5072:22;5066:3;5051:19;;5044:51;4652:3;4637:19;92952:46:0;4368:733:1;94050:72:0;;;;;-1:-1:-1;;;;;94050:72:0;;;99309:406;;;:::i;102449:495::-;;;;;;:::i;:::-;;:::i;93009:30::-;;;;;-1:-1:-1;;;;;93009:30:0;;;110282:204;;;;;;:::i;:::-;;:::i;92349:34::-;;;;;;92091;;;;;;106685:1301;;;;;;:::i;:::-;;:::i;92437:37::-;;;;;;91663:82;;;;;-1:-1:-1;;;;;91663:82:0;;;22606:127;;;;;;:::i;:::-;-1:-1:-1;;;;;22707:18:0;22680:7;22707:18;;;;;;;;;;;;22606:127;93669:37;;;;;;33094:164;;;;;;:::i;:::-;;:::i;91952:34::-;;;;;;93225:29;;;;;;;;;92906:35;;;;;;101258:247;;;;;;:::i;:::-;;:::i;21534:104::-;;;:::i;94133:33::-;;;;;-1:-1:-1;;;;;94133:33:0;;;93757:29;;;;;-1:-1:-1;;;;;93757:29:0;;;91997:32;;;;;;96052:1564;;;;;;:::i;:::-;;:::i;110628:1067::-;;;:::i;25892:436::-;;;;;;:::i;:::-;;:::i;22939:193::-;;;;;;:::i;:::-;;:::i;93584:34::-;;;;;;93109:44;;;;;;:::i;:::-;;;;;;;;;;;;;;;;92040:40;;;;;;104759:1614;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;92531:36::-;;;;;;100152:1084;;;;;;:::i;:::-;;:::i;23195:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23311:18:0;;;23284:7;23311:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;23195:151;93464:37;;;;;;104176:160;;;;;;:::i;:::-;;:::i;108441:748::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;;;;;;;;;1812:1;2543:7;:18;-1:-1:-1;;;;;108562:21:0;::::1;108537:22;108562:21:::0;;;:9:::1;:21;::::0;;;;108643:15:::1;:13;:15::i;:::-;108624:16:::0;;108606:34:::1;::::0;108624:16:::1;-1:-1:-1::0;;;108624:16:0;::::1;::::0;::::1;::::0;-1:-1:-1;;;108606:15:0;::::1;;:34;:::i;:::-;:52;;;108598:93;;;::::0;-1:-1:-1;;;108598:93:0;;8684:2:1;108598:93:0::1;::::0;::::1;8666:21:1::0;8723:2;8703:18;;;8696:30;8762;8742:18;;;8735:58;8810:18;;108598:93:0::1;8482:352:1::0;108598:93:0::1;108706:20;::::0;:54:::1;::::0;-1:-1:-1;;;108706:54:0;;::::1;::::0;::::1;9013:25:1::0;;;-1:-1:-1;;;;;9074:55:1;;;9054:18;;;9047:83;108706:20:0;;::::1;::::0;:32:::1;::::0;8986:18:1;;108706:54:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;108793:15:0::1;::::0;-1:-1:-1;;;;;108793:15:0;;::::1;108779:29:::0;;::::1;::::0;108775:324:::1;;108829:14;;;;;;;;;-1:-1:-1::0;;;;;108829:14:0::1;-1:-1:-1::0;;;;;108829:27:0::1;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;108877:20:0::1;:27:::0;;-1:-1:-1;;;;108877:27:0::1;-1:-1:-1::0;;;108877:27:0::1;::::0;;-1:-1:-1;108954:44:0::1;::::0;-1:-1:-1;;;108954:44:0;;108992:4:::1;108954:44;::::0;::::1;1932:74:1::0;-1:-1:-1;;109001:5:0::1;::::0;91204:42:::1;::::0;108954:29:::1;::::0;1905:18:1;;108954:44:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108948:50;::::0;:3:::1;:50;:::i;:::-;:58;;;;:::i;:::-;109025;::::0;-1:-1:-1;;;109025:58:0;;91870:42:::1;109025:58;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;108923:83:0;;-1:-1:-1;91204:42:0::1;::::0;109025:28:::1;::::0;10183:18:1;;109025:58:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;108810:289;108775:324;109113:21;:19;:21::i;:::-;-1:-1:-1::0;;109161:10:0::1;109149:23;::::0;;;:11:::1;:23;::::0;;;;:28;;-1:-1:-1;;109149:28:0::1;109173:4;109149:28:::0;;::::1;::::0;;;2722:7;:22;-1:-1:-1;108441:748:0:o;21315:100::-;21369:13;21402:5;21395:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21315:100;:::o;23666:201::-;23749:4;19035:10;23805:32;19035:10;23821:7;23830:6;23805:8;:32::i;:::-;23855:4;23848:11;;;23666:201;;;;;:::o;24447:295::-;24578:4;19035:10;24636:38;24652:4;19035:10;24667:6;24636:15;:38::i;:::-;24685:27;24695:4;24701:2;24705:6;24685:9;:27::i;:::-;-1:-1:-1;24730:4:0;;24447:295;-1:-1:-1;;;;24447:295:0:o;109763:264::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;;;109892:20:::1;::::0;:24:::1;::::0;1812:1;109892:24:::1;:::i;:::-;109873:15;:13;:15::i;:::-;:43;;109865:52;;;::::0;::::1;;109932:12;::::0;:47:::1;::::0;-1:-1:-1;;;109932:47:0;;::::1;::::0;::::1;11404:25:1::0;;;11477:12;11465:25;;11445:18;;;11438:53;-1:-1:-1;;;;;109932:12:0;;::::1;::::0;:21:::1;::::0;11377:18:1;;109932:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;109994:21;:19;:21::i;:::-;-1:-1:-1::0;;1768:1:0;2722:7;:22;109763:264::o;103254:406::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;103389:19:::1;::::0;:24:::1;::::0;103411:2:::1;103389:24;:::i;:::-;103370:15;:13;:15::i;:::-;:43;;103362:114;;;::::0;-1:-1:-1;;;103362:114:0;;11834:2:1;103362:114:0::1;::::0;::::1;11816:21:1::0;11873:2;11853:18;;;11846:30;11912:34;11892:18;;;11885:62;11983:28;11963:18;;;11956:56;12029:19;;103362:114:0::1;11632:422:1::0;103362:114:0::1;103511:10;103499:23;::::0;;;:11:::1;:23;::::0;;;;;::::1;;103491:32;;;::::0;::::1;;103538:15;::::0;:58:::1;::::0;-1:-1:-1;;;103538:58:0;;-1:-1:-1;;;;;12340:15:1;;;103538:58:0::1;::::0;::::1;12322:34:1::0;12372:18;;;12365:34;;;12435:15;;;12415:18;;;12408:43;103538:15:0;;::::1;::::0;:29:::1;::::0;12234:18:1;;103538:58:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;103633:15;:13;:15::i;:::-;103611:19;:37:::0;-1:-1:-1;;1768:1:0;2722:7;:22;-1:-1:-1;103254:406:0:o;97964:1030::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;98054:17:::1;::::0;98036:15:::1;:13;:15::i;:::-;:35;98028:75;;;::::0;-1:-1:-1;;;98028:75:0;;12664:2:1;98028:75:0::1;::::0;::::1;12646:21:1::0;12703:2;12683:18;;;12676:30;12742:29;12722:18;;;12715:57;12789:18;;98028:75:0::1;12462:351:1::0;98028:75:0::1;98126:17;::::0;::::1;;:25;98118:34;;;::::0;::::1;;98167:16;98186:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;98219:14:0::1;:29:::0;;-1:-1:-1;;;;;;98219:29:0::1;-1:-1:-1::0;;;;;98219:29:0;::::1;;::::0;;98284:47:::1;::::0;-1:-1:-1;;;98284:47:0;;98325:4:::1;98284:47;::::0;::::1;1932:74:1::0;98219:29:0;;-1:-1:-1;;;91351:42:0::1;::::0;98284:32:::1;::::0;1905:18:1;;98284:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;98263:68:::0;-1:-1:-1;98346:22:0::1;98390:5;98371:16;98263:68:::0;98371:3:::1;:16;:::i;:::-;:24;;;;:::i;:::-;98572:14;::::0;98540:63:::1;::::0;-1:-1:-1;;;98540:63:0;;-1:-1:-1;;;;;98572:14:0;;::::1;98540:63;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;98346:49:0;;-1:-1:-1;91351:42:0::1;::::0;98540:31:::1;::::0;10183:18:1;;98540:63:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;98673:22:0::1;::::0;98696:3:::1;::::0;98642:27:::1;98655:14:::0;98642:10;:27:::1;:::i;:::-;98641:54;;;;:::i;:::-;:58;;;;:::i;:::-;98618:20;:81:::0;;;98737:27:::1;98750:14:::0;98737:10;:27:::1;:::i;:::-;98736:52;;;;:::i;:::-;98714:19;:74:::0;;;98834:22:::1;::::0;98803:75:::1;::::0;-1:-1:-1;;;98803:75:0;;-1:-1:-1;;;;;98834:22:0;;::::1;98803:75;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;;91351:42:0::1;::::0;98803:30:::1;::::0;10183:18:1;;98803:75:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;98893:14:0::1;::::0;98923:19:::1;::::0;98893:50:::1;::::0;-1:-1:-1;;;98893:50:0;;-1:-1:-1;;;;;98893:14:0;;::::1;::::0;:29:::1;::::0;:50:::1;::::0;::::1;;2163:25:1::0;;;2151:2;2136:18;;2017:177;98893:50:0::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;98958:17:0::1;:24:::0;;-1:-1:-1;;98958:24:0::1;98978:4;98958:24:::0;;::::1;::::0;;;2722:7;:22;-1:-1:-1;;97964:1030:0:o;25151:238::-;19035:10;25239:4;23311:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;23311:27:0;;;;;;;;;;25239:4;;19035:10;25295:64;;19035:10;;23311:27;;25320:38;;25348:10;;25320:38;:::i;:::-;25295:8;:64::i;95441:98::-;95512:12;;:25;;;-1:-1:-1;;;95512:25:0;;;;95487:15;;-1:-1:-1;;;;;95512:12:0;;:23;;:25;;;;;;;;;;;;;;:12;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;95505:32;;95441:98;:::o;32684:91::-;32740:27;19035:10;32760:6;32740:5;:27::i;:::-;32684:91;:::o;109296:205::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;109400:15:::1;::::0;:51:::1;::::0;-1:-1:-1;;;109400:51:0;;::::1;::::0;::::1;9013:25:1::0;;;-1:-1:-1;;;;;9074:55:1;;;9054:18;;;9047:83;109400:15:0;;::::1;::::0;:29:::1;::::0;8986:18:1;;109400:51:0::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;109466:21;:19;:21::i;99309:406::-:0;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;99395:25:::1;::::0;99379:15:::1;:13;:15::i;:::-;:41;99371:82;;;::::0;-1:-1:-1;;;99371:82:0;;13020:2:1;99371:82:0::1;::::0;::::1;13002:21:1::0;13059:2;13039:18;;;13032:30;13098;13078:18;;;13071:58;13146:18;;99371:82:0::1;12818:352:1::0;99371:82:0::1;99476:16;::::0;-1:-1:-1;;;99476:16:0;::::1;;;:23;99468:32;;;::::0;::::1;;99561:19;::::0;99515:66:::1;::::0;-1:-1:-1;;;99515:66:0;;91870:42:::1;99515:66;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;;91351:42:0::1;::::0;99515:31:::1;::::0;10183:18:1;;99515:66:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;99628:15:0::1;::::0;99645:19:::1;::::0;99596:69:::1;::::0;-1:-1:-1;;;99596:69:0;;-1:-1:-1;;;;;99628:15:0;;::::1;99596:69;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;91351:42:0::1;::::0;99596:31:::1;::::0;10183:18:1;;99596:69:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;99680:16:0::1;:23:::0;;-1:-1:-1;;;;99680:23:0::1;-1:-1:-1::0;;;99680:23:0::1;::::0;;99699:4:::1;2722:7:::0;:22;99309:406::o;102449:495::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;102554:17:::1;::::0;::::1;;102546:26;;;::::0;::::1;;102614:19;::::0;:24:::1;::::0;102636:2:::1;102614:24;:::i;:::-;102595:15;:13;:15::i;:::-;:43;;102587:114;;;::::0;-1:-1:-1;;;102587:114:0;;11834:2:1;102587:114:0::1;::::0;::::1;11816:21:1::0;11873:2;11853:18;;;11846:30;11912:34;11892:18;;;11885:62;11983:28;11963:18;;;11956:56;12029:19;;102587:114:0::1;11632:422:1::0;102587:114:0::1;102736:10;102724:23;::::0;;;:11:::1;:23;::::0;;;;;::::1;;102716:32;;;::::0;::::1;;102763:15;::::0;:63:::1;::::0;-1:-1:-1;;;102763:63:0;;::::1;::::0;::::1;13349:25:1::0;;;13390:18;;;13383:34;;;-1:-1:-1;;;;;102763:15:0;;::::1;::::0;:32:::1;::::0;13322:18:1;;102763:63:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;102863:15;:13;:15::i;:::-;102841:19;:37:::0;102898:34:::1;::::0;;13349:25:1;;;13405:2;13390:18;;13383:34;;;102898::0::1;::::0;13322:18:1;102898:34:0::1;;;;;;;-1:-1:-1::0;;1768:1:0;2722:7;:22;102449:495::o;110282:204::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;110386:15:::1;::::0;:52:::1;::::0;-1:-1:-1;;;110386:52:0;;::::1;::::0;::::1;11404:25:1::0;;;11477:12;11465:25;;11445:18;;;11438:53;-1:-1:-1;;;;;110386:15:0;;::::1;::::0;:26:::1;::::0;11377:18:1;;110386:52:0::1;11232:265:1::0;106685:1301:0;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;106780:20:::1;::::0;:37:::1;::::0;-1:-1:-1;;;106780:37:0;;::::1;::::0;::::1;2163:25:1::0;;;106758:19:0::1;::::0;-1:-1:-1;;;;;106780:20:0::1;::::0;:29:::1;::::0;2136:18:1;;106780:37:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;106852:20;::::0;:36:::1;::::0;-1:-1:-1;;;106852:36:0;;::::1;::::0;::::1;2163:25:1::0;;;106758:59:0;;-1:-1:-1;106832:17:0::1;::::0;-1:-1:-1;;;;;106852:20:0;;::::1;::::0;:28:::1;::::0;2136:18:1;;106852:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;106832:56:::0;-1:-1:-1;;;;;;106911:24:0;::::1;106930:4;106911:24;106903:82;;;::::0;-1:-1:-1;;;106903:82:0;;13886:2:1;106903:82:0::1;::::0;::::1;13868:21:1::0;13925:2;13905:18;;;13898:30;13964:34;13944:18;;;13937:62;-1:-1:-1;;;14015:18:1;;;14008:43;14068:19;;106903:82:0::1;13684:409:1::0;106903:82:0::1;107000:15;107030:11;107000:42;;107096:20;;107065:3;-1:-1:-1::0;;;;;107065:18:0::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:30;;;:51;;;107057:60;;;::::0;::::1;;107132:22;107157:9;:22;107167:11;-1:-1:-1::0;;;;;107157:22:0::1;-1:-1:-1::0;;;;;107157:22:0::1;;;;;;;;;;;;107132:47;;107210:3;-1:-1:-1::0;;;;;107210:18:0::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:28:::0;107194:44;;-1:-1:-1;;107194:44:0::1;;::::0;;::::1;;::::0;;107273:20:::1;::::0;;-1:-1:-1;;;107273:20:0;;;;-1:-1:-1;;;;;107273:18:0;::::1;::::0;::::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:18;:20:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:33;;::::0;107253:53;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;107253:53:0;;::::1;;::::0;;107341:20:::1;::::0;;-1:-1:-1;;;107341:20:0;;;;-1:-1:-1;;;;;107341:18:0;::::1;::::0;::::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:18;:20:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;;;107321:5;:17;;;:52;;;;;;;;;;;;;;;;;;107406:3;-1:-1:-1::0;;;;;107406:18:0::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:30;;::::0;107388:48;;::::1;::::0;;::::1;-1:-1:-1::0;;;107388:48:0::1;-1:-1:-1::0;;;;107388:48:0;;::::1;;::::0;;107470:20:::1;::::0;;-1:-1:-1;;;107470:20:0;;;;-1:-1:-1;;;;;107470:18:0;::::1;::::0;::::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:18;:20:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;;::::0;107451:50;;::::1;::::0;;::::1;-1:-1:-1::0;;;107451:50:0::1;-1:-1:-1::0;;;;107451:50:0;;::::1;;::::0;;107536:20:::1;::::0;;-1:-1:-1;;;107536:20:0;;;;-1:-1:-1;;;;;107536:18:0;::::1;::::0;::::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:18;:20:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;;::::0;107516:51;;::::1;::::0;;::::1;-1:-1:-1::0;;;107516:51:0::1;-1:-1:-1::0;;;;107516:51:0;;::::1;;::::0;;107602:20:::1;::::0;;-1:-1:-1;;;107602:20:0;;;;-1:-1:-1;;;;;107602:18:0;::::1;::::0;::::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:18;:20:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;;::::0;107582:52;;;::::1;;-1:-1:-1::0;;;107582:52:0::1;-1:-1:-1::0;;;;107582:52:0;;::::1;;::::0;;;:17:::1;::::0;107666:34:::1;::::0;107684:16:::1;-1:-1:-1::0;;;107684:16:0;::::1;::::0;::::1;::::0;-1:-1:-1;;;107666:15:0;::::1;;:34;:::i;:::-;107649:51;;;;107727:20;;107719:7;:28;107715:147;;;107768:20;:30:::0;;;107817:15:::1;:29:::0;;-1:-1:-1;;;;;;107817:29:0::1;-1:-1:-1::0;;;;;107817:29:0;::::1;;::::0;;107715:147:::1;107876:20;::::0;:47:::1;::::0;-1:-1:-1;;;107876:47:0;;::::1;::::0;::::1;2163:25:1::0;;;-1:-1:-1;;;;;107876:20:0;;::::1;::::0;:39:::1;::::0;2136:18:1;;107876:47:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;107954:11;-1:-1:-1::0;;;;;107943:31:0::1;;107967:6;107943:31;;;;2163:25:1::0;;2151:2;2136:18;;2017:177;107943:31:0::1;;;;;;;;-1:-1:-1::0;;1768:1:0;2722:7;:22;-1:-1:-1;;;;106685:1301:0:o;33094:164::-;33171:46;33187:7;19035:10;33210:6;33171:15;:46::i;:::-;33228:22;33234:7;33243:6;33228:5;:22::i;:::-;33094:164;;:::o;101258:247::-;101347:23;101387:30;101443:6;101430:10;;101420:7;:20;;;;:::i;:::-;:29;;;;:::i;:::-;101387:62;101258:247;-1:-1:-1;;;;101258:247:0:o;21534:104::-;21590:13;21623:7;21616:14;;;;;:::i;96052:1564::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;96151:13:::1;96167:15;:13;:15::i;:::-;96151:31;;96214:25;;96205:5;:34;;96197:96;;;::::0;-1:-1:-1;;;96197:96:0;;16111:2:1;96197:96:0::1;::::0;::::1;16093:21:1::0;16150:2;16130:18;;;16123:30;16189:34;16169:18;;;16162:62;16260:19;16240:18;;;16233:47;16297:19;;96197:96:0::1;15909:413:1::0;96197:96:0::1;96338:3;96316:18;:25;;96308:86;;;::::0;-1:-1:-1;;;96308:86:0;;16529:2:1;96308:86:0::1;::::0;::::1;16511:21:1::0;16568:2;16548:18;;;16541:30;16607:34;16587:18;;;16580:62;-1:-1:-1;;;16658:18:1;;;16651:46;16714:19;;96308:86:0::1;16327:412:1::0;96308:86:0::1;96439:2;96417:18;:24;;96409:89;;;::::0;-1:-1:-1;;;96409:89:0;;16946:2:1;96409:89:0::1;::::0;::::1;16928:21:1::0;16985:2;16965:18;;;16958:30;17024:34;17004:18;;;16997:62;17095:22;17075:18;;;17068:50;17135:19;;96409:89:0::1;16744:416:1::0;96409:89:0::1;96513:70;::::0;-1:-1:-1;;;96513:70:0;;96549:10:::1;96513:70;::::0;::::1;17428:34:1::0;96569:4:0::1;17478:18:1::0;;;17471:43;17530:18;;;17523:34;;;91351:42:0::1;::::0;96513:35:::1;::::0;17340:18:1;;96513:70:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;96644:25;;96637:5;:32;:72;;;;96708:1;96682:25;;:27;;;;:::i;:::-;96673:5;:36;96637:72;96633:387;;;96737:17;::::0;::::1;;:23;;:17:::0;:23:::1;96729:82;;;::::0;-1:-1:-1;;;96729:82:0;;17770:2:1;96729:82:0::1;::::0;::::1;17752:21:1::0;17809:2;17789:18;;;17782:30;17848:34;17828:18;;;17821:62;-1:-1:-1;;;17899:18:1;;;17892:44;17953:19;;96729:82:0::1;17568:410:1::0;96729:82:0::1;96947:12;96956:3;96947:6:::0;:12:::1;:::i;:::-;96924:19;;:36;;;;:::i;:::-;96902:19;:58:::0;97001:3:::1;::::0;-1:-1:-1;96633:387:0::1;97115:3;97086:27;97107:6:::0;97086:18;:27:::1;:::i;:::-;97085:33;;;;:::i;:::-;97059:22;;:60;;;;:::i;:::-;97034:22;:85:::0;97281:3:::1;97273:6:::0;97247:22:::1;97251:18:::0;97281:3;97247:22:::1;:::i;:::-;97246:33;;;;:::i;:::-;97245:39;;;;:::i;:::-;97219:22;;:66;;;;:::i;:::-;97194:22;:91:::0;;;97417:22:::1;::::0;:47:::1;::::0;97194:91;97417:47:::1;:::i;:::-;97391:22;::::0;97385:28:::1;::::0;:3:::1;:28;:::i;:::-;:80;;;;:::i;:::-;97360:22;:105:::0;97521:12:::1;97526:6:::0;97521:4:::1;:12::i;:::-;97580:24;::::0;2163:25:1;;;97585:10:0::1;::::0;97580:24:::1;::::0;2151:2:1;2136:18;97580:24:0::1;;;;;;;-1:-1:-1::0;;1768:1:0;2722:7;:22;-1:-1:-1;96052:1564:0:o;110628:1067::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;110716:19:::1;::::0;:24:::1;::::0;110738:2:::1;110716:24;:::i;:::-;110698:15;:13;:15::i;:::-;:42;110690:92;;;::::0;-1:-1:-1;;;110690:92:0;;18185:2:1;110690:92:0::1;::::0;::::1;18167:21:1::0;18224:2;18204:18;;;18197:30;18263:34;18243:18;;;18236:62;-1:-1:-1;;;18314:18:1;;;18307:35;18359:19;;110690:92:0::1;17983:401:1::0;110690:92:0::1;110805:20;::::0;-1:-1:-1;;;110805:20:0;::::1;;;:29;110797:78;;;::::0;-1:-1:-1;;;110797:78:0;;18591:2:1;110797:78:0::1;::::0;::::1;18573:21:1::0;18630:2;18610:18;;;18603:30;18669:34;18649:18;;;18642:62;-1:-1:-1;;;18720:18:1;;;18713:34;18764:19;;110797:78:0::1;18389:400:1::0;110797:78:0::1;110890:27;110943:15;:13;:15::i;:::-;110920:20;;:38;;;;:::i;:::-;110890:68;;111003:3;110981:19;:25;110973:99;;;::::0;-1:-1:-1;;;110973:99:0;;18996:2:1;110973:99:0::1;::::0;::::1;18978:21:1::0;19035:2;19015:18;;;19008:30;19074:34;19054:18;;;19047:62;19145:31;19125:18;;;19118:59;19194:19;;110973:99:0::1;18794:425:1::0;110973:99:0::1;111091:44;::::0;-1:-1:-1;;;111091:44:0;;111129:4:::1;111091:44;::::0;::::1;1932:74:1::0;111137:12:0::1;::::0;91204:42:::1;::::0;111091:29:::1;::::0;1905:18:1;;111091:44:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:58;111087:246;;;111175:12;::::0;111199:44:::1;::::0;-1:-1:-1;;;111199:44:0;;111237:4:::1;111199:44;::::0;::::1;1932:74:1::0;-1:-1:-1;;;;;111175:12:0;;::::1;::::0;:23:::1;::::0;91204:42:::1;::::0;111199:29:::1;::::0;1905:18:1;;111199:44:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111245:23;111267:1;111245:19:::0;:23:::1;:::i;:::-;111175:94;::::0;-1:-1:-1;;;;;;111175:94:0::1;::::0;;;;;;::::1;::::0;::::1;13349:25:1::0;;;;13390:18;;;13383:34;13322:18;;111175:94:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;111292:21;:19;:21::i;:::-;111351:47;::::0;-1:-1:-1;;;111351:47:0;;111392:4:::1;111351:47;::::0;::::1;1932:74:1::0;111401:1:0::1;::::0;91351:42:::1;::::0;111351:32:::1;::::0;1905:18:1;;111351:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;111347:337;;;111454:22;::::0;111478:47:::1;::::0;-1:-1:-1;;;111478:47:0;;111519:4:::1;111478:47;::::0;::::1;1932:74:1::0;91351:42:0::1;::::0;111423:30:::1;::::0;-1:-1:-1;;;;;111454:22:0;;::::1;::::0;91351:42;;111478:32:::1;::::0;1905:18:1;;111478:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111423:103;::::0;-1:-1:-1;;;;;;111423:103:0::1;::::0;;;;;;-1:-1:-1;;;;;10228:55:1;;;111423:103:0::1;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;10183:18;;111423:103:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;111545:14:0::1;::::0;111580:47:::1;::::0;-1:-1:-1;;;111580:47:0;;111621:4:::1;111580:47;::::0;::::1;1932:74:1::0;-1:-1:-1;;;;;111545:14:0;;::::1;::::0;:34:::1;::::0;91351:42:::1;::::0;111580:32:::1;::::0;1905:18:1;;111580:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111545:83;;;;;;;;;;;;;2163:25:1::0;;2151:2;2136:18;;2017:177;111545:83:0::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;111647:21;:19;:21::i;:::-;-1:-1:-1::0;1768:1:0;2722:7;:22;110628:1067::o;25892:436::-;19035:10;25985:4;23311:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;23311:27:0;;;;;;;;;;25985:4;;19035:10;26132:15;26112:16;:35;;26104:85;;;;-1:-1:-1;;;26104:85:0;;19426:2:1;26104:85:0;;;19408:21:1;19465:2;19445:18;;;19438:30;19504:34;19484:18;;;19477:62;-1:-1:-1;;;19555:18:1;;;19548:35;19600:19;;26104:85:0;19224:401:1;26104:85:0;26225:60;26234:5;26241:7;26269:15;26250:16;:34;26225:8;:60::i;22939:193::-;23018:4;19035:10;23074:28;19035:10;23091:2;23095:6;23074:9;:28::i;104759:1614::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104926:15:0;;:50;;-1:-1:-1;;;104926:50:0;;;;;2163:25:1;;;104901:24:0;;-1:-1:-1;;;;;104926:15:0;;:31;;2136:18:1;;104926:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:67;105028:15;;:50;;-1:-1:-1;;;105028:50:0;;;;;2163:25:1;;;104926:67:0;;-1:-1:-1;104926:67:0;;-1:-1:-1;;;;;105028:15:0;;;;:31;;2136:18:1;;105028:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:61;;;105122:15;;:50;;-1:-1:-1;;;105122:50:0;;;;;2163:25:1;;;105028:61:0;;-1:-1:-1;105104:17:0;;-1:-1:-1;;;;;105122:15:0;;;;:31;;2136:18:1;;105122:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;;;;105216:15;;:50;;-1:-1:-1;;;105216:50:0;;;;;2163:25:1;;;105122:60:0;;-1:-1:-1;105197:18:0;;-1:-1:-1;;;;;105216:15:0;;:31;;2136:18:1;;105216:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:61;;;105310:15;;:50;;-1:-1:-1;;;105310:50:0;;;;;2163:25:1;;;105216:61:0;;-1:-1:-1;105292:17:0;;-1:-1:-1;;;;;105310:15:0;;;;:31;;2136:18:1;;105310:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;;105402:15;;:50;;-1:-1:-1;;;105402:50:0;;;;;2163:25:1;;;105310:60:0;;-1:-1:-1;105385:16:0;;-1:-1:-1;;;;;105402:15:0;;;;:31;;2136:18:1;;105402:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;;105385:76;;105476:25;105516:10;-1:-1:-1;;;;;105504:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;;105476:70;;105561:26;105602:10;-1:-1:-1;;;;;105590:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:43;;;105561:72;;105648:24;105688:10;-1:-1:-1;;;;;105676:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;105648:69;;105732:25;105771:10;-1:-1:-1;;;;;105759:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;;105732:69;;105816:27;105857:10;-1:-1:-1;;;;;105845:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;;;105816:73;;105904:27;105946:10;-1:-1:-1;;;;;105934:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;;;105904:74;;105993:23;106031:10;-1:-1:-1;;;;;106019:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;;;;106111:217;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;106111:217:0;;;;;;;;;;;-1:-1:-1;106111:217:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;106111:217:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104759:1614;-1:-1:-1;;104759:1614:0:o;100152:1084::-;1812:1;2410:7;;:19;2402:63;;;;-1:-1:-1;;;2402:63:0;;8019:2:1;2402:63:0;;;8001:21:1;8058:2;8038:18;;;8031:30;-1:-1:-1;;;;;;;;;;;8077:18:1;;;8070:61;8148:18;;2402:63:0;7817:355:1;2402:63:0;1812:1;2543:7;:18;100233:20:::1;::::0;-1:-1:-1;;;100233:20:0;::::1;;;:26;;100255:4;100233:26;100225:73;;;::::0;-1:-1:-1;;;100225:73:0;;23269:2:1;100225:73:0::1;::::0;::::1;23251:21:1::0;23308:2;23288:18;;;23281:30;23347:34;23327:18;;;23320:62;-1:-1:-1;;;23398:18:1;;;23391:32;23440:19;;100225:73:0::1;23067:398:1::0;100225:73:0::1;100349:10;100313:23;22707:18:::0;;;;;;;;;;;100383:23;;::::1;;100375:56;;;::::0;-1:-1:-1;;;100375:56:0;;23672:2:1;100375:56:0::1;::::0;::::1;23654:21:1::0;23711:2;23691:18;;;23684:30;23750:22;23730:18;;;23723:50;23790:18;;100375:56:0::1;23470:344:1::0;100375:56:0::1;100446:22;100502:10;;100480:19;;100471:6;:28;;;;:::i;:::-;:41;;;;:::i;:::-;100446:66;;100527:25;100589:10;;100564:22;;100555:6;:31;;;;:::i;:::-;:44;;;;:::i;:::-;100527:72;;100614:24;100674:10;;100650:21;;100641:6;:30;;;;:::i;:::-;:43;;;;:::i;:::-;100614:70;;100699:12;100704:6;100699:4;:12::i;:::-;100730:18:::0;;100726:116:::1;;100770:56;::::0;-1:-1:-1;;;100770:56:0;;100799:10:::1;100770:56;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;91204:42:0::1;::::0;100770:28:::1;::::0;10183:18:1;;100770:56:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;100726:116;100860:21:::0;;100856:125:::1;;100903:62;::::0;-1:-1:-1;;;100903:62:0;;100935:10:::1;100903:62;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;91351:42:0::1;::::0;100903:31:::1;::::0;10183:18:1;;100903:62:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;100856:125;100999:20:::0;;100995:131:::1;;101048:22;::::0;101041:69:::1;::::0;-1:-1:-1;;;101041:69:0;;101081:10:::1;101041:69;::::0;::::1;10210:74:1::0;10300:18;;;10293:34;;;-1:-1:-1;;;;;101048:22:0;;::::1;::::0;101041:39:::1;::::0;10183:18:1;;101041:69:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;100995:131;101145:79;::::0;;24050:25:1;;;24106:2;24091:18;;24084:34;;;24134:18;;;24127:34;;;24192:2;24177:18;;24170:34;;;101152:10:0::1;::::0;101145:79:::1;::::0;24037:3:1;24022:19;101145:79:0::1;;;;;;;-1:-1:-1::0;;1768:1:0;2722:7;:22;-1:-1:-1;;;100152:1084:0:o;104176:160::-;104266:15;;:58;;-1:-1:-1;;;104266:58:0;;;;;13349:25:1;;;13390:18;;;13383:34;;;-1:-1:-1;;;;;104266:15:0;;;;:33;;13322:18:1;;104266:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;104176:160;;:::o;101518:440::-;101620:44;;-1:-1:-1;;;101620:44:0;;101658:4;101620:44;;;1932:74:1;101594:86:0;;91204:42;;101620:29;;1905:18:1;;101620:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22523:12;;101258:247;:::i;101594:86::-;101572:19;:108;101746:47;;-1:-1:-1;;;101746:47:0;;101787:4;101746:47;;;1932:74:1;101720:89:0;;91351:42;;101746:32;;1905:18:1;;101746:47:0;1786:226:1;101720:89:0;101695:22;:114;101882:22;;101875:55;;-1:-1:-1;;;101875:55:0;;101924:4;101875:55;;;1932:74:1;101849:97:0;;-1:-1:-1;;;;;101882:22:0;;101875:40;;1905:18:1;;101875:55:0;1786:226:1;101849:97:0;101824:21;:122;101518:440::o;29517:380::-;-1:-1:-1;;;;;29653:19:0;;29645:68;;;;-1:-1:-1;;;29645:68:0;;24417:2:1;29645:68:0;;;24399:21:1;24456:2;24436:18;;;24429:30;24495:34;24475:18;;;24468:62;-1:-1:-1;;;24546:18:1;;;24539:34;24590:19;;29645:68:0;24215:400:1;29645:68:0;-1:-1:-1;;;;;29732:21:0;;29724:68;;;;-1:-1:-1;;;29724:68:0;;24822:2:1;29724:68:0;;;24804:21:1;24861:2;24841:18;;;24834:30;24900:34;24880:18;;;24873:62;-1:-1:-1;;;24951:18:1;;;24944:32;24993:19;;29724:68:0;24620:398:1;29724:68:0;-1:-1:-1;;;;;29805:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29857:32;;2163:25:1;;;29857:32:0;;2136:18:1;29857:32:0;;;;;;;29517:380;;;:::o;30188:453::-;-1:-1:-1;;;;;23311:18:0;;;30323:24;23311:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;30390:37:0;;30386:248;;30472:6;30452:16;:26;;30444:68;;;;-1:-1:-1;;;30444:68:0;;25225:2:1;30444:68:0;;;25207:21:1;25264:2;25244:18;;;25237:30;25303:31;25283:18;;;25276:59;25352:18;;30444:68:0;25023:353:1;30444:68:0;30556:51;30565:5;30572:7;30600:6;30581:16;:25;30556:8;:51::i;:::-;30312:329;30188:453;;;:::o;26798:671::-;-1:-1:-1;;;;;26929:18:0;;26921:68;;;;-1:-1:-1;;;26921:68:0;;25583:2:1;26921:68:0;;;25565:21:1;25622:2;25602:18;;;25595:30;25661:34;25641:18;;;25634:62;-1:-1:-1;;;25712:18:1;;;25705:35;25757:19;;26921:68:0;25381:401:1;26921:68:0;-1:-1:-1;;;;;27008:16:0;;27000:64;;;;-1:-1:-1;;;27000:64:0;;25989:2:1;27000:64:0;;;25971:21:1;26028:2;26008:18;;;26001:30;26067:34;26047:18;;;26040:62;-1:-1:-1;;;26118:18:1;;;26111:33;26161:19;;27000:64:0;25787:399:1;27000:64:0;-1:-1:-1;;;;;27150:15:0;;27128:19;27150:15;;;;;;;;;;;27184:21;;;;27176:72;;;;-1:-1:-1;;;27176:72:0;;26393:2:1;27176:72:0;;;26375:21:1;26432:2;26412:18;;;26405:30;26471:34;26451:18;;;26444:62;-1:-1:-1;;;26522:18:1;;;26515:36;26568:19;;27176:72:0;26191:402:1;27176:72:0;-1:-1:-1;;;;;27284:15:0;;;:9;:15;;;;;;;;;;;27302:20;;;27284:38;;27344:13;;;;;;;;:23;;27316:6;;27284:9;27344:23;;27316:6;;27344:23;:::i;:::-;;;;;;;;27400:2;-1:-1:-1;;;;;27385:26:0;27394:4;-1:-1:-1;;;;;27385:26:0;;27404:6;27385:26;;;;2163:25:1;;2151:2;2136:18;;2017:177;27385:26:0;;;;;;;;27424:37;104176:160;28488:591;-1:-1:-1;;;;;28572:21:0;;28564:67;;;;-1:-1:-1;;;28564:67:0;;26800:2:1;28564:67:0;;;26782:21:1;26839:2;26819:18;;;26812:30;26878:34;26858:18;;;26851:62;-1:-1:-1;;;26929:18:1;;;26922:31;26970:19;;28564:67:0;26598:397:1;28564:67:0;-1:-1:-1;;;;;28731:18:0;;28706:22;28731:18;;;;;;;;;;;28768:24;;;;28760:71;;;;-1:-1:-1;;;28760:71:0;;27202:2:1;28760:71:0;;;27184:21:1;27241:2;27221:18;;;27214:30;27280:34;27260:18;;;27253:62;-1:-1:-1;;;27331:18:1;;;27324:32;27373:19;;28760:71:0;27000:398:1;28760:71:0;-1:-1:-1;;;;;28867:18:0;;:9;:18;;;;;;;;;;28888:23;;;28867:44;;28933:12;:22;;28905:6;;28867:9;28933:22;;28905:6;;28933:22;:::i;:::-;;;;-1:-1:-1;;28973:37:0;;2163:25:1;;;28999:1:0;;-1:-1:-1;;;;;28973:37:0;;;;;2151:2:1;2136:18;28973:37:0;;;;;;;104266:58;104176:160;;:::o;95237:66::-;95276:25;95282:10;95294:6;95282:10;27832:65;;;;-1:-1:-1;;;27832:65:0;;27605:2:1;27832:65:0;;;27587:21:1;27644:2;27624:18;;;27617:30;27683:33;27663:18;;;27656:61;27734:18;;27832:65:0;27403:355:1;27832:65:0;27988:6;27972:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;28005:18:0;;:9;:18;;;;;;;;;;:28;;28027:6;;28005:9;:28;;28027:6;;28005:28;:::i;:::-;;;;-1:-1:-1;;28049:37:0;;2163:25:1;;;-1:-1:-1;;;;;28049:37:0;;;28066:1;;28049:37;;2151:2:1;2136:18;28049:37:0;;;;;;;33094:164;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:154:1:-;-1:-1:-1;;;;;93:5:1;89:54;82:5;79:65;69:93;;158:1;155;148:12;173:315;241:6;249;302:2;290:9;281:7;277:23;273:32;270:52;;;318:1;315;308:12;270:52;354:9;341:23;331:33;;414:2;403:9;399:18;386:32;427:31;452:5;427:31;:::i;:::-;477:5;467:15;;;173:315;;;;;:::o;493:548::-;605:4;634:2;663;652:9;645:21;695:6;689:13;738:6;733:2;722:9;718:18;711:34;763:1;773:140;787:6;784:1;781:13;773:140;;;882:14;;;878:23;;872:30;848:17;;;867:2;844:26;837:66;802:10;;773:140;;;777:3;962:1;957:2;948:6;937:9;933:22;929:31;922:42;1032:2;1025;1021:7;1016:2;1008:6;1004:15;1000:29;989:9;985:45;981:54;973:62;;;;493:548;;;;:::o;1046:315::-;1114:6;1122;1175:2;1163:9;1154:7;1150:23;1146:32;1143:52;;;1191:1;1188;1181:12;1143:52;1230:9;1217:23;1249:31;1274:5;1249:31;:::i;:::-;1299:5;1351:2;1336:18;;;;1323:32;;-1:-1:-1;;;1046:315:1:o;2199:456::-;2276:6;2284;2292;2345:2;2333:9;2324:7;2320:23;2316:32;2313:52;;;2361:1;2358;2351:12;2313:52;2400:9;2387:23;2419:31;2444:5;2419:31;:::i;:::-;2469:5;-1:-1:-1;2526:2:1;2511:18;;2498:32;2539:33;2498:32;2539:33;:::i;:::-;2199:456;;2591:7;;-1:-1:-1;;;2645:2:1;2630:18;;;;2617:32;;2199:456::o;2660:123::-;2745:12;2738:5;2734:24;2727:5;2724:35;2714:63;;2773:1;2770;2763:12;2788:313;2855:6;2863;2916:2;2904:9;2895:7;2891:23;2887:32;2884:52;;;2932:1;2929;2922:12;2884:52;2968:9;2955:23;2945:33;;3028:2;3017:9;3013:18;3000:32;3041:30;3065:5;3041:30;:::i;3106:456::-;3183:6;3191;3199;3252:2;3240:9;3231:7;3227:23;3223:32;3220:52;;;3268:1;3265;3258:12;3220:52;3307:9;3294:23;3326:31;3351:5;3326:31;:::i;:::-;3376:5;-1:-1:-1;3428:2:1;3413:18;;3400:32;;-1:-1:-1;3484:2:1;3469:18;;3456:32;3497:33;3456:32;3497:33;:::i;:::-;3549:7;3539:17;;;3106:456;;;;;:::o;3836:180::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;-1:-1:-1;3987:23:1;;3836:180;-1:-1:-1;3836:180:1:o;4021:247::-;4080:6;4133:2;4121:9;4112:7;4108:23;4104:32;4101:52;;;4149:1;4146;4139:12;4101:52;4188:9;4175:23;4207:31;4232:5;4207:31;:::i;:::-;4257:5;4021:247;-1:-1:-1;;;4021:247:1:o;5106:248::-;5174:6;5182;5235:2;5223:9;5214:7;5210:23;5206:32;5203:52;;;5251:1;5248;5241:12;5203:52;-1:-1:-1;;5274:23:1;;;5344:2;5329:18;;;5316:32;;-1:-1:-1;5106:248:1:o;5686:1733::-;5917:13;;4349:6;4338:18;4326:31;;5886:3;5871:19;;5989:4;5981:6;5977:17;5971:24;6004:52;6050:4;6039:9;6035:20;6021:12;3634:4;3623:16;3611:29;;3567:75;6004:52;;6105:4;6097:6;6093:17;6087:24;6120:55;6169:4;6158:9;6154:20;6138:14;4349:6;4338:18;4326:31;;4273:90;6120:55;;6224:4;6216:6;6212:17;6206:24;6239:55;6288:4;6277:9;6273:20;6257:14;4349:6;4338:18;4326:31;;4273:90;6239:55;;6343:4;6335:6;6331:17;6325:24;6358:55;6407:4;6396:9;6392:20;6376:14;5435:10;5424:22;5412:35;;5359:94;6358:55;;6462:4;6454:6;6450:17;6444:24;6477:54;6525:4;6514:9;6510:20;6494:14;3634:4;3623:16;3611:29;;3567:75;6477:54;;6580:4;6572:6;6568:17;6562:24;6595:53;6642:4;6631:9;6627:20;6611:14;1436:13;1429:21;1417:34;;1366:91;6595:53;;6704:4;6696:6;6692:17;6686:24;6679:4;6668:9;6664:20;6657:54;6730:6;6785:2;6777:6;6773:15;6767:22;6798:54;6848:2;6837:9;6833:18;6817:14;-1:-1:-1;;;;;1720:54:1;1708:67;;1654:127;6798:54;-1:-1:-1;;6871:6:1;6914:15;;;6908:22;5534:26;5523:38;6973:18;;;5511:51;7011:6;7054:15;;;7048:22;-1:-1:-1;;;;;1720:54:1;7114:18;;;1708:67;7152:6;7195:15;;;7189:22;5649:24;5638:36;7254:18;;;5626:49;7292:6;7336:15;;;7330:22;1436:13;1429:21;7394:18;;;;1417:34;;;;5686:1733;:::o;7424:388::-;7492:6;7500;7553:2;7541:9;7532:7;7528:23;7524:32;7521:52;;;7569:1;7566;7559:12;7521:52;7608:9;7595:23;7627:31;7652:5;7627:31;:::i;:::-;7677:5;-1:-1:-1;7734:2:1;7719:18;;7706:32;7747:33;7706:32;7747:33;:::i;8177:127::-;8238:10;8233:3;8229:20;8226:1;8219:31;8269:4;8266:1;8259:15;8293:4;8290:1;8283:15;8309:168;8376:6;8402:10;;;8414;;;8398:27;;8437:11;;;8434:37;;;8451:18;;:::i;:::-;8434:37;8309:168;;;;:::o;9141:184::-;9211:6;9264:2;9252:9;9243:7;9239:23;9235:32;9232:52;;;9280:1;9277;9270:12;9232:52;-1:-1:-1;9303:16:1;;9141:184;-1:-1:-1;9141:184:1:o;9330:306::-;9418:6;9426;9434;9487:2;9475:9;9466:7;9462:23;9458:32;9455:52;;;9503:1;9500;9493:12;9455:52;9532:9;9526:16;9516:26;;9582:2;9571:9;9567:18;9561:25;9551:35;;9626:2;9615:9;9611:18;9605:25;9595:35;;9330:306;;;;;:::o;9641:168::-;9714:9;;;9745;;9762:15;;;9756:22;;9742:37;9732:71;;9783:18;;:::i;9814:217::-;9854:1;9880;9870:132;;9924:10;9919:3;9915:20;9912:1;9905:31;9959:4;9956:1;9949:15;9987:4;9984:1;9977:15;9870:132;-1:-1:-1;10016:9:1;;9814:217::o;10338:164::-;10414:13;;10463;;10456:21;10446:32;;10436:60;;10492:1;10489;10482:12;10436:60;10338:164;;;:::o;10507:202::-;10574:6;10627:2;10615:9;10606:7;10602:23;10598:32;10595:52;;;10643:1;10640;10633:12;10595:52;10666:37;10693:9;10666:37;:::i;10714:380::-;10793:1;10789:12;;;;10836;;;10857:61;;10911:4;10903:6;10899:17;10889:27;;10857:61;10964:2;10956:6;10953:14;10933:18;10930:38;10927:161;;11010:10;11005:3;11001:20;10998:1;10991:31;11045:4;11042:1;11035:15;11073:4;11070:1;11063:15;10927:161;;10714:380;;;:::o;11099:128::-;11166:9;;;11187:11;;;11184:37;;;11201:18;;:::i;11502:125::-;11567:9;;;11588:10;;;11585:36;;;11601:18;;:::i;13428:251::-;13498:6;13551:2;13539:9;13530:7;13526:23;13522:32;13519:52;;;13567:1;13564;13557:12;13519:52;13599:9;13593:16;13618:31;13643:5;13618:31;:::i;14098:347::-;14165:2;14159:9;14207:6;14195:19;;14244:18;14229:34;;14265:22;;;14226:62;14223:185;;;14330:10;14325:3;14321:20;14318:1;14311:31;14365:4;14362:1;14355:15;14393:4;14390:1;14383:15;14223:185;14424:2;14417:22;14098:347;:::o;14450:177::-;14528:13;;14581:20;14570:32;;14560:43;;14550:71;;14617:1;14614;14607:12;14632:163;14710:13;;14763:6;14752:18;;14742:29;;14732:57;;14785:1;14782;14775:12;14800:1104;14896:6;14949:3;14937:9;14928:7;14924:23;14920:33;14917:53;;;14966:1;14963;14956:12;14917:53;14999:2;14993:9;15041:3;15033:6;15029:16;15111:6;15099:10;15096:22;15075:18;15063:10;15060:34;15057:62;15054:185;;;15161:10;15156:3;15152:20;15149:1;15142:31;15196:4;15193:1;15186:15;15224:4;15221:1;15214:15;15054:185;15255:2;15248:22;15292:16;;15317:30;15292:16;15317:30;:::i;:::-;15356:21;;15410:48;15454:2;15439:18;;15410:48;:::i;:::-;15405:2;15397:6;15393:15;15386:73;15492:48;15536:2;15525:9;15521:18;15492:48;:::i;:::-;15487:2;15479:6;15475:15;15468:73;15574:48;15618:2;15607:9;15603:18;15574:48;:::i;:::-;15569:2;15561:6;15557:15;15550:73;15657:49;15701:3;15690:9;15686:19;15657:49;:::i;:::-;15651:3;15643:6;15639:16;15632:75;15741:49;15785:3;15774:9;15770:19;15741:49;:::i;:::-;15735:3;15727:6;15723:16;15716:75;15825:47;15867:3;15856:9;15852:19;15825:47;:::i;:::-;15819:3;15807:16;;15800:73;15811:6;14800:1104;-1:-1:-1;;;14800:1104:1:o;19630:181::-;19708:13;;19761:24;19750:36;;19740:47;;19730:75;;19801:1;19798;19791:12;19816:1154;19920:6;19973:3;19961:9;19952:7;19948:23;19944:33;19941:53;;;19990:1;19987;19980:12;19941:53;20023:2;20017:9;20065:3;20057:6;20053:16;20135:6;20123:10;20120:22;20099:18;20087:10;20084:34;20081:62;20078:185;;;20185:10;20180:3;20176:20;20173:1;20166:31;20220:4;20217:1;20210:15;20248:4;20245:1;20238:15;20078:185;20279:2;20272:22;20318:16;;20303:32;;20378:2;20363:18;;20357:25;20391:31;20357:25;20391:31;:::i;:::-;20450:2;20438:15;;20431:30;20506:2;20491:18;;20485:25;20554:26;20541:40;;20529:53;;20519:81;;20596:1;20593;20586:12;20519:81;20628:2;20616:15;;20609:32;20686:2;20671:18;;20665:25;20699:33;20665:25;20699:33;:::i;:::-;20760:2;20748:15;;20741:32;20807:49;20851:3;20836:19;;20807:49;:::i;:::-;20801:3;20793:6;20789:16;20782:75;20891:47;20933:3;20922:9;20918:19;20891:47;:::i;:::-;20885:3;20873:16;;20866:73;20877:6;19816:1154;-1:-1:-1;;;19816:1154:1:o;20975:833::-;21048:5;21096:4;21084:9;21079:3;21075:19;21071:30;21068:50;;;21114:1;21111;21104:12;21068:50;21147:2;21141:9;21189:4;21181:6;21177:17;21260:6;21248:10;21245:22;21224:18;21212:10;21209:34;21206:62;21203:185;;;21310:10;21305:3;21301:20;21298:1;21291:31;21345:4;21342:1;21335:15;21373:4;21370:1;21363:15;21203:185;21408:10;21404:2;21397:22;;21437:6;21428:15;;21473:9;21467:16;21492:32;21516:7;21492:32;:::i;:::-;21533:23;;21589:48;21633:2;21618:18;;21589:48;:::i;:::-;21584:2;21576:6;21572:15;21565:73;21671:48;21715:2;21704:9;21700:18;21671:48;:::i;:::-;21666:2;21658:6;21654:15;21647:73;21753:48;21797:2;21786:9;21782:18;21753:48;:::i;:::-;21748:2;21740:6;21736:15;21729:73;;20975:833;;;;:::o;21813:160::-;21890:13;;21943:4;21932:16;;21922:27;;21912:55;;21963:1;21960;21953:12;21978:167;22056:13;;22109:10;22098:22;;22088:33;;22078:61;;22135:1;22132;22125:12;22150:912;22248:6;22301:3;22289:9;22280:7;22276:23;22272:33;22269:53;;;22318:1;22315;22308:12;22269:53;22344:17;;:::i;:::-;22384:64;22440:7;22429:9;22384:64;:::i;:::-;22377:5;22370:79;22483:49;22527:3;22516:9;22512:19;22483:49;:::i;:::-;22476:4;22469:5;22465:16;22458:75;22567:48;22610:3;22599:9;22595:19;22567:48;:::i;:::-;22560:4;22553:5;22549:16;22542:74;22650:49;22694:3;22683:9;22679:19;22650:49;:::i;:::-;22643:4;22636:5;22632:16;22625:75;22733:49;22777:3;22766:9;22762:19;22733:49;:::i;:::-;22727:3;22720:5;22716:15;22709:74;22816:52;22860:6;22849:9;22845:22;22816:52;:::i;:::-;22810:3;22803:5;22799:15;22792:77;22902:48;22945:3;22934:9;22930:19;22902:48;:::i;:::-;22896:3;22889:5;22885:15;22878:73;22984:47;23026:3;23015:9;23011:19;22984:47;:::i;:::-;22978:3;22967:15;;22960:72;22971:5;22150:912;-1:-1:-1;;;22150:912:1:o

Swarm Source

ipfs://8b15e1e5191d3eafc6c219f3f79381c9f2c393c0cdca5ae71d35d8d9756cc1f0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.