ETH Price: $3,377.17 (+3.24%)
Gas: 2 Gwei

Token

WaverPass NFT (WAVE)
 

Overview

Max Total Supply

456 WAVE

Holders

285

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WAVE
0xa418f7c503f2f1b13d156c4e9bbc71882ed30ef6
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:
WaverPass

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-04
*/

// SPDX-License-Identifier: MIT

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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/main/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: https://github.com/chiru-labs/ERC721A/blob/main/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)
        }
    }
}

pragma solidity ^0.8.0;

contract WaverPass is ERC721A, Ownable {

    using Strings for uint256;

    bool public paused = false;

    uint256 public mintPrice = 0.062 ether;
    uint256 public preMintPrice = 0.062 ether;

    uint256 public presaleMaxNFTPerWallet = 2;
    uint256 public publicSaleMaxNFTPerWallet = 2;

    uint256 constant public supply = 1000;
    uint256 constant public teamSupply = 10;

    bool teamMinted;

    bool public isPublicSale;

    string private baseURI = "ipfs://QmYnBXMbRMmS2JxrcbM1zLjD92AcByz8BGTbCsoZAN8fkE/waver.json";

    address public teamWallet = 0x1C12aeA4bc03469ce2D10227F6E6e63099F42424;

    bytes32 public merkleRoot;

    constructor() ERC721A ("WaverPass NFT", "WAVE") {

        merkleRoot = 0x2b8c94049a68db45583a17f4d683fe87516e5fa95a6f1e466ac0eb28bc92ab26;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {

        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        return baseURI;
    }

    function teamMint() onlyOwner external {

        require(totalSupply() + teamSupply <= supply, "You can't mint more then the total supply");
        require(!teamMinted, "Team has already minted");

        teamMinted = true;

        _safeMint(teamWallet, teamSupply);
    }

    function preMint(uint256 quantity, bytes32[] memory proof) external payable {

        require(totalSupply() + quantity <= supply, "You can't mint more then the total supply");
        require(!isPublicSale, "You cannot mint after presale");

        if(msg.sender != owner()) {

            require(!paused, "Contract paused");

            require(isValid(proof, keccak256(abi.encodePacked(msg.sender))), "You are not on the whitelist for this mint");
            require(quantity + balanceOf(msg.sender) <= presaleMaxNFTPerWallet, string(abi.encodePacked("You can only mint ", presaleMaxNFTPerWallet.toString(), " NFTs at Presale")));

            require(msg.value >= preMintPrice * quantity, "Insufficient funds");
        }
        
        _safeMint(msg.sender, quantity);
    }

    function mint(uint256 quantity) external payable {

        require(totalSupply() + quantity <= supply, "You can't mint more then the total supply");
        require(isPublicSale, "You cannot mint until public sale has started");

        if(msg.sender != owner()) {

            require(!paused, "Contract paused");

            require(quantity + balanceOf(msg.sender) <= publicSaleMaxNFTPerWallet, string(abi.encodePacked("You can only mint ", publicSaleMaxNFTPerWallet.toString(), " NFTs at Public Sale")));
            require(msg.value >= mintPrice * quantity, "Insufficient funds");
        }
        
        _safeMint(msg.sender, quantity);
    }

    function getBaseURI() public onlyOwner view returns (string memory) { return baseURI; }

    function getMintPrice() public view returns (uint256) {

        if(!isPublicSale) {

            return preMintPrice;
        }

        return mintPrice;
    }

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

    function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; }

    function setMintPrice (uint256 _newPrice) external onlyOwner { mintPrice = _newPrice; }

    function setPublicMint() external onlyOwner { isPublicSale = true; }

    function setPaused (bool _pausedState) external onlyOwner { paused = _pausedState; }

    function setPublicSaleMaxNFTPerWallet(uint256 max_) external onlyOwner { publicSaleMaxNFTPerWallet = max_; }

    function setTeamWallet(address teamWallet_) external onlyOwner { teamWallet = teamWallet_; }

    function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); }

    function totalMinted() public view returns (uint256) { return _totalMinted(); }

    function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); }

    function setMerkleProof(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; }

    function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, merkleRoot, leaf); }

    function withdraw() public payable onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":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":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxNFTPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMaxNFTPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pausedState","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max_","type":"uint256"}],"name":"setPublicSaleMaxNFTPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"teamWallet_","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","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":"payable","type":"function"}]

