ETH Price: $3,339.35 (-1.32%)
Gas: 13 Gwei

Token

Nukes (Nukes)
 

Overview

Max Total Supply

3,195 Nukes

Holders

843

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
comid20.eth
Balance
4 Nukes
0xfb91a0d6dff39f19d0ea9c988ad8dfb93244c40b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

NUKES is an NFT Worlds related project by PrimaryNature that has a powerful message against nuclear arming and incorporates P2E, staking, land plot ownership.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Nukes

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-14
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

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


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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


// OpenZeppelin Contracts v4.4.1 (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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts v4.4.1 (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/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


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

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

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

// File: erc721a/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;








error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
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);

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

pragma solidity ^0.8.12;

contract Nukes is ERC721A, Ownable {
    using Strings for uint256;

    uint256 public constant RESERVED_TOKENS = 50;
    uint256 public constant TOTAL_TOKENS = 10000;

    address public constant RESERVED_TOKENS_ADDRESS =
        0xA04d10c6Be637a0aD4c1623A596A6C9d7Bf8b977;

    uint256 public constant STAGE_STOPPED = 0;
    uint256 public constant STAGE_PRESALE = 1;
    uint256 public constant STAGE_PUBLIC = 2;
    uint256 public constant STAGE_CLAIM = 3;
    uint256 public constant STAGE_AFTERCLAIMSALE = 4;
    uint256 public currentStage = STAGE_STOPPED;

    address public crazySkullz = 0x3a4cA1c1bB243D299032753fdd75e8FEc1F0d585;
    uint256 public crazySkullzNeededPerClaimedToken = 2;
    mapping(uint256 => bool) public usedSkullIds;

    uint256 public tokenPricePresale = 0.06 ether;
    uint256 public tokenPricePublicSale = 0.08 ether;

    uint256 public maxTokensPerAddressPresale = 2;
    uint256 public maxTokensPerAddress = 4;
    uint256 public maxTokensPerTransaction = maxTokensPerAddress;

    uint256 public publicSaleTotalLimit = 5000;
    uint256 public claimTotalLimit = 5000;

    bytes32 public whitelistRoot;

    string public tokenBaseURI = "ipfs://Qma2ZRi3tyjNRPgMmzcdp4rnXrNuVM3PbSSQn1YvF7unMy/";
    
    uint256 public soldAmount = 0;
    uint256 public claimedAmount = 0;
    mapping(address => uint256) public purchased;

    constructor() ERC721A("Nukes", "Nukes") {
        if (RESERVED_TOKENS >= 0) {
            _safeMint(RESERVED_TOKENS_ADDRESS, RESERVED_TOKENS);
            claimedAmount += RESERVED_TOKENS;
        }
    }

    function _startTokenId() internal pure override(ERC721A) returns (uint256) {
        return 1;
    }

    function stopSale() external onlyOwner {
        currentStage = STAGE_STOPPED;
    }

    function startPresale() external onlyOwner {
        currentStage = STAGE_PRESALE;
    }

    function startPublicSale() external onlyOwner {
        currentStage = STAGE_PUBLIC;
    }

    function startClaimingStage() external onlyOwner {
        currentStage = STAGE_CLAIM;
    }

    function startAfterClaimSale() external onlyOwner {
        currentStage = STAGE_AFTERCLAIMSALE;
    }

    function setSkullzAddress(address val) external onlyOwner {
        crazySkullz = val;
    }

    function setCrazySkullzNeededPerClaimedToken(uint256 val)
        external
        onlyOwner
    {
        crazySkullzNeededPerClaimedToken = val;
    }

    function setTokenPricePresale(uint256 val) external onlyOwner {
        tokenPricePresale = val;
    }

    function setTokenPricePublicSale(uint256 val) external onlyOwner {
        tokenPricePublicSale = val;
    }

    function setMaxTokensPerTransaction(uint256 val) external onlyOwner {
        maxTokensPerTransaction = val;
    }

    function setMaxTokensPerAddressPresale(uint256 val) external onlyOwner {
        maxTokensPerAddressPresale = val;
    }

    function setMaxTokensPerAddress(uint256 val) external onlyOwner {
        maxTokensPerAddress = val;
    }

    function setWhitelistRoot(bytes32 val) external onlyOwner {
        whitelistRoot = val;
    }

    function setPublicSaleTotalLimit(uint256 val) external onlyOwner {
        publicSaleTotalLimit = val;
    }

    function setClaimTotalLimit(uint256 val) external onlyOwner {
        claimTotalLimit = val;
    }

    function tokenPrice() public view returns (uint256) {
        if (currentStage == STAGE_PRESALE) {
            return tokenPricePresale;
        }
        return tokenPricePublicSale;
    }

    function getMaxTokensForPhase(address target, bytes32[] memory proof)
        public
        view
        returns (uint256)
    {
        bytes32 leaf = keccak256(abi.encodePacked(target));

        if (currentStage == STAGE_PUBLIC || currentStage == STAGE_AFTERCLAIMSALE) {
            return maxTokensPerAddress;
        } else if (currentStage == STAGE_PRESALE) {
            if (MerkleProof.verify(proof, whitelistRoot, leaf)) {
                return maxTokensPerAddressPresale;
            } else {
                return 0;
            }
        } else if (currentStage == STAGE_CLAIM) {
            return TOTAL_TOKENS;
        } else {
            return 0;
        }
    }

    function safeSub(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a < b) {
            return 0;
        }
        return a - b;
    }

    function getMaxTokensAllowed(address target, bytes32[] memory proof)
        public
        view
        returns (uint256)
    {
        uint256 maxAllowedTokens = getMaxTokensForPhase(target, proof);

        
        if (currentStage != STAGE_CLAIM) {
            uint256 tokensLeftForAddress = safeSub(
                maxAllowedTokens,
                purchased[target]
            );
            maxAllowedTokens = min(maxAllowedTokens, tokensLeftForAddress);
        }

        if (currentStage == STAGE_PUBLIC || currentStage == STAGE_PRESALE) {
            uint256 publicSaleTokensLeft = safeSub(
                publicSaleTotalLimit,
                soldAmount
            );
            maxAllowedTokens = min(maxAllowedTokens, publicSaleTokensLeft);
        } else if (currentStage == STAGE_CLAIM) {
            uint256 forClaimTokensLeft = safeSub(claimTotalLimit, claimedAmount);
            maxAllowedTokens = min(maxAllowedTokens, forClaimTokensLeft);
        }

        uint256 totalTokensLeft = safeSub(
            TOTAL_TOKENS,
            soldAmount + claimedAmount
        );
        maxAllowedTokens = min(maxAllowedTokens, totalTokensLeft);

        return min(maxAllowedTokens, maxTokensPerTransaction);
    }

    function getContractInfo(address target, bytes32[] memory proof)
        external
        view
        returns (
            uint256 _currentStage,
            uint256 _maxTokensAllowed,
            uint256 _tokenPrice,
            uint256 _soldAmount,
            uint256 _purchasedAmount,
            uint256 _presaleTotalLimit,
            bytes32 _whitelistRoot
        )
    {
        _currentStage = currentStage;
        _maxTokensAllowed = getMaxTokensAllowed(target, proof);
        _tokenPrice = tokenPrice();
        _soldAmount = soldAmount;
        _purchasedAmount = purchased[target];
        _presaleTotalLimit = TOTAL_TOKENS;
        _whitelistRoot = whitelistRoot;
    }

    function mint(uint256 amount, bytes32[] calldata proof) external payable {
        require(msg.sender == tx.origin, "Caller must not be a contract");
        require(
            currentStage == STAGE_PRESALE || currentStage == STAGE_PUBLIC || currentStage == STAGE_AFTERCLAIMSALE,
            "Cannot mint tokens at this stage"
        );
        require(msg.value >= tokenPrice() * amount, "Incorrect ETH sent");
        require(
            amount <= getMaxTokensAllowed(msg.sender, proof),
            "Cannot mint more than the max allowed tokens"
        );

        _safeMint(msg.sender, amount);
        purchased[msg.sender] += amount;
        soldAmount += amount;
    }

    function teamMintFromForSale(uint256 amount, address[] calldata addresses)
        external
        onlyOwner
    {
        uint256 totalMintAmount = amount * addresses.length;
        require(
            soldAmount + claimedAmount + totalMintAmount <= TOTAL_TOKENS,
            "Cannot mint more than the total amount of tokens"
        );
        require(
            soldAmount + totalMintAmount <= publicSaleTotalLimit,
            "Cannot mint more than the public sale total limit"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            _safeMint(addresses[i], amount);
        }

        soldAmount += totalMintAmount;
    }

    function teamMintFromForClaim(uint256 amount, address[] calldata addresses)
        external
        onlyOwner
    {
        uint256 totalMintAmount = amount * addresses.length;
        require(
            soldAmount + claimedAmount + totalMintAmount <= TOTAL_TOKENS,
            "Cannot mint more than the total amount of tokens"
        );
        require(
            claimedAmount + totalMintAmount <= claimTotalLimit,
            "Cannot mint more than the claim total limit"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            _safeMint(addresses[i], amount);
        }
        claimedAmount += totalMintAmount;
    }

    function claim(uint256 amount, uint256[] calldata skullIds)
        external
    {
        require(
            currentStage == STAGE_CLAIM,
            "Cannot mint tokens at this stage"
        );
        require(
            amount * crazySkullzNeededPerClaimedToken == skullIds.length,
            "Incorrect amount of tokens sent"
        );
        require(
            soldAmount + claimedAmount + amount <= TOTAL_TOKENS,
            "Cannot claim more than the max allowed tokens"
        );

        for (uint256 i = 0; i < skullIds.length; i++) {
            require(
                IERC721(crazySkullz).ownerOf(skullIds[i]) == msg.sender,
                "Must use own tokens to claim"
            );
            require(
                usedSkullIds[skullIds[i]] == false,
                "Cannot use a token for claiming twice"
            );
            usedSkullIds[skullIds[i]] = true;
        }

        _safeMint(msg.sender, amount);

        claimedAmount += amount;
    }

    function getValidIdsForClaim(address target) external view returns (uint256[] memory) {
        uint256 count = 0;

        uint256 balance = IERC721(crazySkullz).balanceOf(target);
        for (uint256 i = 0; i < balance; i++) {
            uint256 id = IERC721Enumerable(crazySkullz).tokenOfOwnerByIndex(target, i);
            if (!usedSkullIds[id]) {
                count++;
            }
        }

        uint256[] memory result = new uint256[](count);
        uint256 idx = 0;
        for (uint256 i = 0; i < balance; i++) {
            uint256 id = IERC721Enumerable(crazySkullz).tokenOfOwnerByIndex(target, i);
            if (!usedSkullIds[id]) {
                result[idx] = id;
                idx++;
            }
        }

        return result;
    }

    function checkToken(uint256 tokenId, address target) external view returns (bool isUsed, bool isOwned) {
        isUsed = usedSkullIds[tokenId];
        isOwned = IERC721(crazySkullz).ownerOf(tokenId) == target;
    }

    function _baseURI()
        internal
        view
        override(ERC721A)
        returns (string memory)
    {
        return tokenBaseURI;
    }

    function setBaseURI(string calldata URI) external onlyOwner {
        tokenBaseURI = URI;
    }

    function withdraw() external onlyOwner {
        require(payable(RESERVED_TOKENS_ADDRESS).send(address(this).balance));
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[],"name":"RESERVED_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TOKENS_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_AFTERCLAIMSALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_STOPPED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"internalType":"address","name":"target","type":"address"}],"name":"checkToken","outputs":[{"internalType":"bool","name":"isUsed","type":"bool"},{"internalType":"bool","name":"isOwned","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"skullIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTotalLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crazySkullz","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crazySkullzNeededPerClaimedToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getContractInfo","outputs":[{"internalType":"uint256","name":"_currentStage","type":"uint256"},{"internalType":"uint256","name":"_maxTokensAllowed","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_soldAmount","type":"uint256"},{"internalType":"uint256","name":"_purchasedAmount","type":"uint256"},{"internalType":"uint256","name":"_presaleTotalLimit","type":"uint256"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensForPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"getValidIdsForClaim","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":[],"name":"maxTokensPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddressPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"publicSaleTotalLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setClaimTotalLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setCrazySkullzNeededPerClaimedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPublicSaleTotalLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"val","type":"address"}],"name":"setSkullzAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"val","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soldAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startAfterClaimSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startClaimingStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"teamMintFromForClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"teamMintFromForSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePublicSale","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":"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedSkullIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000600955600a80546001600160a01b031916733a4ca1c1bb243d299032753fdd75e8fec1f0d5851790556002600b81905566d529ae9e860000600d5567011c37937e080000600e55600f5560046010819055601155611388601281905560135560e06040526036608081815290620038aa60a03980516200008a91601591602090910190620004a0565b5060006016556000601755348015620000a257600080fd5b506040805180820182526005808252644e756b657360d81b602080840182815285518087019096529285528401528151919291620000e391600291620004a0565b508051620000f9906003906020840190620004a0565b50506001600055506200010c336200014d565b6200012d73a04d10c6be637a0ad4c1623a596a6c9d7bf8b97760326200019f565b60326017600082825462000142919062000546565b909155505062000657565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001c1828260405180602001604052806000815250620001c560201b60201c565b5050565b620001d48383836001620001d9565b505050565b6000546001600160a01b0385166200020357604051622e076360e81b815260040160405180910390fd5b83600003620002255760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015620002de5750620002de876001600160a01b03166200039d60201b620021521760201c565b156200035d575b60405182906001600160a01b038916906000906000805160206200388a833981519152908290a460018201916200032290600090899088620003ac565b62000340576040516368d2bf6b60e11b815260040160405180910390fd5b808203620002e55782600054146200035757600080fd5b62000392565b5b6040516001830192906001600160a01b038916906000906000805160206200388a833981519152908290a48082036200035e575b506000555050505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003e39033908990889088906004016200056d565b6020604051808303816000875af192505050801562000421575060408051601f3d908101601f191682019092526200041e91810190620005e8565b60015b62000483573d80801562000452576040519150601f19603f3d011682016040523d82523d6000602084013e62000457565b606091505b5080516000036200047b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004ae906200061b565b90600052602060002090601f016020900481019282620004d257600085556200051d565b82601f10620004ed57805160ff19168380011785556200051d565b828001600101855582156200051d579182015b828111156200051d57825182559160200191906001019062000500565b506200052b9291506200052f565b5090565b5b808211156200052b576000815560010162000530565b600082198211156200056857634e487b7160e01b600052601160045260246000fd5b500190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005bc5785810182015185820160a0015281016200059e565b82811115620005cf57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600060208284031215620005fb57600080fd5b81516001600160e01b0319811681146200061457600080fd5b9392505050565b600181811c908216806200063057607f821691505b6020821081036200065157634e487b7160e01b600052602260045260246000fd5b50919050565b61322380620006676000396000f3fe6080604052600436106103ef5760003560e01c80636352211e11610208578063a4ac791511610118578063e36b0b37116100ab578063f2fde38b1161007a578063f2fde38b14610b8a578063f5aa406d14610baa578063f85aff9414610bca578063f8ebb8fe14610be0578063fa1a5f5914610c0057600080fd5b8063e36b0b3714610af7578063e6d440d414610b0c578063e8812ae314610b2c578063e985e9c514610b4157600080fd5b8063c87b56dd116100e7578063c87b56dd14610a6f578063d93d03cd14610a8f578063dbb84f1114610aaf578063dc504f1314610acf57600080fd5b8063a4ac791514610a06578063b1b6665214610a1c578063b88d4fde14610a3c578063ba41b0c614610a5c57600080fd5b80637bbbf7e91161019b5780638298c94c1161016a5780638298c94c146109705780638da5cb5b1461099d57806395d89b41146109bb5780639668ceb8146109d0578063a22cb465146109e657600080fd5b80637bbbf7e9146108e45780637ea7f28f146109045780637ff9b5961461092457806382370ed71461093957600080fd5b806370a08231116101d757806370a0823114610879578063715018a6146108995780637855b2d9146108ae57806378c5fe37146108ce57600080fd5b80636352211e1461081957806368fc68c7146108395780636e8fbfa01461084e5780636ffa95d61461086357600080fd5b80633011fe6d11610303578063499acc9e11610296578063522fe98e11610265578063522fe98e1461078c57806355e6738d146107b957806355f804b3146107ce57806359d55922146107ee5780635bf5d54c1461080357600080fd5b8063499acc9e1461071c5780634e7f7176146107325780634e99b800146107475780634f9283e11461075c57600080fd5b806342842e0e116102d257806342842e0e146106a75780634324851a146106c757806346c4dc27146106e757806348e342581461070757600080fd5b80633011fe6d1461063c578063311df29a1461065c578063386bfc981461067c5780633ccfd60b1461069257600080fd5b80630c1c972a1161038657806323a1baaa1161035557806323a1baaa1461057b57806323b872dd14610591578063285de8ca146105b15780632b038411146105d15780632d84a94c146105e757600080fd5b80630c1c972a1461050957806311602c131461051e5780631449d3e61461053e57806318160ddd1461055e57600080fd5b8063095ea7b3116103c2578063095ea7b31461049a5780630b7abf77146104ba5780630ba9e31a146104de5780630be71fca146104f357600080fd5b806301ffc9a7146103f457806304c98b2b1461042957806306fdde0314610440578063081812fc14610462575b600080fd5b34801561040057600080fd5b5061041461040f366004612abf565b610c16565b60405190151581526020015b60405180910390f35b34801561043557600080fd5b5061043e610c68565b005b34801561044c57600080fd5b50610455610ca2565b6040516104209190612b34565b34801561046e57600080fd5b5061048261047d366004612b47565b610d34565b6040516001600160a01b039091168152602001610420565b3480156104a657600080fd5b5061043e6104b5366004612b75565b610d78565b3480156104c657600080fd5b506104d061271081565b604051908152602001610420565b3480156104ea57600080fd5b506104d0600481565b3480156104ff57600080fd5b506104d0600b5481565b34801561051557600080fd5b5061043e610e05565b34801561052a57600080fd5b5061043e610539366004612bec565b610e36565b34801561054a57600080fd5b5061043e610559366004612b47565b610f8e565b34801561056a57600080fd5b5060015460005403600019016104d0565b34801561058757600080fd5b506104d060105481565b34801561059d57600080fd5b5061043e6105ac366004612c37565b610fbd565b3480156105bd57600080fd5b506104d06105cc366004612cbe565b610fc8565b3480156105dd57600080fd5b506104d0600d5481565b3480156105f357600080fd5b50610607610602366004612cbe565b61106b565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610420565b34801561064857600080fd5b5061043e610657366004612b47565b6110c2565b34801561066857600080fd5b5061043e610677366004612b47565b6110f1565b34801561068857600080fd5b506104d060145481565b34801561069e57600080fd5b5061043e611120565b3480156106b357600080fd5b5061043e6106c2366004612c37565b611184565b3480156106d357600080fd5b506104d06106e2366004612cbe565b61119f565b3480156106f357600080fd5b5061043e610702366004612b47565b611292565b34801561071357600080fd5b506104d0600081565b34801561072857600080fd5b506104d060125481565b34801561073e57600080fd5b506104d0600381565b34801561075357600080fd5b506104556112c1565b34801561076857600080fd5b50610414610777366004612b47565b600c6020526000908152604090205460ff1681565b34801561079857600080fd5b506104d06107a7366004612d78565b60186020526000908152604090205481565b3480156107c557600080fd5b506104d0600281565b3480156107da57600080fd5b5061043e6107e9366004612d95565b61134f565b3480156107fa57600080fd5b5061043e611385565b34801561080f57600080fd5b506104d060095481565b34801561082557600080fd5b50610482610834366004612b47565b6113b6565b34801561084557600080fd5b506104d0603281565b34801561085a57600080fd5b5061043e6113c8565b34801561086f57600080fd5b506104d060135481565b34801561088557600080fd5b506104d0610894366004612d78565b6113f9565b3480156108a557600080fd5b5061043e611447565b3480156108ba57600080fd5b5061043e6108c9366004612d78565b61147b565b3480156108da57600080fd5b506104d0600e5481565b3480156108f057600080fd5b50600a54610482906001600160a01b031681565b34801561091057600080fd5b5061043e61091f366004612b47565b6114c7565b34801561093057600080fd5b506104d06114f6565b34801561094557600080fd5b50610959610954366004612e06565b611510565b604080519215158352901515602083015201610420565b34801561097c57600080fd5b5061099061098b366004612d78565b6115a9565b6040516104209190612e36565b3480156109a957600080fd5b506008546001600160a01b0316610482565b3480156109c757600080fd5b50610455611808565b3480156109dc57600080fd5b506104d060175481565b3480156109f257600080fd5b5061043e610a01366004612e7a565b611817565b348015610a1257600080fd5b506104d0600f5481565b348015610a2857600080fd5b5061043e610a37366004612bec565b6118ac565b348015610a4857600080fd5b5061043e610a57366004612ead565b611bd4565b61043e610a6a366004612bec565b611c25565b348015610a7b57600080fd5b50610455610a8a366004612b47565b611e1a565b348015610a9b57600080fd5b5061043e610aaa366004612b47565b611e9e565b348015610abb57600080fd5b5061043e610aca366004612b47565b611ecd565b348015610adb57600080fd5b5061048273a04d10c6be637a0ad4c1623a596a6c9d7bf8b97781565b348015610b0357600080fd5b5061043e611efc565b348015610b1857600080fd5b5061043e610b27366004612b47565b611f2d565b348015610b3857600080fd5b506104d0600181565b348015610b4d57600080fd5b50610414610b5c366004612f70565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b9657600080fd5b5061043e610ba5366004612d78565b611f5c565b348015610bb657600080fd5b5061043e610bc5366004612b47565b611ff7565b348015610bd657600080fd5b506104d060115481565b348015610bec57600080fd5b5061043e610bfb366004612bec565b612026565b348015610c0c57600080fd5b506104d060165481565b60006001600160e01b031982166380ac58cd60e01b1480610c4757506001600160e01b03198216635b5e139f60e01b145b80610c6257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b03163314610c9b5760405162461bcd60e51b8152600401610c9290612f9e565b60405180910390fd5b6001600955565b606060028054610cb190612fd3565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90612fd3565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050905090565b6000610d3f82612161565b610d5c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610d83826113b6565b9050806001600160a01b0316836001600160a01b031603610db75760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610dd75750610dd58133610b5c565b155b15610df5576040516367d9dca160e11b815260040160405180910390fd5b610e0083838361219a565b505050565b6008546001600160a01b03163314610e2f5760405162461bcd60e51b8152600401610c9290612f9e565b6002600955565b6008546001600160a01b03163314610e605760405162461bcd60e51b8152600401610c9290612f9e565b6000610e6c8285613023565b905061271081601754601654610e829190613042565b610e8c9190613042565b1115610eaa5760405162461bcd60e51b8152600401610c929061305a565b60125481601654610ebb9190613042565b1115610f235760405162461bcd60e51b815260206004820152603160248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865207075626c6963604482015270081cd85b19481d1bdd185b081b1a5b5a5d607a1b6064820152608401610c92565b60005b82811015610f7057610f5e848483818110610f4357610f436130aa565b9050602002016020810190610f589190612d78565b866121f6565b80610f68816130c0565b915050610f26565b508060166000828254610f839190613042565b909155505050505050565b6008546001600160a01b03163314610fb85760405162461bcd60e51b8152600401610c9290612f9e565b601155565b610e00838383612214565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506002600954148061101757506004600954145b15611026575050601054610c62565b6001600954036110565761103d8360145483612402565b1561104c575050600f54610c62565b6000915050610c62565b60036009540361104c57506127109392505050565b6009546000808080808061107f898961119f565b95506110896114f6565b6016546001600160a01b03909a16600090815260186020526040902054601454989b979a91995090979096612710965090945092505050565b6008546001600160a01b031633146110ec5760405162461bcd60e51b8152600401610c9290612f9e565b600b55565b6008546001600160a01b0316331461111b5760405162461bcd60e51b8152600401610c9290612f9e565b600d55565b6008546001600160a01b0316331461114a5760405162461bcd60e51b8152600401610c9290612f9e565b60405173a04d10c6be637a0ad4c1623a596a6c9d7bf8b977904780156108fc02916000818181858888f1935050505061118257600080fd5b565b610e0083838360405180602001604052806000815250611bd4565b6000806111ac8484610fc8565b90506003600954146111ec576001600160a01b0384166000908152601860205260408120546111dc908390612418565b90506111e88282612434565b9150505b600260095414806111ff57506001600954145b15611228576000611214601254601654612418565b90506112208282612434565b915050611252565b600360095403611252576000611242601354601754612418565b905061124e8282612434565b9150505b600061126f61271060175460165461126a9190613042565b612418565b905061127b8282612434565b915061128982601154612434565b95945050505050565b6008546001600160a01b031633146112bc5760405162461bcd60e51b8152600401610c9290612f9e565b600e55565b601580546112ce90612fd3565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa90612fd3565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b505050505081565b6008546001600160a01b031633146113795760405162461bcd60e51b8152600401610c9290612f9e565b610e0060158383612a10565b6008546001600160a01b031633146113af5760405162461bcd60e51b8152600401610c9290612f9e565b6003600955565b60006113c18261244a565b5192915050565b6008546001600160a01b031633146113f25760405162461bcd60e51b8152600401610c9290612f9e565b6004600955565b60006001600160a01b038216611422576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146114715760405162461bcd60e51b8152600401610c9290612f9e565b6111826000612571565b6008546001600160a01b031633146114a55760405162461bcd60e51b8152600401610c9290612f9e565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146114f15760405162461bcd60e51b8152600401610c9290612f9e565b601355565b60006001600954036115095750600d5490565b50600e5490565b6000828152600c602052604080822054600a5491516331a9108f60e11b81526004810186905260ff90911692916001600160a01b0385811692911690636352211e90602401602060405180830381865afa158015611572573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159691906130d9565b6001600160a01b03161490509250929050565b600a546040516370a0823160e01b81526001600160a01b0383811660048301526060926000928392909116906370a0823190602401602060405180830381865afa1580156115fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161f91906130f6565b905060005b818110156116dc57600a54604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c5990604401602060405180830381865afa15801561167e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a291906130f6565b6000818152600c602052604090205490915060ff166116c957836116c5816130c0565b9450505b50806116d4816130c0565b915050611624565b506000826001600160401b038111156116f7576116f7612c78565b604051908082528060200260200182016040528015611720578160200160208202803683370190505b5090506000805b838110156117fd57600a54604051632f745c5960e01b81526001600160a01b038981166004830152602482018490526000921690632f745c5990604401602060405180830381865afa158015611781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a591906130f6565b6000818152600c602052604090205490915060ff166117ea57808484815181106117d1576117d16130aa565b6020908102919091010152826117e6816130c0565b9350505b50806117f5816130c0565b915050611727565b509095945050505050565b606060038054610cb190612fd3565b336001600160a01b038316036118405760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6003600954146118fe5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206d696e7420746f6b656e7320617420746869732073746167656044820152606401610c92565b600b54819061190d9085613023565b1461195a5760405162461bcd60e51b815260206004820152601f60248201527f496e636f727265637420616d6f756e74206f6620746f6b656e732073656e74006044820152606401610c92565b6127108360175460165461196e9190613042565b6119789190613042565b11156119dc5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420636c61696d206d6f7265207468616e20746865206d6178206160448201526c6c6c6f77656420746f6b656e7360981b6064820152608401610c92565b60005b81811015611bad57600a5433906001600160a01b0316636352211e858585818110611a0c57611a0c6130aa565b905060200201356040518263ffffffff1660e01b8152600401611a3191815260200190565b602060405180830381865afa158015611a4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7291906130d9565b6001600160a01b031614611ac85760405162461bcd60e51b815260206004820152601c60248201527f4d75737420757365206f776e20746f6b656e7320746f20636c61696d000000006044820152606401610c92565b600c6000848484818110611ade57611ade6130aa565b602090810292909201358352508101919091526040016000205460ff1615611b565760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420757365206120746f6b656e20666f7220636c61696d696e6720604482015264747769636560d81b6064820152608401610c92565b6001600c6000858585818110611b6e57611b6e6130aa565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611ba5906130c0565b9150506119df565b50611bb833846121f6565b8260176000828254611bca9190613042565b9091555050505050565b611bdf848484612214565b6001600160a01b0383163b15158015611c015750611bff848484846125c3565b155b15611c1f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b333214611c745760405162461bcd60e51b815260206004820152601d60248201527f43616c6c6572206d757374206e6f74206265206120636f6e74726163740000006044820152606401610c92565b60016009541480611c8757506002600954145b80611c9457506004600954145b611ce05760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206d696e7420746f6b656e7320617420746869732073746167656044820152606401610c92565b82611ce96114f6565b611cf39190613023565b341015611d375760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd08115512081cd95b9d60721b6044820152606401610c92565b611d743383838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061119f92505050565b831115611dd85760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b6064820152608401610c92565b611de233846121f6565b3360009081526018602052604081208054859290611e01908490613042565b925050819055508260166000828254611bca9190613042565b6060611e2582612161565b611e4257604051630a14c4b560e41b815260040160405180910390fd5b6000611e4c6126af565b90508051600003611e6c5760405180602001604052806000815250611e97565b80611e76846126be565b604051602001611e8792919061310f565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314611ec85760405162461bcd60e51b8152600401610c9290612f9e565b601255565b6008546001600160a01b03163314611ef75760405162461bcd60e51b8152600401610c9290612f9e565b601055565b6008546001600160a01b03163314611f265760405162461bcd60e51b8152600401610c9290612f9e565b6000600955565b6008546001600160a01b03163314611f575760405162461bcd60e51b8152600401610c9290612f9e565b600f55565b6008546001600160a01b03163314611f865760405162461bcd60e51b8152600401610c9290612f9e565b6001600160a01b038116611feb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c92565b611ff481612571565b50565b6008546001600160a01b031633146120215760405162461bcd60e51b8152600401610c9290612f9e565b601455565b6008546001600160a01b031633146120505760405162461bcd60e51b8152600401610c9290612f9e565b600061205c8285613023565b9050612710816017546016546120729190613042565b61207c9190613042565b111561209a5760405162461bcd60e51b8152600401610c929061305a565b601354816017546120ab9190613042565b111561210d5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f74206d696e74206d6f7265207468616e2074686520636c61696d2060448201526a1d1bdd185b081b1a5b5a5d60aa1b6064820152608401610c92565b60005b8281101561213f5761212d848483818110610f4357610f436130aa565b80612137816130c0565b915050612110565b508060176000828254610f839190613042565b6001600160a01b03163b151590565b600081600111158015612175575060005482105b8015610c62575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6122108282604051806020016040528060008152506127be565b5050565b600061221f8261244a565b9050836001600160a01b031681600001516001600160a01b0316146122565760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061227457506122748533610b5c565b8061228f57503361228484610d34565b6001600160a01b0316145b9050806122af57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166122d657604051633a954ecd60e21b815260040160405180910390fd5b6122e26000848761219a565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166123b65760005482146123b657805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008261240f85846127cb565b14949350505050565b60008183101561242a57506000610c62565b611e97828461313e565b60008183106124435781611e97565b5090919050565b6040805160608101825260008082526020820181905291810191909152818060011115801561247a575060005481105b1561255857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906125565780516001600160a01b0316156124ed579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612551579392505050565b6124ed565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906125f8903390899088908890600401613155565b6020604051808303816000875af1925050508015612633575060408051601f3d908101601f1916820190925261263091810190613192565b60015b612691573d808015612661576040519150601f19603f3d011682016040523d82523d6000602084013e612666565b606091505b508051600003612689576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060158054610cb190612fd3565b6060816000036126e55750506040805180820190915260018152600360fc1b602082015290565b8160005b811561270f57806126f9816130c0565b91506127089050600a836131c5565b91506126e9565b6000816001600160401b0381111561272957612729612c78565b6040519080825280601f01601f191660200182016040528015612753576020820181803683370190505b5090505b84156126a75761276860018361313e565b9150612775600a866131d9565b612780906030613042565b60f81b818381518110612795576127956130aa565b60200101906001600160f81b031916908160001a9053506127b7600a866131c5565b9450612757565b610e00838383600161283f565b600081815b84518110156128375760008582815181106127ed576127ed6130aa565b602002602001015190508083116128135760008381526020829052604090209250612824565b600081815260208490526040902092505b508061282f816130c0565b9150506127d0565b509392505050565b6000546001600160a01b03851661286857604051622e076360e81b815260040160405180910390fd5b836000036128895760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561293a57506001600160a01b0387163b15155b156129c2575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461298b60008884806001019550886125c3565b6129a8576040516368d2bf6b60e11b815260040160405180910390fd5b8082036129405782600054146129bd57600080fd5b612a07565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036129c3575b506000556123fb565b828054612a1c90612fd3565b90600052602060002090601f016020900481019282612a3e5760008555612a84565b82601f10612a575782800160ff19823516178555612a84565b82800160010185558215612a84579182015b82811115612a84578235825591602001919060010190612a69565b50612a90929150612a94565b5090565b5b80821115612a905760008155600101612a95565b6001600160e01b031981168114611ff457600080fd5b600060208284031215612ad157600080fd5b8135611e9781612aa9565b60005b83811015612af7578181015183820152602001612adf565b83811115611c1f5750506000910152565b60008151808452612b20816020860160208601612adc565b601f01601f19169290920160200192915050565b602081526000611e976020830184612b08565b600060208284031215612b5957600080fd5b5035919050565b6001600160a01b0381168114611ff457600080fd5b60008060408385031215612b8857600080fd5b8235612b9381612b60565b946020939093013593505050565b60008083601f840112612bb357600080fd5b5081356001600160401b03811115612bca57600080fd5b6020830191508360208260051b8501011115612be557600080fd5b9250929050565b600080600060408486031215612c0157600080fd5b8335925060208401356001600160401b03811115612c1e57600080fd5b612c2a86828701612ba1565b9497909650939450505050565b600080600060608486031215612c4c57600080fd5b8335612c5781612b60565b92506020840135612c6781612b60565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612cb657612cb6612c78565b604052919050565b60008060408385031215612cd157600080fd5b8235612cdc81612b60565b91506020838101356001600160401b0380821115612cf957600080fd5b818601915086601f830112612d0d57600080fd5b813581811115612d1f57612d1f612c78565b8060051b9150612d30848301612c8e565b8181529183018401918481019089841115612d4a57600080fd5b938501935b83851015612d6857843582529385019390850190612d4f565b8096505050505050509250929050565b600060208284031215612d8a57600080fd5b8135611e9781612b60565b60008060208385031215612da857600080fd5b82356001600160401b0380821115612dbf57600080fd5b818501915085601f830112612dd357600080fd5b813581811115612de257600080fd5b866020828501011115612df457600080fd5b60209290920196919550909350505050565b60008060408385031215612e1957600080fd5b823591506020830135612e2b81612b60565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612e6e57835183529284019291840191600101612e52565b50909695505050505050565b60008060408385031215612e8d57600080fd5b8235612e9881612b60565b915060208301358015158114612e2b57600080fd5b60008060008060808587031215612ec357600080fd5b8435612ece81612b60565b9350602085810135612edf81612b60565b93506040860135925060608601356001600160401b0380821115612f0257600080fd5b818801915088601f830112612f1657600080fd5b813581811115612f2857612f28612c78565b612f3a601f8201601f19168501612c8e565b91508082528984828501011115612f5057600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612f8357600080fd5b8235612f8e81612b60565b91506020830135612e2b81612b60565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612fe757607f821691505b60208210810361300757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561303d5761303d61300d565b500290565b600082198211156130555761305561300d565b500190565b60208082526030908201527f43616e6e6f74206d696e74206d6f7265207468616e2074686520746f74616c2060408201526f616d6f756e74206f6620746f6b656e7360801b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016130d2576130d261300d565b5060010190565b6000602082840312156130eb57600080fd5b8151611e9781612b60565b60006020828403121561310857600080fd5b5051919050565b60008351613121818460208801612adc565b835190830190613135818360208801612adc565b01949350505050565b6000828210156131505761315061300d565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061318890830184612b08565b9695505050505050565b6000602082840312156131a457600080fd5b8151611e9781612aa9565b634e487b7160e01b600052601260045260246000fd5b6000826131d4576131d46131af565b500490565b6000826131e8576131e86131af565b50069056fea26469706673582212206fc3e7c34fa0e5c2fc5742cf1c1488310903c543d0dbce68e55d2600ea9eb0c764736f6c634300080d0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef697066733a2f2f516d61325a52693374796a4e5250674d6d7a63647034726e58724e75564d3350625353516e3159764637756e4d792f

Deployed Bytecode

0x6080604052600436106103ef5760003560e01c80636352211e11610208578063a4ac791511610118578063e36b0b37116100ab578063f2fde38b1161007a578063f2fde38b14610b8a578063f5aa406d14610baa578063f85aff9414610bca578063f8ebb8fe14610be0578063fa1a5f5914610c0057600080fd5b8063e36b0b3714610af7578063e6d440d414610b0c578063e8812ae314610b2c578063e985e9c514610b4157600080fd5b8063c87b56dd116100e7578063c87b56dd14610a6f578063d93d03cd14610a8f578063dbb84f1114610aaf578063dc504f1314610acf57600080fd5b8063a4ac791514610a06578063b1b6665214610a1c578063b88d4fde14610a3c578063ba41b0c614610a5c57600080fd5b80637bbbf7e91161019b5780638298c94c1161016a5780638298c94c146109705780638da5cb5b1461099d57806395d89b41146109bb5780639668ceb8146109d0578063a22cb465146109e657600080fd5b80637bbbf7e9146108e45780637ea7f28f146109045780637ff9b5961461092457806382370ed71461093957600080fd5b806370a08231116101d757806370a0823114610879578063715018a6146108995780637855b2d9146108ae57806378c5fe37146108ce57600080fd5b80636352211e1461081957806368fc68c7146108395780636e8fbfa01461084e5780636ffa95d61461086357600080fd5b80633011fe6d11610303578063499acc9e11610296578063522fe98e11610265578063522fe98e1461078c57806355e6738d146107b957806355f804b3146107ce57806359d55922146107ee5780635bf5d54c1461080357600080fd5b8063499acc9e1461071c5780634e7f7176146107325780634e99b800146107475780634f9283e11461075c57600080fd5b806342842e0e116102d257806342842e0e146106a75780634324851a146106c757806346c4dc27146106e757806348e342581461070757600080fd5b80633011fe6d1461063c578063311df29a1461065c578063386bfc981461067c5780633ccfd60b1461069257600080fd5b80630c1c972a1161038657806323a1baaa1161035557806323a1baaa1461057b57806323b872dd14610591578063285de8ca146105b15780632b038411146105d15780632d84a94c146105e757600080fd5b80630c1c972a1461050957806311602c131461051e5780631449d3e61461053e57806318160ddd1461055e57600080fd5b8063095ea7b3116103c2578063095ea7b31461049a5780630b7abf77146104ba5780630ba9e31a146104de5780630be71fca146104f357600080fd5b806301ffc9a7146103f457806304c98b2b1461042957806306fdde0314610440578063081812fc14610462575b600080fd5b34801561040057600080fd5b5061041461040f366004612abf565b610c16565b60405190151581526020015b60405180910390f35b34801561043557600080fd5b5061043e610c68565b005b34801561044c57600080fd5b50610455610ca2565b6040516104209190612b34565b34801561046e57600080fd5b5061048261047d366004612b47565b610d34565b6040516001600160a01b039091168152602001610420565b3480156104a657600080fd5b5061043e6104b5366004612b75565b610d78565b3480156104c657600080fd5b506104d061271081565b604051908152602001610420565b3480156104ea57600080fd5b506104d0600481565b3480156104ff57600080fd5b506104d0600b5481565b34801561051557600080fd5b5061043e610e05565b34801561052a57600080fd5b5061043e610539366004612bec565b610e36565b34801561054a57600080fd5b5061043e610559366004612b47565b610f8e565b34801561056a57600080fd5b5060015460005403600019016104d0565b34801561058757600080fd5b506104d060105481565b34801561059d57600080fd5b5061043e6105ac366004612c37565b610fbd565b3480156105bd57600080fd5b506104d06105cc366004612cbe565b610fc8565b3480156105dd57600080fd5b506104d0600d5481565b3480156105f357600080fd5b50610607610602366004612cbe565b61106b565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610420565b34801561064857600080fd5b5061043e610657366004612b47565b6110c2565b34801561066857600080fd5b5061043e610677366004612b47565b6110f1565b34801561068857600080fd5b506104d060145481565b34801561069e57600080fd5b5061043e611120565b3480156106b357600080fd5b5061043e6106c2366004612c37565b611184565b3480156106d357600080fd5b506104d06106e2366004612cbe565b61119f565b3480156106f357600080fd5b5061043e610702366004612b47565b611292565b34801561071357600080fd5b506104d0600081565b34801561072857600080fd5b506104d060125481565b34801561073e57600080fd5b506104d0600381565b34801561075357600080fd5b506104556112c1565b34801561076857600080fd5b50610414610777366004612b47565b600c6020526000908152604090205460ff1681565b34801561079857600080fd5b506104d06107a7366004612d78565b60186020526000908152604090205481565b3480156107c557600080fd5b506104d0600281565b3480156107da57600080fd5b5061043e6107e9366004612d95565b61134f565b3480156107fa57600080fd5b5061043e611385565b34801561080f57600080fd5b506104d060095481565b34801561082557600080fd5b50610482610834366004612b47565b6113b6565b34801561084557600080fd5b506104d0603281565b34801561085a57600080fd5b5061043e6113c8565b34801561086f57600080fd5b506104d060135481565b34801561088557600080fd5b506104d0610894366004612d78565b6113f9565b3480156108a557600080fd5b5061043e611447565b3480156108ba57600080fd5b5061043e6108c9366004612d78565b61147b565b3480156108da57600080fd5b506104d0600e5481565b3480156108f057600080fd5b50600a54610482906001600160a01b031681565b34801561091057600080fd5b5061043e61091f366004612b47565b6114c7565b34801561093057600080fd5b506104d06114f6565b34801561094557600080fd5b50610959610954366004612e06565b611510565b604080519215158352901515602083015201610420565b34801561097c57600080fd5b5061099061098b366004612d78565b6115a9565b6040516104209190612e36565b3480156109a957600080fd5b506008546001600160a01b0316610482565b3480156109c757600080fd5b50610455611808565b3480156109dc57600080fd5b506104d060175481565b3480156109f257600080fd5b5061043e610a01366004612e7a565b611817565b348015610a1257600080fd5b506104d0600f5481565b348015610a2857600080fd5b5061043e610a37366004612bec565b6118ac565b348015610a4857600080fd5b5061043e610a57366004612ead565b611bd4565b61043e610a6a366004612bec565b611c25565b348015610a7b57600080fd5b50610455610a8a366004612b47565b611e1a565b348015610a9b57600080fd5b5061043e610aaa366004612b47565b611e9e565b348015610abb57600080fd5b5061043e610aca366004612b47565b611ecd565b348015610adb57600080fd5b5061048273a04d10c6be637a0ad4c1623a596a6c9d7bf8b97781565b348015610b0357600080fd5b5061043e611efc565b348015610b1857600080fd5b5061043e610b27366004612b47565b611f2d565b348015610b3857600080fd5b506104d0600181565b348015610b4d57600080fd5b50610414610b5c366004612f70565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b9657600080fd5b5061043e610ba5366004612d78565b611f5c565b348015610bb657600080fd5b5061043e610bc5366004612b47565b611ff7565b348015610bd657600080fd5b506104d060115481565b348015610bec57600080fd5b5061043e610bfb366004612bec565b612026565b348015610c0c57600080fd5b506104d060165481565b60006001600160e01b031982166380ac58cd60e01b1480610c4757506001600160e01b03198216635b5e139f60e01b145b80610c6257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b03163314610c9b5760405162461bcd60e51b8152600401610c9290612f9e565b60405180910390fd5b6001600955565b606060028054610cb190612fd3565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90612fd3565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050905090565b6000610d3f82612161565b610d5c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610d83826113b6565b9050806001600160a01b0316836001600160a01b031603610db75760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610dd75750610dd58133610b5c565b155b15610df5576040516367d9dca160e11b815260040160405180910390fd5b610e0083838361219a565b505050565b6008546001600160a01b03163314610e2f5760405162461bcd60e51b8152600401610c9290612f9e565b6002600955565b6008546001600160a01b03163314610e605760405162461bcd60e51b8152600401610c9290612f9e565b6000610e6c8285613023565b905061271081601754601654610e829190613042565b610e8c9190613042565b1115610eaa5760405162461bcd60e51b8152600401610c929061305a565b60125481601654610ebb9190613042565b1115610f235760405162461bcd60e51b815260206004820152603160248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865207075626c6963604482015270081cd85b19481d1bdd185b081b1a5b5a5d607a1b6064820152608401610c92565b60005b82811015610f7057610f5e848483818110610f4357610f436130aa565b9050602002016020810190610f589190612d78565b866121f6565b80610f68816130c0565b915050610f26565b508060166000828254610f839190613042565b909155505050505050565b6008546001600160a01b03163314610fb85760405162461bcd60e51b8152600401610c9290612f9e565b601155565b610e00838383612214565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506002600954148061101757506004600954145b15611026575050601054610c62565b6001600954036110565761103d8360145483612402565b1561104c575050600f54610c62565b6000915050610c62565b60036009540361104c57506127109392505050565b6009546000808080808061107f898961119f565b95506110896114f6565b6016546001600160a01b03909a16600090815260186020526040902054601454989b979a91995090979096612710965090945092505050565b6008546001600160a01b031633146110ec5760405162461bcd60e51b8152600401610c9290612f9e565b600b55565b6008546001600160a01b0316331461111b5760405162461bcd60e51b8152600401610c9290612f9e565b600d55565b6008546001600160a01b0316331461114a5760405162461bcd60e51b8152600401610c9290612f9e565b60405173a04d10c6be637a0ad4c1623a596a6c9d7bf8b977904780156108fc02916000818181858888f1935050505061118257600080fd5b565b610e0083838360405180602001604052806000815250611bd4565b6000806111ac8484610fc8565b90506003600954146111ec576001600160a01b0384166000908152601860205260408120546111dc908390612418565b90506111e88282612434565b9150505b600260095414806111ff57506001600954145b15611228576000611214601254601654612418565b90506112208282612434565b915050611252565b600360095403611252576000611242601354601754612418565b905061124e8282612434565b9150505b600061126f61271060175460165461126a9190613042565b612418565b905061127b8282612434565b915061128982601154612434565b95945050505050565b6008546001600160a01b031633146112bc5760405162461bcd60e51b8152600401610c9290612f9e565b600e55565b601580546112ce90612fd3565b80601f01602080910402602001604051908101604052809291908181526020018280546112fa90612fd3565b80156113475780601f1061131c57610100808354040283529160200191611347565b820191906000526020600020905b81548152906001019060200180831161132a57829003601f168201915b505050505081565b6008546001600160a01b031633146113795760405162461bcd60e51b8152600401610c9290612f9e565b610e0060158383612a10565b6008546001600160a01b031633146113af5760405162461bcd60e51b8152600401610c9290612f9e565b6003600955565b60006113c18261244a565b5192915050565b6008546001600160a01b031633146113f25760405162461bcd60e51b8152600401610c9290612f9e565b6004600955565b60006001600160a01b038216611422576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146114715760405162461bcd60e51b8152600401610c9290612f9e565b6111826000612571565b6008546001600160a01b031633146114a55760405162461bcd60e51b8152600401610c9290612f9e565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146114f15760405162461bcd60e51b8152600401610c9290612f9e565b601355565b60006001600954036115095750600d5490565b50600e5490565b6000828152600c602052604080822054600a5491516331a9108f60e11b81526004810186905260ff90911692916001600160a01b0385811692911690636352211e90602401602060405180830381865afa158015611572573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159691906130d9565b6001600160a01b03161490509250929050565b600a546040516370a0823160e01b81526001600160a01b0383811660048301526060926000928392909116906370a0823190602401602060405180830381865afa1580156115fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161f91906130f6565b905060005b818110156116dc57600a54604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c5990604401602060405180830381865afa15801561167e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a291906130f6565b6000818152600c602052604090205490915060ff166116c957836116c5816130c0565b9450505b50806116d4816130c0565b915050611624565b506000826001600160401b038111156116f7576116f7612c78565b604051908082528060200260200182016040528015611720578160200160208202803683370190505b5090506000805b838110156117fd57600a54604051632f745c5960e01b81526001600160a01b038981166004830152602482018490526000921690632f745c5990604401602060405180830381865afa158015611781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a591906130f6565b6000818152600c602052604090205490915060ff166117ea57808484815181106117d1576117d16130aa565b6020908102919091010152826117e6816130c0565b9350505b50806117f5816130c0565b915050611727565b509095945050505050565b606060038054610cb190612fd3565b336001600160a01b038316036118405760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6003600954146118fe5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206d696e7420746f6b656e7320617420746869732073746167656044820152606401610c92565b600b54819061190d9085613023565b1461195a5760405162461bcd60e51b815260206004820152601f60248201527f496e636f727265637420616d6f756e74206f6620746f6b656e732073656e74006044820152606401610c92565b6127108360175460165461196e9190613042565b6119789190613042565b11156119dc5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420636c61696d206d6f7265207468616e20746865206d6178206160448201526c6c6c6f77656420746f6b656e7360981b6064820152608401610c92565b60005b81811015611bad57600a5433906001600160a01b0316636352211e858585818110611a0c57611a0c6130aa565b905060200201356040518263ffffffff1660e01b8152600401611a3191815260200190565b602060405180830381865afa158015611a4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7291906130d9565b6001600160a01b031614611ac85760405162461bcd60e51b815260206004820152601c60248201527f4d75737420757365206f776e20746f6b656e7320746f20636c61696d000000006044820152606401610c92565b600c6000848484818110611ade57611ade6130aa565b602090810292909201358352508101919091526040016000205460ff1615611b565760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420757365206120746f6b656e20666f7220636c61696d696e6720604482015264747769636560d81b6064820152608401610c92565b6001600c6000858585818110611b6e57611b6e6130aa565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611ba5906130c0565b9150506119df565b50611bb833846121f6565b8260176000828254611bca9190613042565b9091555050505050565b611bdf848484612214565b6001600160a01b0383163b15158015611c015750611bff848484846125c3565b155b15611c1f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b333214611c745760405162461bcd60e51b815260206004820152601d60248201527f43616c6c6572206d757374206e6f74206265206120636f6e74726163740000006044820152606401610c92565b60016009541480611c8757506002600954145b80611c9457506004600954145b611ce05760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74206d696e7420746f6b656e7320617420746869732073746167656044820152606401610c92565b82611ce96114f6565b611cf39190613023565b341015611d375760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd08115512081cd95b9d60721b6044820152606401610c92565b611d743383838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061119f92505050565b831115611dd85760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b6064820152608401610c92565b611de233846121f6565b3360009081526018602052604081208054859290611e01908490613042565b925050819055508260166000828254611bca9190613042565b6060611e2582612161565b611e4257604051630a14c4b560e41b815260040160405180910390fd5b6000611e4c6126af565b90508051600003611e6c5760405180602001604052806000815250611e97565b80611e76846126be565b604051602001611e8792919061310f565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314611ec85760405162461bcd60e51b8152600401610c9290612f9e565b601255565b6008546001600160a01b03163314611ef75760405162461bcd60e51b8152600401610c9290612f9e565b601055565b6008546001600160a01b03163314611f265760405162461bcd60e51b8152600401610c9290612f9e565b6000600955565b6008546001600160a01b03163314611f575760405162461bcd60e51b8152600401610c9290612f9e565b600f55565b6008546001600160a01b03163314611f865760405162461bcd60e51b8152600401610c9290612f9e565b6001600160a01b038116611feb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c92565b611ff481612571565b50565b6008546001600160a01b031633146120215760405162461bcd60e51b8152600401610c9290612f9e565b601455565b6008546001600160a01b031633146120505760405162461bcd60e51b8152600401610c9290612f9e565b600061205c8285613023565b9050612710816017546016546120729190613042565b61207c9190613042565b111561209a5760405162461bcd60e51b8152600401610c929061305a565b601354816017546120ab9190613042565b111561210d5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f74206d696e74206d6f7265207468616e2074686520636c61696d2060448201526a1d1bdd185b081b1a5b5a5d60aa1b6064820152608401610c92565b60005b8281101561213f5761212d848483818110610f4357610f436130aa565b80612137816130c0565b915050612110565b508060176000828254610f839190613042565b6001600160a01b03163b151590565b600081600111158015612175575060005482105b8015610c62575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6122108282604051806020016040528060008152506127be565b5050565b600061221f8261244a565b9050836001600160a01b031681600001516001600160a01b0316146122565760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061227457506122748533610b5c565b8061228f57503361228484610d34565b6001600160a01b0316145b9050806122af57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166122d657604051633a954ecd60e21b815260040160405180910390fd5b6122e26000848761219a565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166123b65760005482146123b657805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008261240f85846127cb565b14949350505050565b60008183101561242a57506000610c62565b611e97828461313e565b60008183106124435781611e97565b5090919050565b6040805160608101825260008082526020820181905291810191909152818060011115801561247a575060005481105b1561255857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906125565780516001600160a01b0316156124ed579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612551579392505050565b6124ed565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906125f8903390899088908890600401613155565b6020604051808303816000875af1925050508015612633575060408051601f3d908101601f1916820190925261263091810190613192565b60015b612691573d808015612661576040519150601f19603f3d011682016040523d82523d6000602084013e612666565b606091505b508051600003612689576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060158054610cb190612fd3565b6060816000036126e55750506040805180820190915260018152600360fc1b602082015290565b8160005b811561270f57806126f9816130c0565b91506127089050600a836131c5565b91506126e9565b6000816001600160401b0381111561272957612729612c78565b6040519080825280601f01601f191660200182016040528015612753576020820181803683370190505b5090505b84156126a75761276860018361313e565b9150612775600a866131d9565b612780906030613042565b60f81b818381518110612795576127956130aa565b60200101906001600160f81b031916908160001a9053506127b7600a866131c5565b9450612757565b610e00838383600161283f565b600081815b84518110156128375760008582815181106127ed576127ed6130aa565b602002602001015190508083116128135760008381526020829052604090209250612824565b600081815260208490526040902092505b508061282f816130c0565b9150506127d0565b509392505050565b6000546001600160a01b03851661286857604051622e076360e81b815260040160405180910390fd5b836000036128895760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561293a57506001600160a01b0387163b15155b156129c2575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461298b60008884806001019550886125c3565b6129a8576040516368d2bf6b60e11b815260040160405180910390fd5b8082036129405782600054146129bd57600080fd5b612a07565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036129c3575b506000556123fb565b828054612a1c90612fd3565b90600052602060002090601f016020900481019282612a3e5760008555612a84565b82601f10612a575782800160ff19823516178555612a84565b82800160010185558215612a84579182015b82811115612a84578235825591602001919060010190612a69565b50612a90929150612a94565b5090565b5b80821115612a905760008155600101612a95565b6001600160e01b031981168114611ff457600080fd5b600060208284031215612ad157600080fd5b8135611e9781612aa9565b60005b83811015612af7578181015183820152602001612adf565b83811115611c1f5750506000910152565b60008151808452612b20816020860160208601612adc565b601f01601f19169290920160200192915050565b602081526000611e976020830184612b08565b600060208284031215612b5957600080fd5b5035919050565b6001600160a01b0381168114611ff457600080fd5b60008060408385031215612b8857600080fd5b8235612b9381612b60565b946020939093013593505050565b60008083601f840112612bb357600080fd5b5081356001600160401b03811115612bca57600080fd5b6020830191508360208260051b8501011115612be557600080fd5b9250929050565b600080600060408486031215612c0157600080fd5b8335925060208401356001600160401b03811115612c1e57600080fd5b612c2a86828701612ba1565b9497909650939450505050565b600080600060608486031215612c4c57600080fd5b8335612c5781612b60565b92506020840135612c6781612b60565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612cb657612cb6612c78565b604052919050565b60008060408385031215612cd157600080fd5b8235612cdc81612b60565b91506020838101356001600160401b0380821115612cf957600080fd5b818601915086601f830112612d0d57600080fd5b813581811115612d1f57612d1f612c78565b8060051b9150612d30848301612c8e565b8181529183018401918481019089841115612d4a57600080fd5b938501935b83851015612d6857843582529385019390850190612d4f565b8096505050505050509250929050565b600060208284031215612d8a57600080fd5b8135611e9781612b60565b60008060208385031215612da857600080fd5b82356001600160401b0380821115612dbf57600080fd5b818501915085601f830112612dd357600080fd5b813581811115612de257600080fd5b866020828501011115612df457600080fd5b60209290920196919550909350505050565b60008060408385031215612e1957600080fd5b823591506020830135612e2b81612b60565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612e6e57835183529284019291840191600101612e52565b50909695505050505050565b60008060408385031215612e8d57600080fd5b8235612e9881612b60565b915060208301358015158114612e2b57600080fd5b60008060008060808587031215612ec357600080fd5b8435612ece81612b60565b9350602085810135612edf81612b60565b93506040860135925060608601356001600160401b0380821115612f0257600080fd5b818801915088601f830112612f1657600080fd5b813581811115612f2857612f28612c78565b612f3a601f8201601f19168501612c8e565b91508082528984828501011115612f5057600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612f8357600080fd5b8235612f8e81612b60565b91506020830135612e2b81612b60565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612fe757607f821691505b60208210810361300757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561303d5761303d61300d565b500290565b600082198211156130555761305561300d565b500190565b60208082526030908201527f43616e6e6f74206d696e74206d6f7265207468616e2074686520746f74616c2060408201526f616d6f756e74206f6620746f6b656e7360801b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016130d2576130d261300d565b5060010190565b6000602082840312156130eb57600080fd5b8151611e9781612b60565b60006020828403121561310857600080fd5b5051919050565b60008351613121818460208801612adc565b835190830190613135818360208801612adc565b01949350505050565b6000828210156131505761315061300d565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061318890830184612b08565b9695505050505050565b6000602082840312156131a457600080fd5b8151611e9781612aa9565b634e487b7160e01b600052601260045260246000fd5b6000826131d4576131d46131af565b500490565b6000826131e8576131e86131af565b50069056fea26469706673582212206fc3e7c34fa0e5c2fc5742cf1c1488310903c543d0dbce68e55d2600ea9eb0c764736f6c634300080d0033

Deployed Bytecode Sourcemap

48073:11140:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29394:305;;;;;;;;;;-1:-1:-1;29394:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;29394:305:0;;;;;;;;49902:90;;;;;;;;;;;;;:::i;:::-;;32507:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34010:204::-;;;;;;;;;;-1:-1:-1;34010:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;34010:204:0;1528:203:1;33573:371:0;;;;;;;;;;-1:-1:-1;33573:371:0;;;;;:::i;:::-;;:::i;48200:44::-;;;;;;;;;;;;48239:5;48200:44;;;;;2338:25:1;;;2326:2;2311:18;48200:44:0;2192:177:1;48552:48:0;;;;;;;;;;;;48599:1;48552:48;;48737:51;;;;;;;;;;;;;;;;50000:92;;;;;;;;;;;;;:::i;55283:675::-;;;;;;;;;;-1:-1:-1;55283:675:0;;;;;:::i;:::-;;:::i;50811:116::-;;;;;;;;;;-1:-1:-1;50811:116:0;;;;;:::i;:::-;;:::i;28643:303::-;;;;;;;;;;-1:-1:-1;49791:1:0;28897:12;28687:7;28881:13;:28;-1:-1:-1;;28881:46:0;28643:303;;49009:38;;;;;;;;;;;;;;;;34875:170;;;;;;;;;;-1:-1:-1;34875:170:0;;;;;:::i;:::-;;:::i;51713:702::-;;;;;;;;;;-1:-1:-1;51713:702:0;;;;;:::i;:::-;;:::i;48848:45::-;;;;;;;;;;;;;;;;53864:708;;;;;;;;;;-1:-1:-1;53864:708:0;;;;;:::i;:::-;;:::i;:::-;;;;5530:25:1;;;5586:2;5571:18;;5564:34;;;;5614:18;;;5607:34;;;;5672:2;5657:18;;5650:34;;;;5715:3;5700:19;;5693:35;5759:3;5744:19;;5737:35;5803:3;5788:19;;5781:35;5517:3;5502:19;53864:708:0;5215:607:1;50416:157:0;;;;;;;;;;-1:-1:-1;50416:157:0;;;;;:::i;:::-;;:::i;50581:104::-;;;;;;;;;;-1:-1:-1;50581:104:0;;;;;:::i;:::-;;:::i;49218:28::-;;;;;;;;;;;;;;;;58969:127;;;;;;;;;;;;;:::i;35116:185::-;;;;;;;;;;-1:-1:-1;35116:185:0;;;;;:::i;:::-;;:::i;52589:1267::-;;;;;;;;;;-1:-1:-1;52589:1267:0;;;;;:::i;:::-;;:::i;50693:110::-;;;;;;;;;;-1:-1:-1;50693:110:0;;;;;:::i;:::-;;:::i;48363:41::-;;;;;;;;;;;;48403:1;48363:41;;49123:42;;;;;;;;;;;;;;;;48506:39;;;;;;;;;;;;48544:1;48506:39;;49255:85;;;;;;;;;;;;;:::i;48795:44::-;;;;;;;;;;-1:-1:-1;48795:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;49428;;;;;;;;;;-1:-1:-1;49428:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;48459:40;;;;;;;;;;;;48498:1;48459:40;;58864:97;;;;;;;;;;-1:-1:-1;58864:97:0;;;;;:::i;:::-;;:::i;50100:94::-;;;;;;;;;;;;;:::i;48607:43::-;;;;;;;;;;;;;;;;32315:125;;;;;;;;;;-1:-1:-1;32315:125:0;;;;;:::i;:::-;;:::i;48149:44::-;;;;;;;;;;;;48191:2;48149:44;;50202:104;;;;;;;;;;;;;:::i;49172:37::-;;;;;;;;;;;;;;;;29763:206;;;;;;;;;;-1:-1:-1;29763:206:0;;;;;:::i;:::-;;:::i;7152:103::-;;;;;;;;;;;;;:::i;50314:94::-;;;;;;;;;;-1:-1:-1;50314:94:0;;;;;:::i;:::-;;:::i;48900:48::-;;;;;;;;;;;;;;;;48659:71;;;;;;;;;;-1:-1:-1;48659:71:0;;;;-1:-1:-1;;;;;48659:71:0;;;51403:100;;;;;;;;;;-1:-1:-1;51403:100:0;;;;;:::i;:::-;;:::i;51511:194::-;;;;;;;;;;;;;:::i;58473:220::-;;;;;;;;;;-1:-1:-1;58473:220:0;;;;;:::i;:::-;;:::i;:::-;;;;7365:14:1;;7358:22;7340:41;;7424:14;;7417:22;7412:2;7397:18;;7390:50;7313:18;58473:220:0;7178:268:1;57674:791:0;;;;;;;;;;-1:-1:-1;57674:791:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6501:87::-;;;;;;;;;;-1:-1:-1;6574:6:0;;-1:-1:-1;;;;;6574:6:0;6501:87;;32676:104;;;;;;;;;;;;;:::i;49389:32::-;;;;;;;;;;;;;;;;34286:287;;;;;;;;;;-1:-1:-1;34286:287:0;;;;;:::i;:::-;;:::i;48957:45::-;;;;;;;;;;;;;;;;56643:1023;;;;;;;;;;-1:-1:-1;56643:1023:0;;;;;:::i;:::-;;:::i;35372:369::-;;;;;;;;;;-1:-1:-1;35372:369:0;;;;;:::i;:::-;;:::i;54580:695::-;;;;;;:::i;:::-;;:::i;32851:318::-;;;;;;;;;;-1:-1:-1;32851:318:0;;;;;:::i;:::-;;:::i;51285:110::-;;;;;;;;;;-1:-1:-1;51285:110:0;;;;;:::i;:::-;;:::i;51065:108::-;;;;;;;;;;-1:-1:-1;51065:108:0;;;;;:::i;:::-;;:::i;48253:101::-;;;;;;;;;;;;48312:42;48253:101;;49808:86;;;;;;;;;;;;;:::i;50935:122::-;;;;;;;;;;-1:-1:-1;50935:122:0;;;;;:::i;:::-;;:::i;48411:41::-;;;;;;;;;;;;48451:1;48411:41;;34644:164;;;;;;;;;;-1:-1:-1;34644:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34765:25:0;;;34741:4;34765:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34644:164;7410:201;;;;;;;;;;-1:-1:-1;7410:201:0;;;;;:::i;:::-;;:::i;51181:96::-;;;;;;;;;;-1:-1:-1;51181:96:0;;;;;:::i;:::-;;:::i;49054:60::-;;;;;;;;;;;;;;;;55966:669;;;;;;;;;;-1:-1:-1;55966:669:0;;;;;:::i;:::-;;:::i;49353:29::-;;;;;;;;;;;;;;;;29394:305;29496:4;-1:-1:-1;;;;;;29533:40:0;;-1:-1:-1;;;29533:40:0;;:105;;-1:-1:-1;;;;;;;29590:48:0;;-1:-1:-1;;;29590:48:0;29533:105;:158;;;-1:-1:-1;;;;;;;;;;19394:40:0;;;29655:36;29513:178;29394:305;-1:-1:-1;;29394:305:0:o;49902:90::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;;;;;;;;;48451:1:::1;49956:12;:28:::0;49902:90::o;32507:100::-;32561:13;32594:5;32587:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32507:100;:::o;34010:204::-;34078:7;34103:16;34111:7;34103;:16::i;:::-;34098:64;;34128:34;;-1:-1:-1;;;34128:34:0;;;;;;;;;;;34098:64;-1:-1:-1;34182:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34182:24:0;;34010:204::o;33573:371::-;33646:13;33662:24;33678:7;33662:15;:24::i;:::-;33646:40;;33707:5;-1:-1:-1;;;;;33701:11:0;:2;-1:-1:-1;;;;;33701:11:0;;33697:48;;33721:24;;-1:-1:-1;;;33721:24:0;;;;;;;;;;;33697:48;5305:10;-1:-1:-1;;;;;33762:21:0;;;;;;:63;;-1:-1:-1;33788:37:0;33805:5;5305:10;34644:164;:::i;33788:37::-;33787:38;33762:63;33758:138;;;33849:35;;-1:-1:-1;;;33849:35:0;;;;;;;;;;;33758:138;33908:28;33917:2;33921:7;33930:5;33908:8;:28::i;:::-;33635:309;33573:371;;:::o;50000:92::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;48498:1:::1;50057:12;:27:::0;50000:92::o;55283:675::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;55411:23:::1;55437:25;55446:9:::0;55437:6;:25:::1;:::i;:::-;55411:51;;48239:5;55524:15;55508:13;;55495:10;;:26;;;;:::i;:::-;:44;;;;:::i;:::-;:60;;55473:158;;;;-1:-1:-1::0;;;55473:158:0::1;;;;;;;:::i;:::-;55696:20;;55677:15;55664:10;;:28;;;;:::i;:::-;:52;;55642:151;;;::::0;-1:-1:-1;;;55642:151:0;;13023:2:1;55642:151:0::1;::::0;::::1;13005:21:1::0;13062:2;13042:18;;;13035:30;13101:34;13081:18;;;13074:62;-1:-1:-1;;;13152:18:1;;;13145:47;13209:19;;55642:151:0::1;12821:413:1::0;55642:151:0::1;55809:9;55804:105;55824:20:::0;;::::1;55804:105;;;55866:31;55876:9;;55886:1;55876:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;55890:6;55866:9;:31::i;:::-;55846:3:::0;::::1;::::0;::::1;:::i;:::-;;;;55804:105;;;;55935:15;55921:10;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;55283:675:0:o;50811:116::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;50890:23:::1;:29:::0;50811:116::o;34875:170::-;35009:28;35019:4;35025:2;35029:7;35009:9;:28::i;51713:702::-;51881:24;;-1:-1:-1;;13660:2:1;13656:15;;;13652:53;51881:24:0;;;13640:66:1;51831:7:0;;;;13722:12:1;;51881:24:0;;;;;;;;;;;;51871:35;;;;;;51856:50;;48498:1;51923:12;;:28;:68;;;;48599:1;51955:12;;:36;51923:68;51919:489;;;-1:-1:-1;;52015:19:0;;52008:26;;51919:489;48451:1;52056:12;;:29;52052:356;;52106:46;52125:5;52132:13;;52147:4;52106:18;:46::i;:::-;52102:169;;;-1:-1:-1;;52180:26:0;;52173:33;;52102:169;52254:1;52247:8;;;;;52052:356;48544:1;52292:12;;:27;52288:120;;-1:-1:-1;48239:5:0;;51713:702;-1:-1:-1;;;51713:702:0:o;53864:708::-;54283:12;;53993:21;;;;;;54326:34;54346:6;54354:5;54326:19;:34::i;:::-;54306:54;;54385:12;:10;:12::i;:::-;54422:10;;-1:-1:-1;;;;;54462:17:0;;;;;;;:9;:17;;;;;;54551:13;;53864:708;;;;54371:26;;-1:-1:-1;54422:10:0;;54462:17;;48239:5;;-1:-1:-1;54551:13:0;;-1:-1:-1;53864:708:0;-1:-1:-1;;;53864:708:0:o;50416:157::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;50527:32:::1;:38:::0;50416:157::o;50581:104::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;50654:17:::1;:23:::0;50581:104::o;58969:127::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;59027:60:::1;::::0;48312:42:::1;::::0;59065:21:::1;59027:60:::0;::::1;;;::::0;::::1;::::0;;;59065:21;48312:42;59027:60;::::1;;;;;;59019:69;;;::::0;::::1;;58969:127::o:0;35116:185::-;35254:39;35271:4;35277:2;35281:7;35254:39;;;;;;;;;;;;:16;:39::i;52589:1267::-;52706:7;52731:24;52758:35;52779:6;52787:5;52758:20;:35::i;:::-;52731:62;;48544:1;52820:12;;:27;52816:261;;-1:-1:-1;;;;;52956:17:0;;52864:28;52956:17;;;:9;:17;;;;;;52895:93;;52921:16;;52895:7;:93::i;:::-;52864:124;;53022:43;53026:16;53044:20;53022:3;:43::i;:::-;53003:62;;52849:228;52816:261;48498:1;53093:12;;:28;:61;;;;48451:1;53125:12;;:29;53093:61;53089:501;;;53171:28;53202:90;53228:20;;53267:10;;53202:7;:90::i;:::-;53171:121;;53326:43;53330:16;53348:20;53326:3;:43::i;:::-;53307:62;;53156:225;53089:501;;;48544:1;53391:12;;:27;53387:203;;53435:26;53464:39;53472:15;;53489:13;;53464:7;:39::i;:::-;53435:68;;53537:41;53541:16;53559:18;53537:3;:41::i;:::-;53518:60;;53420:170;53387:203;53602:23;53628:86;48239:5;53690:13;;53677:10;;:26;;;;:::i;:::-;53628:7;:86::i;:::-;53602:112;;53744:38;53748:16;53766:15;53744:3;:38::i;:::-;53725:57;;53802:46;53806:16;53824:23;;53802:3;:46::i;:::-;53795:53;52589:1267;-1:-1:-1;;;;;52589:1267:0:o;50693:110::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;50769:20:::1;:26:::0;50693:110::o;49255:85::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58864:97::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;58935:18:::1;:12;58950:3:::0;;58935:18:::1;:::i;50100:94::-:0;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;48544:1:::1;50160:12;:26:::0;50100:94::o;32315:125::-;32379:7;32406:21;32419:7;32406:12;:21::i;:::-;:26;;32315:125;-1:-1:-1;;32315:125:0:o;50202:104::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;48599:1:::1;50263:12;:35:::0;50202:104::o;29763:206::-;29827:7;-1:-1:-1;;;;;29851:19:0;;29847:60;;29879:28;;-1:-1:-1;;;29879:28:0;;;;;;;;;;;29847:60;-1:-1:-1;;;;;;29933:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;29933:27:0;;29763:206::o;7152:103::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;7217:30:::1;7244:1;7217:18;:30::i;50314:94::-:0;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;50383:11:::1;:17:::0;;-1:-1:-1;;;;;;50383:17:0::1;-1:-1:-1::0;;;;;50383:17:0;;;::::1;::::0;;;::::1;::::0;;50314:94::o;51403:100::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;51474:15:::1;:21:::0;51403:100::o;51511:194::-;51554:7;48451:1;51578:12;;:29;51574:86;;-1:-1:-1;51631:17:0;;;51511:194::o;51574:86::-;-1:-1:-1;51677:20:0;;;51511:194::o;58473:220::-;58549:11;58596:21;;;:12;:21;;;;;;;58646:11;;58638:37;;-1:-1:-1;;;58638:37:0;;;;;2338:25:1;;;58596:21:0;;;;;58549:11;-1:-1:-1;;;;;58638:47:0;;;;58646:11;;;58638:28;;2311:18:1;;58638:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;58638:47:0;;58628:57;;58473:220;;;;;:::o;57674:791::-;57827:11;;57819:38;;-1:-1:-1;;;57819:38:0;;-1:-1:-1;;;;;1692:32:1;;;57819:38:0;;;1674:51:1;57742:16:0;;57771:13;;;;57827:11;;;;57819:30;;1647:18:1;;57819:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57801:56;;57873:9;57868:218;57892:7;57888:1;:11;57868:218;;;57952:11;;57934:61;;-1:-1:-1;;;57934:61:0;;-1:-1:-1;;;;;14382:32:1;;;57934:61:0;;;14364:51:1;14431:18;;;14424:34;;;57921:10:0;;57952:11;;57934:50;;14337:18:1;;57934:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58015:16;;;;:12;:16;;;;;;57921:74;;-1:-1:-1;58015:16:0;;58010:65;;58052:7;;;;:::i;:::-;;;;58010:65;-1:-1:-1;57901:3:0;;;;:::i;:::-;;;;57868:218;;;;58098:23;58138:5;-1:-1:-1;;;;;58124:20:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58124:20:0;;58098:46;;58155:11;58186:9;58181:251;58205:7;58201:1;:11;58181:251;;;58265:11;;58247:61;;-1:-1:-1;;;58247:61:0;;-1:-1:-1;;;;;14382:32:1;;;58247:61:0;;;14364:51:1;14431:18;;;14424:34;;;58234:10:0;;58265:11;;58247:50;;14337:18:1;;58247:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58328:16;;;;:12;:16;;;;;;58234:74;;-1:-1:-1;58328:16:0;;58323:98;;58379:2;58365:6;58372:3;58365:11;;;;;;;;:::i;:::-;;;;;;;;;;:16;58400:5;;;;:::i;:::-;;;;58323:98;-1:-1:-1;58214:3:0;;;;:::i;:::-;;;;58181:251;;;-1:-1:-1;58451:6:0;;57674:791;-1:-1:-1;;;;;57674:791:0:o;32676:104::-;32732:13;32765:7;32758:14;;;;;:::i;34286:287::-;5305:10;-1:-1:-1;;;;;34385:24:0;;;34381:54;;34418:17;;-1:-1:-1;;;34418:17:0;;;;;;;;;;;34381:54;5305:10;34448:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34448:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34448:53:0;;;;;;;;;;34517:48;;540:41:1;;;34448:42:0;;5305:10;34517:48;;513:18:1;34517:48:0;;;;;;;34286:287;;:::o;56643:1023::-;48544:1;56759:12;;:27;56737:109;;;;-1:-1:-1;;;56737:109:0;;14671:2:1;56737:109:0;;;14653:21:1;;;14690:18;;;14683:30;14749:34;14729:18;;;14722:62;14801:18;;56737:109:0;14469:356:1;56737:109:0;56888:32;;56924:8;;56879:41;;:6;:41;:::i;:::-;:60;56857:141;;;;-1:-1:-1;;;56857:141:0;;15032:2:1;56857:141:0;;;15014:21:1;15071:2;15051:18;;;15044:30;15110:33;15090:18;;;15083:61;15161:18;;56857:141:0;14830:355:1;56857:141:0;48239:5;57060:6;57044:13;;57031:10;;:26;;;;:::i;:::-;:35;;;;:::i;:::-;:51;;57009:146;;;;-1:-1:-1;;;57009:146:0;;15392:2:1;57009:146:0;;;15374:21:1;15431:2;15411:18;;;15404:30;15470:34;15450:18;;;15443:62;-1:-1:-1;;;15521:18:1;;;15514:43;15574:19;;57009:146:0;15190:409:1;57009:146:0;57173:9;57168:413;57188:19;;;57168:413;;;57263:11;;57300:10;;-1:-1:-1;;;;;57263:11:0;57255:28;57284:8;;57293:1;57284:11;;;;;;;:::i;:::-;;;;;;;57255:41;;;;;;;;;;;;;2338:25:1;;2326:2;2311:18;;2192:177;57255:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;57255:55:0;;57229:145;;;;-1:-1:-1;;;57229:145:0;;15806:2:1;57229:145:0;;;15788:21:1;15845:2;15825:18;;;15818:30;15884;15864:18;;;15857:58;15932:18;;57229:145:0;15604:352:1;57229:145:0;57415:12;:25;57428:8;;57437:1;57428:11;;;;;;;:::i;:::-;;;;;;;;;;57415:25;;-1:-1:-1;57415:25:0;;;;;;;;-1:-1:-1;57415:25:0;;;;:34;57389:133;;;;-1:-1:-1;;;57389:133:0;;16163:2:1;57389:133:0;;;16145:21:1;16202:2;16182:18;;;16175:30;16241:34;16221:18;;;16214:62;-1:-1:-1;;;16292:18:1;;;16285:35;16337:19;;57389:133:0;15961:401:1;57389:133:0;57565:4;57537:12;:25;57550:8;;57559:1;57550:11;;;;;;;:::i;:::-;;;;;;;57537:25;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;57209:3;;;;;:::i;:::-;;;;57168:413;;;;57593:29;57603:10;57615:6;57593:9;:29::i;:::-;57652:6;57635:13;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;56643:1023:0:o;35372:369::-;35539:28;35549:4;35555:2;35559:7;35539:9;:28::i;:::-;-1:-1:-1;;;;;35582:13:0;;9497:19;:23;;35582:76;;;;;35602:56;35633:4;35639:2;35643:7;35652:5;35602:30;:56::i;:::-;35601:57;35582:76;35578:156;;;35682:40;;-1:-1:-1;;;35682:40:0;;;;;;;;;;;35578:156;35372:369;;;;:::o;54580:695::-;54672:10;54686:9;54672:23;54664:65;;;;-1:-1:-1;;;54664:65:0;;16569:2:1;54664:65:0;;;16551:21:1;16608:2;16588:18;;;16581:30;16647:31;16627:18;;;16620:59;16696:18;;54664:65:0;16367:353:1;54664:65:0;48451:1;54762:12;;:29;:61;;;;48498:1;54795:12;;:28;54762:61;:101;;;;48599:1;54827:12;;:36;54762:101;54740:183;;;;-1:-1:-1;;;54740:183:0;;14671:2:1;54740:183:0;;;14653:21:1;;;14690:18;;;14683:30;14749:34;14729:18;;;14722:62;14801:18;;54740:183:0;14469:356:1;54740:183:0;54970:6;54955:12;:10;:12::i;:::-;:21;;;;:::i;:::-;54942:9;:34;;54934:65;;;;-1:-1:-1;;;54934:65:0;;16927:2:1;54934:65:0;;;16909:21:1;16966:2;16946:18;;;16939:30;-1:-1:-1;;;16985:18:1;;;16978:48;17043:18;;54934:65:0;16725:342:1;54934:65:0;55042:38;55062:10;55074:5;;55042:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55042:19:0;;-1:-1:-1;;;55042:38:0:i;:::-;55032:6;:48;;55010:142;;;;-1:-1:-1;;;55010:142:0;;17274:2:1;55010:142:0;;;17256:21:1;17313:2;17293:18;;;17286:30;17352:34;17332:18;;;17325:62;-1:-1:-1;;;17403:18:1;;;17396:42;17455:19;;55010:142:0;17072:408:1;55010:142:0;55165:29;55175:10;55187:6;55165:9;:29::i;:::-;55215:10;55205:21;;;;:9;:21;;;;;:31;;55230:6;;55205:21;:31;;55230:6;;55205:31;:::i;:::-;;;;;;;;55261:6;55247:10;;:20;;;;;;;:::i;32851:318::-;32924:13;32955:16;32963:7;32955;:16::i;:::-;32950:59;;32980:29;;-1:-1:-1;;;32980:29:0;;;;;;;;;;;32950:59;33022:21;33046:10;:8;:10::i;:::-;33022:34;;33080:7;33074:21;33099:1;33074:26;:87;;;;;;;;;;;;;;;;;33127:7;33136:18;:7;:16;:18::i;:::-;33110:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;33074:87;33067:94;32851:318;-1:-1:-1;;;32851:318:0:o;51285:110::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;51361:20:::1;:26:::0;51285:110::o;51065:108::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;51140:19:::1;:25:::0;51065:108::o;49808:86::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;48403:1:::1;49858:12;:28:::0;49808:86::o;50935:122::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;51017:26:::1;:32:::0;50935:122::o;7410:201::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7499:22:0;::::1;7491:73;;;::::0;-1:-1:-1;;;7491:73:0;;18162:2:1;7491:73:0::1;::::0;::::1;18144:21:1::0;18201:2;18181:18;;;18174:30;18240:34;18220:18;;;18213:62;-1:-1:-1;;;18291:18:1;;;18284:36;18337:19;;7491:73:0::1;17960:402:1::0;7491:73:0::1;7575:28;7594:8;7575:18;:28::i;:::-;7410:201:::0;:::o;51181:96::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;51250:13:::1;:19:::0;51181:96::o;55966:669::-;6574:6;;-1:-1:-1;;;;;6574:6:0;5305:10;6721:23;6713:68;;;;-1:-1:-1;;;6713:68:0;;;;;;;:::i;:::-;56095:23:::1;56121:25;56130:9:::0;56121:6;:25:::1;:::i;:::-;56095:51;;48239:5;56208:15;56192:13;;56179:10;;:26;;;;:::i;:::-;:44;;;;:::i;:::-;:60;;56157:158;;;;-1:-1:-1::0;;;56157:158:0::1;;;;;;;:::i;:::-;56383:15;;56364;56348:13;;:31;;;;:::i;:::-;:50;;56326:143;;;::::0;-1:-1:-1;;;56326:143:0;;18569:2:1;56326:143:0::1;::::0;::::1;18551:21:1::0;18608:2;18588:18;;;18581:30;18647:34;18627:18;;;18620:62;-1:-1:-1;;;18698:18:1;;;18691:41;18749:19;;56326:143:0::1;18367:407:1::0;56326:143:0::1;56485:9;56480:105;56500:20:::0;;::::1;56480:105;;;56542:31;56552:9;;56562:1;56552:12;;;;;;;:::i;56542:31::-;56522:3:::0;::::1;::::0;::::1;:::i;:::-;;;;56480:105;;;;56612:15;56595:13;;:32;;;;;;;:::i;9202:326::-:0;-1:-1:-1;;;;;9497:19:0;;:23;;;9202:326::o;35996:187::-;36053:4;36096:7;49791:1;36077:26;;:53;;;;;36117:13;;36107:7;:23;36077:53;:98;;;;-1:-1:-1;;36148:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36148:27:0;;;;36147:28;;35996:187::o;44166:196::-;44281:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;44281:29:0;-1:-1:-1;;;;;44281:29:0;;;;;;;;;44326:28;;44281:24;;44326:28;;;;;;;44166:196;;;:::o;36191:104::-;36260:27;36270:2;36274:8;36260:27;;;;;;;;;;;;:9;:27::i;:::-;36191:104;;:::o;39109:2130::-;39224:35;39262:21;39275:7;39262:12;:21::i;:::-;39224:59;;39322:4;-1:-1:-1;;;;;39300:26:0;:13;:18;;;-1:-1:-1;;;;;39300:26:0;;39296:67;;39335:28;;-1:-1:-1;;;39335:28:0;;;;;;;;;;;39296:67;39376:22;5305:10;-1:-1:-1;;;;;39402:20:0;;;;:73;;-1:-1:-1;39439:36:0;39456:4;5305:10;34644:164;:::i;39439:36::-;39402:126;;;-1:-1:-1;5305:10:0;39492:20;39504:7;39492:11;:20::i;:::-;-1:-1:-1;;;;;39492:36:0;;39402:126;39376:153;;39547:17;39542:66;;39573:35;;-1:-1:-1;;;39573:35:0;;;;;;;;;;;39542:66;-1:-1:-1;;;;;39623:16:0;;39619:52;;39648:23;;-1:-1:-1;;;39648:23:0;;;;;;;;;;;39619:52;39792:35;39809:1;39813:7;39822:4;39792:8;:35::i;:::-;-1:-1:-1;;;;;40123:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40123:31:0;;;-1:-1:-1;;;;;40123:31:0;;;-1:-1:-1;;40123:31:0;;;;;;;40169:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40169:29:0;;;;;;;;;;;40249:20;;;:11;:20;;;;;;40284:18;;-1:-1:-1;;;;;;40317:49:0;;;;-1:-1:-1;;;40350:15:0;40317:49;;;;;;;;;;40640:11;;40700:24;;;;;40743:13;;40249:20;;40700:24;;40743:13;40739:384;;40953:13;;40938:11;:28;40934:174;;40991:20;;41060:28;;;;-1:-1:-1;;;;;41034:54:0;-1:-1:-1;;;41034:54:0;-1:-1:-1;;;;;;41034:54:0;;;-1:-1:-1;;;;;40991:20:0;;41034:54;;;;40934:174;40098:1036;;;41170:7;41166:2;-1:-1:-1;;;;;41151:27:0;41160:4;-1:-1:-1;;;;;41151:27:0;;;;;;;;;;;41189:42;39213:2026;;39109:2130;;;:::o;956:190::-;1081:4;1134;1105:25;1118:5;1125:4;1105:12;:25::i;:::-;:33;;956:190;-1:-1:-1;;;;956:190:0:o;52423:158::-;52485:7;52513:1;52509;:5;52505:46;;;-1:-1:-1;52538:1:0;52531:8;;52505:46;52568:5;52572:1;52568;:5;:::i;59104:106::-;59162:7;59193:1;59189;:5;:13;;59201:1;59189:13;;;-1:-1:-1;59197:1:0;;59104:106;-1:-1:-1;59104:106:0:o;31144:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31255:7:0;;49791:1;31304:23;;:47;;;;;31338:13;;31331:4;:20;31304:47;31300:886;;;31372:31;31406:17;;;:11;:17;;;;;;;;;31372:51;;;;;;;;;-1:-1:-1;;;;;31372:51:0;;;;-1:-1:-1;;;31372:51:0;;-1:-1:-1;;;;;31372:51:0;;;;;;;;-1:-1:-1;;;31372:51:0;;;;;;;;;;;;;;31442:729;;31492:14;;-1:-1:-1;;;;;31492:28:0;;31488:101;;31556:9;31144:1109;-1:-1:-1;;;31144:1109:0:o;31488:101::-;-1:-1:-1;;;31931:6:0;31976:17;;;;:11;:17;;;;;;;;;31964:29;;;;;;;;;-1:-1:-1;;;;;31964:29:0;;;;;-1:-1:-1;;;31964:29:0;;-1:-1:-1;;;;;31964:29:0;;;;;;;;-1:-1:-1;;;31964:29:0;;;;;;;;;;;;;32024:28;32020:109;;32092:9;31144:1109;-1:-1:-1;;;31144:1109:0:o;32020:109::-;31891:261;;;31353:833;31300:886;32214:31;;-1:-1:-1;;;32214:31:0;;;;;;;;;;;7771:191;7864:6;;;-1:-1:-1;;;;;7881:17:0;;;-1:-1:-1;;;;;;7881:17:0;;;;;;;7914:40;;7864:6;;;7881:17;7864:6;;7914:40;;7845:16;;7914:40;7834:128;7771:191;:::o;44854:667::-;45038:72;;-1:-1:-1;;;45038:72:0;;45017:4;;-1:-1:-1;;;;;45038:36:0;;;;;:72;;5305:10;;45089:4;;45095:7;;45104:5;;45038:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45038:72:0;;;;;;;;-1:-1:-1;;45038:72:0;;;;;;;;;;;;:::i;:::-;;;45034:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45272:6;:13;45289:1;45272:18;45268:235;;45318:40;;-1:-1:-1;;;45318:40:0;;;;;;;;;;;45268:235;45461:6;45455:13;45446:6;45442:2;45438:15;45431:38;45034:480;-1:-1:-1;;;;;;45157:55:0;-1:-1:-1;;;45157:55:0;;-1:-1:-1;45034:480:0;44854:667;;;;;;:::o;58701:155::-;58798:13;58836:12;58829:19;;;;;:::i;2787:723::-;2843:13;3064:5;3073:1;3064:10;3060:53;;-1:-1:-1;;3091:10:0;;;;;;;;;;;;-1:-1:-1;;;3091:10:0;;;;;2787:723::o;3060:53::-;3138:5;3123:12;3179:78;3186:9;;3179:78;;3212:8;;;;:::i;:::-;;-1:-1:-1;3235:10:0;;-1:-1:-1;3243:2:0;3235:10;;:::i;:::-;;;3179:78;;;3267:19;3299:6;-1:-1:-1;;;;;3289:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3289:17:0;;3267:39;;3317:154;3324:10;;3317:154;;3351:11;3361:1;3351:11;;:::i;:::-;;-1:-1:-1;3420:10:0;3428:2;3420:5;:10;:::i;:::-;3407:24;;:2;:24;:::i;:::-;3394:39;;3377:6;3384;3377:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3377:56:0;;;;;;;;-1:-1:-1;3448:11:0;3457:2;3448:11;;:::i;:::-;;;3317:154;;36658:163;36781:32;36787:2;36791:8;36801:5;36808:4;36781:5;:32::i;1508:675::-;1591:7;1634:4;1591:7;1649:497;1673:5;:12;1669:1;:16;1649:497;;;1707:20;1730:5;1736:1;1730:8;;;;;;;;:::i;:::-;;;;;;;1707:31;;1773:12;1757;:28;1753:382;;2259:13;2309:15;;;2345:4;2338:15;;;2392:4;2376:21;;1885:57;;1753:382;;;2259:13;2309:15;;;2345:4;2338:15;;;2392:4;2376:21;;2062:57;;1753:382;-1:-1:-1;1687:3:0;;;;:::i;:::-;;;;1649:497;;;-1:-1:-1;2163:12:0;1508:675;-1:-1:-1;;;1508:675:0:o;37080:1775::-;37219:20;37242:13;-1:-1:-1;;;;;37270:16:0;;37266:48;;37295:19;;-1:-1:-1;;;37295:19:0;;;;;;;;;;;37266:48;37329:8;37341:1;37329:13;37325:44;;37351:18;;-1:-1:-1;;;37351:18:0;;;;;;;;;;;37325:44;-1:-1:-1;;;;;37720:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;37779:49:0;;-1:-1:-1;;;;;37720:44:0;;;;;;;37779:49;;;;-1:-1:-1;;37720:44:0;;;;;;37779:49;;;;;;;;;;;;;;;;37845:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;37895:66:0;;;;-1:-1:-1;;;37945:15:0;37895:66;;;;;;;;;;37845:25;38042:23;;;38086:4;:23;;;;-1:-1:-1;;;;;;38094:13:0;;9497:19;:23;;38094:15;38082:641;;;38130:314;38161:38;;38186:12;;-1:-1:-1;;;;;38161:38:0;;;38178:1;;38161:38;;38178:1;;38161:38;38227:69;38266:1;38270:2;38274:14;;;;;;38290:5;38227:30;:69::i;:::-;38222:174;;38332:40;;-1:-1:-1;;;38332:40:0;;;;;;;;;;;38222:174;38439:3;38423:12;:19;38130:314;;38525:12;38508:13;;:29;38504:43;;38539:8;;;38504:43;38082:641;;;38588:120;38619:40;;38644:14;;;;;-1:-1:-1;;;;;38619:40:0;;;38636:1;;38619:40;;38636:1;;38619:40;38703:3;38687:12;:19;38588:120;;38082:641;-1:-1:-1;38737:13:0;:28;38787:60;35372:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2374:367::-;2437:8;2447:6;2501:3;2494:4;2486:6;2482:17;2478:27;2468:55;;2519:1;2516;2509:12;2468:55;-1:-1:-1;2542:20:1;;-1:-1:-1;;;;;2574:30:1;;2571:50;;;2617:1;2614;2607:12;2571:50;2654:4;2646:6;2642:17;2630:29;;2714:3;2707:4;2697:6;2694:1;2690:14;2682:6;2678:27;2674:38;2671:47;2668:67;;;2731:1;2728;2721:12;2668:67;2374:367;;;;;:::o;2746:505::-;2841:6;2849;2857;2910:2;2898:9;2889:7;2885:23;2881:32;2878:52;;;2926:1;2923;2916:12;2878:52;2962:9;2949:23;2939:33;;3023:2;3012:9;3008:18;2995:32;-1:-1:-1;;;;;3042:6:1;3039:30;3036:50;;;3082:1;3079;3072:12;3036:50;3121:70;3183:7;3174:6;3163:9;3159:22;3121:70;:::i;:::-;2746:505;;3210:8;;-1:-1:-1;3095:96:1;;-1:-1:-1;;;;2746:505:1:o;3256:456::-;3333:6;3341;3349;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3457:9;3444:23;3476:31;3501:5;3476:31;:::i;:::-;3526:5;-1:-1:-1;3583:2:1;3568:18;;3555:32;3596:33;3555:32;3596:33;:::i;:::-;3256:456;;3648:7;;-1:-1:-1;;;3702:2:1;3687:18;;;;3674:32;;3256:456::o;3717:127::-;3778:10;3773:3;3769:20;3766:1;3759:31;3809:4;3806:1;3799:15;3833:4;3830:1;3823:15;3849:275;3920:2;3914:9;3985:2;3966:13;;-1:-1:-1;;3962:27:1;3950:40;;-1:-1:-1;;;;;4005:34:1;;4041:22;;;4002:62;3999:88;;;4067:18;;:::i;:::-;4103:2;4096:22;3849:275;;-1:-1:-1;3849:275:1:o;4129:1081::-;4222:6;4230;4283:2;4271:9;4262:7;4258:23;4254:32;4251:52;;;4299:1;4296;4289:12;4251:52;4338:9;4325:23;4357:31;4382:5;4357:31;:::i;:::-;4407:5;-1:-1:-1;4431:2:1;4469:18;;;4456:32;-1:-1:-1;;;;;4537:14:1;;;4534:34;;;4564:1;4561;4554:12;4534:34;4602:6;4591:9;4587:22;4577:32;;4647:7;4640:4;4636:2;4632:13;4628:27;4618:55;;4669:1;4666;4659:12;4618:55;4705:2;4692:16;4727:2;4723;4720:10;4717:36;;;4733:18;;:::i;:::-;4779:2;4776:1;4772:10;4762:20;;4802:28;4826:2;4822;4818:11;4802:28;:::i;:::-;4864:15;;;4934:11;;;4930:20;;;4895:12;;;;4962:19;;;4959:39;;;4994:1;4991;4984:12;4959:39;5018:11;;;;5038:142;5054:6;5049:3;5046:15;5038:142;;;5120:17;;5108:30;;5071:12;;;;5158;;;;5038:142;;;5199:5;5189:15;;;;;;;;4129:1081;;;;;:::o;6009:247::-;6068:6;6121:2;6109:9;6100:7;6096:23;6092:32;6089:52;;;6137:1;6134;6127:12;6089:52;6176:9;6163:23;6195:31;6220:5;6195:31;:::i;6261:592::-;6332:6;6340;6393:2;6381:9;6372:7;6368:23;6364:32;6361:52;;;6409:1;6406;6399:12;6361:52;6449:9;6436:23;-1:-1:-1;;;;;6519:2:1;6511:6;6508:14;6505:34;;;6535:1;6532;6525:12;6505:34;6573:6;6562:9;6558:22;6548:32;;6618:7;6611:4;6607:2;6603:13;6599:27;6589:55;;6640:1;6637;6630:12;6589:55;6680:2;6667:16;6706:2;6698:6;6695:14;6692:34;;;6722:1;6719;6712:12;6692:34;6767:7;6762:2;6753:6;6749:2;6745:15;6741:24;6738:37;6735:57;;;6788:1;6785;6778:12;6735:57;6819:2;6811:11;;;;;6841:6;;-1:-1:-1;6261:592:1;;-1:-1:-1;;;;6261:592:1:o;6858:315::-;6926:6;6934;6987:2;6975:9;6966:7;6962:23;6958:32;6955:52;;;7003:1;7000;6993:12;6955:52;7039:9;7026:23;7016:33;;7099:2;7088:9;7084:18;7071:32;7112:31;7137:5;7112:31;:::i;:::-;7162:5;7152:15;;;6858:315;;;;;:::o;7451:632::-;7622:2;7674:21;;;7744:13;;7647:18;;;7766:22;;;7593:4;;7622:2;7845:15;;;;7819:2;7804:18;;;7593:4;7888:169;7902:6;7899:1;7896:13;7888:169;;;7963:13;;7951:26;;8032:15;;;;7997:12;;;;7924:1;7917:9;7888:169;;;-1:-1:-1;8074:3:1;;7451:632;-1:-1:-1;;;;;;7451:632:1:o;8088:416::-;8153:6;8161;8214:2;8202:9;8193:7;8189:23;8185:32;8182:52;;;8230:1;8227;8220:12;8182:52;8269:9;8256:23;8288:31;8313:5;8288:31;:::i;:::-;8338:5;-1:-1:-1;8395:2:1;8380:18;;8367:32;8437:15;;8430:23;8418:36;;8408:64;;8468:1;8465;8458:12;9019:1108;9114:6;9122;9130;9138;9191:3;9179:9;9170:7;9166:23;9162:33;9159:53;;;9208:1;9205;9198:12;9159:53;9247:9;9234:23;9266:31;9291:5;9266:31;:::i;:::-;9316:5;-1:-1:-1;9340:2:1;9379:18;;;9366:32;9407:33;9366:32;9407:33;:::i;:::-;9459:7;-1:-1:-1;9513:2:1;9498:18;;9485:32;;-1:-1:-1;9568:2:1;9553:18;;9540:32;-1:-1:-1;;;;;9621:14:1;;;9618:34;;;9648:1;9645;9638:12;9618:34;9686:6;9675:9;9671:22;9661:32;;9731:7;9724:4;9720:2;9716:13;9712:27;9702:55;;9753:1;9750;9743:12;9702:55;9789:2;9776:16;9811:2;9807;9804:10;9801:36;;;9817:18;;:::i;:::-;9859:53;9902:2;9883:13;;-1:-1:-1;;9879:27:1;9875:36;;9859:53;:::i;:::-;9846:66;;9935:2;9928:5;9921:17;9975:7;9970:2;9965;9961;9957:11;9953:20;9950:33;9947:53;;;9996:1;9993;9986:12;9947:53;10051:2;10046;10042;10038:11;10033:2;10026:5;10022:14;10009:45;10095:1;10090:2;10085;10078:5;10074:14;10070:23;10063:34;;10116:5;10106:15;;;;;9019:1108;;;;;;;:::o;10642:388::-;10710:6;10718;10771:2;10759:9;10750:7;10746:23;10742:32;10739:52;;;10787:1;10784;10777:12;10739:52;10826:9;10813:23;10845:31;10870:5;10845:31;:::i;:::-;10895:5;-1:-1:-1;10952:2:1;10937:18;;10924:32;10965:33;10924:32;10965:33;:::i;11220:356::-;11422:2;11404:21;;;11441:18;;;11434:30;11500:34;11495:2;11480:18;;11473:62;11567:2;11552:18;;11220:356::o;11581:380::-;11660:1;11656:12;;;;11703;;;11724:61;;11778:4;11770:6;11766:17;11756:27;;11724:61;11831:2;11823:6;11820:14;11800:18;11797:38;11794:161;;11877:10;11872:3;11868:20;11865:1;11858:31;11912:4;11909:1;11902:15;11940:4;11937:1;11930:15;11794:161;;11581:380;;;:::o;11966:127::-;12027:10;12022:3;12018:20;12015:1;12008:31;12058:4;12055:1;12048:15;12082:4;12079:1;12072:15;12098:168;12138:7;12204:1;12200;12196:6;12192:14;12189:1;12186:21;12181:1;12174:9;12167:17;12163:45;12160:71;;;12211:18;;:::i;:::-;-1:-1:-1;12251:9:1;;12098:168::o;12271:128::-;12311:3;12342:1;12338:6;12335:1;12332:13;12329:39;;;12348:18;;:::i;:::-;-1:-1:-1;12384:9:1;;12271:128::o;12404:412::-;12606:2;12588:21;;;12645:2;12625:18;;;12618:30;12684:34;12679:2;12664:18;;12657:62;-1:-1:-1;;;12750:2:1;12735:18;;12728:46;12806:3;12791:19;;12404:412::o;13239:127::-;13300:10;13295:3;13291:20;13288:1;13281:31;13331:4;13328:1;13321:15;13355:4;13352:1;13345:15;13371:135;13410:3;13431:17;;;13428:43;;13451:18;;:::i;:::-;-1:-1:-1;13498:1:1;13487:13;;13371:135::o;13745:251::-;13815:6;13868:2;13856:9;13847:7;13843:23;13839:32;13836:52;;;13884:1;13881;13874:12;13836:52;13916:9;13910:16;13935:31;13960:5;13935:31;:::i;14001:184::-;14071:6;14124:2;14112:9;14103:7;14099:23;14095:32;14092:52;;;14140:1;14137;14130:12;14092:52;-1:-1:-1;14163:16:1;;14001:184;-1:-1:-1;14001:184:1:o;17485:470::-;17664:3;17702:6;17696:13;17718:53;17764:6;17759:3;17752:4;17744:6;17740:17;17718:53;:::i;:::-;17834:13;;17793:16;;;;17856:57;17834:13;17793:16;17890:4;17878:17;;17856:57;:::i;:::-;17929:20;;17485:470;-1:-1:-1;;;;17485:470:1:o;18779:125::-;18819:4;18847:1;18844;18841:8;18838:34;;;18852:18;;:::i;:::-;-1:-1:-1;18889:9:1;;18779:125::o;18909:489::-;-1:-1:-1;;;;;19178:15:1;;;19160:34;;19230:15;;19225:2;19210:18;;19203:43;19277:2;19262:18;;19255:34;;;19325:3;19320:2;19305:18;;19298:31;;;19103:4;;19346:46;;19372:19;;19364:6;19346:46;:::i;:::-;19338:54;18909:489;-1:-1:-1;;;;;;18909:489:1:o;19403:249::-;19472:6;19525:2;19513:9;19504:7;19500:23;19496:32;19493:52;;;19541:1;19538;19531:12;19493:52;19573:9;19567:16;19592:30;19616:5;19592:30;:::i;19657:127::-;19718:10;19713:3;19709:20;19706:1;19699:31;19749:4;19746:1;19739:15;19773:4;19770:1;19763:15;19789:120;19829:1;19855;19845:35;;19860:18;;:::i;:::-;-1:-1:-1;19894:9:1;;19789:120::o;19914:112::-;19946:1;19972;19962:35;;19977:18;;:::i;:::-;-1:-1:-1;20011:9:1;;19914:112::o

Swarm Source

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