ETH Price: $3,445.01 (-0.93%)
Gas: 3 Gwei

Token

Chronix Pushers (CRP)
 

Overview

Max Total Supply

3,000 CRP

Holders

920

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 CRP
0x050996E75Ba1a7b5d6C53Aee152d5A2DA376068D
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:
ChronixPushers

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-19
*/

// 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/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: erc721a/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: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred.
     * This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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: contracts/ChronixPushers.sol


pragma solidity ^0.8.7;







interface IBUDS {
  function depositBudsFor(address user, uint256 amount) external;
}

interface ISTAKING {
  function getStakerPot() external view returns(uint256) ;
}


contract ChronixPushers is ERC721A, Ownable, ReentrancyGuard  {
    using Strings for uint256;

    string public baseURI;
    uint256 public constant MAX_PER_WALLET = 3;
    uint256 public constant MAX_SUPPLY = 3000;
    bool public publicMinting;
    bool public whitelistMinting;

    bytes32 public merkleRoot;

    mapping (address => uint256) public addressBalance;
    mapping (address => uint256) public userPot;
    IBUDS public BUDS;
    ISTAKING public STAKING;
    
    constructor(
        string memory _initBaseURI, address _buds, address _staking
    ) ERC721A("Chronix Pushers", "CRP") {
        baseURI = _initBaseURI;
        BUDS = IBUDS(_buds);
        STAKING = ISTAKING(_staking);
    }

    modifier mintCompliance(uint tokensToMint) {
        require(tokensToMint >= 1, "Min mint is 1 token");
        require(totalSupply() + tokensToMint <= MAX_SUPPLY, "Minting more tokens than allowed");
        require(addressBalance[msg.sender] + tokensToMint <= MAX_PER_WALLET,"Max per wallet is 3");
        _;
    }
  

    function mint(uint256 tokensToMint) public  nonReentrant mintCompliance(tokensToMint)  {
        require(publicMinting, "The mint has not started yet");
        addressBalance[msg.sender] += tokensToMint;
        _safeMint(msg.sender, tokensToMint);
    }

    function whitelistMint(uint256 tokensToMint, bytes32[] memory proof) public nonReentrant mintCompliance(tokensToMint) {
        require(whitelistMinting && !publicMinting,"Whitelist mint not active");
        require(isValid(proof, msg.sender), "Not whitelisted");
        addressBalance[msg.sender] += tokensToMint;
        _safeMint(msg.sender, tokensToMint);
    }
    

    function isValid(bytes32[] memory proof, address sender) public view returns (bool) {
        return MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(sender)));
    }

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token");
    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(_baseURI(), tokenId.toString(), '.json'))
        : "";
    }

    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

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

    function reserveNfts(uint tokensToMint) public onlyOwner {
        _safeMint(msg.sender, tokensToMint);
    }
    
    function flipPublicMinting() public onlyOwner { 
        publicMinting = !publicMinting;
    }
    function flipWhitelistMinting() public onlyOwner { 
        whitelistMinting = !whitelistMinting;
    }

    function setStakingContract(address _source) public onlyOwner {
      STAKING = ISTAKING(_source);
      
    }
    function setBudsContract(address _source) public onlyOwner {
      BUDS = IBUDS(_source);
      
    }


    //STAKING
    function getPotTax(address staker) public view returns(uint amountEarned) {
        if(totalSupply() !=0 ){
          return (STAKING.getStakerPot()- userPot[staker])*((balanceOf(staker) * 10000) / totalSupply()) /10000;
        }
        else {
          return 0;
        }
    }

    function claim() public nonReentrant {
        uint amount=getPotTax(msg.sender);
        require(amount != 0);
        BUDS.depositBudsFor(msg.sender,amount);
        userPot[msg.sender]=STAKING.getStakerPot();
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_buds","type":"address"},{"internalType":"address","name":"_staking","type":"address"}],"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":[],"name":"BUDS","outputs":[{"internalType":"contract IBUDS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKING","outputs":[{"internalType":"contract ISTAKING","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getPotTax","outputs":[{"internalType":"uint256","name":"amountEarned","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"sender","type":"address"}],"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":"tokensToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToMint","type":"uint256"}],"name":"reserveNfts","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_source","type":"address"}],"name":"setBudsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_source","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userPot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToMint","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620023e6380380620023e6833981016040819052620000349162000211565b604080518082018252600f81526e4368726f6e6978205075736865727360881b60208083019182528351808501909452600384526204352560ec1b90840152815191929162000086916002916200014e565b5080516200009c9060039060208401906200014e565b50506000805550620000ae33620000fc565b60016009558251620000c890600a9060208601906200014e565b50600f80546001600160a01b039384166001600160a01b031991821617909155601080549290931691161790555062000367565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015c9062000314565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b80516001600160a01b03811681146200020c57600080fd5b919050565b6000806000606084860312156200022757600080fd5b83516001600160401b03808211156200023f57600080fd5b818601915086601f8301126200025457600080fd5b81518181111562000269576200026962000351565b604051601f8201601f19908116603f0116810190838211818310171562000294576200029462000351565b81604052828152602093508984848701011115620002b157600080fd5b600091505b82821015620002d55784820184015181830185015290830190620002b6565b82821115620002e75760008484830101525b9650620002f9915050868201620001f4565b935050506200030b60408501620001f4565b90509250925092565b600181811c908216806200032957607f821691505b602082108114156200034b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61206f80620003776000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80636352211e1161013b5780639dd373b9116100b8578063c87b56dd1161007c578063c87b56dd146104b0578063d2cab056146104c3578063e985e9c5146104d6578063f2fde38b14610512578063fa29c55e1461052557600080fd5b80639dd373b914610451578063a0712d6814610464578063a22cb46514610477578063b365a3e21461048a578063b88d4fde1461049d57600080fd5b8063715018a6116100ff578063715018a61461040a5780637cb64759146104125780638da5cb5b1461042557806395d89b411461043657806397610f301461043e57600080fd5b80636352211e146103b75780636992d229146103ca5780636c0360eb146103dc5780636d1b9f63146103e457806370a08231146103f757600080fd5b80631b7cfa09116101c95780633ec4de351161018d5780633ec4de351461035c57806342842e0e1461037c5780634e71d92d1461038f57806353ac010a1461039757806355f804b3146103a457600080fd5b80631b7cfa091461031c5780631bb59fcb1461032f57806323b872dd146103375780632eb4a7ab1461034a57806332cb6b0c1461035357600080fd5b8063081812fc11610210578063081812fc146102b7578063095ea7b3146102e25780630f2cdd6c146102f55780631439e94a146102fd57806318160ddd1461031057600080fd5b806301401cb31461024257806301db66381461024c57806301ffc9a71461027f57806306fdde03146102a2575b600080fd5b61024a610538565b005b61026c61025a366004611a61565b600e6020526000908152604090205481565b6040519081526020015b60405180910390f35b61029261028d366004611c6f565b61057f565b6040519015158152602001610276565b6102aa6105d1565b6040516102769190611e23565b6102ca6102c5366004611c56565b610663565b6040516001600160a01b039091168152602001610276565b61024a6102f0366004611be7565b6106a7565b61026c600381565b600f546102ca906001600160a01b031681565b6001546000540361026c565b61024a61032a366004611c56565b610747565b61024a61077e565b61024a610345366004611aaf565b6107c5565b61026c600c5481565b61026c610bb881565b61026c61036a366004611a61565b600d6020526000908152604090205481565b61024a61038a366004611aaf565b610956565b61024a610976565b600b546102929060ff1681565b61024a6103b2366004611ca9565b610ab7565b6102ca6103c5366004611c56565b610aed565b600b5461029290610100900460ff1681565b6102aa610af8565b61024a6103f2366004611a61565b610b86565b61026c610405366004611a61565b610bd2565b61024a610c21565b61024a610420366004611c56565b610c57565b6008546001600160a01b03166102ca565b6102aa610c86565b6010546102ca906001600160a01b031681565b61024a61045f366004611a61565b610c95565b61024a610472366004611c56565b610ce1565b61024a610485366004611bab565b610ea6565b610292610498366004611c11565b610f3c565b61024a6104ab366004611aeb565b610f8a565b6102aa6104be366004611c56565b610fd4565b61024a6104d1366004611d34565b6110a5565b6102926104e4366004611a7c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61024a610520366004611a61565b6112c7565b61026c610533366004611a61565b61135f565b6008546001600160a01b0316331461056b5760405162461bcd60e51b815260040161056290611e36565b60405180910390fd5b600b805460ff19811660ff90911615179055565b60006301ffc9a760e01b6001600160e01b0319831614806105b057506380ac58cd60e01b6001600160e01b03198316145b806105cb5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105e090611f61565b80601f016020809104026020016040519081016040528092919081815260200182805461060c90611f61565b80156106595780601f1061062e57610100808354040283529160200191610659565b820191906000526020600020905b81548152906001019060200180831161063c57829003601f168201915b5050505050905090565b600061066e8261145a565b61068b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106b282610aed565b9050336001600160a01b038216146106eb576106ce81336104e4565b6106eb576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146107715760405162461bcd60e51b815260040161056290611e36565b61077b3382611481565b50565b6008546001600160a01b031633146107a85760405162461bcd60e51b815260040161056290611e36565b600b805461ff001981166101009182900460ff1615909102179055565b60006107d08261149f565b9050836001600160a01b0316816001600160a01b0316146108035760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108505761083386336104e4565b61085057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661087757604051633a954ecd60e21b815260040160405180910390fd5b801561088257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661090d576001840160008181526004602052604090205461090b57600054811461090b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61097183838360405180602001604052806000815250610f8a565b505050565b600260095414156109995760405162461bcd60e51b815260040161056290611e6b565b600260095560006109a93361135f565b9050806109b557600080fd5b600f546040516377ee221360e11b8152336004820152602481018390526001600160a01b039091169063efdc442690604401600060405180830381600087803b158015610a0157600080fd5b505af1158015610a15573d6000803e3d6000fd5b50505050601060009054906101000a90046001600160a01b03166001600160a01b0316639ab4b5ad6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6757600080fd5b505afa158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f9190611d1b565b336000908152600e6020526040902055506001600955565b6008546001600160a01b03163314610ae15760405162461bcd60e51b815260040161056290611e36565b610971600a838361192b565b60006105cb8261149f565b600a8054610b0590611f61565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3190611f61565b8015610b7e5780601f10610b5357610100808354040283529160200191610b7e565b820191906000526020600020905b815481529060010190602001808311610b6157829003601f168201915b505050505081565b6008546001600160a01b03163314610bb05760405162461bcd60e51b815260040161056290611e36565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610bfb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610c4b5760405162461bcd60e51b815260040161056290611e36565b610c556000611500565b565b6008546001600160a01b03163314610c815760405162461bcd60e51b815260040161056290611e36565b600c55565b6060600380546105e090611f61565b6008546001600160a01b03163314610cbf5760405162461bcd60e51b815260040161056290611e36565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60026009541415610d045760405162461bcd60e51b815260040161056290611e6b565b6002600955806001811015610d515760405162461bcd60e51b815260206004820152601360248201527226b4b71036b4b73a1034b99018903a37b5b2b760691b6044820152606401610562565b610bb881610d626001546000540390565b610d6c9190611ed3565b1115610dba5760405162461bcd60e51b815260206004820181905260248201527f4d696e74696e67206d6f726520746f6b656e73207468616e20616c6c6f7765646044820152606401610562565b336000908152600d6020526040902054600390610dd8908390611ed3565b1115610e1c5760405162461bcd60e51b81526020600482015260136024820152724d6178207065722077616c6c6574206973203360681b6044820152606401610562565b600b5460ff16610e6e5760405162461bcd60e51b815260206004820152601c60248201527f546865206d696e7420686173206e6f74207374617274656420796574000000006044820152606401610562565b336000908152600d602052604081208054849290610e8d908490611ed3565b90915550610e9d90503383611481565b50506001600955565b6001600160a01b038216331415610ed05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c546040516bffffffffffffffffffffffff19606084901b166020820152600091610f839185919060340160405160208183030381529060405280519060200120611552565b9392505050565b610f958484846107c5565b6001600160a01b0383163b15610fce57610fb184848484611568565b610fce576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fdf8261145a565b6110435760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610562565b6000600a805461105290611f61565b90501161106e57604051806020016040528060008152506105cb565b611076611660565b61107f8361166f565b604051602001611090929190611da7565b60405160208183030381529060405292915050565b600260095414156110c85760405162461bcd60e51b815260040161056290611e6b565b60026009558160018110156111155760405162461bcd60e51b815260206004820152601360248201527226b4b71036b4b73a1034b99018903a37b5b2b760691b6044820152606401610562565b610bb8816111266001546000540390565b6111309190611ed3565b111561117e5760405162461bcd60e51b815260206004820181905260248201527f4d696e74696e67206d6f726520746f6b656e73207468616e20616c6c6f7765646044820152606401610562565b336000908152600d602052604090205460039061119c908390611ed3565b11156111e05760405162461bcd60e51b81526020600482015260136024820152724d6178207065722077616c6c6574206973203360681b6044820152606401610562565b600b54610100900460ff1680156111fa5750600b5460ff16155b6112465760405162461bcd60e51b815260206004820152601960248201527f57686974656c697374206d696e74206e6f7420616374697665000000000000006044820152606401610562565b6112508233610f3c565b61128e5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610562565b336000908152600d6020526040812080548592906112ad908490611ed3565b909155506112bd90503384611481565b5050600160095550565b6008546001600160a01b031633146112f15760405162461bcd60e51b815260040161056290611e36565b6001600160a01b0381166113565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610562565b61077b81611500565b600061136e6001546000540390565b1561144d576127106113836001546000540390565b61138c84610bd2565b61139890612710611eff565b6113a29190611eeb565b6001600160a01b038085166000908152600e6020908152604091829020546010548351639ab4b5ad60e01b8152935191941692639ab4b5ad926004808301939192829003018186803b1580156113f757600080fd5b505afa15801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f9190611d1b565b6114399190611f1e565b6114439190611eff565b6105cb9190611eeb565b506000919050565b919050565b60008054821080156105cb575050600090815260046020526040902054600160e01b161590565b61149b82826040518060200160405280600081525061176d565b5050565b6000816000548110156114e757600081815260046020526040902054600160e01b81166114e5575b80610f835750600019016000818152600460205260409020546114c7565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261155f85846117da565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061159d903390899088908890600401611de6565b602060405180830381600087803b1580156115b757600080fd5b505af19250505080156115e7575060408051601f3d908101601f191682019092526115e491810190611c8c565b60015b611642573d808015611615576040519150601f19603f3d011682016040523d82523d6000602084013e61161a565b606091505b50805161163a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a80546105e090611f61565b6060816116935750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116bd57806116a781611f9c565b91506116b69050600a83611eeb565b9150611697565b60008167ffffffffffffffff8111156116d8576116d861200d565b6040519080825280601f01601f191660200182016040528015611702576020820181803683370190505b5090505b841561165857611717600183611f1e565b9150611724600a86611fb7565b61172f906030611ed3565b60f81b81838151811061174457611744611ff7565b60200101906001600160f81b031916908160001a905350611766600a86611eeb565b9450611706565b611777838361184e565b6001600160a01b0383163b15610971576000548281035b6117a16000868380600101945086611568565b6117be576040516368d2bf6b60e11b815260040160405180910390fd5b81811061178e5781600054146117d357600080fd5b5050505050565b600081815b84518110156118465760008582815181106117fc576117fc611ff7565b602002602001015190508083116118225760008381526020829052604090209250611833565b600081815260208490526040902092505b508061183e81611f9c565b9150506117df565b509392505050565b6000546001600160a01b03831661187757604051622e076360e81b815260040160405180910390fd5b816118955760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106118df5760005550505050565b82805461193790611f61565b90600052602060002090601f016020900481019282611959576000855561199f565b82601f106119725782800160ff1982351617855561199f565b8280016001018555821561199f579182015b8281111561199f578235825591602001919060010190611984565b506119ab9291506119af565b5090565b5b808211156119ab57600081556001016119b0565b80356001600160a01b038116811461145557600080fd5b600082601f8301126119ec57600080fd5b8135602067ffffffffffffffff821115611a0857611a0861200d565b8160051b611a17828201611ea2565b838152828101908684018388018501891015611a3257600080fd5b600093505b85841015611a55578035835260019390930192918401918401611a37565b50979650505050505050565b600060208284031215611a7357600080fd5b610f83826119c4565b60008060408385031215611a8f57600080fd5b611a98836119c4565b9150611aa6602084016119c4565b90509250929050565b600080600060608486031215611ac457600080fd5b611acd846119c4565b9250611adb602085016119c4565b9150604084013590509250925092565b60008060008060808587031215611b0157600080fd5b611b0a856119c4565b93506020611b198187016119c4565b935060408601359250606086013567ffffffffffffffff80821115611b3d57600080fd5b818801915088601f830112611b5157600080fd5b813581811115611b6357611b6361200d565b611b75601f8201601f19168501611ea2565b91508082528984828501011115611b8b57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611bbe57600080fd5b611bc7836119c4565b915060208301358015158114611bdc57600080fd5b809150509250929050565b60008060408385031215611bfa57600080fd5b611c03836119c4565b946020939093013593505050565b60008060408385031215611c2457600080fd5b823567ffffffffffffffff811115611c3b57600080fd5b611c47858286016119db565b925050611aa6602084016119c4565b600060208284031215611c6857600080fd5b5035919050565b600060208284031215611c8157600080fd5b8135610f8381612023565b600060208284031215611c9e57600080fd5b8151610f8381612023565b60008060208385031215611cbc57600080fd5b823567ffffffffffffffff80821115611cd457600080fd5b818501915085601f830112611ce857600080fd5b813581811115611cf757600080fd5b866020828501011115611d0957600080fd5b60209290920196919550909350505050565b600060208284031215611d2d57600080fd5b5051919050565b60008060408385031215611d4757600080fd5b82359150602083013567ffffffffffffffff811115611d6557600080fd5b611d71858286016119db565b9150509250929050565b60008151808452611d93816020860160208601611f35565b601f01601f19169290920160200192915050565b60008351611db9818460208801611f35565b835190830190611dcd818360208801611f35565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e1990830184611d7b565b9695505050505050565b602081526000610f836020830184611d7b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611ecb57611ecb61200d565b604052919050565b60008219821115611ee657611ee6611fcb565b500190565b600082611efa57611efa611fe1565b500490565b6000816000190483118215151615611f1957611f19611fcb565b500290565b600082821015611f3057611f30611fcb565b500390565b60005b83811015611f50578181015183820152602001611f38565b83811115610fce5750506000910152565b600181811c90821680611f7557607f821691505b60208210811415611f9657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fb057611fb0611fcb565b5060010190565b600082611fc657611fc6611fe1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461077b57600080fdfea2646970667358221220fa928ea30e53aac787c3d2739b85726a59125dd59cb84666e5800e13ae8e915164736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000045f730931d93b08559885c4fb274db740388cd80000000000000000000000000d8e577c6f71edb1819368ff4b8c9b38b2bd8e54d00000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80636352211e1161013b5780639dd373b9116100b8578063c87b56dd1161007c578063c87b56dd146104b0578063d2cab056146104c3578063e985e9c5146104d6578063f2fde38b14610512578063fa29c55e1461052557600080fd5b80639dd373b914610451578063a0712d6814610464578063a22cb46514610477578063b365a3e21461048a578063b88d4fde1461049d57600080fd5b8063715018a6116100ff578063715018a61461040a5780637cb64759146104125780638da5cb5b1461042557806395d89b411461043657806397610f301461043e57600080fd5b80636352211e146103b75780636992d229146103ca5780636c0360eb146103dc5780636d1b9f63146103e457806370a08231146103f757600080fd5b80631b7cfa09116101c95780633ec4de351161018d5780633ec4de351461035c57806342842e0e1461037c5780634e71d92d1461038f57806353ac010a1461039757806355f804b3146103a457600080fd5b80631b7cfa091461031c5780631bb59fcb1461032f57806323b872dd146103375780632eb4a7ab1461034a57806332cb6b0c1461035357600080fd5b8063081812fc11610210578063081812fc146102b7578063095ea7b3146102e25780630f2cdd6c146102f55780631439e94a146102fd57806318160ddd1461031057600080fd5b806301401cb31461024257806301db66381461024c57806301ffc9a71461027f57806306fdde03146102a2575b600080fd5b61024a610538565b005b61026c61025a366004611a61565b600e6020526000908152604090205481565b6040519081526020015b60405180910390f35b61029261028d366004611c6f565b61057f565b6040519015158152602001610276565b6102aa6105d1565b6040516102769190611e23565b6102ca6102c5366004611c56565b610663565b6040516001600160a01b039091168152602001610276565b61024a6102f0366004611be7565b6106a7565b61026c600381565b600f546102ca906001600160a01b031681565b6001546000540361026c565b61024a61032a366004611c56565b610747565b61024a61077e565b61024a610345366004611aaf565b6107c5565b61026c600c5481565b61026c610bb881565b61026c61036a366004611a61565b600d6020526000908152604090205481565b61024a61038a366004611aaf565b610956565b61024a610976565b600b546102929060ff1681565b61024a6103b2366004611ca9565b610ab7565b6102ca6103c5366004611c56565b610aed565b600b5461029290610100900460ff1681565b6102aa610af8565b61024a6103f2366004611a61565b610b86565b61026c610405366004611a61565b610bd2565b61024a610c21565b61024a610420366004611c56565b610c57565b6008546001600160a01b03166102ca565b6102aa610c86565b6010546102ca906001600160a01b031681565b61024a61045f366004611a61565b610c95565b61024a610472366004611c56565b610ce1565b61024a610485366004611bab565b610ea6565b610292610498366004611c11565b610f3c565b61024a6104ab366004611aeb565b610f8a565b6102aa6104be366004611c56565b610fd4565b61024a6104d1366004611d34565b6110a5565b6102926104e4366004611a7c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61024a610520366004611a61565b6112c7565b61026c610533366004611a61565b61135f565b6008546001600160a01b0316331461056b5760405162461bcd60e51b815260040161056290611e36565b60405180910390fd5b600b805460ff19811660ff90911615179055565b60006301ffc9a760e01b6001600160e01b0319831614806105b057506380ac58cd60e01b6001600160e01b03198316145b806105cb5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105e090611f61565b80601f016020809104026020016040519081016040528092919081815260200182805461060c90611f61565b80156106595780601f1061062e57610100808354040283529160200191610659565b820191906000526020600020905b81548152906001019060200180831161063c57829003601f168201915b5050505050905090565b600061066e8261145a565b61068b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106b282610aed565b9050336001600160a01b038216146106eb576106ce81336104e4565b6106eb576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146107715760405162461bcd60e51b815260040161056290611e36565b61077b3382611481565b50565b6008546001600160a01b031633146107a85760405162461bcd60e51b815260040161056290611e36565b600b805461ff001981166101009182900460ff1615909102179055565b60006107d08261149f565b9050836001600160a01b0316816001600160a01b0316146108035760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108505761083386336104e4565b61085057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661087757604051633a954ecd60e21b815260040160405180910390fd5b801561088257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661090d576001840160008181526004602052604090205461090b57600054811461090b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61097183838360405180602001604052806000815250610f8a565b505050565b600260095414156109995760405162461bcd60e51b815260040161056290611e6b565b600260095560006109a93361135f565b9050806109b557600080fd5b600f546040516377ee221360e11b8152336004820152602481018390526001600160a01b039091169063efdc442690604401600060405180830381600087803b158015610a0157600080fd5b505af1158015610a15573d6000803e3d6000fd5b50505050601060009054906101000a90046001600160a01b03166001600160a01b0316639ab4b5ad6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6757600080fd5b505afa158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f9190611d1b565b336000908152600e6020526040902055506001600955565b6008546001600160a01b03163314610ae15760405162461bcd60e51b815260040161056290611e36565b610971600a838361192b565b60006105cb8261149f565b600a8054610b0590611f61565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3190611f61565b8015610b7e5780601f10610b5357610100808354040283529160200191610b7e565b820191906000526020600020905b815481529060010190602001808311610b6157829003601f168201915b505050505081565b6008546001600160a01b03163314610bb05760405162461bcd60e51b815260040161056290611e36565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610bfb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610c4b5760405162461bcd60e51b815260040161056290611e36565b610c556000611500565b565b6008546001600160a01b03163314610c815760405162461bcd60e51b815260040161056290611e36565b600c55565b6060600380546105e090611f61565b6008546001600160a01b03163314610cbf5760405162461bcd60e51b815260040161056290611e36565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60026009541415610d045760405162461bcd60e51b815260040161056290611e6b565b6002600955806001811015610d515760405162461bcd60e51b815260206004820152601360248201527226b4b71036b4b73a1034b99018903a37b5b2b760691b6044820152606401610562565b610bb881610d626001546000540390565b610d6c9190611ed3565b1115610dba5760405162461bcd60e51b815260206004820181905260248201527f4d696e74696e67206d6f726520746f6b656e73207468616e20616c6c6f7765646044820152606401610562565b336000908152600d6020526040902054600390610dd8908390611ed3565b1115610e1c5760405162461bcd60e51b81526020600482015260136024820152724d6178207065722077616c6c6574206973203360681b6044820152606401610562565b600b5460ff16610e6e5760405162461bcd60e51b815260206004820152601c60248201527f546865206d696e7420686173206e6f74207374617274656420796574000000006044820152606401610562565b336000908152600d602052604081208054849290610e8d908490611ed3565b90915550610e9d90503383611481565b50506001600955565b6001600160a01b038216331415610ed05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c546040516bffffffffffffffffffffffff19606084901b166020820152600091610f839185919060340160405160208183030381529060405280519060200120611552565b9392505050565b610f958484846107c5565b6001600160a01b0383163b15610fce57610fb184848484611568565b610fce576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fdf8261145a565b6110435760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610562565b6000600a805461105290611f61565b90501161106e57604051806020016040528060008152506105cb565b611076611660565b61107f8361166f565b604051602001611090929190611da7565b60405160208183030381529060405292915050565b600260095414156110c85760405162461bcd60e51b815260040161056290611e6b565b60026009558160018110156111155760405162461bcd60e51b815260206004820152601360248201527226b4b71036b4b73a1034b99018903a37b5b2b760691b6044820152606401610562565b610bb8816111266001546000540390565b6111309190611ed3565b111561117e5760405162461bcd60e51b815260206004820181905260248201527f4d696e74696e67206d6f726520746f6b656e73207468616e20616c6c6f7765646044820152606401610562565b336000908152600d602052604090205460039061119c908390611ed3565b11156111e05760405162461bcd60e51b81526020600482015260136024820152724d6178207065722077616c6c6574206973203360681b6044820152606401610562565b600b54610100900460ff1680156111fa5750600b5460ff16155b6112465760405162461bcd60e51b815260206004820152601960248201527f57686974656c697374206d696e74206e6f7420616374697665000000000000006044820152606401610562565b6112508233610f3c565b61128e5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610562565b336000908152600d6020526040812080548592906112ad908490611ed3565b909155506112bd90503384611481565b5050600160095550565b6008546001600160a01b031633146112f15760405162461bcd60e51b815260040161056290611e36565b6001600160a01b0381166113565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610562565b61077b81611500565b600061136e6001546000540390565b1561144d576127106113836001546000540390565b61138c84610bd2565b61139890612710611eff565b6113a29190611eeb565b6001600160a01b038085166000908152600e6020908152604091829020546010548351639ab4b5ad60e01b8152935191941692639ab4b5ad926004808301939192829003018186803b1580156113f757600080fd5b505afa15801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f9190611d1b565b6114399190611f1e565b6114439190611eff565b6105cb9190611eeb565b506000919050565b919050565b60008054821080156105cb575050600090815260046020526040902054600160e01b161590565b61149b82826040518060200160405280600081525061176d565b5050565b6000816000548110156114e757600081815260046020526040902054600160e01b81166114e5575b80610f835750600019016000818152600460205260409020546114c7565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261155f85846117da565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061159d903390899088908890600401611de6565b602060405180830381600087803b1580156115b757600080fd5b505af19250505080156115e7575060408051601f3d908101601f191682019092526115e491810190611c8c565b60015b611642573d808015611615576040519150601f19603f3d011682016040523d82523d6000602084013e61161a565b606091505b50805161163a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a80546105e090611f61565b6060816116935750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116bd57806116a781611f9c565b91506116b69050600a83611eeb565b9150611697565b60008167ffffffffffffffff8111156116d8576116d861200d565b6040519080825280601f01601f191660200182016040528015611702576020820181803683370190505b5090505b841561165857611717600183611f1e565b9150611724600a86611fb7565b61172f906030611ed3565b60f81b81838151811061174457611744611ff7565b60200101906001600160f81b031916908160001a905350611766600a86611eeb565b9450611706565b611777838361184e565b6001600160a01b0383163b15610971576000548281035b6117a16000868380600101945086611568565b6117be576040516368d2bf6b60e11b815260040160405180910390fd5b81811061178e5781600054146117d357600080fd5b5050505050565b600081815b84518110156118465760008582815181106117fc576117fc611ff7565b602002602001015190508083116118225760008381526020829052604090209250611833565b600081815260208490526040902092505b508061183e81611f9c565b9150506117df565b509392505050565b6000546001600160a01b03831661187757604051622e076360e81b815260040160405180910390fd5b816118955760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106118df5760005550505050565b82805461193790611f61565b90600052602060002090601f016020900481019282611959576000855561199f565b82601f106119725782800160ff1982351617855561199f565b8280016001018555821561199f579182015b8281111561199f578235825591602001919060010190611984565b506119ab9291506119af565b5090565b5b808211156119ab57600081556001016119b0565b80356001600160a01b038116811461145557600080fd5b600082601f8301126119ec57600080fd5b8135602067ffffffffffffffff821115611a0857611a0861200d565b8160051b611a17828201611ea2565b838152828101908684018388018501891015611a3257600080fd5b600093505b85841015611a55578035835260019390930192918401918401611a37565b50979650505050505050565b600060208284031215611a7357600080fd5b610f83826119c4565b60008060408385031215611a8f57600080fd5b611a98836119c4565b9150611aa6602084016119c4565b90509250929050565b600080600060608486031215611ac457600080fd5b611acd846119c4565b9250611adb602085016119c4565b9150604084013590509250925092565b60008060008060808587031215611b0157600080fd5b611b0a856119c4565b93506020611b198187016119c4565b935060408601359250606086013567ffffffffffffffff80821115611b3d57600080fd5b818801915088601f830112611b5157600080fd5b813581811115611b6357611b6361200d565b611b75601f8201601f19168501611ea2565b91508082528984828501011115611b8b57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611bbe57600080fd5b611bc7836119c4565b915060208301358015158114611bdc57600080fd5b809150509250929050565b60008060408385031215611bfa57600080fd5b611c03836119c4565b946020939093013593505050565b60008060408385031215611c2457600080fd5b823567ffffffffffffffff811115611c3b57600080fd5b611c47858286016119db565b925050611aa6602084016119c4565b600060208284031215611c6857600080fd5b5035919050565b600060208284031215611c8157600080fd5b8135610f8381612023565b600060208284031215611c9e57600080fd5b8151610f8381612023565b60008060208385031215611cbc57600080fd5b823567ffffffffffffffff80821115611cd457600080fd5b818501915085601f830112611ce857600080fd5b813581811115611cf757600080fd5b866020828501011115611d0957600080fd5b60209290920196919550909350505050565b600060208284031215611d2d57600080fd5b5051919050565b60008060408385031215611d4757600080fd5b82359150602083013567ffffffffffffffff811115611d6557600080fd5b611d71858286016119db565b9150509250929050565b60008151808452611d93816020860160208601611f35565b601f01601f19169290920160200192915050565b60008351611db9818460208801611f35565b835190830190611dcd818360208801611f35565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e1990830184611d7b565b9695505050505050565b602081526000610f836020830184611d7b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611ecb57611ecb61200d565b604052919050565b60008219821115611ee657611ee6611fcb565b500190565b600082611efa57611efa611fe1565b500490565b6000816000190483118215151615611f1957611f19611fcb565b500290565b600082821015611f3057611f30611fcb565b500390565b60005b83811015611f50578181015183820152602001611f38565b83811115610fce5750506000910152565b600181811c90821680611f7557607f821691505b60208210811415611f9657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fb057611fb0611fcb565b5060010190565b600082611fc657611fc6611fe1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461077b57600080fdfea2646970667358221220fa928ea30e53aac787c3d2739b85726a59125dd59cb84666e5800e13ae8e915164736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000045f730931d93b08559885c4fb274db740388cd80000000000000000000000000d8e577c6f71edb1819368ff4b8c9b38b2bd8e54d00000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs
Arg [1] : _buds (address): 0x45f730931D93B08559885c4fB274Db740388cd80
Arg [2] : _staking (address): 0xd8e577c6f71EDB1819368ff4b8C9B38B2BD8e54D

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000045f730931d93b08559885c4fb274db740388cd80
Arg [2] : 000000000000000000000000d8e577c6f71edb1819368ff4b8c9b38b2bd8e54d
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 6970667300000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