6008805460ff60a01b1916905566dc44abe81300006009819055600a556002600b819055600c5560e06040908152608081815290620024c960a03980516200005091600e916020909101906200017a565b50600f80546001600160a01b031916731c12aea4bc03469ce2d10227f6e6e63099f424241790553480156200008457600080fd5b50604080518082018252600d81526c15d85d995c94185cdcc8139195609a1b6020808301918252835180850190945260048452635741564560e01b908401528151919291620000d6916002916200017a565b508051620000ec9060039060208401906200017a565b50506000805550620000fe3362000128565b7f2b8c94049a68db45583a17f4d683fe87516e5fa95a6f1e466ac0eb28bc92ab266010556200025d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001889062000220565b90600052602060002090601f016020900481019282620001ac5760008555620001f7565b82601f10620001c757805160ff1916838001178555620001f7565b82800160010185558215620001f7579182015b82811115620001f7578251825591602001919060010190620001da565b506200020592915062000209565b5090565b5b808211156200020557600081556001016200020a565b600181811c908216806200023557607f821691505b602082108114156200025757634e487b7160e01b600052602260045260246000fd5b50919050565b61225c806200026d6000396000f3fe6080604052600436106102675760003560e01c8063714c539811610144578063a5a865dc116100b6578063c87b56dd1161007a578063c87b56dd146106a6578063dc33e681146106c6578063e985e9c5146106e6578063f2fde38b1461072f578063f4a0a5281461074f578063fb626afd1461076f57600080fd5b8063a5a865dc1461061d578063a7f93ebd1461063c578063b88d4fde14610651578063b8a20ed014610671578063ba7a86b81461069157600080fd5b80639101484611610108578063910148461461058a57806395d89b41146105aa578063a0712d68146105bf578063a187c89b146105d2578063a22cb465146105e8578063a2309ff81461060857600080fd5b8063714c53981461050c578063715018a614610521578063779a3ed314610536578063867589121461054c5780638da5cb5b1461056c57600080fd5b80632eb4a7ab116101dd57806359927044116101a157806359927044146104625780635a546223146104825780635c975abb146104955780636352211e146104b65780636817c76c146104d657806370a08231146104ec57600080fd5b80632eb4a7ab146103e45780633ccfd60b146103fa57806342842e0e146104025780634f558e791461042257806355f804b31461044257600080fd5b8063095ea7b31161022f578063095ea7b3146103365780631525ff7d1461035657806316c38b3c1461037657806318160ddd1461039657806323b872dd146103af5780632cfac6ec146103cf57600080fd5b806301ffc9a71461026c57806302456aa2146102a1578063047fc9aa146102b857806306fdde03146102dc578063081812fc146102fe575b600080fd5b34801561027857600080fd5b5061028c610287366004611e3c565b610785565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107d7565b005b3480156102c457600080fd5b506102ce6103e881565b604051908152602001610298565b3480156102e857600080fd5b506102f161081b565b6040516102989190612014565b34801561030a57600080fd5b5061031e610319366004611e24565b6108ad565b6040516001600160a01b039091168152602001610298565b34801561034257600080fd5b506102b6610351366004611d9e565b6108f1565b34801561036257600080fd5b506102b6610371366004611c75565b610991565b34801561038257600080fd5b506102b6610391366004611e0a565b6109dd565b3480156103a257600080fd5b50600154600054036102ce565b3480156103bb57600080fd5b506102b66103ca366004611cc1565b610a25565b3480156103db57600080fd5b506102ce600a81565b3480156103f057600080fd5b506102ce60105481565b6102b6610bb6565b34801561040e57600080fd5b506102b661041d366004611cc1565b610c54565b34801561042e57600080fd5b5061028c61043d366004611e24565b610c74565b34801561044e57600080fd5b506102b661045d366004611e74565b610c7f565b34801561046e57600080fd5b50600f5461031e906001600160a01b031681565b6102b6610490366004611eba565b610cc0565b3480156104a157600080fd5b5060085461028c90600160a01b900460ff1681565b3480156104c257600080fd5b5061031e6104d1366004611e24565b610f0a565b3480156104e257600080fd5b506102ce60095481565b3480156104f857600080fd5b506102ce610507366004611c75565b610f15565b34801561051857600080fd5b506102f1610f64565b34801561052d57600080fd5b506102b6610f9e565b34801561054257600080fd5b506102ce600c5481565b34801561055857600080fd5b506102b6610567366004611e24565b610fd4565b34801561057857600080fd5b506008546001600160a01b031661031e565b34801561059657600080fd5b506102b66105a5366004611e24565b611003565b3480156105b657600080fd5b506102f1611032565b6102b66105cd366004611e24565b611041565b3480156105de57600080fd5b506102ce600a5481565b3480156105f457600080fd5b506102b6610603366004611d75565b611202565b34801561061457600080fd5b506000546102ce565b34801561062957600080fd5b50600d5461028c90610100900460ff1681565b34801561064857600080fd5b506102ce611298565b34801561065d57600080fd5b506102b661066c366004611cfc565b6112b8565b34801561067d57600080fd5b5061028c61068c366004611dc7565b611302565b34801561069d57600080fd5b506102b6611318565b3480156106b257600080fd5b506102f16106c1366004611e24565b6113f3565b3480156106d257600080fd5b506102ce6106e1366004611c75565b6114f4565b3480156106f257600080fd5b5061028c610701366004611c8f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561073b57600080fd5b506102b661074a366004611c75565b61151f565b34801561075b57600080fd5b506102b661076a366004611e24565b6115b7565b34801561077b57600080fd5b506102ce600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806107b657506380ac58cd60e01b6001600160e01b03198316145b806107d15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b0316331461080a5760405162461bcd60e51b815260040161080190612070565b60405180910390fd5b600d805461ff001916610100179055565b60606002805461082a90612164565b80601f016020809104026020016040519081016040528092919081815260200182805461085690612164565b80156108a35780601f10610878576101008083540402835291602001916108a3565b820191906000526020600020905b81548152906001019060200180831161088657829003601f168201915b5050505050905090565b60006108b8826115e6565b6108d5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108fc82610f0a565b9050336001600160a01b03821614610935576109188133610701565b610935576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146109bb5760405162461bcd60e51b815260040161080190612070565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610a075760405162461bcd60e51b815260040161080190612070565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6000610a308261160d565b9050836001600160a01b0316816001600160a01b031614610a635760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610ab057610a938633610701565b610ab057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ad757604051633a954ecd60e21b815260040160405180910390fd5b8015610ae257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610b6d5760018401600081815260046020526040902054610b6b576000548114610b6b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b03163314610be05760405162461bcd60e51b815260040161080190612070565b6000610bf46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c3e576040519150601f19603f3d011682016040523d82523d6000602084013e610c43565b606091505b5050905080610c5157600080fd5b50565b610c6f838383604051806020016040528060008152506112b8565b505050565b60006107d1826115e6565b6008546001600160a01b03163314610ca95760405162461bcd60e51b815260040161080190612070565b8051610cbc90600e906020840190611ad5565b5050565b6103e882610cd16001546000540390565b610cdb91906120d6565b1115610cf95760405162461bcd60e51b815260040161080190612027565b600d54610100900460ff1615610d515760405162461bcd60e51b815260206004820152601d60248201527f596f752063616e6e6f74206d696e742061667465722070726573616c650000006044820152606401610801565b6008546001600160a01b03163314610f0057600854600160a01b900460ff1615610daf5760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610801565b6040516bffffffffffffffffffffffff193360601b166020820152610dee90829060340160405160208183030381529060405280519060200120611302565b610e4d5760405162461bcd60e51b815260206004820152602a60248201527f596f7520617265206e6f74206f6e207468652077686974656c69737420666f72604482015269081d1a1a5cc81b5a5b9d60b21b6064820152608401610801565b600b54610e5933610f15565b610e6390846120d6565b1115610e70600b5461166e565b604051602001610e809190611f2b565b60405160208183030381529060405290610ead5760405162461bcd60e51b81526004016108019190612014565b5081600a54610ebc9190612102565b341015610f005760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610801565b610cbc3383611790565b60006107d18261160d565b60006001600160a01b038216610f3e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546060906001600160a01b03163314610f915760405162461bcd60e51b815260040161080190612070565b600e805461082a90612164565b6008546001600160a01b03163314610fc85760405162461bcd60e51b815260040161080190612070565b610fd260006117aa565b565b6008546001600160a01b03163314610ffe5760405162461bcd60e51b815260040161080190612070565b601055565b6008546001600160a01b0316331461102d5760405162461bcd60e51b815260040161080190612070565b600c55565b60606003805461082a90612164565b6103e8816110526001546000540390565b61105c91906120d6565b111561107a5760405162461bcd60e51b815260040161080190612027565b600d54610100900460ff166110e75760405162461bcd60e51b815260206004820152602d60248201527f596f752063616e6e6f74206d696e7420756e74696c207075626c69632073616c60448201526c19481a185cc81cdd185c9d1959609a1b6064820152608401610801565b6008546001600160a01b031633146111f857600854600160a01b900460ff16156111455760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610801565b600c5461115133610f15565b61115b90836120d6565b1115611168600c5461166e565b6040516020016111789190611f7f565b604051602081830303815290604052906111a55760405162461bcd60e51b81526004016108019190612014565b50806009546111b49190612102565b3410156111f85760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610801565b610c513382611790565b6001600160a01b03821633141561122c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d54600090610100900460ff166112b15750600a5490565b5060095490565b6112c3848484610a25565b6001600160a01b0383163b156112fc576112df848484846117fc565b6112fc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600061131183601054846118f3565b9392505050565b6008546001600160a01b031633146113425760405162461bcd60e51b815260040161080190612070565b6103e8600a6113546001546000540390565b61135e91906120d6565b111561137c5760405162461bcd60e51b815260040161080190612027565b600d5460ff16156113cf5760405162461bcd60e51b815260206004820152601760248201527f5465616d2068617320616c7265616479206d696e7465640000000000000000006044820152606401610801565b600d805460ff19166001179055600f54610fd2906001600160a01b0316600a611790565b60606113fe826115e6565b6114625760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610801565b600e805461146f90612164565b80601f016020809104026020016040519081016040528092919081815260200182805461149b90612164565b80156114e85780601f106114bd576101008083540402835291602001916114e8565b820191906000526020600020905b8154815290600101906020018083116114cb57829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166107d1565b6008546001600160a01b031633146115495760405162461bcd60e51b815260040161080190612070565b6001600160a01b0381166115ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610801565b610c51816117aa565b6008546001600160a01b031633146115e15760405162461bcd60e51b815260040161080190612070565b600955565b60008054821080156107d1575050600090815260046020526040902054600160e01b161590565b60008160005481101561165557600081815260046020526040902054600160e01b8116611653575b80611311575060001901600081815260046020526040902054611635565b505b604051636f96cda160e11b815260040160405180910390fd5b6060816116925750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116bc57806116a68161219f565b91506116b59050600a836120ee565b9150611696565b60008167ffffffffffffffff8111156116e557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561170f576020820181803683370190505b5090505b841561178857611724600183612121565b9150611731600a866121ba565b61173c9060306120d6565b60f81b81838151811061175f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611781600a866120ee565b9450611713565b949350505050565b610cbc828260405180602001604052806000815250611909565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611831903390899088908890600401611fd7565b602060405180830381600087803b15801561184b57600080fd5b505af192505050801561187b575060408051601f3d908101601f1916820190925261187891810190611e58565b60015b6118d6573d8080156118a9576040519150601f19603f3d011682016040523d82523d6000602084013e6118ae565b606091505b5080516118ce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000826119008584611976565b14949350505050565b61191383836119f8565b6001600160a01b0383163b15610c6f576000548281035b61193d60008683806001019450866117fc565b61195a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061192a57816000541461196f57600080fd5b5050505050565b600081815b84518110156119f05760008582815181106119a657634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116119cc57600083815260208290526040902092506119dd565b600081815260208490526040902092505b50806119e88161219f565b91505061197b565b509392505050565b6000546001600160a01b038316611a2157604051622e076360e81b815260040160405180910390fd5b81611a3f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a895760005550505050565b828054611ae190612164565b90600052602060002090601f016020900481019282611b035760008555611b49565b82601f10611b1c57805160ff1916838001178555611b49565b82800160010185558215611b49579182015b82811115611b49578251825591602001919060010190611b2e565b50611b55929150611b59565b5090565b5b80821115611b555760008155600101611b5a565b600067ffffffffffffffff831115611b8857611b886121fa565b611b9b601f8401601f19166020016120a5565b9050828152838383011115611baf57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611bdd57600080fd5b919050565b600082601f830112611bf2578081fd5b8135602067ffffffffffffffff821115611c0e57611c0e6121fa565b8160051b611c1d8282016120a5565b838152828101908684018388018501891015611c37578687fd5b8693505b85841015611c59578035835260019390930192918401918401611c3b565b50979650505050505050565b80358015158114611bdd57600080fd5b600060208284031215611c86578081fd5b61131182611bc6565b60008060408385031215611ca1578081fd5b611caa83611bc6565b9150611cb860208401611bc6565b90509250929050565b600080600060608486031215611cd5578081fd5b611cde84611bc6565b9250611cec60208501611bc6565b9150604084013590509250925092565b60008060008060808587031215611d11578081fd5b611d1a85611bc6565b9350611d2860208601611bc6565b925060408501359150606085013567ffffffffffffffff811115611d4a578182fd5b8501601f81018713611d5a578182fd5b611d6987823560208401611b6e565b91505092959194509250565b60008060408385031215611d87578182fd5b611d9083611bc6565b9150611cb860208401611c65565b60008060408385031215611db0578182fd5b611db983611bc6565b946020939093013593505050565b60008060408385031215611dd9578182fd5b823567ffffffffffffffff811115611def578283fd5b611dfb85828601611be2565b95602094909401359450505050565b600060208284031215611e1b578081fd5b61131182611c65565b600060208284031215611e35578081fd5b5035919050565b600060208284031215611e4d578081fd5b813561131181612210565b600060208284031215611e69578081fd5b815161131181612210565b600060208284031215611e85578081fd5b813567ffffffffffffffff811115611e9b578182fd5b8201601f81018413611eab578182fd5b61178884823560208401611b6e565b60008060408385031215611ecc578182fd5b82359150602083013567ffffffffffffffff811115611ee9578182fd5b611ef585828601611be2565b9150509250929050565b60008151808452611f17816020860160208601612138565b601f01601f19169290920160200192915050565b7102cb7ba9031b0b71037b7363c9036b4b73a160751b815260008251611f58816012850160208701612138565b6f204e4654732061742050726573616c6560801b6012939091019283015250602201919050565b7102cb7ba9031b0b71037b7363c9036b4b73a160751b815260008251611fac816012850160208701612138565b73204e465473206174205075626c69632053616c6560601b6012939091019283015250602601919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061200a90830184611eff565b9695505050505050565b6020815260006113116020830184611eff565b60208082526029908201527f596f752063616e2774206d696e74206d6f7265207468656e2074686520746f74604082015268616c20737570706c7960b81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff811182821017156120ce576120ce6121fa565b604052919050565b600082198211156120e9576120e96121ce565b500190565b6000826120fd576120fd6121e4565b500490565b600081600019048311821515161561211c5761211c6121ce565b500290565b600082821015612133576121336121ce565b500390565b60005b8381101561215357818101518382015260200161213b565b838111156112fc5750506000910152565b600181811c9082168061217857607f821691505b6020821081141561219957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121b3576121b36121ce565b5060010190565b6000826121c9576121c96121e4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c5157600080fdfea264697066735822122021a07412248a0d480bd5acddabd8f4d52b7eccb0c805c68a1728cec27ff7963c64736f6c63430008040033697066733a2f2f516d596e42584d62524d6d53324a787263624d317a4c6a443932416342797a384247546243736f5a414e38666b452f77617665722e6a736f6e

