ETH Price: $3,460.79 (-1.59%)
Gas: 2 Gwei

Token

Pixel Machine (PXMC)
 

Overview

Max Total Supply

7,700 PXMC

Holders

1,894

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PXMC
0xFA6eA1730f346F62a378fF29cb4b659054250f3E
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:
PixelMachine

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-18
*/

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) 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.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual 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 virtual {
        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;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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 '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        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 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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 virtual {
        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 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 virtual {
        _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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

// 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: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// 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 (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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: pixelmachine.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;





enum ContractStatus {
        disable,
        open
    }

contract PixelMachine is Ownable, ERC721A, ERC2981, ReentrancyGuard {

    ContractStatus public CONTRACT_STATUS = ContractStatus.disable;

    uint96 public immutable ROYALTY_FEE_NUMERATOR = 500;
    uint256 public immutable MAX_FREE_PER_WALLET = 1;
    uint256 public immutable MAX_TX_PER_WALLET = 7;
    uint256 public immutable PRICE = 0.001 ether;
    uint256 public constant MAX_SUPPLY = 7700;

    string internal baseURI = "ipfs://bafybeift7t4mdrud3x2e2wbhx2jocnlsbdrhtj6buzj7sbpuzff5xq4v7u/";

    modifier isEthAvailable(uint256 quantity) {
        require(msg.value >= getSalePrice(msg.sender, quantity), "Insufficient funds");
        _;
    }

    modifier isMaxTxReached(uint256 quantity) {
        require(_numberMinted(msg.sender) + quantity <= MAX_TX_PER_WALLET, "Exceeded tx limit");
        _;
    }

    modifier isSupplyUnavailable(uint256 quantity) {
        require(totalSupply() + quantity <= MAX_SUPPLY, "Max supply reached");
        _;
    }

    modifier isUser() {
    require(tx.origin == msg.sender, "Invalid User");
    _;
    }

    constructor() ERC721A("Pixel Machine", "PXMC") {
        _setDefaultRoyalty(owner(), ROYALTY_FEE_NUMERATOR);
    }

    function getTotalSupplyLeft()
      public view
      returns (uint256)
    {
      return MAX_SUPPLY - totalSupply();
    }

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

    function publicMint(uint256 quantity)
      public
      payable
      virtual
      nonReentrant
      isUser
      isSupplyUnavailable(quantity)
      isMaxTxReached(quantity)
      isEthAvailable(quantity)
    {
      require(
            CONTRACT_STATUS == ContractStatus.open,
            "Contract is not open"
        );

        _mint(msg.sender, quantity);
    }

    function internalMint(uint256 quantity)
      public
      virtual
      onlyOwner
      nonReentrant
      isUser
      isSupplyUnavailable(quantity)
    {
      _mint(msg.sender, quantity);
    }    

    function getTotalMinted(address addr)
      public
      view
      returns (uint256)
    {
      return _numberMinted(addr);
    }

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

    function setStatus(ContractStatus status)
      external
      onlyOwner
    {
      CONTRACT_STATUS = status;
    }

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

    function supportsInterface(bytes4 interfaceId)
      public
      view
      virtual
      override(ERC721A, ERC2981)
      returns (bool)
    {
      return
          ERC721A.supportsInterface(interfaceId) ||
          ERC2981.supportsInterface(interfaceId) ||
          super.supportsInterface(interfaceId);
    }

    function getSalePrice(address sender, uint256 quantity)
      private
      view
      returns (uint256)
    {
      bool isAlreadyMinted = _numberMinted(sender) > 0;

      return
          isAlreadyMinted
              ? PRICE * (quantity)
              : PRICE * (quantity - MAX_FREE_PER_WALLET);
    }

    function withdraw(uint256 balance)
      external
      onlyOwner
      nonReentrant
      isUser
    {
      (bool success, ) = msg.sender.call{value: balance}("");
      require(success, "Transfer failed.");
    }

    function withdrawAll()
      external
      onlyOwner
      nonReentrant
      isUser
    {
      (bool success, ) = msg.sender.call{value: address(this).balance}("");
      require(success, "Transfer failed.");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","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":"CONTRACT_STATUS","outputs":[{"internalType":"enum ContractStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_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":"MAX_TX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_FEE_NUMERATOR","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ContractStatus","name":"status","type":"uint8"}],"name":"setStatus","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600c805460ff191690556101f4608052600160a052600760c05266038d7ea4c6800060e0526101806040526043610100818152906200200f6101203980516200005191600d916020909101906200026c565b503480156200005f57600080fd5b506040518060400160405280600d81526020016c506978656c204d616368696e6560981b8152506040518060400160405280600481526020016350584d4360e01b815250620000bd620000b76200011360201b60201c565b62000117565b8151620000d29060039060208501906200026c565b508051620000e89060049060208401906200026c565b506001808155600b5550506000546200010d906001600160a01b031660805162000167565b6200034f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620001db5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002335760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001d2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b8280546200027a9062000312565b90600052602060002090601f0160209004810192826200029e5760008555620002e9565b82601f10620002b957805160ff1916838001178555620002e9565b82800160010185558215620002e9579182015b82811115620002e9578251825591602001919060010190620002cc565b50620002f7929150620002fb565b5090565b5b80821115620002f75760008155600101620002fc565b600181811c908216806200032757607f821691505b602082108114156200034957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051611c6a620003a56000396000818161046e0152818161130f015261133e0152600081816104d50152610afb01526000818161050901526112e4015260006103980152611c6a6000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146105c5578063defcbacb146105e5578063e985e9c5146105fa578063f2fde38b1461064357600080fd5b8063a22cb4651461054b578063acd0d9a61461056b578063b88d4fde1461058b578063bf7b779c1461059e57600080fd5b806395d89b41116100d157806395d89b41146104ae578063975e840e146104c357806398710d1e146104f75780639a9c1bb11461052b57600080fd5b8063715018a614610432578063853828b6146104475780638d859f3e1461045c5780638da5cb5b1461049057600080fd5b80632e1a7d4d1161017a57806355850fe61161014957806355850fe61461038657806355f804b3146103d25780636352211e146103f257806370a082311461041257600080fd5b80632e1a7d4d1461031d5780632e49d78b1461033d57806332cb6b0c1461035d57806342842e0e1461037357600080fd5b806318160ddd116101b657806318160ddd1461028c57806323b872dd146102b85780632a55205a146102cb5780632db115441461030a57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b5061020861020336600461170e565b610663565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610692565b6040516102149190611783565b34801561024b57600080fd5b5061025f61025a366004611796565b610724565b6040516001600160a01b039091168152602001610214565b61028a6102853660046117cb565b610768565b005b34801561029857600080fd5b506102aa600254600154036000190190565b604051908152602001610214565b61028a6102c63660046117f5565b610808565b3480156102d757600080fd5b506102eb6102e6366004611831565b610999565b604080516001600160a01b039093168352602083019190915201610214565b61028a610318366004611796565b610a45565b34801561032957600080fd5b5061028a610338366004611796565b610c31565b34801561034957600080fd5b5061028a610358366004611853565b610d14565b34801561036957600080fd5b506102aa611e1481565b61028a6103813660046117f5565b610d42565b34801561039257600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b039091168152602001610214565b3480156103de57600080fd5b5061028a6103ed366004611900565b610d62565b3480156103fe57600080fd5b5061025f61040d366004611796565b610d81565b34801561041e57600080fd5b506102aa61042d366004611949565b610d8c565b34801561043e57600080fd5b5061028a610ddb565b34801561045357600080fd5b5061028a610def565b34801561046857600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561049c57600080fd5b506000546001600160a01b031661025f565b3480156104ba57600080fd5b50610232610ed1565b3480156104cf57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561050357600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561053757600080fd5b506102aa610546366004611949565b610ee0565b34801561055757600080fd5b5061028a610566366004611964565b610eeb565b34801561057757600080fd5b5061028a610586366004611796565b610f57565b61028a6105993660046119a0565b611013565b3480156105aa57600080fd5b50600c546105b89060ff1681565b6040516102149190611a32565b3480156105d157600080fd5b506102326105e0366004611796565b61105d565b3480156105f157600080fd5b506102aa6110e2565b34801561060657600080fd5b50610208610615366004611a5a565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561064f57600080fd5b5061028a61065e366004611949565b611106565b600061066e8261117f565b8061067d575061067d826111cd565b8061068c575061068c826111cd565b92915050565b6060600380546106a190611a8d565b80601f01602080910402602001604051908101604052809291908181526020018280546106cd90611a8d565b801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b5050505050905090565b600061072f82611202565b61074c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061077382610d81565b9050336001600160a01b038216146107ac5761078f8133610615565b6107ac576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061081382611237565b9050836001600160a01b0316816001600160a01b0316146108465760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610893576108768633610615565b61089357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108ba57604051633a954ecd60e21b815260040160405180910390fd5b80156108c557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610950576001840160008181526005602052604090205461094e57600154811461094e5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610a0e5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610a2d906001600160601b031687611ade565b610a379190611afd565b915196919550909350505050565b6002600b541415610a715760405162461bcd60e51b8152600401610a6890611b1f565b60405180910390fd5b6002600b55323314610a955760405162461bcd60e51b8152600401610a6890611b56565b80611e1481610aab600254600154036000190190565b610ab59190611b7c565b1115610af85760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a68565b817f000000000000000000000000000000000000000000000000000000000000000081610b24336112a0565b610b2e9190611b7c565b1115610b705760405162461bcd60e51b8152602060048201526011602482015270115e18d959591959081d1e081b1a5b5a5d607a1b6044820152606401610a68565b82610b7b33826112c9565b341015610bbf5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a68565b6001600c5460ff166001811115610bd857610bd8611a1c565b14610c1c5760405162461bcd60e51b815260206004820152601460248201527321b7b73a3930b1ba1034b9903737ba1037b832b760611b6044820152606401610a68565b610c26338561136a565b50506001600b555050565b610c39611461565b6002600b541415610c5c5760405162461bcd60e51b8152600401610a6890611b1f565b6002600b55323314610c805760405162461bcd60e51b8152600401610a6890611b56565b604051600090339083908381818185875af1925050503d8060008114610cc2576040519150601f19603f3d011682016040523d82523d6000602084013e610cc7565b606091505b5050905080610d0b5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a68565b50506001600b55565b610d1c611461565b600c805482919060ff191660018381811115610d3a57610d3a611a1c565b021790555050565b610d5d83838360405180602001604052806000815250611013565b505050565b610d6a611461565b8051610d7d90600d90602084019061165f565b5050565b600061068c82611237565b60006001600160a01b038216610db5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610de3611461565b610ded60006114bb565b565b610df7611461565b6002600b541415610e1a5760405162461bcd60e51b8152600401610a6890611b1f565b6002600b55323314610e3e5760405162461bcd60e51b8152600401610a6890611b56565b604051600090339047908381818185875af1925050503d8060008114610e80576040519150601f19603f3d011682016040523d82523d6000602084013e610e85565b606091505b5050905080610ec95760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a68565b506001600b55565b6060600480546106a190611a8d565b600061068c826112a0565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f5f611461565b6002600b541415610f825760405162461bcd60e51b8152600401610a6890611b1f565b6002600b55323314610fa65760405162461bcd60e51b8152600401610a6890611b56565b80611e1481610fbc600254600154036000190190565b610fc69190611b7c565b11156110095760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a68565b610d0b338361136a565b61101e848484610808565b6001600160a01b0383163b156110575761103a8484848461150b565b611057576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061106882611202565b61108557604051630a14c4b560e41b815260040160405180910390fd5b600061108f611602565b90508051600014156110b057604051806020016040528060008152506110db565b806110ba84611611565b6040516020016110cb929190611b94565b6040516020818303038152906040525b9392505050565b60006110f5600254600154036000190190565b61110190611e14611bc3565b905090565b61110e611461565b6001600160a01b0381166111735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a68565b61117c816114bb565b50565b60006301ffc9a760e01b6001600160e01b0319831614806111b057506380ac58cd60e01b6001600160e01b03198316145b8061068c5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061068c57506301ffc9a760e01b6001600160e01b031983161461068c565b600081600111158015611216575060015482105b801561068c575050600090815260056020526040902054600160e01b161590565b600081806001116112875760015481101561128757600081815260056020526040902054600160e01b8116611285575b806110db575060001901600081815260056020526040902054611267565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b60008060006112d7856112a0565b11905080611338576113097f000000000000000000000000000000000000000000000000000000000000000084611bc3565b611333907f0000000000000000000000000000000000000000000000000000000000000000611ade565b611362565b611362837f0000000000000000000000000000000000000000000000000000000000000000611ade565b949350505050565b6001548161138b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461143a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611402565b508161145857604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000546001600160a01b03163314610ded5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a68565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611540903390899088908890600401611bda565b602060405180830381600087803b15801561155a57600080fd5b505af192505050801561158a575060408051601f3d908101601f1916820190925261158791810190611c17565b60015b6115e5573d8080156115b8576040519150601f19603f3d011682016040523d82523d6000602084013e6115bd565b606091505b5080516115dd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d80546106a190611a8d565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806116485761164d565b61162b565b50819003601f19909101908152919050565b82805461166b90611a8d565b90600052602060002090601f01602090048101928261168d57600085556116d3565b82601f106116a657805160ff19168380011785556116d3565b828001600101855582156116d3579182015b828111156116d35782518255916020019190600101906116b8565b506116df9291506116e3565b5090565b5b808211156116df57600081556001016116e4565b6001600160e01b03198116811461117c57600080fd5b60006020828403121561172057600080fd5b81356110db816116f8565b60005b8381101561174657818101518382015260200161172e565b838111156110575750506000910152565b6000815180845261176f81602086016020860161172b565b601f01601f19169290920160200192915050565b6020815260006110db6020830184611757565b6000602082840312156117a857600080fd5b5035919050565b80356001600160a01b03811681146117c657600080fd5b919050565b600080604083850312156117de57600080fd5b6117e7836117af565b946020939093013593505050565b60008060006060848603121561180a57600080fd5b611813846117af565b9250611821602085016117af565b9150604084013590509250925092565b6000806040838503121561184457600080fd5b50508035926020909101359150565b60006020828403121561186557600080fd5b8135600281106110db57600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118a5576118a5611874565b604051601f8501601f19908116603f011681019082821181831017156118cd576118cd611874565b816040528093508581528686860111156118e657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561191257600080fd5b813567ffffffffffffffff81111561192957600080fd5b8201601f8101841361193a57600080fd5b6113628482356020840161188a565b60006020828403121561195b57600080fd5b6110db826117af565b6000806040838503121561197757600080fd5b611980836117af565b91506020830135801515811461199557600080fd5b809150509250929050565b600080600080608085870312156119b657600080fd5b6119bf856117af565b93506119cd602086016117af565b925060408501359150606085013567ffffffffffffffff8111156119f057600080fd5b8501601f81018713611a0157600080fd5b611a108782356020840161188a565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611a5457634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611a6d57600080fd5b611a76836117af565b9150611a84602084016117af565b90509250929050565b600181811c90821680611aa157607f821691505b60208210811415611ac257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611af857611af8611ac8565b500290565b600082611b1a57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b60008219821115611b8f57611b8f611ac8565b500190565b60008351611ba681846020880161172b565b835190830190611bba81836020880161172b565b01949350505050565b600082821015611bd557611bd5611ac8565b500390565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c0d90830184611757565b9695505050505050565b600060208284031215611c2957600080fd5b81516110db816116f856fea264697066735822122018906abc59b1a16cc5ad7e7d4e6fca6307e30460a9ea5fa7883e1ed9904b99b164736f6c63430008090033697066733a2f2f6261667962656966743774346d64727564337832653277626878326a6f636e6c7362647268746a3662757a6a37736270757a6666357871347637752f

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146105c5578063defcbacb146105e5578063e985e9c5146105fa578063f2fde38b1461064357600080fd5b8063a22cb4651461054b578063acd0d9a61461056b578063b88d4fde1461058b578063bf7b779c1461059e57600080fd5b806395d89b41116100d157806395d89b41146104ae578063975e840e146104c357806398710d1e146104f75780639a9c1bb11461052b57600080fd5b8063715018a614610432578063853828b6146104475780638d859f3e1461045c5780638da5cb5b1461049057600080fd5b80632e1a7d4d1161017a57806355850fe61161014957806355850fe61461038657806355f804b3146103d25780636352211e146103f257806370a082311461041257600080fd5b80632e1a7d4d1461031d5780632e49d78b1461033d57806332cb6b0c1461035d57806342842e0e1461037357600080fd5b806318160ddd116101b657806318160ddd1461028c57806323b872dd146102b85780632a55205a146102cb5780632db115441461030a57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b5061020861020336600461170e565b610663565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610692565b6040516102149190611783565b34801561024b57600080fd5b5061025f61025a366004611796565b610724565b6040516001600160a01b039091168152602001610214565b61028a6102853660046117cb565b610768565b005b34801561029857600080fd5b506102aa600254600154036000190190565b604051908152602001610214565b61028a6102c63660046117f5565b610808565b3480156102d757600080fd5b506102eb6102e6366004611831565b610999565b604080516001600160a01b039093168352602083019190915201610214565b61028a610318366004611796565b610a45565b34801561032957600080fd5b5061028a610338366004611796565b610c31565b34801561034957600080fd5b5061028a610358366004611853565b610d14565b34801561036957600080fd5b506102aa611e1481565b61028a6103813660046117f5565b610d42565b34801561039257600080fd5b506103ba7f00000000000000000000000000000000000000000000000000000000000001f481565b6040516001600160601b039091168152602001610214565b3480156103de57600080fd5b5061028a6103ed366004611900565b610d62565b3480156103fe57600080fd5b5061025f61040d366004611796565b610d81565b34801561041e57600080fd5b506102aa61042d366004611949565b610d8c565b34801561043e57600080fd5b5061028a610ddb565b34801561045357600080fd5b5061028a610def565b34801561046857600080fd5b506102aa7f00000000000000000000000000000000000000000000000000038d7ea4c6800081565b34801561049c57600080fd5b506000546001600160a01b031661025f565b3480156104ba57600080fd5b50610232610ed1565b3480156104cf57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000781565b34801561050357600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000181565b34801561053757600080fd5b506102aa610546366004611949565b610ee0565b34801561055757600080fd5b5061028a610566366004611964565b610eeb565b34801561057757600080fd5b5061028a610586366004611796565b610f57565b61028a6105993660046119a0565b611013565b3480156105aa57600080fd5b50600c546105b89060ff1681565b6040516102149190611a32565b3480156105d157600080fd5b506102326105e0366004611796565b61105d565b3480156105f157600080fd5b506102aa6110e2565b34801561060657600080fd5b50610208610615366004611a5a565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561064f57600080fd5b5061028a61065e366004611949565b611106565b600061066e8261117f565b8061067d575061067d826111cd565b8061068c575061068c826111cd565b92915050565b6060600380546106a190611a8d565b80601f01602080910402602001604051908101604052809291908181526020018280546106cd90611a8d565b801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b5050505050905090565b600061072f82611202565b61074c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061077382610d81565b9050336001600160a01b038216146107ac5761078f8133610615565b6107ac576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061081382611237565b9050836001600160a01b0316816001600160a01b0316146108465760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610893576108768633610615565b61089357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108ba57604051633a954ecd60e21b815260040160405180910390fd5b80156108c557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610950576001840160008181526005602052604090205461094e57600154811461094e5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610a0e5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610a2d906001600160601b031687611ade565b610a379190611afd565b915196919550909350505050565b6002600b541415610a715760405162461bcd60e51b8152600401610a6890611b1f565b60405180910390fd5b6002600b55323314610a955760405162461bcd60e51b8152600401610a6890611b56565b80611e1481610aab600254600154036000190190565b610ab59190611b7c565b1115610af85760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a68565b817f000000000000000000000000000000000000000000000000000000000000000781610b24336112a0565b610b2e9190611b7c565b1115610b705760405162461bcd60e51b8152602060048201526011602482015270115e18d959591959081d1e081b1a5b5a5d607a1b6044820152606401610a68565b82610b7b33826112c9565b341015610bbf5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a68565b6001600c5460ff166001811115610bd857610bd8611a1c565b14610c1c5760405162461bcd60e51b815260206004820152601460248201527321b7b73a3930b1ba1034b9903737ba1037b832b760611b6044820152606401610a68565b610c26338561136a565b50506001600b555050565b610c39611461565b6002600b541415610c5c5760405162461bcd60e51b8152600401610a6890611b1f565b6002600b55323314610c805760405162461bcd60e51b8152600401610a6890611b56565b604051600090339083908381818185875af1925050503d8060008114610cc2576040519150601f19603f3d011682016040523d82523d6000602084013e610cc7565b606091505b5050905080610d0b5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a68565b50506001600b55565b610d1c611461565b600c805482919060ff191660018381811115610d3a57610d3a611a1c565b021790555050565b610d5d83838360405180602001604052806000815250611013565b505050565b610d6a611461565b8051610d7d90600d90602084019061165f565b5050565b600061068c82611237565b60006001600160a01b038216610db5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610de3611461565b610ded60006114bb565b565b610df7611461565b6002600b541415610e1a5760405162461bcd60e51b8152600401610a6890611b1f565b6002600b55323314610e3e5760405162461bcd60e51b8152600401610a6890611b56565b604051600090339047908381818185875af1925050503d8060008114610e80576040519150601f19603f3d011682016040523d82523d6000602084013e610e85565b606091505b5050905080610ec95760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a68565b506001600b55565b6060600480546106a190611a8d565b600061068c826112a0565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f5f611461565b6002600b541415610f825760405162461bcd60e51b8152600401610a6890611b1f565b6002600b55323314610fa65760405162461bcd60e51b8152600401610a6890611b56565b80611e1481610fbc600254600154036000190190565b610fc69190611b7c565b11156110095760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a68565b610d0b338361136a565b61101e848484610808565b6001600160a01b0383163b156110575761103a8484848461150b565b611057576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061106882611202565b61108557604051630a14c4b560e41b815260040160405180910390fd5b600061108f611602565b90508051600014156110b057604051806020016040528060008152506110db565b806110ba84611611565b6040516020016110cb929190611b94565b6040516020818303038152906040525b9392505050565b60006110f5600254600154036000190190565b61110190611e14611bc3565b905090565b61110e611461565b6001600160a01b0381166111735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a68565b61117c816114bb565b50565b60006301ffc9a760e01b6001600160e01b0319831614806111b057506380ac58cd60e01b6001600160e01b03198316145b8061068c5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061068c57506301ffc9a760e01b6001600160e01b031983161461068c565b600081600111158015611216575060015482105b801561068c575050600090815260056020526040902054600160e01b161590565b600081806001116112875760015481101561128757600081815260056020526040902054600160e01b8116611285575b806110db575060001901600081815260056020526040902054611267565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b60008060006112d7856112a0565b11905080611338576113097f000000000000000000000000000000000000000000000000000000000000000184611bc3565b611333907f00000000000000000000000000000000000000000000000000038d7ea4c68000611ade565b611362565b611362837f00000000000000000000000000000000000000000000000000038d7ea4c68000611ade565b949350505050565b6001548161138b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461143a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611402565b508161145857604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000546001600160a01b03163314610ded5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a68565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611540903390899088908890600401611bda565b602060405180830381600087803b15801561155a57600080fd5b505af192505050801561158a575060408051601f3d908101601f1916820190925261158791810190611c17565b60015b6115e5573d8080156115b8576040519150601f19603f3d011682016040523d82523d6000602084013e6115bd565b606091505b5080516115dd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d80546106a190611a8d565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806116485761164d565b61162b565b50819003601f19909101908152919050565b82805461166b90611a8d565b90600052602060002090601f01602090048101928261168d57600085556116d3565b82601f106116a657805160ff19168380011785556116d3565b828001600101855582156116d3579182015b828111156116d35782518255916020019190600101906116b8565b506116df9291506116e3565b5090565b5b808211156116df57600081556001016116e4565b6001600160e01b03198116811461117c57600080fd5b60006020828403121561172057600080fd5b81356110db816116f8565b60005b8381101561174657818101518382015260200161172e565b838111156110575750506000910152565b6000815180845261176f81602086016020860161172b565b601f01601f19169290920160200192915050565b6020815260006110db6020830184611757565b6000602082840312156117a857600080fd5b5035919050565b80356001600160a01b03811681146117c657600080fd5b919050565b600080604083850312156117de57600080fd5b6117e7836117af565b946020939093013593505050565b60008060006060848603121561180a57600080fd5b611813846117af565b9250611821602085016117af565b9150604084013590509250925092565b6000806040838503121561184457600080fd5b50508035926020909101359150565b60006020828403121561186557600080fd5b8135600281106110db57600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118a5576118a5611874565b604051601f8501601f19908116603f011681019082821181831017156118cd576118cd611874565b816040528093508581528686860111156118e657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561191257600080fd5b813567ffffffffffffffff81111561192957600080fd5b8201601f8101841361193a57600080fd5b6113628482356020840161188a565b60006020828403121561195b57600080fd5b6110db826117af565b6000806040838503121561197757600080fd5b611980836117af565b91506020830135801515811461199557600080fd5b809150509250929050565b600080600080608085870312156119b657600080fd5b6119bf856117af565b93506119cd602086016117af565b925060408501359150606085013567ffffffffffffffff8111156119f057600080fd5b8501601f81018713611a0157600080fd5b611a108782356020840161188a565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611a5457634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611a6d57600080fd5b611a76836117af565b9150611a84602084016117af565b90509250929050565b600181811c90821680611aa157607f821691505b60208210811415611ac257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611af857611af8611ac8565b500290565b600082611b1a57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b60008219821115611b8f57611b8f611ac8565b500190565b60008351611ba681846020880161172b565b835190830190611bba81836020880161172b565b01949350505050565b600082821015611bd557611bd5611ac8565b500390565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c0d90830184611757565b9695505050505050565b600060208284031215611c2957600080fd5b81516110db816116f856fea264697066735822122018906abc59b1a16cc5ad7e7d4e6fca6307e30460a9ea5fa7883e1ed9904b99b164736f6c63430008090033

Deployed Bytecode Sourcemap

64946:3801:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67630:326;;;;;;;;;;-1:-1:-1;67630:326:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;67630:326:0;;;;;;;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25797:218:0;1528:203:1;25230:408:0;;;;;;:::i;:::-;;:::i;:::-;;15057:323;;;;;;;;;;;;15331:12;;67613:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;;;;2319:25:1;;;2307:2;2292:18;15057:323:0;2173:177:1;29436:2825:0;;;;;;:::i;:::-;;:::i;58694:442::-;;;;;;;;;;-1:-1:-1;58694:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3133:32:1;;;3115:51;;3197:2;3182:18;;3175:34;;;;3088:18;58694:442:0;2941:274:1;66452:387:0;;;;;;:::i;:::-;;:::i;68288:223::-;;;;;;;;;;-1:-1:-1;68288:223:0;;;;;:::i;:::-;;:::i;67347:121::-;;;;;;;;;;-1:-1:-1;67347:121:0;;;;;:::i;:::-;;:::i;65311:41::-;;;;;;;;;;;;65348:4;65311:41;;32357:193;;;;;;:::i;:::-;;:::i;65094:51::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3662:39:1;;;3644:58;;3632:2;3617:18;65094:51:0;3500:208:1;67210:129:0;;;;;;;;;;-1:-1:-1;67210:129:0;;;;;:::i;:::-;;:::i;20699:152::-;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;16241:233::-;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;63967:103::-;;;;;;;;;;;;;:::i;68519:225::-;;;;;;;;;;;;;:::i;65260:44::-;;;;;;;;;;;;;;;63319:87;;;;;;;;;;-1:-1:-1;63365:7:0;63392:6;-1:-1:-1;;;;;63392:6:0;63319:87;;19482:104;;;;;;;;;;;;;:::i;65207:46::-;;;;;;;;;;;;;;;65152:48;;;;;;;;;;;;;;;67065:137;;;;;;;;;;-1:-1:-1;67065:137:0;;;;;:::i;:::-;;:::i;26355:234::-;;;;;;;;;;-1:-1:-1;26355:234:0;;;;;:::i;:::-;;:::i;66847:206::-;;;;;;;;;;-1:-1:-1;66847:206:0;;;;;:::i;:::-;;:::i;33148:407::-;;;;;;:::i;:::-;;:::i;65023:62::-;;;;;;;;;;-1:-1:-1;65023:62:0;;;;;;;;;;;;;;;:::i;19692:318::-;;;;;;;;;;-1:-1:-1;19692:318:0;;;;;:::i;:::-;;:::i;66168:129::-;;;;;;;;;;;;;:::i;26746:164::-;;;;;;;;;;-1:-1:-1;26746:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26867:25:0;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26746:164;64225:201;;;;;;;;;;-1:-1:-1;64225:201:0;;;;;:::i;:::-;;:::i;67630:326::-;67768:4;67806:38;67832:11;67806:25;:38::i;:::-;:91;;;;67859:38;67885:11;67859:25;:38::i;:::-;67806:142;;;;67912:36;67936:11;67912:23;:36::i;:::-;67788:160;67630:326;-1:-1:-1;;67630:326:0:o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;-1:-1:-1;;;25923:34:0;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25977:30:0;;25797:218::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;49563:10:0;-1:-1:-1;;;;;25368:28:0;;;25364:175;;25416:44;25433:5;49563:10;26746:164;:::i;25416:44::-;25411:128;;25488:35;;-1:-1:-1;;;25488:35:0;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25551:35:0;-1:-1:-1;;;;;25551:35:0;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;-1:-1:-1;;;;;29652:45:0;29668:19;-1:-1:-1;;;;;29652:45:0;;29648:86;;29706:28;;-1:-1:-1;;;29706:28:0;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;49563:10;28169:30;;;-1:-1:-1;;;;;27862:28:0;;28147:20;;;28144:56;29934:180;;30027:43;30044:4;49563:10;26746:164;:::i;30027:43::-;30022:92;;30079:35;;-1:-1:-1;;;30079:35:0;;;;;;;;;;;30022:92;-1:-1:-1;;;;;30131:16:0;;30127:52;;30156:23;;-1:-1:-1;;;30156:23:0;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;-1:-1:-1;;;;;30865:24:0;;;;;;;:18;:24;;;;;;30863:26;;-1:-1:-1;;30863:26:0;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;-1:-1:-1;;;24046:63:0;31227:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31522:47:0;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;-1:-1:-1;;;;;32173:27:0;32182:4;-1:-1:-1;;;;;32173:27:0;;;;;;;;;;;29567:2694;;;29436:2825;;;:::o;58694:442::-;58791:7;58849:27;;;:17;:27;;;;;;;;58820:56;;;;;;;;;-1:-1:-1;;;;;58820:56:0;;;;;-1:-1:-1;;;58820:56:0;;;-1:-1:-1;;;;;58820:56:0;;;;;;;;58791:7;;58889:92;;-1:-1:-1;58940:29:0;;;;;;;;;58950:19;58940:29;-1:-1:-1;;;;;58940:29:0;;;;-1:-1:-1;;;58940:29:0;;-1:-1:-1;;;;;58940:29:0;;;;;58889:92;59031:23;;;;58993:21;;59502:5;;59018:36;;-1:-1:-1;;;;;59018:36:0;:10;:36;:::i;:::-;59017:58;;;;:::i;:::-;59096:16;;;;;-1:-1:-1;58694:442:0;;-1:-1:-1;;;;58694:442:0:o;66452:387::-;53247:1;53845:7;;:19;;53837:63;;;;-1:-1:-1;;;53837:63:0;;;;;;;:::i;:::-;;;;;;;;;53247:1;53978:7;:18;65980:9:::1;65993:10;65980:23;65972:48;;;;-1:-1:-1::0;;;65972:48:0::1;;;;;;;:::i;:::-;66595:8:::2;65348:4;65874:8;65858:13;15331:12:::0;;67613:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;65858:13:::2;:24;;;;:::i;:::-;:38;;65850:69;;;::::0;-1:-1:-1;;;65850:69:0;;8850:2:1;65850:69:0::2;::::0;::::2;8832:21:1::0;8889:2;8869:18;;;8862:30;-1:-1:-1;;;8908:18:1;;;8901:48;8966:18;;65850:69:0::2;8648:342:1::0;65850:69:0::2;66627:8:::3;65725:17;65713:8;65685:25;65699:10;65685:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;65677:87;;;::::0;-1:-1:-1;;;65677:87:0;;9197:2:1;65677:87:0::3;::::0;::::3;9179:21:1::0;9236:2;9216:18;;;9209:30;-1:-1:-1;;;9255:18:1;;;9248:47;9312:18;;65677:87:0::3;8995:341:1::0;65677:87:0::3;66659:8:::4;65539:34;65552:10;65564:8;65539:12;:34::i;:::-;65526:9;:47;;65518:78;;;::::0;-1:-1:-1;;;65518:78:0;;9543:2:1;65518:78:0::4;::::0;::::4;9525:21:1::0;9582:2;9562:18;;;9555:30;-1:-1:-1;;;9601:18:1;;;9594:48;9659:18;;65518:78:0::4;9341:342:1::0;65518:78:0::4;66724:19:::5;66705:15;::::0;::::5;;::::0;:38;::::5;;;;;;:::i;:::-;;66683:108;;;::::0;-1:-1:-1;;;66683:108:0;;9890:2:1;66683:108:0::5;::::0;::::5;9872:21:1::0;9929:2;9909:18;;;9902:30;-1:-1:-1;;;9948:18:1;;;9941:50;10008:18;;66683:108:0::5;9688:344:1::0;66683:108:0::5;66804:27;66810:10;66822:8;66804:5;:27::i;:::-;-1:-1:-1::0;;53203:1:0;54157:7;:22;-1:-1:-1;;66452:387:0:o;68288:223::-;63205:13;:11;:13::i;:::-;53247:1:::1;53845:7;;:19;;53837:63;;;;-1:-1:-1::0;;;53837:63:0::1;;;;;;;:::i;:::-;53247:1;53978:7;:18:::0;65980:9:::2;65993:10;65980:23;65972:48;;;;-1:-1:-1::0;;;65972:48:0::2;;;;;;;:::i;:::-;68423:35:::3;::::0;68405:12:::3;::::0;68423:10:::3;::::0;68446:7;;68405:12;68423:35;68405:12;68423:35;68446:7;68423:10;:35:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68404:54;;;68475:7;68467:36;;;::::0;-1:-1:-1;;;68467:36:0;;10449:2:1;68467:36:0::3;::::0;::::3;10431:21:1::0;10488:2;10468:18;;;10461:30;-1:-1:-1;;;10507:18:1;;;10500:46;10563:18;;68467:36:0::3;10247:340:1::0;68467:36:0::3;-1:-1:-1::0;;53203:1:0::1;54157:7;:22:::0;68288:223::o;67347:121::-;63205:13;:11;:13::i;:::-;67436:15:::1;:24:::0;;67454:6;;67436:15;-1:-1:-1;;67436:24:0::1;::::0;67454:6;67436:24;;::::1;;;;;;:::i;:::-;;;;;;67347:121:::0;:::o;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;67210:129::-;63205:13;:11;:13::i;:::-;67315:16;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;;67210:129:::0;:::o;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;16241:233::-;16313:7;-1:-1:-1;;;;;16337:19:0;;16333:60;;16365:28;;-1:-1:-1;;;16365:28:0;;;;;;;;;;;16333:60;-1:-1:-1;;;;;;16411:25:0;;;;;:18;:25;;;;;;10400:13;16411:55;;16241:233::o;63967:103::-;63205:13;:11;:13::i;:::-;64032:30:::1;64059:1;64032:18;:30::i;:::-;63967:103::o:0;68519:225::-;63205:13;:11;:13::i;:::-;53247:1:::1;53845:7;;:19;;53837:63;;;;-1:-1:-1::0;;;53837:63:0::1;;;;;;;:::i;:::-;53247:1;53978:7;:18:::0;65980:9:::2;65993:10;65980:23;65972:48;;;;-1:-1:-1::0;;;65972:48:0::2;;;;;;;:::i;:::-;68642:49:::3;::::0;68624:12:::3;::::0;68642:10:::3;::::0;68665:21:::3;::::0;68624:12;68642:49;68624:12;68642:49;68665:21;68642:10;:49:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68623:68;;;68708:7;68700:36;;;::::0;-1:-1:-1;;;68700:36:0;;10449:2:1;68700:36:0::3;::::0;::::3;10431:21:1::0;10488:2;10468:18;;;10461:30;-1:-1:-1;;;10507:18:1;;;10500:46;10563:18;;68700:36:0::3;10247:340:1::0;68700:36:0::3;-1:-1:-1::0;53203:1:0::1;54157:7;:22:::0;68519:225::o;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;67065:137::-;67145:7;67175:19;67189:4;67175:13;:19::i;26355:234::-;49563:10;26450:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26450:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26450:60:0;;;;;;;;;;26526:55;;540:41:1;;;26450:49:0;;49563:10;26526:55;;513:18:1;26526:55:0;;;;;;;26355:234;;:::o;66847:206::-;63205:13;:11;:13::i;:::-;53247:1:::1;53845:7;;:19;;53837:63;;;;-1:-1:-1::0;;;53837:63:0::1;;;;;;;:::i;:::-;53247:1;53978:7;:18:::0;65980:9:::2;65993:10;65980:23;65972:48;;;;-1:-1:-1::0;;;65972:48:0::2;;;;;;;:::i;:::-;66994:8:::3;65348:4;65874:8;65858:13;15331:12:::0;;67613:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;65858:13:::3;:24;;;;:::i;:::-;:38;;65850:69;;;::::0;-1:-1:-1;;;65850:69:0;;8850:2:1;65850:69:0::3;::::0;::::3;8832:21:1::0;8889:2;8869:18;;;8862:30;-1:-1:-1;;;8908:18:1;;;8901:48;8966:18;;65850:69:0::3;8648:342:1::0;65850:69:0::3;67018:27:::4;67024:10;67036:8;67018:5;:27::i;33148:407::-:0;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;-1:-1:-1;;;;;33369:14:0;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;-1:-1:-1;;;33492:40:0;;;;;;;;;;;33403:145;33148:407;;;;:::o;19692:318::-;19765:13;19796:16;19804:7;19796;:16::i;:::-;19791:59;;19821:29;;-1:-1:-1;;;19821:29:0;;;;;;;;;;;19791:59;19863:21;19887:10;:8;:10::i;:::-;19863:34;;19921:7;19915:21;19940:1;19915:26;;:87;;;;;;;;;;;;;;;;;19968:7;19977:18;19987:7;19977:9;:18::i;:::-;19951:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19915:87;19908:94;19692:318;-1:-1:-1;;;19692:318:0:o;66168:129::-;66233:7;66276:13;15331:12;;67613:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;66276:13;66263:26;;65348:4;66263:26;:::i;:::-;66256:33;;66168:129;:::o;64225:201::-;63205:13;:11;:13::i;:::-;-1:-1:-1;;;;;64314:22:0;::::1;64306:73;;;::::0;-1:-1:-1;;;64306:73:0;;11399:2:1;64306:73:0::1;::::0;::::1;11381:21:1::0;11438:2;11418:18;;;11411:30;11477:34;11457:18;;;11450:62;-1:-1:-1;;;11528:18:1;;;11521:36;11574:19;;64306:73:0::1;11197:402:1::0;64306:73:0::1;64390:28;64409:8;64390:18;:28::i;:::-;64225:201:::0;:::o;18404:639::-;18489:4;-1:-1:-1;;;;;;;;;18813:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18890:25:0;;;18813:102;:179;;;-1:-1:-1;;;;;;;;18967:25:0;-1:-1:-1;;;18967:25:0;;18404:639::o;58424:215::-;58526:4;-1:-1:-1;;;;;;58550:41:0;;-1:-1:-1;;;58550:41:0;;:81;;-1:-1:-1;;;;;;;;;;56085:40:0;;;58595:36;55976:157;27168:282;27233:4;27289:7;67613:1;27270:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27374:44:0;:49;;27168:282::o;21854:1275::-;21921:7;21956;;67613:1;22005:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;-1:-1:-1;;;22202:24:0;;22198:845;;22867:113;22874:11;22867:113;;-1:-1:-1;;;22945:6:0;22927:25;;;;:17;:25;;;;;;22867:113;;22198:845;22073:989;22047:1015;23090:31;;-1:-1:-1;;;23090:31:0;;;;;;;;;;;16556:178;-1:-1:-1;;;;;16645:25:0;16617:7;16645:25;;;:18;:25;;10538:2;16645:25;;;;;:50;;10400:13;16644:82;;16556:178::o;67964:316::-;68063:7;68086:20;68133:1;68109:21;68123:6;68109:13;:21::i;:::-;:25;68086:48;;68163:15;:109;;68241:30;68252:19;68241:8;:30;:::i;:::-;68232:40;;:5;:40;:::i;:::-;68163:109;;;68196:18;68205:8;68196:5;:18;:::i;:::-;68145:127;67964:316;-1:-1:-1;;;;67964:316:0:o;36817:2966::-;36913:13;;36941;36937:44;;36963:18;;-1:-1:-1;;;36963:18:0;;;;;;;;;;;36937:44;-1:-1:-1;;;;;37469:22:0;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;-1:-1:-1;39616:13:0;39612:45;;39638:19;;-1:-1:-1;;;39638:19:0;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;32357:193:0;;;:::o;63484:132::-;63365:7;63392:6;-1:-1:-1;;;;;63392:6:0;49563:10;63548:23;63540:68;;;;-1:-1:-1;;;63540:68:0;;11806:2:1;63540:68:0;;;11788:21:1;;;11825:18;;;11818:30;11884:34;11864:18;;;11857:62;11936:18;;63540:68:0;11604:356:1;64586:191:0;64660:16;64679:6;;-1:-1:-1;;;;;64696:17:0;;;-1:-1:-1;;;;;;64696:17:0;;;;;;64729:40;;64679:6;;;;;;;64729:40;;64660:16;64729:40;64649:128;64586:191;:::o;35639:716::-;35823:88;;-1:-1:-1;;;35823:88:0;;35802:4;;-1:-1:-1;;;;;35823:45:0;;;;;:88;;49563:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;-1:-1:-1;;35823:88:0;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36106:13:0;;36102:235;;36152:40;;-1:-1:-1;;;36152:40:0;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;-1:-1:-1;;;;;;35982:64:0;-1:-1:-1;;;35982:64:0;;-1:-1:-1;35639:716:0;;;;;;:::o;66305:139::-;66393:13;66429:7;66422:14;;;;;:::i;49683:1745::-;49748:17;50182:4;50175;50169:11;50165:22;50274:1;50268:4;50261:15;50349:4;50346:1;50342:12;50335:19;;;50431:1;50426:3;50419:14;50535:3;50774:5;50756:428;50822:1;50817:3;50813:11;50806:18;;50993:2;50987:4;50983:13;50979:2;50975:22;50970:3;50962:36;51087:2;51077:13;;;51144:25;;51162:5;;51144:25;50756:428;;;-1:-1:-1;51214:13:0;;;-1:-1:-1;;51329:14:0;;;51391:19;;;51329:14;49683:1745;-1:-1:-1;49683:1745:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:248::-;2756:6;2764;2817:2;2805:9;2796:7;2792:23;2788:32;2785:52;;;2833:1;2830;2823:12;2785:52;-1:-1:-1;;2856:23:1;;;2926:2;2911:18;;;2898:32;;-1:-1:-1;2688:248:1:o;3220:275::-;3298:6;3351:2;3339:9;3330:7;3326:23;3322:32;3319:52;;;3367:1;3364;3357:12;3319:52;3406:9;3393:23;3445:1;3438:5;3435:12;3425:40;;3461:1;3458;3451:12;3713:127;3774:10;3769:3;3765:20;3762:1;3755:31;3805:4;3802:1;3795:15;3829:4;3826:1;3819:15;3845:632;3910:5;3940:18;3981:2;3973:6;3970:14;3967:40;;;3987:18;;:::i;:::-;4062:2;4056:9;4030:2;4116:15;;-1:-1:-1;;4112:24:1;;;4138:2;4108:33;4104:42;4092:55;;;4162:18;;;4182:22;;;4159:46;4156:72;;;4208:18;;:::i;:::-;4248:10;4244:2;4237:22;4277:6;4268:15;;4307:6;4299;4292:22;4347:3;4338:6;4333:3;4329:16;4326:25;4323:45;;;4364:1;4361;4354:12;4323:45;4414:6;4409:3;4402:4;4394:6;4390:17;4377:44;4469:1;4462:4;4453:6;4445;4441:19;4437:30;4430:41;;;;3845:632;;;;;:::o;4482:451::-;4551:6;4604:2;4592:9;4583:7;4579:23;4575:32;4572:52;;;4620:1;4617;4610:12;4572:52;4660:9;4647:23;4693:18;4685:6;4682:30;4679:50;;;4725:1;4722;4715:12;4679:50;4748:22;;4801:4;4793:13;;4789:27;-1:-1:-1;4779:55:1;;4830:1;4827;4820:12;4779:55;4853:74;4919:7;4914:2;4901:16;4896:2;4892;4888:11;4853:74;:::i;4938:186::-;4997:6;5050:2;5038:9;5029:7;5025:23;5021:32;5018:52;;;5066:1;5063;5056:12;5018:52;5089:29;5108:9;5089:29;:::i;5129:347::-;5194:6;5202;5255:2;5243:9;5234:7;5230:23;5226:32;5223:52;;;5271:1;5268;5261:12;5223:52;5294:29;5313:9;5294:29;:::i;:::-;5284:39;;5373:2;5362:9;5358:18;5345:32;5420:5;5413:13;5406:21;5399:5;5396:32;5386:60;;5442:1;5439;5432:12;5386:60;5465:5;5455:15;;;5129:347;;;;;:::o;5481:667::-;5576:6;5584;5592;5600;5653:3;5641:9;5632:7;5628:23;5624:33;5621:53;;;5670:1;5667;5660:12;5621:53;5693:29;5712:9;5693:29;:::i;:::-;5683:39;;5741:38;5775:2;5764:9;5760:18;5741:38;:::i;:::-;5731:48;;5826:2;5815:9;5811:18;5798:32;5788:42;;5881:2;5870:9;5866:18;5853:32;5908:18;5900:6;5897:30;5894:50;;;5940:1;5937;5930:12;5894:50;5963:22;;6016:4;6008:13;;6004:27;-1:-1:-1;5994:55:1;;6045:1;6042;6035:12;5994:55;6068:74;6134:7;6129:2;6116:16;6111:2;6107;6103:11;6068:74;:::i;:::-;6058:84;;;5481:667;;;;;;;:::o;6153:127::-;6214:10;6209:3;6205:20;6202:1;6195:31;6245:4;6242:1;6235:15;6269:4;6266:1;6259:15;6285:347;6436:2;6421:18;;6469:1;6458:13;;6448:144;;6514:10;6509:3;6505:20;6502:1;6495:31;6549:4;6546:1;6539:15;6577:4;6574:1;6567:15;6448:144;6601:25;;;6285:347;:::o;6637:260::-;6705:6;6713;6766:2;6754:9;6745:7;6741:23;6737:32;6734:52;;;6782:1;6779;6772:12;6734:52;6805:29;6824:9;6805:29;:::i;:::-;6795:39;;6853:38;6887:2;6876:9;6872:18;6853:38;:::i;:::-;6843:48;;6637:260;;;;;:::o;6902:380::-;6981:1;6977:12;;;;7024;;;7045:61;;7099:4;7091:6;7087:17;7077:27;;7045:61;7152:2;7144:6;7141:14;7121:18;7118:38;7115:161;;;7198:10;7193:3;7189:20;7186:1;7179:31;7233:4;7230:1;7223:15;7261:4;7258:1;7251:15;7115:161;;6902:380;;;:::o;7287:127::-;7348:10;7343:3;7339:20;7336:1;7329:31;7379:4;7376:1;7369:15;7403:4;7400:1;7393:15;7419:168;7459:7;7525:1;7521;7517:6;7513:14;7510:1;7507:21;7502:1;7495:9;7488:17;7484:45;7481:71;;;7532:18;;:::i;:::-;-1:-1:-1;7572:9:1;;7419:168::o;7592:217::-;7632:1;7658;7648:132;;7702:10;7697:3;7693:20;7690:1;7683:31;7737:4;7734:1;7727:15;7765:4;7762:1;7755:15;7648:132;-1:-1:-1;7794:9:1;;7592:217::o;7814:355::-;8016:2;7998:21;;;8055:2;8035:18;;;8028:30;8094:33;8089:2;8074:18;;8067:61;8160:2;8145:18;;7814:355::o;8174:336::-;8376:2;8358:21;;;8415:2;8395:18;;;8388:30;-1:-1:-1;;;8449:2:1;8434:18;;8427:42;8501:2;8486:18;;8174:336::o;8515:128::-;8555:3;8586:1;8582:6;8579:1;8576:13;8573:39;;;8592:18;;:::i;:::-;-1:-1:-1;8628:9:1;;8515:128::o;10592:470::-;10771:3;10809:6;10803:13;10825:53;10871:6;10866:3;10859:4;10851:6;10847:17;10825:53;:::i;:::-;10941:13;;10900:16;;;;10963:57;10941:13;10900:16;10997:4;10985:17;;10963:57;:::i;:::-;11036:20;;10592:470;-1:-1:-1;;;;10592:470:1:o;11067:125::-;11107:4;11135:1;11132;11129:8;11126:34;;;11140:18;;:::i;:::-;-1:-1:-1;11177:9:1;;11067:125::o;11965:489::-;-1:-1:-1;;;;;12234:15:1;;;12216:34;;12286:15;;12281:2;12266:18;;12259:43;12333:2;12318:18;;12311:34;;;12381:3;12376:2;12361:18;;12354:31;;;12159:4;;12402:46;;12428:19;;12420:6;12402:46;:::i;:::-;12394:54;11965:489;-1:-1:-1;;;;;;11965:489:1:o;12459:249::-;12528:6;12581:2;12569:9;12560:7;12556:23;12552:32;12549:52;;;12597:1;12594;12587:12;12549:52;12629:9;12623:16;12648:30;12672:5;12648:30;:::i

Swarm Source

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