ETH Price: $3,433.43 (-0.06%)

Token

TANKIES (TANKIES)
 

Overview

Max Total Supply

1,115 TANKIES

Holders

450

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
dbok1.eth
Balance
1 TANKIES
0x22f587231693859c8fee73cedbf213100eaa92e4
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TANKIES

Compiler Version
v0.8.4+commit.c7e474f2

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-09
*/

// Sources flattened with hardhat v2.9.3 https://hardhat.org

// File @openzeppelin/contracts/utils/introspection/[email protected]


// 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/token/ERC721/[email protected]


// 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/[email protected]


// 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/token/ERC721/extensions/[email protected]


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

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// 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/utils/[email protected]


// 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/utils/[email protected]


// 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/introspection/[email protected]


// 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/access/[email protected]


// 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/cryptography/[email protected]


// 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 contracts/tankies.sol

pragma solidity ^0.8.4;








error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
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 and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    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;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 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_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).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);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * 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 (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 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 (!_checkOnERC721Received(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 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 > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = uint128(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);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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**128.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // 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**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, 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 address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementer();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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


/**
 * @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.
 */

// SPDX-License-Identifier: MIT
// Creator: Tankies


library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

contract TANKIES is ERC721A, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private _tokenIds;
    bool private _presaleActive = false;
    bool private _saleActive = false;
    string public _prefixURI;
    string public _baseExtension;
    
    uint256 public  _price = 60000000000000000;
    uint256 private  _maxPresaleMint = 4;
    uint256 private  _maxMint = 5;
                            
    uint256 private  _maxTokens = 3333;
  
    mapping (address => uint256) private _presaleMints;
    mapping (address => uint256) private _saleMints;

    address private constant communityWallet = 0xa5b80FEc68E8ffa3C7f3bDc21e019eBC4aAb8E73;
    
    uint256 public _tankiesFund = 10 ether;

    bytes32 private merkleRoot = 0x4a43387ab437e9fed4492137223387dbd6af36c5b7a00ee193527c04e1ef8697;

    constructor() ERC721A("TANKIES", "TANKIES") {}

    modifier callerIsUser() {
    require(tx.origin == msg.sender, "The caller is another contract");
    _;
  }

    modifier hasCorrectAmount(uint256 _wei, uint256 _quantity) {
        require(_wei >= _price * _quantity, "Insufficent funds");
        _;
    }

    modifier withinMaximumSupply(uint256 _quantity) {
        require(totalSupply() + _quantity <= _maxTokens, "Surpasses supply");
        _;
    }

    function airdrop(address[] memory addrs) public onlyOwner {
        for (uint256 i = 0; i < addrs.length; i++) {
            _tokenIds.increment();
           _mintItem(addrs[i], 1);
        }
    }

    function increaseTokenID(uint256 newID) public onlyOwner {
        uint256 currentID = _tokenIds.current();
        require(newID > currentID, "New ID must be greater than current ID");
        uint256 diff = newID - currentID;
        for(uint256 i = 1;i<diff;i++) {
            _tokenIds.increment();
        }
    }

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

    function setBaseURI(string memory _uri) public onlyOwner {
        _prefixURI = _uri;
    }

    function baseExtension() internal view returns (string memory) {
        return _baseExtension;
    }

    function setBaseExtension(string memory _ext) public onlyOwner {
        _baseExtension = _ext;
    }

     function setMerkleRoot(bytes32 _root) public onlyOwner {
        merkleRoot = _root;
    }

    function preSaleActive() public view returns (bool) {
        return _presaleActive;
    }

    function saleActive() public view returns (bool) {
        return _saleActive;
    }

    function resetSaleMintsForAddrs(address[] memory addrs) public onlyOwner {
        for (uint256 i = 0; i < addrs.length; i++) {
            _saleMints[addrs[i]] = 0;
        }
    }

    function togglePreSale() public onlyOwner {
        _presaleActive = !_presaleActive;
    }

    function toggleSale() public onlyOwner {
        _saleActive = !_saleActive;
    }
    
     function updateMaxTokens(uint256 newMax) public onlyOwner {
        _maxTokens = newMax;
    }

    function updateMaxMint(uint256 newMax) public onlyOwner {
        _maxMint = newMax;
    }

    function updateMaxPresaleMint(uint256 newMax) public onlyOwner {
        _maxPresaleMint = newMax;
    }

    function updatePrice(uint256 newPrice) public onlyOwner {
        _price = newPrice;
    }

    function updateFund(uint256 newFund) public onlyOwner {
        _tankiesFund = newFund;
    }
    
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId),"ERC721AMetadata: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        tokenId.toString();
        return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), _baseExtension)) : "";
    }

    function mintItems(uint256 _quantity)
        public
        payable
        callerIsUser
        hasCorrectAmount(msg.value, _quantity)
    {
        require(
            _quantity > 0 &&
                _saleMints[msg.sender] + _quantity <=
                _maxMint,
            "Minting above public limit"
        );
        require(_saleActive);
        uint256 totalMinted = _tokenIds.current();
        require(totalMinted + _quantity <= _maxTokens);
        require(_saleMints[msg.sender] + _quantity <= _maxMint);
        _saleMints[msg.sender] += _quantity;
        //_safeMint(msg.sender, _quantity);
        _mintItem(msg.sender, _quantity);
       
    }

    function presaleMintItems(
        uint256 _quantity,
        bytes32[] calldata proof
    )  
     external payable callerIsUser
     hasCorrectAmount(msg.value, _quantity)
    {
        require(msg.value >= _quantity * _price);
        require(_presaleMints[msg.sender] + _quantity <= _maxPresaleMint, "Exceeds mint amount per wallet!");
        require(_presaleActive);
        require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "You are not whitelisted!");

        uint256 totalMinted = _tokenIds.current();

        require(totalMinted + _quantity <= _maxTokens);

        _presaleMints[msg.sender] += _quantity;
        _mintItem(msg.sender, _quantity);
    }
    
    function _mintItem(address to, uint256 _quantity) internal returns (uint256) {
        _tokenIds.increment();
        uint256 id = _tokenIds.current();
        _safeMint(to, _quantity);
        return id;
    }

    function withdraw() external onlyOwner {
        require(address(this).balance > 0);
        uint256 balance = address(this).balance;
        payable(address(0x8dc4A512A2b4B7948586BE58aAB877a877Fc4064)).transfer(balance * 285 / 1000);
        payable(address(0x25022Fe34893eA7A18f2D370A5fF96688350B906)).transfer(balance * 285 / 1000);
        payable(address(0x761aCE530C38Fb1B4A7f8e8826eb98a44c7d2075)).transfer(balance * 30 / 1000);

        payable(address(0x3639874A416ae2EDb1017198Ad7A97e35929C1B5)).transfer(balance * 133 / 1000);
        payable(address(0xbcB37767904eE41b0bDE505e767f786dA4bfD19a)).transfer(balance * 133 / 1000);
        payable(address(0x53D5c01D7529AD5dFc1a424fEC698fe7Ae9C4fb0)).transfer(balance * 133 / 1000);
        
    }

    function withdrawCommunityWallet() external onlyOwner {
        require(address(this).balance >= _tankiesFund);
        payable(communityWallet).transfer(_tankiesFund);
    }
}

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":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"_baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_prefixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tankiesFund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newID","type":"uint256"}],"name":"increaseTokenID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintItems","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":"preSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMintItems","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"resetSaleMintsForAddrs","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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_ext","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","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":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"newFund","type":"uint256"}],"name":"updateFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxPresaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawCommunityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526009805461ffff1916905566d529ae9e860000600c556004600d556005600e55610d05600f55678ac7230489e800006012557f4a43387ab437e9fed4492137223387dbd6af36c5b7a00ee193527c04e1ef86976013553480156200006757600080fd5b5060408051808201825260078082526654414e4b49455360c81b602080840182815285518087019096529285528401528151919291620000aa9160019162000139565b508051620000c090600290602084019062000139565b505050620000dd620000d7620000e360201b60201c565b620000e7565b6200021c565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014790620001df565b90600052602060002090601f0160209004810192826200016b5760008555620001b6565b82601f106200018657805160ff1916838001178555620001b6565b82800160010185558215620001b6579182015b82811115620001b657825182559160200191906001019062000199565b50620001c4929150620001c8565b5090565b5b80821115620001c45760008155600101620001c9565b600181811c90821680620001f457607f821691505b602082108114156200021657634e487b7160e01b600052602260045260246000fd5b50919050565b612996806200022c6000396000f3fe6080604052600436106102515760003560e01c8063729ad39e11610139578063b88d4fde116100b6578063dd40d6661161007a578063dd40d6661461069e578063de6c97f9146106be578063e6c6df59146106de578063e985e9c5146106fe578063f15206ef14610747578063f2fde38b1461075a57600080fd5b8063b88d4fde14610609578063c87b56dd14610629578063ca3cb52214610649578063cdaa28fd1461065e578063da3ef23f1461067e57600080fd5b80638da5cb5b116100fd5780638da5cb5b146105815780638da8b7391461059f57806391860f78146105bf57806395d89b41146105d4578063a22cb465146105e957600080fd5b8063729ad39e146104f45780637cb64759146105145780637d8966e41461053457806384494708146105495780638d6cc56d1461056157600080fd5b80632f745c59116101d257806355f804b31161019657806355f804b31461044c5780636061f6131461046c5780636352211e1461048257806368428a1b146104a257806370a08231146104bf578063715018a6146104df57600080fd5b80632f745c59146103c45780633ccfd60b146103e457806342842e0e146103f95780634f6ccce7146104195780635367de6a1461043957600080fd5b806318160ddd1161021957806318160ddd1461031c578063235b6ea11461035957806323b872dd1461036f57806323ca9f7c1461038f5780632672c902146103af57600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630eebdad614610307575b600080fd5b34801561026257600080fd5b50610276610271366004612577565b61077a565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107e7565b6040516102829190612798565b3480156102b957600080fd5b506102cd6102c836600461255f565b610879565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004612488565b6108bd565b005b34801561031357600080fd5b5061030561094b565b34801561032857600080fd5b5061034b6000546001600160801b03600160801b82048116918116919091031690565b604051908152602001610282565b34801561036557600080fd5b5061034b600c5481565b34801561037b57600080fd5b5061030561038a36600461239b565b6109d2565b34801561039b57600080fd5b506103056103aa36600461255f565b6109dd565b3480156103bb57600080fd5b506102a0610a0c565b3480156103d057600080fd5b5061034b6103df366004612488565b610a9a565b3480156103f057600080fd5b50610305610b96565b34801561040557600080fd5b5061030561041436600461239b565b610de9565b34801561042557600080fd5b5061034b61043436600461255f565b610e04565b61030561044736600461255f565b610eae565b34801561045857600080fd5b506103056104673660046125af565b611061565b34801561047857600080fd5b5061034b60125481565b34801561048e57600080fd5b506102cd61049d36600461255f565b61109e565b3480156104ae57600080fd5b50600954610100900460ff16610276565b3480156104cb57600080fd5b5061034b6104da36600461234f565b6110b0565b3480156104eb57600080fd5b506103056110fe565b34801561050057600080fd5b5061030561050f3660046124b1565b611134565b34801561052057600080fd5b5061030561052f36600461255f565b6111bd565b34801561054057600080fd5b506103056111ec565b34801561055557600080fd5b5060095460ff16610276565b34801561056d57600080fd5b5061030561057c36600461255f565b611233565b34801561058d57600080fd5b506007546001600160a01b03166102cd565b3480156105ab57600080fd5b506103056105ba36600461255f565b611262565b3480156105cb57600080fd5b506102a0611291565b3480156105e057600080fd5b506102a061129e565b3480156105f557600080fd5b5061030561060436600461244e565b6112ad565b34801561061557600080fd5b506103056106243660046123d6565b611343565b34801561063557600080fd5b506102a061064436600461255f565b61137d565b34801561065557600080fd5b50610305611456565b34801561066a57600080fd5b5061030561067936600461255f565b611494565b34801561068a57600080fd5b506103056106993660046125af565b611562565b3480156106aa57600080fd5b506103056106b936600461255f565b61159f565b3480156106ca57600080fd5b506103056106d93660046124b1565b6115ce565b3480156106ea57600080fd5b506103056106f936600461255f565b611669565b34801561070a57600080fd5b50610276610719366004612369565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103056107553660046125f4565b611698565b34801561076657600080fd5b5061030561077536600461234f565b6118ed565b60006001600160e01b031982166380ac58cd60e01b14806107ab57506001600160e01b03198216635b5e139f60e01b145b806107c657506001600160e01b0319821663780e9d6360e01b145b806107e157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546107f69061289e565b80601f01602080910402602001604051908101604052809291908181526020018280546108229061289e565b801561086f5780601f106108445761010080835404028352916020019161086f565b820191906000526020600020905b81548152906001019060200180831161085257829003601f168201915b5050505050905090565b600061088482611985565b6108a1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006108c88261109e565b9050806001600160a01b0316836001600160a01b031614156108fd5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061091d575061091b8133610719565b155b1561093b576040516367d9dca160e11b815260040160405180910390fd5b6109468383836119b9565b505050565b6007546001600160a01b0316331461097e5760405162461bcd60e51b8152600401610975906127ab565b60405180910390fd5b60125447101561098d57600080fd5b60125460405173a5b80fec68e8ffa3c7f3bdc21e019ebc4aab8e739180156108fc02916000818181858888f193505050501580156109cf573d6000803e3d6000fd5b50565b610946838383611a15565b6007546001600160a01b03163314610a075760405162461bcd60e51b8152600401610975906127ab565b601255565b600b8054610a199061289e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a459061289e565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b505050505081565b6000610aa5836110b0565b8210610ac4576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b83811015610b9057600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610b3c5750610b88565b80516001600160a01b031615610b5157805192505b876001600160a01b0316836001600160a01b03161415610b865786841415610b7f575093506107e192505050565b6001909301925b505b600101610ad5565b50600080fd5b6007546001600160a01b03163314610bc05760405162461bcd60e51b8152600401610975906127ab565b60004711610bcd57600080fd5b47738dc4a512a2b4b7948586be58aab877a877fc40646108fc6103e8610bf58461011d61283c565b610bff9190612828565b6040518115909202916000818181858888f19350505050158015610c27573d6000803e3d6000fd5b507325022fe34893ea7a18f2d370a5ff96688350b9066108fc6103e8610c4f8461011d61283c565b610c599190612828565b6040518115909202916000818181858888f19350505050158015610c81573d6000803e3d6000fd5b5073761ace530c38fb1b4a7f8e8826eb98a44c7d20756108fc6103e8610ca884601e61283c565b610cb29190612828565b6040518115909202916000818181858888f19350505050158015610cda573d6000803e3d6000fd5b50733639874a416ae2edb1017198ad7a97e35929c1b56108fc6103e8610d0184608561283c565b610d0b9190612828565b6040518115909202916000818181858888f19350505050158015610d33573d6000803e3d6000fd5b5073bcb37767904ee41b0bde505e767f786da4bfd19a6108fc6103e8610d5a84608561283c565b610d649190612828565b6040518115909202916000818181858888f19350505050158015610d8c573d6000803e3d6000fd5b507353d5c01d7529ad5dfc1a424fec698fe7ae9c4fb06108fc6103e8610db384608561283c565b610dbd9190612828565b6040518115909202916000818181858888f19350505050158015610de5573d6000803e3d6000fd5b5050565b61094683838360405180602001604052806000815250611343565b600080546001600160801b031681805b82811015610e9457600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610e8b5785831415610e845750949350505050565b6001909201915b50600101610e14565b506040516329c8c00760e21b815260040160405180910390fd5b323314610efd5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610975565b348180600c54610f0d919061283c565b821015610f505760405162461bcd60e51b8152602060048201526011602482015270496e737566666963656e742066756e647360781b6044820152606401610975565b600083118015610f7c5750600e5433600090815260116020526040902054610f79908590612810565b11155b610fc85760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e672061626f7665207075626c6963206c696d69740000000000006044820152606401610975565b600954610100900460ff16610fdc57600080fd5b6000610fe760085490565b600f54909150610ff78583612810565b111561100257600080fd5b600e5433600090815260116020526040902054611020908690612810565b111561102b57600080fd5b336000908152601160205260408120805486929061104a908490612810565b9091555061105a90503385611c2f565b5050505050565b6007546001600160a01b0316331461108b5760405162461bcd60e51b8152600401610975906127ab565b8051610de590600a906020840190612243565b60006110a982611c56565b5192915050565b60006001600160a01b0382166110d9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546001600160401b031690565b6007546001600160a01b031633146111285760405162461bcd60e51b8152600401610975906127ab565b6111326000611d78565b565b6007546001600160a01b0316331461115e5760405162461bcd60e51b8152600401610975906127ab565b60005b8151811015610de557611178600880546001019055565b6111aa82828151811061119b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001611c2f565b50806111b5816128d9565b915050611161565b6007546001600160a01b031633146111e75760405162461bcd60e51b8152600401610975906127ab565b601355565b6007546001600160a01b031633146112165760405162461bcd60e51b8152600401610975906127ab565b6009805461ff001981166101009182900460ff1615909102179055565b6007546001600160a01b0316331461125d5760405162461bcd60e51b8152600401610975906127ab565b600c55565b6007546001600160a01b0316331461128c5760405162461bcd60e51b8152600401610975906127ab565b600d55565b600a8054610a199061289e565b6060600280546107f69061289e565b6001600160a01b0382163314156112d75760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61134e848484611a15565b61135a84848484611dca565b611377576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061138882611985565b6113ed5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610975565b60006113f7611ed9565b905061140283611ee8565b506000815111611421576040518060200160405280600081525061144f565b8061142b84611ee8565b600b60405160200161143f93929190612699565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146114805760405162461bcd60e51b8152600401610975906127ab565b6009805460ff19811660ff90911615179055565b6007546001600160a01b031633146114be5760405162461bcd60e51b8152600401610975906127ab565b60006114c960085490565b90508082116115295760405162461bcd60e51b815260206004820152602660248201527f4e6577204944206d7573742062652067726561746572207468616e2063757272604482015265195b9d08125160d21b6064820152608401610975565b6000611535828461285b565b905060015b8181101561137757611550600880546001019055565b8061155a816128d9565b91505061153a565b6007546001600160a01b0316331461158c5760405162461bcd60e51b8152600401610975906127ab565b8051610de590600b906020840190612243565b6007546001600160a01b031633146115c95760405162461bcd60e51b8152600401610975906127ab565b600f55565b6007546001600160a01b031633146115f85760405162461bcd60e51b8152600401610975906127ab565b60005b8151811015610de55760006011600084848151811061162a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611661906128d9565b9150506115fb565b6007546001600160a01b031633146116935760405162461bcd60e51b8152600401610975906127ab565b600e55565b3233146116e75760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610975565b348380600c546116f7919061283c565b82101561173a5760405162461bcd60e51b8152602060048201526011602482015270496e737566666963656e742066756e647360781b6044820152606401610975565b600c54611747908661283c565b34101561175357600080fd5b600d5433600090815260106020526040902054611771908790612810565b11156117bf5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d696e7420616d6f756e74207065722077616c6c657421006044820152606401610975565b60095460ff166117ce57600080fd5b611843848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120612001565b61188f5760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401610975565b600061189a60085490565b600f549091506118aa8783612810565b11156118b557600080fd5b33600090815260106020526040812080548892906118d4908490612810565b909155506118e490503387611c2f565b50505050505050565b6007546001600160a01b031633146119175760405162461bcd60e51b8152600401610975906127ab565b6001600160a01b03811661197c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610975565b6109cf81611d78565b600080546001600160801b0316821080156107e1575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a2082611c56565b80519091506000906001600160a01b0316336001600160a01b03161480611a4e57508151611a4e9033610719565b80611a69575033611a5e84610879565b6001600160a01b0316145b905080611a8957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611abe5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611ae557604051633a954ecd60e21b815260040160405180910390fd5b611af560008484600001516119b9565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611be8576000546001600160801b0316811015611be857825160008281526003602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461105a565b6000611c3f600880546001019055565b6000611c4a60085490565b905061144f8484612017565b60408051606081018252600080825260208201819052918101829052905482906001600160801b0316811015611d5f57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611d5d5780516001600160a01b031615611cf4579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611d58579392505050565b611cf4565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15611ecd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e0e90339089908890889060040161275b565b602060405180830381600087803b158015611e2857600080fd5b505af1925050508015611e58575060408051601f3d908101601f19168201909252611e5591810190612593565b60015b611eb3573d808015611e86576040519150601f19603f3d011682016040523d82523d6000602084013e611e8b565b606091505b508051611eab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ed1565b5060015b949350505050565b6060600a80546107f69061289e565b606081611f0c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f365780611f20816128d9565b9150611f2f9050600a83612828565b9150611f10565b6000816001600160401b03811115611f5e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f88576020820181803683370190505b5090505b8415611ed157611f9d60018361285b565b9150611faa600a866128f4565b611fb5906030612810565b60f81b818381518110611fd857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611ffa600a86612828565b9450611f8c565b60008261200e8584612031565b14949350505050565b610de58282604051806020016040528060008152506120b3565b600081815b84518110156120ab57600085828151811061206157634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116120875760008381526020829052604090209250612098565b600081815260208490526040902092505b50806120a3816128d9565b915050612036565b509392505050565b61094683838360016000546001600160801b03166001600160a01b0385166120ed57604051622e076360e81b815260040160405180910390fd5b8361210b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b8581101561221d5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156121f357506121f16000888488611dca565b155b15612211576040516368d2bf6b60e11b815260040160405180910390fd5b6001918201910161219c565b50600080546001600160801b0319166001600160801b039290921691909117905561105a565b82805461224f9061289e565b90600052602060002090601f01602090048101928261227157600085556122b7565b82601f1061228a57805160ff19168380011785556122b7565b828001600101855582156122b7579182015b828111156122b757825182559160200191906001019061229c565b506122c39291506122c7565b5090565b5b808211156122c357600081556001016122c8565b60006001600160401b038311156122f5576122f5612934565b612308601f8401601f19166020016127e0565b905082815283838301111561231c57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461234a57600080fd5b919050565b600060208284031215612360578081fd5b61144f82612333565b6000806040838503121561237b578081fd5b61238483612333565b915061239260208401612333565b90509250929050565b6000806000606084860312156123af578081fd5b6123b884612333565b92506123c660208501612333565b9150604084013590509250925092565b600080600080608085870312156123eb578081fd5b6123f485612333565b935061240260208601612333565b92506040850135915060608501356001600160401b03811115612423578182fd5b8501601f81018713612433578182fd5b612442878235602084016122dc565b91505092959194509250565b60008060408385031215612460578182fd5b61246983612333565b91506020830135801515811461247d578182fd5b809150509250929050565b6000806040838503121561249a578182fd5b6124a383612333565b946020939093013593505050565b600060208083850312156124c3578182fd5b82356001600160401b03808211156124d9578384fd5b818501915085601f8301126124ec578384fd5b8135818111156124fe576124fe612934565b8060051b915061250f8483016127e0565b8181528481019084860184860187018a1015612529578788fd5b8795505b838610156125525761253e81612333565b83526001959095019491860191860161252d565b5098975050505050505050565b600060208284031215612570578081fd5b5035919050565b600060208284031215612588578081fd5b813561144f8161294a565b6000602082840312156125a4578081fd5b815161144f8161294a565b6000602082840312156125c0578081fd5b81356001600160401b038111156125d5578182fd5b8201601f810184136125e5578182fd5b611ed1848235602084016122dc565b600080600060408486031215612608578081fd5b8335925060208401356001600160401b0380821115612625578283fd5b818601915086601f830112612638578283fd5b813581811115612646578384fd5b8760208260051b850101111561265a578384fd5b6020830194508093505050509250925092565b60008151808452612685816020860160208601612872565b601f01601f19169290920160200192915050565b6000845160206126ac8285838a01612872565b8551918401916126bf8184848a01612872565b85549201918390600181811c90808316806126db57607f831692505b8583108114156126f957634e487b7160e01b88526022600452602488fd5b80801561270d576001811461271e5761274a565b60ff1985168852838801955061274a565b60008b815260209020895b858110156127425781548a820152908401908801612729565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061278e9083018461266d565b9695505050505050565b60208152600061144f602083018461266d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b038111828210171561280857612808612934565b604052919050565b6000821982111561282357612823612908565b500190565b6000826128375761283761291e565b500490565b600081600019048311821515161561285657612856612908565b500290565b60008282101561286d5761286d612908565b500390565b60005b8381101561288d578181015183820152602001612875565b838111156113775750506000910152565b600181811c908216806128b257607f821691505b602082108114156128d357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128ed576128ed612908565b5060010190565b6000826129035761290361291e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109cf57600080fdfea2646970667358221220d8ff08463a8273bbee4021c8c7dac23db0cb91b6f471ec547096157e5d5144c964736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102515760003560e01c8063729ad39e11610139578063b88d4fde116100b6578063dd40d6661161007a578063dd40d6661461069e578063de6c97f9146106be578063e6c6df59146106de578063e985e9c5146106fe578063f15206ef14610747578063f2fde38b1461075a57600080fd5b8063b88d4fde14610609578063c87b56dd14610629578063ca3cb52214610649578063cdaa28fd1461065e578063da3ef23f1461067e57600080fd5b80638da5cb5b116100fd5780638da5cb5b146105815780638da8b7391461059f57806391860f78146105bf57806395d89b41146105d4578063a22cb465146105e957600080fd5b8063729ad39e146104f45780637cb64759146105145780637d8966e41461053457806384494708146105495780638d6cc56d1461056157600080fd5b80632f745c59116101d257806355f804b31161019657806355f804b31461044c5780636061f6131461046c5780636352211e1461048257806368428a1b146104a257806370a08231146104bf578063715018a6146104df57600080fd5b80632f745c59146103c45780633ccfd60b146103e457806342842e0e146103f95780634f6ccce7146104195780635367de6a1461043957600080fd5b806318160ddd1161021957806318160ddd1461031c578063235b6ea11461035957806323b872dd1461036f57806323ca9f7c1461038f5780632672c902146103af57600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630eebdad614610307575b600080fd5b34801561026257600080fd5b50610276610271366004612577565b61077a565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107e7565b6040516102829190612798565b3480156102b957600080fd5b506102cd6102c836600461255f565b610879565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004612488565b6108bd565b005b34801561031357600080fd5b5061030561094b565b34801561032857600080fd5b5061034b6000546001600160801b03600160801b82048116918116919091031690565b604051908152602001610282565b34801561036557600080fd5b5061034b600c5481565b34801561037b57600080fd5b5061030561038a36600461239b565b6109d2565b34801561039b57600080fd5b506103056103aa36600461255f565b6109dd565b3480156103bb57600080fd5b506102a0610a0c565b3480156103d057600080fd5b5061034b6103df366004612488565b610a9a565b3480156103f057600080fd5b50610305610b96565b34801561040557600080fd5b5061030561041436600461239b565b610de9565b34801561042557600080fd5b5061034b61043436600461255f565b610e04565b61030561044736600461255f565b610eae565b34801561045857600080fd5b506103056104673660046125af565b611061565b34801561047857600080fd5b5061034b60125481565b34801561048e57600080fd5b506102cd61049d36600461255f565b61109e565b3480156104ae57600080fd5b50600954610100900460ff16610276565b3480156104cb57600080fd5b5061034b6104da36600461234f565b6110b0565b3480156104eb57600080fd5b506103056110fe565b34801561050057600080fd5b5061030561050f3660046124b1565b611134565b34801561052057600080fd5b5061030561052f36600461255f565b6111bd565b34801561054057600080fd5b506103056111ec565b34801561055557600080fd5b5060095460ff16610276565b34801561056d57600080fd5b5061030561057c36600461255f565b611233565b34801561058d57600080fd5b506007546001600160a01b03166102cd565b3480156105ab57600080fd5b506103056105ba36600461255f565b611262565b3480156105cb57600080fd5b506102a0611291565b3480156105e057600080fd5b506102a061129e565b3480156105f557600080fd5b5061030561060436600461244e565b6112ad565b34801561061557600080fd5b506103056106243660046123d6565b611343565b34801561063557600080fd5b506102a061064436600461255f565b61137d565b34801561065557600080fd5b50610305611456565b34801561066a57600080fd5b5061030561067936600461255f565b611494565b34801561068a57600080fd5b506103056106993660046125af565b611562565b3480156106aa57600080fd5b506103056106b936600461255f565b61159f565b3480156106ca57600080fd5b506103056106d93660046124b1565b6115ce565b3480156106ea57600080fd5b506103056106f936600461255f565b611669565b34801561070a57600080fd5b50610276610719366004612369565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103056107553660046125f4565b611698565b34801561076657600080fd5b5061030561077536600461234f565b6118ed565b60006001600160e01b031982166380ac58cd60e01b14806107ab57506001600160e01b03198216635b5e139f60e01b145b806107c657506001600160e01b0319821663780e9d6360e01b145b806107e157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546107f69061289e565b80601f01602080910402602001604051908101604052809291908181526020018280546108229061289e565b801561086f5780601f106108445761010080835404028352916020019161086f565b820191906000526020600020905b81548152906001019060200180831161085257829003601f168201915b5050505050905090565b600061088482611985565b6108a1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006108c88261109e565b9050806001600160a01b0316836001600160a01b031614156108fd5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061091d575061091b8133610719565b155b1561093b576040516367d9dca160e11b815260040160405180910390fd5b6109468383836119b9565b505050565b6007546001600160a01b0316331461097e5760405162461bcd60e51b8152600401610975906127ab565b60405180910390fd5b60125447101561098d57600080fd5b60125460405173a5b80fec68e8ffa3c7f3bdc21e019ebc4aab8e739180156108fc02916000818181858888f193505050501580156109cf573d6000803e3d6000fd5b50565b610946838383611a15565b6007546001600160a01b03163314610a075760405162461bcd60e51b8152600401610975906127ab565b601255565b600b8054610a199061289e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a459061289e565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b505050505081565b6000610aa5836110b0565b8210610ac4576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b83811015610b9057600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610b3c5750610b88565b80516001600160a01b031615610b5157805192505b876001600160a01b0316836001600160a01b03161415610b865786841415610b7f575093506107e192505050565b6001909301925b505b600101610ad5565b50600080fd5b6007546001600160a01b03163314610bc05760405162461bcd60e51b8152600401610975906127ab565b60004711610bcd57600080fd5b47738dc4a512a2b4b7948586be58aab877a877fc40646108fc6103e8610bf58461011d61283c565b610bff9190612828565b6040518115909202916000818181858888f19350505050158015610c27573d6000803e3d6000fd5b507325022fe34893ea7a18f2d370a5ff96688350b9066108fc6103e8610c4f8461011d61283c565b610c599190612828565b6040518115909202916000818181858888f19350505050158015610c81573d6000803e3d6000fd5b5073761ace530c38fb1b4a7f8e8826eb98a44c7d20756108fc6103e8610ca884601e61283c565b610cb29190612828565b6040518115909202916000818181858888f19350505050158015610cda573d6000803e3d6000fd5b50733639874a416ae2edb1017198ad7a97e35929c1b56108fc6103e8610d0184608561283c565b610d0b9190612828565b6040518115909202916000818181858888f19350505050158015610d33573d6000803e3d6000fd5b5073bcb37767904ee41b0bde505e767f786da4bfd19a6108fc6103e8610d5a84608561283c565b610d649190612828565b6040518115909202916000818181858888f19350505050158015610d8c573d6000803e3d6000fd5b507353d5c01d7529ad5dfc1a424fec698fe7ae9c4fb06108fc6103e8610db384608561283c565b610dbd9190612828565b6040518115909202916000818181858888f19350505050158015610de5573d6000803e3d6000fd5b5050565b61094683838360405180602001604052806000815250611343565b600080546001600160801b031681805b82811015610e9457600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610e8b5785831415610e845750949350505050565b6001909201915b50600101610e14565b506040516329c8c00760e21b815260040160405180910390fd5b323314610efd5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610975565b348180600c54610f0d919061283c565b821015610f505760405162461bcd60e51b8152602060048201526011602482015270496e737566666963656e742066756e647360781b6044820152606401610975565b600083118015610f7c5750600e5433600090815260116020526040902054610f79908590612810565b11155b610fc85760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e672061626f7665207075626c6963206c696d69740000000000006044820152606401610975565b600954610100900460ff16610fdc57600080fd5b6000610fe760085490565b600f54909150610ff78583612810565b111561100257600080fd5b600e5433600090815260116020526040902054611020908690612810565b111561102b57600080fd5b336000908152601160205260408120805486929061104a908490612810565b9091555061105a90503385611c2f565b5050505050565b6007546001600160a01b0316331461108b5760405162461bcd60e51b8152600401610975906127ab565b8051610de590600a906020840190612243565b60006110a982611c56565b5192915050565b60006001600160a01b0382166110d9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546001600160401b031690565b6007546001600160a01b031633146111285760405162461bcd60e51b8152600401610975906127ab565b6111326000611d78565b565b6007546001600160a01b0316331461115e5760405162461bcd60e51b8152600401610975906127ab565b60005b8151811015610de557611178600880546001019055565b6111aa82828151811061119b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001611c2f565b50806111b5816128d9565b915050611161565b6007546001600160a01b031633146111e75760405162461bcd60e51b8152600401610975906127ab565b601355565b6007546001600160a01b031633146112165760405162461bcd60e51b8152600401610975906127ab565b6009805461ff001981166101009182900460ff1615909102179055565b6007546001600160a01b0316331461125d5760405162461bcd60e51b8152600401610975906127ab565b600c55565b6007546001600160a01b0316331461128c5760405162461bcd60e51b8152600401610975906127ab565b600d55565b600a8054610a199061289e565b6060600280546107f69061289e565b6001600160a01b0382163314156112d75760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61134e848484611a15565b61135a84848484611dca565b611377576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061138882611985565b6113ed5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610975565b60006113f7611ed9565b905061140283611ee8565b506000815111611421576040518060200160405280600081525061144f565b8061142b84611ee8565b600b60405160200161143f93929190612699565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146114805760405162461bcd60e51b8152600401610975906127ab565b6009805460ff19811660ff90911615179055565b6007546001600160a01b031633146114be5760405162461bcd60e51b8152600401610975906127ab565b60006114c960085490565b90508082116115295760405162461bcd60e51b815260206004820152602660248201527f4e6577204944206d7573742062652067726561746572207468616e2063757272604482015265195b9d08125160d21b6064820152608401610975565b6000611535828461285b565b905060015b8181101561137757611550600880546001019055565b8061155a816128d9565b91505061153a565b6007546001600160a01b0316331461158c5760405162461bcd60e51b8152600401610975906127ab565b8051610de590600b906020840190612243565b6007546001600160a01b031633146115c95760405162461bcd60e51b8152600401610975906127ab565b600f55565b6007546001600160a01b031633146115f85760405162461bcd60e51b8152600401610975906127ab565b60005b8151811015610de55760006011600084848151811061162a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611661906128d9565b9150506115fb565b6007546001600160a01b031633146116935760405162461bcd60e51b8152600401610975906127ab565b600e55565b3233146116e75760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610975565b348380600c546116f7919061283c565b82101561173a5760405162461bcd60e51b8152602060048201526011602482015270496e737566666963656e742066756e647360781b6044820152606401610975565b600c54611747908661283c565b34101561175357600080fd5b600d5433600090815260106020526040902054611771908790612810565b11156117bf5760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d696e7420616d6f756e74207065722077616c6c657421006044820152606401610975565b60095460ff166117ce57600080fd5b611843848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120612001565b61188f5760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401610975565b600061189a60085490565b600f549091506118aa8783612810565b11156118b557600080fd5b33600090815260106020526040812080548892906118d4908490612810565b909155506118e490503387611c2f565b50505050505050565b6007546001600160a01b031633146119175760405162461bcd60e51b8152600401610975906127ab565b6001600160a01b03811661197c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610975565b6109cf81611d78565b600080546001600160801b0316821080156107e1575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a2082611c56565b80519091506000906001600160a01b0316336001600160a01b03161480611a4e57508151611a4e9033610719565b80611a69575033611a5e84610879565b6001600160a01b0316145b905080611a8957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611abe5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611ae557604051633a954ecd60e21b815260040160405180910390fd5b611af560008484600001516119b9565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611be8576000546001600160801b0316811015611be857825160008281526003602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461105a565b6000611c3f600880546001019055565b6000611c4a60085490565b905061144f8484612017565b60408051606081018252600080825260208201819052918101829052905482906001600160801b0316811015611d5f57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611d5d5780516001600160a01b031615611cf4579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611d58579392505050565b611cf4565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15611ecd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e0e90339089908890889060040161275b565b602060405180830381600087803b158015611e2857600080fd5b505af1925050508015611e58575060408051601f3d908101601f19168201909252611e5591810190612593565b60015b611eb3573d808015611e86576040519150601f19603f3d011682016040523d82523d6000602084013e611e8b565b606091505b508051611eab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ed1565b5060015b949350505050565b6060600a80546107f69061289e565b606081611f0c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f365780611f20816128d9565b9150611f2f9050600a83612828565b9150611f10565b6000816001600160401b03811115611f5e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f88576020820181803683370190505b5090505b8415611ed157611f9d60018361285b565b9150611faa600a866128f4565b611fb5906030612810565b60f81b818381518110611fd857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611ffa600a86612828565b9450611f8c565b60008261200e8584612031565b14949350505050565b610de58282604051806020016040528060008152506120b3565b600081815b84518110156120ab57600085828151811061206157634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116120875760008381526020829052604090209250612098565b600081815260208490526040902092505b50806120a3816128d9565b915050612036565b509392505050565b61094683838360016000546001600160801b03166001600160a01b0385166120ed57604051622e076360e81b815260040160405180910390fd5b8361210b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b8581101561221d5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156121f357506121f16000888488611dca565b155b15612211576040516368d2bf6b60e11b815260040160405180910390fd5b6001918201910161219c565b50600080546001600160801b0319166001600160801b039290921691909117905561105a565b82805461224f9061289e565b90600052602060002090601f01602090048101928261227157600085556122b7565b82601f1061228a57805160ff19168380011785556122b7565b828001600101855582156122b7579182015b828111156122b757825182559160200191906001019061229c565b506122c39291506122c7565b5090565b5b808211156122c357600081556001016122c8565b60006001600160401b038311156122f5576122f5612934565b612308601f8401601f19166020016127e0565b905082815283838301111561231c57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461234a57600080fd5b919050565b600060208284031215612360578081fd5b61144f82612333565b6000806040838503121561237b578081fd5b61238483612333565b915061239260208401612333565b90509250929050565b6000806000606084860312156123af578081fd5b6123b884612333565b92506123c660208501612333565b9150604084013590509250925092565b600080600080608085870312156123eb578081fd5b6123f485612333565b935061240260208601612333565b92506040850135915060608501356001600160401b03811115612423578182fd5b8501601f81018713612433578182fd5b612442878235602084016122dc565b91505092959194509250565b60008060408385031215612460578182fd5b61246983612333565b91506020830135801515811461247d578182fd5b809150509250929050565b6000806040838503121561249a578182fd5b6124a383612333565b946020939093013593505050565b600060208083850312156124c3578182fd5b82356001600160401b03808211156124d9578384fd5b818501915085601f8301126124ec578384fd5b8135818111156124fe576124fe612934565b8060051b915061250f8483016127e0565b8181528481019084860184860187018a1015612529578788fd5b8795505b838610156125525761253e81612333565b83526001959095019491860191860161252d565b5098975050505050505050565b600060208284031215612570578081fd5b5035919050565b600060208284031215612588578081fd5b813561144f8161294a565b6000602082840312156125a4578081fd5b815161144f8161294a565b6000602082840312156125c0578081fd5b81356001600160401b038111156125d5578182fd5b8201601f810184136125e5578182fd5b611ed1848235602084016122dc565b600080600060408486031215612608578081fd5b8335925060208401356001600160401b0380821115612625578283fd5b818601915086601f830112612638578283fd5b813581811115612646578384fd5b8760208260051b850101111561265a578384fd5b6020830194508093505050509250925092565b60008151808452612685816020860160208601612872565b601f01601f19169290920160200192915050565b6000845160206126ac8285838a01612872565b8551918401916126bf8184848a01612872565b85549201918390600181811c90808316806126db57607f831692505b8583108114156126f957634e487b7160e01b88526022600452602488fd5b80801561270d576001811461271e5761274a565b60ff1985168852838801955061274a565b60008b815260209020895b858110156127425781548a820152908401908801612729565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061278e9083018461266d565b9695505050505050565b60208152600061144f602083018461266d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b038111828210171561280857612808612934565b604052919050565b6000821982111561282357612823612908565b500190565b6000826128375761283761291e565b500490565b600081600019048311821515161561285657612856612908565b500290565b60008282101561286d5761286d612908565b500390565b60005b8381101561288d578181015183820152602001612875565b838111156113775750506000910152565b600181811c908216806128b257607f821691505b602082108114156128d357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128ed576128ed612908565b5060010190565b6000826129035761290361291e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109cf57600080fdfea2646970667358221220d8ff08463a8273bbee4021c8c7dac23db0cb91b6f471ec547096157e5d5144c964736f6c63430008040033