Deployed Bytecode

0x6080604052600436106102675760003560e01c8063714c539811610144578063a5a865dc116100b6578063c87b56dd1161007a578063c87b56dd146106a6578063dc33e681146106c6578063e985e9c5146106e6578063f2fde38b1461072f578063f4a0a5281461074f578063fb626afd1461076f57600080fd5b8063a5a865dc1461061d578063a7f93ebd1461063c578063b88d4fde14610651578063b8a20ed014610671578063ba7a86b81461069157600080fd5b80639101484611610108578063910148461461058a57806395d89b41146105aa578063a0712d68146105bf578063a187c89b146105d2578063a22cb465146105e8578063a2309ff81461060857600080fd5b8063714c53981461050c578063715018a614610521578063779a3ed314610536578063867589121461054c5780638da5cb5b1461056c57600080fd5b80632eb4a7ab116101dd57806359927044116101a157806359927044146104625780635a546223146104825780635c975abb146104955780636352211e146104b65780636817c76c146104d657806370a08231146104ec57600080fd5b80632eb4a7ab146103e45780633ccfd60b146103fa57806342842e0e146104025780634f558e791461042257806355f804b31461044257600080fd5b8063095ea7b31161022f578063095ea7b3146103365780631525ff7d1461035657806316c38b3c1461037657806318160ddd1461039657806323b872dd146103af5780632cfac6ec146103cf57600080fd5b806301ffc9a71461026c57806302456aa2146102a1578063047fc9aa146102b857806306fdde03146102dc578063081812fc146102fe575b600080fd5b34801561027857600080fd5b5061028c610287366004611e3c565b610785565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107d7565b005b3480156102c457600080fd5b506102ce6103e881565b604051908152602001610298565b3480156102e857600080fd5b506102f161081b565b6040516102989190612014565b34801561030a57600080fd5b5061031e610319366004611e24565b6108ad565b6040516001600160a01b039091168152602001610298565b34801561034257600080fd5b506102b6610351366004611d9e565b6108f1565b34801561036257600080fd5b506102b6610371366004611c75565b610991565b34801561038257600080fd5b506102b6610391366004611e0a565b6109dd565b3480156103a257600080fd5b50600154600054036102ce565b3480156103bb57600080fd5b506102b66103ca366004611cc1565b610a25565b3480156103db57600080fd5b506102ce600a81565b3480156103f057600080fd5b506102ce60105481565b6102b6610bb6565b34801561040e57600080fd5b506102b661041d366004611cc1565b610c54565b34801561042e57600080fd5b5061028c61043d366004611e24565b610c74565b34801561044e57600080fd5b506102b661045d366004611e74565b610c7f565b34801561046e57600080fd5b50600f5461031e906001600160a01b031681565b6102b6610490366004611eba565b610cc0565b3480156104a157600080fd5b5060085461028c90600160a01b900460ff1681565b3480156104c257600080fd5b5061031e6104d1366004611e24565b610f0a565b3480156104e257600080fd5b506102ce60095481565b3480156104f857600080fd5b506102ce610507366004611c75565b610f15565b34801561051857600080fd5b506102f1610f64565b34801561052d57600080fd5b506102b6610f9e565b34801561054257600080fd5b506102ce600c5481565b34801561055857600080fd5b506102b6610567366004611e24565b610fd4565b34801561057857600080fd5b506008546001600160a01b031661031e565b34801561059657600080fd5b506102b66105a5366004611e24565b611003565b3480156105b657600080fd5b506102f1611032565b6102b66105cd366004611e24565b611041565b3480156105de57600080fd5b506102ce600a5481565b3480156105f457600080fd5b506102b6610603366004611d75565b611202565b34801561061457600080fd5b506000546102ce565b34801561062957600080fd5b50600d5461028c90610100900460ff1681565b34801561064857600080fd5b506102ce611298565b34801561065d57600080fd5b506102b661066c366004611cfc565b6112b8565b34801561067d57600080fd5b5061028c61068c366004611dc7565b611302565b34801561069d57600080fd5b506102b6611318565b3480156106b257600080fd5b506102f16106c1366004611e24565b6113f3565b3480156106d257600080fd5b506102ce6106e1366004611c75565b6114f4565b3480156106f257600080fd5b5061028c610701366004611c8f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561073b57600080fd5b506102b661074a366004611c75565b61151f565b34801561075b57600080fd5b506102b661076a366004611e24565b6115b7565b34801561077b57600080fd5b506102ce600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806107b657506380ac58cd60e01b6001600160e01b03198316145b806107d15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b0316331461080a5760405162461bcd60e51b815260040161080190612070565b60405180910390fd5b600d805461ff001916610100179055565b60606002805461082a90612164565b80601f016020809104026020016040519081016040528092919081815260200182805461085690612164565b80156108a35780601f10610878576101008083540402835291602001916108a3565b820191906000526020600020905b81548152906001019060200180831161088657829003601f168201915b5050505050905090565b60006108b8826115e6565b6108d5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108fc82610f0a565b9050336001600160a01b03821614610935576109188133610701565b610935576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146109bb5760405162461bcd60e51b815260040161080190612070565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610a075760405162461bcd60e51b815260040161080190612070565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6000610a308261160d565b9050836001600160a01b0316816001600160a01b031614610a635760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610ab057610a938633610701565b610ab057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ad757604051633a954ecd60e21b815260040160405180910390fd5b8015610ae257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610b6d5760018401600081815260046020526040902054610b6b576000548114610b6b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b03163314610be05760405162461bcd60e51b815260040161080190612070565b6000610bf46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c3e576040519150601f19603f3d011682016040523d82523d6000602084013e610c43565b606091505b5050905080610c5157600080fd5b50565b610c6f838383604051806020016040528060008152506112b8565b505050565b60006107d1826115e6565b6008546001600160a01b03163314610ca95760405162461bcd60e51b815260040161080190612070565b8051610cbc90600e906020840190611ad5565b5050565b6103e882610cd16001546000540390565b610cdb91906120d6565b1115610cf95760405162461bcd60e51b815260040161080190612027565b600d54610100900460ff1615610d515760405162461bcd60e51b815260206004820152601d60248201527f596f752063616e6e6f74206d696e742061667465722070726573616c650000006044820152606401610801565b6008546001600160a01b03163314610f0057600854600160a01b900460ff1615610daf5760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610801565b6040516bffffffffffffffffffffffff193360601b166020820152610dee90829060340160405160208183030381529060405280519060200120611302565b610e4d5760405162461bcd60e51b815260206004820152602a60248201527f596f7520617265206e6f74206f6e207468652077686974656c69737420666f72604482015269081d1a1a5cc81b5a5b9d60b21b6064820152608401610801565b600b54610e5933610f15565b610e6390846120d6565b1115610e70600b5461166e565b604051602001610e809190611f2b565b60405160208183030381529060405290610ead5760405162461bcd60e51b81526004016108019190612014565b5081600a54610ebc9190612102565b341015610f005760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610801565b610cbc3383611790565b60006107d18261160d565b60006001600160a01b038216610f3e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546060906001600160a01b03163314610f915760405162461bcd60e51b815260040161080190612070565b600e805461082a90612164565b6008546001600160a01b03163314610fc85760405162461bcd60e51b815260040161080190612070565b610fd260006117aa565b565b6008546001600160a01b03163314610ffe5760405162461bcd60e51b815260040161080190612070565b601055565b6008546001600160a01b0316331461102d5760405162461bcd60e51b815260040161080190612070565b600c55565b60606003805461082a90612164565b6103e8816110526001546000540390565b61105c91906120d6565b111561107a5760405162461bcd60e51b815260040161080190612027565b600d54610100900460ff166110e75760405162461bcd60e51b815260206004820152602d60248201527f596f752063616e6e6f74206d696e7420756e74696c207075626c69632073616c60448201526c19481a185cc81cdd185c9d1959609a1b6064820152608401610801565b6008546001600160a01b031633146111f857600854600160a01b900460ff16156111455760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610801565b600c5461115133610f15565b61115b90836120d6565b1115611168600c5461166e565b6040516020016111789190611f7f565b604051602081830303815290604052906111a55760405162461bcd60e51b81526004016108019190612014565b50806009546111b49190612102565b3410156111f85760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610801565b610c513382611790565b6001600160a01b03821633141561122c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d54600090610100900460ff166112b15750600a5490565b5060095490565b6112c3848484610a25565b6001600160a01b0383163b156112fc576112df848484846117fc565b6112fc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600061131183601054846118f3565b9392505050565b6008546001600160a01b031633146113425760405162461bcd60e51b815260040161080190612070565b6103e8600a6113546001546000540390565b61135e91906120d6565b111561137c5760405162461bcd60e51b815260040161080190612027565b600d5460ff16156113cf5760405162461bcd60e51b815260206004820152601760248201527f5465616d2068617320616c7265616479206d696e7465640000000000000000006044820152606401610801565b600d805460ff19166001179055600f54610fd2906001600160a01b0316600a611790565b60606113fe826115e6565b6114625760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610801565b600e805461146f90612164565b80601f016020809104026020016040519081016040528092919081815260200182805461149b90612164565b80156114e85780601f106114bd576101008083540402835291602001916114e8565b820191906000526020600020905b8154815290600101906020018083116114cb57829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166107d1565b6008546001600160a01b031633146115495760405162461bcd60e51b815260040161080190612070565b6001600160a01b0381166115ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610801565b610c51816117aa565b6008546001600160a01b031633146115e15760405162461bcd60e51b815260040161080190612070565b600955565b60008054821080156107d1575050600090815260046020526040902054600160e01b161590565b60008160005481101561165557600081815260046020526040902054600160e01b8116611653575b80611311575060001901600081815260046020526040902054611635565b505b604051636f96cda160e11b815260040160405180910390fd5b6060816116925750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116bc57806116a68161219f565b91506116b59050600a836120ee565b9150611696565b60008167ffffffffffffffff8111156116e557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561170f576020820181803683370190505b5090505b841561178857611724600183612121565b9150611731600a866121ba565b61173c9060306120d6565b60f81b81838151811061175f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611781600a866120ee565b9450611713565b949350505050565b610cbc828260405180602001604052806000815250611909565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611831903390899088908890600401611fd7565b602060405180830381600087803b15801561184b57600080fd5b505af192505050801561187b575060408051601f3d908101601f1916820190925261187891810190611e58565b60015b6118d6573d8080156118a9576040519150601f19603f3d011682016040523d82523d6000602084013e6118ae565b606091505b5080516118ce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000826119008584611976565b14949350505050565b61191383836119f8565b6001600160a01b0383163b15610c6f576000548281035b61193d60008683806001019450866117fc565b61195a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061192a57816000541461196f57600080fd5b5050505050565b600081815b84518110156119f05760008582815181106119a657634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116119cc57600083815260208290526040902092506119dd565b600081815260208490526040902092505b50806119e88161219f565b91505061197b565b509392505050565b6000546001600160a01b038316611a2157604051622e076360e81b815260040160405180910390fd5b81611a3f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a895760005550505050565b828054611ae190612164565b90600052602060002090601f016020900481019282611b035760008555611b49565b82601f10611b1c57805160ff1916838001178555611b49565b82800160010185558215611b49579182015b82811115611b49578251825591602001919060010190611b2e565b50611b55929150611b59565b5090565b5b80821115611b555760008155600101611b5a565b600067ffffffffffffffff831115611b8857611b886121fa565b611b9b601f8401601f19166020016120a5565b9050828152838383011115611baf57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611bdd57600080fd5b919050565b600082601f830112611bf2578081fd5b8135602067ffffffffffffffff821115611c0e57611c0e6121fa565b8160051b611c1d8282016120a5565b838152828101908684018388018501891015611c37578687fd5b8693505b85841015611c59578035835260019390930192918401918401611c3b565b50979650505050505050565b80358015158114611bdd57600080fd5b600060208284031215611c86578081fd5b61131182611bc6565b60008060408385031215611ca1578081fd5b611caa83611bc6565b9150611cb860208401611bc6565b90509250929050565b600080600060608486031215611cd5578081fd5b611cde84611bc6565b9250611cec60208501611bc6565b9150604084013590509250925092565b60008060008060808587031215611d11578081fd5b611d1a85611bc6565b9350611d2860208601611bc6565b925060408501359150606085013567ffffffffffffffff811115611d4a578182fd5b8501601f81018713611d5a578182fd5b611d6987823560208401611b6e565b91505092959194509250565b60008060408385031215611d87578182fd5b611d9083611bc6565b9150611cb860208401611c65565b60008060408385031215611db0578182fd5b611db983611bc6565b946020939093013593505050565b60008060408385031215611dd9578182fd5b823567ffffffffffffffff811115611def578283fd5b611dfb85828601611be2565b95602094909401359450505050565b600060208284031215611e1b578081fd5b61131182611c65565b600060208284031215611e35578081fd5b5035919050565b600060208284031215611e4d578081fd5b813561131181612210565b600060208284031215611e69578081fd5b815161131181612210565b600060208284031215611e85578081fd5b813567ffffffffffffffff811115611e9b578182fd5b8201601f81018413611eab578182fd5b61178884823560208401611b6e565b60008060408385031215611ecc578182fd5b82359150602083013567ffffffffffffffff811115611ee9578182fd5b611ef585828601611be2565b9150509250929050565b60008151808452611f17816020860160208601612138565b601f01601f19169290920160200192915050565b7102cb7ba9031b0b71037b7363c9036b4b73a160751b815260008251611f58816012850160208701612138565b6f204e4654732061742050726573616c6560801b6012939091019283015250602201919050565b7102cb7ba9031b0b71037b7363c9036b4b73a160751b815260008251611fac816012850160208701612138565b73204e465473206174205075626c69632053616c6560601b6012939091019283015250602601919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061200a90830184611eff565b9695505050505050565b6020815260006113116020830184611eff565b60208082526029908201527f596f752063616e2774206d696e74206d6f7265207468656e2074686520746f74604082015268616c20737570706c7960b81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff811182821017156120ce576120ce6121fa565b604052919050565b600082198211156120e9576120e96121ce565b500190565b6000826120fd576120fd6121e4565b500490565b600081600019048311821515161561211c5761211c6121ce565b500290565b600082821015612133576121336121ce565b500390565b60005b8381101561215357818101518382015260200161213b565b838111156112fc5750506000910152565b600181811c9082168061217857607f821691505b6020821081141561219957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121b3576121b36121ce565b5060010190565b6000826121c9576121c96121e4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c5157600080fdfea264697066735822122021a07412248a0d480bd5acddabd8f4d52b7eccb0c805c68a1728cec27ff7963c64736f6c63430008040033

