ETH Price: $3,353.02 (-0.41%)
Gas: 5 Gwei

Token

MetaBears (MTB)
 

Overview

Max Total Supply

2,573 MTB

Holders

633

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kushmonster.eth
Balance
1 MTB
0xeeb5a4b0550171864f8e174885996c8e093e3a3c
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:
MetaBears

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-20
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: contracts/IERC721A.sol

// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(
        uint256 indexed fromTokenId,
        uint256 toTokenId,
        address indexed from,
        address indexed to
    );
}

// File: contracts/ERC721A.sol

// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return
            (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) &
            BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId)
        private
        view
        returns (uint256)
    {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed)
        private
        pure
        returns (TokenOwnership memory ownership)
    {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index)
        internal
        view
        returns (TokenOwnership memory)
    {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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)
    {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags)
        private
        view
        returns (uint256 result)
    {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(
                owner,
                or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)
            )
        }
    }

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

    /**
     * @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, _toString(tokenId)))
                : "";
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity)
        private
        pure
        returns (uint256 result)
    {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            index++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) 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` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] +=
                quantity *
                ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) |
                    _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT)
            revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] +=
                quantity *
                ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) |
                    _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(
                startTokenId,
                startTokenId + quantity - 1,
                address(0),
                to
            );

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from)
            revert TransferFromIncorrectOwner();

        (
            uint256 approvedAddressSlot,
            address approvedAddress
        ) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A()))
                revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED |
                    _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (
            uint256 approvedAddressSlot,
            address approvedAddress
        ) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A()))
                    revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) |
                    _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try
            ERC721A__IERC721Receiver(to).onERC721Received(
                _msgSenderERC721A(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return
                retval ==
                ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed =
            (packed & BITMASK_EXTRA_DATA_COMPLEMENT) |
            (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @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 Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value)
        internal
        pure
        returns (string memory ptr)
    {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

// File: contracts/IERC721AQueryable.sol

// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId)
        external
        view
        returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds)
        external
        view
        returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner)
        external
        view
        returns (uint256[] memory);
}

// File: contracts/ERC721AQueryable.sol

// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *   - `extraData` = `0`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *   - `extraData` = `<Extra data when token was burned>`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     *   - `extraData` = `<Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId)
        public
        view
        override
        returns (TokenOwnership memory)
    {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds)
        external
        view
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](
                tokenIdsLength
            );
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (
                uint256 i = start;
                i != stop && tokenIdsIdx != tokenIdsMaxLength;
                ++i
            ) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner)
        external
        view
        override
        returns (uint256[] memory)
    {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (
                uint256 i = _startTokenId();
                tokenIdsIdx != tokenIdsLength;
                ++i
            ) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

// File: contracts/MetaBears.sol

pragma solidity >=0.8.12 <0.9.0;

error Paused();
error MaxPresaleTransactionMintAmountExceeded();
error MaxPresaleMintAmountExceeded();
error MaxTransactionMintAmountExceeded();
error MaxMintAmountExceeded();
error InvalidMintAmount();
error SupplyExceeded();
error PresaleOnly();
error PresaleOver();
error InvalidValue();
error NotWhitelisted();
error NewSupplyToLow();
error NewSupplyToHigh();
error NewReserveSupplyToHigh();
error ReserveSupplyEmpty();
error AddressesExceedReserveSupply();
error ReserveSupplyExceeded();
error InvalidAddressAmount();
error InvalidAirdropAmount();
error NoBalanceToWithdraw();
error WithdrawFailed();

contract MetaBears is ERC721A, ERC721AQueryable, Ownable {
    using MerkleProof for bytes32[];

    bytes32 merkleRoot;

    string public baseURI;

    bool public isPaused = true;
    bool public isRevealed = false;
    bool public isPresale = true;

    uint256 public maxSupply = 3333;
    uint256 public presaleMaxTxMintAmount = 5;
    uint256 public presaleMaxMintAmount = 5;
    uint256 public maxTxMintAmount = 5;
    uint256 public maxMintAmount = 5;
    uint256 public cost = 0.03 ether;
    uint256 public reserveSupply = 250;

    event NewMetaBearMinted(address sender, uint256 mintAmount);

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI
    ) ERC721A(_name, _symbol) {
        setBaseURI(_initBaseURI);
    }

    modifier mustPassChecks(uint256 _mintAmount) {
        if (isPaused) revert Paused();
        if (isPresale && _mintAmount > presaleMaxTxMintAmount)
            revert MaxPresaleTransactionMintAmountExceeded();
        if (
            isPresale &&
            _getAux(msg.sender) + _mintAmount > presaleMaxTxMintAmount
        ) revert MaxPresaleMintAmountExceeded();
        if (_mintAmount < 1) revert InvalidMintAmount();
        if (_mintAmount > maxTxMintAmount)
            revert MaxTransactionMintAmountExceeded();
        if ((_getAux(msg.sender) + _mintAmount) > maxMintAmount)
            revert MaxMintAmountExceeded();
        if (totalSupply() + _mintAmount > maxSupply - reserveSupply)
            revert SupplyExceeded();
        _;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721A, IERC721A)
        returns (string memory)
    {
        if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken();
        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string.concat(currentBaseURI, _toString(tokenId), ".json")
                : "";
    }

    function mint(uint256 _mintAmount)
        external
        payable
        mustPassChecks(_mintAmount)
    {
        if (isPresale) revert PresaleOnly();
        if (msg.value != cost * _mintAmount) revert InvalidValue();
        _safeMint(msg.sender, _mintAmount);
        _setAux(msg.sender, uint64(_getAux(msg.sender) + _mintAmount));
        emit NewMetaBearMinted(msg.sender, _mintAmount);
    }

    function presaleMint(uint256 _mintAmount, bytes32[] memory proof)
        external
        payable
        mustPassChecks(_mintAmount)
    {
        if (!isPresale) revert PresaleOver();
        if (!proof.verify(merkleRoot, keccak256(abi.encodePacked(msg.sender))))
            revert NotWhitelisted();
        if (
            msg.value !=
            (
                _getAux(msg.sender) == 0
                    ? cost * (_mintAmount - 1)
                    : cost * _mintAmount
            )
        ) revert InvalidValue();
        _safeMint(msg.sender, _mintAmount);
        _setAux(msg.sender, uint64(_getAux(msg.sender) + _mintAmount));
        emit NewMetaBearMinted(msg.sender, _mintAmount);
    }

    function mintedTotalOf(address _owner) public view returns (uint256) {
        return _getAux(_owner);
    }

    function ownerMint(uint256 _mintAmount) external onlyOwner {
        if (_mintAmount < 1) revert InvalidMintAmount();
        if (totalSupply() + _mintAmount > maxSupply - reserveSupply)
            revert SupplyExceeded();
        _safeMint(msg.sender, _mintAmount);
        _setAux(msg.sender, uint64(_getAux(msg.sender) + _mintAmount));
    }

    function toggleIsPaused() external onlyOwner {
        isPaused = !isPaused;
    }

    function toggleIsPresale() external onlyOwner {
        isPresale = !isPresale;
    }

    function toggleIsRevealed() external onlyOwner {
        isRevealed = !isRevealed;
    }

    function setMaxSupply(uint256 _newMaxSupply) external onlyOwner {
        if (_newMaxSupply < totalSupply() + reserveSupply)
            revert NewSupplyToLow();
        if (_newMaxSupply > maxSupply) revert NewSupplyToHigh();
        maxSupply = _newMaxSupply;
    }

    function setCost(uint256 _newCost) external onlyOwner {
        cost = _newCost;
    }

    function setReserveSupply(uint256 _newReserveSupply) external onlyOwner {
        if (_newReserveSupply > maxSupply - totalSupply())
            revert NewReserveSupplyToHigh();
        reserveSupply = _newReserveSupply;
    }

    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setPresaleMaxMintAmount(uint256 _newpresaleMaxMintAmount)
        external
        onlyOwner
    {
        presaleMaxMintAmount = _newpresaleMaxMintAmount;
    }

    function setPresaleMaxTxMintAmount(uint256 _newpresaleMaxTxMintAmount)
        external
        onlyOwner
    {
        presaleMaxTxMintAmount = _newpresaleMaxTxMintAmount;
    }

    function setMaxTxMintAmount(uint256 _newMaxTxMintAmount)
        external
        onlyOwner
    {
        maxTxMintAmount = _newMaxTxMintAmount;
    }

    function setMaxMintAmount(uint256 _newMaxMintAmount) external onlyOwner {
        maxMintAmount = _newMaxMintAmount;
    }

    function airdrop(address[] calldata _address) external onlyOwner {
        if (reserveSupply == 0) revert ReserveSupplyEmpty();
        if (_address.length > reserveSupply)
            revert AddressesExceedReserveSupply();
        if (_address.length < 1) revert InvalidAddressAmount();
        if (totalSupply() + _address.length > maxSupply)
            revert SupplyExceeded();
        for (uint256 i = 0; i != _address.length; i++) {
            _safeMint(_address[i], 1);
        }
        reserveSupply = reserveSupply - _address.length;
    }

    function airdropMultipleToAddress(address _address, uint256 _mintAmount)
        external
        onlyOwner
    {
        if (reserveSupply == 0) revert ReserveSupplyEmpty();
        if (_mintAmount > reserveSupply) revert ReserveSupplyExceeded();
        if (_mintAmount < 1) revert InvalidAirdropAmount();
        if (totalSupply() + _mintAmount > maxSupply) revert SupplyExceeded();

        _safeMint(_address, _mintAmount);

        reserveSupply = reserveSupply - _mintAmount;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        if (balance == 0) revert NoBalanceToWithdraw();
        (bool successA, ) = payable(0xF9fb3484254827D5ca0Ef4Ff78d22FB0AB4cEE36)
            .call{value: (balance / 100) * 25}("");
        (bool successB, ) = payable(0x09a71e88590AF466FEf8b764BB75Ca69B375D198)
            .call{value: (balance / 100) * 35}("");
        (bool successC, ) = payable(0xB50462606681071a739286fE12B8ed0be6Fe4a9E)
            .call{value: (balance / 100) * 15}("");
        (bool successD, ) = payable(0x9Adc62347c77074344cDD8Ee22f1bBd4E5441558)
            .call{value: (balance / 100) * 10}("");
        (bool successE, ) = payable(0x818b64B27653D3ce14bB976d118bEd0944A4A031)
            .call{value: (balance / 100) * 5}("");
        (bool successF, ) = payable(0x51D8f89Fae2e82c4bAcF6Ec270f36624bc9C6D1E)
            .call{value: (balance / 100) * 10}("");
        if (
            !(successA &&
                successB &&
                successC &&
                successD &&
                successE &&
                successF)
        ) revert WithdrawFailed();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddressesExceedReserveSupply","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidAddressAmount","type":"error"},{"inputs":[],"name":"InvalidAirdropAmount","type":"error"},{"inputs":[],"name":"InvalidMintAmount","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"InvalidValue","type":"error"},{"inputs":[],"name":"MaxMintAmountExceeded","type":"error"},{"inputs":[],"name":"MaxPresaleMintAmountExceeded","type":"error"},{"inputs":[],"name":"MaxPresaleTransactionMintAmountExceeded","type":"error"},{"inputs":[],"name":"MaxTransactionMintAmountExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NewReserveSupplyToHigh","type":"error"},{"inputs":[],"name":"NewSupplyToHigh","type":"error"},{"inputs":[],"name":"NewSupplyToLow","type":"error"},{"inputs":[],"name":"NoBalanceToWithdraw","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"Paused","type":"error"},{"inputs":[],"name":"PresaleOnly","type":"error"},{"inputs":[],"name":"PresaleOver","type":"error"},{"inputs":[],"name":"ReserveSupplyEmpty","type":"error"},{"inputs":[],"name":"ReserveSupplyExceeded","type":"error"},{"inputs":[],"name":"SupplyExceeded","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WithdrawFailed","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"NewMetaBearMinted","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":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"airdropMultipleToAddress","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"mintedTotalOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_mintAmount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxTxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSupply","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxTxMintAmount","type":"uint256"}],"name":"setMaxTxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newpresaleMaxMintAmount","type":"uint256"}],"name":"setPresaleMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newpresaleMaxTxMintAmount","type":"uint256"}],"name":"setPresaleMaxTxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newReserveSupply","type":"uint256"}],"name":"setReserveSupply","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":"toggleIsPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleIsPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600b805462ffffff191662010001179055610d05600c556005600d819055600e819055600f819055601055666a94d74f43000060115560fa6012553480156200004c57600080fd5b506040516200335c3803806200335c8339810160408190526200006f9162000302565b825183908390620000889060029060208501906200018f565b5080516200009e9060039060208401906200018f565b5050600160005550620000b133620000c5565b620000bc8162000117565b505050620003d0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200018b90600a9060208401906200018f565b5050565b8280546200019d9062000393565b90600052602060002090601f016020900481019282620001c157600085556200020c565b82601f10620001dc57805160ff19168380011785556200020c565b828001600101855582156200020c579182015b828111156200020c578251825591602001919060010190620001ef565b506200021a9291506200021e565b5090565b5b808211156200021a57600081556001016200021f565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200025d57600080fd5b81516001600160401b03808211156200027a576200027a62000235565b604051601f8301601f19908116603f01168101908282118183101715620002a557620002a562000235565b81604052838152602092508683858801011115620002c257600080fd5b600091505b83821015620002e65785820183015181830184015290820190620002c7565b83821115620002f85760008385830101525b9695505050505050565b6000806000606084860312156200031857600080fd5b83516001600160401b03808211156200033057600080fd5b6200033e878388016200024b565b945060208601519150808211156200035557600080fd5b62000363878388016200024b565b935060408601519150808211156200037a57600080fd5b5062000389868287016200024b565b9150509250925092565b600181811c90821680620003a857607f821691505b60208210811415620003ca57634e487b7160e01b600052602260045260246000fd5b50919050565b612f7c80620003e06000396000f3fe6080604052600436106102e45760003560e01c80636c0360eb11610190578063a0712d68116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610879578063f19e75d414610899578063f2fde38b146108b9578063f9613d7f146108d957600080fd5b8063c87b56dd14610830578063d5abeb0114610850578063e3e1e8ef1461086657600080fd5b8063a0712d6814610776578063a1f9cfd214610789578063a22cb465146107a9578063b187bd26146107c9578063b88d4fde146107e3578063c23dc68f1461080357600080fd5b806372fe7177116101495780638da5cb5b116101235780638da5cb5b1461070357806395364a841461072157806395d89b411461074157806399a2557a1461075657600080fd5b806372fe7177146106a05780637cb64759146106b65780638462151c146106d657600080fd5b80636c0360eb146105f65780636d0f259a1461060b5780636f8b44b01461062b57806370a082311461064b578063715018a61461066b578063729ad39e1461068057600080fd5b8063239c70ae1161024f57806344a0d68a1161020857806355f804b3116101e257806355f804b3146105745780635bbb2177146105945780636352211e146105c157806363f6a97d146105e157600080fd5b806344a0d68a14610515578063505cee491461053557806354214f691461055557600080fd5b8063239c70ae1461046a57806323b872dd146104805780633ac7b91d146104a05780633ccfd60b146104c057806342842e0e146104d55780634432fcd5146104f557600080fd5b80630f16a447116102a15780630f16a447146103de5780631275c52e146103f457806313faede61461040a578063171f374f1461042057806318160ddd1461044057806321b804201461045557600080fd5b806301ffc9a7146102e957806303d41eb61461031e57806306fdde0314610342578063081812fc14610364578063088a4ed01461039c578063095ea7b3146103be575b600080fd5b3480156102f557600080fd5b506103096103043660046127ba565b6108ee565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b5061033460125481565b604051908152602001610315565b34801561034e57600080fd5b50610357610940565b604051610315919061282f565b34801561037057600080fd5b5061038461037f366004612842565b6109d2565b6040516001600160a01b039091168152602001610315565b3480156103a857600080fd5b506103bc6103b7366004612842565b610a16565b005b3480156103ca57600080fd5b506103bc6103d9366004612877565b610a4e565b3480156103ea57600080fd5b50610334600d5481565b34801561040057600080fd5b50610334600f5481565b34801561041657600080fd5b5061033460115481565b34801561042c57600080fd5b506103bc61043b366004612877565b610aee565b34801561044c57600080fd5b50610334610bd1565b34801561046157600080fd5b506103bc610bdf565b34801561047657600080fd5b5061033460105481565b34801561048c57600080fd5b506103bc61049b3660046128a1565b610c26565b3480156104ac57600080fd5b506103bc6104bb366004612842565b610db7565b3480156104cc57600080fd5b506103bc610de6565b3480156104e157600080fd5b506103bc6104f03660046128a1565b611139565b34801561050157600080fd5b506103346105103660046128dd565b611159565b34801561052157600080fd5b506103bc610530366004612842565b611173565b34801561054157600080fd5b506103bc610550366004612842565b6111a2565b34801561056157600080fd5b50600b5461030990610100900460ff1681565b34801561058057600080fd5b506103bc61058f366004612995565b611206565b3480156105a057600080fd5b506105b46105af366004612a00565b611247565b6040516103159190612ad1565b3480156105cd57600080fd5b506103846105dc366004612842565b611314565b3480156105ed57600080fd5b506103bc61131f565b34801561060257600080fd5b50610357611368565b34801561061757600080fd5b506103bc610626366004612842565b6113f6565b34801561063757600080fd5b506103bc610646366004612842565b611425565b34801561065757600080fd5b506103346106663660046128dd565b6114ac565b34801561067757600080fd5b506103bc6114fa565b34801561068c57600080fd5b506103bc61069b366004612b13565b611530565b3480156106ac57600080fd5b50610334600e5481565b3480156106c257600080fd5b506103bc6106d1366004612842565b611650565b3480156106e257600080fd5b506106f66106f13660046128dd565b61167f565b6040516103159190612b87565b34801561070f57600080fd5b506008546001600160a01b0316610384565b34801561072d57600080fd5b50600b546103099062010000900460ff1681565b34801561074d57600080fd5b5061035761178e565b34801561076257600080fd5b506106f6610771366004612bbf565b61179d565b6103bc610784366004612842565b611928565b34801561079557600080fd5b506103bc6107a4366004612842565b611b8f565b3480156107b557600080fd5b506103bc6107c4366004612bf2565b611bbe565b3480156107d557600080fd5b50600b546103099060ff1681565b3480156107ef57600080fd5b506103bc6107fe366004612c2e565b611c54565b34801561080f57600080fd5b5061082361081e366004612842565b611c9e565b6040516103159190612ca9565b34801561083c57600080fd5b5061035761084b366004612842565b611d26565b34801561085c57600080fd5b50610334600c5481565b6103bc610874366004612cb7565b611da9565b34801561088557600080fd5b50610309610894366004612d53565b61206b565b3480156108a557600080fd5b506103bc6108b4366004612842565b612099565b3480156108c557600080fd5b506103bc6108d43660046128dd565b612142565b3480156108e557600080fd5b506103bc6121da565b60006301ffc9a760e01b6001600160e01b03198316148061091f57506380ac58cd60e01b6001600160e01b03198316145b8061093a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461094f90612d86565b80601f016020809104026020016040519081016040528092919081815260200182805461097b90612d86565b80156109c85780601f1061099d576101008083540402835291602001916109c8565b820191906000526020600020905b8154815290600101906020018083116109ab57829003601f168201915b5050505050905090565b60006109dd82612218565b6109fa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b03163314610a495760405162461bcd60e51b8152600401610a4090612dc1565b60405180910390fd5b601055565b6000610a5982611314565b9050336001600160a01b03821614610a9257610a75813361206b565b610a92576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610b185760405162461bcd60e51b8152600401610a4090612dc1565b601254610b3857604051631cacc7c160e11b815260040160405180910390fd5b601254811115610b5b57604051630635229560e51b815260040160405180910390fd5b6001811015610b7d5760405163ee9b5f8f60e01b815260040160405180910390fd5b600c5481610b89610bd1565b610b939190612e0c565b1115610bb257604051637d3d824960e01b815260040160405180910390fd5b610bbc828261224d565b80601254610bca9190612e24565b6012555050565b600154600054036000190190565b6008546001600160a01b03163314610c095760405162461bcd60e51b8152600401610a4090612dc1565b600b805461ff001981166101009182900460ff1615909102179055565b6000610c3182612267565b9050836001600160a01b0316816001600160a01b031614610c645760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610cb157610c94863361206b565b610cb157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cd857604051633a954ecd60e21b815260040160405180910390fd5b8015610ce357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610d6e5760018401600081815260046020526040902054610d6c576000548114610d6c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b03163314610de15760405162461bcd60e51b8152600401610a4090612dc1565b600f55565b6008546001600160a01b03163314610e105760405162461bcd60e51b8152600401610a4090612dc1565b4780610e2f5760405163177b02e160e31b815260040160405180910390fd5b600073f9fb3484254827d5ca0ef4ff78d22fb0ab4cee36610e51606484612e3b565b610e5c906019612e5d565b604051600081818185875af1925050503d8060008114610e98576040519150601f19603f3d011682016040523d82523d6000602084013e610e9d565b606091505b50909150600090507309a71e88590af466fef8b764bb75ca69b375d198610ec5606485612e3b565b610ed0906023612e5d565b604051600081818185875af1925050503d8060008114610f0c576040519150601f19603f3d011682016040523d82523d6000602084013e610f11565b606091505b509091506000905073b50462606681071a739286fe12b8ed0be6fe4a9e610f39606486612e3b565b610f4490600f612e5d565b604051600081818185875af1925050503d8060008114610f80576040519150601f19603f3d011682016040523d82523d6000602084013e610f85565b606091505b5090915060009050739adc62347c77074344cdd8ee22f1bbd4e5441558610fad606487612e3b565b610fb890600a612e5d565b604051600081818185875af1925050503d8060008114610ff4576040519150601f19603f3d011682016040523d82523d6000602084013e610ff9565b606091505b509091506000905073818b64b27653d3ce14bb976d118bed0944a4a031611021606488612e3b565b61102c906005612e5d565b604051600081818185875af1925050503d8060008114611068576040519150601f19603f3d011682016040523d82523d6000602084013e61106d565b606091505b50909150600090507351d8f89fae2e82c4bacf6ec270f36624bc9c6d1e611095606489612e3b565b6110a090600a612e5d565b604051600081818185875af1925050503d80600081146110dc576040519150601f19603f3d011682016040523d82523d6000602084013e6110e1565b606091505b505090508580156110ef5750845b80156110f85750835b80156111015750825b801561110a5750815b80156111135750805b61113057604051631d42c86760e21b815260040160405180910390fd5b50505050505050565b61115483838360405180602001604052806000815250611c54565b505050565b6000611164826122d0565b6001600160401b031692915050565b6008546001600160a01b0316331461119d5760405162461bcd60e51b8152600401610a4090612dc1565b601155565b6008546001600160a01b031633146111cc5760405162461bcd60e51b8152600401610a4090612dc1565b6111d4610bd1565b600c546111e19190612e24565b81111561120157604051639965301d60e01b815260040160405180910390fd5b601255565b6008546001600160a01b031633146112305760405162461bcd60e51b8152600401610a4090612dc1565b805161124390600a90602084019061270b565b5050565b80516060906000816001600160401b03811115611266576112666128f8565b6040519080825280602002602001820160405280156112b857816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112845790505b50905060005b82811461130c576112e78582815181106112da576112da612e7c565b6020026020010151611c9e565b8282815181106112f9576112f9612e7c565b60209081029190910101526001016112be565b509392505050565b600061093a82612267565b6008546001600160a01b031633146113495760405162461bcd60e51b8152600401610a4090612dc1565b600b805462ff0000198116620100009182900460ff1615909102179055565b600a805461137590612d86565b80601f01602080910402602001604051908101604052809291908181526020018280546113a190612d86565b80156113ee5780601f106113c3576101008083540402835291602001916113ee565b820191906000526020600020905b8154815290600101906020018083116113d157829003601f168201915b505050505081565b6008546001600160a01b031633146114205760405162461bcd60e51b8152600401610a4090612dc1565b600e55565b6008546001600160a01b0316331461144f5760405162461bcd60e51b8152600401610a4090612dc1565b60125461145a610bd1565b6114649190612e0c565b81101561148457604051631fd7d66f60e01b815260040160405180910390fd5b600c548111156114a757604051634a2d567f60e01b815260040160405180910390fd5b600c55565b60006001600160a01b0382166114d5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146115245760405162461bcd60e51b8152600401610a4090612dc1565b61152e60006122ee565b565b6008546001600160a01b0316331461155a5760405162461bcd60e51b8152600401610a4090612dc1565b60125461157a57604051631cacc7c160e11b815260040160405180910390fd5b60125481111561159d5760405163e918580d60e01b815260040160405180910390fd5b60018110156115bf576040516336036c1560e21b815260040160405180910390fd5b600c54816115cb610bd1565b6115d59190612e0c565b11156115f457604051637d3d824960e01b815260040160405180910390fd5b60005b8082146116415761162f83838381811061161357611613612e7c565b905060200201602081019061162891906128dd565b600161224d565b8061163981612e92565b9150506115f7565b50601254610bca908290612e24565b6008546001600160a01b0316331461167a5760405162461bcd60e51b8152600401610a4090612dc1565b600955565b6060600080600061168f856114ac565b90506000816001600160401b038111156116ab576116ab6128f8565b6040519080825280602002602001820160405280156116d4578160200160208202803683370190505b50905061170160408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146117825761171481612340565b91508160400151156117255761177a565b81516001600160a01b03161561173a57815194505b876001600160a01b0316856001600160a01b0316141561177a578083878060010198508151811061176d5761176d612e7c565b6020026020010181815250505b600101611704565b50909695505050505050565b60606003805461094f90612d86565b60608183106117bf57604051631960ccad60e11b815260040160405180910390fd5b6000806117cb60005490565b905060018510156117db57600194505b808411156117e7578093505b60006117f2876114ac565b905084861015611811578585038181101561180b578091505b50611815565b5060005b6000816001600160401b0381111561182f5761182f6128f8565b604051908082528060200260200182016040528015611858578160200160208202803683370190505b5090508161186b57935061192192505050565b600061187688611c9e565b905060008160400151611887575080515b885b8881141580156118995750848714155b15611915576118a781612340565b92508260400151156118b85761190d565b82516001600160a01b0316156118cd57825191505b8a6001600160a01b0316826001600160a01b0316141561190d578084888060010199508151811061190057611900612e7c565b6020026020010181815250505b600101611889565b50505092835250909150505b9392505050565b600b54819060ff161561194e576040516313d0ff5960e31b815260040160405180910390fd5b600b5462010000900460ff1680156119675750600d5481115b1561198557604051634912492b60e11b815260040160405180910390fd5b600b5462010000900460ff1680156119ba5750600d54816119a5336122d0565b6001600160401b03166119b89190612e0c565b115b156119d857604051632994933960e11b815260040160405180910390fd5b60018110156119fa5760405163199f5a0360e31b815260040160405180910390fd5b600f54811115611a1d57604051631282715b60e31b815260040160405180910390fd5b60105481611a2a336122d0565b6001600160401b0316611a3d9190612e0c565b1115611a5c57604051633fca4c4d60e01b815260040160405180910390fd5b601254600c54611a6c9190612e24565b81611a75610bd1565b611a7f9190612e0c565b1115611a9e57604051637d3d824960e01b815260040160405180910390fd5b600b5462010000900460ff1615611ac8576040516350f6e73560e01b815260040160405180910390fd5b81601154611ad69190612e5d565b3414611af557604051632a9ffab760e21b815260040160405180910390fd5b611aff338361224d565b611b523383611b0d336122d0565b6001600160401b0316611b209190612e0c565b6001600160a01b03909116600090815260056020526040902080546001600160c01b031660c09290921b919091179055565b60408051338152602081018490527f6c3f56e115aca4226ae1e09450e597ea037b36fd84ebc088ab6554a6d576a5d0910160405180910390a15050565b6008546001600160a01b03163314611bb95760405162461bcd60e51b8152600401610a4090612dc1565b600d55565b6001600160a01b038216331415611be85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611c5f848484610c26565b6001600160a01b0383163b15611c9857611c7b8484848461237c565b611c98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611cf757506000548310155b15611d025792915050565b611d0b83612340565b9050806040015115611d1d5792915050565b61192183612465565b6060611d3182612218565b611d4e57604051636f96cda160e11b815260040160405180910390fd5b6000611d5861249a565b90506000815111611d785760405180602001604052806000815250611921565b80611d82846124a9565b604051602001611d93929190612ead565b6040516020818303038152906040529392505050565b600b54829060ff1615611dcf576040516313d0ff5960e31b815260040160405180910390fd5b600b5462010000900460ff168015611de85750600d5481115b15611e0657604051634912492b60e11b815260040160405180910390fd5b600b5462010000900460ff168015611e3b5750600d5481611e26336122d0565b6001600160401b0316611e399190612e0c565b115b15611e5957604051632994933960e11b815260040160405180910390fd5b6001811015611e7b5760405163199f5a0360e31b815260040160405180910390fd5b600f54811115611e9e57604051631282715b60e31b815260040160405180910390fd5b60105481611eab336122d0565b6001600160401b0316611ebe9190612e0c565b1115611edd57604051633fca4c4d60e01b815260040160405180910390fd5b601254600c54611eed9190612e24565b81611ef6610bd1565b611f009190612e0c565b1115611f1f57604051637d3d824960e01b815260040160405180910390fd5b600b5462010000900460ff16611f4b5760405160016242f8d560e01b0319815260040160405180910390fd5b6009546040516bffffffffffffffffffffffff193360601b166020820152611f97919060340160405160208183030381529060405280519060200120846124f89092919063ffffffff16565b611fb457604051630b094f2760e31b815260040160405180910390fd5b611fbd336122d0565b6001600160401b031615611fde5782601154611fd99190612e5d565b611ff6565b611fe9600184612e24565b601154611ff69190612e5d565b341461201557604051632a9ffab760e21b815260040160405180910390fd5b61201f338461224d565b61202d3384611b0d336122d0565b60408051338152602081018590527f6c3f56e115aca4226ae1e09450e597ea037b36fd84ebc088ab6554a6d576a5d0910160405180910390a1505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146120c35760405162461bcd60e51b8152600401610a4090612dc1565b60018110156120e55760405163199f5a0360e31b815260040160405180910390fd5b601254600c546120f59190612e24565b816120fe610bd1565b6121089190612e0c565b111561212757604051637d3d824960e01b815260040160405180910390fd5b612131338261224d565b61213f3382611b0d336122d0565b50565b6008546001600160a01b0316331461216c5760405162461bcd60e51b8152600401610a4090612dc1565b6001600160a01b0381166121d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a40565b61213f816122ee565b6008546001600160a01b031633146122045760405162461bcd60e51b8152600401610a4090612dc1565b600b805460ff19811660ff90911615179055565b60008160011115801561222c575060005482105b801561093a575050600090815260046020526040902054600160e01b161590565b61124382826040518060200160405280600081525061250e565b600081806001116122b7576000548110156122b757600081815260046020526040902054600160e01b81166122b5575b80611921575060001901600081815260046020526040902054612297565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b031660009081526005602052604090205460c01c90565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461093a9061257b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906123b1903390899088908890600401612eec565b6020604051808303816000875af19250505080156123ec575060408051601f3d908101601f191682019092526123e991810190612f29565b60015b612447573d80801561241a576040519150601f19603f3d011682016040523d82523d6000602084013e61241f565b606091505b50805161243f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261093a61249583612267565b61257b565b6060600a805461094f90612d86565b604080516080810191829052607f0190826030600a8206018353600a90045b80156124e657600183039250600a81066030018353600a90046124c8565b50819003601f19909101908152919050565b60008261250585846125c2565b14949350505050565b612518838361262e565b6001600160a01b0383163b15611154576000548281035b612542600086838060010194508661237c565b61255f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061252f57816000541461257457600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b845181101561130c5760008582815181106125e4576125e4612e7c565b6020026020010151905080831161260a576000838152602082905260409020925061261b565b600081815260208490526040902092505b508061262681612e92565b9150506125c7565b6000546001600160a01b03831661265757604051622e076360e81b815260040160405180910390fd5b816126755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106126bf5760005550505050565b82805461271790612d86565b90600052602060002090601f016020900481019282612739576000855561277f565b82601f1061275257805160ff191683800117855561277f565b8280016001018555821561277f579182015b8281111561277f578251825591602001919060010190612764565b5061278b92915061278f565b5090565b5b8082111561278b5760008155600101612790565b6001600160e01b03198116811461213f57600080fd5b6000602082840312156127cc57600080fd5b8135611921816127a4565b60005b838110156127f25781810151838201526020016127da565b83811115611c985750506000910152565b6000815180845261281b8160208601602086016127d7565b601f01601f19169290920160200192915050565b6020815260006119216020830184612803565b60006020828403121561285457600080fd5b5035919050565b80356001600160a01b038116811461287257600080fd5b919050565b6000806040838503121561288a57600080fd5b6128938361285b565b946020939093013593505050565b6000806000606084860312156128b657600080fd5b6128bf8461285b565b92506128cd6020850161285b565b9150604084013590509250925092565b6000602082840312156128ef57600080fd5b6119218261285b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612936576129366128f8565b604052919050565b60006001600160401b03831115612957576129576128f8565b61296a601f8401601f191660200161290e565b905082815283838301111561297e57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156129a757600080fd5b81356001600160401b038111156129bd57600080fd5b8201601f810184136129ce57600080fd5b61245d8482356020840161293e565b60006001600160401b038211156129f6576129f66128f8565b5060051b60200190565b60006020808385031215612a1357600080fd5b82356001600160401b03811115612a2957600080fd5b8301601f81018513612a3a57600080fd5b8035612a4d612a48826129dd565b61290e565b81815260059190911b82018301908381019087831115612a6c57600080fd5b928401925b82841015612a8a57833582529284019290840190612a71565b979650505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561178257612b00838551612a95565b9284019260809290920191600101612aed565b60008060208385031215612b2657600080fd5b82356001600160401b0380821115612b3d57600080fd5b818501915085601f830112612b5157600080fd5b813581811115612b6057600080fd5b8660208260051b8501011115612b7557600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561178257835183529284019291840191600101612ba3565b600080600060608486031215612bd457600080fd5b612bdd8461285b565b95602085013595506040909401359392505050565b60008060408385031215612c0557600080fd5b612c0e8361285b565b915060208301358015158114612c2357600080fd5b809150509250929050565b60008060008060808587031215612c4457600080fd5b612c4d8561285b565b9350612c5b6020860161285b565b92506040850135915060608501356001600160401b03811115612c7d57600080fd5b8501601f81018713612c8e57600080fd5b612c9d8782356020840161293e565b91505092959194509250565b6080810161093a8284612a95565b60008060408385031215612cca57600080fd5b823591506020808401356001600160401b03811115612ce857600080fd5b8401601f81018613612cf957600080fd5b8035612d07612a48826129dd565b81815260059190911b82018301908381019088831115612d2657600080fd5b928401925b82841015612d4457833582529284019290840190612d2b565b80955050505050509250929050565b60008060408385031215612d6657600080fd5b612d6f8361285b565b9150612d7d6020840161285b565b90509250929050565b600181811c90821680612d9a57607f821691505b60208210811415612dbb57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e1f57612e1f612df6565b500190565b600082821015612e3657612e36612df6565b500390565b600082612e5857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e7757612e77612df6565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ea657612ea6612df6565b5060010190565b60008351612ebf8184602088016127d7565b835190830190612ed38183602088016127d7565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f1f90830184612803565b9695505050505050565b600060208284031215612f3b57600080fd5b8151611921816127a456fea264697066735822122073bd4fd32869fac68142e3daf9a97c8fc03ef4926d3972a78231900599cb3e4664736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000094d6574614265617273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d54420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6d65746162656172732e6e65746c6966792e6170702f6170692f746f6b656e2f000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80636c0360eb11610190578063a0712d68116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610879578063f19e75d414610899578063f2fde38b146108b9578063f9613d7f146108d957600080fd5b8063c87b56dd14610830578063d5abeb0114610850578063e3e1e8ef1461086657600080fd5b8063a0712d6814610776578063a1f9cfd214610789578063a22cb465146107a9578063b187bd26146107c9578063b88d4fde146107e3578063c23dc68f1461080357600080fd5b806372fe7177116101495780638da5cb5b116101235780638da5cb5b1461070357806395364a841461072157806395d89b411461074157806399a2557a1461075657600080fd5b806372fe7177146106a05780637cb64759146106b65780638462151c146106d657600080fd5b80636c0360eb146105f65780636d0f259a1461060b5780636f8b44b01461062b57806370a082311461064b578063715018a61461066b578063729ad39e1461068057600080fd5b8063239c70ae1161024f57806344a0d68a1161020857806355f804b3116101e257806355f804b3146105745780635bbb2177146105945780636352211e146105c157806363f6a97d146105e157600080fd5b806344a0d68a14610515578063505cee491461053557806354214f691461055557600080fd5b8063239c70ae1461046a57806323b872dd146104805780633ac7b91d146104a05780633ccfd60b146104c057806342842e0e146104d55780634432fcd5146104f557600080fd5b80630f16a447116102a15780630f16a447146103de5780631275c52e146103f457806313faede61461040a578063171f374f1461042057806318160ddd1461044057806321b804201461045557600080fd5b806301ffc9a7146102e957806303d41eb61461031e57806306fdde0314610342578063081812fc14610364578063088a4ed01461039c578063095ea7b3146103be575b600080fd5b3480156102f557600080fd5b506103096103043660046127ba565b6108ee565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b5061033460125481565b604051908152602001610315565b34801561034e57600080fd5b50610357610940565b604051610315919061282f565b34801561037057600080fd5b5061038461037f366004612842565b6109d2565b6040516001600160a01b039091168152602001610315565b3480156103a857600080fd5b506103bc6103b7366004612842565b610a16565b005b3480156103ca57600080fd5b506103bc6103d9366004612877565b610a4e565b3480156103ea57600080fd5b50610334600d5481565b34801561040057600080fd5b50610334600f5481565b34801561041657600080fd5b5061033460115481565b34801561042c57600080fd5b506103bc61043b366004612877565b610aee565b34801561044c57600080fd5b50610334610bd1565b34801561046157600080fd5b506103bc610bdf565b34801561047657600080fd5b5061033460105481565b34801561048c57600080fd5b506103bc61049b3660046128a1565b610c26565b3480156104ac57600080fd5b506103bc6104bb366004612842565b610db7565b3480156104cc57600080fd5b506103bc610de6565b3480156104e157600080fd5b506103bc6104f03660046128a1565b611139565b34801561050157600080fd5b506103346105103660046128dd565b611159565b34801561052157600080fd5b506103bc610530366004612842565b611173565b34801561054157600080fd5b506103bc610550366004612842565b6111a2565b34801561056157600080fd5b50600b5461030990610100900460ff1681565b34801561058057600080fd5b506103bc61058f366004612995565b611206565b3480156105a057600080fd5b506105b46105af366004612a00565b611247565b6040516103159190612ad1565b3480156105cd57600080fd5b506103846105dc366004612842565b611314565b3480156105ed57600080fd5b506103bc61131f565b34801561060257600080fd5b50610357611368565b34801561061757600080fd5b506103bc610626366004612842565b6113f6565b34801561063757600080fd5b506103bc610646366004612842565b611425565b34801561065757600080fd5b506103346106663660046128dd565b6114ac565b34801561067757600080fd5b506103bc6114fa565b34801561068c57600080fd5b506103bc61069b366004612b13565b611530565b3480156106ac57600080fd5b50610334600e5481565b3480156106c257600080fd5b506103bc6106d1366004612842565b611650565b3480156106e257600080fd5b506106f66106f13660046128dd565b61167f565b6040516103159190612b87565b34801561070f57600080fd5b506008546001600160a01b0316610384565b34801561072d57600080fd5b50600b546103099062010000900460ff1681565b34801561074d57600080fd5b5061035761178e565b34801561076257600080fd5b506106f6610771366004612bbf565b61179d565b6103bc610784366004612842565b611928565b34801561079557600080fd5b506103bc6107a4366004612842565b611b8f565b3480156107b557600080fd5b506103bc6107c4366004612bf2565b611bbe565b3480156107d557600080fd5b50600b546103099060ff1681565b3480156107ef57600080fd5b506103bc6107fe366004612c2e565b611c54565b34801561080f57600080fd5b5061082361081e366004612842565b611c9e565b6040516103159190612ca9565b34801561083c57600080fd5b5061035761084b366004612842565b611d26565b34801561085c57600080fd5b50610334600c5481565b6103bc610874366004612cb7565b611da9565b34801561088557600080fd5b50610309610894366004612d53565b61206b565b3480156108a557600080fd5b506103bc6108b4366004612842565b612099565b3480156108c557600080fd5b506103bc6108d43660046128dd565b612142565b3480156108e557600080fd5b506103bc6121da565b60006301ffc9a760e01b6001600160e01b03198316148061091f57506380ac58cd60e01b6001600160e01b03198316145b8061093a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461094f90612d86565b80601f016020809104026020016040519081016040528092919081815260200182805461097b90612d86565b80156109c85780601f1061099d576101008083540402835291602001916109c8565b820191906000526020600020905b8154815290600101906020018083116109ab57829003601f168201915b5050505050905090565b60006109dd82612218565b6109fa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b03163314610a495760405162461bcd60e51b8152600401610a4090612dc1565b60405180910390fd5b601055565b6000610a5982611314565b9050336001600160a01b03821614610a9257610a75813361206b565b610a92576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610b185760405162461bcd60e51b8152600401610a4090612dc1565b601254610b3857604051631cacc7c160e11b815260040160405180910390fd5b601254811115610b5b57604051630635229560e51b815260040160405180910390fd5b6001811015610b7d5760405163ee9b5f8f60e01b815260040160405180910390fd5b600c5481610b89610bd1565b610b939190612e0c565b1115610bb257604051637d3d824960e01b815260040160405180910390fd5b610bbc828261224d565b80601254610bca9190612e24565b6012555050565b600154600054036000190190565b6008546001600160a01b03163314610c095760405162461bcd60e51b8152600401610a4090612dc1565b600b805461ff001981166101009182900460ff1615909102179055565b6000610c3182612267565b9050836001600160a01b0316816001600160a01b031614610c645760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610cb157610c94863361206b565b610cb157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cd857604051633a954ecd60e21b815260040160405180910390fd5b8015610ce357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610d6e5760018401600081815260046020526040902054610d6c576000548114610d6c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b03163314610de15760405162461bcd60e51b8152600401610a4090612dc1565b600f55565b6008546001600160a01b03163314610e105760405162461bcd60e51b8152600401610a4090612dc1565b4780610e2f5760405163177b02e160e31b815260040160405180910390fd5b600073f9fb3484254827d5ca0ef4ff78d22fb0ab4cee36610e51606484612e3b565b610e5c906019612e5d565b604051600081818185875af1925050503d8060008114610e98576040519150601f19603f3d011682016040523d82523d6000602084013e610e9d565b606091505b50909150600090507309a71e88590af466fef8b764bb75ca69b375d198610ec5606485612e3b565b610ed0906023612e5d565b604051600081818185875af1925050503d8060008114610f0c576040519150601f19603f3d011682016040523d82523d6000602084013e610f11565b606091505b509091506000905073b50462606681071a739286fe12b8ed0be6fe4a9e610f39606486612e3b565b610f4490600f612e5d565b604051600081818185875af1925050503d8060008114610f80576040519150601f19603f3d011682016040523d82523d6000602084013e610f85565b606091505b5090915060009050739adc62347c77074344cdd8ee22f1bbd4e5441558610fad606487612e3b565b610fb890600a612e5d565b604051600081818185875af1925050503d8060008114610ff4576040519150601f19603f3d011682016040523d82523d6000602084013e610ff9565b606091505b509091506000905073818b64b27653d3ce14bb976d118bed0944a4a031611021606488612e3b565b61102c906005612e5d565b604051600081818185875af1925050503d8060008114611068576040519150601f19603f3d011682016040523d82523d6000602084013e61106d565b606091505b50909150600090507351d8f89fae2e82c4bacf6ec270f36624bc9c6d1e611095606489612e3b565b6110a090600a612e5d565b604051600081818185875af1925050503d80600081146110dc576040519150601f19603f3d011682016040523d82523d6000602084013e6110e1565b606091505b505090508580156110ef5750845b80156110f85750835b80156111015750825b801561110a5750815b80156111135750805b61113057604051631d42c86760e21b815260040160405180910390fd5b50505050505050565b61115483838360405180602001604052806000815250611c54565b505050565b6000611164826122d0565b6001600160401b031692915050565b6008546001600160a01b0316331461119d5760405162461bcd60e51b8152600401610a4090612dc1565b601155565b6008546001600160a01b031633146111cc5760405162461bcd60e51b8152600401610a4090612dc1565b6111d4610bd1565b600c546111e19190612e24565b81111561120157604051639965301d60e01b815260040160405180910390fd5b601255565b6008546001600160a01b031633146112305760405162461bcd60e51b8152600401610a4090612dc1565b805161124390600a90602084019061270b565b5050565b80516060906000816001600160401b03811115611266576112666128f8565b6040519080825280602002602001820160405280156112b857816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112845790505b50905060005b82811461130c576112e78582815181106112da576112da612e7c565b6020026020010151611c9e565b8282815181106112f9576112f9612e7c565b60209081029190910101526001016112be565b509392505050565b600061093a82612267565b6008546001600160a01b031633146113495760405162461bcd60e51b8152600401610a4090612dc1565b600b805462ff0000198116620100009182900460ff1615909102179055565b600a805461137590612d86565b80601f01602080910402602001604051908101604052809291908181526020018280546113a190612d86565b80156113ee5780601f106113c3576101008083540402835291602001916113ee565b820191906000526020600020905b8154815290600101906020018083116113d157829003601f168201915b505050505081565b6008546001600160a01b031633146114205760405162461bcd60e51b8152600401610a4090612dc1565b600e55565b6008546001600160a01b0316331461144f5760405162461bcd60e51b8152600401610a4090612dc1565b60125461145a610bd1565b6114649190612e0c565b81101561148457604051631fd7d66f60e01b815260040160405180910390fd5b600c548111156114a757604051634a2d567f60e01b815260040160405180910390fd5b600c55565b60006001600160a01b0382166114d5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146115245760405162461bcd60e51b8152600401610a4090612dc1565b61152e60006122ee565b565b6008546001600160a01b0316331461155a5760405162461bcd60e51b8152600401610a4090612dc1565b60125461157a57604051631cacc7c160e11b815260040160405180910390fd5b60125481111561159d5760405163e918580d60e01b815260040160405180910390fd5b60018110156115bf576040516336036c1560e21b815260040160405180910390fd5b600c54816115cb610bd1565b6115d59190612e0c565b11156115f457604051637d3d824960e01b815260040160405180910390fd5b60005b8082146116415761162f83838381811061161357611613612e7c565b905060200201602081019061162891906128dd565b600161224d565b8061163981612e92565b9150506115f7565b50601254610bca908290612e24565b6008546001600160a01b0316331461167a5760405162461bcd60e51b8152600401610a4090612dc1565b600955565b6060600080600061168f856114ac565b90506000816001600160401b038111156116ab576116ab6128f8565b6040519080825280602002602001820160405280156116d4578160200160208202803683370190505b50905061170160408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146117825761171481612340565b91508160400151156117255761177a565b81516001600160a01b03161561173a57815194505b876001600160a01b0316856001600160a01b0316141561177a578083878060010198508151811061176d5761176d612e7c565b6020026020010181815250505b600101611704565b50909695505050505050565b60606003805461094f90612d86565b60608183106117bf57604051631960ccad60e11b815260040160405180910390fd5b6000806117cb60005490565b905060018510156117db57600194505b808411156117e7578093505b60006117f2876114ac565b905084861015611811578585038181101561180b578091505b50611815565b5060005b6000816001600160401b0381111561182f5761182f6128f8565b604051908082528060200260200182016040528015611858578160200160208202803683370190505b5090508161186b57935061192192505050565b600061187688611c9e565b905060008160400151611887575080515b885b8881141580156118995750848714155b15611915576118a781612340565b92508260400151156118b85761190d565b82516001600160a01b0316156118cd57825191505b8a6001600160a01b0316826001600160a01b0316141561190d578084888060010199508151811061190057611900612e7c565b6020026020010181815250505b600101611889565b50505092835250909150505b9392505050565b600b54819060ff161561194e576040516313d0ff5960e31b815260040160405180910390fd5b600b5462010000900460ff1680156119675750600d5481115b1561198557604051634912492b60e11b815260040160405180910390fd5b600b5462010000900460ff1680156119ba5750600d54816119a5336122d0565b6001600160401b03166119b89190612e0c565b115b156119d857604051632994933960e11b815260040160405180910390fd5b60018110156119fa5760405163199f5a0360e31b815260040160405180910390fd5b600f54811115611a1d57604051631282715b60e31b815260040160405180910390fd5b60105481611a2a336122d0565b6001600160401b0316611a3d9190612e0c565b1115611a5c57604051633fca4c4d60e01b815260040160405180910390fd5b601254600c54611a6c9190612e24565b81611a75610bd1565b611a7f9190612e0c565b1115611a9e57604051637d3d824960e01b815260040160405180910390fd5b600b5462010000900460ff1615611ac8576040516350f6e73560e01b815260040160405180910390fd5b81601154611ad69190612e5d565b3414611af557604051632a9ffab760e21b815260040160405180910390fd5b611aff338361224d565b611b523383611b0d336122d0565b6001600160401b0316611b209190612e0c565b6001600160a01b03909116600090815260056020526040902080546001600160c01b031660c09290921b919091179055565b60408051338152602081018490527f6c3f56e115aca4226ae1e09450e597ea037b36fd84ebc088ab6554a6d576a5d0910160405180910390a15050565b6008546001600160a01b03163314611bb95760405162461bcd60e51b8152600401610a4090612dc1565b600d55565b6001600160a01b038216331415611be85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611c5f848484610c26565b6001600160a01b0383163b15611c9857611c7b8484848461237c565b611c98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611cf757506000548310155b15611d025792915050565b611d0b83612340565b9050806040015115611d1d5792915050565b61192183612465565b6060611d3182612218565b611d4e57604051636f96cda160e11b815260040160405180910390fd5b6000611d5861249a565b90506000815111611d785760405180602001604052806000815250611921565b80611d82846124a9565b604051602001611d93929190612ead565b6040516020818303038152906040529392505050565b600b54829060ff1615611dcf576040516313d0ff5960e31b815260040160405180910390fd5b600b5462010000900460ff168015611de85750600d5481115b15611e0657604051634912492b60e11b815260040160405180910390fd5b600b5462010000900460ff168015611e3b5750600d5481611e26336122d0565b6001600160401b0316611e399190612e0c565b115b15611e5957604051632994933960e11b815260040160405180910390fd5b6001811015611e7b5760405163199f5a0360e31b815260040160405180910390fd5b600f54811115611e9e57604051631282715b60e31b815260040160405180910390fd5b60105481611eab336122d0565b6001600160401b0316611ebe9190612e0c565b1115611edd57604051633fca4c4d60e01b815260040160405180910390fd5b601254600c54611eed9190612e24565b81611ef6610bd1565b611f009190612e0c565b1115611f1f57604051637d3d824960e01b815260040160405180910390fd5b600b5462010000900460ff16611f4b5760405160016242f8d560e01b0319815260040160405180910390fd5b6009546040516bffffffffffffffffffffffff193360601b166020820152611f97919060340160405160208183030381529060405280519060200120846124f89092919063ffffffff16565b611fb457604051630b094f2760e31b815260040160405180910390fd5b611fbd336122d0565b6001600160401b031615611fde5782601154611fd99190612e5d565b611ff6565b611fe9600184612e24565b601154611ff69190612e5d565b341461201557604051632a9ffab760e21b815260040160405180910390fd5b61201f338461224d565b61202d3384611b0d336122d0565b60408051338152602081018590527f6c3f56e115aca4226ae1e09450e597ea037b36fd84ebc088ab6554a6d576a5d0910160405180910390a1505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146120c35760405162461bcd60e51b8152600401610a4090612dc1565b60018110156120e55760405163199f5a0360e31b815260040160405180910390fd5b601254600c546120f59190612e24565b816120fe610bd1565b6121089190612e0c565b111561212757604051637d3d824960e01b815260040160405180910390fd5b612131338261224d565b61213f3382611b0d336122d0565b50565b6008546001600160a01b0316331461216c5760405162461bcd60e51b8152600401610a4090612dc1565b6001600160a01b0381166121d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a40565b61213f816122ee565b6008546001600160a01b031633146122045760405162461bcd60e51b8152600401610a4090612dc1565b600b805460ff19811660ff90911615179055565b60008160011115801561222c575060005482105b801561093a575050600090815260046020526040902054600160e01b161590565b61124382826040518060200160405280600081525061250e565b600081806001116122b7576000548110156122b757600081815260046020526040902054600160e01b81166122b5575b80611921575060001901600081815260046020526040902054612297565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b031660009081526005602052604090205460c01c90565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461093a9061257b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906123b1903390899088908890600401612eec565b6020604051808303816000875af19250505080156123ec575060408051601f3d908101601f191682019092526123e991810190612f29565b60015b612447573d80801561241a576040519150601f19603f3d011682016040523d82523d6000602084013e61241f565b606091505b50805161243f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261093a61249583612267565b61257b565b6060600a805461094f90612d86565b604080516080810191829052607f0190826030600a8206018353600a90045b80156124e657600183039250600a81066030018353600a90046124c8565b50819003601f19909101908152919050565b60008261250585846125c2565b14949350505050565b612518838361262e565b6001600160a01b0383163b15611154576000548281035b612542600086838060010194508661237c565b61255f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061252f57816000541461257457600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b845181101561130c5760008582815181106125e4576125e4612e7c565b6020026020010151905080831161260a576000838152602082905260409020925061261b565b600081815260208490526040902092505b508061262681612e92565b9150506125c7565b6000546001600160a01b03831661265757604051622e076360e81b815260040160405180910390fd5b816126755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106126bf5760005550505050565b82805461271790612d86565b90600052602060002090601f016020900481019282612739576000855561277f565b82601f1061275257805160ff191683800117855561277f565b8280016001018555821561277f579182015b8281111561277f578251825591602001919060010190612764565b5061278b92915061278f565b5090565b5b8082111561278b5760008155600101612790565b6001600160e01b03198116811461213f57600080fd5b6000602082840312156127cc57600080fd5b8135611921816127a4565b60005b838110156127f25781810151838201526020016127da565b83811115611c985750506000910152565b6000815180845261281b8160208601602086016127d7565b601f01601f19169290920160200192915050565b6020815260006119216020830184612803565b60006020828403121561285457600080fd5b5035919050565b80356001600160a01b038116811461287257600080fd5b919050565b6000806040838503121561288a57600080fd5b6128938361285b565b946020939093013593505050565b6000806000606084860312156128b657600080fd5b6128bf8461285b565b92506128cd6020850161285b565b9150604084013590509250925092565b6000602082840312156128ef57600080fd5b6119218261285b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612936576129366128f8565b604052919050565b60006001600160401b03831115612957576129576128f8565b61296a601f8401601f191660200161290e565b905082815283838301111561297e57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156129a757600080fd5b81356001600160401b038111156129bd57600080fd5b8201601f810184136129ce57600080fd5b61245d8482356020840161293e565b60006001600160401b038211156129f6576129f66128f8565b5060051b60200190565b60006020808385031215612a1357600080fd5b82356001600160401b03811115612a2957600080fd5b8301601f81018513612a3a57600080fd5b8035612a4d612a48826129dd565b61290e565b81815260059190911b82018301908381019087831115612a6c57600080fd5b928401925b82841015612a8a57833582529284019290840190612a71565b979650505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561178257612b00838551612a95565b9284019260809290920191600101612aed565b60008060208385031215612b2657600080fd5b82356001600160401b0380821115612b3d57600080fd5b818501915085601f830112612b5157600080fd5b813581811115612b6057600080fd5b8660208260051b8501011115612b7557600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561178257835183529284019291840191600101612ba3565b600080600060608486031215612bd457600080fd5b612bdd8461285b565b95602085013595506040909401359392505050565b60008060408385031215612c0557600080fd5b612c0e8361285b565b915060208301358015158114612c2357600080fd5b809150509250929050565b60008060008060808587031215612c4457600080fd5b612c4d8561285b565b9350612c5b6020860161285b565b92506040850135915060608501356001600160401b03811115612c7d57600080fd5b8501601f81018713612c8e57600080fd5b612c9d8782356020840161293e565b91505092959194509250565b6080810161093a8284612a95565b60008060408385031215612cca57600080fd5b823591506020808401356001600160401b03811115612ce857600080fd5b8401601f81018613612cf957600080fd5b8035612d07612a48826129dd565b81815260059190911b82018301908381019088831115612d2657600080fd5b928401925b82841015612d4457833582529284019290840190612d2b565b80955050505050509250929050565b60008060408385031215612d6657600080fd5b612d6f8361285b565b9150612d7d6020840161285b565b90509250929050565b600181811c90821680612d9a57607f821691505b60208210811415612dbb57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e1f57612e1f612df6565b500190565b600082821015612e3657612e36612df6565b500390565b600082612e5857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e7757612e77612df6565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ea657612ea6612df6565b5060010190565b60008351612ebf8184602088016127d7565b835190830190612ed38183602088016127d7565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f1f90830184612803565b9695505050505050565b600060208284031215612f3b57600080fd5b8151611921816127a456fea264697066735822122073bd4fd32869fac68142e3daf9a97c8fc03ef4926d3972a78231900599cb3e4664736f6c634300080c0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000094d6574614265617273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d54420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6d65746162656172732e6e65746c6966792e6170702f6170692f746f6b656e2f000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): MetaBears
Arg [1] : _symbol (string): MTB
Arg [2] : _initBaseURI (string): https://metabears.netlify.app/api/token/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 4d65746142656172730000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4d54420000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [8] : 68747470733a2f2f6d65746162656172732e6e65746c6966792e6170702f6170
Arg [9] : 692f746f6b656e2f000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

61992:7958:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20734:665;;;;;;;;;;-1:-1:-1;20734:665:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;20734:665:0;;;;;;;;62512:34;;;;;;;;;;;;;;;;;;;738:25:1;;;726:2;711:18;62512:34:0;592:177:1;26692:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28767:245::-;;;;;;;;;;-1:-1:-1;28767:245:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;28767:245:0;1710:203:1;67561:124:0;;;;;;;;;;-1:-1:-1;67561:124:0;;;;;:::i;:::-;;:::i;:::-;;28315:386;;;;;;;;;;-1:-1:-1;28315:386:0;;;;;:::i;:::-;;:::i;62299:41::-;;;;;;;;;;;;;;;;62393:34;;;;;;;;;;;;;;;;62473:32;;;;;;;;;;;;;;;;68262:500;;;;;;;;;;-1:-1:-1;68262:500:0;;;;;:::i;:::-;;:::i;19788:315::-;;;;;;;;;;;;;:::i;66100:90::-;;;;;;;;;;;;;:::i;62434:32::-;;;;;;;;;;;;;;;;38552:2888;;;;;;;;;;-1:-1:-1;38552:2888:0;;;;;:::i;:::-;;:::i;67398:155::-;;;;;;;;;;-1:-1:-1;67398:155:0;;;;;:::i;:::-;;:::i;68770:1177::-;;;;;;;;;;;;;:::i;29780:185::-;;;;;;;;;;-1:-1:-1;29780:185:0;;;;;:::i;:::-;;:::i;65436:110::-;;;;;;;;;;-1:-1:-1;65436:110:0;;;;;:::i;:::-;;:::i;66478:88::-;;;;;;;;;;-1:-1:-1;66478:88:0;;;;;:::i;:::-;;:::i;66574:230::-;;;;;;;;;;-1:-1:-1;66574:230:0;;;;;:::i;:::-;;:::i;62187:30::-;;;;;;;;;;-1:-1:-1;62187:30:0;;;;;;;;;;;66912:104;;;;;;;;;;-1:-1:-1;66912:104:0;;;;;:::i;:::-;;:::i;56334:541::-;;;;;;;;;;-1:-1:-1;56334:541:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;26481:144::-;;;;;;;;;;-1:-1:-1;26481:144:0;;;;;:::i;:::-;;:::i;66005:87::-;;;;;;;;;;;;;:::i;62123:21::-;;;;;;;;;;;;;:::i;67024:175::-;;;;;;;;;;-1:-1:-1;67024:175:0;;;;;:::i;:::-;;:::i;66198:272::-;;;;;;;;;;-1:-1:-1;66198:272:0;;;;;:::i;:::-;;:::i;21463:224::-;;;;;;;;;;-1:-1:-1;21463:224:0;;;;;:::i;:::-;;:::i;5111:103::-;;;;;;;;;;;;;:::i;67693:561::-;;;;;;;;;;-1:-1:-1;67693:561:0;;;;;:::i;:::-;;:::i;62347:39::-;;;;;;;;;;;;;;;;66812:92;;;;;;;;;;-1:-1:-1;66812:92:0;;;;;:::i;:::-;;:::i;60285:999::-;;;;;;;;;;-1:-1:-1;60285:999:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4460:87::-;;;;;;;;;;-1:-1:-1;4533:6:0;;-1:-1:-1;;;;;4533:6:0;4460:87;;62224:28;;;;;;;;;;-1:-1:-1;62224:28:0;;;;;;;;;;;26861:104;;;;;;;;;;;;;:::i;57265:2571::-;;;;;;;;;;-1:-1:-1;57265:2571:0;;;;;:::i;:::-;;:::i;64280:411::-;;;;;;:::i;:::-;;:::i;67207:183::-;;;;;;;;;;-1:-1:-1;67207:183:0;;;;;:::i;:::-;;:::i;29084:340::-;;;;;;;;;;-1:-1:-1;29084:340:0;;;;;:::i;:::-;;:::i;62153:27::-;;;;;;;;;;-1:-1:-1;62153:27:0;;;;;;;;30036:399;;;;;;;;;;-1:-1:-1;30036:399:0;;;;;:::i;:::-;;:::i;55714:461::-;;;;;;;;;;-1:-1:-1;55714:461:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;63820:452::-;;;;;;;;;;-1:-1:-1;63820:452:0;;;;;:::i;:::-;;:::i;62261:31::-;;;;;;;;;;;;;;;;64699:729;;;;;;:::i;:::-;;:::i;29495:214::-;;;;;;;;;;-1:-1:-1;29495:214:0;;;;;:::i;:::-;;:::i;65554:351::-;;;;;;;;;;-1:-1:-1;65554:351:0;;;;;:::i;:::-;;:::i;5369:238::-;;;;;;;;;;-1:-1:-1;5369:238:0;;;;;:::i;:::-;;:::i;65913:84::-;;;;;;;;;;;;;:::i;20734:665::-;20864:4;-1:-1:-1;;;;;;;;;21169:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21246:25:0;;;21169:102;:179;;;-1:-1:-1;;;;;;;;;;21323:25:0;;;21169:179;21149:199;20734:665;-1:-1:-1;;20734:665:0:o;26692:100::-;26746:13;26779:5;26772:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26692:100;:::o;28767:245::-;28871:7;28901:16;28909:7;28901;:16::i;:::-;28896:64;;28926:34;;-1:-1:-1;;;28926:34:0;;;;;;;;;;;28896:64;-1:-1:-1;28980:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28980:24:0;;28767:245::o;67561:124::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;;;;;;;;;67644:13:::1;:33:::0;67561:124::o;28315:386::-;28388:13;28404:16;28412:7;28404;:16::i;:::-;28388:32;-1:-1:-1;3243:10:0;-1:-1:-1;;;;;28437:28:0;;;28433:175;;28485:44;28502:5;3243:10;29495:214;:::i;28485:44::-;28480:128;;28557:35;;-1:-1:-1;;;28557:35:0;;;;;;;;;;;28480:128;28620:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;28620:29:0;-1:-1:-1;;;;;28620:29:0;;;;;;;;;28665:28;;28620:24;;28665:28;;;;;;;28377:324;28315:386;;:::o;68262:500::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;68392:13:::1;::::0;68388:51:::1;;68419:20;;-1:-1:-1::0;;;68419:20:0::1;;;;;;;;;;;68388:51;68468:13;;68454:11;:27;68450:63;;;68490:23;;-1:-1:-1::0;;;68490:23:0::1;;;;;;;;;;;68450:63;68542:1;68528:11;:15;68524:50;;;68552:22;;-1:-1:-1::0;;;68552:22:0::1;;;;;;;;;;;68524:50;68619:9;;68605:11;68589:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:39;68585:68;;;68637:16;;-1:-1:-1::0;;;68637:16:0::1;;;;;;;;;;;68585:68;68666:32;68676:8;68686:11;68666:9;:32::i;:::-;68743:11;68727:13;;:27;;;;:::i;:::-;68711:13;:43:::0;-1:-1:-1;;68262:500:0:o;19788:315::-;63687:1;20054:12;19841:7;20038:13;:28;-1:-1:-1;;20038:46:0;;19788:315::o;66100:90::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66172:10:::1;::::0;;-1:-1:-1;;66158:24:0;::::1;66172:10;::::0;;;::::1;;;66171:11;66158:24:::0;;::::1;;::::0;;66100:90::o;38552:2888::-;38686:27;38716;38735:7;38716:18;:27::i;:::-;38686:57;;38801:4;-1:-1:-1;;;;;38760:45:0;38776:19;-1:-1:-1;;;;;38760:45:0;;38756:99;;38827:28;;-1:-1:-1;;;38827:28:0;;;;;;;;;;;38756:99;38883:27;37282:21;;;37109:15;37324:4;37317:36;37406:4;37390:21;;37496:26;;3243:10;38249:30;;;-1:-1:-1;;;;;37947:26:0;;38228:19;;;38225:55;39085:191;;39172:43;39189:4;3243:10;29495:214;:::i;39172:43::-;39167:109;;39241:35;;-1:-1:-1;;;39241:35:0;;;;;;;;;;;39167:109;-1:-1:-1;;;;;39293:16:0;;39289:52;;39318:23;;-1:-1:-1;;;39318:23:0;;;;;;;;;;;39289:52;39490:15;39487:160;;;39630:1;39609:19;39602:30;39487:160;-1:-1:-1;;;;;40025:24:0;;;;;;;:18;:24;;;;;;40023:26;;-1:-1:-1;;40023:26:0;;;40094:22;;;;;;;;;40092:24;;-1:-1:-1;40092:24:0;;;26366:11;26342:22;26338:40;26290:111;-1:-1:-1;;;26290:111:0;40387:26;;;;:17;:26;;;;;:195;-1:-1:-1;;;40702:46:0;;40698:626;;40806:1;40796:11;;40774:19;40929:30;;;:17;:30;;;;;;40925:384;;41067:13;;41052:11;:28;41048:242;;41214:30;;;;:17;:30;;;;;:52;;;41048:242;40755:569;40698:626;41371:7;41367:2;-1:-1:-1;;;;;41352:27:0;41361:4;-1:-1:-1;;;;;41352:27:0;;;;;;;;;;;38675:2765;;;38552:2888;;;:::o;67398:155::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;67508:15:::1;:37:::0;67398:155::o;68770:1177::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;68838:21:::1;68874:12:::0;68870:46:::1;;68895:21;;-1:-1:-1::0;;;68895:21:0::1;;;;;;;;;;;68870:46;68928:13;68955:42;69026:13;69036:3;69026:7:::0;:13:::1;:::i;:::-;69025:20;::::0;69043:2:::1;69025:20;:::i;:::-;68947:103;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;68927:123:0;;-1:-1:-1;69062:13:0::1;::::0;-1:-1:-1;69089:42:0::1;69160:13;69170:3;69160:7:::0;:13:::1;:::i;:::-;69159:20;::::0;69177:2:::1;69159:20;:::i;:::-;69081:103;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;69061:123:0;;-1:-1:-1;69196:13:0::1;::::0;-1:-1:-1;69223:42:0::1;69294:13;69304:3;69294:7:::0;:13:::1;:::i;:::-;69293:20;::::0;69311:2:::1;69293:20;:::i;:::-;69215:103;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;69195:123:0;;-1:-1:-1;69330:13:0::1;::::0;-1:-1:-1;69357:42:0::1;69428:13;69438:3;69428:7:::0;:13:::1;:::i;:::-;69427:20;::::0;69445:2:::1;69427:20;:::i;:::-;69349:103;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;69329:123:0;;-1:-1:-1;69464:13:0::1;::::0;-1:-1:-1;69491:42:0::1;69562:13;69572:3;69562:7:::0;:13:::1;:::i;:::-;69561:19;::::0;69579:1:::1;69561:19;:::i;:::-;69483:102;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;69463:122:0;;-1:-1:-1;69597:13:0::1;::::0;-1:-1:-1;69624:42:0::1;69695:13;69705:3;69695:7:::0;:13:::1;:::i;:::-;69694:20;::::0;69712:2:::1;69694:20;:::i;:::-;69616:103;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69596:123;;;69750:8;:37;;;;;69779:8;69750:37;:66;;;;;69808:8;69750:66;:95;;;;;69837:8;69750:95;:124;;;;;69866:8;69750:124;:153;;;;;69895:8;69750:153;69730:209;;69923:16;;-1:-1:-1::0;;;69923:16:0::1;;;;;;;;;;;69730:209;68809:1138;;;;;;;68770:1177::o:0;29780:185::-;29918:39;29935:4;29941:2;29945:7;29918:39;;;;;;;;;;;;:16;:39::i;:::-;29780:185;;;:::o;65436:110::-;65496:7;65523:15;65531:6;65523:7;:15::i;:::-;-1:-1:-1;;;;;65516:22:0;;65436:110;-1:-1:-1;;65436:110:0:o;66478:88::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66543:4:::1;:15:::0;66478:88::o;66574:230::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66693:13:::1;:11;:13::i;:::-;66681:9;;:25;;;;:::i;:::-;66661:17;:45;66657:95;;;66728:24;;-1:-1:-1::0;;;66728:24:0::1;;;;;;;;;;;66657:95;66763:13;:33:::0;66574:230::o;66912:104::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66987:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;66912:104:::0;:::o;56334:541::-;56550:15;;56459:23;;56525:22;56550:15;-1:-1:-1;;;;;56617:68:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56617:68:0;;-1:-1:-1;;56617:68:0;;;;;;;;;;;;56580:105;;56705:9;56700:125;56721:14;56716:1;:19;56700:125;;56777:32;56797:8;56806:1;56797:11;;;;;;;;:::i;:::-;;;;;;;56777:19;:32::i;:::-;56761:10;56772:1;56761:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;56737:3;;56700:125;;;-1:-1:-1;56846:10:0;56334:541;-1:-1:-1;;;56334:541:0:o;26481:144::-;26545:7;26588:27;26607:7;26588:18;:27::i;66005:87::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66075:9:::1;::::0;;-1:-1:-1;;66062:22:0;::::1;66075:9:::0;;;;::::1;;;66074:10;66062:22:::0;;::::1;;::::0;;66005:87::o;62123:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;67024:175::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;67144:20:::1;:47:::0;67024:175::o;66198:272::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66309:13:::1;;66293;:11;:13::i;:::-;:29;;;;:::i;:::-;66277:13;:45;66273:87;;;66344:16;;-1:-1:-1::0;;;66344:16:0::1;;;;;;;;;;;66273:87;66391:9;;66375:13;:25;66371:55;;;66409:17;;-1:-1:-1::0;;;66409:17:0::1;;;;;;;;;;;66371:55;66437:9;:25:::0;66198:272::o;21463:224::-;21527:7;-1:-1:-1;;;;;21551:19:0;;21547:60;;21579:28;;-1:-1:-1;;;21579:28:0;;;;;;;;;;;21547:60;-1:-1:-1;;;;;;21625:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;21625:54:0;;21463:224::o;5111:103::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;5176:30:::1;5203:1;5176:18;:30::i;:::-;5111:103::o:0;67693:561::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;67773:13:::1;::::0;67769:51:::1;;67800:20;;-1:-1:-1::0;;;67800:20:0::1;;;;;;;;;;;67769:51;67853:13;::::0;67835:31;::::1;67831:87;;;67888:30;;-1:-1:-1::0;;;67888:30:0::1;;;;;;;;;;;67831:87;67951:1;67933:19:::0;::::1;67929:54;;;67961:22;;-1:-1:-1::0;;;67961:22:0::1;;;;;;;;;;;67929:54;68032:9;::::0;68014:8;67998:13:::1;:11;:13::i;:::-;:31;;;;:::i;:::-;:43;67994:85;;;68063:16;;-1:-1:-1::0;;;68063:16:0::1;;;;;;;;;;;67994:85;68095:9;68090:99;68110:20:::0;;::::1;68090:99;;68152:25;68162:8;;68171:1;68162:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;68175:1;68152:9;:25::i;:::-;68132:3:::0;::::1;::::0;::::1;:::i;:::-;;;;68090:99;;;-1:-1:-1::0;68215:13:0::1;::::0;:31:::1;::::0;68231:8;;68215:31:::1;:::i;66812:92::-:0;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;66879:10:::1;:17:::0;66812:92::o;60285:999::-;60391:16;60450:19;60484:25;60524:22;60549:16;60559:5;60549:9;:16::i;:::-;60524:41;;60580:25;60622:14;-1:-1:-1;;;;;60608:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60608:29:0;;60580:57;;60652:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60652:31:0;63687:1;60698:538;60782:14;60767:11;:29;60698:538;;60865:15;60878:1;60865:12;:15::i;:::-;60853:27;;60903:9;:16;;;60899:73;;;60944:8;;60899:73;60994:14;;-1:-1:-1;;;;;60994:28:0;;60990:111;;61067:14;;;-1:-1:-1;60990:111:0;61144:5;-1:-1:-1;;;;;61123:26:0;:17;-1:-1:-1;;;;;61123:26:0;;61119:102;;;61200:1;61174:8;61183:13;;;;;;61174:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;61119:102;60815:3;;60698:538;;;-1:-1:-1;61257:8:0;;60285:999;-1:-1:-1;;;;;;60285:999:0:o;26861:104::-;26917:13;26950:7;26943:14;;;;;:::i;57265:2571::-;57400:16;57467:4;57458:5;:13;57454:45;;57480:19;;-1:-1:-1;;;57480:19:0;;;;;;;;;;;57454:45;57514:19;57548:17;57568:14;19530:7;19557:13;;19483:95;57568:14;57548:34;-1:-1:-1;63687:1:0;57660:5;:23;57656:87;;;63687:1;57704:23;;57656:87;57819:9;57812:4;:16;57808:73;;;57856:9;57849:16;;57808:73;57895:25;57923:16;57933:5;57923:9;:16::i;:::-;57895:44;;58117:4;58109:5;:12;58105:278;;;58164:12;;;58199:31;;;58195:111;;;58275:11;58255:31;;58195:111;58123:198;58105:278;;;-1:-1:-1;58366:1:0;58105:278;58397:25;58439:17;-1:-1:-1;;;;;58425:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58425:32:0;-1:-1:-1;58397:60:0;-1:-1:-1;58476:22:0;58472:78;;58526:8;-1:-1:-1;58519:15:0;;-1:-1:-1;;;58519:15:0;58472:78;58694:31;58728:26;58748:5;58728:19;:26::i;:::-;58694:60;;58769:25;59014:9;:16;;;59009:92;;-1:-1:-1;59071:14:0;;59009:92;59150:5;59115:544;59179:4;59174:1;:9;;:45;;;;;59202:17;59187:11;:32;;59174:45;59115:544;;;59288:15;59301:1;59288:12;:15::i;:::-;59276:27;;59326:9;:16;;;59322:73;;;59367:8;;59322:73;59417:14;;-1:-1:-1;;;;;59417:28:0;;59413:111;;59490:14;;;-1:-1:-1;59413:111:0;59567:5;-1:-1:-1;;;;;59546:26:0;:17;-1:-1:-1;;;;;59546:26:0;;59542:102;;;59623:1;59597:8;59606:13;;;;;;59597:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;59542:102;59238:3;;59115:544;;;-1:-1:-1;;;59744:29:0;;;-1:-1:-1;59751:8:0;;-1:-1:-1;;57265:2571:0;;;;;;:::o;64280:411::-;62876:8;;64374:11;;62876:8;;62872:29;;;62893:8;;-1:-1:-1;;;62893:8:0;;;;;;;;;;;62872:29;62916:9;;;;;;;:49;;;;;62943:22;;62929:11;:36;62916:49;62912:116;;;62987:41;;-1:-1:-1;;;62987:41:0;;;;;;;;;;;62912:116;63057:9;;;;;;;:84;;;;;63119:22;;63105:11;63083:19;63091:10;63083:7;:19::i;:::-;-1:-1:-1;;;;;63083:33:0;;;;;:::i;:::-;:58;63057:84;63039:151;;;63160:30;;-1:-1:-1;;;63160:30:0;;;;;;;;;;;63039:151;63219:1;63205:11;:15;63201:47;;;63229:19;;-1:-1:-1;;;63229:19:0;;;;;;;;;;;63201:47;63277:15;;63263:11;:29;63259:89;;;63314:34;;-1:-1:-1;;;63314:34:0;;;;;;;;;;;63259:89;63401:13;;63386:11;63364:19;63372:10;63364:7;:19::i;:::-;-1:-1:-1;;;;;63364:33:0;;;;;:::i;:::-;63363:51;63359:100;;;63436:23;;-1:-1:-1;;;63436:23:0;;;;;;;;;;;63359:100;63516:13;;63504:9;;:25;;;;:::i;:::-;63490:11;63474:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:55;63470:97;;;63551:16;;-1:-1:-1;;;63551:16:0;;;;;;;;;;;63470:97;64407:9:::1;::::0;;;::::1;;;64403:35;;;64425:13;;-1:-1:-1::0;;;64425:13:0::1;;;;;;;;;;;64403:35;64473:11;64466:4;;:18;;;;:::i;:::-;64453:9;:31;64449:58;;64493:14;;-1:-1:-1::0;;;64493:14:0::1;;;;;;;;;;;64449:58;64518:34;64528:10;64540:11;64518:9;:34::i;:::-;64563:62;64571:10;64612:11;64590:19;64598:10;64590:7;:19::i;:::-;-1:-1:-1::0;;;;;64590:33:0::1;;;;;:::i;:::-;-1:-1:-1::0;;;;;22794:25:0;;;22777:14;22794:25;;;:18;:25;;;;;;;-1:-1:-1;;;;;22994:31:0;16339:3;23030:23;;;;22993:61;;;;23065:34;;22713:394;64563:62:::1;64641:42;::::0;;64659:10:::1;12809:51:1::0;;12891:2;12876:18;;12869:34;;;64641:42:0::1;::::0;12782:18:1;64641:42:0::1;;;;;;;64280:411:::0;;:::o;67207:183::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;67331:22:::1;:51:::0;67207:183::o;29084:340::-;-1:-1:-1;;;;;29215:31:0;;3243:10;29215:31;29211:61;;;29255:17;;-1:-1:-1;;;29255:17:0;;;;;;;;;;;29211:61;3243:10;29285:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29285:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29285:60:0;;;;;;;;;;29361:55;;540:41:1;;;29285:49:0;;3243:10;29361:55;;513:18:1;29361:55:0;;;;;;;29084:340;;:::o;30036:399::-;30203:31;30216:4;30222:2;30226:7;30203:12;:31::i;:::-;-1:-1:-1;;;;;30249:14:0;;;:19;30245:183;;30288:56;30319:4;30325:2;30329:7;30338:5;30288:30;:56::i;:::-;30283:145;;30372:40;;-1:-1:-1;;;30372:40:0;;;;;;;;;;;30283:145;30036:399;;;;:::o;55714:461::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63687:1:0;55911:7;:25;:54;;;-1:-1:-1;19530:7:0;19557:13;55940:7;:25;;55911:54;55907:103;;;55989:9;55714:461;-1:-1:-1;;55714:461:0:o;55907:103::-;56032:21;56045:7;56032:12;:21::i;:::-;56020:33;;56068:9;:16;;;56064:65;;;56108:9;55714:461;-1:-1:-1;;55714:461:0:o;56064:65::-;56146:21;56159:7;56146:12;:21::i;63820:452::-;63957:13;63993:16;64001:7;63993;:16::i;:::-;63988:61;;64018:31;;-1:-1:-1;;;64018:31:0;;;;;;;;;;;63988:61;64060:28;64091:10;:8;:10::i;:::-;64060:41;;64163:1;64138:14;64132:28;:32;:132;;;;;;;;;;;;;;;;;64198:14;64214:18;64224:7;64214:9;:18::i;:::-;64184:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64112:152;63820:452;-1:-1:-1;;;63820:452:0:o;64699:729::-;62876:8;;64824:11;;62876:8;;62872:29;;;62893:8;;-1:-1:-1;;;62893:8:0;;;;;;;;;;;62872:29;62916:9;;;;;;;:49;;;;;62943:22;;62929:11;:36;62916:49;62912:116;;;62987:41;;-1:-1:-1;;;62987:41:0;;;;;;;;;;;62912:116;63057:9;;;;;;;:84;;;;;63119:22;;63105:11;63083:19;63091:10;63083:7;:19::i;:::-;-1:-1:-1;;;;;63083:33:0;;;;;:::i;:::-;:58;63057:84;63039:151;;;63160:30;;-1:-1:-1;;;63160:30:0;;;;;;;;;;;63039:151;63219:1;63205:11;:15;63201:47;;;63229:19;;-1:-1:-1;;;63229:19:0;;;;;;;;;;;63201:47;63277:15;;63263:11;:29;63259:89;;;63314:34;;-1:-1:-1;;;63314:34:0;;;;;;;;;;;63259:89;63401:13;;63386:11;63364:19;63372:10;63364:7;:19::i;:::-;-1:-1:-1;;;;;63364:33:0;;;;;:::i;:::-;63363:51;63359:100;;;63436:23;;-1:-1:-1;;;63436:23:0;;;;;;;;;;;63359:100;63516:13;;63504:9;;:25;;;;:::i;:::-;63490:11;63474:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:55;63470:97;;;63551:16;;-1:-1:-1;;;63551:16:0;;;;;;;;;;;63470:97;64858:9:::1;::::0;;;::::1;;;64853:36;;64876:13;;-1:-1:-1::0;;;;;;64876:13:0::1;;;;;;;;;;;64853:36;64918:10;::::0;64940:28:::1;::::0;-1:-1:-1;;64957:10:0::1;13694:2:1::0;13690:15;13686:53;64940:28:0::1;::::0;::::1;13674:66:1::0;64905:65:0::1;::::0;64918:10;13756:12:1;;64940:28:0::1;;;;;;;;;;;;64930:39;;;;;;64905:5;:12;;:65;;;;;:::i;:::-;64900:108;;64992:16;;-1:-1:-1::0;;;64992:16:0::1;;;;;;;;;;;64900:108;65082:19;65090:10;65082:7;:19::i;:::-;-1:-1:-1::0;;;;;65082:24:0::1;::::0;:114:::1;;65185:11;65178:4;;:18;;;;:::i;:::-;65082:114;;;65138:15;65152:1;65138:11:::0;:15:::1;:::i;:::-;65130:4;;:24;;;;:::i;:::-;65037:9;:174;65019:225;;65230:14;;-1:-1:-1::0;;;65230:14:0::1;;;;;;;;;;;65019:225;65255:34;65265:10;65277:11;65255:9;:34::i;:::-;65300:62;65308:10;65349:11;65327:19;65335:10;65327:7;:19::i;65300:62::-;65378:42;::::0;;65396:10:::1;12809:51:1::0;;12891:2;12876:18;;12869:34;;;65378:42:0::1;::::0;12782:18:1;65378:42:0::1;;;;;;;64699:729:::0;;;:::o;29495:214::-;-1:-1:-1;;;;;29666:25:0;;;29637:4;29666:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29495:214::o;65554:351::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;65642:1:::1;65628:11;:15;65624:47;;;65652:19;;-1:-1:-1::0;;;65652:19:0::1;;;;;;;;;;;65624:47;65728:13;;65716:9;;:25;;;;:::i;:::-;65702:11;65686:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:55;65682:97;;;65763:16;;-1:-1:-1::0;;;65763:16:0::1;;;;;;;;;;;65682:97;65790:34;65800:10;65812:11;65790:9;:34::i;:::-;65835:62;65843:10;65884:11;65862:19;65870:10;65862:7;:19::i;65835:62::-;65554:351:::0;:::o;5369:238::-;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5472:22:0;::::1;5450:110;;;::::0;-1:-1:-1;;;5450:110:0;;13981:2:1;5450:110:0::1;::::0;::::1;13963:21:1::0;14020:2;14000:18;;;13993:30;14059:34;14039:18;;;14032:62;-1:-1:-1;;;14110:18:1;;;14103:36;14156:19;;5450:110:0::1;13779:402:1::0;5450:110:0::1;5571:28;5590:8;5571:18;:28::i;65913:84::-:0;4533:6;;-1:-1:-1;;;;;4533:6:0;3243:10;4680:23;4672:68;;;;-1:-1:-1;;;4672:68:0;;;;;;;:::i;:::-;65981:8:::1;::::0;;-1:-1:-1;;65969:20:0;::::1;65981:8;::::0;;::::1;65980:9;65969:20;::::0;;65913:84::o;30690:273::-;30747:4;30803:7;63687:1;30784:26;;:66;;;;;30837:13;;30827:7;:23;30784:66;:152;;;;-1:-1:-1;;30888:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30888:43:0;:48;;30690:273::o;31047:104::-;31116:27;31126:2;31130:8;31116:27;;;;;;;;;;;;:9;:27::i;23189:1161::-;23283:7;23323;;63687:1;23372:23;23368:915;;23425:13;;23418:4;:20;23414:869;;;23463:14;23480:23;;;:17;:23;;;;;;-1:-1:-1;;;23569:23:0;;23565:699;;24088:113;24095:11;24088:113;;-1:-1:-1;;;24166:6:0;24148:25;;;;:17;:25;;;;;;24088:113;;23565:699;23440:843;23414:869;24311:31;;-1:-1:-1;;;24311:31:0;;;;;;;;;;;22389:136;-1:-1:-1;;;;;22477:25:0;22444:6;22477:25;;;:18;:25;;;;;;16339:3;22477:39;;22389:136::o;5767:191::-;5860:6;;;-1:-1:-1;;;;;5877:17:0;;;-1:-1:-1;;;;;;5877:17:0;;;;;;;5910:40;;5860:6;;;5877:17;5860:6;;5910:40;;5841:16;;5910:40;5830:128;5767:191;:::o;24930:185::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25082:24:0;;;;:17;:24;;;;;;25063:44;;:18;:44::i;45470:831::-;45667:171;;-1:-1:-1;;;45667:171:0;;45633:4;;-1:-1:-1;;;;;45667:45:0;;;;;:171;;3243:10;;45769:4;;45792:7;;45818:5;;45667:171;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45667:171:0;;;;;;;;-1:-1:-1;;45667:171:0;;;;;;;;;;;;:::i;:::-;;;45650:644;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46052:13:0;;46048:235;;46098:40;;-1:-1:-1;;;46098:40:0;;;;;;;;;;;46048:235;46241:6;46235:13;46226:6;46222:2;46218:15;46211:38;45650:644;-1:-1:-1;;;;;;45911:81:0;-1:-1:-1;;;45911:81:0;;-1:-1:-1;45650:644:0;45470:831;;;;;;:::o;25618:190::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25753:47:0;25772:27;25791:7;25772:18;:27::i;:::-;25753:18;:47::i;63704:108::-;63764:13;63797:7;63790:14;;;;;:::i;50167:1992::-;50668:4;50662:11;;50675:3;50658:21;;50753:17;;;;51449:11;;;51328:5;51581:2;51595;51585:13;;51577:22;51449:11;51564:36;51636:2;51626:13;;51220:697;51655:4;51220:697;;;51846:1;51841:3;51837:11;51830:18;;51897:2;51891:4;51887:13;51883:2;51879:22;51874:3;51866:36;51750:2;51740:13;;51220:697;;;-1:-1:-1;51947:13:0;;;-1:-1:-1;;52062:12:0;;;52122:19;;;52062:12;50167:1992;-1:-1:-1;50167:1992:0:o;956:190::-;1081:4;1134;1105:25;1118:5;1125:4;1105:12;:25::i;:::-;:33;;956:190;-1:-1:-1;;;;956:190:0:o;31567:872::-;31690:19;31696:2;31700:8;31690:5;:19::i;:::-;-1:-1:-1;;;;;31751:14:0;;;:19;31747:674;;31791:11;31805:13;31853:14;;;31886:424;31943:205;32012:1;32045:2;32078:7;;;;;;32116:5;31943:30;:205::i;:::-;31912:358;;32206:40;;-1:-1:-1;;;32206:40:0;;;;;;;;;;;31912:358;32305:3;32297:5;:11;31886:424;;32392:3;32375:13;;:20;32371:34;;32397:8;;;32371:34;31772:649;;31567:872;;;:::o;24444:395::-;-1:-1:-1;;;;;;;;;;;;;24586:41:0;;;;16622:3;24672:32;;;-1:-1:-1;;;;;24638:67:0;-1:-1:-1;;;24638:67:0;-1:-1:-1;;;24735:23:0;;:28;;-1:-1:-1;;;24716:47:0;;;;17139:3;24803:27;;;;-1:-1:-1;;;24774:57:0;-1:-1:-1;24444:395:0:o;1508:707::-;1618:7;1666:4;1618:7;1681:497;1705:5;:12;1701:1;:16;1681:497;;;1739:20;1762:5;1768:1;1762:8;;;;;;;;:::i;:::-;;;;;;;1739:31;;1805:12;1789;:28;1785:382;;2318:13;2373:15;;;2409:4;2402:15;;;2456:4;2440:21;;1917:57;;1785:382;;;2318:13;2373:15;;;2409:4;2402:15;;;2456:4;2440:21;;2094:57;;1785:382;-1:-1:-1;1719:3:0;;;;:::i;:::-;;;;1681:497;;32712:1584;32777:20;32800:13;-1:-1:-1;;;;;32828:16:0;;32824:48;;32853:19;;-1:-1:-1;;;32853:19:0;;;;;;;;;;;32824:48;32887:13;32883:44;;32909:18;;-1:-1:-1;;;32909:18:0;;;;;;;;;;;32883:44;-1:-1:-1;;;;;33415:22:0;;;;;;:18;:22;;16105:2;33415:22;;:104;;33487:31;33458:61;;33415:104;;;26366:11;26342:22;26338:40;-1:-1:-1;28219:15:0;;28194:23;28190:45;26335:51;26290:111;33762:31;;;;:17;:31;;;;;:194;33780:12;34032:23;;;34070:101;34097:35;;34122:9;;;;;-1:-1:-1;;;;;34097:35:0;;;34114:1;;34097:35;;34114:1;;34097:35;34166:3;34156:7;:13;34070:101;;34187:13;:19;-1:-1:-1;29780:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:186::-;2747:6;2800:2;2788:9;2779:7;2775:23;2771:32;2768:52;;;2816:1;2813;2806:12;2768:52;2839:29;2858:9;2839:29;:::i;2879:127::-;2940:10;2935:3;2931:20;2928:1;2921:31;2971:4;2968:1;2961:15;2995:4;2992:1;2985:15;3011:275;3082:2;3076:9;3147:2;3128:13;;-1:-1:-1;;3124:27:1;3112:40;;-1:-1:-1;;;;;3167:34:1;;3203:22;;;3164:62;3161:88;;;3229:18;;:::i;:::-;3265:2;3258:22;3011:275;;-1:-1:-1;3011:275:1:o;3291:407::-;3356:5;-1:-1:-1;;;;;3382:6:1;3379:30;3376:56;;;3412:18;;:::i;:::-;3450:57;3495:2;3474:15;;-1:-1:-1;;3470:29:1;3501:4;3466:40;3450:57;:::i;:::-;3441:66;;3530:6;3523:5;3516:21;3570:3;3561:6;3556:3;3552:16;3549:25;3546:45;;;3587:1;3584;3577:12;3546:45;3636:6;3631:3;3624:4;3617:5;3613:16;3600:43;3690:1;3683:4;3674:6;3667:5;3663:18;3659:29;3652:40;3291:407;;;;;:::o;3703:451::-;3772:6;3825:2;3813:9;3804:7;3800:23;3796:32;3793:52;;;3841:1;3838;3831:12;3793:52;3881:9;3868:23;-1:-1:-1;;;;;3906:6:1;3903:30;3900:50;;;3946:1;3943;3936:12;3900:50;3969:22;;4022:4;4014:13;;4010:27;-1:-1:-1;4000:55:1;;4051:1;4048;4041:12;4000:55;4074:74;4140:7;4135:2;4122:16;4117:2;4113;4109:11;4074:74;:::i;4159:183::-;4219:4;-1:-1:-1;;;;;4244:6:1;4241:30;4238:56;;;4274:18;;:::i;:::-;-1:-1:-1;4319:1:1;4315:14;4331:4;4311:25;;4159:183::o;4347:891::-;4431:6;4462:2;4505;4493:9;4484:7;4480:23;4476:32;4473:52;;;4521:1;4518;4511:12;4473:52;4561:9;4548:23;-1:-1:-1;;;;;4586:6:1;4583:30;4580:50;;;4626:1;4623;4616:12;4580:50;4649:22;;4702:4;4694:13;;4690:27;-1:-1:-1;4680:55:1;;4731:1;4728;4721:12;4680:55;4767:2;4754:16;4790:60;4806:43;4846:2;4806:43;:::i;:::-;4790:60;:::i;:::-;4884:15;;;4966:1;4962:10;;;;4954:19;;4950:28;;;4915:12;;;;4990:19;;;4987:39;;;5022:1;5019;5012:12;4987:39;5046:11;;;;5066:142;5082:6;5077:3;5074:15;5066:142;;;5148:17;;5136:30;;5099:12;;;;5186;;;;5066:142;;;5227:5;4347:891;-1:-1:-1;;;;;;;4347:891:1:o;5243:349::-;5327:12;;-1:-1:-1;;;;;5323:38:1;5311:51;;5415:4;5404:16;;;5398:23;-1:-1:-1;;;;;5394:48:1;5378:14;;;5371:72;5506:4;5495:16;;;5489:23;5482:31;5475:39;5459:14;;;5452:63;5568:4;5557:16;;;5551:23;5576:8;5547:38;5531:14;;5524:62;5243:349::o;5597:722::-;5830:2;5882:21;;;5952:13;;5855:18;;;5974:22;;;5801:4;;5830:2;6053:15;;;;6027:2;6012:18;;;5801:4;6096:197;6110:6;6107:1;6104:13;6096:197;;;6159:52;6207:3;6198:6;6192:13;6159:52;:::i;:::-;6268:15;;;;6240:4;6231:14;;;;;6132:1;6125:9;6096:197;;6324:615;6410:6;6418;6471:2;6459:9;6450:7;6446:23;6442:32;6439:52;;;6487:1;6484;6477:12;6439:52;6527:9;6514:23;-1:-1:-1;;;;;6597:2:1;6589:6;6586:14;6583:34;;;6613:1;6610;6603:12;6583:34;6651:6;6640:9;6636:22;6626:32;;6696:7;6689:4;6685:2;6681:13;6677:27;6667:55;;6718:1;6715;6708:12;6667:55;6758:2;6745:16;6784:2;6776:6;6773:14;6770:34;;;6800:1;6797;6790:12;6770:34;6853:7;6848:2;6838:6;6835:1;6831:14;6827:2;6823:23;6819:32;6816:45;6813:65;;;6874:1;6871;6864:12;6813:65;6905:2;6897:11;;;;;6927:6;;-1:-1:-1;6324:615:1;;-1:-1:-1;;;;6324:615:1:o;7129:632::-;7300:2;7352:21;;;7422:13;;7325:18;;;7444:22;;;7271:4;;7300:2;7523:15;;;;7497:2;7482:18;;;7271:4;7566:169;7580:6;7577:1;7574:13;7566:169;;;7641:13;;7629:26;;7710:15;;;;7675:12;;;;7602:1;7595:9;7566:169;;7766:322;7843:6;7851;7859;7912:2;7900:9;7891:7;7887:23;7883:32;7880:52;;;7928:1;7925;7918:12;7880:52;7951:29;7970:9;7951:29;:::i;:::-;7941:39;8027:2;8012:18;;7999:32;;-1:-1:-1;8078:2:1;8063:18;;;8050:32;;7766:322;-1:-1:-1;;;7766:322:1:o;8093:347::-;8158:6;8166;8219:2;8207:9;8198:7;8194:23;8190:32;8187:52;;;8235:1;8232;8225:12;8187:52;8258:29;8277:9;8258:29;:::i;:::-;8248:39;;8337:2;8326:9;8322:18;8309:32;8384:5;8377:13;8370:21;8363:5;8360:32;8350:60;;8406:1;8403;8396:12;8350:60;8429:5;8419:15;;;8093:347;;;;;:::o;8445:667::-;8540:6;8548;8556;8564;8617:3;8605:9;8596:7;8592:23;8588:33;8585:53;;;8634:1;8631;8624:12;8585:53;8657:29;8676:9;8657:29;:::i;:::-;8647:39;;8705:38;8739:2;8728:9;8724:18;8705:38;:::i;:::-;8695:48;;8790:2;8779:9;8775:18;8762:32;8752:42;;8845:2;8834:9;8830:18;8817:32;-1:-1:-1;;;;;8864:6:1;8861:30;8858:50;;;8904:1;8901;8894:12;8858:50;8927:22;;8980:4;8972:13;;8968:27;-1:-1:-1;8958:55:1;;9009:1;9006;8999:12;8958:55;9032:74;9098:7;9093:2;9080:16;9075:2;9071;9067:11;9032:74;:::i;:::-;9022:84;;;8445:667;;;;;;;:::o;9117:266::-;9313:3;9298:19;;9326:51;9302:9;9359:6;9326:51;:::i;9388:959::-;9481:6;9489;9542:2;9530:9;9521:7;9517:23;9513:32;9510:52;;;9558:1;9555;9548:12;9510:52;9594:9;9581:23;9571:33;;9623:2;9676;9665:9;9661:18;9648:32;-1:-1:-1;;;;;9695:6:1;9692:30;9689:50;;;9735:1;9732;9725:12;9689:50;9758:22;;9811:4;9803:13;;9799:27;-1:-1:-1;9789:55:1;;9840:1;9837;9830:12;9789:55;9876:2;9863:16;9899:60;9915:43;9955:2;9915:43;:::i;9899:60::-;9993:15;;;10075:1;10071:10;;;;10063:19;;10059:28;;;10024:12;;;;10099:19;;;10096:39;;;10131:1;10128;10121:12;10096:39;10155:11;;;;10175:142;10191:6;10186:3;10183:15;10175:142;;;10257:17;;10245:30;;10208:12;;;;10295;;;;10175:142;;;10336:5;10326:15;;;;;;;9388:959;;;;;:::o;10352:260::-;10420:6;10428;10481:2;10469:9;10460:7;10456:23;10452:32;10449:52;;;10497:1;10494;10487:12;10449:52;10520:29;10539:9;10520:29;:::i;:::-;10510:39;;10568:38;10602:2;10591:9;10587:18;10568:38;:::i;:::-;10558:48;;10352:260;;;;;:::o;10617:380::-;10696:1;10692:12;;;;10739;;;10760:61;;10814:4;10806:6;10802:17;10792:27;;10760:61;10867:2;10859:6;10856:14;10836:18;10833:38;10830:161;;;10913:10;10908:3;10904:20;10901:1;10894:31;10948:4;10945:1;10938:15;10976:4;10973:1;10966:15;10830:161;;10617:380;;;:::o;11002:356::-;11204:2;11186:21;;;11223:18;;;11216:30;11282:34;11277:2;11262:18;;11255:62;11349:2;11334:18;;11002:356::o;11363:127::-;11424:10;11419:3;11415:20;11412:1;11405:31;11455:4;11452:1;11445:15;11479:4;11476:1;11469:15;11495:128;11535:3;11566:1;11562:6;11559:1;11556:13;11553:39;;;11572:18;;:::i;:::-;-1:-1:-1;11608:9:1;;11495:128::o;11628:125::-;11668:4;11696:1;11693;11690:8;11687:34;;;11701:18;;:::i;:::-;-1:-1:-1;11738:9:1;;11628:125::o;11758:217::-;11798:1;11824;11814:132;;11868:10;11863:3;11859:20;11856:1;11849:31;11903:4;11900:1;11893:15;11931:4;11928:1;11921:15;11814:132;-1:-1:-1;11960:9:1;;11758:217::o;11980:168::-;12020:7;12086:1;12082;12078:6;12074:14;12071:1;12068:21;12063:1;12056:9;12049:17;12045:45;12042:71;;;12093:18;;:::i;:::-;-1:-1:-1;12133:9:1;;11980:168::o;12363:127::-;12424:10;12419:3;12415:20;12412:1;12405:31;12455:4;12452:1;12445:15;12479:4;12476:1;12469:15;12495:135;12534:3;-1:-1:-1;;12555:17:1;;12552:43;;;12575:18;;:::i;:::-;-1:-1:-1;12622:1:1;12611:13;;12495:135::o;12914:626::-;13183:3;13221:6;13215:13;13237:53;13283:6;13278:3;13271:4;13263:6;13259:17;13237:53;:::i;:::-;13353:13;;13312:16;;;;13375:57;13353:13;13312:16;13409:4;13397:17;;13375:57;:::i;:::-;-1:-1:-1;;;13454:20:1;;13483:22;;;13532:1;13521:13;;12914:626;-1:-1:-1;;;;12914:626:1:o;14186:489::-;-1:-1:-1;;;;;14455:15:1;;;14437:34;;14507:15;;14502:2;14487:18;;14480:43;14554:2;14539:18;;14532:34;;;14602:3;14597:2;14582:18;;14575:31;;;14380:4;;14623:46;;14649:19;;14641:6;14623:46;:::i;:::-;14615:54;14186:489;-1:-1:-1;;;;;;14186:489:1:o;14680:249::-;14749:6;14802:2;14790:9;14781:7;14777:23;14773:32;14770:52;;;14818:1;14815;14808:12;14770:52;14850:9;14844:16;14869:30;14893:5;14869:30;:::i

Swarm Source

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