Deployed Bytecode Sourcemap

50203:6560:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32301:372;;;;;;;;;;-1:-1:-1;32301:372:0;;;;;:::i;:::-;;:::i;:::-;;;8812:14:1;;8805:22;8787:41;;8775:2;8760:18;32301:372:0;;;;;;;;34911:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;36414:204::-;;;;;;;;;;-1:-1:-1;36414:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8110:32:1;;;8092:51;;8080:2;8065:18;36414:204:0;8047:102:1;35977:371:0;;;;;;;;;;-1:-1:-1;35977:371:0;;;;;:::i;:::-;;:::i;:::-;;56583:177;;;;;;;;;;;;;:::i;29538:280::-;;;;;;;;;;;;29591:7;29783:12;-1:-1:-1;;;;;;;;29783:12:0;;;;29767:13;;;:28;;;;29760:35;;29538:280;;;;12574:25:1;;;12562:2;12547:18;29538:280:0;12529:76:1;50517:42:0;;;;;;;;;;;;;;;;37271:170;;;;;;;;;;-1:-1:-1;37271:170:0;;;;;:::i;:::-;;:::i;53646:95::-;;;;;;;;;;-1:-1:-1;53646:95:0;;;;;:::i;:::-;;:::i;50476:28::-;;;;;;;;;;;;;:::i;31124:1105::-;;;;;;;;;;-1:-1:-1;31124:1105:0;;;;;:::i;:::-;;:::i;55810:765::-;;;;;;;;;;;;;:::i;37512:185::-;;;;;;;;;;-1:-1:-1;37512:185:0;;;;;:::i;:::-;;:::i;30111:713::-;;;;;;;;;;-1:-1:-1;30111:713:0;;;;;:::i;:::-;;:::i;54159:687::-;;;;;;:::i;:::-;;:::i;52219:93::-;;;;;;;;;;-1:-1:-1;52219:93:0;;;;;:::i;:::-;;:::i;50931:38::-;;;;;;;;;;;;;;;;34720:124;;;;;;;;;;-1:-1:-1;34720:124:0;;;;;:::i;:::-;;:::i;52743:86::-;;;;;;;;;;-1:-1:-1;52810:11:0;;;;;;;52743:86;;32737:206;;;;;;;;;;-1:-1:-1;32737:206:0;;;;;:::i;:::-;;:::i;23097:103::-;;;;;;;;;;;;;:::i;51564:203::-;;;;;;;;;;-1:-1:-1;51564:203:0;;;;;:::i;:::-;;:::i;52543:92::-;;;;;;;;;;-1:-1:-1;52543:92:0;;;;;:::i;:::-;;:::i;53131:84::-;;;;;;;;;;;;;:::i;52643:92::-;;;;;;;;;;-1:-1:-1;52713:14:0;;;;52643:92;;53546;;;;;;;;;;-1:-1:-1;53546:92:0;;;;;:::i;:::-;;:::i;22446:87::-;;;;;;;;;;-1:-1:-1;22519:6:0;;-1:-1:-1;;;;;22519:6:0;22446:87;;53432:106;;;;;;;;;;-1:-1:-1;53432:106:0;;;;;:::i;:::-;;:::i;50445:24::-;;;;;;;;;;;;;:::i;35080:104::-;;;;;;;;;;;;;:::i;36690:279::-;;;;;;;;;;-1:-1:-1;36690:279:0;;;;;:::i;:::-;;:::i;37768:342::-;;;;;;;;;;-1:-1:-1;37768:342:0;;;;;:::i;:::-;;:::i;53753:398::-;;;;;;;;;;-1:-1:-1;53753:398:0;;;;;:::i;:::-;;:::i;53030:93::-;;;;;;;;;;;;;:::i;51775:325::-;;;;;;;;;;-1:-1:-1;51775:325:0;;;;;:::i;:::-;;:::i;52431:103::-;;;;;;;;;;-1:-1:-1;52431:103:0;;;;;:::i;:::-;;:::i;53228:96::-;;;;;;;;;;-1:-1:-1;53228:96:0;;;;;:::i;:::-;;:::i;52837:185::-;;;;;;;;;;-1:-1:-1;52837:185:0;;;;;:::i;:::-;;:::i;53332:92::-;;;;;;;;;;-1:-1:-1;53332:92:0;;;;;:::i;:::-;;:::i;37040:164::-;;;;;;;;;;-1:-1:-1;37040:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;37161:25:0;;;37137:4;37161:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37040:164;54854:721;;;;;;:::i;:::-;;:::i;23355:201::-;;;;;;;;;;-1:-1:-1;23355:201:0;;;;;:::i;:::-;;:::i;32301:372::-;32403:4;-1:-1:-1;;;;;;32440:40:0;;-1:-1:-1;;;32440:40:0;;:105;;-1:-1:-1;;;;;;;32497:48:0;;-1:-1:-1;;;32497:48:0;32440:105;:172;;;-1:-1:-1;;;;;;;32562:50:0;;-1:-1:-1;;;32562:50:0;32440:172;:225;;;-1:-1:-1;;;;;;;;;;21323:40:0;;;32629:36;32420:245;32301:372;-1:-1:-1;;32301:372:0:o;34911:100::-;34965:13;34998:5;34991:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34911:100;:::o;36414:204::-;36482:7;36507:16;36515:7;36507;:16::i;:::-;36502:64;;36532:34;;-1:-1:-1;;;36532:34:0;;;;;;;;;;;36502:64;-1:-1:-1;36586:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36586:24:0;;36414:204::o;35977:371::-;36050:13;36066:24;36082:7;36066:15;:24::i;:::-;36050:40;;36111:5;-1:-1:-1;;;;;36105:11:0;:2;-1:-1:-1;;;;;36105:11:0;;36101:48;;;36125:24;;-1:-1:-1;;;36125:24:0;;;;;;;;;;;36101:48;18077:10;-1:-1:-1;;;;;36166:21:0;;;;;;:63;;-1:-1:-1;36192:37:0;36209:5;18077:10;37040:164;:::i;36192:37::-;36191:38;36166:63;36162:138;;;36253:35;;-1:-1:-1;;;36253:35:0;;;;;;;;;;;36162:138;36312:28;36321:2;36325:7;36334:5;36312:8;:28::i;:::-;35977:371;;;:::o;56583:177::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;;;;;;;;;56681:12:::1;;56656:21;:37;;56648:46;;;::::0;::::1;;56739:12;::::0;56705:47:::1;::::0;50876:42:::1;::::0;56705:47;::::1;;;::::0;::::1;::::0;;;56739:12;50876:42;56705:47;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;56583:177::o:0;37271:170::-;37405:28;37415:4;37421:2;37425:7;37405:9;:28::i;53646:95::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53711:12:::1;:22:::0;53646:95::o;50476:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31124:1105::-;31213:7;31246:16;31256:5;31246:9;:16::i;:::-;31237:5;:25;31233:61;;31271:23;;-1:-1:-1;;;31271:23:0;;;;;;;;;;;31233:61;31305:22;31330:13;;-1:-1:-1;;;;;31330:13:0;;31305:22;;31580:557;31600:14;31596:1;:18;31580:557;;;31640:31;31674:14;;;:11;:14;;;;;;;;;31640:48;;;;;;;;;-1:-1:-1;;;;;31640:48:0;;;;-1:-1:-1;;;31640:48:0;;-1:-1:-1;;;;;31640:48:0;;;;;;;;-1:-1:-1;;;31640:48:0;;;;;;;;;;;;;;;;31707:73;;31752:8;;;31707:73;31802:14;;-1:-1:-1;;;;;31802:28:0;;31798:111;;31875:14;;;-1:-1:-1;31798:111:0;31952:5;-1:-1:-1;;;;;31931:26:0;:17;-1:-1:-1;;;;;31931:26:0;;31927:195;;;32001:5;31986:11;:20;31982:85;;;-1:-1:-1;32042:1:0;-1:-1:-1;32035:8:0;;-1:-1:-1;;;32035:8:0;31982:85;32089:13;;;;;31927:195;31580:557;;31616:3;;31580:557;;;;32213:8;;;55810:765;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;55892:1:::1;55868:21;:25;55860:34;;;::::0;::::1;;55923:21;55971:42;55955:91;56041:4;56025:13;55923:21:::0;56035:3:::1;56025:13;:::i;:::-;:20;;;;:::i;:::-;55955:91;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;56073:42:0::1;56057:91;56143:4;56127:13;:7:::0;56137:3:::1;56127:13;:::i;:::-;:20;;;;:::i;:::-;56057:91;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;56175:42:0::1;56159:90;56244:4;56229:12;:7:::0;56239:2:::1;56229:12;:::i;:::-;:19;;;;:::i;:::-;56159:90;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;56278:42:0::1;56262:91;56348:4;56332:13;:7:::0;56342:3:::1;56332:13;:::i;:::-;:20;;;;:::i;:::-;56262:91;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;56380:42:0::1;56364:91;56450:4;56434:13;:7:::0;56444:3:::1;56434:13;:::i;:::-;:20;;;;:::i;:::-;56364:91;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;56482:42:0::1;56466:91;56552:4;56536:13;:7:::0;56546:3:::1;56536:13;:::i;:::-;:20;;;;:::i;:::-;56466:91;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;22737:1;55810:765::o:0;37512:185::-;37650:39;37667:4;37673:2;37677:7;37650:39;;;;;;;;;;;;:16;:39::i;30111:713::-;30178:7;30223:13;;-1:-1:-1;;;;;30223:13:0;30178:7;;30437:328;30457:14;30453:1;:18;30437:328;;;30497:31;30531:14;;;:11;:14;;;;;;;;;30497:48;;;;;;;;;-1:-1:-1;;;;;30497:48:0;;;;-1:-1:-1;;;30497:48:0;;-1:-1:-1;;;;;30497:48:0;;;;;;;;-1:-1:-1;;;30497:48:0;;;;;;;;;;;;;;30564:186;;30629:5;30614:11;:20;30610:85;;;-1:-1:-1;30670:1:0;30111:713;-1:-1:-1;;;;30111:713:0:o;30610:85::-;30717:13;;;;;30564:186;-1:-1:-1;30473:3:0;;30437:328;;;;30793:23;;-1:-1:-1;;;30793:23:0;;;;;;;;;;;54159:687;51175:9;51188:10;51175:23;51167:66;;;;-1:-1:-1;;;51167:66:0;;11204:2:1;51167:66:0;;;11186:21:1;11243:2;11223:18;;;11216:30;11282:32;11262:18;;;11255:60;11332:18;;51167:66:0;11176:180:1;51167:66:0;54278:9:::1;54289;51350;51341:6;;:18;;;;:::i;:::-;51333:4;:26;;51325:56;;;::::0;-1:-1:-1;;;51325:56:0;;12284:2:1;51325:56:0::1;::::0;::::1;12266:21:1::0;12323:2;12303:18;;;12296:30;-1:-1:-1;;;12342:18:1;;;12335:47;12399:18;;51325:56:0::1;12256:167:1::0;51325:56:0::1;54350:1:::2;54338:9;:13;:97;;;;-1:-1:-1::0;54427:8:0::2;::::0;54383:10:::2;54372:22;::::0;;;:10:::2;:22;::::0;;;;;:34:::2;::::0;54397:9;;54372:34:::2;:::i;:::-;:63;;54338:97;54316:173;;;::::0;-1:-1:-1;;;54316:173:0;;9682:2:1;54316:173:0::2;::::0;::::2;9664:21:1::0;9721:2;9701:18;;;9694:30;9760:28;9740:18;;;9733:56;9806:18;;54316:173:0::2;9654:176:1::0;54316:173:0::2;54508:11;::::0;::::2;::::0;::::2;;;54500:20;;;::::0;::::2;;54531:19;54553;:9;49702:14:::0;;49610:114;54553:19:::2;54618:10;::::0;54531:41;;-1:-1:-1;54591:23:0::2;54605:9:::0;54531:41;54591:23:::2;:::i;:::-;:37;;54583:46;;;::::0;::::2;;54686:8;::::0;54659:10:::2;54648:22;::::0;;;:10:::2;:22;::::0;;;;;:34:::2;::::0;54673:9;;54648:34:::2;:::i;:::-;:46;;54640:55;;;::::0;::::2;;54717:10;54706:22;::::0;;;:10:::2;:22;::::0;;;;:35;;54732:9;;54706:22;:35:::2;::::0;54732:9;;54706:35:::2;:::i;:::-;::::0;;;-1:-1:-1;54797:32:0::2;::::0;-1:-1:-1;54807:10:0::2;54819:9:::0;54797::::2;:32::i;:::-;;51392:1;51240::::1;;54159:687:::0;:::o;52219:93::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;52287:17;;::::1;::::0;:10:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;34720:124::-:0;34784:7;34811:20;34823:7;34811:11;:20::i;:::-;:25;;34720:124;-1:-1:-1;;34720:124:0:o;32737:206::-;32801:7;-1:-1:-1;;;;;32825:19:0;;32821:60;;32853:28;;-1:-1:-1;;;32853:28:0;;;;;;;;;;;32821:60;-1:-1:-1;;;;;;32907:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;32907:27:0;;32737:206::o;23097:103::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;23162:30:::1;23189:1;23162:18;:30::i;:::-;23097:103::o:0;51564:203::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;51638:9:::1;51633:127;51657:5;:12;51653:1;:16;51633:127;;;51691:21;:9;49821:19:::0;;49839:1;49821:19;;;49732:127;51691:21:::1;51726:22;51736:5;51742:1;51736:8;;;;;;-1:-1:-1::0;;;51736:8:0::1;;;;;;;;;;;;;;;51746:1;51726:9;:22::i;:::-;-1:-1:-1::0;51671:3:0;::::1;::::0;::::1;:::i;:::-;;;;51633:127;;52543:92:::0;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;52609:10:::1;:18:::0;52543:92::o;53131:84::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53196:11:::1;::::0;;-1:-1:-1;;53181:26:0;::::1;53196:11;::::0;;;::::1;;;53195:12;53181:26:::0;;::::1;;::::0;;53131:84::o;53546:92::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53613:6:::1;:17:::0;53546:92::o;53432:106::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53506:15:::1;:24:::0;53432:106::o;50445:24::-;;;;;;;:::i;35080:104::-;35136:13;35169:7;35162:14;;;;;:::i;36690:279::-;-1:-1:-1;;;;;36781:24:0;;18077:10;36781:24;36777:54;;;36814:17;;-1:-1:-1;;;36814:17:0;;;;;;;;;;;36777:54;18077:10;36844:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36844:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36844:53:0;;;;;;;;;;36913:48;;8787:41:1;;;36844:42:0;;18077:10;36913:48;;8760:18:1;36913:48:0;;;;;;;36690:279;;:::o;37768:342::-;37935:28;37945:4;37951:2;37955:7;37935:9;:28::i;:::-;37979:48;38002:4;38008:2;38012:7;38021:5;37979:22;:48::i;:::-;37974:129;;38051:40;;-1:-1:-1;;;38051:40:0;;;;;;;;;;;37974:129;37768:342;;;;:::o;53753:398::-;53826:13;53860:16;53868:7;53860;:16::i;:::-;53852:76;;;;-1:-1:-1;;;53852:76:0;;9265:2:1;53852:76:0;;;9247:21:1;9304:2;9284:18;;;9277:30;9343:34;9323:18;;;9316:62;-1:-1:-1;;;9394:18:1;;;9387:46;9450:19;;53852:76:0;9237:238:1;53852:76:0;53939:28;53970:10;:8;:10::i;:::-;53939:41;;53991:18;:7;:16;:18::i;:::-;;54058:1;54033:14;54027:28;:32;:116;;;;;;;;;;;;;;;;;54086:14;54102:18;:7;:16;:18::i;:::-;54122:14;54069:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54027:116;54020:123;53753:398;-1:-1:-1;;;53753:398:0:o;53030:93::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53101:14:::1;::::0;;-1:-1:-1;;53083:32:0;::::1;53101:14;::::0;;::::1;53100:15;53083:32;::::0;;53030:93::o;51775:325::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;51843:17:::1;51863:19;:9;49702:14:::0;;49610:114;51863:19:::1;51843:39;;51909:9;51901:5;:17;51893:68;;;::::0;-1:-1:-1;;;51893:68:0;;10444:2:1;51893:68:0::1;::::0;::::1;10426:21:1::0;10483:2;10463:18;;;10456:30;10522:34;10502:18;;;10495:62;-1:-1:-1;;;10573:18:1;;;10566:36;10619:19;;51893:68:0::1;10416:228:1::0;51893:68:0::1;51972:12;51987:17;51995:9:::0;51987:5;:17:::1;:::i;:::-;51972:32:::0;-1:-1:-1;52031:1:0::1;52015:78;52035:4;52033:1;:6;52015:78;;;52060:21;:9;49821:19:::0;;49839:1;49821:19;;;49732:127;52060:21:::1;52040:3:::0;::::1;::::0;::::1;:::i;:::-;;;;52015:78;;52431:103:::0;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;52505:21;;::::1;::::0;:14:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;53228:96::-:0;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53297:10:::1;:19:::0;53228:96::o;52837:185::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;52926:9:::1;52921:94;52945:5;:12;52941:1;:16;52921:94;;;53002:1;52979:10;:20;52990:5;52996:1;52990:8;;;;;;-1:-1:-1::0;;;52990:8:0::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;52979:20:0::1;-1:-1:-1::0;;;;;52979:20:0::1;;;;;;;;;;;;:24;;;;52959:3;;;;;:::i;:::-;;;;52921:94;;53332:92:::0;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;53399:8:::1;:17:::0;53332:92::o;54854:721::-;51175:9;51188:10;51175:23;51167:66;;;;-1:-1:-1;;;51167:66:0;;11204:2:1;51167:66:0;;;11186:21:1;11243:2;11223:18;;;11216:30;11282:32;11262:18;;;11255:60;11332:18;;51167:66:0;11176:180:1;51167:66:0;55011:9:::1;55022;51350;51341:6;;:18;;;;:::i;:::-;51333:4;:26;;51325:56;;;::::0;-1:-1:-1;;;51325:56:0;;12284:2:1;51325:56:0::1;::::0;::::1;12266:21:1::0;12323:2;12303:18;;;12296:30;-1:-1:-1;;;12342:18:1;;;12335:47;12399:18;;51325:56:0::1;12256:167:1::0;51325:56:0::1;55082:6:::2;::::0;55070:18:::2;::::0;:9;:18:::2;:::i;:::-;55057:9;:31;;55049:40;;;::::0;::::2;;55149:15;::::0;55122:10:::2;55108:25;::::0;;;:13:::2;:25;::::0;;;;;:37:::2;::::0;55136:9;;55108:37:::2;:::i;:::-;:56;;55100:100;;;::::0;-1:-1:-1;;;55100:100:0;;11924:2:1;55100:100:0::2;::::0;::::2;11906:21:1::0;11963:2;11943:18;;;11936:30;12002:33;11982:18;;;11975:61;12053:18;;55100:100:0::2;11896:181:1::0;55100:100:0::2;55219:14;::::0;::::2;;55211:23;;;::::0;::::2;;55253:78;55272:5;;55253:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;55279:10:0::2;::::0;55301:28:::2;::::0;-1:-1:-1;;55318:10:0::2;6325:2:1::0;6321:15;6317:53;55301:28:0::2;::::0;::::2;6305:66:1::0;55279:10:0;;-1:-1:-1;6387:12:1;;;-1:-1:-1;55301:28:0::2;;;;;;;;;;;;55291:39;;;;;;55253:18;:78::i;:::-;55245:115;;;::::0;-1:-1:-1;;;55245:115:0;;10851:2:1;55245:115:0::2;::::0;::::2;10833:21:1::0;10890:2;10870:18;;;10863:30;10929:26;10909:18;;;10902:54;10973:18;;55245:115:0::2;10823:174:1::0;55245:115:0::2;55373:19;55395;:9;49702:14:::0;;49610:114;55395:19:::2;55462:10;::::0;55373:41;;-1:-1:-1;55435:23:0::2;55449:9:::0;55373:41;55435:23:::2;:::i;:::-;:37;;55427:46;;;::::0;::::2;;55500:10;55486:25;::::0;;;:13:::2;:25;::::0;;;;:38;;55515:9;;55486:25;:38:::2;::::0;55515:9;;55486:38:::2;:::i;:::-;::::0;;;-1:-1:-1;55535:32:0::2;::::0;-1:-1:-1;55545:10:0::2;55557:9:::0;55535::::2;:32::i;:::-;;51392:1;51240::::1;;54854:721:::0;;;:::o;23355:201::-;22519:6;;-1:-1:-1;;;;;22519:6:0;18077:10;22666:23;22658:68;;;;-1:-1:-1;;;22658:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;23444:22:0;::::1;23436:73;;;::::0;-1:-1:-1;;;23436:73:0;;10037:2:1;23436:73:0::1;::::0;::::1;10019:21:1::0;10076:2;10056:18;;;10049:30;10115:34;10095:18;;;10088:62;-1:-1:-1;;;10166:18:1;;;10159:36;10212:19;;23436:73:0::1;10009:228:1::0;23436:73:0::1;23520:28;23539:8;23520:18;:28::i;38365:144::-:0;38422:4;38456:13;;-1:-1:-1;;;;;38456:13:0;38446:23;;:55;;;;-1:-1:-1;;38474:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;38474:27:0;;;;38473:28;;38365:144::o;45581:196::-;45696:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45696:29:0;-1:-1:-1;;;;;45696:29:0;;;;;;;;;45741:28;;45696:24;;45741:28;;;;;;;45581:196;;;:::o;41082:2112::-;41197:35;41235:20;41247:7;41235:11;:20::i;:::-;41310:18;;41197:58;;-1:-1:-1;41268:22:0;;-1:-1:-1;;;;;41294:34:0;18077:10;-1:-1:-1;;;;;41294:34:0;;:101;;;-1:-1:-1;41362:18:0;;41345:50;;18077:10;37040:164;:::i;41345:50::-;41294:154;;;-1:-1:-1;18077:10:0;41412:20;41424:7;41412:11;:20::i;:::-;-1:-1:-1;;;;;41412:36:0;;41294:154;41268:181;;41467:17;41462:66;;41493:35;;-1:-1:-1;;;41493:35:0;;;;;;;;;;;41462:66;41565:4;-1:-1:-1;;;;;41543:26:0;:13;:18;;;-1:-1:-1;;;;;41543:26:0;;41539:67;;41578:28;;-1:-1:-1;;;41578:28:0;;;;;;;;;;;41539:67;-1:-1:-1;;;;;41621:16:0;;41617:52;;41646:23;;-1:-1:-1;;;41646:23:0;;;;;;;;;;;41617:52;41790:49;41807:1;41811:7;41820:13;:18;;;41790:8;:49::i;:::-;-1:-1:-1;;;;;42135:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;42135:31:0;;;-1:-1:-1;;;;;42135:31:0;;;-1:-1:-1;;42135:31:0;;;;;;;42181:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;42181:29:0;;;;;;;;;;;42227:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;42272:61:0;;;;-1:-1:-1;;;42317:15:0;42272:61;;;;;;;;;;;42607:11;;;42637:24;;;;;:29;42607:11;;42637:29;42633:445;;42862:13;;-1:-1:-1;;;;;42862:13:0;42848:27;;42844:219;;;42932:18;;;42900:24;;;:11;:24;;;;;;;;:50;;43015:28;;;;-1:-1:-1;;;;;42973:70:0;-1:-1:-1;;;42973:70:0;-1:-1:-1;;;;;;42973:70:0;;;-1:-1:-1;;;;;42900:50:0;;;42973:70;;;;;;;42844:219;41082:2112;43125:7;43121:2;-1:-1:-1;;;;;43106:27:0;43115:4;-1:-1:-1;;;;;43106:27:0;;;;;;;;;;;43144:42;37768:342;55587:215;55655:7;55675:21;:9;49821:19;;49839:1;49821:19;;;49732:127;55675:21;55707:10;55720:19;:9;49702:14;;49610:114;55720:19;55707:32;;55750:24;55760:2;55764:9;55750;:24::i;33575:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;33741:13:0;;33685:7;;-1:-1:-1;;;;;33741:13:0;33734:20;;33730:861;;;33775:31;33809:17;;;:11;:17;;;;;;;;;33775:51;;;;;;;;;-1:-1:-1;;;;;33775:51:0;;;;-1:-1:-1;;;33775:51:0;;-1:-1:-1;;;;;33775:51:0;;;;;;;;-1:-1:-1;;;33775:51:0;;;;;;;;;;;;;;33845:731;;33895:14;;-1:-1:-1;;;;;33895:28:0;;33891:101;;33959:9;33575:1083;-1:-1:-1;;;33575:1083:0:o;33891:101::-;-1:-1:-1;;;34336:6:0;34381:17;;;;:11;:17;;;;;;;;;34369:29;;;;;;;;;-1:-1:-1;;;;;34369:29:0;;;;;-1:-1:-1;;;34369:29:0;;-1:-1:-1;;;;;34369:29:0;;;;;;;;-1:-1:-1;;;34369:29:0;;;;;;;;;;;;;34429:28;34425:109;;34497:9;33575:1083;-1:-1:-1;;;33575:1083:0:o;34425:109::-;34296:261;;;33730:861;;34619:31;;-1:-1:-1;;;34619:31:0;;;;;;;;;;;23716:191;23809:6;;;-1:-1:-1;;;;;23826:17:0;;;-1:-1:-1;;;;;;23826:17:0;;;;;;;23859:40;;23809:6;;;23826:17;23809:6;;23859:40;;23790:16;;23859:40;23716:191;;:::o;46342:790::-;46497:4;-1:-1:-1;;;;;46518:13:0;;10335:19;:23;46514:611;;46554:72;;-1:-1:-1;;;46554:72:0;;-1:-1:-1;;;;;46554:36:0;;;;;:72;;18077:10;;46605:4;;46611:7;;46620:5;;46554:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46554:72:0;;;;;;;;-1:-1:-1;;46554:72:0;;;;;;;;;;;;:::i;:::-;;;46550:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46800:13:0;;46796:259;;46850:40;;-1:-1:-1;;;46850:40:0;;;;;;;;;;;46796:259;47005:6;46999:13;46990:6;46986:2;46982:15;46975:38;46550:520;-1:-1:-1;;;;;;46677:55:0;-1:-1:-1;;;46677:55:0;;-1:-1:-1;46670:62:0;;46514:611;-1:-1:-1;47109:4:0;46514:611;46342:790;;;;;;:::o;52108:103::-;52160:13;52193:10;52186:17;;;;;:::i;18584:723::-;18640:13;18861:10;18857:53;;-1:-1:-1;;18888:10:0;;;;;;;;;;;;-1:-1:-1;;;18888:10:0;;;;;18584:723::o;18857:53::-;18935:5;18920:12;18976:78;18983:9;;18976:78;;19009:8;;;;:::i;:::-;;-1:-1:-1;19032:10:0;;-1:-1:-1;19040:2:0;19032:10;;:::i;:::-;;;18976:78;;;19064:19;19096:6;-1:-1:-1;;;;;19086:17:0;;;;;-1:-1:-1;;;19086:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19086:17:0;;19064:39;;19114:154;19121:10;;19114:154;;19148:11;19158:1;19148:11;;:::i;:::-;;-1:-1:-1;19217:10:0;19225:2;19217:5;:10;:::i;:::-;19204:24;;:2;:24;:::i;:::-;19191:39;;19174:6;19181;19174:14;;;;;;-1:-1:-1;;;19174:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;19174:56:0;;;;;;;;-1:-1:-1;19245:11:0;19254:2;19245:11;;:::i;:::-;;;19114:154;;24845:190;24970:4;25023;24994:25;25007:5;25014:4;24994:12;:25::i;:::-;:33;;24845:190;-1:-1:-1;;;;24845:190:0:o;38517:104::-;38586:27;38596:2;38600:8;38586:27;;;;;;;;;;;;:9;:27::i;25397:675::-;25480:7;25523:4;25480:7;25538:497;25562:5;:12;25558:1;:16;25538:497;;;25596:20;25619:5;25625:1;25619:8;;;;;;-1:-1:-1;;;25619:8:0;;;;;;;;;;;;;;;25596:31;;25662:12;25646;:28;25642:382;;26148:13;26198:15;;;26234:4;26227:15;;;26281:4;26265:21;;25774:57;;25642:382;;;26148:13;26198:15;;;26234:4;26227:15;;;26281:4;26265:21;;25951:57;;25642:382;-1:-1:-1;25576:3:0;;;;:::i;:::-;;;;25538:497;;;-1:-1:-1;26052:12:0;25397:675;-1:-1:-1;;;25397:675:0:o;38984:163::-;39107:32;39113:2;39117:8;39127:5;39134:4;39545:20;39568:13;-1:-1:-1;;;;;39568:13:0;-1:-1:-1;;;;;39596:16:0;;39592:48;;39621:19;;-1:-1:-1;;;39621:19:0;;;;;;;;;;;39592:48;39655:13;39651:44;;39677:18;;-1:-1:-1;;;39677:18:0;;;;;;;;;;;39651:44;-1:-1:-1;;;;;40047:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;;;;;40106:49:0;;-1:-1:-1;;;;;40047:44:0;;;;;;;40106:49;;;;-1:-1:-1;;40047:44:0;;;;;;40106:49;;;;;;;;;;;;;;;;40172:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;40222:66:0;;;;-1:-1:-1;;;40272:15:0;40222:66;;;;;;;;;;;40172:25;;40357:328;40377:8;40373:1;:12;40357:328;;;40416:38;;40441:12;;-1:-1:-1;;;;;40416:38:0;;;40433:1;;40416:38;;40433:1;;40416:38;40477:4;:68;;;;;40486:59;40517:1;40521:2;40525:12;40539:5;40486:22;:59::i;:::-;40485:60;40477:68;40473:164;;;40577:40;;-1:-1:-1;;;40577:40:0;;;;;;;;;;;40473:164;40655:14;;;;;40387:3;40357:328;;;-1:-1:-1;40701:13:0;:37;;-1:-1:-1;;;;;;40701:37:0;-1:-1:-1;;;;;40701:37:0;;;;;;;;;;40760:60;37768:342;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:2;;588:1;585;578:12;522:2;474:124;;;:::o;603:196::-;662:6;715:2;703:9;694:7;690:23;686:32;683:2;;;736:6;728;721:22;683:2;764:29;783:9;764:29;:::i;804:270::-;872:6;880;933:2;921:9;912:7;908:23;904:32;901:2;;;954:6;946;939:22;901:2;982:29;1001:9;982:29;:::i;:::-;972:39;;1030:38;1064:2;1053:9;1049:18;1030:38;:::i;:::-;1020:48;;891:183;;;;;:::o;1079:338::-;1156:6;1164;1172;1225:2;1213:9;1204:7;1200:23;1196:32;1193:2;;;1246:6;1238;1231:22;1193:2;1274:29;1293:9;1274:29;:::i;:::-;1264:39;;1322:38;1356:2;1345:9;1341:18;1322:38;:::i;:::-;1312:48;;1407:2;1396:9;1392:18;1379:32;1369:42;;1183:234;;;;;:::o;1422:696::-;1517:6;1525;1533;1541;1594:3;1582:9;1573:7;1569:23;1565:33;1562:2;;;1616:6;1608;1601:22;1562:2;1644:29;1663:9;1644:29;:::i;:::-;1634:39;;1692:38;1726:2;1715:9;1711:18;1692:38;:::i;:::-;1682:48;;1777:2;1766:9;1762:18;1749:32;1739:42;;1832:2;1821:9;1817:18;1804:32;-1:-1:-1;;;;;1851:6:1;1848:30;1845:2;;;1896:6;1888;1881:22;1845:2;1924:22;;1977:4;1969:13;;1965:27;-1:-1:-1;1955:2:1;;2011:6;2003;1996:22;1955:2;2039:73;2104:7;2099:2;2086:16;2081:2;2077;2073:11;2039:73;:::i;:::-;2029:83;;;1552:566;;;;;;;:::o;2123:367::-;2188:6;2196;2249:2;2237:9;2228:7;2224:23;2220:32;2217:2;;;2270:6;2262;2255:22;2217:2;2298:29;2317:9;2298:29;:::i;:::-;2288:39;;2377:2;2366:9;2362:18;2349:32;2424:5;2417:13;2410:21;2403:5;2400:32;2390:2;;2451:6;2443;2436:22;2390:2;2479:5;2469:15;;;2207:283;;;;;:::o;2495:264::-;2563:6;2571;2624:2;2612:9;2603:7;2599:23;2595:32;2592:2;;;2645:6;2637;2630:22;2592:2;2673:29;2692:9;2673:29;:::i;:::-;2663:39;2749:2;2734:18;;;;2721:32;;-1:-1:-1;;;2582:177:1:o;2764:1008::-;2848:6;2879:2;2922;2910:9;2901:7;2897:23;2893:32;2890:2;;;2943:6;2935;2928:22;2890:2;2988:9;2975:23;-1:-1:-1;;;;;3058:2:1;3050:6;3047:14;3044:2;;;3079:6;3071;3064:22;3044:2;3122:6;3111:9;3107:22;3097:32;;3167:7;3160:4;3156:2;3152:13;3148:27;3138:2;;3194:6;3186;3179:22;3138:2;3235;3222:16;3257:2;3253;3250:10;3247:2;;;3263:18;;:::i;:::-;3309:2;3306:1;3302:10;3292:20;;3332:28;3356:2;3352;3348:11;3332:28;:::i;:::-;3394:15;;;3425:12;;;;3457:11;;;3487;;;3483:20;;3480:33;-1:-1:-1;3477:2:1;;;3531:6;3523;3516:22;3477:2;3558:6;3549:15;;3573:169;3587:2;3584:1;3581:9;3573:169;;;3644:23;3663:3;3644:23;:::i;:::-;3632:36;;3605:1;3598:9;;;;;3688:12;;;;3720;;3573:169;;;-1:-1:-1;3761:5:1;2859:913;-1:-1:-1;;;;;;;;2859:913:1:o;3777:190::-;3836:6;3889:2;3877:9;3868:7;3864:23;3860:32;3857:2;;;3910:6;3902;3895:22;3857:2;-1:-1:-1;3938:23:1;;3847:120;-1:-1:-1;3847:120:1:o;3972:255::-;4030:6;4083:2;4071:9;4062:7;4058:23;4054:32;4051:2;;;4104:6;4096;4089:22;4051:2;4148:9;4135:23;4167:30;4191:5;4167:30;:::i;4232:259::-;4301:6;4354:2;4342:9;4333:7;4329:23;4325:32;4322:2;;;4375:6;4367;4360:22;4322:2;4412:9;4406:16;4431:30;4455:5;4431:30;:::i;4496:480::-;4565:6;4618:2;4606:9;4597:7;4593:23;4589:32;4586:2;;;4639:6;4631;4624:22;4586:2;4684:9;4671:23;-1:-1:-1;;;;;4709:6:1;4706:30;4703:2;;;4754:6;4746;4739:22;4703:2;4782:22;;4835:4;4827:13;;4823:27;-1:-1:-1;4813:2:1;;4869:6;4861;4854:22;4813:2;4897:73;4962:7;4957:2;4944:16;4939:2;4935;4931:11;4897:73;:::i;5176:733::-;5271:6;5279;5287;5340:2;5328:9;5319:7;5315:23;5311:32;5308:2;;;5361:6;5353;5346:22;5308:2;5402:9;5389:23;5379:33;;5463:2;5452:9;5448:18;5435:32;-1:-1:-1;;;;;5527:2:1;5519:6;5516:14;5513:2;;;5548:6;5540;5533:22;5513:2;5591:6;5580:9;5576:22;5566:32;;5636:7;5629:4;5625:2;5621:13;5617:27;5607:2;;5663:6;5655;5648:22;5607:2;5708;5695:16;5734:2;5726:6;5723:14;5720:2;;;5755:6;5747;5740:22;5720:2;5813:7;5808:2;5798:6;5795:1;5791:14;5787:2;5783:23;5779:32;5776:45;5773:2;;;5839:6;5831;5824:22;5773:2;5875;5871;5867:11;5857:21;;5897:6;5887:16;;;;;5298:611;;;;;:::o;5914:257::-;5955:3;5993:5;5987:12;6020:6;6015:3;6008:19;6036:63;6092:6;6085:4;6080:3;6076:14;6069:4;6062:5;6058:16;6036:63;:::i;:::-;6153:2;6132:15;-1:-1:-1;;6128:29:1;6119:39;;;;6160:4;6115:50;;5963:208;-1:-1:-1;;5963:208:1:o;6410:1531::-;6634:3;6672:6;6666:13;6698:4;6711:51;6755:6;6750:3;6745:2;6737:6;6733:15;6711:51;:::i;:::-;6825:13;;6784:16;;;;6847:55;6825:13;6784:16;6869:15;;;6847:55;:::i;:::-;6993:13;;6924:20;;;6964:3;;7053:1;7075:18;;;;7128;;;;7155:2;;7233:4;7223:8;7219:19;7207:31;;7155:2;7296;7286:8;7283:16;7263:18;7260:40;7257:2;;;-1:-1:-1;;;7323:33:1;;7379:4;7376:1;7369:15;7409:4;7330:3;7397:17;7257:2;7440:18;7467:110;;;;7591:1;7586:330;;;;7433:483;;7467:110;-1:-1:-1;;7502:24:1;;7488:39;;7547:20;;;;-1:-1:-1;7467:110:1;;7586:330;12937:4;12956:17;;;13006:4;12990:21;;7681:3;7697:169;7711:8;7708:1;7705:15;7697:169;;;7793:14;;7778:13;;;7771:37;7836:16;;;;7728:10;;7697:169;;;7701:3;;7897:8;7890:5;7886:20;7879:27;;7433:483;-1:-1:-1;7932:3:1;;6642:1299;-1:-1:-1;;;;;;;;;;;6642:1299:1:o;8154:488::-;-1:-1:-1;;;;;8423:15:1;;;8405:34;;8475:15;;8470:2;8455:18;;8448:43;8522:2;8507:18;;8500:34;;;8570:3;8565:2;8550:18;;8543:31;;;8348:4;;8591:45;;8616:19;;8608:6;8591:45;:::i;:::-;8583:53;8357:285;-1:-1:-1;;;;;;8357:285:1:o;8839:219::-;8988:2;8977:9;8970:21;8951:4;9008:44;9048:2;9037:9;9033:18;9025:6;9008:44;:::i;11361:356::-;11563:2;11545:21;;;11582:18;;;11575:30;11641:34;11636:2;11621:18;;11614:62;11708:2;11693:18;;11535:182::o;12610:275::-;12681:2;12675:9;12746:2;12727:13;;-1:-1:-1;;12723:27:1;12711:40;;-1:-1:-1;;;;;12766:34:1;;12802:22;;;12763:62;12760:2;;;12828:18;;:::i;:::-;12864:2;12857:22;12655:230;;-1:-1:-1;12655:230:1:o;13022:128::-;13062:3;13093:1;13089:6;13086:1;13083:13;13080:2;;;13099:18;;:::i;:::-;-1:-1:-1;13135:9:1;;13070:80::o;13155:120::-;13195:1;13221;13211:2;;13226:18;;:::i;:::-;-1:-1:-1;13260:9:1;;13201:74::o;13280:168::-;13320:7;13386:1;13382;13378:6;13374:14;13371:1;13368:21;13363:1;13356:9;13349:17;13345:45;13342:2;;;13393:18;;:::i;:::-;-1:-1:-1;13433:9:1;;13332:116::o;13453:125::-;13493:4;13521:1;13518;13515:8;13512:2;;;13526:18;;:::i;:::-;-1:-1:-1;13563:9:1;;13502:76::o;13583:258::-;13655:1;13665:113;13679:6;13676:1;13673:13;13665:113;;;13755:11;;;13749:18;13736:11;;;13729:39;13701:2;13694:10;13665:113;;;13796:6;13793:1;13790:13;13787:2;;;-1:-1:-1;;13831:1:1;13813:16;;13806:27;13636:205::o;13846:380::-;13925:1;13921:12;;;;13968;;;13989:2;;14043:4;14035:6;14031:17;14021:27;;13989:2;14096;14088:6;14085:14;14065:18;14062:38;14059:2;;;14142:10;14137:3;14133:20;14130:1;14123:31;14177:4;14174:1;14167:15;14205:4;14202:1;14195:15;14059:2;;13901:325;;;:::o;14231:135::-;14270:3;-1:-1:-1;;14291:17:1;;14288:2;;;14311:18;;:::i;:::-;-1:-1:-1;14358:1:1;14347:13;;14278:88::o;14371:112::-;14403:1;14429;14419:2;;14434:18;;:::i;:::-;-1:-1:-1;14468:9:1;;14409:74::o;14488:127::-;14549:10;14544:3;14540:20;14537:1;14530:31;14580:4;14577:1;14570:15;14604:4;14601:1;14594:15;14620:127;14681:10;14676:3;14672:20;14669:1;14662:31;14712:4;14709:1;14702:15;14736:4;14733:1;14726:15;14752:127;14813:10;14808:3;14804:20;14801:1;14794:31;14844:4;14841:1;14834:15;14868:4;14865:1;14858:15;14884:131;-1:-1:-1;;;;;;14958:32:1;;14948:43;;14938:2;;15005:1;15002;14995:12

Swarm Source

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