Deployed Bytecode Sourcemap

52935:4462:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22776:615;;;;;;;;;;-1:-1:-1;22776:615:0;;;;;:::i;:::-;;:::i;:::-;;;8850:14:1;;8843:22;8825:41;;8813:2;8798:18;22776:615:0;;;;;;;;56319:68;;;;;;;;;;;;;:::i;:::-;;53248:37;;;;;;;;;;;;53281:4;53248:37;;;;;9023:25:1;;;9011:2;8996:18;53248:37:0;8978:76:1;28423:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30369:204::-;;;;;;;;;;-1:-1:-1;30369:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8148:32:1;;;8130:51;;8118:2;8103:18;30369:204:0;8085:102:1;29917:386:0;;;;;;;;;;-1:-1:-1;29917:386:0;;;;;:::i;:::-;;:::i;56603:92::-;;;;;;;;;;-1:-1:-1;56603:92:0;;;;;:::i;:::-;;:::i;56395:84::-;;;;;;;;;;-1:-1:-1;56395:84:0;;;;;:::i;:::-;;:::i;21830:315::-;;;;;;;;;;-1:-1:-1;22096:12:0;;21883:7;22080:13;:28;21830:315;;39634:2800;;;;;;;;;;-1:-1:-1;39634:2800:0;;;;;:::i;:::-;;:::i;53292:39::-;;;;;;;;;;;;53329:2;53292:39;;53576:25;;;;;;;;;;;;;;;;57239:155;;;:::i;31259:185::-;;;;;;;;;;-1:-1:-1;31259:185:0;;;;;:::i;:::-;;:::i;56897:88::-;;;;;;;;;;-1:-1:-1;56897:88:0;;;;;:::i;:::-;;:::i;56130:86::-;;;;;;;;;;-1:-1:-1;56130:86:0;;;;;:::i;:::-;;:::i;53497:70::-;;;;;;;;;;-1:-1:-1;53497:70:0;;;;-1:-1:-1;;;;;53497:70:0;;;54278:801;;;;;;:::i;:::-;;:::i;53017:26::-;;;;;;;;;;-1:-1:-1;53017:26:0;;;;-1:-1:-1;;;53017:26:0;;;;;;28212:144;;;;;;;;;;-1:-1:-1;28212:144:0;;;;;:::i;:::-;;:::i;53052:38::-;;;;;;;;;;;;;;;;23455:224;;;;;;;;;;-1:-1:-1;23455:224:0;;;;;:::i;:::-;;:::i;55764:87::-;;;;;;;;;;;;;:::i;7287:103::-;;;;;;;;;;;;;:::i;53195:44::-;;;;;;;;;;;;;;;;56993:93;;;;;;;;;;-1:-1:-1;56993:93:0;;;;;:::i;:::-;;:::i;6636:87::-;;;;;;;;;;-1:-1:-1;6709:6:0;;-1:-1:-1;;;;;6709:6:0;6636:87;;56487:108;;;;;;;;;;-1:-1:-1;56487:108:0;;;;;:::i;:::-;;:::i;28592:104::-;;;;;;;;;;;;;:::i;55087:669::-;;;;;;:::i;:::-;;:::i;53097:41::-;;;;;;;;;;;;;;;;30645:308;;;;;;;;;;-1:-1:-1;30645:308:0;;;;;:::i;:::-;;:::i;56810:79::-;;;;;;;;;;-1:-1:-1;56854:7:0;22478:13;56810:79;;53364:24;;;;;;;;;;-1:-1:-1;53364:24:0;;;;;;;;;;;55859:169;;;;;;;;;;;;;:::i;31515:399::-;;;;;;;;;;-1:-1:-1;31515:399:0;;;;;:::i;:::-;;:::i;57094:137::-;;;;;;;;;;-1:-1:-1;57094:137:0;;;;;:::i;:::-;;:::i;53986:284::-;;;;;;;;;;;;;:::i;53766:212::-;;;;;;;;;;-1:-1:-1;53766:212:0;;;;;:::i;:::-;;:::i;56703:99::-;;;;;;;;;;-1:-1:-1;56703:99:0;;;;;:::i;:::-;;:::i;31024:164::-;;;;;;;;;;-1:-1:-1;31024:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31145:25:0;;;31121:4;31145:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31024:164;7545:201;;;;;;;;;;-1:-1:-1;7545:201:0;;;;;:::i;:::-;;:::i;56224:87::-;;;;;;;;;;-1:-1:-1;56224:87:0;;;;;:::i;:::-;;:::i;53147:41::-;;;;;;;;;;;;;;;;22776:615;22861:4;-1:-1:-1;;;;;;;;;23161:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;23238:25:0;;;23161:102;:179;;;-1:-1:-1;;;;;;;;;;23315:25:0;;;23161:179;23141:199;22776:615;-1:-1:-1;;22776:615:0:o;56319:68::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;;;;;;;;;56365:12:::1;:19:::0;;-1:-1:-1;;56365:19:0::1;;;::::0;;56319:68::o;28423:100::-;28477:13;28510:5;28503:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28423:100;:::o;30369:204::-;30437:7;30462:16;30470:7;30462;:16::i;:::-;30457:64;;30487:34;;-1:-1:-1;;;30487:34:0;;;;;;;;;;;30457:64;-1:-1:-1;30541:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30541:24:0;;30369:204::o;29917:386::-;29990:13;30006:16;30014:7;30006;:16::i;:::-;29990:32;-1:-1:-1;5440:10:0;-1:-1:-1;;;;;30039:28:0;;;30035:175;;30087:44;30104:5;5440:10;31024:164;:::i;30087:44::-;30082:128;;30159:35;;-1:-1:-1;;;30159:35:0;;;;;;;;;;;30082:128;30222:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;30222:29:0;-1:-1:-1;;;;;30222:29:0;;;;;;;;;30267:28;;30222:24;;30267:28;;;;;;;29917:386;;;:::o;56603:92::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;56668:10:::1;:24:::0;;-1:-1:-1;;;;;;56668:24:0::1;-1:-1:-1::0;;;;;56668:24:0;;;::::1;::::0;;;::::1;::::0;;56603:92::o;56395:84::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;56455:6:::1;:21:::0;;;::::1;;-1:-1:-1::0;;;56455:21:0::1;-1:-1:-1::0;;;;56455:21:0;;::::1;::::0;;;::::1;::::0;;56395:84::o;39634:2800::-;39768:27;39798;39817:7;39798:18;:27::i;:::-;39768:57;;39883:4;-1:-1:-1;;;;;39842:45:0;39858:19;-1:-1:-1;;;;;39842:45:0;;39838:86;;39896:28;;-1:-1:-1;;;39896:28:0;;;;;;;;;;;39838:86;39938:27;38364:21;;;38191:15;38406:4;38399:36;38488:4;38472:21;;38578:26;;5440:10;39331:30;;;-1:-1:-1;;;;;39029:26:0;;39310:19;;;39307:55;40117:174;;40204:43;40221:4;5440:10;31024:164;:::i;40204:43::-;40199:92;;40256:35;;-1:-1:-1;;;40256:35:0;;;;;;;;;;;40199:92;-1:-1:-1;;;;;40308:16:0;;40304:52;;40333:23;;-1:-1:-1;;;40333:23:0;;;;;;;;;;;40304:52;40505:15;40502:2;;;40645:1;40624:19;40617:30;40502:2;-1:-1:-1;;;;;41040:24:0;;;;;;;:18;:24;;;;;;41038:26;;-1:-1:-1;;41038:26:0;;;41109:22;;;;;;;;;41107:24;;-1:-1:-1;41107:24:0;;;28111:11;28087:22;28083:40;28070:62;-1:-1:-1;;;28070:62:0;41402:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;41696:46:0;;41692:626;;41800:1;41790:11;;41768:19;41923:30;;;:17;:30;;;;;;41919:384;;42061:13;;42046:11;:28;42042:242;;42208:30;;;;:17;:30;;;;;:52;;;42042:242;41692:626;;42365:7;42361:2;-1:-1:-1;;;;;42346:27:0;42355:4;-1:-1:-1;;;;;42346:27:0;;;;;;;;;;;39634:2800;;;;;;:::o;57239:155::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;57296:7:::1;57317;6709:6:::0;;-1:-1:-1;;;;;6709:6:0;;6636:87;57317:7:::1;-1:-1:-1::0;;;;;57309:21:0::1;57338;57309:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57295:69;;;57383:2;57375:11;;;::::0;::::1;;6927:1;57239:155::o:0;31259:185::-;31397:39;31414:4;31420:2;31424:7;31397:39;;;;;;;;;;;;:16;:39::i;:::-;31259:185;;;:::o;56897:88::-;56951:4;56966:16;56974:7;56966;:16::i;56130:86::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;56195:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;56130:86:::0;:::o;54278:801::-;53281:4;54391:8;54375:13;22096:12;;21883:7;22080:13;:28;;21830:315;54375:13;:24;;;;:::i;:::-;:34;;54367:88;;;;-1:-1:-1;;;54367:88:0;;;;;;;:::i;:::-;54475:12;;;;;;;54474:13;54466:55;;;;-1:-1:-1;;;54466:55:0;;12533:2:1;54466:55:0;;;12515:21:1;12572:2;12552:18;;;12545:30;12611:31;12591:18;;;12584:59;12660:18;;54466:55:0;12505:179:1;54466:55:0;6709:6;;-1:-1:-1;;;;;6709:6:0;54537:10;:21;54534:486;;54586:6;;-1:-1:-1;;;54586:6:0;;;;54585:7;54577:35;;;;-1:-1:-1;;;54577:35:0;;10244:2:1;54577:35:0;;;10226:21:1;10283:2;10263:18;;;10256:30;-1:-1:-1;;;10302:18:1;;;10295:45;10357:18;;54577:35:0;10216:165:1;54577:35:0;54662:28;;-1:-1:-1;;54679:10:0;6461:2:1;6457:15;6453:53;54662:28:0;;;6441:66:1;54637:55:0;;54645:5;;6523:12:1;;54662:28:0;;;;;;;;;;;;54652:39;;;;;;54637:7;:55::i;:::-;54629:110;;;;-1:-1:-1;;;54629:110:0;;10588:2:1;54629:110:0;;;10570:21:1;10627:2;10607:18;;;10600:30;10666:34;10646:18;;;10639:62;-1:-1:-1;;;10717:18:1;;;10710:40;10767:19;;54629:110:0;10560:232:1;54629:110:0;54798:22;;54773:21;54783:10;54773:9;:21::i;:::-;54762:32;;:8;:32;:::i;:::-;:58;;54868:33;:22;;:31;:33::i;:::-;54829:93;;;;;;;;:::i;:::-;;;;;;;;;;;;;54754:170;;;;;-1:-1:-1;;;54754:170:0;;;;;;;;:::i;:::-;;54977:8;54962:12;;:23;;;;:::i;:::-;54949:9;:36;;54941:67;;;;-1:-1:-1;;;54941:67:0;;10999:2:1;54941:67:0;;;10981:21:1;11038:2;11018:18;;;11011:30;-1:-1:-1;;;11057:18:1;;;11050:48;11115:18;;54941:67:0;10971:168:1;54941:67:0;55040:31;55050:10;55062:8;55040:9;:31::i;28212:144::-;28276:7;28319:27;28338:7;28319:18;:27::i;23455:224::-;23519:7;-1:-1:-1;;;;;23543:19:0;;23539:60;;23571:28;;-1:-1:-1;;;23571:28:0;;;;;;;;;;;23539:60;-1:-1:-1;;;;;;23617:25:0;;;;;:18;:25;;;;;;18010:13;23617:54;;23455:224::o;55764:87::-;6709:6;;55817:13;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;55841:7:::1;55834:14;;;;;:::i;7287:103::-:0;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;7352:30:::1;7379:1;7352:18;:30::i;:::-;7287:103::o:0;56993:93::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;57059:10:::1;:24:::0;56993:93::o;56487:108::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;56560:25:::1;:32:::0;56487:108::o;28592:104::-;28648:13;28681:7;28674:14;;;;;:::i;55087:669::-;53281:4;55173:8;55157:13;22096:12;;21883:7;22080:13;:28;;21830:315;55157:13;:24;;;;:::i;:::-;:34;;55149:88;;;;-1:-1:-1;;;55149:88:0;;;;;;;:::i;:::-;55256:12;;;;;;;55248:70;;;;-1:-1:-1;;;55248:70:0;;12891:2:1;55248:70:0;;;12873:21:1;12930:2;12910:18;;;12903:30;12969:34;12949:18;;;12942:62;-1:-1:-1;;;13020:18:1;;;13013:43;13073:19;;55248:70:0;12863:235:1;55248:70:0;6709:6;;-1:-1:-1;;;;;6709:6:0;55334:10;:21;55331:366;;55383:6;;-1:-1:-1;;;55383:6:0;;;;55382:7;55374:35;;;;-1:-1:-1;;;55374:35:0;;10244:2:1;55374:35:0;;;10226:21:1;10283:2;10263:18;;;10256:30;-1:-1:-1;;;10302:18:1;;;10295:45;10357:18;;55374:35:0;10216:165:1;55374:35:0;55470:25;;55445:21;55455:10;55445:9;:21::i;:::-;55434:32;;:8;:32;:::i;:::-;:61;;55543:36;:25;;:34;:36::i;:::-;55504:100;;;;;;;;:::i;:::-;;;;;;;;;;;;;55426:180;;;;;-1:-1:-1;;;55426:180:0;;;;;;;;:::i;:::-;;55654:8;55642:9;;:20;;;;:::i;:::-;55629:9;:33;;55621:64;;;;-1:-1:-1;;;55621:64:0;;10999:2:1;55621:64:0;;;10981:21:1;11038:2;11018:18;;;11011:30;-1:-1:-1;;;11057:18:1;;;11050:48;11115:18;;55621:64:0;10971:168:1;55621:64:0;55717:31;55727:10;55739:8;55717:9;:31::i;30645:308::-;-1:-1:-1;;;;;30744:31:0;;5440:10;30744:31;30740:61;;;30784:17;;-1:-1:-1;;;30784:17:0;;;;;;;;;;;30740:61;5440:10;30814:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;30814:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;30814:60:0;;;;;;;;;;30890:55;;8825:41:1;;;30814:49:0;;5440:10;30890:55;;8798:18:1;30890:55:0;;;;;;;30645:308;;:::o;55859:169::-;55930:12;;55904:7;;55930:12;;;;;55926:66;;-1:-1:-1;55968:12:0;;;55859:169::o;55926:66::-;-1:-1:-1;56011:9:0;;;55859:169::o;31515:399::-;31682:31;31695:4;31701:2;31705:7;31682:12;:31::i;:::-;-1:-1:-1;;;;;31728:14:0;;;:19;31724:183;;31767:56;31798:4;31804:2;31808:7;31817:5;31767:30;:56::i;:::-;31762:145;;31851:40;;-1:-1:-1;;;31851:40:0;;;;;;;;;;;31762:145;31515:399;;;;:::o;57094:137::-;57170:4;57185:43;57204:5;57211:10;;57223:4;57185:18;:43::i;:::-;57178:50;57094:137;-1:-1:-1;;;57094:137:0:o;53986:284::-;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;53281:4:::1;53329:2;54046:13;22096:12:::0;;21883:7;22080:13;:28;;21830:315;54046:13:::1;:26;;;;:::i;:::-;:36;;54038:90;;;;-1:-1:-1::0;;;54038:90:0::1;;;;;;;:::i;:::-;54148:10;::::0;::::1;;54147:11;54139:47;;;::::0;-1:-1:-1;;;54139:47:0;;9892:2:1;54139:47:0::1;::::0;::::1;9874:21:1::0;9931:2;9911:18;;;9904:30;9970:25;9950:18;;;9943:53;10013:18;;54139:47:0::1;9864:173:1::0;54139:47:0::1;54199:10;:17:::0;;-1:-1:-1;;54199:17:0::1;54212:4;54199:17;::::0;;54239:10:::1;::::0;54229:33:::1;::::0;-1:-1:-1;;;;;54239:10:0::1;53329:2;54229:9;:33::i;53766:212::-:0;53839:13;53875:16;53883:7;53875;:16::i;:::-;53867:76;;;;-1:-1:-1;;;53867:76:0;;12117:2:1;53867:76:0;;;12099:21:1;12156:2;12136:18;;;12129:30;12195:34;12175:18;;;12168:62;-1:-1:-1;;;12246:18:1;;;12239:45;12301:19;;53867:76:0;12089:237:1;53867:76:0;53963:7;53956:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53766:212;;;:::o;56703:99::-;-1:-1:-1;;;;;23850:25:0;;56761:7;23850:25;;;:18;:25;;18147:2;23850:25;;;;18010:13;23850:49;;23849:80;56779:20;23761:176;7545:201;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7634:22:0;::::1;7626:73;;;::::0;-1:-1:-1;;;7626:73:0;;9485:2:1;7626:73:0::1;::::0;::::1;9467:21:1::0;9524:2;9504:18;;;9497:30;9563:34;9543:18;;;9536:62;-1:-1:-1;;;9614:18:1;;;9607:36;9660:19;;7626:73:0::1;9457:228:1::0;7626:73:0::1;7710:28;7729:8;7710:18;:28::i;56224:87::-:0;6709:6;;-1:-1:-1;;;;;6709:6:0;5440:10;6856:23;6848:68;;;;-1:-1:-1;;;6848:68:0;;;;;;;:::i;:::-;56287:9:::1;:21:::0;56224:87::o;32169:273::-;32226:4;32316:13;;32306:7;:23;32263:152;;;;-1:-1:-1;;32367:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32367:43:0;:48;;32169:273::o;25129:1129::-;25196:7;25231;25333:13;;25326:4;:20;25322:869;;;25371:14;25388:23;;;:17;:23;;;;;;-1:-1:-1;;;25477:23:0;;25473:699;;25996:113;26003:11;25996:113;;-1:-1:-1;;;26074:6:0;26056:25;;;;:17;:25;;;;;;25996:113;;25473:699;25322:869;;26219:31;;-1:-1:-1;;;26219:31:0;;;;;;;;;;;2922:723;2978:13;3199:10;3195:53;;-1:-1:-1;;3226:10:0;;;;;;;;;;;;-1:-1:-1;;;3226:10:0;;;;;2922:723::o;3195:53::-;3273:5;3258:12;3314:78;3321:9;;3314:78;;3347:8;;;;:::i;:::-;;-1:-1:-1;3370:10:0;;-1:-1:-1;3378:2:0;3370:10;;:::i;:::-;;;3314:78;;;3402:19;3434:6;3424:17;;;;;;-1:-1:-1;;;3424:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3424:17:0;;3402:39;;3452:154;3459:10;;3452:154;;3486:11;3496:1;3486:11;;:::i;:::-;;-1:-1:-1;3555:10:0;3563:2;3555:5;:10;:::i;:::-;3542:24;;:2;:24;:::i;:::-;3529:39;;3512:6;3519;3512:14;;;;;;-1:-1:-1;;;3512:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;3512:56:0;;;;;;;;-1:-1:-1;3583:11:0;3592:2;3583:11;;:::i;:::-;;;3452:154;;;3630:6;2922:723;-1:-1:-1;;;;2922:723:0:o;32526:104::-;32595:27;32605:2;32609:8;32595:27;;;;;;;;;;;;:9;:27::i;7906:191::-;7999:6;;;-1:-1:-1;;;;;8016:17:0;;;-1:-1:-1;;;;;;8016:17:0;;;;;;;8049:40;;7999:6;;;8016:17;7999:6;;8049:40;;7980:16;;8049:40;7906:191;;:::o;46385:716::-;46569:88;;-1:-1:-1;;;46569:88:0;;46548:4;;-1:-1:-1;;;;;46569:45:0;;;;;:88;;5440:10;;46636:4;;46642:7;;46651:5;;46569:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46569:88:0;;;;;;;;-1:-1:-1;;46569:88:0;;;;;;;;;;;;:::i;:::-;;;46565:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46852:13:0;;46848:235;;46898:40;;-1:-1:-1;;;46898:40:0;;;;;;;;;;;46848:235;47041:6;47035:13;47026:6;47022:2;47018:15;47011:38;46565:529;-1:-1:-1;;;;;;46728:64:0;-1:-1:-1;;;46728:64:0;;-1:-1:-1;46385:716:0;;;;;;:::o;1092:190::-;1217:4;1270;1241:25;1254:5;1261:4;1241:12;:25::i;:::-;:33;;1092:190;-1:-1:-1;;;;1092:190:0:o;33046:681::-;33169:19;33175:2;33179:8;33169:5;:19::i;:::-;-1:-1:-1;;;;;33230:14:0;;;:19;33226:483;;33270:11;33284:13;33332:14;;;33365:233;33396:62;33435:1;33439:2;33443:7;;;;;;33452:5;33396:30;:62::i;:::-;33391:167;;33494:40;;-1:-1:-1;;;33494:40:0;;;;;;;;;;;33391:167;33593:3;33585:5;:11;33365:233;;33680:3;33663:13;;:20;33659:34;;33685:8;;;33659:34;33226:483;;33046:681;;;:::o;1643:675::-;1726:7;1769:4;1726:7;1784:497;1808:5;:12;1804:1;:16;1784:497;;;1842:20;1865:5;1871:1;1865:8;;;;;;-1:-1:-1;;;1865:8:0;;;;;;;;;;;;;;;1842:31;;1908:12;1892;:28;1888:382;;2394:13;2444:15;;;2480:4;2473:15;;;2527:4;2511:21;;2020:57;;1888:382;;;2394:13;2444:15;;;2480:4;2473:15;;;2527:4;2511:21;;2197:57;;1888:382;-1:-1:-1;1822:3:0;;;;:::i;:::-;;;;1784:497;;;-1:-1:-1;2298:12:0;1643:675;-1:-1:-1;;;1643:675:0:o;34000:1529::-;34065:20;34088:13;-1:-1:-1;;;;;34116:16:0;;34112:48;;34141:19;;-1:-1:-1;;;34141:19:0;;;;;;;;;;;34112:48;34175:13;34171:44;;34197:18;;-1:-1:-1;;;34197:18:0;;;;;;;;;;;34171:44;-1:-1:-1;;;;;34703:22:0;;;;;;:18;:22;;18147:2;34703:22;;:70;;34741:31;34729:44;;34703:70;;;28111:11;28087:22;28083:40;-1:-1:-1;29821:15:0;;29796:23;29792:45;28080:51;28070:62;35016:31;;;;:17;:31;;;;;:173;35034:12;35265:23;;;35303:101;35330:35;;35355:9;;;;;-1:-1:-1;;;;;35330:35:0;;;35347:1;;35330:35;;35347:1;;35330:35;35399:3;35389:7;:13;35303:101;;35420:13;:19;-1:-1:-1;31259:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:2;;588:1;585;578:12;522:2;474:124;;;:::o;603:743::-;657:5;710:3;703:4;695:6;691:17;687:27;677:2;;732:5;725;718:20;677:2;772:6;759:20;798:4;821:18;817:2;814:26;811:2;;;843:18;;:::i;:::-;889:2;886:1;882:10;912:28;936:2;932;928:11;912:28;:::i;:::-;974:15;;;1005:12;;;;1037:15;;;1071;;;1067:24;;1064:33;-1:-1:-1;1061:2:1;;;1114:5;1107;1100:20;1061:2;1140:5;1131:14;;1154:163;1168:2;1165:1;1162:9;1154:163;;;1225:17;;1213:30;;1186:1;1179:9;;;;;1263:12;;;;1295;;1154:163;;;-1:-1:-1;1335:5:1;667:679;-1:-1:-1;;;;;;;667:679:1:o;1351:160::-;1416:20;;1472:13;;1465:21;1455:32;;1445:2;;1501:1;1498;1491:12;1516:196;1575:6;1628:2;1616:9;1607:7;1603:23;1599:32;1596:2;;;1649:6;1641;1634:22;1596:2;1677:29;1696:9;1677:29;:::i;1717:270::-;1785:6;1793;1846:2;1834:9;1825:7;1821:23;1817:32;1814:2;;;1867:6;1859;1852:22;1814:2;1895:29;1914:9;1895:29;:::i;:::-;1885:39;;1943:38;1977:2;1966:9;1962:18;1943:38;:::i;:::-;1933:48;;1804:183;;;;;:::o;1992:338::-;2069:6;2077;2085;2138:2;2126:9;2117:7;2113:23;2109:32;2106:2;;;2159:6;2151;2144:22;2106:2;2187:29;2206:9;2187:29;:::i;:::-;2177:39;;2235:38;2269:2;2258:9;2254:18;2235:38;:::i;:::-;2225:48;;2320:2;2309:9;2305:18;2292:32;2282:42;;2096:234;;;;;:::o;2335:696::-;2430:6;2438;2446;2454;2507:3;2495:9;2486:7;2482:23;2478:33;2475:2;;;2529:6;2521;2514:22;2475:2;2557:29;2576:9;2557:29;:::i;:::-;2547:39;;2605:38;2639:2;2628:9;2624:18;2605:38;:::i;:::-;2595:48;;2690:2;2679:9;2675:18;2662:32;2652:42;;2745:2;2734:9;2730:18;2717:32;2772:18;2764:6;2761:30;2758:2;;;2809:6;2801;2794:22;2758:2;2837:22;;2890:4;2882:13;;2878:27;-1:-1:-1;2868:2:1;;2924:6;2916;2909:22;2868:2;2952:73;3017:7;3012:2;2999:16;2994:2;2990;2986:11;2952:73;:::i;:::-;2942:83;;;2465:566;;;;;;;:::o;3036:264::-;3101:6;3109;3162:2;3150:9;3141:7;3137:23;3133:32;3130:2;;;3183:6;3175;3168:22;3130:2;3211:29;3230:9;3211:29;:::i;:::-;3201:39;;3259:35;3290:2;3279:9;3275:18;3259:35;:::i;3305:264::-;3373:6;3381;3434:2;3422:9;3413:7;3409:23;3405:32;3402:2;;;3455:6;3447;3440:22;3402:2;3483:29;3502:9;3483:29;:::i;:::-;3473:39;3559:2;3544:18;;;;3531:32;;-1:-1:-1;;;3392:177:1:o;3574:436::-;3667:6;3675;3728:2;3716:9;3707:7;3703:23;3699:32;3696:2;;;3749:6;3741;3734:22;3696:2;3794:9;3781:23;3827:18;3819:6;3816:30;3813:2;;;3864:6;3856;3849:22;3813:2;3892:61;3945:7;3936:6;3925:9;3921:22;3892:61;:::i;:::-;3882:71;4000:2;3985:18;;;;3972:32;;-1:-1:-1;;;;3686:324:1:o;4015:190::-;4071:6;4124:2;4112:9;4103:7;4099:23;4095:32;4092:2;;;4145:6;4137;4130:22;4092:2;4173:26;4189:9;4173:26;:::i;4210:190::-;4269:6;4322:2;4310:9;4301:7;4297:23;4293:32;4290:2;;;4343:6;4335;4328:22;4290:2;-1:-1:-1;4371:23:1;;4280:120;-1:-1:-1;4280:120:1:o;4405:255::-;4463:6;4516:2;4504:9;4495:7;4491:23;4487:32;4484:2;;;4537:6;4529;4522:22;4484:2;4581:9;4568:23;4600:30;4624:5;4600:30;:::i;4665:259::-;4734:6;4787:2;4775:9;4766:7;4762:23;4758:32;4755:2;;;4808:6;4800;4793:22;4755:2;4845:9;4839:16;4864:30;4888:5;4864:30;:::i;4929:480::-;4998:6;5051:2;5039:9;5030:7;5026:23;5022:32;5019:2;;;5072:6;5064;5057:22;5019:2;5117:9;5104:23;5150:18;5142:6;5139:30;5136:2;;;5187:6;5179;5172:22;5136:2;5215:22;;5268:4;5260:13;;5256:27;-1:-1:-1;5246:2:1;;5302:6;5294;5287:22;5246:2;5330:73;5395:7;5390:2;5377:16;5372:2;5368;5364:11;5330:73;:::i;5609:436::-;5702:6;5710;5763:2;5751:9;5742:7;5738:23;5734:32;5731:2;;;5784:6;5776;5769:22;5731:2;5825:9;5812:23;5802:33;;5886:2;5875:9;5871:18;5858:32;5913:18;5905:6;5902:30;5899:2;;;5950:6;5942;5935:22;5899:2;5978:61;6031:7;6022:6;6011:9;6007:22;5978:61;:::i;:::-;5968:71;;;5721:324;;;;;:::o;6050:257::-;6091:3;6129:5;6123:12;6156:6;6151:3;6144:19;6172:63;6228:6;6221:4;6216:3;6212:14;6205:4;6198:5;6194:16;6172:63;:::i;:::-;6289:2;6268:15;-1:-1:-1;;6264:29:1;6255:39;;;;6296:4;6251:50;;6099:208;-1:-1:-1;;6099:208:1:o;6756:607::-;-1:-1:-1;;;7114:3:1;7107:33;7089:3;7169:6;7163:13;7185:62;7240:6;7235:2;7230:3;7226:12;7219:4;7211:6;7207:17;7185:62;:::i;:::-;-1:-1:-1;;;7306:2:1;7266:16;;;;7298:11;;;7291:39;-1:-1:-1;7354:2:1;7346:11;;7097:266;-1:-1:-1;7097:266:1:o;7368:611::-;-1:-1:-1;;;7726:3:1;7719:33;7701:3;7781:6;7775:13;7797:62;7852:6;7847:2;7842:3;7838:12;7831:4;7823:6;7819:17;7797:62;:::i;:::-;-1:-1:-1;;;7918:2:1;7878:16;;;;7910:11;;;7903:43;-1:-1:-1;7970:2:1;7962:11;;7709:270;-1:-1:-1;7709:270:1:o;8192:488::-;-1:-1:-1;;;;;8461:15:1;;;8443:34;;8513:15;;8508:2;8493:18;;8486:43;8560:2;8545:18;;8538:34;;;8608:3;8603:2;8588:18;;8581:31;;;8386:4;;8629:45;;8654:19;;8646:6;8629:45;:::i;:::-;8621:53;8395:285;-1:-1:-1;;;;;;8395:285:1:o;9059:219::-;9208:2;9197:9;9190:21;9171:4;9228:44;9268:2;9257:9;9253:18;9245:6;9228:44;:::i;11144:405::-;11346:2;11328:21;;;11385:2;11365:18;;;11358:30;11424:34;11419:2;11404:18;;11397:62;-1:-1:-1;;;11490:2:1;11475:18;;11468:39;11539:3;11524:19;;11318:231::o;11554:356::-;11756:2;11738:21;;;11775:18;;;11768:30;11834:34;11829:2;11814:18;;11807:62;11901:2;11886:18;;11728:182::o;13285:275::-;13356:2;13350:9;13421:2;13402:13;;-1:-1:-1;;13398:27:1;13386:40;;13456:18;13441:34;;13477:22;;;13438:62;13435:2;;;13503:18;;:::i;:::-;13539:2;13532:22;13330:230;;-1:-1:-1;13330:230:1:o;13565:128::-;13605:3;13636:1;13632:6;13629:1;13626:13;13623:2;;;13642:18;;:::i;:::-;-1:-1:-1;13678:9:1;;13613:80::o;13698:120::-;13738:1;13764;13754:2;;13769:18;;:::i;:::-;-1:-1:-1;13803:9:1;;13744:74::o;13823:168::-;13863:7;13929:1;13925;13921:6;13917:14;13914:1;13911:21;13906:1;13899:9;13892:17;13888:45;13885:2;;;13936:18;;:::i;:::-;-1:-1:-1;13976:9:1;;13875:116::o;13996:125::-;14036:4;14064:1;14061;14058:8;14055:2;;;14069:18;;:::i;:::-;-1:-1:-1;14106:9:1;;14045:76::o;14126:258::-;14198:1;14208:113;14222:6;14219:1;14216:13;14208:113;;;14298:11;;;14292:18;14279:11;;;14272:39;14244:2;14237:10;14208:113;;;14339:6;14336:1;14333:13;14330:2;;;-1:-1:-1;;14374:1:1;14356:16;;14349:27;14179:205::o;14389:380::-;14468:1;14464:12;;;;14511;;;14532:2;;14586:4;14578:6;14574:17;14564:27;;14532:2;14639;14631:6;14628:14;14608:18;14605:38;14602:2;;;14685:10;14680:3;14676:20;14673:1;14666:31;14720:4;14717:1;14710:15;14748:4;14745:1;14738:15;14602:2;;14444:325;;;:::o;14774:135::-;14813:3;-1:-1:-1;;14834:17:1;;14831:2;;;14854:18;;:::i;:::-;-1:-1:-1;14901:1:1;14890:13;;14821:88::o;14914:112::-;14946:1;14972;14962:2;;14977:18;;:::i;:::-;-1:-1:-1;15011:9:1;;14952:74::o;15031:127::-;15092:10;15087:3;15083:20;15080:1;15073:31;15123:4;15120:1;15113:15;15147:4;15144:1;15137:15;15163:127;15224:10;15219:3;15215:20;15212:1;15205:31;15255:4;15252:1;15245:15;15279:4;15276:1;15269:15;15295:127;15356:10;15351:3;15347:20;15344:1;15337:31;15387:4;15384:1;15377:15;15411:4;15408:1;15401:15;15427:131;-1:-1:-1;;;;;;15501:32:1;;15491:43;;15481:2;;15548:1;15545;15538:12

Swarm Source

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