55975:3682:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58665:96;;;:::i;:::-;;56363:43;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;8269:25:1;;;8257:2;8242:18;56363:43:0;;;;;;;;19475:615;;;;;;:::i;:::-;;:::i;:::-;;;8096:14:1;;8089:22;8071:41;;8059:2;8044:18;19475:615:0;7931:187:1;25122:100:0;;;:::i;:::-;;;;;;;:::i;27068:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7115:32:1;;;7097:51;;7085:2;7070:18;27068:204:0;6951:203:1;26616:386:0;;;;;;:::i;:::-;;:::i;56106:42::-;;56147:1;56106:42;;56413:17;;;;;-1:-1:-1;;;;;56413:17:0;;;18529:315;18795:12;;18582:7;18779:13;:28;18529:315;;58542:111;;;;;;:::i;:::-;;:::i;58767:105::-;;;:::i;36333:2800::-;;;;;;:::i;:::-;;:::i;56272:25::-;;;;;;56155:41;;56192:4;56155:41;;56306:50;;;;;;:::i;:::-;;;;;;;;;;;;;;27958:185;;;;;;:::i;:::-;;:::i;59426:222::-;;;:::i;56203:25::-;;;;;;;;;58325:108;;;;;;:::i;:::-;;:::i;24911:144::-;;;;;;:::i;:::-;;:::i;56235:28::-;;;;;;;;;;;;56078:21;;;:::i;59000:105::-;;;;;;:::i;:::-;;:::i;20154:224::-;;;;;;:::i;:::-;;:::i;52213:103::-;;;:::i;58441:93::-;;;;;;:::i;:::-;;:::i;51562:87::-;51635:6;;-1:-1:-1;;;;;51635:6:0;51562:87;;25291:104;;;:::i;56437:23::-;;;;;-1:-1:-1;;;;;56437:23:0;;;58880:114;;;;;;:::i;:::-;;:::i;57048:259::-;;;;;;:::i;:::-;;:::i;27344:308::-;;;;;;:::i;:::-;;:::i;57701:184::-;;;;;;:::i;:::-;;:::i;28214:399::-;;;;;;:::i;:::-;;:::i;58002:315::-;;;;;;:::i;:::-;;:::i;57315:372::-;;;;;;:::i;:::-;;:::i;27723:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;27844:25:0;;;27820:4;27844:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27723:164;52471:201;;;;;;:::i;:::-;;:::i;59130:288::-;;;;;;:::i;:::-;;:::i;58665:96::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;;;;;;;;;58740:13:::1;::::0;;-1:-1:-1;;58723:30:0;::::1;58740:13;::::0;;::::1;58739:14;58723:30;::::0;;58665:96::o;19475:615::-;19560:4;-1:-1:-1;;;;;;;;;19860:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19937:25:0;;;19860:102;:179;;;-1:-1:-1;;;;;;;;;;20014:25:0;;;19860:179;19840:199;19475:615;-1:-1:-1;;19475:615:0:o;25122:100::-;25176:13;25209:5;25202:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25122:100;:::o;27068:204::-;27136:7;27161:16;27169:7;27161;:16::i;:::-;27156:64;;27186:34;;-1:-1:-1;;;27186:34:0;;;;;;;;;;;27156:64;-1:-1:-1;27240:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27240:24:0;;27068:204::o;26616:386::-;26689:13;26705:16;26713:7;26705;:16::i;:::-;26689:32;-1:-1:-1;50366:10:0;-1:-1:-1;;;;;26738:28:0;;;26734:175;;26786:44;26803:5;50366:10;27723:164;:::i;26786:44::-;26781:128;;26858:35;;-1:-1:-1;;;26858:35:0;;;;;;;;;;;26781:128;26921:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;26921:29:0;-1:-1:-1;;;;;26921:29:0;;;;;;;;;26966:28;;26921:24;;26966:28;;;;;;;26678:324;26616:386;;:::o;58542:111::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;58610:35:::1;58620:10;58632:12;58610:9;:35::i;:::-;58542:111:::0;:::o;58767:105::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;58848:16:::1;::::0;;-1:-1:-1;;58828:36:0;::::1;58848:16;::::0;;;::::1;;;58847:17;58828:36:::0;;::::1;;::::0;;58767:105::o;36333:2800::-;36467:27;36497;36516:7;36497:18;:27::i;:::-;36467:57;;36582:4;-1:-1:-1;;;;;36541:45:0;36557:19;-1:-1:-1;;;;;36541:45:0;;36537:86;;36595:28;;-1:-1:-1;;;36595:28:0;;;;;;;;;;;36537:86;36637:27;35063:21;;;34890:15;35105:4;35098:36;35187:4;35171:21;;35277:26;;50366:10;36030:30;;;-1:-1:-1;;;;;35728:26:0;;36009:19;;;36006:55;36816:174;;36903:43;36920:4;50366:10;27723:164;:::i;36903:43::-;36898:92;;36955:35;;-1:-1:-1;;;36955:35:0;;;;;;;;;;;36898:92;-1:-1:-1;;;;;37007:16:0;;37003:52;;37032:23;;-1:-1:-1;;;37032:23:0;;;;;;;;;;;37003:52;37204:15;37201:160;;;37344:1;37323:19;37316:30;37201:160;-1:-1:-1;;;;;37739:24:0;;;;;;;:18;:24;;;;;;37737:26;;-1:-1:-1;;37737:26:0;;;37808:22;;;;;;;;;37806:24;;-1:-1:-1;37806:24:0;;;24810:11;24786:22;24782:40;24769:62;-1:-1:-1;;;24769:62:0;38101:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;38395:46:0;;38391:626;;38499:1;38489:11;;38467:19;38622:30;;;:17;:30;;;;;;38618:384;;38760:13;;38745:11;:28;38741:242;;38907:30;;;;:17;:30;;;;;:52;;;38741:242;38448:569;38391:626;39064:7;39060:2;-1:-1:-1;;;;;39045:27:0;39054:4;-1:-1:-1;;;;;39045:27:0;;;;;;;;;;;36456:2677;;;36333:2800;;;:::o;27958:185::-;28096:39;28113:4;28119:2;28123:7;28096:39;;;;;;;;;;;;:16;:39::i;:::-;27958:185;;;:::o;59426:222::-;3936:1;4534:7;;:19;;4526:63;;;;-1:-1:-1;;;4526:63:0;;;;;;;:::i;:::-;3936:1;4667:7;:18;59474:11:::1;59486:21;59496:10;59486:9;:21::i;:::-;59474:33:::0;-1:-1:-1;59526:11:0;59518:20:::1;;;::::0;::::1;;59549:4;::::0;:38:::1;::::0;-1:-1:-1;;;59549:38:0;;59569:10:::1;59549:38;::::0;::::1;7826:51:1::0;7893:18;;;7886:34;;;-1:-1:-1;;;;;59549:4:0;;::::1;::::0;:19:::1;::::0;7799:18:1;;59549:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59618:7;;;;;;;;;-1:-1:-1::0;;;;;59618:7:0::1;-1:-1:-1::0;;;;;59618:20:0::1;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59606:10;59598:19;::::0;;;:7:::1;:19;::::0;;;;:42;-1:-1:-1;3892:1:0;4846:7;:22;59426:222::o;58325:108::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;58404:21:::1;:7;58414:11:::0;;58404:21:::1;:::i;24911:144::-:0;24975:7;25018:27;25037:7;25018:18;:27::i;56078:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59000:105::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;59068:4:::1;:21:::0;;-1:-1:-1;;;;;;59068:21:0::1;-1:-1:-1::0;;;;;59068:21:0;;;::::1;::::0;;;::::1;::::0;;59000:105::o;20154:224::-;20218:7;-1:-1:-1;;;;;20242:19:0;;20238:60;;20270:28;;-1:-1:-1;;;20270:28:0;;;;;;;;;;;20238:60;-1:-1:-1;;;;;;20316:25:0;;;;;:18;:25;;;;;;14709:13;20316:54;;20154:224::o;52213:103::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;52278:30:::1;52305:1;52278:18;:30::i;:::-;52213:103::o:0;58441:93::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;58509:10:::1;:17:::0;58441:93::o;25291:104::-;25347:13;25380:7;25373:14;;;;;:::i;58880:114::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;58951:7:::1;:27:::0;;-1:-1:-1;;;;;;58951:27:0::1;-1:-1:-1::0;;;;;58951:27:0;;;::::1;::::0;;;::::1;::::0;;58880:114::o;57048:259::-;3936:1;4534:7;;:19;;4526:63;;;;-1:-1:-1;;;4526:63:0;;;;;;;:::i;:::-;3936:1;4667:7;:18;57120:12;56792:1:::1;56776:17:::0;::::1;;56768:49;;;::::0;-1:-1:-1;;;56768:49:0;;10644:2:1;56768:49:0::1;::::0;::::1;10626:21:1::0;10683:2;10663:18;;;10656:30;-1:-1:-1;;;10702:18:1;;;10695:49;10761:18;;56768:49:0::1;10442:343:1::0;56768:49:0::1;56192:4;56852:12;56836:13;18795:12:::0;;18582:7;18779:13;:28;;18529:315;56836:13:::1;:28;;;;:::i;:::-;:42;;56828:87;;;::::0;-1:-1:-1;;;56828:87:0;;10283:2:1;56828:87:0::1;::::0;::::1;10265:21:1::0;;;10302:18;;;10295:30;10361:34;10341:18;;;10334:62;10413:18;;56828:87:0::1;10081:356:1::0;56828:87:0::1;56949:10;56934:26;::::0;;;:14:::1;:26;::::0;;;;;56147:1:::1;::::0;56934:41:::1;::::0;56963:12;;56934:41:::1;:::i;:::-;:59;;56926:90;;;::::0;-1:-1:-1;;;56926:90:0;;12486:2:1;56926:90:0::1;::::0;::::1;12468:21:1::0;12525:2;12505:18;;;12498:30;-1:-1:-1;;;12544:18:1;;;12537:49;12603:18;;56926:90:0::1;12284:343:1::0;56926:90:0::1;57154:13:::2;::::0;::::2;;57146:54;;;::::0;-1:-1:-1;;;57146:54:0;;12129:2:1;57146:54:0::2;::::0;::::2;12111:21:1::0;12168:2;12148:18;;;12141:30;12207;12187:18;;;12180:58;12255:18;;57146:54:0::2;11927:352:1::0;57146:54:0::2;57226:10;57211:26;::::0;;;:14:::2;:26;::::0;;;;:42;;57241:12;;57211:26;:42:::2;::::0;57241:12;;57211:42:::2;:::i;:::-;::::0;;;-1:-1:-1;57264:35:0::2;::::0;-1:-1:-1;57274:10:0::2;57286:12:::0;57264:9:::2;:35::i;:::-;-1:-1:-1::0;;3892:1:0;4846:7;:22;57048:259::o;27344:308::-;-1:-1:-1;;;;;27443:31:0;;50366:10;27443:31;27439:61;;;27483:17;;-1:-1:-1;;;27483:17:0;;;;;;;;;;;27439:61;50366:10;27513:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;27513:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;27513:60:0;;;;;;;;;;27589:55;;8071:41:1;;;27513:49:0;;50366:10;27589:55;;8044:18:1;27589:55:0;;;;;;;27344:308;;:::o;57701:184::-;57829:10;;57851:24;;-1:-1:-1;;6224:2:1;6220:15;;;6216:53;57851:24:0;;;6204:66:1;57779:4:0;;57803:74;;57822:5;;57829:10;6286:12:1;;57851:24:0;;;;;;;;;;;;57841:35;;;;;;57803:18;:74::i;:::-;57796:81;57701:184;-1:-1:-1;;;57701:184:0:o;28214:399::-;28381:31;28394:4;28400:2;28404:7;28381:12;:31::i;:::-;-1:-1:-1;;;;;28427:14:0;;;:19;28423:183;;28466:56;28497:4;28503:2;28507:7;28516:5;28466:30;:56::i;:::-;28461:145;;28550:40;;-1:-1:-1;;;28550:40:0;;;;;;;;;;;28461:145;28214:399;;;;:::o;58002:315::-;58075:13;58105:16;58113:7;58105;:16::i;:::-;58097:75;;;;-1:-1:-1;;;58097:75:0;;11353:2:1;58097:75:0;;;11335:21:1;11392:2;11372:18;;;11365:30;11431:34;11411:18;;;11404:62;-1:-1:-1;;;11482:18:1;;;11475:45;11537:19;;58097:75:0;11151:411:1;58097:75:0;58217:1;58199:7;58193:21;;;;;:::i;:::-;;;:25;:116;;;;;;;;;;;;;;;;;58254:10;:8;:10::i;:::-;58266:18;:7;:16;:18::i;:::-;58237:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58179:130;58002:315;-1:-1:-1;;58002:315:0:o;57315:372::-;3936:1;4534:7;;:19;;4526:63;;;;-1:-1:-1;;;4526:63:0;;;;;;;:::i;:::-;3936:1;4667:7;:18;57419:12;56792:1:::1;56776:17:::0;::::1;;56768:49;;;::::0;-1:-1:-1;;;56768:49:0;;10644:2:1;56768:49:0::1;::::0;::::1;10626:21:1::0;10683:2;10663:18;;;10656:30;-1:-1:-1;;;10702:18:1;;;10695:49;10761:18;;56768:49:0::1;10442:343:1::0;56768:49:0::1;56192:4;56852:12;56836:13;18795:12:::0;;18582:7;18779:13;:28;;18529:315;56836:13:::1;:28;;;;:::i;:::-;:42;;56828:87;;;::::0;-1:-1:-1;;;56828:87:0;;10283:2:1;56828:87:0::1;::::0;::::1;10265:21:1::0;;;10302:18;;;10295:30;10361:34;10341:18;;;10334:62;10413:18;;56828:87:0::1;10081:356:1::0;56828:87:0::1;56949:10;56934:26;::::0;;;:14:::1;:26;::::0;;;;;56147:1:::1;::::0;56934:41:::1;::::0;56963:12;;56934:41:::1;:::i;:::-;:59;;56926:90;;;::::0;-1:-1:-1;;;56926:90:0;;12486:2:1;56926:90:0::1;::::0;::::1;12468:21:1::0;12525:2;12505:18;;;12498:30;-1:-1:-1;;;12544:18:1;;;12537:49;12603:18;;56926:90:0::1;12284:343:1::0;56926:90:0::1;57452:16:::2;::::0;::::2;::::0;::::2;;;:34:::0;::::2;;;-1:-1:-1::0;57473:13:0::2;::::0;::::2;;57472:14;57452:34;57444:71;;;::::0;-1:-1:-1;;;57444:71:0;;9585:2:1;57444:71:0::2;::::0;::::2;9567:21:1::0;9624:2;9604:18;;;9597:30;9663:27;9643:18;;;9636:55;9708:18;;57444:71:0::2;9383:349:1::0;57444:71:0::2;57534:26;57542:5;57549:10;57534:7;:26::i;:::-;57526:54;;;::::0;-1:-1:-1;;;57526:54:0;;9939:2:1;57526:54:0::2;::::0;::::2;9921:21:1::0;9978:2;9958:18;;;9951:30;-1:-1:-1;;;9997:18:1;;;9990:45;10052:18;;57526:54:0::2;9737:339:1::0;57526:54:0::2;57606:10;57591:26;::::0;;;:14:::2;:26;::::0;;;;:42;;57621:12;;57591:26;:42:::2;::::0;57621:12;;57591:42:::2;:::i;:::-;::::0;;;-1:-1:-1;57644:35:0::2;::::0;-1:-1:-1;57654:10:0::2;57666:12:::0;57644:9:::2;:35::i;:::-;-1:-1:-1::0;;3892:1:0;4846:7;:22;-1:-1:-1;57315:372:0:o;52471:201::-;51635:6;;-1:-1:-1;;;;;51635:6:0;50366:10;51782:23;51774:68;;;;-1:-1:-1;;;51774:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;52560:22:0;::::1;52552:73;;;::::0;-1:-1:-1;;;52552:73:0;;9178:2:1;52552:73:0::1;::::0;::::1;9160:21:1::0;9217:2;9197:18;;;9190:30;9256:34;9236:18;;;9229:62;-1:-1:-1;;;9307:18:1;;;9300:36;9353:19;;52552:73:0::1;8976:402:1::0;52552:73:0::1;52636:28;52655:8;52636:18;:28::i;59130:288::-:0;59185:17;59218:13;18795:12;;18582:7;18779:13;:28;;18529:315;59218:13;:17;59215:196;;59346:5;59330:13;18795:12;;18582:7;18779:13;:28;;18529:315;59330:13;59301:17;59311:6;59301:9;:17::i;:::-;:25;;59321:5;59301:25;:::i;:::-;59300:43;;;;:::i;:::-;-1:-1:-1;;;;;59282:15:0;;;;;;;:7;:15;;;;;;;;;;59258:7;;:22;;-1:-1:-1;;;59258:22:0;;;;59282:15;;59258:7;;:20;;:22;;;;;59282:15;;59258:22;;;;;:7;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:39;;;;:::i;:::-;59257:87;;;;:::i;:::-;:94;;;;:::i;59215:196::-;-1:-1:-1;59398:1:0;;59130:288;-1:-1:-1;59130:288:0:o;59215:196::-;59130:288;;;:::o;28868:273::-;28925:4;29015:13;;29005:7;:23;28962:152;;;;-1:-1:-1;;29066:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29066:43:0;:48;;28868:273::o;29225:104::-;29294:27;29304:2;29308:8;29294:27;;;;;;;;;;;;:9;:27::i;:::-;29225:104;;:::o;21828:1129::-;21895:7;21930;22032:13;;22025:4;:20;22021:869;;;22070:14;22087:23;;;:17;:23;;;;;;-1:-1:-1;;;22176:23:0;;22172:699;;22695:113;22702:11;22695:113;;-1:-1:-1;;;22773:6:0;22755:25;;;;:17;:25;;;;;;22695:113;;22172:699;22047:843;22021:869;22918:31;;-1:-1:-1;;;22918:31:0;;;;;;;;;;;52832:191;52925:6;;;-1:-1:-1;;;;;52942:17:0;;;-1:-1:-1;;;;;;52942:17:0;;;;;;;52975:40;;52925:6;;;52942:17;52925:6;;52975:40;;52906:16;;52975:40;52895:128;52832:191;:::o;54248:190::-;54373:4;54426;54397:25;54410:5;54417:4;54397:12;:25::i;:::-;:33;;54248:190;-1:-1:-1;;;;54248:190:0:o;43084:716::-;43268:88;;-1:-1:-1;;;43268:88:0;;43247:4;;-1:-1:-1;;;;;43268:45:0;;;;;:88;;50366:10;;43335:4;;43341:7;;43350:5;;43268:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43268:88:0;;;;;;;;-1:-1:-1;;43268:88:0;;;;;;;;;;;;:::i;:::-;;;43264:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43551:13:0;;43547:235;;43597:40;;-1:-1:-1;;;43597:40:0;;;;;;;;;;;43547:235;43740:6;43734:13;43725:6;43721:2;43717:15;43710:38;43264:529;-1:-1:-1;;;;;;43427:64:0;-1:-1:-1;;;43427:64:0;;-1:-1:-1;43264:529:0;43084:716;;;;;;:::o;57894:100::-;57946:13;57979:7;57972:14;;;;;:::i;365:723::-;421:13;642:10;638:53;;-1:-1:-1;;669:10:0;;;;;;;;;;;;-1:-1:-1;;;669:10:0;;;;;365:723::o;638:53::-;716:5;701:12;757:78;764:9;;757:78;;790:8;;;;:::i;:::-;;-1:-1:-1;813:10:0;;-1:-1:-1;821:2:0;813:10;;:::i;:::-;;;757:78;;;845:19;877:6;867:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;867:17:0;;845:39;;895:154;902:10;;895:154;;929:11;939:1;929:11;;:::i;:::-;;-1:-1:-1;998:10:0;1006:2;998:5;:10;:::i;:::-;985:24;;:2;:24;:::i;:::-;972:39;;955:6;962;955:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;955:56:0;;;;;;;;-1:-1:-1;1026:11:0;1035:2;1026:11;;:::i;:::-;;;895:154;;29745:681;29868:19;29874:2;29878:8;29868:5;:19::i;:::-;-1:-1:-1;;;;;29929:14:0;;;:19;29925:483;;29969:11;29983:13;30031:14;;;30064:233;30095:62;30134:1;30138:2;30142:7;;;;;;30151:5;30095:30;:62::i;:::-;30090:167;;30193:40;;-1:-1:-1;;;30193:40:0;;;;;;;;;;;30090:167;30292:3;30284:5;:11;30064:233;;30379:3;30362:13;;:20;30358:34;;30384:8;;;30358:34;29950:458;;29745:681;;;:::o;54799:675::-;54882:7;54925:4;54882:7;54940:497;54964:5;:12;54960:1;:16;54940:497;;;54998:20;55021:5;55027:1;55021:8;;;;;;;;:::i;:::-;;;;;;;54998:31;;55064:12;55048;:28;55044:382;;55550:13;55600:15;;;55636:4;55629:15;;;55683:4;55667:21;;55176:57;;55044:382;;;55550:13;55600:15;;;55636:4;55629:15;;;55683:4;55667:21;;55353:57;;55044:382;-1:-1:-1;54978:3:0;;;;:::i;:::-;;;;54940:497;;;-1:-1:-1;55454:12:0;54799:675;-1:-1:-1;;;54799:675:0:o;30699:1529::-;30764:20;30787:13;-1:-1:-1;;;;;30815:16:0;;30811:48;;30840:19;;-1:-1:-1;;;30840:19:0;;;;;;;;;;;30811:48;30874:13;30870:44;;30896:18;;-1:-1:-1;;;30896:18:0;;;;;;;;;;;30870:44;-1:-1:-1;;;;;31402:22:0;;;;;;:18;:22;;14846:2;31402:22;;:70;;31440:31;31428:44;;31402:70;;;24810:11;24786:22;24782:40;-1:-1:-1;26520:15:0;;26495:23;26491:45;24779:51;24769:62;31715:31;;;;:17;:31;;;;;:173;31733:12;31964:23;;;32002:101;32029:35;;32054:9;;;;;-1:-1:-1;;;;;32029:35:0;;;32046:1;;32029:35;;32046:1;;32029:35;32098:3;32088:7;:13;32002:101;;32119:13;:19;-1:-1:-1;27958:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:723;246:5;299:3;292:4;284:6;280:17;276:27;266:55;;317:1;314;307:12;266:55;353:6;340:20;379:4;402:18;398:2;395:26;392:52;;;424:18;;:::i;:::-;470:2;467:1;463:10;493:28;517:2;513;509:11;493:28;:::i;:::-;555:15;;;586:12;;;;618:15;;;652;;;648:24;;645:33;-1:-1:-1;642:53:1;;;691:1;688;681:12;642:53;713:1;704:10;;723:163;737:2;734:1;731:9;723:163;;;794:17;;782:30;;755:1;748:9;;;;;832:12;;;;864;;723:163;;;-1:-1:-1;904:5:1;192:723;-1:-1:-1;;;;;;;192:723:1:o;920:186::-;979:6;1032:2;1020:9;1011:7;1007:23;1003:32;1000:52;;;1048:1;1045;1038:12;1000:52;1071:29;1090:9;1071:29;:::i;1111:260::-;1179:6;1187;1240:2;1228:9;1219:7;1215:23;1211:32;1208:52;;;1256:1;1253;1246:12;1208:52;1279:29;1298:9;1279:29;:::i;:::-;1269:39;;1327:38;1361:2;1350:9;1346:18;1327:38;:::i;:::-;1317:48;;1111:260;;;;;:::o;1376:328::-;1453:6;1461;1469;1522:2;1510:9;1501:7;1497:23;1493:32;1490:52;;;1538:1;1535;1528:12;1490:52;1561:29;1580:9;1561:29;:::i;:::-;1551:39;;1609:38;1643:2;1632:9;1628:18;1609:38;:::i;:::-;1599:48;;1694:2;1683:9;1679:18;1666:32;1656:42;;1376:328;;;;;:::o;1709:980::-;1804:6;1812;1820;1828;1881:3;1869:9;1860:7;1856:23;1852:33;1849:53;;;1898:1;1895;1888:12;1849:53;1921:29;1940:9;1921:29;:::i;:::-;1911:39;;1969:2;1990:38;2024:2;2013:9;2009:18;1990:38;:::i;:::-;1980:48;;2075:2;2064:9;2060:18;2047:32;2037:42;;2130:2;2119:9;2115:18;2102:32;2153:18;2194:2;2186:6;2183:14;2180:34;;;2210:1;2207;2200:12;2180:34;2248:6;2237:9;2233:22;2223:32;;2293:7;2286:4;2282:2;2278:13;2274:27;2264:55;;2315:1;2312;2305:12;2264:55;2351:2;2338:16;2373:2;2369;2366:10;2363:36;;;2379:18;;:::i;:::-;2421:53;2464:2;2445:13;;-1:-1:-1;;2441:27:1;2437:36;;2421:53;:::i;:::-;2408:66;;2497:2;2490:5;2483:17;2537:7;2532:2;2527;2523;2519:11;2515:20;2512:33;2509:53;;;2558:1;2555;2548:12;2509:53;2613:2;2608;2604;2600:11;2595:2;2588:5;2584:14;2571:45;2657:1;2652:2;2647;2640:5;2636:14;2632:23;2625:34;;2678:5;2668:15;;;;;1709:980;;;;;;;:::o;2694:347::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2859:29;2878:9;2859:29;:::i;:::-;2849:39;;2938:2;2927:9;2923:18;2910:32;2985:5;2978:13;2971:21;2964:5;2961:32;2951:60;;3007:1;3004;2997:12;2951:60;3030:5;3020:15;;;2694:347;;;;;:::o;3046:254::-;3114:6;3122;3175:2;3163:9;3154:7;3150:23;3146:32;3143:52;;;3191:1;3188;3181:12;3143:52;3214:29;3233:9;3214:29;:::i;:::-;3204:39;3290:2;3275:18;;;;3262:32;;-1:-1:-1;;;3046:254:1:o;3305:422::-;3398:6;3406;3459:2;3447:9;3438:7;3434:23;3430:32;3427:52;;;3475:1;3472;3465:12;3427:52;3515:9;3502:23;3548:18;3540:6;3537:30;3534:50;;;3580:1;3577;3570:12;3534:50;3603:61;3656:7;3647:6;3636:9;3632:22;3603:61;:::i;:::-;3593:71;;;3683:38;3717:2;3706:9;3702:18;3683:38;:::i;3732:180::-;3791:6;3844:2;3832:9;3823:7;3819:23;3815:32;3812:52;;;3860:1;3857;3850:12;3812:52;-1:-1:-1;3883:23:1;;3732:180;-1:-1:-1;3732:180:1:o;3917:245::-;3975:6;4028:2;4016:9;4007:7;4003:23;3999:32;3996:52;;;4044:1;4041;4034:12;3996:52;4083:9;4070:23;4102:30;4126:5;4102:30;:::i;4167:249::-;4236:6;4289:2;4277:9;4268:7;4264:23;4260:32;4257:52;;;4305:1;4302;4295:12;4257:52;4337:9;4331:16;4356:30;4380:5;4356:30;:::i;4421:592::-;4492:6;4500;4553:2;4541:9;4532:7;4528:23;4524:32;4521:52;;;4569:1;4566;4559:12;4521:52;4609:9;4596:23;4638:18;4679:2;4671:6;4668:14;4665:34;;;4695:1;4692;4685:12;4665:34;4733:6;4722:9;4718:22;4708:32;;4778:7;4771:4;4767:2;4763:13;4759:27;4749:55;;4800:1;4797;4790:12;4749:55;4840:2;4827:16;4866:2;4858:6;4855:14;4852:34;;;4882:1;4879;4872:12;4852:34;4927:7;4922:2;4913:6;4909:2;4905:15;4901:24;4898:37;4895:57;;;4948:1;4945;4938:12;4895:57;4979:2;4971:11;;;;;5001:6;;-1:-1:-1;4421:592:1;;-1:-1:-1;;;;4421:592:1:o;5203:184::-;5273:6;5326:2;5314:9;5305:7;5301:23;5297:32;5294:52;;;5342:1;5339;5332:12;5294:52;-1:-1:-1;5365:16:1;;5203:184;-1:-1:-1;5203:184:1:o;5392:416::-;5485:6;5493;5546:2;5534:9;5525:7;5521:23;5517:32;5514:52;;;5562:1;5559;5552:12;5514:52;5598:9;5585:23;5575:33;;5659:2;5648:9;5644:18;5631:32;5686:18;5678:6;5675:30;5672:50;;;5718:1;5715;5708:12;5672:50;5741:61;5794:7;5785:6;5774:9;5770:22;5741:61;:::i;:::-;5731:71;;;5392:416;;;;;:::o;5813:257::-;5854:3;5892:5;5886:12;5919:6;5914:3;5907:19;5935:63;5991:6;5984:4;5979:3;5975:14;5968:4;5961:5;5957:16;5935:63;:::i;:::-;6052:2;6031:15;-1:-1:-1;;6027:29:1;6018:39;;;;6059:4;6014:50;;5813:257;-1:-1:-1;;5813:257:1:o;6309:637::-;6589:3;6627:6;6621:13;6643:53;6689:6;6684:3;6677:4;6669:6;6665:17;6643:53;:::i;:::-;6759:13;;6718:16;;;;6781:57;6759:13;6718:16;6815:4;6803:17;;6781:57;:::i;:::-;-1:-1:-1;;;6860:20:1;;6889:22;;;6938:1;6927:13;;6309:637;-1:-1:-1;;;;6309:637:1:o;7159:488::-;-1:-1:-1;;;;;7428:15:1;;;7410:34;;7480:15;;7475:2;7460:18;;7453:43;7527:2;7512:18;;7505:34;;;7575:3;7570:2;7555:18;;7548:31;;;7353:4;;7596:45;;7621:19;;7613:6;7596:45;:::i;:::-;7588:53;7159:488;-1:-1:-1;;;;;;7159:488:1:o;8752:219::-;8901:2;8890:9;8883:21;8864:4;8921:44;8961:2;8950:9;8946:18;8938:6;8921:44;:::i;10790:356::-;10992:2;10974:21;;;11011:18;;;11004:30;11070:34;11065:2;11050:18;;11043:62;11137:2;11122:18;;10790:356::o;11567:355::-;11769:2;11751:21;;;11808:2;11788:18;;;11781:30;11847:33;11842:2;11827:18;;11820:61;11913:2;11898:18;;11567:355::o;12814:275::-;12885:2;12879:9;12950:2;12931:13;;-1:-1:-1;;12927:27:1;12915:40;;12985:18;12970:34;;13006:22;;;12967:62;12964:88;;;13032:18;;:::i;:::-;13068:2;13061:22;12814:275;;-1:-1:-1;12814:275:1:o;13094:128::-;13134:3;13165:1;13161:6;13158:1;13155:13;13152:39;;;13171:18;;:::i;:::-;-1:-1:-1;13207:9:1;;13094:128::o;13227:120::-;13267:1;13293;13283:35;;13298:18;;:::i;:::-;-1:-1:-1;13332:9:1;;13227:120::o;13352:168::-;13392:7;13458:1;13454;13450:6;13446:14;13443:1;13440:21;13435:1;13428:9;13421:17;13417:45;13414:71;;;13465:18;;:::i;:::-;-1:-1:-1;13505:9:1;;13352:168::o;13525:125::-;13565:4;13593:1;13590;13587:8;13584:34;;;13598:18;;:::i;:::-;-1:-1:-1;13635:9:1;;13525:125::o;13655:258::-;13727:1;13737:113;13751:6;13748:1;13745:13;13737:113;;;13827:11;;;13821:18;13808:11;;;13801:39;13773:2;13766:10;13737:113;;;13868:6;13865:1;13862:13;13859:48;;;-1:-1:-1;;13903:1:1;13885:16;;13878:27;13655:258::o;13918:380::-;13997:1;13993:12;;;;14040;;;14061:61;;14115:4;14107:6;14103:17;14093:27;;14061:61;14168:2;14160:6;14157:14;14137:18;14134:38;14131:161;;;14214:10;14209:3;14205:20;14202:1;14195:31;14249:4;14246:1;14239:15;14277:4;14274:1;14267:15;14131:161;;13918:380;;;:::o;14303:135::-;14342:3;-1:-1:-1;;14363:17:1;;14360:43;;;14383:18;;:::i;:::-;-1:-1:-1;14430:1:1;14419:13;;14303:135::o;14443:112::-;14475:1;14501;14491:35;;14506:18;;:::i;:::-;-1:-1:-1;14540:9:1;;14443:112::o;14560:127::-;14621:10;14616:3;14612:20;14609:1;14602:31;14652:4;14649:1;14642:15;14676:4;14673:1;14666:15;14692:127;14753:10;14748:3;14744:20;14741:1;14734:31;14784:4;14781:1;14774:15;14808:4;14805:1;14798:15;14824:127;14885:10;14880:3;14876:20;14873:1;14866:31;14916:4;14913:1;14906:15;14940:4;14937:1;14930:15;14956:127;15017:10;15012:3;15008:20;15005:1;14998:31;15048:4;15045:1;15038:15;15072:4;15069:1;15062:15;15088:131;-1:-1:-1;;;;;;15162:32:1;;15152:43;;15142:71;;15209:1;15206;15199:12

Swarm Source

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