ETH Price: $3,489.05 (+0.50%)
Gas: 5 Gwei

Token

ApeX Predator NFT (APEX-PRD)
 

Overview

Max Total Supply

3,781 APEX-PRD

Holders

115

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 APEX-PRD
0x6ee96b134c78fd501576c210ca2be2eab0feae1f
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:
NftSquid

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-27
*/

// File: contracts/core/interfaces/IERC20.sol


pragma solidity ^0.8.0;

interface IERC20 {
    event Approval(address indexed owner, address indexed spender, uint256 value);
    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 value) external returns (bool);

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

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

    function totalSupply() external view returns (uint256);

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

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

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

    function decimals() external pure returns (uint8);
}

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



pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol



pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

// File: @openzeppelin/contracts/access/IAccessControl.sol



pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File: @openzeppelin/contracts/access/IAccessControlEnumerable.sol



pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

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



pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/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/access/Ownable.sol



pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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



pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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



pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/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



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/access/AccessControl.sol



pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: @openzeppelin/contracts/access/AccessControlEnumerable.sol



pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

// File: @openzeppelin/contracts/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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 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);

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

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



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/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



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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

    /**
     * @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 {
                    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 {}
}

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



pragma solidity ^0.8.0;



/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

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



pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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



pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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



pragma solidity ^0.8.0;








/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC721PresetMinterPauserAutoId is
    Context,
    AccessControlEnumerable,
    ERC721Enumerable,
    ERC721Burnable,
    ERC721Pausable
{
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    Counters.Counter private _tokenIdTracker;

    string private _baseTokenURI;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have minter role to mint");

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
        _mint(to, _tokenIdTracker.current());
        _tokenIdTracker.increment();
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(AccessControlEnumerable, ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

// File: contracts/NFT/NftSquid.sol


pragma solidity ^0.8.0;




contract NftSquid is ERC721PresetMinterPauserAutoId, Ownable {
    uint256 private constant HALF_YEAR = 180 days;
    uint256 private constant MULTIPLIER = 1e18;
    uint256 internal constant BURN_DISCOUNT = 40;
    uint256 internal constant BONUS_PERPAX = 1500 * 10**18;
    uint256 internal constant BASE_AMOUNT = 3000 * 10**18;
    uint256 public constant price = 0.45 ether;
    // uint256 public constant price = 0.001 ether; // for test

    uint256 public vaultAmount;
    uint256 public squidStartTime;
    uint256 public nftStartTime;
    uint256 public nftEndTime;

    uint256 public remainOwners;
    uint256 public constant MAX_PLAYERS = 4560;

    uint256 public id;
    address public token;
    uint256 public totalEth;

    // reserved for whitelist address
    mapping(address => bool) public reserved;
    // left reserved that not claim yet
    uint16 public reservedCount;
    // if turn to false, then all reserved will become invalid
    bool public reservedOn = true;
    // This is a packed array of booleans.
    mapping(uint256 => uint256) private claimedBitMap;

    event Mint(address indexed owner, uint256 tokenId);
    event Burn(uint256 tokenId, uint256 withdrawAmount, address indexed sender);

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseTokenURI,
        address _token,
        uint256 _nftStartTime,
        uint256 _nftEndTime
    ) ERC721PresetMinterPauserAutoId(_name, _symbol, _baseTokenURI) {
        token = _token;
        nftStartTime = _nftStartTime;
        nftEndTime = _nftEndTime;
        _mint(msg.sender, MAX_PLAYERS);
    }

    function setReservedOff() external onlyOwner {
        reservedOn = false;
    }

    function addToReserved(address[] memory list) external onlyOwner {
        require(block.timestamp < nftEndTime, "NFT_SALE_TIME_END");
        for (uint16 i = 0; i < list.length; i++) {
            if (!reserved[list[i]]) {
                reserved[list[i]] = true;
                reservedCount++;
            }
        }
    }

    function removeFromReserved(address[] memory list) external onlyOwner {
        require(block.timestamp < nftEndTime, "NFT_SALE_TIME_END");
        for (uint16 i = 0; i < list.length; i++) {
            if (reserved[list[i]]) {
                delete reserved[list[i]];
                reservedCount--;
            }
        }
    }

    // The time players are able to burn
    function setSquidStartTime(uint256 _squidStartTime) external onlyOwner {
        require(_squidStartTime > nftEndTime, "SQUID_START_TIME_MUST_BIGGER_THAN_NFT_END_TIME");
        squidStartTime = _squidStartTime; //unix time
    }  
     function setNFTStartTime(uint256 _nftStartTime) external onlyOwner {
        require(_nftStartTime > block.timestamp, "NFT_START_TIME_MUST_BIGGER_THAN_NOW");
        nftStartTime = _nftStartTime; //unix time
    }  
     function setNFTEndTime(uint256 _nftEndTime) external onlyOwner {
        require(_nftEndTime > nftStartTime, "NFT_END_TIME_MUST_AFTER_START_TIME");
        nftEndTime = _nftEndTime; //unix time
    }

    // player can buy before startTime
    function claimApeXNFT(uint256 userSeed) external payable {
        require(msg.value == price, "value not match");
        totalEth = totalEth + price;
        uint256 randRaw = random(userSeed);
        uint256 rand = getUnusedRandom(randRaw);
        _mint(msg.sender, rand);
        _setClaimed(rand);
        emit Mint(msg.sender, rand);
        require(block.timestamp <= nftEndTime  , "GAME_IS_ALREADY_END");
        require(block.timestamp >= nftStartTime  , "GAME_IS_NOT_BEGIN");
        id++;
        remainOwners++;
        require(remainOwners <= MAX_PLAYERS, "SOLD_OUT");
        if (reservedOn) {
            require(remainOwners <= MAX_PLAYERS - reservedCount, "SOLD_OUT_NORMAL");
            if (reserved[msg.sender]) {
                delete reserved[msg.sender];
                reservedCount--;
            }
        }
    }

    // player burn their nft
    function burnAndEarn(uint256 tokenId) external {
        uint256 _remainOwners = remainOwners;
        require(_remainOwners > 0, "ALL_BURNED");
        require(ownerOf(tokenId) == msg.sender, "NO_AUTHORITY");
        require(squidStartTime != 0 && block.timestamp >= squidStartTime, "GAME_IS_NOT_BEGIN");
        _burn(tokenId);
        (uint256 withdrawAmount, uint256 bonus) = _calWithdrawAmountAndBonus();

        if (_remainOwners > 1) {
            vaultAmount = vaultAmount + BONUS_PERPAX - bonus;
        }

        remainOwners = _remainOwners - 1;
        emit Burn(tokenId, withdrawAmount, msg.sender);
        require(IERC20(token).transfer(msg.sender, withdrawAmount));
    }

    function random(uint256 userSeed) public view returns (uint256) {
        return
            uint256(keccak256(abi.encodePacked(block.timestamp, block.number, userSeed, blockhash(block.number)))) %
            MAX_PLAYERS;
    }

    function getUnusedRandom(uint256 randomNumber) internal view returns (uint256) {
        while (isClaimed(randomNumber)) {
            randomNumber++;
            if (randomNumber == MAX_PLAYERS) {
                randomNumber = randomNumber % MAX_PLAYERS;
            }
        }

        return randomNumber;
    }

    function isClaimed(uint256 index) public view returns (bool) {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        uint256 claimedWord = claimedBitMap[claimedWordIndex];
        uint256 mask = (1 << claimedBitIndex);
        return claimedWord & mask == mask;
    }

    function _setClaimed(uint256 index) private {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
    }

    function withdrawETH(address to) external onlyOwner {
        payable(to).transfer(address(this).balance);
    }

    function withdrawERC20Token(address token_, address to, uint256 amount) external onlyOwner returns (bool) {
        uint256 balance = IERC20(token_).balanceOf(address(this));
        require(balance >= amount, "NOT_ENOUGH_BALANCE");
        require(IERC20(token_).transfer(to, amount));
        return true;
    }

    function calWithdrawAmountAndBonus() external view returns (uint256 withdrawAmount, uint256 bonus) {
        return _calWithdrawAmountAndBonus();
    }

    function _calWithdrawAmountAndBonus() internal view returns (uint256 withdrawAmount, uint256 bonus) {
        uint256 endTime = squidStartTime + HALF_YEAR;
        uint256 nowTime = block.timestamp;
        uint256 diffTime = nowTime < endTime ? nowTime - squidStartTime : endTime - squidStartTime;

        // the last one is special
        if (remainOwners == 1) {
            withdrawAmount = BASE_AMOUNT + BONUS_PERPAX + vaultAmount;
            return (withdrawAmount, BONUS_PERPAX + vaultAmount);
        }

        // (t/6*5000+ vaultAmount/N)60%
        bonus =
            ((diffTime * BONUS_PERPAX * (100 - BURN_DISCOUNT)) /
                HALF_YEAR +
                (vaultAmount * (100 - BURN_DISCOUNT)) /
                remainOwners) /
            100;

        // drain the pool
        if (bonus > vaultAmount + BONUS_PERPAX) {
            bonus = vaultAmount + BONUS_PERPAX;
        }

        withdrawAmount = BASE_AMOUNT + bonus;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_nftStartTime","type":"uint256"},{"internalType":"uint256","name":"_nftEndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"withdrawAmount","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PLAYERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"list","type":"address[]"}],"name":"addToReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnAndEarn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"calWithdrawAmountAndBonus","outputs":[{"internalType":"uint256","name":"withdrawAmount","type":"uint256"},{"internalType":"uint256","name":"bonus","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userSeed","type":"uint256"}],"name":"claimApeXNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"id","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"userSeed","type":"uint256"}],"name":"random","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainOwners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"list","type":"address[]"}],"name":"removeFromReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftEndTime","type":"uint256"}],"name":"setNFTEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftStartTime","type":"uint256"}],"name":"setNFTStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setReservedOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_squidStartTime","type":"uint256"}],"name":"setSquidStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"squidStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vaultAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20Token","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526019805462ff00001916620100001790553480156200002257600080fd5b5060405162004850380380620048508339810160408190526200004591620009ab565b858585828281600290805190602001906200006292919062000852565b5080516200007890600390602084019062000852565b5050600c805460ff191690555080516200009a90600e90602084019062000852565b50620000a96000335b62000161565b620000d57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000a3565b620001017f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620000a3565b5050506200011e620001186200015d60201b60201c565b620001a4565b601680546001600160a01b0319166001600160a01b0385161790556012829055601381905562000151336111d0620001f6565b50505050505062000b0b565b3390565b6200017882826200035060201b620021b81760201c565b60008281526001602090815260409091206200019f918390620021c262000360821b17901c565b505050565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002525760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064015b60405180910390fd5b6000818152600460205260409020546001600160a01b031615620002b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000249565b620002c76000838362000380565b6001600160a01b0382166000908152600560205260408120805460019290620002f290849062000a6d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6200035c828262000398565b5050565b600062000377836001600160a01b03841662000438565b90505b92915050565b6200019f8383836200048a60201b620021d71760201c565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200035c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620003f43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205462000481575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200037a565b5060006200037a565b620004a28383836200050b60201b620022491760201c565b600c5460ff16156200019f5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b606482015260840162000249565b620005238383836200019f60201b62000d7c1760201c565b6001600160a01b03831662000581576200057b81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b620005a7565b816001600160a01b0316836001600160a01b031614620005a757620005a78382620005ed565b6001600160a01b038216620005c757620005c1816200069a565b6200019f565b826001600160a01b0316826001600160a01b0316146200019f576200019f828262000778565b600060016200060784620007c960201b620018e31760201c565b62000613919062000a88565b60008381526009602052604090205490915080821462000667576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090620006ae9060019062000a88565b6000838152600b6020526040812054600a8054939450909284908110620006e557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a83815481106200071557634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806200075c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006200079083620007c960201b620018e31760201c565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b60006001600160a01b038216620008365760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000249565b506001600160a01b031660009081526005602052604090205490565b828054620008609062000aa2565b90600052602060002090601f016020900481019282620008845760008555620008cf565b82601f106200089f57805160ff1916838001178555620008cf565b82800160010185558215620008cf579182015b82811115620008cf578251825591602001919060010190620008b2565b50620008dd929150620008e1565b5090565b5b80821115620008dd5760008155600101620008e2565b600082601f83011262000909578081fd5b81516001600160401b038082111562000926576200092662000af5565b604051601f8301601f19908116603f0116810190828211818310171562000951576200095162000af5565b816040528381526020925086838588010111156200096d578485fd5b8491505b8382101562000990578582018301518183018401529082019062000971565b83821115620009a157848385830101525b9695505050505050565b60008060008060008060c08789031215620009c4578182fd5b86516001600160401b0380821115620009db578384fd5b620009e98a838b01620008f8565b97506020890151915080821115620009ff578384fd5b62000a0d8a838b01620008f8565b9650604089015191508082111562000a23578384fd5b5062000a3289828a01620008f8565b606089015190955090506001600160a01b038116811462000a51578283fd5b809350506080870151915060a087015190509295509295509295565b6000821982111562000a835762000a8362000adf565b500190565b60008282101562000a9d5762000a9d62000adf565b500390565b60028104600182168062000ab757607f821691505b6020821081141562000ad957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b613d358062000b1b6000396000f3fe6080604052600436106103975760003560e01c8063715018a6116101dc578063c38f761711610102578063e63ab1e9116100a0578063f2fde38b1161006f578063f2fde38b14610aac578063fb9bf56a14610acc578063fc0c546a14610aec578063ffa6d07414610b0c57610397565b8063e63ab1e9146109f9578063e985e9c514610a2d578063eb97755614610a76578063ed835b3114610a9657610397565b8063ca15c873116100dc578063ca15c87314610955578063d539139314610975578063d547741f146109a9578063da9425e2146109c957610397565b8063c38f7617146108f1578063c87b56dd1461091f578063c9af9c741461093f57610397565b8063a035b1fe1161017a578063a5721d1511610149578063a5721d151461087b578063af640d0f1461089b578063b863bd37146108b1578063b88d4fde146108d157610397565b8063a035b1fe1461080a578063a0397f8514610826578063a217fddf14610846578063a22cb4651461085b57610397565b80639010d07c116101b65780639010d07c1461079557806391d14854146107b557806395d89b41146107d55780639e34070f146107ea57610397565b8063715018a61461074d5780638456cb59146107625780638da5cb5b1461077757610397565b806336568abe116102c157806348bd1f671161025f5780636352211e1161022e5780636352211e146106cd578063690d8320146106ed5780636a6278421461070d57806370a082311461072d57610397565b806348bd1f67146106605780634f6ccce71461067557806357d1b31b146106955780635c975abb146106b557610397565b806342842e0e1161029b57806342842e0e146105f457806342966c68146106145780634411b3eb14610634578063474b21c51461064a57610397565b806336568abe146105a95780633c3c9c23146105c95780633f4ba83a146105df57610397565b80631faf61ad11610339578063292f453a11610308578063292f453a1461051f5780632c0c968a146105495780632f2ff15d146105695780632f745c591461058957610397565b80631faf61ad146104a657806320f07d93146104b957806323b872dd146104cf578063248a9ca3146104ef57610397565b8063095ea7b311610375578063095ea7b31461042b57806313c739a01461044d57806315b327b71461047157806318160ddd1461049157610397565b806301ffc9a71461039c57806306fdde03146103d1578063081812fc146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046138d1565b610b2c565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610b3f565b6040516103c89190613a2e565b3480156103ff57600080fd5b5061041361040e366004613876565b610bd1565b6040516001600160a01b0390911681526020016103c8565b34801561043757600080fd5b5061044b610446366004613783565b610c6b565b005b34801561045957600080fd5b5061046360125481565b6040519081526020016103c8565b34801561047d57600080fd5b5061044b61048c366004613876565b610d81565b34801561049d57600080fd5b50600a54610463565b61044b6104b4366004613876565b610e0b565b3480156104c557600080fd5b5061046360105481565b3480156104db57600080fd5b5061044b6104ea36600461365a565b61108e565b3480156104fb57600080fd5b5061046361050a366004613876565b60009081526020819052604090206001015490565b34801561052b57600080fd5b506105346110c0565b604080519283526020830191909152016103c8565b34801561055557600080fd5b5061044b610564366004613876565b6110d4565b34801561057557600080fd5b5061044b61058436600461388e565b6112d6565b34801561059557600080fd5b506104636105a4366004613783565b6112f8565b3480156105b557600080fd5b5061044b6105c436600461388e565b611391565b3480156105d557600080fd5b5061046360175481565b3480156105eb57600080fd5b5061044b6113b3565b34801561060057600080fd5b5061044b61060f36600461365a565b61145b565b34801561062057600080fd5b5061044b61062f366004613876565b611476565b34801561064057600080fd5b506104636111d081565b34801561065657600080fd5b5061046360135481565b34801561066c57600080fd5b5061044b6114f0565b34801561068157600080fd5b50610463610690366004613876565b611528565b3480156106a157600080fd5b506103bc6106b036600461365a565b6115c9565b3480156106c157600080fd5b50600c5460ff166103bc565b3480156106d957600080fd5b506104136106e8366004613876565b61174d565b3480156106f957600080fd5b5061044b61070836600461360e565b6117c4565b34801561071957600080fd5b5061044b61072836600461360e565b611827565b34801561073957600080fd5b5061046361074836600461360e565b6118e3565b34801561075957600080fd5b5061044b61196a565b34801561076e57600080fd5b5061044b61199e565b34801561078357600080fd5b50600f546001600160a01b0316610413565b3480156107a157600080fd5b506104136107b03660046138b0565b611a42565b3480156107c157600080fd5b506103bc6107d036600461388e565b611a61565b3480156107e157600080fd5b506103e6611a8a565b3480156107f657600080fd5b506103bc610805366004613876565b611a99565b34801561081657600080fd5b5061046367063eb89da4ed000081565b34801561083257600080fd5b5061044b6108413660046137ac565b611ada565b34801561085257600080fd5b50610463600081565b34801561086757600080fd5b5061044b61087636600461374d565b611c4b565b34801561088757600080fd5b5061044b610896366004613876565b611d1d565b3480156108a757600080fd5b5061046360155481565b3480156108bd57600080fd5b506104636108cc366004613876565b611db4565b3480156108dd57600080fd5b5061044b6108ec366004613695565b611e00565b3480156108fd57600080fd5b5060195461090c9061ffff1681565b60405161ffff90911681526020016103c8565b34801561092b57600080fd5b506103e661093a366004613876565b611e32565b34801561094b57600080fd5b5061046360145481565b34801561096157600080fd5b50610463610970366004613876565b611f0c565b34801561098157600080fd5b506104637f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b3480156109b557600080fd5b5061044b6109c436600461388e565b611f23565b3480156109d557600080fd5b506103bc6109e436600461360e565b60186020526000908152604090205460ff1681565b348015610a0557600080fd5b506104637f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b348015610a3957600080fd5b506103bc610a48366004613628565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a8257600080fd5b506019546103bc9062010000900460ff1681565b348015610aa257600080fd5b5061046360115481565b348015610ab857600080fd5b5061044b610ac736600461360e565b611f2d565b348015610ad857600080fd5b5061044b610ae73660046137ac565b611fc5565b348015610af857600080fd5b50601654610413906001600160a01b031681565b348015610b1857600080fd5b5061044b610b27366004613876565b61212d565b6000610b3782612306565b90505b919050565b606060028054610b4e90613c0d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7a90613c0d565b8015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610c4f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c768261174d565b9050806001600160a01b0316836001600160a01b03161415610ce45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c46565b336001600160a01b0382161480610d005750610d008133610a48565b610d725760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c46565b610d7c838361232b565b505050565b600f546001600160a01b03163314610dab5760405162461bcd60e51b8152600401610c4690613a93565b428111610e065760405162461bcd60e51b815260206004820152602360248201527f4e46545f53544152545f54494d455f4d5553545f4249474745525f5448414e5f6044820152624e4f5760e81b6064820152608401610c46565b601255565b67063eb89da4ed00003414610e545760405162461bcd60e51b815260206004820152600f60248201526e0ecc2d8eaca40dcdee840dac2e8c6d608b1b6044820152606401610c46565b67063eb89da4ed0000601754610e6a9190613b4a565b6017556000610e7882611db4565b90506000610e8582612399565b9050610e9133826123d9565b610e9a81612527565b60405181815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a2601354421115610f175760405162461bcd60e51b815260206004820152601360248201527211d0535157d254d7d053149150511657d15391606a1b6044820152606401610c46565b601254421015610f5d5760405162461bcd60e51b815260206004820152601160248201527023a0a6a2afa4a9afa727aa2fa122a3a4a760791b6044820152606401610c46565b60158054906000610f6d83613c6a565b909155505060148054906000610f8283613c6a565b91905055506111d06014541115610fc65760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610c46565b60195462010000900460ff1615610d7c57601954610fea9061ffff166111d0613b95565b601454111561102d5760405162461bcd60e51b815260206004820152600f60248201526e14d3d31117d3d55517d393d4935053608a1b6044820152606401610c46565b3360009081526018602052604090205460ff1615610d7c57336000908152601860205260408120805460ff191690556019805461ffff169161106e83613bd8565b91906101000a81548161ffff021916908361ffff16021790555050505050565b611099335b82612565565b6110b55760405162461bcd60e51b8152600401610c4690613ac8565b610d7c83838361265c565b6000806110cb612807565b915091505b9091565b601454806111115760405162461bcd60e51b815260206004820152600a60248201526910531317d0955493915160b21b6044820152606401610c46565b3361111b8361174d565b6001600160a01b0316146111605760405162461bcd60e51b815260206004820152600c60248201526b4e4f5f415554484f5249545960a01b6044820152606401610c46565b6011541580159061117357506011544210155b6111b35760405162461bcd60e51b815260206004820152601160248201527023a0a6a2afa4a9afa727aa2fa122a3a4a760791b6044820152606401610c46565b6111bc8261296d565b6000806111c7612807565b9150915060018311156111fa5780685150ae84a8cdf000006010546111ec9190613b4a565b6111f69190613b95565b6010555b611205600184613b95565b601455604080518581526020810184905233917f254cba6bcaacd15ef1bba85e06c1d71c8cf7a3e036ad089903ba04bad25aaccc910160405180910390a260165460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561128f57600080fd5b505af11580156112a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c7919061385a565b6112d057600080fd5b50505050565b6112e08282612a14565b6000828152600160205260409020610d7c90826121c2565b6000611303836118e3565b82106113655760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c46565b506001600160a01b03821660009081526008602090815260408083208484529091529020545b92915050565b61139b8282612a3b565b6000828152600160205260409020610d7c9082612ab5565b6113dd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336107d0565b611451576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610c46565b611459612aca565b565b610d7c83838360405180602001604052806000815250611e00565b61147f33611093565b6114e45760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610c46565b6114ed8161296d565b50565b600f546001600160a01b0316331461151a5760405162461bcd60e51b8152600401610c4690613a93565b6019805462ff000019169055565b6000611533600a5490565b82106115965760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c46565b600a82815481106115b757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600f546000906001600160a01b031633146115f65760405162461bcd60e51b8152600401610c4690613a93565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a082319060240160206040518083038186803b15801561163857600080fd5b505afa15801561164c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116709190613909565b9050828110156116b75760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f42414c414e434560701b6044820152606401610c46565b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb90604401602060405180830381600087803b15801561170157600080fd5b505af1158015611715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611739919061385a565b61174257600080fd5b506001949350505050565b6000818152600460205260408120546001600160a01b031680610b375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c46565b600f546001600160a01b031633146117ee5760405162461bcd60e51b8152600401610c4690613a93565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611823573d6000803e3d6000fd5b5050565b6118517f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336107d0565b6118c35760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610c46565b6118d5816118d0600d5490565b6123d9565b6114ed600d80546001019055565b60006001600160a01b03821661194e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c46565b506001600160a01b031660009081526005602052604090205490565b600f546001600160a01b031633146119945760405162461bcd60e51b8152600401610c4690613a93565b6114596000612b5d565b6119c87f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336107d0565b611a3a5760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610c46565b611459612baf565b6000828152600160205260408120611a5a9083612c2a565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060038054610b4e90613c0d565b600080611aa861010084613b62565b90506000611ab861010085613c85565b6000928352601a602052604090922054600190921b9182169091149392505050565b600f546001600160a01b03163314611b045760405162461bcd60e51b8152600401610c4690613a93565b6013544210611b495760405162461bcd60e51b815260206004820152601160248201527013919517d4d0531157d512535157d15391607a1b6044820152606401610c46565b60005b81518161ffff1610156118235760186000838361ffff1681518110611b8157634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16611c3957600160186000848461ffff1681518110611bd657634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff1916921515929092179091556019805461ffff1691611c1d83613c48565b91906101000a81548161ffff021916908361ffff160217905550505b80611c4381613c48565b915050611b4c565b6001600160a01b038216331415611ca45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c46565b3360008181526007602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d11911515815260200190565b60405180910390a35050565b600f546001600160a01b03163314611d475760405162461bcd60e51b8152600401610c4690613a93565b6013548111611daf5760405162461bcd60e51b815260206004820152602e60248201527f53515549445f53544152545f54494d455f4d5553545f4249474745525f54484160448201526d4e5f4e46545f454e445f54494d4560901b6064820152608401610c46565b601155565b604080514260208201524391810182905260608101839052904060808201526000906111d09060a0016040516020818303038152906040528051906020012060001c610b379190613c85565b611e0a3383612565565b611e265760405162461bcd60e51b8152600401610c4690613ac8565b6112d084848484612c36565b6000818152600460205260409020546060906001600160a01b0316611eb15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c46565b6000611ebb612c69565b90506000815111611edb5760405180602001604052806000815250611a5a565b80611ee584612c78565b604051602001611ef692919061394d565b6040516020818303038152906040529392505050565b6000818152600160205260408120610b3790612d93565b61139b8282612d9d565b600f546001600160a01b03163314611f575760405162461bcd60e51b8152600401610c4690613a93565b6001600160a01b038116611fbc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c46565b6114ed81612b5d565b600f546001600160a01b03163314611fef5760405162461bcd60e51b8152600401610c4690613a93565b60135442106120345760405162461bcd60e51b815260206004820152601160248201527013919517d4d0531157d512535157d15391607a1b6044820152606401610c46565b60005b81518161ffff1610156118235760186000838361ffff168151811061206c57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff161561211b5760186000838361ffff16815181106120c057634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff191690556019805461ffff16916120ff83613bd8565b91906101000a81548161ffff021916908361ffff160217905550505b8061212581613c48565b915050612037565b600f546001600160a01b031633146121575760405162461bcd60e51b8152600401610c4690613a93565b60125481116121b35760405162461bcd60e51b815260206004820152602260248201527f4e46545f454e445f54494d455f4d5553545f41465445525f53544152545f54496044820152614d4560f01b6064820152608401610c46565b601355565b6118238282612dc3565b6000611a5a836001600160a01b038416612e47565b6121e2838383612249565b600c5460ff1615610d7c5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610c46565b6001600160a01b0383166122a45761229f81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6122c7565b816001600160a01b0316836001600160a01b0316146122c7576122c78382612e96565b6001600160a01b0382166122e3576122de81612f33565b610d7c565b826001600160a01b0316826001600160a01b031614610d7c57610d7c828261300c565b60006001600160e01b0319821663780e9d6360e01b1480610b375750610b3782613050565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123608261174d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b6123a582611a99565b156123d557816123b481613c6a565b9250506111d08214156123d0576123cd6111d083613c85565b91505b61239c565b5090565b6001600160a01b03821661242f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c46565b6000818152600460205260409020546001600160a01b0316156124945760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c46565b6124a060008383613090565b6001600160a01b03821660009081526005602052604081208054600192906124c9908490613b4a565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061253561010083613b62565b9050600061254561010084613c85565b6000928352601a60205260409092208054600190931b9092179091555050565b6000818152600460205260408120546001600160a01b03166125de5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c46565b60006125e98361174d565b9050806001600160a01b0316846001600160a01b031614806126245750836001600160a01b031661261984610bd1565b6001600160a01b0316145b8061265457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661266f8261174d565b6001600160a01b0316146126d75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c46565b6001600160a01b0382166127395760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c46565b612744838383613090565b61274f60008261232b565b6001600160a01b0383166000908152600560205260408120805460019290612778908490613b95565b90915550506001600160a01b03821660009081526005602052604081208054600192906127a6908490613b4a565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080600062ed4e0060115461281d9190613b4a565b905042600082821061283b576011546128369084613b95565b612848565b6011546128489083613b95565b9050601454600114156128a457601054612874685150ae84a8cdf0000068a2a15d09519be00000613b4a565b61287e9190613b4a565b945084601054685150ae84a8cdf000006128989190613b4a565b945094505050506110d0565b6014546064906128b5602883613b95565b6010546128c29190613b76565b6128cc9190613b62565b62ed4e006128dc60286064613b95565b6128ef685150ae84a8cdf0000086613b76565b6128f99190613b76565b6129039190613b62565b61290d9190613b4a565b6129179190613b62565b9350685150ae84a8cdf000006010546129309190613b4a565b84111561295157685150ae84a8cdf0000060105461294e9190613b4a565b93505b6129648468a2a15d09519be00000613b4a565b94505050509091565b60006129788261174d565b905061298681600084613090565b61299160008361232b565b6001600160a01b03811660009081526005602052604081208054600192906129ba908490613b95565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600082815260208190526040902060010154612a3181335b61309b565b610d7c8383612dc3565b6001600160a01b0381163314612aab5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c46565b61182382826130ff565b6000611a5a836001600160a01b038416613164565b600c5460ff16612b135760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c46565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff1615612bf55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c46565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b403390565b6000611a5a8383613281565b612c4184848461265c565b612c4d848484846132b9565b6112d05760405162461bcd60e51b8152600401610c4690613a41565b6060600e8054610b4e90613c0d565b606081612c9d57506040805180820190915260018152600360fc1b6020820152610b3a565b8160005b8115612cc75780612cb181613c6a565b9150612cc09050600a83613b62565b9150612ca1565b60008167ffffffffffffffff811115612cf057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d1a576020820181803683370190505b5090505b841561265457612d2f600183613b95565b9150612d3c600a86613c85565b612d47906030613b4a565b60f81b818381518110612d6a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d8c600a86613b62565b9450612d1e565b6000610b37825490565b600082815260208190526040902060010154612db98133612a2c565b610d7c83836130ff565b612dcd8282611a61565b611823576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612e033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054612e8e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561138b565b50600061138b565b60006001612ea3846118e3565b612ead9190613b95565b600083815260096020526040902054909150808214612f00576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612f4590600190613b95565b6000838152600b6020526040812054600a8054939450909284908110612f7b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a8381548110612faa57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612ff057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613017836118e3565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b148061308157506001600160e01b03198216635b5e139f60e01b145b80610b375750610b37826133bb565b610d7c8383836121d7565b6130a58282611a61565b611823576130bd816001600160a01b031660146133e0565b6130c88360206133e0565b6040516020016130d992919061397c565b60408051601f198184030181529082905262461bcd60e51b8252610c4691600401613a2e565b6131098282611a61565b15611823576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015613277576000613188600183613b95565b855490915060009061319c90600190613b95565b905081811461321d5760008660000182815481106131ca57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106131fb57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061323c57634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061138b565b600091505061138b565b60008260000182815481106132a657634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006001600160a01b0384163b1561174257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906132fd9033908990889088906004016139f1565b602060405180830381600087803b15801561331757600080fd5b505af1925050508015613347575060408051601f3d908101601f19168201909252613344918101906138ed565b60015b6133a1573d808015613375576040519150601f19603f3d011682016040523d82523d6000602084013e61337a565b606091505b5080516133995760405162461bcd60e51b8152600401610c4690613a41565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612654565b60006001600160e01b03198216635a05180f60e01b1480610b375750610b37826135c2565b606060006133ef836002613b76565b6133fa906002613b4a565b67ffffffffffffffff81111561342057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561344a576020820181803683370190505b509050600360fc1b8160008151811061347357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106134b057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006134d4846002613b76565b6134df906001613b4a565b90505b6001811115613573576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061352157634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061354557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361356c81613bf6565b90506134e2565b508315611a5a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c46565b60006001600160e01b03198216637965db0b60e01b1480610b3757506301ffc9a760e01b6001600160e01b0319831614610b37565b80356001600160a01b0381168114610b3a57600080fd5b60006020828403121561361f578081fd5b611a5a826135f7565b6000806040838503121561363a578081fd5b613643836135f7565b9150613651602084016135f7565b90509250929050565b60008060006060848603121561366e578081fd5b613677846135f7565b9250613685602085016135f7565b9150604084013590509250925092565b600080600080608085870312156136aa578081fd5b6136b3856135f7565b935060206136c28187016135f7565b935060408601359250606086013567ffffffffffffffff808211156136e5578384fd5b818801915088601f8301126136f8578384fd5b81358181111561370a5761370a613cc5565b61371c601f8201601f19168501613b19565b91508082528984828501011115613731578485fd5b8084840185840137810190920192909252939692955090935050565b6000806040838503121561375f578182fd5b613768836135f7565b9150602083013561377881613cdb565b809150509250929050565b60008060408385031215613795578182fd5b61379e836135f7565b946020939093013593505050565b600060208083850312156137be578182fd5b823567ffffffffffffffff808211156137d5578384fd5b818501915085601f8301126137e8578384fd5b8135818111156137fa576137fa613cc5565b838102915061380a848301613b19565b8181528481019084860184860187018a1015613824578788fd5b8795505b8386101561384d57613839816135f7565b835260019590950194918601918601613828565b5098975050505050505050565b60006020828403121561386b578081fd5b8151611a5a81613cdb565b600060208284031215613887578081fd5b5035919050565b600080604083850312156138a0578182fd5b82359150613651602084016135f7565b600080604083850312156138c2578182fd5b50508035926020909101359150565b6000602082840312156138e2578081fd5b8135611a5a81613ce9565b6000602082840312156138fe578081fd5b8151611a5a81613ce9565b60006020828403121561391a578081fd5b5051919050565b60008151808452613939816020860160208601613bac565b601f01601f19169290920160200192915050565b6000835161395f818460208801613bac565b835190830190613973818360208801613bac565b01949350505050565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516139b4816017850160208801613bac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516139e5816028840160208801613bac565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a2490830184613921565b9695505050505050565b600060208252611a5a6020830184613921565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613b4257613b42613cc5565b604052919050565b60008219821115613b5d57613b5d613c99565b500190565b600082613b7157613b71613caf565b500490565b6000816000190483118215151615613b9057613b90613c99565b500290565b600082821015613ba757613ba7613c99565b500390565b60005b83811015613bc7578181015183820152602001613baf565b838111156112d05750506000910152565b600061ffff821680613bec57613bec613c99565b6000190192915050565b600081613c0557613c05613c99565b506000190190565b600281046001821680613c2157607f821691505b60208210811415613c4257634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613c6057613c60613c99565b6001019392505050565b6000600019821415613c7e57613c7e613c99565b5060010190565b600082613c9457613c94613caf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146114ed57600080fd5b6001600160e01b0319811681146114ed57600080fdfea2646970667358221220b5953ede1654e402eb5aed6eb6b6718510a40509f8610ad98f4180f9b6c1491e64736f6c6343000802003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000052a8845df664d76c69d2eea607cd793565af42b80000000000000000000000000000000000000000000000000000000062270d0000000000000000000000000000000000000000000000000000000000622b0180000000000000000000000000000000000000000000000000000000000000001141706558205072656461746f72204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008415045582d505244000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f617065782e6d7970696e6174612e636c6f75642f697066732f516d636343673643336261614a6d6f41796a4d5977797a3856546175654c37504b78383250544b625637726461362f00000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103975760003560e01c8063715018a6116101dc578063c38f761711610102578063e63ab1e9116100a0578063f2fde38b1161006f578063f2fde38b14610aac578063fb9bf56a14610acc578063fc0c546a14610aec578063ffa6d07414610b0c57610397565b8063e63ab1e9146109f9578063e985e9c514610a2d578063eb97755614610a76578063ed835b3114610a9657610397565b8063ca15c873116100dc578063ca15c87314610955578063d539139314610975578063d547741f146109a9578063da9425e2146109c957610397565b8063c38f7617146108f1578063c87b56dd1461091f578063c9af9c741461093f57610397565b8063a035b1fe1161017a578063a5721d1511610149578063a5721d151461087b578063af640d0f1461089b578063b863bd37146108b1578063b88d4fde146108d157610397565b8063a035b1fe1461080a578063a0397f8514610826578063a217fddf14610846578063a22cb4651461085b57610397565b80639010d07c116101b65780639010d07c1461079557806391d14854146107b557806395d89b41146107d55780639e34070f146107ea57610397565b8063715018a61461074d5780638456cb59146107625780638da5cb5b1461077757610397565b806336568abe116102c157806348bd1f671161025f5780636352211e1161022e5780636352211e146106cd578063690d8320146106ed5780636a6278421461070d57806370a082311461072d57610397565b806348bd1f67146106605780634f6ccce71461067557806357d1b31b146106955780635c975abb146106b557610397565b806342842e0e1161029b57806342842e0e146105f457806342966c68146106145780634411b3eb14610634578063474b21c51461064a57610397565b806336568abe146105a95780633c3c9c23146105c95780633f4ba83a146105df57610397565b80631faf61ad11610339578063292f453a11610308578063292f453a1461051f5780632c0c968a146105495780632f2ff15d146105695780632f745c591461058957610397565b80631faf61ad146104a657806320f07d93146104b957806323b872dd146104cf578063248a9ca3146104ef57610397565b8063095ea7b311610375578063095ea7b31461042b57806313c739a01461044d57806315b327b71461047157806318160ddd1461049157610397565b806301ffc9a71461039c57806306fdde03146103d1578063081812fc146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046138d1565b610b2c565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610b3f565b6040516103c89190613a2e565b3480156103ff57600080fd5b5061041361040e366004613876565b610bd1565b6040516001600160a01b0390911681526020016103c8565b34801561043757600080fd5b5061044b610446366004613783565b610c6b565b005b34801561045957600080fd5b5061046360125481565b6040519081526020016103c8565b34801561047d57600080fd5b5061044b61048c366004613876565b610d81565b34801561049d57600080fd5b50600a54610463565b61044b6104b4366004613876565b610e0b565b3480156104c557600080fd5b5061046360105481565b3480156104db57600080fd5b5061044b6104ea36600461365a565b61108e565b3480156104fb57600080fd5b5061046361050a366004613876565b60009081526020819052604090206001015490565b34801561052b57600080fd5b506105346110c0565b604080519283526020830191909152016103c8565b34801561055557600080fd5b5061044b610564366004613876565b6110d4565b34801561057557600080fd5b5061044b61058436600461388e565b6112d6565b34801561059557600080fd5b506104636105a4366004613783565b6112f8565b3480156105b557600080fd5b5061044b6105c436600461388e565b611391565b3480156105d557600080fd5b5061046360175481565b3480156105eb57600080fd5b5061044b6113b3565b34801561060057600080fd5b5061044b61060f36600461365a565b61145b565b34801561062057600080fd5b5061044b61062f366004613876565b611476565b34801561064057600080fd5b506104636111d081565b34801561065657600080fd5b5061046360135481565b34801561066c57600080fd5b5061044b6114f0565b34801561068157600080fd5b50610463610690366004613876565b611528565b3480156106a157600080fd5b506103bc6106b036600461365a565b6115c9565b3480156106c157600080fd5b50600c5460ff166103bc565b3480156106d957600080fd5b506104136106e8366004613876565b61174d565b3480156106f957600080fd5b5061044b61070836600461360e565b6117c4565b34801561071957600080fd5b5061044b61072836600461360e565b611827565b34801561073957600080fd5b5061046361074836600461360e565b6118e3565b34801561075957600080fd5b5061044b61196a565b34801561076e57600080fd5b5061044b61199e565b34801561078357600080fd5b50600f546001600160a01b0316610413565b3480156107a157600080fd5b506104136107b03660046138b0565b611a42565b3480156107c157600080fd5b506103bc6107d036600461388e565b611a61565b3480156107e157600080fd5b506103e6611a8a565b3480156107f657600080fd5b506103bc610805366004613876565b611a99565b34801561081657600080fd5b5061046367063eb89da4ed000081565b34801561083257600080fd5b5061044b6108413660046137ac565b611ada565b34801561085257600080fd5b50610463600081565b34801561086757600080fd5b5061044b61087636600461374d565b611c4b565b34801561088757600080fd5b5061044b610896366004613876565b611d1d565b3480156108a757600080fd5b5061046360155481565b3480156108bd57600080fd5b506104636108cc366004613876565b611db4565b3480156108dd57600080fd5b5061044b6108ec366004613695565b611e00565b3480156108fd57600080fd5b5060195461090c9061ffff1681565b60405161ffff90911681526020016103c8565b34801561092b57600080fd5b506103e661093a366004613876565b611e32565b34801561094b57600080fd5b5061046360145481565b34801561096157600080fd5b50610463610970366004613876565b611f0c565b34801561098157600080fd5b506104637f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b3480156109b557600080fd5b5061044b6109c436600461388e565b611f23565b3480156109d557600080fd5b506103bc6109e436600461360e565b60186020526000908152604090205460ff1681565b348015610a0557600080fd5b506104637f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b348015610a3957600080fd5b506103bc610a48366004613628565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a8257600080fd5b506019546103bc9062010000900460ff1681565b348015610aa257600080fd5b5061046360115481565b348015610ab857600080fd5b5061044b610ac736600461360e565b611f2d565b348015610ad857600080fd5b5061044b610ae73660046137ac565b611fc5565b348015610af857600080fd5b50601654610413906001600160a01b031681565b348015610b1857600080fd5b5061044b610b27366004613876565b61212d565b6000610b3782612306565b90505b919050565b606060028054610b4e90613c0d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7a90613c0d565b8015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610c4f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c768261174d565b9050806001600160a01b0316836001600160a01b03161415610ce45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c46565b336001600160a01b0382161480610d005750610d008133610a48565b610d725760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c46565b610d7c838361232b565b505050565b600f546001600160a01b03163314610dab5760405162461bcd60e51b8152600401610c4690613a93565b428111610e065760405162461bcd60e51b815260206004820152602360248201527f4e46545f53544152545f54494d455f4d5553545f4249474745525f5448414e5f6044820152624e4f5760e81b6064820152608401610c46565b601255565b67063eb89da4ed00003414610e545760405162461bcd60e51b815260206004820152600f60248201526e0ecc2d8eaca40dcdee840dac2e8c6d608b1b6044820152606401610c46565b67063eb89da4ed0000601754610e6a9190613b4a565b6017556000610e7882611db4565b90506000610e8582612399565b9050610e9133826123d9565b610e9a81612527565b60405181815233907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859060200160405180910390a2601354421115610f175760405162461bcd60e51b815260206004820152601360248201527211d0535157d254d7d053149150511657d15391606a1b6044820152606401610c46565b601254421015610f5d5760405162461bcd60e51b815260206004820152601160248201527023a0a6a2afa4a9afa727aa2fa122a3a4a760791b6044820152606401610c46565b60158054906000610f6d83613c6a565b909155505060148054906000610f8283613c6a565b91905055506111d06014541115610fc65760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610c46565b60195462010000900460ff1615610d7c57601954610fea9061ffff166111d0613b95565b601454111561102d5760405162461bcd60e51b815260206004820152600f60248201526e14d3d31117d3d55517d393d4935053608a1b6044820152606401610c46565b3360009081526018602052604090205460ff1615610d7c57336000908152601860205260408120805460ff191690556019805461ffff169161106e83613bd8565b91906101000a81548161ffff021916908361ffff16021790555050505050565b611099335b82612565565b6110b55760405162461bcd60e51b8152600401610c4690613ac8565b610d7c83838361265c565b6000806110cb612807565b915091505b9091565b601454806111115760405162461bcd60e51b815260206004820152600a60248201526910531317d0955493915160b21b6044820152606401610c46565b3361111b8361174d565b6001600160a01b0316146111605760405162461bcd60e51b815260206004820152600c60248201526b4e4f5f415554484f5249545960a01b6044820152606401610c46565b6011541580159061117357506011544210155b6111b35760405162461bcd60e51b815260206004820152601160248201527023a0a6a2afa4a9afa727aa2fa122a3a4a760791b6044820152606401610c46565b6111bc8261296d565b6000806111c7612807565b9150915060018311156111fa5780685150ae84a8cdf000006010546111ec9190613b4a565b6111f69190613b95565b6010555b611205600184613b95565b601455604080518581526020810184905233917f254cba6bcaacd15ef1bba85e06c1d71c8cf7a3e036ad089903ba04bad25aaccc910160405180910390a260165460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561128f57600080fd5b505af11580156112a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c7919061385a565b6112d057600080fd5b50505050565b6112e08282612a14565b6000828152600160205260409020610d7c90826121c2565b6000611303836118e3565b82106113655760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c46565b506001600160a01b03821660009081526008602090815260408083208484529091529020545b92915050565b61139b8282612a3b565b6000828152600160205260409020610d7c9082612ab5565b6113dd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336107d0565b611451576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610c46565b611459612aca565b565b610d7c83838360405180602001604052806000815250611e00565b61147f33611093565b6114e45760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610c46565b6114ed8161296d565b50565b600f546001600160a01b0316331461151a5760405162461bcd60e51b8152600401610c4690613a93565b6019805462ff000019169055565b6000611533600a5490565b82106115965760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c46565b600a82815481106115b757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600f546000906001600160a01b031633146115f65760405162461bcd60e51b8152600401610c4690613a93565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a082319060240160206040518083038186803b15801561163857600080fd5b505afa15801561164c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116709190613909565b9050828110156116b75760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f42414c414e434560701b6044820152606401610c46565b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb90604401602060405180830381600087803b15801561170157600080fd5b505af1158015611715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611739919061385a565b61174257600080fd5b506001949350505050565b6000818152600460205260408120546001600160a01b031680610b375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c46565b600f546001600160a01b031633146117ee5760405162461bcd60e51b8152600401610c4690613a93565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611823573d6000803e3d6000fd5b5050565b6118517f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336107d0565b6118c35760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610c46565b6118d5816118d0600d5490565b6123d9565b6114ed600d80546001019055565b60006001600160a01b03821661194e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c46565b506001600160a01b031660009081526005602052604090205490565b600f546001600160a01b031633146119945760405162461bcd60e51b8152600401610c4690613a93565b6114596000612b5d565b6119c87f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336107d0565b611a3a5760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610c46565b611459612baf565b6000828152600160205260408120611a5a9083612c2a565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060038054610b4e90613c0d565b600080611aa861010084613b62565b90506000611ab861010085613c85565b6000928352601a602052604090922054600190921b9182169091149392505050565b600f546001600160a01b03163314611b045760405162461bcd60e51b8152600401610c4690613a93565b6013544210611b495760405162461bcd60e51b815260206004820152601160248201527013919517d4d0531157d512535157d15391607a1b6044820152606401610c46565b60005b81518161ffff1610156118235760186000838361ffff1681518110611b8157634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16611c3957600160186000848461ffff1681518110611bd657634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff1916921515929092179091556019805461ffff1691611c1d83613c48565b91906101000a81548161ffff021916908361ffff160217905550505b80611c4381613c48565b915050611b4c565b6001600160a01b038216331415611ca45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c46565b3360008181526007602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d11911515815260200190565b60405180910390a35050565b600f546001600160a01b03163314611d475760405162461bcd60e51b8152600401610c4690613a93565b6013548111611daf5760405162461bcd60e51b815260206004820152602e60248201527f53515549445f53544152545f54494d455f4d5553545f4249474745525f54484160448201526d4e5f4e46545f454e445f54494d4560901b6064820152608401610c46565b601155565b604080514260208201524391810182905260608101839052904060808201526000906111d09060a0016040516020818303038152906040528051906020012060001c610b379190613c85565b611e0a3383612565565b611e265760405162461bcd60e51b8152600401610c4690613ac8565b6112d084848484612c36565b6000818152600460205260409020546060906001600160a01b0316611eb15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c46565b6000611ebb612c69565b90506000815111611edb5760405180602001604052806000815250611a5a565b80611ee584612c78565b604051602001611ef692919061394d565b6040516020818303038152906040529392505050565b6000818152600160205260408120610b3790612d93565b61139b8282612d9d565b600f546001600160a01b03163314611f575760405162461bcd60e51b8152600401610c4690613a93565b6001600160a01b038116611fbc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c46565b6114ed81612b5d565b600f546001600160a01b03163314611fef5760405162461bcd60e51b8152600401610c4690613a93565b60135442106120345760405162461bcd60e51b815260206004820152601160248201527013919517d4d0531157d512535157d15391607a1b6044820152606401610c46565b60005b81518161ffff1610156118235760186000838361ffff168151811061206c57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff161561211b5760186000838361ffff16815181106120c057634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff191690556019805461ffff16916120ff83613bd8565b91906101000a81548161ffff021916908361ffff160217905550505b8061212581613c48565b915050612037565b600f546001600160a01b031633146121575760405162461bcd60e51b8152600401610c4690613a93565b60125481116121b35760405162461bcd60e51b815260206004820152602260248201527f4e46545f454e445f54494d455f4d5553545f41465445525f53544152545f54496044820152614d4560f01b6064820152608401610c46565b601355565b6118238282612dc3565b6000611a5a836001600160a01b038416612e47565b6121e2838383612249565b600c5460ff1615610d7c5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610c46565b6001600160a01b0383166122a45761229f81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6122c7565b816001600160a01b0316836001600160a01b0316146122c7576122c78382612e96565b6001600160a01b0382166122e3576122de81612f33565b610d7c565b826001600160a01b0316826001600160a01b031614610d7c57610d7c828261300c565b60006001600160e01b0319821663780e9d6360e01b1480610b375750610b3782613050565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123608261174d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b6123a582611a99565b156123d557816123b481613c6a565b9250506111d08214156123d0576123cd6111d083613c85565b91505b61239c565b5090565b6001600160a01b03821661242f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c46565b6000818152600460205260409020546001600160a01b0316156124945760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c46565b6124a060008383613090565b6001600160a01b03821660009081526005602052604081208054600192906124c9908490613b4a565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061253561010083613b62565b9050600061254561010084613c85565b6000928352601a60205260409092208054600190931b9092179091555050565b6000818152600460205260408120546001600160a01b03166125de5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c46565b60006125e98361174d565b9050806001600160a01b0316846001600160a01b031614806126245750836001600160a01b031661261984610bd1565b6001600160a01b0316145b8061265457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661266f8261174d565b6001600160a01b0316146126d75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c46565b6001600160a01b0382166127395760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c46565b612744838383613090565b61274f60008261232b565b6001600160a01b0383166000908152600560205260408120805460019290612778908490613b95565b90915550506001600160a01b03821660009081526005602052604081208054600192906127a6908490613b4a565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080600062ed4e0060115461281d9190613b4a565b905042600082821061283b576011546128369084613b95565b612848565b6011546128489083613b95565b9050601454600114156128a457601054612874685150ae84a8cdf0000068a2a15d09519be00000613b4a565b61287e9190613b4a565b945084601054685150ae84a8cdf000006128989190613b4a565b945094505050506110d0565b6014546064906128b5602883613b95565b6010546128c29190613b76565b6128cc9190613b62565b62ed4e006128dc60286064613b95565b6128ef685150ae84a8cdf0000086613b76565b6128f99190613b76565b6129039190613b62565b61290d9190613b4a565b6129179190613b62565b9350685150ae84a8cdf000006010546129309190613b4a565b84111561295157685150ae84a8cdf0000060105461294e9190613b4a565b93505b6129648468a2a15d09519be00000613b4a565b94505050509091565b60006129788261174d565b905061298681600084613090565b61299160008361232b565b6001600160a01b03811660009081526005602052604081208054600192906129ba908490613b95565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600082815260208190526040902060010154612a3181335b61309b565b610d7c8383612dc3565b6001600160a01b0381163314612aab5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c46565b61182382826130ff565b6000611a5a836001600160a01b038416613164565b600c5460ff16612b135760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c46565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff1615612bf55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c46565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b403390565b6000611a5a8383613281565b612c4184848461265c565b612c4d848484846132b9565b6112d05760405162461bcd60e51b8152600401610c4690613a41565b6060600e8054610b4e90613c0d565b606081612c9d57506040805180820190915260018152600360fc1b6020820152610b3a565b8160005b8115612cc75780612cb181613c6a565b9150612cc09050600a83613b62565b9150612ca1565b60008167ffffffffffffffff811115612cf057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d1a576020820181803683370190505b5090505b841561265457612d2f600183613b95565b9150612d3c600a86613c85565b612d47906030613b4a565b60f81b818381518110612d6a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d8c600a86613b62565b9450612d1e565b6000610b37825490565b600082815260208190526040902060010154612db98133612a2c565b610d7c83836130ff565b612dcd8282611a61565b611823576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612e033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054612e8e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561138b565b50600061138b565b60006001612ea3846118e3565b612ead9190613b95565b600083815260096020526040902054909150808214612f00576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612f4590600190613b95565b6000838152600b6020526040812054600a8054939450909284908110612f7b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a8381548110612faa57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612ff057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613017836118e3565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b148061308157506001600160e01b03198216635b5e139f60e01b145b80610b375750610b37826133bb565b610d7c8383836121d7565b6130a58282611a61565b611823576130bd816001600160a01b031660146133e0565b6130c88360206133e0565b6040516020016130d992919061397c565b60408051601f198184030181529082905262461bcd60e51b8252610c4691600401613a2e565b6131098282611a61565b15611823576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015613277576000613188600183613b95565b855490915060009061319c90600190613b95565b905081811461321d5760008660000182815481106131ca57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106131fb57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061323c57634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061138b565b600091505061138b565b60008260000182815481106132a657634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006001600160a01b0384163b1561174257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906132fd9033908990889088906004016139f1565b602060405180830381600087803b15801561331757600080fd5b505af1925050508015613347575060408051601f3d908101601f19168201909252613344918101906138ed565b60015b6133a1573d808015613375576040519150601f19603f3d011682016040523d82523d6000602084013e61337a565b606091505b5080516133995760405162461bcd60e51b8152600401610c4690613a41565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612654565b60006001600160e01b03198216635a05180f60e01b1480610b375750610b37826135c2565b606060006133ef836002613b76565b6133fa906002613b4a565b67ffffffffffffffff81111561342057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561344a576020820181803683370190505b509050600360fc1b8160008151811061347357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106134b057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006134d4846002613b76565b6134df906001613b4a565b90505b6001811115613573576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061352157634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061354557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361356c81613bf6565b90506134e2565b508315611a5a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c46565b60006001600160e01b03198216637965db0b60e01b1480610b3757506301ffc9a760e01b6001600160e01b0319831614610b37565b80356001600160a01b0381168114610b3a57600080fd5b60006020828403121561361f578081fd5b611a5a826135f7565b6000806040838503121561363a578081fd5b613643836135f7565b9150613651602084016135f7565b90509250929050565b60008060006060848603121561366e578081fd5b613677846135f7565b9250613685602085016135f7565b9150604084013590509250925092565b600080600080608085870312156136aa578081fd5b6136b3856135f7565b935060206136c28187016135f7565b935060408601359250606086013567ffffffffffffffff808211156136e5578384fd5b818801915088601f8301126136f8578384fd5b81358181111561370a5761370a613cc5565b61371c601f8201601f19168501613b19565b91508082528984828501011115613731578485fd5b8084840185840137810190920192909252939692955090935050565b6000806040838503121561375f578182fd5b613768836135f7565b9150602083013561377881613cdb565b809150509250929050565b60008060408385031215613795578182fd5b61379e836135f7565b946020939093013593505050565b600060208083850312156137be578182fd5b823567ffffffffffffffff808211156137d5578384fd5b818501915085601f8301126137e8578384fd5b8135818111156137fa576137fa613cc5565b838102915061380a848301613b19565b8181528481019084860184860187018a1015613824578788fd5b8795505b8386101561384d57613839816135f7565b835260019590950194918601918601613828565b5098975050505050505050565b60006020828403121561386b578081fd5b8151611a5a81613cdb565b600060208284031215613887578081fd5b5035919050565b600080604083850312156138a0578182fd5b82359150613651602084016135f7565b600080604083850312156138c2578182fd5b50508035926020909101359150565b6000602082840312156138e2578081fd5b8135611a5a81613ce9565b6000602082840312156138fe578081fd5b8151611a5a81613ce9565b60006020828403121561391a578081fd5b5051919050565b60008151808452613939816020860160208601613bac565b601f01601f19169290920160200192915050565b6000835161395f818460208801613bac565b835190830190613973818360208801613bac565b01949350505050565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516139b4816017850160208801613bac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516139e5816028840160208801613bac565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a2490830184613921565b9695505050505050565b600060208252611a5a6020830184613921565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613b4257613b42613cc5565b604052919050565b60008219821115613b5d57613b5d613c99565b500190565b600082613b7157613b71613caf565b500490565b6000816000190483118215151615613b9057613b90613c99565b500290565b600082821015613ba757613ba7613c99565b500390565b60005b83811015613bc7578181015183820152602001613baf565b838111156112d05750506000910152565b600061ffff821680613bec57613bec613c99565b6000190192915050565b600081613c0557613c05613c99565b506000190190565b600281046001821680613c2157607f821691505b60208210811415613c4257634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613c6057613c60613c99565b6001019392505050565b6000600019821415613c7e57613c7e613c99565b5060010190565b600082613c9457613c94613caf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146114ed57600080fd5b6001600160e01b0319811681146114ed57600080fdfea2646970667358221220b5953ede1654e402eb5aed6eb6b6718510a40509f8610ad98f4180f9b6c1491e64736f6c63430008020033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000052a8845df664d76c69d2eea607cd793565af42b80000000000000000000000000000000000000000000000000000000062270d0000000000000000000000000000000000000000000000000000000000622b0180000000000000000000000000000000000000000000000000000000000000001141706558205072656461746f72204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008415045582d505244000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f617065782e6d7970696e6174612e636c6f75642f697066732f516d636343673643336261614a6d6f41796a4d5977797a3856546175654c37504b78383250544b625637726461362f00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): ApeX Predator NFT
Arg [1] : _symbol (string): APEX-PRD
Arg [2] : _baseTokenURI (string): https://apex.mypinata.cloud/ipfs/QmccCg6C3baaJmoAyjMYwyz8VTaueL7PKx82PTKbV7rda6/
Arg [3] : _token (address): 0x52A8845DF664D76C69d2EEa607CD793565aF42B8
Arg [4] : _nftStartTime (uint256): 1646726400
Arg [5] : _nftEndTime (uint256): 1646985600

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000052a8845df664d76c69d2eea607cd793565af42b8
Arg [4] : 0000000000000000000000000000000000000000000000000000000062270d00
Arg [5] : 00000000000000000000000000000000000000000000000000000000622b0180
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [7] : 41706558205072656461746f72204e4654000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 415045582d505244000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [11] : 68747470733a2f2f617065782e6d7970696e6174612e636c6f75642f69706673
Arg [12] : 2f516d636343673643336261614a6d6f41796a4d5977797a3856546175654c37
Arg [13] : 504b78383250544b625637726461362f00000000000000000000000000000000


Deployed Bytecode Sourcemap

80229:7596:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79894:254;;;;;;;;;;-1:-1:-1;79894:254:0;;;;;:::i;:::-;;:::i;:::-;;;8615:14:1;;8608:22;8590:41;;8578:2;8563:18;79894:254:0;;;;;;;;56226:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57785:221::-;;;;;;;;;;-1:-1:-1;57785:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7634:32:1;;;7616:51;;7604:2;7589:18;57785:221:0;7571:102:1;57308:411:0;;;;;;;;;;-1:-1:-1;57308:411:0;;;;;:::i;:::-;;:::i;:::-;;80755:27;;;;;;;;;;;;;;;;;;;8788:25:1;;;8776:2;8761:18;80755:27:0;8743:76:1;82984:216:0;;;;;;;;;;-1:-1:-1;82984:216:0;;;;;:::i;:::-;;:::i;70564:113::-;;;;;;;;;;-1:-1:-1;70652:10:0;:17;70564:113;;83459:862;;;;;;:::i;:::-;;:::i;80686:26::-;;;;;;;;;;;;;;;;58675:339;;;;;;;;;;-1:-1:-1;58675:339:0;;;;;:::i;:::-;;:::i;41303:123::-;;;;;;;;;;-1:-1:-1;41303:123:0;;;;;:::i;:::-;41369:7;41396:12;;;;;;;;;;:22;;;;41303:123;86680:153;;;;;;;;;;;;;:::i;:::-;;;;24711:25:1;;;24767:2;24752:18;;24745:34;;;;24684:18;86680:153:0;24666:119:1;84359:704:0;;;;;;;;;;-1:-1:-1;84359:704:0;;;;;:::i;:::-;;:::i;46365:196::-;;;;;;;;;;-1:-1:-1;46365:196:0;;;;;:::i;:::-;;:::i;70232:256::-;;;;;;;;;;-1:-1:-1;70232:256:0;;;;;:::i;:::-;;:::i;46950:205::-;;;;;;;;;;-1:-1:-1;46950:205:0;;;;;:::i;:::-;;:::i;80959:23::-;;;;;;;;;;;;;;;;79390:185;;;;;;;;;;;;;:::i;59085:::-;;;;;;;;;;-1:-1:-1;59085:185:0;;;;;:::i;:::-;;:::i;68742:245::-;;;;;;;;;;-1:-1:-1;68742:245:0;;;;;:::i;:::-;;:::i;80857:42::-;;;;;;;;;;;;80895:4;80857:42;;80789:25;;;;;;;;;;;;;;;;81919:82;;;;;;;;;;;;;:::i;70754:233::-;;;;;;;;;;-1:-1:-1;70754:233:0;;;;;:::i;:::-;;:::i;86354:318::-;;;;;;;;;;-1:-1:-1;86354:318:0;;;;;:::i;:::-;;:::i;25321:86::-;;;;;;;;;;-1:-1:-1;25392:7:0;;;;25321:86;;55920:239;;;;;;;;;;-1:-1:-1;55920:239:0;;;;;:::i;:::-;;:::i;86232:114::-;;;;;;;;;;-1:-1:-1;86232:114:0;;;;;:::i;:::-;;:::i;78370:407::-;;;;;;;;;;-1:-1:-1;78370:407:0;;;;;:::i;:::-;;:::i;55650:208::-;;;;;;;;;;-1:-1:-1;55650:208:0;;;;;:::i;:::-;;:::i;23618:94::-;;;;;;;;;;;;;:::i;78992:179::-;;;;;;;;;;;;;:::i;22967:87::-;;;;;;;;;;-1:-1:-1;23040:6:0;;-1:-1:-1;;;;;23040:6:0;22967:87;;45820:145;;;;;;;;;;-1:-1:-1;45820:145:0;;;;;:::i;:::-;;:::i;40188:139::-;;;;;;;;;;-1:-1:-1;40188:139:0;;;;;:::i;:::-;;:::i;56395:104::-;;;;;;;;;;;;;:::i;85644:322::-;;;;;;;;;;-1:-1:-1;85644:322:0;;;;;:::i;:::-;;:::i;80570:42::-;;;;;;;;;;;;80602:10;80570:42;;82009:336;;;;;;;;;;-1:-1:-1;82009:336:0;;;;;:::i;:::-;;:::i;39279:49::-;;;;;;;;;;-1:-1:-1;39279:49:0;39324:4;39279:49;;58078:295;;;;;;;;;;-1:-1:-1;58078:295:0;;;;;:::i;:::-;;:::i;82743:232::-;;;;;;;;;;-1:-1:-1;82743:232:0;;;;;:::i;:::-;;:::i;80908:17::-;;;;;;;;;;;;;;;;85071:232;;;;;;;;;;-1:-1:-1;85071:232:0;;;;;:::i;:::-;;:::i;59341:328::-;;;;;;;;;;-1:-1:-1;59341:328:0;;;;;:::i;:::-;;:::i;81118:27::-;;;;;;;;;;-1:-1:-1;81118:27:0;;;;;;;;;;;24336:6:1;24324:19;;;24306:38;;24294:2;24279:18;81118:27:0;24261:89:1;56570:334:0;;;;;;;;;;-1:-1:-1;56570:334:0;;;;;:::i;:::-;;:::i;80823:27::-;;;;;;;;;;;;;;;;46139:134;;;;;;;;;;-1:-1:-1;46139:134:0;;;;;:::i;:::-;;:::i;77033:62::-;;;;;;;;;;;;77071:24;77033:62;;46654:201;;;;;;;;;;-1:-1:-1;46654:201:0;;;;;:::i;:::-;;:::i;81030:40::-;;;;;;;;;;-1:-1:-1;81030:40:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;77102:62;;;;;;;;;;;;77140:24;77102:62;;58444:164;;;;;;;;;;-1:-1:-1;58444:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;58565:25:0;;;58541:4;58565:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58444:164;81216:29;;;;;;;;;;-1:-1:-1;81216:29:0;;;;;;;;;;;80719;;;;;;;;;;;;;;;;23867:192;;;;;;;;;;-1:-1:-1;23867:192:0;;;;;:::i;:::-;;:::i;82353:340::-;;;;;;;;;;-1:-1:-1;82353:340:0;;;;;:::i;:::-;;:::i;80932:20::-;;;;;;;;;;-1:-1:-1;80932:20:0;;;;-1:-1:-1;;;;;80932:20:0;;;83209:202;;;;;;;;;;-1:-1:-1;83209:202:0;;;;;:::i;:::-;;:::i;79894:254::-;80075:4;80104:36;80128:11;80104:23;:36::i;:::-;80097:43;;79894:254;;;;:::o;56226:100::-;56280:13;56313:5;56306:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56226:100;:::o;57785:221::-;57861:7;61268:16;;;:7;:16;;;;;;-1:-1:-1;;;;;61268:16:0;57881:73;;;;-1:-1:-1;;;57881:73:0;;17990:2:1;57881:73:0;;;17972:21:1;18029:2;18009:18;;;18002:30;18068:34;18048:18;;;18041:62;-1:-1:-1;;;18119:18:1;;;18112:42;18171:19;;57881:73:0;;;;;;;;;-1:-1:-1;57974:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;57974:24:0;;57785:221::o;57308:411::-;57389:13;57405:23;57420:7;57405:14;:23::i;:::-;57389:39;;57453:5;-1:-1:-1;;;;;57447:11:0;:2;-1:-1:-1;;;;;57447:11:0;;;57439:57;;;;-1:-1:-1;;;57439:57:0;;20673:2:1;57439:57:0;;;20655:21:1;20712:2;20692:18;;;20685:30;20751:34;20731:18;;;20724:62;-1:-1:-1;;;20802:18:1;;;20795:31;20843:19;;57439:57:0;20645:223:1;57439:57:0;21835:10;-1:-1:-1;;;;;57531:21:0;;;;:62;;-1:-1:-1;57556:37:0;57573:5;21835:10;57580:12;21755:98;57556:37;57509:168;;;;-1:-1:-1;;;57509:168:0;;16047:2:1;57509:168:0;;;16029:21:1;16086:2;16066:18;;;16059:30;16125:34;16105:18;;;16098:62;16196:26;16176:18;;;16169:54;16240:19;;57509:168:0;16019:246:1;57509:168:0;57690:21;57699:2;57703:7;57690:8;:21::i;:::-;57308:411;;;:::o;82984:216::-;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;83086:15:::1;83070:13;:31;83062:79;;;::::0;-1:-1:-1;;;83062:79:0;;12657:2:1;83062:79:0::1;::::0;::::1;12639:21:1::0;12696:2;12676:18;;;12669:30;12735:34;12715:18;;;12708:62;-1:-1:-1;;;12786:18:1;;;12779:33;12829:19;;83062:79:0::1;12629:225:1::0;83062:79:0::1;83152:12;:28:::0;82984:216::o;83459:862::-;80602:10;83535:9;:18;83527:46;;;;-1:-1:-1;;;83527:46:0;;10023:2:1;83527:46:0;;;10005:21:1;10062:2;10042:18;;;10035:30;-1:-1:-1;;;10081:18:1;;;10074:45;10136:18;;83527:46:0;9995:165:1;83527:46:0;80602:10;83595:8;;:16;;;;:::i;:::-;83584:8;:27;83622:15;83640:16;83647:8;83640:6;:16::i;:::-;83622:34;;83667:12;83682:24;83698:7;83682:15;:24::i;:::-;83667:39;;83717:23;83723:10;83735:4;83717:5;:23::i;:::-;83751:17;83763:4;83751:11;:17::i;:::-;83784:22;;8788:25:1;;;83789:10:0;;83784:22;;8776:2:1;8761:18;83784:22:0;;;;;;;83844:10;;83825:15;:29;;83817:63;;;;-1:-1:-1;;;83817:63:0;;15010:2:1;83817:63:0;;;14992:21:1;15049:2;15029:18;;;15022:30;-1:-1:-1;;;15068:18:1;;;15061:49;15127:18;;83817:63:0;14982:169:1;83817:63:0;83918:12;;83899:15;:31;;83891:63;;;;-1:-1:-1;;;83891:63:0;;13492:2:1;83891:63:0;;;13474:21:1;13531:2;13511:18;;;13504:30;-1:-1:-1;;;13550:18:1;;;13543:47;13607:18;;83891:63:0;13464:167:1;83891:63:0;83965:2;:4;;;:2;:4;;;:::i;:::-;;;;-1:-1:-1;;83980:12:0;:14;;;:12;:14;;;:::i;:::-;;;;;;80895:4;84013:12;;:27;;84005:48;;;;-1:-1:-1;;;84005:48:0;;17293:2:1;84005:48:0;;;17275:21:1;17332:1;17312:18;;;17305:29;-1:-1:-1;;;17350:18:1;;;17343:38;17398:18;;84005:48:0;17265:157:1;84005:48:0;84068:10;;;;;;;84064:250;;;84133:13;;84119:27;;84133:13;;80895:4;84119:27;:::i;:::-;84103:12;;:43;;84095:71;;;;-1:-1:-1;;;84095:71:0;;15358:2:1;84095:71:0;;;15340:21:1;15397:2;15377:18;;;15370:30;-1:-1:-1;;;15416:18:1;;;15409:45;15471:18;;84095:71:0;15330:165:1;84095:71:0;84194:10;84185:20;;;;:8;:20;;;;;;;;84181:122;;;84242:10;84233:20;;;;:8;:20;;;;;84226:27;;-1:-1:-1;;84226:27:0;;;84272:13;:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;83459:862;;;:::o;58675:339::-;58870:41;21835:10;58889:12;58903:7;58870:18;:41::i;:::-;58862:103;;;;-1:-1:-1;;;58862:103:0;;;;;;;:::i;:::-;58978:28;58988:4;58994:2;58998:7;58978:9;:28::i;86680:153::-;86740:22;86764:13;86797:28;:26;:28::i;:::-;86790:35;;;;86680:153;;;:::o;84359:704::-;84441:12;;84472:17;84464:40;;;;-1:-1:-1;;;84464:40:0;;18764:2:1;84464:40:0;;;18746:21:1;18803:2;18783:18;;;18776:30;-1:-1:-1;;;18822:18:1;;;18815:40;18872:18;;84464:40:0;18736:160:1;84464:40:0;84543:10;84523:16;84531:7;84523;:16::i;:::-;-1:-1:-1;;;;;84523:30:0;;84515:55;;;;-1:-1:-1;;;84515:55:0;;19929:2:1;84515:55:0;;;19911:21:1;19968:2;19948:18;;;19941:30;-1:-1:-1;;;19987:18:1;;;19980:42;20039:18;;84515:55:0;19901:162:1;84515:55:0;84589:14;;:19;;;;:56;;;84631:14;;84612:15;:33;;84589:56;84581:86;;;;-1:-1:-1;;;84581:86:0;;13492:2:1;84581:86:0;;;13474:21:1;13531:2;13511:18;;;13504:30;-1:-1:-1;;;13550:18:1;;;13543:47;13607:18;;84581:86:0;13464:167:1;84581:86:0;84678:14;84684:7;84678:5;:14::i;:::-;84704:22;84728:13;84745:28;:26;:28::i;:::-;84703:70;;;;84806:1;84790:13;:17;84786:98;;;84867:5;80490:13;84838:11;;:26;;;;:::i;:::-;:34;;;;:::i;:::-;84824:11;:48;84786:98;84911:17;84927:1;84911:13;:17;:::i;:::-;84896:12;:32;84944:41;;;24711:25:1;;;24767:2;24752:18;;24745:34;;;84974:10:0;;84944:41;;24684:18:1;84944:41:0;;;;;;;85011:5;;85004:50;;-1:-1:-1;;;85004:50:0;;85027:10;85004:50;;;8345:51:1;8412:18;;;8405:34;;;-1:-1:-1;;;;;85011:5:0;;;;85004:22;;8318:18:1;;85004:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84996:59;;;;;;84359:704;;;;:::o;46365:196::-;46481:30;46497:4;46503:7;46481:15;:30::i;:::-;46522:18;;;;:12;:18;;;;;:31;;46545:7;46522:22;:31::i;70232:256::-;70329:7;70365:23;70382:5;70365:16;:23::i;:::-;70357:5;:31;70349:87;;;;-1:-1:-1;;;70349:87:0;;10716:2:1;70349:87:0;;;10698:21:1;10755:2;10735:18;;;10728:30;10794:34;10774:18;;;10767:62;-1:-1:-1;;;10845:18:1;;;10838:41;10896:19;;70349:87:0;10688:233:1;70349:87:0;-1:-1:-1;;;;;;70454:19:0;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;70232:256;;;;;:::o;46950:205::-;47069:33;47088:4;47094:7;47069:18;:33::i;:::-;47113:18;;;;:12;:18;;;;;:34;;47139:7;47113:25;:34::i;79390:185::-;79443:34;77140:24;21835:10;79464:12;21755:98;79443:34;79435:111;;;;;-1:-1:-1;;;79435:111:0;;23515:2:1;79435:111:0;;;23497:21:1;23534:18;;;23527:30;;;;23593:34;23573:18;;;23566:62;23664:34;23644:18;;;23637:62;23716:19;;79435:111:0;23487:254:1;79435:111:0;79557:10;:8;:10::i;:::-;79390:185::o;59085:::-;59223:39;59240:4;59246:2;59250:7;59223:39;;;;;;;;;;;;:16;:39::i;68742:245::-;68860:41;21835:10;68879:12;21755:98;68860:41;68852:102;;;;-1:-1:-1;;;68852:102:0;;23098:2:1;68852:102:0;;;23080:21:1;23137:2;23117:18;;;23110:30;23176:34;23156:18;;;23149:62;-1:-1:-1;;;23227:18:1;;;23220:46;23283:19;;68852:102:0;23070:238:1;68852:102:0;68965:14;68971:7;68965:5;:14::i;:::-;68742:245;:::o;81919:82::-;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;81975:10:::1;:18:::0;;-1:-1:-1;;81975:18:0::1;::::0;;81919:82::o;70754:233::-;70829:7;70865:30;70652:10;:17;70564:113;;70865:30;70857:5;:38;70849:95;;;;-1:-1:-1;;;70849:95:0;;21493:2:1;70849:95:0;;;21475:21:1;21532:2;21512:18;;;21505:30;21571:34;21551:18;;;21544:62;-1:-1:-1;;;21622:18:1;;;21615:42;21674:19;;70849:95:0;21465:234:1;70849:95:0;70962:10;70973:5;70962:17;;;;;;-1:-1:-1;;;70962:17:0;;;;;;;;;;;;;;;;;70955:24;;70754:233;;;:::o;86354:318::-;23040:6;;86454:4;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;86489:39:::1;::::0;-1:-1:-1;;;86489:39:0;;86522:4:::1;86489:39;::::0;::::1;7616:51:1::0;86471:15:0::1;::::0;-1:-1:-1;;;;;86489:24:0;::::1;::::0;::::1;::::0;7589:18:1;;86489:39:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86471:57;;86558:6;86547:7;:17;;86539:48;;;::::0;-1:-1:-1;;;86539:48:0;;22321:2:1;86539:48:0::1;::::0;::::1;22303:21:1::0;22360:2;22340:18;;;22333:30;-1:-1:-1;;;22379:18:1;;;22372:48;22437:18;;86539:48:0::1;22293:168:1::0;86539:48:0::1;86606:35;::::0;-1:-1:-1;;;86606:35:0;;-1:-1:-1;;;;;8363:32:1;;;86606:35:0::1;::::0;::::1;8345:51:1::0;8412:18;;;8405:34;;;86606:23:0;::::1;::::0;::::1;::::0;8318:18:1;;86606:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86598:44;;;::::0;::::1;;-1:-1:-1::0;86660:4:0::1;::::0;86354:318;-1:-1:-1;;;;86354:318:0:o;55920:239::-;55992:7;56028:16;;;:7;:16;;;;;;-1:-1:-1;;;;;56028:16:0;56063:19;56055:73;;;;-1:-1:-1;;;56055:73:0;;16883:2:1;56055:73:0;;;16865:21:1;16922:2;16902:18;;;16895:30;16961:34;16941:18;;;16934:62;-1:-1:-1;;;17012:18:1;;;17005:39;17061:19;;56055:73:0;16855:231:1;86232:114:0;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;86295:43:::1;::::0;-1:-1:-1;;;;;86295:20:0;::::1;::::0;86316:21:::1;86295:43:::0;::::1;;;::::0;::::1;::::0;;;86316:21;86295:20;:43;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;86232:114:::0;:::o;78370:407::-;78430:34;77071:24;21835:10;78451:12;21755:98;78430:34;78422:108;;;;-1:-1:-1;;;78422:108:0;;22668:2:1;78422:108:0;;;22650:21:1;22707:2;22687:18;;;22680:30;22746:34;22726:18;;;22719:62;22817:31;22797:18;;;22790:59;22866:19;;78422:108:0;22640:251:1;78422:108:0;78695:36;78701:2;78705:25;:15;1873:14;;1781:114;78705:25;78695:5;:36::i;:::-;78742:27;:15;1992:19;;2010:1;1992:19;;;1903:127;55650:208;55722:7;-1:-1:-1;;;;;55750:19:0;;55742:74;;;;-1:-1:-1;;;55742:74:0;;16472:2:1;55742:74:0;;;16454:21:1;16511:2;16491:18;;;16484:30;16550:34;16530:18;;;16523:62;-1:-1:-1;;;16601:18:1;;;16594:40;16651:19;;55742:74:0;16444:232:1;55742:74:0;-1:-1:-1;;;;;;55834:16:0;;;;;:9;:16;;;;;;;55650:208::o;23618:94::-;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;23683:21:::1;23701:1;23683:9;:21::i;78992:179::-:0;79043:34;77140:24;21835:10;79064:12;21755:98;79043:34;79035:109;;;;-1:-1:-1;;;79035:109:0;;13061:2:1;79035:109:0;;;13043:21:1;13100:2;13080:18;;;13073:30;13139:34;13119:18;;;13112:62;13210:32;13190:18;;;13183:60;13260:19;;79035:109:0;13033:252:1;79035:109:0;79155:8;:6;:8::i;45820:145::-;45902:7;45929:18;;;:12;:18;;;;;:28;;45951:5;45929:21;:28::i;:::-;45922:35;45820:145;-1:-1:-1;;;45820:145:0:o;40188:139::-;40266:4;40290:12;;;;;;;;;;;-1:-1:-1;;;;;40290:29:0;;;;;;;;;;;;;;;40188:139::o;56395:104::-;56451:13;56484:7;56477:14;;;;;:::i;85644:322::-;85699:4;;85743:11;85751:3;85743:5;:11;:::i;:::-;85716:38;-1:-1:-1;85765:23:0;85791:11;85799:3;85791:5;:11;:::i;:::-;85813:19;85835:31;;;:13;:31;;;;;;;85893:1;:20;;;85932:18;;;:26;;;;85644:322;-1:-1:-1;;;85644:322:0:o;82009:336::-;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;82111:10:::1;;82093:15;:28;82085:58;;;::::0;-1:-1:-1;;;82085:58:0;;11128:2:1;82085:58:0::1;::::0;::::1;11110:21:1::0;11167:2;11147:18;;;11140:30;-1:-1:-1;;;11186:18:1;;;11179:47;11243:18;;82085:58:0::1;11100:167:1::0;82085:58:0::1;82159:8;82154:184;82177:4;:11;82173:1;:15;;;82154:184;;;82215:8;:17;82224:4;82229:1;82224:7;;;;;;;;-1:-1:-1::0;;;82224:7:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;82215:17:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;82215:17:0;;::::1;;82210:117;;82273:4;82253:8;:17;82262:4;82267:1;82262:7;;;;;;;;-1:-1:-1::0;;;82262:7:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;82253:17:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;82253:17:0;;;:24;;-1:-1:-1;;82253:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;82296:13:::1;:15:::0;;::::1;;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;82210:117;82190:3:::0;::::1;::::0;::::1;:::i;:::-;;;;82154:184;;58078:295:::0;-1:-1:-1;;;;;58181:24:0;;21835:10;58181:24;;58173:62;;;;-1:-1:-1;;;58173:62:0;;14243:2:1;58173:62:0;;;14225:21:1;14282:2;14262:18;;;14255:30;14321:27;14301:18;;;14294:55;14366:18;;58173:62:0;14215:175:1;58173:62:0;21835:10;58248:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;58248:42:0;;;;;;;;;;:53;;-1:-1:-1;;58248:53:0;;;;;;;:42;-1:-1:-1;;;;;58317:48:0;;58356:8;58317:48;;;;8615:14:1;8608:22;8590:41;;8578:2;8563:18;;8545:92;58317:48:0;;;;;;;;58078:295;;:::o;82743:232::-;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;82851:10:::1;;82833:15;:28;82825:87;;;::::0;-1:-1:-1;;;82825:87:0;;21906:2:1;82825:87:0::1;::::0;::::1;21888:21:1::0;21945:2;21925:18;;;21918:30;21984:34;21964:18;;;21957:62;-1:-1:-1;;;22035:18:1;;;22028:44;22089:19;;82825:87:0::1;21878:236:1::0;82825:87:0::1;82923:14;:32:::0;82743:232::o;85071:::-;85184:82;;;85201:15;85184:82;;;7300:19:1;85218:12:0;7335::1;;;7328:28;;;7372:12;;;7365:28;;;85242:23:0;;7409:12:1;;;7402:28;85126:7:0;;80895:4;;7446:13:1;;85184:82:0;;;;;;;;;;;;85174:93;;;;;;85166:102;;:129;;;;:::i;59341:328::-;59516:41;21835:10;59549:7;59516:18;:41::i;:::-;59508:103;;;;-1:-1:-1;;;59508:103:0;;;;;;;:::i;:::-;59622:39;59636:4;59642:2;59646:7;59655:5;59622:13;:39::i;56570:334::-;61244:4;61268:16;;;:7;:16;;;;;;56643:13;;-1:-1:-1;;;;;61268:16:0;56669:76;;;;-1:-1:-1;;;56669:76:0;;19513:2:1;56669:76:0;;;19495:21:1;19552:2;19532:18;;;19525:30;19591:34;19571:18;;;19564:62;-1:-1:-1;;;19642:18:1;;;19635:45;19697:19;;56669:76:0;19485:237:1;56669:76:0;56758:21;56782:10;:8;:10::i;:::-;56758:34;;56834:1;56816:7;56810:21;:25;:86;;;;;;;;;;;;;;;;;56862:7;56871:18;:7;:16;:18::i;:::-;56845:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56803:93;56570:334;-1:-1:-1;;;56570:334:0:o;46139:134::-;46211:7;46238:18;;;:12;:18;;;;;:27;;:25;:27::i;46654:201::-;46771:31;46788:4;46794:7;46771:16;:31::i;23867:192::-;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;23956:22:0;::::1;23948:73;;;::::0;-1:-1:-1;;;23948:73:0;;11893:2:1;23948:73:0::1;::::0;::::1;11875:21:1::0;11932:2;11912:18;;;11905:30;11971:34;11951:18;;;11944:62;-1:-1:-1;;;12022:18:1;;;12015:36;12068:19;;23948:73:0::1;11865:228:1::0;23948:73:0::1;24032:19;24042:8;24032:9;:19::i;82353:340::-:0;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;82460:10:::1;;82442:15;:28;82434:58;;;::::0;-1:-1:-1;;;82434:58:0;;11128:2:1;82434:58:0::1;::::0;::::1;11110:21:1::0;11167:2;11147:18;;;11140:30;-1:-1:-1;;;11186:18:1;;;11179:47;11243:18;;82434:58:0::1;11100:167:1::0;82434:58:0::1;82508:8;82503:183;82526:4;:11;82522:1;:15;;;82503:183;;;82563:8;:17;82572:4;82577:1;82572:7;;;;;;;;-1:-1:-1::0;;;82572:7:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;82563:17:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;82563:17:0;;::::1;;82559:116;;;82608:8;:17;82617:4;82622:1;82617:7;;;;;;;;-1:-1:-1::0;;;82617:7:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;82608:17:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;82608:17:0;;;82601:24;;-1:-1:-1;;82601:24:0::1;::::0;;82644:13:::1;:15:::0;;::::1;;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;82559:116;82539:3:::0;::::1;::::0;::::1;:::i;:::-;;;;82503:183;;83209:202:::0;23040:6;;-1:-1:-1;;;;;23040:6:0;21835:10;23187:23;23179:68;;;;-1:-1:-1;;;23179:68:0;;;;;;;:::i;:::-;83305:12:::1;;83291:11;:26;83283:73;;;::::0;-1:-1:-1;;;83283:73:0;;20270:2:1;83283:73:0::1;::::0;::::1;20252:21:1::0;20309:2;20289:18;;;20282:30;20348:34;20328:18;;;20321:62;-1:-1:-1;;;20399:18:1;;;20392:32;20441:19;;83283:73:0::1;20242:224:1::0;83283:73:0::1;83367:10;:24:::0;83209:202::o;43537:112::-;43616:25;43627:4;43633:7;43616:10;:25::i;10178:152::-;10248:4;10272:50;10277:3;-1:-1:-1;;;;;10297:23:0;;10272:4;:50::i;68003:275::-;68147:45;68174:4;68180:2;68184:7;68147:26;:45::i;:::-;25392:7;;;;68213:9;68205:65;;;;-1:-1:-1;;;68205:65:0;;9611:2:1;68205:65:0;;;9593:21:1;9650:2;9630:18;;;9623:30;9689:34;9669:18;;;9662:62;-1:-1:-1;;;9740:18:1;;;9733:41;9791:19;;68205:65:0;9583:233:1;71600:589:0;-1:-1:-1;;;;;71806:18:0;;71802:187;;71841:40;71873:7;73016:10;:17;;72989:24;;;;:15;:24;;;;;:44;;;73044:24;;;;;;;;;;;;72912:164;71841:40;71802:187;;;71911:2;-1:-1:-1;;;;;71903:10:0;:4;-1:-1:-1;;;;;71903:10:0;;71899:90;;71930:47;71963:4;71969:7;71930:32;:47::i;:::-;-1:-1:-1;;;;;72003:16:0;;71999:183;;72036:45;72073:7;72036:36;:45::i;:::-;71999:183;;;72109:4;-1:-1:-1;;;;;72103:10:0;:2;-1:-1:-1;;;;;72103:10:0;;72099:83;;72130:40;72158:2;72162:7;72130:27;:40::i;69924:224::-;70026:4;-1:-1:-1;;;;;;70050:50:0;;-1:-1:-1;;;70050:50:0;;:90;;;70104:36;70128:11;70104:23;:36::i;65161:174::-;65236:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;65236:29:0;-1:-1:-1;;;;;65236:29:0;;;;;;;;:24;;65290:23;65236:24;65290:14;:23::i;:::-;-1:-1:-1;;;;;65281:46:0;;;;;;;;;;;65161:174;;:::o;85311:325::-;85381:7;85401:196;85408:23;85418:12;85408:9;:23::i;:::-;85401:196;;;85448:14;;;;:::i;:::-;;;;80895:4;85481:12;:27;85477:109;;;85544:26;80895:4;85544:12;:26;:::i;:::-;85529:41;;85477:109;85401:196;;;-1:-1:-1;85616:12:0;85311:325::o;63157:382::-;-1:-1:-1;;;;;63237:16:0;;63229:61;;;;-1:-1:-1;;;63229:61:0;;17629:2:1;63229:61:0;;;17611:21:1;;;17648:18;;;17641:30;17707:34;17687:18;;;17680:62;17759:18;;63229:61:0;17601:182:1;63229:61:0;61244:4;61268:16;;;:7;:16;;;;;;-1:-1:-1;;;;;61268:16:0;:30;63301:58;;;;-1:-1:-1;;;63301:58:0;;12300:2:1;63301:58:0;;;12282:21:1;12339:2;12319:18;;;12312:30;12378;12358:18;;;12351:58;12426:18;;63301:58:0;12272:178:1;63301:58:0;63372:45;63401:1;63405:2;63409:7;63372:20;:45::i;:::-;-1:-1:-1;;;;;63430:13:0;;;;;;:9;:13;;;;;:18;;63447:1;;63430:13;:18;;63447:1;;63430:18;:::i;:::-;;;;-1:-1:-1;;63459:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;63459:21:0;-1:-1:-1;;;;;63459:21:0;;;;;;;;63498:33;;63459:16;;;63498:33;;63459:16;;63498:33;63157:382;;:::o;85974:250::-;86029:24;86056:11;86064:3;86056:5;:11;:::i;:::-;86029:38;-1:-1:-1;86078:23:0;86104:11;86112:3;86104:5;:11;:::i;:::-;86160:31;;;;:13;:31;;;;;;;;86195:1;:20;;;86160:56;;;86126:90;;;-1:-1:-1;;85974:250:0:o;61473:348::-;61566:4;61268:16;;;:7;:16;;;;;;-1:-1:-1;;;;;61268:16:0;61583:73;;;;-1:-1:-1;;;61583:73:0;;14597:2:1;61583:73:0;;;14579:21:1;14636:2;14616:18;;;14609:30;14675:34;14655:18;;;14648:62;-1:-1:-1;;;14726:18:1;;;14719:42;14778:19;;61583:73:0;14569:234:1;61583:73:0;61667:13;61683:23;61698:7;61683:14;:23::i;:::-;61667:39;;61736:5;-1:-1:-1;;;;;61725:16:0;:7;-1:-1:-1;;;;;61725:16:0;;:51;;;;61769:7;-1:-1:-1;;;;;61745:31:0;:20;61757:7;61745:11;:20::i;:::-;-1:-1:-1;;;;;61745:31:0;;61725:51;:87;;;-1:-1:-1;;;;;;58565:25:0;;;58541:4;58565:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;61780:32;61717:96;61473:348;-1:-1:-1;;;;61473:348:0:o;64465:578::-;64624:4;-1:-1:-1;;;;;64597:31:0;:23;64612:7;64597:14;:23::i;:::-;-1:-1:-1;;;;;64597:31:0;;64589:85;;;;-1:-1:-1;;;64589:85:0;;19103:2:1;64589:85:0;;;19085:21:1;19142:2;19122:18;;;19115:30;19181:34;19161:18;;;19154:62;-1:-1:-1;;;19232:18:1;;;19225:39;19281:19;;64589:85:0;19075:231:1;64589:85:0;-1:-1:-1;;;;;64693:16:0;;64685:65;;;;-1:-1:-1;;;64685:65:0;;13838:2:1;64685:65:0;;;13820:21:1;13877:2;13857:18;;;13850:30;13916:34;13896:18;;;13889:62;-1:-1:-1;;;13967:18:1;;;13960:34;14011:19;;64685:65:0;13810:226:1;64685:65:0;64763:39;64784:4;64790:2;64794:7;64763:20;:39::i;:::-;64867:29;64884:1;64888:7;64867:8;:29::i;:::-;-1:-1:-1;;;;;64909:15:0;;;;;;:9;:15;;;;;:20;;64928:1;;64909:15;:20;;64928:1;;64909:20;:::i;:::-;;;;-1:-1:-1;;;;;;;64940:13:0;;;;;;:9;:13;;;;;:18;;64957:1;;64940:13;:18;;64957:1;;64940:18;:::i;:::-;;;;-1:-1:-1;;64969:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;64969:21:0;-1:-1:-1;;;;;64969:21:0;;;;;;;;;65008:27;;64969:16;;65008:27;;;;;;;64465:578;;;:::o;86841:981::-;86902:22;86926:13;86952:15;80334:8;86970:14;;:26;;;;:::i;:::-;86952:44;-1:-1:-1;87025:15:0;87007;87070:17;;;:71;;87127:14;;87117:24;;:7;:24;:::i;:::-;87070:71;;;87100:14;;87090:24;;:7;:24;:::i;:::-;87051:90;;87194:12;;87210:1;87194:17;87190:173;;;87274:11;;87245:26;80490:13;80550;87245:26;:::i;:::-;:40;;;;:::i;:::-;87228:57;;87308:14;87339:11;;80490:13;87324:26;;;;:::i;:::-;87300:51;;;;;;;;;87190:173;87593:12;;87622:3;;87552:19;80440:2;87622:3;87552:19;:::i;:::-;87537:11;;:35;;;;:::i;:::-;87536:69;;;;:::i;:::-;80334:8;87466:19;80440:2;87466:3;:19;:::i;:::-;87439:23;80490:13;87439:8;:23;:::i;:::-;:47;;;;:::i;:::-;87438:78;;;;:::i;:::-;:167;;;;:::i;:::-;87437:188;;;;:::i;:::-;87416:209;;80490:13;87677:11;;:26;;;;:::i;:::-;87669:5;:34;87665:101;;;80490:13;87728:11;;:26;;;;:::i;:::-;87720:34;;87665:101;87795:19;87809:5;80550:13;87795:19;:::i;:::-;87778:36;;86841:981;;;;;:::o;63768:360::-;63828:13;63844:23;63859:7;63844:14;:23::i;:::-;63828:39;;63880:48;63901:5;63916:1;63920:7;63880:20;:48::i;:::-;63969:29;63986:1;63990:7;63969:8;:29::i;:::-;-1:-1:-1;;;;;64011:16:0;;;;;;:9;:16;;;;;:21;;64031:1;;64011:16;:21;;64031:1;;64011:21;:::i;:::-;;;;-1:-1:-1;;64050:16:0;;;;:7;:16;;;;;;64043:23;;-1:-1:-1;;;;;;64043:23:0;;;64084:36;64058:7;;64050:16;-1:-1:-1;;;;;64084:36:0;;;;;64050:16;;64084:36;63768:360;;:::o;41688:147::-;41369:7;41396:12;;;;;;;;;;:22;;;39770:30;39781:4;21835:10;39787:12;39770:10;:30::i;:::-;41802:25:::1;41813:4;41819:7;41802:10;:25::i;42736:218::-:0;-1:-1:-1;;;;;42832:23:0;;21835:10;42832:23;42824:83;;;;-1:-1:-1;;;42824:83:0;;23948:2:1;42824:83:0;;;23930:21:1;23987:2;23967:18;;;23960:30;24026:34;24006:18;;;23999:62;-1:-1:-1;;;24077:18:1;;;24070:45;24132:19;;42824:83:0;23920:237:1;42824:83:0;42920:26;42932:4;42938:7;42920:11;:26::i;10506:158::-;10579:4;10603:53;10611:3;-1:-1:-1;;;;;10631:23:0;;10603:7;:53::i;26380:120::-;25392:7;;;;25916:41;;;;-1:-1:-1;;;25916:41:0;;10367:2:1;25916:41:0;;;10349:21:1;10406:2;10386:18;;;10379:30;-1:-1:-1;;;10425:18:1;;;10418:50;10485:18;;25916:41:0;10339:170:1;25916:41:0;26439:7:::1;:15:::0;;-1:-1:-1;;26439:15:0::1;::::0;;26470:22:::1;21835:10:::0;26479:12:::1;26470:22;::::0;-1:-1:-1;;;;;7634:32:1;;;7616:51;;7604:2;7589:18;26470:22:0::1;;;;;;;26380:120::o:0;24067:173::-;24142:6;;;-1:-1:-1;;;;;24159:17:0;;;-1:-1:-1;;;;;;24159:17:0;;;;;;;24192:40;;24142:6;;;24159:17;24142:6;;24192:40;;24123:16;;24192:40;24067:173;;:::o;26121:118::-;25392:7;;;;25646:9;25638:38;;;;-1:-1:-1;;;25638:38:0;;15702:2:1;25638:38:0;;;15684:21:1;15741:2;15721:18;;;15714:30;-1:-1:-1;;;15760:18:1;;;15753:46;15816:18;;25638:38:0;15674:166:1;25638:38:0;26181:7:::1;:14:::0;;-1:-1:-1;;26181:14:0::1;26191:4;26181:14;::::0;;26211:20:::1;26218:12;21835:10:::0;21755:98;;11474:158;11548:7;11599:22;11603:3;11615:5;11599:3;:22::i;60551:315::-;60708:28;60718:4;60724:2;60728:7;60708:9;:28::i;:::-;60755:48;60778:4;60784:2;60788:7;60797:5;60755:22;:48::i;:::-;60747:111;;;;-1:-1:-1;;;60747:111:0;;;;;;;:::i;77868:114::-;77928:13;77961;77954:20;;;;;:::i;19371:723::-;19427:13;19648:10;19644:53;;-1:-1:-1;19675:10:0;;;;;;;;;;;;-1:-1:-1;;;19675:10:0;;;;;;19644:53;19722:5;19707:12;19763:78;19770:9;;19763:78;;19796:8;;;;:::i;:::-;;-1:-1:-1;19819:10:0;;-1:-1:-1;19827:2:0;19819:10;;:::i;:::-;;;19763:78;;;19851:19;19883:6;19873:17;;;;;;-1:-1:-1;;;19873:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19873:17:0;;19851:39;;19901:154;19908:10;;19901:154;;19935:11;19945:1;19935:11;;:::i;:::-;;-1:-1:-1;20004:10:0;20012:2;20004:5;:10;:::i;:::-;19991:24;;:2;:24;:::i;:::-;19978:39;;19961:6;19968;19961:14;;;;;;-1:-1:-1;;;19961:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;19961:56:0;;;;;;;;-1:-1:-1;20032:11:0;20041:2;20032:11;;:::i;:::-;;;19901:154;;11003:117;11066:7;11093:19;11101:3;1873:14;;1781:114;42080:149;41369:7;41396:12;;;;;;;;;;:22;;;39770:30;39781:4;21835:10;39787:12;21755:98;39770:30;42195:26:::1;42207:4;42213:7;42195:11;:26::i;44040:229::-:0;44115:22;44123:4;44129:7;44115;:22::i;:::-;44110:152;;44154:6;:12;;;;;;;;;;;-1:-1:-1;;;;;44154:29:0;;;;;;;;;:36;;-1:-1:-1;;44154:36:0;44186:4;44154:36;;;44237:12;21835:10;21755:98;;44237:12;-1:-1:-1;;;;;44210:40:0;44228:7;-1:-1:-1;;;;;44210:40:0;44222:4;44210:40;;;;;;;;;;44040:229;;:::o;4093:414::-;4156:4;6286:19;;;:12;;;:19;;;;;;4173:327;;-1:-1:-1;4216:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;4399:18;;4377:19;;;:12;;;:19;;;;;;:40;;;;4432:11;;4173:327;-1:-1:-1;4483:5:0;4476:12;;73703:988;73969:22;74019:1;73994:22;74011:4;73994:16;:22::i;:::-;:26;;;;:::i;:::-;74031:18;74052:26;;;:17;:26;;;;;;73969:51;;-1:-1:-1;74185:28:0;;;74181:328;;-1:-1:-1;;;;;74252:18:0;;74230:19;74252:18;;;:12;:18;;;;;;;;:34;;;;;;;;;74303:30;;;;;;:44;;;74420:30;;:17;:30;;;;;:43;;;74181:328;-1:-1:-1;74605:26:0;;;;:17;:26;;;;;;;;74598:33;;;-1:-1:-1;;;;;74649:18:0;;;;;:12;:18;;;;;:34;;;;;;;74642:41;73703:988::o;74986:1079::-;75264:10;:17;75239:22;;75264:21;;75284:1;;75264:21;:::i;:::-;75296:18;75317:24;;;:15;:24;;;;;;75690:10;:26;;75239:46;;-1:-1:-1;75317:24:0;;75239:46;;75690:26;;;;-1:-1:-1;;;75690:26:0;;;;;;;;;;;;;;;;;75668:48;;75754:11;75729:10;75740;75729:22;;;;;;-1:-1:-1;;;75729:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;75834:28;;;:15;:28;;;;;;;:41;;;76006:24;;;;;75999:31;76041:10;:16;;;;;-1:-1:-1;;;76041:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;74986:1079;;;;:::o;72490:221::-;72575:14;72592:20;72609:2;72592:16;:20::i;:::-;-1:-1:-1;;;;;72623:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;72668:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;72490:221:0:o;55281:305::-;55383:4;-1:-1:-1;;;;;;55420:40:0;;-1:-1:-1;;;55420:40:0;;:105;;-1:-1:-1;;;;;;;55477:48:0;;-1:-1:-1;;;55477:48:0;55420:105;:158;;;;55542:36;55566:11;55542:23;:36::i;79583:239::-;79769:45;79796:4;79802:2;79806:7;79769:26;:45::i;40617:497::-;40698:22;40706:4;40712:7;40698;:22::i;:::-;40693:414;;40886:41;40914:7;-1:-1:-1;;;;;40886:41:0;40924:2;40886:19;:41::i;:::-;41000:38;41028:4;41035:2;41000:19;:38::i;:::-;40791:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;40791:270:0;;;;;;;;;;-1:-1:-1;;;40737:358:0;;;;;;;:::i;44277:230::-;44352:22;44360:4;44366:7;44352;:22::i;:::-;44348:152;;;44423:5;44391:12;;;;;;;;;;;-1:-1:-1;;;;;44391:29:0;;;;;;;;;;:37;;-1:-1:-1;;44391:37:0;;;44448:40;21835:10;;44391:12;;44448:40;;44423:5;44448:40;44277:230;;:::o;4683:1420::-;4749:4;4888:19;;;:12;;;:19;;;;;;4924:15;;4920:1176;;5299:21;5323:14;5336:1;5323:10;:14;:::i;:::-;5372:18;;5299:38;;-1:-1:-1;5352:17:0;;5372:22;;5393:1;;5372:22;:::i;:::-;5352:42;;5428:13;5415:9;:26;5411:405;;5462:17;5482:3;:11;;5494:9;5482:22;;;;;;-1:-1:-1;;;5482:22:0;;;;;;;;;;;;;;;;;5462:42;;5636:9;5607:3;:11;;5619:13;5607:26;;;;;;-1:-1:-1;;;5607:26:0;;;;;;;;;;;;;;;;;;;;:38;;;;5721:23;;;:12;;;:23;;;;;:36;;;5411:405;5897:17;;:3;;:17;;;-1:-1:-1;;;5897:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;5992:3;:12;;:19;6005:5;5992:19;;;;;;;;;;;5985:26;;;6035:4;6028:11;;;;;;;4920:1176;6079:5;6072:12;;;;;6867:120;6934:7;6961:3;:11;;6973:5;6961:18;;;;;;-1:-1:-1;;;6961:18:0;;;;;;;;;;;;;;;;;6954:25;;6867:120;;;;:::o;65900:799::-;66055:4;-1:-1:-1;;;;;66076:13:0;;27596:20;27644:8;66072:620;;66112:72;;-1:-1:-1;;;66112:72:0;;-1:-1:-1;;;;;66112:36:0;;;;;:72;;21835:10;;66163:4;;66169:7;;66178:5;;66112:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66112:72:0;;;;;;;;-1:-1:-1;;66112:72:0;;;;;;;;;;;;:::i;:::-;;;66108:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66354:13:0;;66350:272;;66397:60;;-1:-1:-1;;;66397:60:0;;;;;;;:::i;66350:272::-;66572:6;66566:13;66557:6;66553:2;66549:15;66542:38;66108:529;-1:-1:-1;;;;;;66235:51:0;-1:-1:-1;;;66235:51:0;;-1:-1:-1;66228:58:0;;45007:214;45092:4;-1:-1:-1;;;;;;45116:57:0;;-1:-1:-1;;;45116:57:0;;:97;;;45177:36;45201:11;45177:23;:36::i;20672:451::-;20747:13;20773:19;20805:10;20809:6;20805:1;:10;:::i;:::-;:14;;20818:1;20805:14;:::i;:::-;20795:25;;;;;;-1:-1:-1;;;20795:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20795:25:0;;20773:47;;-1:-1:-1;;;20831:6:0;20838:1;20831:9;;;;;;-1:-1:-1;;;20831:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;20831:15:0;;;;;;;;;-1:-1:-1;;;20857:6:0;20864:1;20857:9;;;;;;-1:-1:-1;;;20857:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;20857:15:0;;;;;;;;-1:-1:-1;20888:9:0;20900:10;20904:6;20900:1;:10;:::i;:::-;:14;;20913:1;20900:14;:::i;:::-;20888:26;;20883:135;20920:1;20916;:5;20883:135;;;-1:-1:-1;;;20968:5:0;20976:3;20968:11;20955:25;;;;;-1:-1:-1;;;20955:25:0;;;;;;;;;;;;20943:6;20950:1;20943:9;;;;;;-1:-1:-1;;;20943:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;20943:37:0;;;;;;;;-1:-1:-1;21005:1:0;20995:11;;;;;20923:3;;;:::i;:::-;;;20883:135;;;-1:-1:-1;21036:10:0;;21028:55;;;;-1:-1:-1;;;21028:55:0;;9250:2:1;21028:55:0;;;9232:21:1;;;9269:18;;;9262:30;9328:34;9308:18;;;9301:62;9380:18;;21028:55:0;9222:182:1;39892:204:0;39977:4;-1:-1:-1;;;;;;40001:47:0;;-1:-1:-1;;;40001:47:0;;:87;;-1:-1:-1;;;;;;;;;;37322:40:0;;;40052:36;37213:157::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:196;;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;;;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;;;;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:1025::-;;;;;1183:3;1171:9;1162:7;1158:23;1154:33;1151:2;;;1205:6;1197;1190:22;1151:2;1233:29;1252:9;1233:29;:::i;:::-;1223:39;;1281:2;1302:38;1336:2;1325:9;1321:18;1302:38;:::i;:::-;1292:48;;1387:2;1376:9;1372:18;1359:32;1349:42;;1442:2;1431:9;1427:18;1414:32;1465:18;1506:2;1498:6;1495:14;1492:2;;;1527:6;1519;1512:22;1492:2;1570:6;1559:9;1555:22;1545:32;;1615:7;1608:4;1604:2;1600:13;1596:27;1586:2;;1642:6;1634;1627:22;1586:2;1683;1670:16;1705:2;1701;1698:10;1695:2;;;1711:18;;:::i;:::-;1753:53;1796:2;1777:13;;-1:-1:-1;;1773:27:1;1769:36;;1753:53;:::i;:::-;1740:66;;1829:2;1822:5;1815:17;1869:7;1864:2;1859;1855;1851:11;1847:20;1844:33;1841:2;;;1895:6;1887;1880:22;1841:2;1955;1950;1946;1942:11;1937:2;1930:5;1926:14;1913:45;1978:14;;1974:23;;;1967:39;;;;1141:895;;;;-1:-1:-1;1141:895:1;;-1:-1:-1;;1141:895:1:o;2041:325::-;;;2167:2;2155:9;2146:7;2142:23;2138:32;2135:2;;;2188:6;2180;2173:22;2135:2;2216:29;2235:9;2216:29;:::i;:::-;2206:39;;2295:2;2284:9;2280:18;2267:32;2308:28;2330:5;2308:28;:::i;:::-;2355:5;2345:15;;;2125:241;;;;;:::o;2371:264::-;;;2500:2;2488:9;2479:7;2475:23;2471:32;2468:2;;;2521:6;2513;2506:22;2468:2;2549:29;2568:9;2549:29;:::i;:::-;2539:39;2625:2;2610:18;;;;2597:32;;-1:-1:-1;;;2458:177:1:o;2640:1009::-;;2755:2;2798;2786:9;2777:7;2773:23;2769:32;2766:2;;;2819:6;2811;2804:22;2766:2;2864:9;2851:23;2893:18;2934:2;2926:6;2923:14;2920:2;;;2955:6;2947;2940:22;2920:2;2998:6;2987:9;2983:22;2973:32;;3043:7;3036:4;3032:2;3028:13;3024:27;3014:2;;3070:6;3062;3055:22;3014:2;3111;3098:16;3133:2;3129;3126:10;3123:2;;;3139:18;;:::i;:::-;3186:2;3182;3178:11;3168:21;;3209:28;3233:2;3229;3225:11;3209:28;:::i;:::-;3271:15;;;3302:12;;;;3334:11;;;3364;;;3360:20;;3357:33;-1:-1:-1;3354:2:1;;;3408:6;3400;3393:22;3354:2;3435:6;3426:15;;3450:169;3464:2;3461:1;3458:9;3450:169;;;3521:23;3540:3;3521:23;:::i;:::-;3509:36;;3482:1;3475:9;;;;;3565:12;;;;3597;;3450:169;;;-1:-1:-1;3638:5:1;2735:914;-1:-1:-1;;;;;;;;2735:914:1:o;3654:255::-;;3774:2;3762:9;3753:7;3749:23;3745:32;3742:2;;;3795:6;3787;3780:22;3742:2;3832:9;3826:16;3851:28;3873:5;3851:28;:::i;3914:190::-;;4026:2;4014:9;4005:7;4001:23;3997:32;3994:2;;;4047:6;4039;4032:22;3994:2;-1:-1:-1;4075:23:1;;3984:120;-1:-1:-1;3984:120:1:o;4109:264::-;;;4238:2;4226:9;4217:7;4213:23;4209:32;4206:2;;;4259:6;4251;4244:22;4206:2;4300:9;4287:23;4277:33;;4329:38;4363:2;4352:9;4348:18;4329:38;:::i;4378:258::-;;;4507:2;4495:9;4486:7;4482:23;4478:32;4475:2;;;4528:6;4520;4513:22;4475:2;-1:-1:-1;;4556:23:1;;;4626:2;4611:18;;;4598:32;;-1:-1:-1;4465:171:1:o;4641:255::-;;4752:2;4740:9;4731:7;4727:23;4723:32;4720:2;;;4773:6;4765;4758:22;4720:2;4817:9;4804:23;4836:30;4860:5;4836:30;:::i;4901:259::-;;5023:2;5011:9;5002:7;4998:23;4994:32;4991:2;;;5044:6;5036;5029:22;4991:2;5081:9;5075:16;5100:30;5124:5;5100:30;:::i;5360:194::-;;5483:2;5471:9;5462:7;5458:23;5454:32;5451:2;;;5504:6;5496;5489:22;5451:2;-1:-1:-1;5532:16:1;;5441:113;-1:-1:-1;5441:113:1:o;5559:257::-;;5638:5;5632:12;5665:6;5660:3;5653:19;5681:63;5737:6;5730:4;5725:3;5721:14;5714:4;5707:5;5703:16;5681:63;:::i;:::-;5798:2;5777:15;-1:-1:-1;;5773:29:1;5764:39;;;;5805:4;5760:50;;5608:208;-1:-1:-1;;5608:208:1:o;5821:470::-;;6038:6;6032:13;6054:53;6100:6;6095:3;6088:4;6080:6;6076:17;6054:53;:::i;:::-;6170:13;;6129:16;;;;6192:57;6170:13;6129:16;6226:4;6214:17;;6192:57;:::i;:::-;6265:20;;6008:283;-1:-1:-1;;;;6008:283:1:o;6296:786::-;;6707:25;6702:3;6695:38;6762:6;6756:13;6778:62;6833:6;6828:2;6823:3;6819:12;6812:4;6804:6;6800:17;6778:62;:::i;:::-;-1:-1:-1;;;6899:2:1;6859:16;;;6891:11;;;6884:40;6949:13;;6971:63;6949:13;7020:2;7012:11;;7005:4;6993:17;;6971:63;:::i;:::-;7054:17;7073:2;7050:26;;6685:397;-1:-1:-1;;;;6685:397:1:o;7678:488::-;-1:-1:-1;;;;;7947:15:1;;;7929:34;;7999:15;;7994:2;7979:18;;7972:43;8046:2;8031:18;;8024:34;;;8094:3;8089:2;8074:18;;8067:31;;;7678:488;;8115:45;;8140:19;;8132:6;8115:45;:::i;:::-;8107:53;7881:285;-1:-1:-1;;;;;;7881:285:1:o;8824:219::-;;8973:2;8962:9;8955:21;8993:44;9033:2;9022:9;9018:18;9010:6;8993:44;:::i;11272:414::-;11474:2;11456:21;;;11513:2;11493:18;;;11486:30;11552:34;11547:2;11532:18;;11525:62;-1:-1:-1;;;11618:2:1;11603:18;;11596:48;11676:3;11661:19;;11446:240::o;18201:356::-;18403:2;18385:21;;;18422:18;;;18415:30;18481:34;18476:2;18461:18;;18454:62;18548:2;18533:18;;18375:182::o;20873:413::-;21075:2;21057:21;;;21114:2;21094:18;;;21087:30;21153:34;21148:2;21133:18;;21126:62;-1:-1:-1;;;21219:2:1;21204:18;;21197:47;21276:3;21261:19;;21047:239::o;24790:275::-;24861:2;24855:9;24926:2;24907:13;;-1:-1:-1;;24903:27:1;24891:40;;24961:18;24946:34;;24982:22;;;24943:62;24940:2;;;25008:18;;:::i;:::-;25044:2;25037:22;24835:230;;-1:-1:-1;24835:230:1:o;25070:128::-;;25141:1;25137:6;25134:1;25131:13;25128:2;;;25147:18;;:::i;:::-;-1:-1:-1;25183:9:1;;25118:80::o;25203:120::-;;25269:1;25259:2;;25274:18;;:::i;:::-;-1:-1:-1;25308:9:1;;25249:74::o;25328:168::-;;25434:1;25430;25426:6;25422:14;25419:1;25416:21;25411:1;25404:9;25397:17;25393:45;25390:2;;;25441:18;;:::i;:::-;-1:-1:-1;25481:9:1;;25380:116::o;25501:125::-;;25569:1;25566;25563:8;25560:2;;;25574:18;;:::i;:::-;-1:-1:-1;25611:9:1;;25550:76::o;25631:258::-;25703:1;25713:113;25727:6;25724:1;25721:13;25713:113;;;25803:11;;;25797:18;25784:11;;;25777:39;25749:2;25742:10;25713:113;;;25844:6;25841:1;25838:13;25835:2;;;-1:-1:-1;;25879:1:1;25861:16;;25854:27;25684:205::o;25894:181::-;;25976:6;25969:5;25965:18;26002:7;25992:2;;26013:18;;:::i;:::-;-1:-1:-1;;26049:20:1;;25940:135;-1:-1:-1;;25940:135:1:o;26080:136::-;;26147:5;26137:2;;26156:18;;:::i;:::-;-1:-1:-1;;;26192:18:1;;26127:89::o;26221:380::-;26306:1;26296:12;;26353:1;26343:12;;;26364:2;;26418:4;26410:6;26406:17;26396:27;;26364:2;26471;26463:6;26460:14;26440:18;26437:38;26434:2;;;26517:10;26512:3;26508:20;26505:1;26498:31;26552:4;26549:1;26542:15;26580:4;26577:1;26570:15;26434:2;;26276:325;;;:::o;26606:197::-;;26672:6;26713:2;26706:5;26702:14;26740:2;26731:7;26728:15;26725:2;;;26746:18;;:::i;:::-;26795:1;26782:15;;26652:151;-1:-1:-1;;;26652:151:1:o;26808:135::-;;-1:-1:-1;;26868:17:1;;26865:2;;;26888:18;;:::i;:::-;-1:-1:-1;26935:1:1;26924:13;;26855:88::o;26948:112::-;;27006:1;26996:2;;27011:18;;:::i;:::-;-1:-1:-1;27045:9:1;;26986:74::o;27065:127::-;27126:10;27121:3;27117:20;27114:1;27107:31;27157:4;27154:1;27147:15;27181:4;27178:1;27171:15;27197:127;27258:10;27253:3;27249:20;27246:1;27239:31;27289:4;27286:1;27279:15;27313:4;27310:1;27303:15;27329:127;27390:10;27385:3;27381:20;27378:1;27371:31;27421:4;27418:1;27411:15;27445:4;27442:1;27435:15;27461:118;27547:5;27540:13;27533:21;27526:5;27523:32;27513:2;;27569:1;27566;27559:12;27584:131;-1:-1:-1;;;;;;27658:32:1;;27648:43;;27638:2;;27705:1;27702;27695:12

Swarm Source

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