APE Price: $1.26 (-19.36%)

Sproto Apes (SAPE)

Overview

TokenID

518

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
SprotoApes

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-10-22
*/

// 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/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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 v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: contracts/SprotoApes.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;




contract SprotoApes is ERC721A, Ownable(msg.sender) {
    using Strings for uint256;

    uint256 public maxSupply = 1000;
    uint256 public maxPerTx = 10;
    uint256 public mintPrice = 2 ether;
    bool public sale;
    string public baseURI = "ipfs://QmWzhHkefkqTPmwTrP6ueo9fVXu9DwxuhPdLyrM1hKygeW/";

    error SalePaused();
    error MaxSupplyReached();
    error MaxPerTxReached();
    error NotEnoughETH();

    constructor() ERC721A("Sproto Apes", "SAPE") {}

    function mint(uint256 _amount) external payable {
        if (!sale) revert SalePaused();
        if (_totalMinted() + _amount > maxSupply) revert MaxSupplyReached();
        if (msg.value < mintPrice * _amount) revert NotEnoughETH();
        if (_amount > maxPerTx) revert MaxPerTxReached();

        _mint(msg.sender, _amount);
    }

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

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

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

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

    function toggleSale() external onlyOwner {
        sale = !sale;
    }

    function airdrop(uint256 _amount) external onlyOwner {
        _mint(_msgSender(), _amount);
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        maxSupply = _maxSupply;
    }

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

    function setMaxPerTx(uint256 _maxPerTx) external onlyOwner {
        maxPerTx = _maxPerTx;
    }

    function withdraw() external onlyOwner {
        (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":"MaxPerTxReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SalePaused","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600955600a8055671bc16d674ec80000600b55604051806060016040528060368152602001612ff260369139600d9081610041919061047a565b5034801561004d575f80fd5b50336040518060400160405280600b81526020017f5370726f746f20417065730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f534150450000000000000000000000000000000000000000000000000000000081525081600290816100ca919061047a565b5080600390816100da919061047a565b506100e961017560201b60201c565b5f8190555050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610160575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101579190610588565b60405180910390fd5b61016f8161017d60201b60201c565b506105a1565b5f6001905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102bb57607f821691505b6020821081036102ce576102cd610277565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826102f5565b61033a86836102f5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61037e61037961037484610352565b61035b565b610352565b9050919050565b5f819050919050565b61039783610364565b6103ab6103a382610385565b848454610301565b825550505050565b5f90565b6103bf6103b3565b6103ca81848461038e565b505050565b5b818110156103ed576103e25f826103b7565b6001810190506103d0565b5050565b601f82111561043257610403816102d4565b61040c846102e6565b8101602085101561041b578190505b61042f610427856102e6565b8301826103cf565b50505b505050565b5f82821c905092915050565b5f6104525f1984600802610437565b1980831691505092915050565b5f61046a8383610443565b9150826002028217905092915050565b61048382610240565b67ffffffffffffffff81111561049c5761049b61024a565b5b6104a682546102a4565b6104b18282856103f1565b5f60209050601f8311600181146104e2575f84156104d0578287015190505b6104da858261045f565b865550610541565b601f1984166104f0866102d4565b5f5b82811015610517578489015182556001820191506020850194506020810190506104f2565b868310156105345784890151610530601f891682610443565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61057282610549565b9050919050565b61058281610568565b82525050565b5f60208201905061059b5f830184610579565b92915050565b612a44806105ae5f395ff3fe6080604052600436106101cc575f3560e01c8063715018a6116100f6578063b88d4fde11610094578063e985e9c511610063578063e985e9c5146105e2578063f2fde38b1461061e578063f4a0a52814610646578063f968adbe1461066e576101cc565b8063b88d4fde14610538578063c6f6f21614610554578063c87b56dd1461057c578063d5abeb01146105b8576101cc565b806395d89b41116100d057806395d89b41146104a257806397dc4a13146104cc578063a0712d68146104f4578063a22cb46514610510576101cc565b8063715018a61461044c5780637d8966e4146104625780638da5cb5b14610478576101cc565b806342842e0e1161016e5780636ad1fe021161013d5780636ad1fe02146103945780636c0360eb146103be5780636f8b44b0146103e857806370a0823114610410576101cc565b806342842e0e146102ea57806355f804b3146103065780636352211e1461032e5780636817c76c1461036a576101cc565b8063095ea7b3116101aa578063095ea7b31461027257806318160ddd1461028e57806323b872dd146102b85780633ccfd60b146102d4576101cc565b806301ffc9a7146101d057806306fdde031461020c578063081812fc14610236575b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f19190611d4d565b610698565b6040516102039190611d92565b60405180910390f35b348015610217575f80fd5b50610220610729565b60405161022d9190611e1b565b60405180910390f35b348015610241575f80fd5b5061025c60048036038101906102579190611e6e565b6107b9565b6040516102699190611ed8565b60405180910390f35b61028c60048036038101906102879190611f1b565b610833565b005b348015610299575f80fd5b506102a2610972565b6040516102af9190611f68565b60405180910390f35b6102d260048036038101906102cd9190611f81565b610987565b005b3480156102df575f80fd5b506102e8610c95565b005b61030460048036038101906102ff9190611f81565b610d48565b005b348015610311575f80fd5b5061032c600480360381019061032791906120fd565b610d67565b005b348015610339575f80fd5b50610354600480360381019061034f9190611e6e565b610d82565b6040516103619190611ed8565b60405180910390f35b348015610375575f80fd5b5061037e610d93565b60405161038b9190611f68565b60405180910390f35b34801561039f575f80fd5b506103a8610d99565b6040516103b59190611d92565b60405180910390f35b3480156103c9575f80fd5b506103d2610dab565b6040516103df9190611e1b565b60405180910390f35b3480156103f3575f80fd5b5061040e60048036038101906104099190611e6e565b610e37565b005b34801561041b575f80fd5b5061043660048036038101906104319190612144565b610e49565b6040516104439190611f68565b60405180910390f35b348015610457575f80fd5b50610460610efe565b005b34801561046d575f80fd5b50610476610f11565b005b348015610483575f80fd5b5061048c610f43565b6040516104999190611ed8565b60405180910390f35b3480156104ad575f80fd5b506104b6610f6b565b6040516104c39190611e1b565b60405180910390f35b3480156104d7575f80fd5b506104f260048036038101906104ed9190611e6e565b610ffb565b005b61050e60048036038101906105099190611e6e565b611017565b005b34801561051b575f80fd5b5061053660048036038101906105319190612199565b61113a565b005b610552600480360381019061054d9190612275565b611240565b005b34801561055f575f80fd5b5061057a60048036038101906105759190611e6e565b6112b2565b005b348015610587575f80fd5b506105a2600480360381019061059d9190611e6e565b6112c4565b6040516105af9190611e1b565b60405180910390f35b3480156105c3575f80fd5b506105cc611340565b6040516105d99190611f68565b60405180910390f35b3480156105ed575f80fd5b50610608600480360381019061060391906122f5565b611346565b6040516106159190611d92565b60405180910390f35b348015610629575f80fd5b50610644600480360381019061063f9190612144565b6113d4565b005b348015610651575f80fd5b5061066c60048036038101906106679190611e6e565b611458565b005b348015610679575f80fd5b5061068261146a565b60405161068f9190611f68565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107225750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461073890612360565b80601f016020809104026020016040519081016040528092919081815260200182805461076490612360565b80156107af5780601f10610786576101008083540402835291602001916107af565b820191905f5260205f20905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b5f6107c382611470565b6107f9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61083d82610d82565b90508073ffffffffffffffffffffffffffffffffffffffff1661085e6114ca565b73ffffffffffffffffffffffffffffffffffffffff16146108c15761088a816108856114ca565b611346565b6108c0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f61097b6114d1565b6001545f540303905090565b5f610991826114d9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109f8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610a038461159c565b91509150610a198187610a146114ca565b6115bf565b610a6557610a2e86610a296114ca565b611346565b610a64576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610aca576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad78686866001611602565b8015610ae1575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610ba985610b85888887611608565b7c02000000000000000000000000000000000000000000000000000000001761162f565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c25575f6001850190505f60045f8381526020019081526020015f205403610c23575f548114610c22578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c8d8686866001611659565b505050505050565b610c9d61165f565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610cc2906123bd565b5f6040518083038185875af1925050503d805f8114610cfc576040519150601f19603f3d011682016040523d82523d5f602084013e610d01565b606091505b5050905080610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c9061241b565b60405180910390fd5b50565b610d6283838360405180602001604052805f815250611240565b505050565b610d6f61165f565b80600d9081610d7e91906125d6565b5050565b5f610d8c826114d9565b9050919050565b600b5481565b600c5f9054906101000a900460ff1681565b600d8054610db890612360565b80601f0160208091040260200160405190810160405280929190818152602001828054610de490612360565b8015610e2f5780601f10610e0657610100808354040283529160200191610e2f565b820191905f5260205f20905b815481529060010190602001808311610e1257829003601f168201915b505050505081565b610e3f61165f565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eaf576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f0661165f565b610f0f5f6116e6565b565b610f1961165f565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610f7a90612360565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa690612360565b8015610ff15780601f10610fc857610100808354040283529160200191610ff1565b820191905f5260205f20905b815481529060010190602001808311610fd457829003601f168201915b5050505050905090565b61100361165f565b61101461100e6117a9565b826117b0565b50565b600c5f9054906101000a900460ff1661105c576040517f8a98cbd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481611068611959565b61107291906126d2565b11156110aa576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b546110b89190612705565b3410156110f1576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481111561112d576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61113733826117b0565b50565b8060075f6111466114ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111ef6114ca565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112349190611d92565b60405180910390a35050565b61124b848484610987565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146112ac576112758484848461196a565b6112ab576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6112ba61165f565b80600a8190555050565b60606112cf82611470565b61130e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611305906127b6565b60405180910390fd5b600d61131983611ab5565b60405160200161132a9291906128d8565b6040516020818303038152906040529050919050565b60095481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6113dc61165f565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361144c575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016114439190611ed8565b60405180910390fd5b611455816116e6565b50565b61146061165f565b80600b8190555050565b600a5481565b5f8161147a6114d1565b1115801561148857505f5482105b80156114c357505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806114e76114d1565b11611565575f54811015611564575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611562575b5f81036115585760045f836001900393508381526020019081526020015f20549050611531565b8092505050611597565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861161e868684611b7f565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116676117a9565b73ffffffffffffffffffffffffffffffffffffffff16611685610f43565b73ffffffffffffffffffffffffffffffffffffffff16146116e4576116a86117a9565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016116db9190611ed8565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f805490505f82036117ee576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117fa5f848385611602565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555061186c8361185d5f865f611608565b61186685611b87565b1761162f565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146119065780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506118cd565b505f8203611940576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506119545f848385611659565b505050565b5f6119626114d1565b5f5403905090565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261198f6114ca565b8786866040518563ffffffff1660e01b81526004016119b19493929190612958565b6020604051808303815f875af19250505080156119ec57506040513d601f19601f820116820180604052508101906119e991906129b6565b60015b611a62573d805f8114611a1a576040519150601f19603f3d011682016040523d82523d5f602084013e611a1f565b606091505b505f815103611a5a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611ac384611b96565b0190505f8167ffffffffffffffff811115611ae157611ae0611fd9565b5b6040519080825280601f01601f191660200182016040528015611b135781602001600182028036833780820191505090505b5090505f82602001820190505b600115611b74578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611b6957611b686129e1565b5b0494505f8503611b20575b819350505050919050565b5f9392505050565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611bf2577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611be857611be76129e1565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611c2f576d04ee2d6d415b85acef81000000008381611c2557611c246129e1565b5b0492506020810190505b662386f26fc100008310611c5e57662386f26fc100008381611c5457611c536129e1565b5b0492506010810190505b6305f5e1008310611c87576305f5e1008381611c7d57611c7c6129e1565b5b0492506008810190505b6127108310611cac576127108381611ca257611ca16129e1565b5b0492506004810190505b60648310611ccf5760648381611cc557611cc46129e1565b5b0492506002810190505b600a8310611cde576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611d2c81611cf8565b8114611d36575f80fd5b50565b5f81359050611d4781611d23565b92915050565b5f60208284031215611d6257611d61611cf0565b5b5f611d6f84828501611d39565b91505092915050565b5f8115159050919050565b611d8c81611d78565b82525050565b5f602082019050611da55f830184611d83565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611ded82611dab565b611df78185611db5565b9350611e07818560208601611dc5565b611e1081611dd3565b840191505092915050565b5f6020820190508181035f830152611e338184611de3565b905092915050565b5f819050919050565b611e4d81611e3b565b8114611e57575f80fd5b50565b5f81359050611e6881611e44565b92915050565b5f60208284031215611e8357611e82611cf0565b5b5f611e9084828501611e5a565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ec282611e99565b9050919050565b611ed281611eb8565b82525050565b5f602082019050611eeb5f830184611ec9565b92915050565b611efa81611eb8565b8114611f04575f80fd5b50565b5f81359050611f1581611ef1565b92915050565b5f8060408385031215611f3157611f30611cf0565b5b5f611f3e85828601611f07565b9250506020611f4f85828601611e5a565b9150509250929050565b611f6281611e3b565b82525050565b5f602082019050611f7b5f830184611f59565b92915050565b5f805f60608486031215611f9857611f97611cf0565b5b5f611fa586828701611f07565b9350506020611fb686828701611f07565b9250506040611fc786828701611e5a565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61200f82611dd3565b810181811067ffffffffffffffff8211171561202e5761202d611fd9565b5b80604052505050565b5f612040611ce7565b905061204c8282612006565b919050565b5f67ffffffffffffffff82111561206b5761206a611fd9565b5b61207482611dd3565b9050602081019050919050565b828183375f83830152505050565b5f6120a161209c84612051565b612037565b9050828152602081018484840111156120bd576120bc611fd5565b5b6120c8848285612081565b509392505050565b5f82601f8301126120e4576120e3611fd1565b5b81356120f484826020860161208f565b91505092915050565b5f6020828403121561211257612111611cf0565b5b5f82013567ffffffffffffffff81111561212f5761212e611cf4565b5b61213b848285016120d0565b91505092915050565b5f6020828403121561215957612158611cf0565b5b5f61216684828501611f07565b91505092915050565b61217881611d78565b8114612182575f80fd5b50565b5f813590506121938161216f565b92915050565b5f80604083850312156121af576121ae611cf0565b5b5f6121bc85828601611f07565b92505060206121cd85828601612185565b9150509250929050565b5f67ffffffffffffffff8211156121f1576121f0611fd9565b5b6121fa82611dd3565b9050602081019050919050565b5f612219612214846121d7565b612037565b90508281526020810184848401111561223557612234611fd5565b5b612240848285612081565b509392505050565b5f82601f83011261225c5761225b611fd1565b5b813561226c848260208601612207565b91505092915050565b5f805f806080858703121561228d5761228c611cf0565b5b5f61229a87828801611f07565b94505060206122ab87828801611f07565b93505060406122bc87828801611e5a565b925050606085013567ffffffffffffffff8111156122dd576122dc611cf4565b5b6122e987828801612248565b91505092959194509250565b5f806040838503121561230b5761230a611cf0565b5b5f61231885828601611f07565b925050602061232985828601611f07565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061237757607f821691505b60208210810361238a57612389612333565b5b50919050565b5f81905092915050565b50565b5f6123a85f83612390565b91506123b38261239a565b5f82019050919050565b5f6123c78261239d565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f612405600f83611db5565b9150612410826123d1565b602082019050919050565b5f6020820190508181035f830152612432816123f9565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026124957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261245a565b61249f868361245a565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6124da6124d56124d084611e3b565b6124b7565b611e3b565b9050919050565b5f819050919050565b6124f3836124c0565b6125076124ff826124e1565b848454612466565b825550505050565b5f90565b61251b61250f565b6125268184846124ea565b505050565b5b818110156125495761253e5f82612513565b60018101905061252c565b5050565b601f82111561258e5761255f81612439565b6125688461244b565b81016020851015612577578190505b61258b6125838561244b565b83018261252b565b50505b505050565b5f82821c905092915050565b5f6125ae5f1984600802612593565b1980831691505092915050565b5f6125c6838361259f565b9150826002028217905092915050565b6125df82611dab565b67ffffffffffffffff8111156125f8576125f7611fd9565b5b6126028254612360565b61260d82828561254d565b5f60209050601f83116001811461263e575f841561262c578287015190505b61263685826125bb565b86555061269d565b601f19841661264c86612439565b5f5b828110156126735784890151825560018201915060208501945060208101905061264e565b86831015612690578489015161268c601f89168261259f565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6126dc82611e3b565b91506126e783611e3b565b92508282019050808211156126ff576126fe6126a5565b5b92915050565b5f61270f82611e3b565b915061271a83611e3b565b925082820261272881611e3b565b9150828204841483151761273f5761273e6126a5565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f6127a0602f83611db5565b91506127ab82612746565b604082019050919050565b5f6020820190508181035f8301526127cd81612794565b9050919050565b5f81905092915050565b5f81546127ea81612360565b6127f481866127d4565b9450600182165f811461280e576001811461282357612855565b60ff1983168652811515820286019350612855565b61282c85612439565b5f5b8381101561284d5781548189015260018201915060208101905061282e565b838801955050505b50505092915050565b5f61286882611dab565b61287281856127d4565b9350612882818560208601611dc5565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6128c26005836127d4565b91506128cd8261288e565b600582019050919050565b5f6128e382856127de565b91506128ef828461285e565b91506128fa826128b6565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f61292a82612906565b6129348185612910565b9350612944818560208601611dc5565b61294d81611dd3565b840191505092915050565b5f60808201905061296b5f830187611ec9565b6129786020830186611ec9565b6129856040830185611f59565b81810360608301526129978184612920565b905095945050505050565b5f815190506129b081611d23565b92915050565b5f602082840312156129cb576129ca611cf0565b5b5f6129d8848285016129a2565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea26469706673582212202a6908828e869bb600fe1cc10ac4defa0723de5b6544a37ad89666e109f4074464736f6c634300081a0033697066733a2f2f516d577a68486b65666b7154506d775472503675656f396656587539447778756850644c79724d31684b796765572f

Deployed Bytecode

0x6080604052600436106101cc575f3560e01c8063715018a6116100f6578063b88d4fde11610094578063e985e9c511610063578063e985e9c5146105e2578063f2fde38b1461061e578063f4a0a52814610646578063f968adbe1461066e576101cc565b8063b88d4fde14610538578063c6f6f21614610554578063c87b56dd1461057c578063d5abeb01146105b8576101cc565b806395d89b41116100d057806395d89b41146104a257806397dc4a13146104cc578063a0712d68146104f4578063a22cb46514610510576101cc565b8063715018a61461044c5780637d8966e4146104625780638da5cb5b14610478576101cc565b806342842e0e1161016e5780636ad1fe021161013d5780636ad1fe02146103945780636c0360eb146103be5780636f8b44b0146103e857806370a0823114610410576101cc565b806342842e0e146102ea57806355f804b3146103065780636352211e1461032e5780636817c76c1461036a576101cc565b8063095ea7b3116101aa578063095ea7b31461027257806318160ddd1461028e57806323b872dd146102b85780633ccfd60b146102d4576101cc565b806301ffc9a7146101d057806306fdde031461020c578063081812fc14610236575b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f19190611d4d565b610698565b6040516102039190611d92565b60405180910390f35b348015610217575f80fd5b50610220610729565b60405161022d9190611e1b565b60405180910390f35b348015610241575f80fd5b5061025c60048036038101906102579190611e6e565b6107b9565b6040516102699190611ed8565b60405180910390f35b61028c60048036038101906102879190611f1b565b610833565b005b348015610299575f80fd5b506102a2610972565b6040516102af9190611f68565b60405180910390f35b6102d260048036038101906102cd9190611f81565b610987565b005b3480156102df575f80fd5b506102e8610c95565b005b61030460048036038101906102ff9190611f81565b610d48565b005b348015610311575f80fd5b5061032c600480360381019061032791906120fd565b610d67565b005b348015610339575f80fd5b50610354600480360381019061034f9190611e6e565b610d82565b6040516103619190611ed8565b60405180910390f35b348015610375575f80fd5b5061037e610d93565b60405161038b9190611f68565b60405180910390f35b34801561039f575f80fd5b506103a8610d99565b6040516103b59190611d92565b60405180910390f35b3480156103c9575f80fd5b506103d2610dab565b6040516103df9190611e1b565b60405180910390f35b3480156103f3575f80fd5b5061040e60048036038101906104099190611e6e565b610e37565b005b34801561041b575f80fd5b5061043660048036038101906104319190612144565b610e49565b6040516104439190611f68565b60405180910390f35b348015610457575f80fd5b50610460610efe565b005b34801561046d575f80fd5b50610476610f11565b005b348015610483575f80fd5b5061048c610f43565b6040516104999190611ed8565b60405180910390f35b3480156104ad575f80fd5b506104b6610f6b565b6040516104c39190611e1b565b60405180910390f35b3480156104d7575f80fd5b506104f260048036038101906104ed9190611e6e565b610ffb565b005b61050e60048036038101906105099190611e6e565b611017565b005b34801561051b575f80fd5b5061053660048036038101906105319190612199565b61113a565b005b610552600480360381019061054d9190612275565b611240565b005b34801561055f575f80fd5b5061057a60048036038101906105759190611e6e565b6112b2565b005b348015610587575f80fd5b506105a2600480360381019061059d9190611e6e565b6112c4565b6040516105af9190611e1b565b60405180910390f35b3480156105c3575f80fd5b506105cc611340565b6040516105d99190611f68565b60405180910390f35b3480156105ed575f80fd5b50610608600480360381019061060391906122f5565b611346565b6040516106159190611d92565b60405180910390f35b348015610629575f80fd5b50610644600480360381019061063f9190612144565b6113d4565b005b348015610651575f80fd5b5061066c60048036038101906106679190611e6e565b611458565b005b348015610679575f80fd5b5061068261146a565b60405161068f9190611f68565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107225750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461073890612360565b80601f016020809104026020016040519081016040528092919081815260200182805461076490612360565b80156107af5780601f10610786576101008083540402835291602001916107af565b820191905f5260205f20905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b5f6107c382611470565b6107f9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61083d82610d82565b90508073ffffffffffffffffffffffffffffffffffffffff1661085e6114ca565b73ffffffffffffffffffffffffffffffffffffffff16146108c15761088a816108856114ca565b611346565b6108c0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f61097b6114d1565b6001545f540303905090565b5f610991826114d9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109f8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610a038461159c565b91509150610a198187610a146114ca565b6115bf565b610a6557610a2e86610a296114ca565b611346565b610a64576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610aca576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad78686866001611602565b8015610ae1575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610ba985610b85888887611608565b7c02000000000000000000000000000000000000000000000000000000001761162f565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c25575f6001850190505f60045f8381526020019081526020015f205403610c23575f548114610c22578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c8d8686866001611659565b505050505050565b610c9d61165f565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610cc2906123bd565b5f6040518083038185875af1925050503d805f8114610cfc576040519150601f19603f3d011682016040523d82523d5f602084013e610d01565b606091505b5050905080610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c9061241b565b60405180910390fd5b50565b610d6283838360405180602001604052805f815250611240565b505050565b610d6f61165f565b80600d9081610d7e91906125d6565b5050565b5f610d8c826114d9565b9050919050565b600b5481565b600c5f9054906101000a900460ff1681565b600d8054610db890612360565b80601f0160208091040260200160405190810160405280929190818152602001828054610de490612360565b8015610e2f5780601f10610e0657610100808354040283529160200191610e2f565b820191905f5260205f20905b815481529060010190602001808311610e1257829003601f168201915b505050505081565b610e3f61165f565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eaf576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f0661165f565b610f0f5f6116e6565b565b610f1961165f565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610f7a90612360565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa690612360565b8015610ff15780601f10610fc857610100808354040283529160200191610ff1565b820191905f5260205f20905b815481529060010190602001808311610fd457829003601f168201915b5050505050905090565b61100361165f565b61101461100e6117a9565b826117b0565b50565b600c5f9054906101000a900460ff1661105c576040517f8a98cbd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481611068611959565b61107291906126d2565b11156110aa576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b546110b89190612705565b3410156110f1576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481111561112d576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61113733826117b0565b50565b8060075f6111466114ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111ef6114ca565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112349190611d92565b60405180910390a35050565b61124b848484610987565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146112ac576112758484848461196a565b6112ab576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6112ba61165f565b80600a8190555050565b60606112cf82611470565b61130e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611305906127b6565b60405180910390fd5b600d61131983611ab5565b60405160200161132a9291906128d8565b6040516020818303038152906040529050919050565b60095481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6113dc61165f565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361144c575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016114439190611ed8565b60405180910390fd5b611455816116e6565b50565b61146061165f565b80600b8190555050565b600a5481565b5f8161147a6114d1565b1115801561148857505f5482105b80156114c357505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806114e76114d1565b11611565575f54811015611564575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611562575b5f81036115585760045f836001900393508381526020019081526020015f20549050611531565b8092505050611597565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861161e868684611b7f565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116676117a9565b73ffffffffffffffffffffffffffffffffffffffff16611685610f43565b73ffffffffffffffffffffffffffffffffffffffff16146116e4576116a86117a9565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016116db9190611ed8565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f805490505f82036117ee576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117fa5f848385611602565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555061186c8361185d5f865f611608565b61186685611b87565b1761162f565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146119065780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506118cd565b505f8203611940576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506119545f848385611659565b505050565b5f6119626114d1565b5f5403905090565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261198f6114ca565b8786866040518563ffffffff1660e01b81526004016119b19493929190612958565b6020604051808303815f875af19250505080156119ec57506040513d601f19601f820116820180604052508101906119e991906129b6565b60015b611a62573d805f8114611a1a576040519150601f19603f3d011682016040523d82523d5f602084013e611a1f565b606091505b505f815103611a5a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611ac384611b96565b0190505f8167ffffffffffffffff811115611ae157611ae0611fd9565b5b6040519080825280601f01601f191660200182016040528015611b135781602001600182028036833780820191505090505b5090505f82602001820190505b600115611b74578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611b6957611b686129e1565b5b0494505f8503611b20575b819350505050919050565b5f9392505050565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611bf2577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611be857611be76129e1565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611c2f576d04ee2d6d415b85acef81000000008381611c2557611c246129e1565b5b0492506020810190505b662386f26fc100008310611c5e57662386f26fc100008381611c5457611c536129e1565b5b0492506010810190505b6305f5e1008310611c87576305f5e1008381611c7d57611c7c6129e1565b5b0492506008810190505b6127108310611cac576127108381611ca257611ca16129e1565b5b0492506004810190505b60648310611ccf5760648381611cc557611cc46129e1565b5b0492506002810190505b600a8310611cde576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611d2c81611cf8565b8114611d36575f80fd5b50565b5f81359050611d4781611d23565b92915050565b5f60208284031215611d6257611d61611cf0565b5b5f611d6f84828501611d39565b91505092915050565b5f8115159050919050565b611d8c81611d78565b82525050565b5f602082019050611da55f830184611d83565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611ded82611dab565b611df78185611db5565b9350611e07818560208601611dc5565b611e1081611dd3565b840191505092915050565b5f6020820190508181035f830152611e338184611de3565b905092915050565b5f819050919050565b611e4d81611e3b565b8114611e57575f80fd5b50565b5f81359050611e6881611e44565b92915050565b5f60208284031215611e8357611e82611cf0565b5b5f611e9084828501611e5a565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ec282611e99565b9050919050565b611ed281611eb8565b82525050565b5f602082019050611eeb5f830184611ec9565b92915050565b611efa81611eb8565b8114611f04575f80fd5b50565b5f81359050611f1581611ef1565b92915050565b5f8060408385031215611f3157611f30611cf0565b5b5f611f3e85828601611f07565b9250506020611f4f85828601611e5a565b9150509250929050565b611f6281611e3b565b82525050565b5f602082019050611f7b5f830184611f59565b92915050565b5f805f60608486031215611f9857611f97611cf0565b5b5f611fa586828701611f07565b9350506020611fb686828701611f07565b9250506040611fc786828701611e5a565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61200f82611dd3565b810181811067ffffffffffffffff8211171561202e5761202d611fd9565b5b80604052505050565b5f612040611ce7565b905061204c8282612006565b919050565b5f67ffffffffffffffff82111561206b5761206a611fd9565b5b61207482611dd3565b9050602081019050919050565b828183375f83830152505050565b5f6120a161209c84612051565b612037565b9050828152602081018484840111156120bd576120bc611fd5565b5b6120c8848285612081565b509392505050565b5f82601f8301126120e4576120e3611fd1565b5b81356120f484826020860161208f565b91505092915050565b5f6020828403121561211257612111611cf0565b5b5f82013567ffffffffffffffff81111561212f5761212e611cf4565b5b61213b848285016120d0565b91505092915050565b5f6020828403121561215957612158611cf0565b5b5f61216684828501611f07565b91505092915050565b61217881611d78565b8114612182575f80fd5b50565b5f813590506121938161216f565b92915050565b5f80604083850312156121af576121ae611cf0565b5b5f6121bc85828601611f07565b92505060206121cd85828601612185565b9150509250929050565b5f67ffffffffffffffff8211156121f1576121f0611fd9565b5b6121fa82611dd3565b9050602081019050919050565b5f612219612214846121d7565b612037565b90508281526020810184848401111561223557612234611fd5565b5b612240848285612081565b509392505050565b5f82601f83011261225c5761225b611fd1565b5b813561226c848260208601612207565b91505092915050565b5f805f806080858703121561228d5761228c611cf0565b5b5f61229a87828801611f07565b94505060206122ab87828801611f07565b93505060406122bc87828801611e5a565b925050606085013567ffffffffffffffff8111156122dd576122dc611cf4565b5b6122e987828801612248565b91505092959194509250565b5f806040838503121561230b5761230a611cf0565b5b5f61231885828601611f07565b925050602061232985828601611f07565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061237757607f821691505b60208210810361238a57612389612333565b5b50919050565b5f81905092915050565b50565b5f6123a85f83612390565b91506123b38261239a565b5f82019050919050565b5f6123c78261239d565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f612405600f83611db5565b9150612410826123d1565b602082019050919050565b5f6020820190508181035f830152612432816123f9565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026124957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261245a565b61249f868361245a565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6124da6124d56124d084611e3b565b6124b7565b611e3b565b9050919050565b5f819050919050565b6124f3836124c0565b6125076124ff826124e1565b848454612466565b825550505050565b5f90565b61251b61250f565b6125268184846124ea565b505050565b5b818110156125495761253e5f82612513565b60018101905061252c565b5050565b601f82111561258e5761255f81612439565b6125688461244b565b81016020851015612577578190505b61258b6125838561244b565b83018261252b565b50505b505050565b5f82821c905092915050565b5f6125ae5f1984600802612593565b1980831691505092915050565b5f6125c6838361259f565b9150826002028217905092915050565b6125df82611dab565b67ffffffffffffffff8111156125f8576125f7611fd9565b5b6126028254612360565b61260d82828561254d565b5f60209050601f83116001811461263e575f841561262c578287015190505b61263685826125bb565b86555061269d565b601f19841661264c86612439565b5f5b828110156126735784890151825560018201915060208501945060208101905061264e565b86831015612690578489015161268c601f89168261259f565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6126dc82611e3b565b91506126e783611e3b565b92508282019050808211156126ff576126fe6126a5565b5b92915050565b5f61270f82611e3b565b915061271a83611e3b565b925082820261272881611e3b565b9150828204841483151761273f5761273e6126a5565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f6127a0602f83611db5565b91506127ab82612746565b604082019050919050565b5f6020820190508181035f8301526127cd81612794565b9050919050565b5f81905092915050565b5f81546127ea81612360565b6127f481866127d4565b9450600182165f811461280e576001811461282357612855565b60ff1983168652811515820286019350612855565b61282c85612439565b5f5b8381101561284d5781548189015260018201915060208101905061282e565b838801955050505b50505092915050565b5f61286882611dab565b61287281856127d4565b9350612882818560208601611dc5565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6128c26005836127d4565b91506128cd8261288e565b600582019050919050565b5f6128e382856127de565b91506128ef828461285e565b91506128fa826128b6565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f61292a82612906565b6129348185612910565b9350612944818560208601611dc5565b61294d81611dd3565b840191505092915050565b5f60808201905061296b5f830187611ec9565b6129786020830186611ec9565b6129856040830185611f59565b81810360608301526129978184612920565b905095945050505050565b5f815190506129b081611d23565b92915050565b5f602082840312156129cb576129ca611cf0565b5b5f6129d8848285016129a2565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea26469706673582212202a6908828e869bb600fe1cc10ac4defa0723de5b6544a37ad89666e109f4074464736f6c634300081a0033

Deployed Bytecode Sourcemap

75659:2221:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18404:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25797:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25230:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;15057:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29436:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77705:172;;;;;;;;;;;;;:::i;:::-;;32357:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76856:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20699:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75825:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75866:16;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75889:80;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77379:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16241:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54689:103;;;;;;;;;;;;;:::i;:::-;;77191:72;;;;;;;;;;;;;:::i;:::-;;54014:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19482:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77271:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76148:342;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26355:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;33148:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77599:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76498:350;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75752:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26746:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54947:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77489:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75790:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18404:639;18489:4;18828:10;18813:25;;:11;:25;;;;:102;;;;18905:10;18890:25;;:11;:25;;;;18813:102;:179;;;;18982:10;18967:25;;:11;:25;;;;18813:179;18793:199;;18404:639;;;:::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;;;;;;;;;;;;;;25893:64;25977:15;:24;25993:7;25977:24;;;;;;;;;;;:30;;;;;;;;;;;;25970:37;;25797:218;;;:::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;;25391:5;25368:28;;:19;:17;:19::i;:::-;:28;;;25364:175;;25416:44;25433:5;25440:19;:17;:19::i;:::-;25416:16;:44::i;:::-;25411:128;;25488:35;;;;;;;;;;;;;;25411:128;25364:175;25584:2;25551:15;:24;25567:7;25551:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;25622:7;25618:2;25602:28;;25611:5;25602:28;;;;;;;;;;;;25308:330;25230:408;;:::o;15057:323::-;15118:7;15346:15;:13;:15::i;:::-;15331:12;;15315:13;;:28;:46;15308:53;;15057:323;:::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;29652:45;;29668:19;29652:45;;;29648:86;;29706:28;;;;;;;;;;;;;;29648:86;29748:27;29777:23;29804:35;29831:7;29804:26;:35::i;:::-;29747:92;;;;29939:68;29964:15;29981:4;29987:19;:17;:19::i;:::-;29939:24;:68::i;:::-;29934:180;;30027:43;30044:4;30050:19;:17;:19::i;:::-;30027:16;:43::i;:::-;30022:92;;30079:35;;;;;;;;;;;;;;30022:92;29934:180;30145:1;30131:16;;:2;:16;;;30127:52;;30156:23;;;;;;;;;;;;;;30127:52;30192:43;30214:4;30220:2;30224:7;30233:1;30192:21;:43::i;:::-;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;30865:18;:24;30884:4;30865:24;;;;;;;;;;;;;;;;30863:26;;;;;;;;;;;;30934:18;:22;30953:2;30934:22;;;;;;;;;;;;;;;;30932:24;;;;;;;;;;;31256:146;31293:2;31342:45;31357:4;31363:2;31367:19;31342:14;:45::i;:::-;11456:8;31314:73;31256:18;:146::i;:::-;31227:17;:26;31245:7;31227:26;;;;;;;;;;;:175;;;;31573:1;11456:8;31522:19;:47;:52;31518:627;;31595:19;31627:1;31617:7;:11;31595:33;;31784:1;31750:17;:30;31768:11;31750:30;;;;;;;;;;;;:35;31746:384;;31888:13;;31873:11;:28;31869:242;;32068:19;32035:17;:30;32053:11;32035:30;;;;;;;;;;;:52;;;;31869:242;31746:384;31576:569;31518:627;32192:7;32188:2;32173:27;;32182:4;32173:27;;;;;;;;;;;;32211:42;32232:4;32238:2;32242:7;32251:1;32211:20;:42::i;:::-;29567:2694;;;29436:2825;;;:::o;77705:172::-;53900:13;:11;:13::i;:::-;77756:12:::1;77774:10;:15;;77797:21;77774:49;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77755:68;;;77842:7;77834:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;77744:133;77705:172::o:0;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;76856:102::-;53900:13;:11;:13::i;:::-;76941:9:::1;76931:7;:19;;;;;;:::i;:::-;;76856:102:::0;:::o;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;:::-;20791:52;;20699:152;;;:::o;75825:34::-;;;;:::o;75866:16::-;;;;;;;;;;;;;:::o;75889:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;77379:102::-;53900:13;:11;:13::i;:::-;77463:10:::1;77451:9;:22;;;;77379:102:::0;:::o;16241:233::-;16313:7;16354:1;16337:19;;:5;:19;;;16333:60;;16365:28;;;;;;;;;;;;;;16333:60;10400:13;16411:18;:25;16430:5;16411:25;;;;;;;;;;;;;;;;:55;16404:62;;16241:233;;;:::o;54689:103::-;53900:13;:11;:13::i;:::-;54754:30:::1;54781:1;54754:18;:30::i;:::-;54689:103::o:0;77191:72::-;53900:13;:11;:13::i;:::-;77251:4:::1;;;;;;;;;;;77250:5;77243:4;;:12;;;;;;;;;;;;;;;;;;77191:72::o:0;54014:87::-;54060:7;54087:6;;;;;;;;;;;54080:13;;54014:87;:::o;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19482:104;:::o;77271:100::-;53900:13;:11;:13::i;:::-;77335:28:::1;77341:12;:10;:12::i;:::-;77355:7;77335:5;:28::i;:::-;77271:100:::0;:::o;76148:342::-;76212:4;;;;;;;;;;;76207:30;;76225:12;;;;;;;;;;;;;;76207:30;76279:9;;76269:7;76252:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;76248:67;;;76297:18;;;;;;;;;;;;;;76248:67;76354:7;76342:9;;:19;;;;:::i;:::-;76330:9;:31;76326:58;;;76370:14;;;;;;;;;;;;;;76326:58;76409:8;;76399:7;:18;76395:48;;;76426:17;;;;;;;;;;;;;;76395:48;76456:26;76462:10;76474:7;76456:5;:26::i;:::-;76148:342;:::o;26355:234::-;26502:8;26450:18;:39;26469:19;:17;:19::i;:::-;26450:39;;;;;;;;;;;;;;;:49;26490:8;26450:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;26562:8;26526:55;;26541:19;:17;:19::i;:::-;26526:55;;;26572:8;26526:55;;;;;;:::i;:::-;;;;;;;;26355:234;;:::o;33148:407::-;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;33387:1;33369:2;:14;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;;;;;;;;;;;;;33403:145;33365:183;33148:407;;;;:::o;77599:98::-;53900:13;:11;:13::i;:::-;77680:9:::1;77669:8;:20;;;;77599:98:::0;:::o;76498:350::-;76616:13;76669:16;76677:7;76669;:16::i;:::-;76647:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;76802:7;76811:18;:7;:16;:18::i;:::-;76785:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;76771:69;;76498:350;;;:::o;75752:31::-;;;;:::o;26746:164::-;26843:4;26867:18;:25;26886:5;26867:25;;;;;;;;;;;;;;;:35;26893:8;26867:35;;;;;;;;;;;;;;;;;;;;;;;;;26860:42;;26746:164;;;;:::o;54947:220::-;53900:13;:11;:13::i;:::-;55052:1:::1;55032:22;;:8;:22;;::::0;55028:93:::1;;55106:1;55078:31;;;;;;;;;;;:::i;:::-;;;;;;;;55028:93;55131:28;55150:8;55131:18;:28::i;:::-;54947:220:::0;:::o;77489:102::-;53900:13;:11;:13::i;:::-;77573:10:::1;77561:9;:22;;;;77489:102:::0;:::o;75790:28::-;;;;:::o;27168:282::-;27233:4;27289:7;27270:15;:13;:15::i;:::-;:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;;27422:1;11176:8;27374:17;:26;27392:7;27374:26;;;;;;;;;;;;:44;:49;27270:153;27250:173;;27168:282;;;:::o;49476:105::-;49536:7;49563:10;49556:17;;49476:105;:::o;77082:101::-;77147:7;77174:1;77167:8;;77082:101;:::o;21854:1275::-;21921:7;21941:12;21956:7;21941:22;;22024:4;22005:15;:13;:15::i;:::-;:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:17;:23;22131:4;22113:23;;;;;;;;;;;;22096:40;;22230:1;11176:8;22202:6;:24;:29;22198:845;;22867:113;22884:1;22874:6;:11;22867:113;;22927:17;:25;22945:6;;;;;;;22927:25;;;;;;;;;;;;22918:34;;22867:113;;;23013:6;23006:13;;;;;;22198:845;22073:989;22047:1015;22001:1061;23090:31;;;;;;;;;;;;;;21854:1275;;;;:::o;28331:485::-;28433:27;28462:23;28503:38;28544:15;:24;28560:7;28544:24;;;;;;;;;;;28503:65;;28721:18;28698:41;;28778:19;28772:26;28753:45;;28683:126;28331:485;;;:::o;27559:659::-;27708:11;27873:16;27866:5;27862:28;27853:37;;28033:16;28022:9;28018:32;28005:45;;28183:15;28172:9;28169:30;28161:5;28150:9;28147:20;28144:56;28134:66;;27559:659;;;;;:::o;34217:159::-;;;;;:::o;48785:311::-;48920:7;48940:16;11580:3;48966:19;:41;;48940:68;;11580:3;49034:31;49045:4;49051:2;49055:9;49034:10;:31::i;:::-;49026:40;;:62;;49019:69;;;48785:311;;;;;:::o;23677:450::-;23757:14;23925:16;23918:5;23914:28;23905:37;;24102:5;24088:11;24063:23;24059:41;24056:52;24049:5;24046:63;24036:73;;23677:450;;;;:::o;35041:158::-;;;;;:::o;54179:166::-;54250:12;:10;:12::i;:::-;54239:23;;:7;:5;:7::i;:::-;:23;;;54235:103;;54313:12;:10;:12::i;:::-;54286:40;;;;;;;;;;;:::i;:::-;;;;;;;;54235:103;54179:166::o;55327:191::-;55401:16;55420:6;;;;;;;;;;;55401:25;;55446:8;55437:6;;:17;;;;;;;;;;;;;;;;;;55501:8;55470:40;;55491:8;55470:40;;;;;;;;;;;;55390:128;55327:191;:::o;52130:98::-;52183:7;52210:10;52203:17;;52130:98;:::o;36817:2966::-;36890:20;36913:13;;36890:36;;36953:1;36941:8;:13;36937:44;;36963:18;;;;;;;;;;;;;;36937:44;36994:61;37024:1;37028:2;37032:12;37046:8;36994:21;:61::i;:::-;37538:1;10538:2;37508:1;:26;;37507:32;37495:8;:45;37469:18;:22;37488:2;37469:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;37817:139;37854:2;37908:33;37931:1;37935:2;37939:1;37908:14;:33::i;:::-;37875:30;37896:8;37875:20;:30::i;:::-;:66;37817:18;:139::i;:::-;37783:17;:31;37801:12;37783:31;;;;;;;;;;;:173;;;;37973:16;38004:11;38033:8;38018:12;:23;38004:37;;38554:16;38550:2;38546:25;38534:37;;38926:12;38886:8;38845:1;38783:25;38724:1;38663;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;39382:7;39378:15;39367:26;;39237:346;;;39241:77;39628:1;39616:8;:13;39612:45;;39638:19;;;;;;;;;;;;;;39612:45;39690:3;39674:13;:19;;;;37243:2462;;39715:60;39744:1;39748:2;39752:12;39766:8;39715:20;:60::i;:::-;36879:2904;36817:2966;;:::o;15478:296::-;15533:7;15740:15;:13;:15::i;:::-;15724:13;;:31;15717:38;;15478:296;:::o;35639:716::-;35802:4;35848:2;35823:45;;;35869:19;:17;:19::i;:::-;35890:4;35896:7;35905:5;35823:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36123:1;36106:6;:13;:18;36102:235;;36152:40;;;;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;35992:54;;;35982:64;;;:6;:64;;;;35975:71;;;35639:716;;;;;;:::o;73020:718::-;73076:13;73127:14;73164:1;73144:17;73155:5;73144:10;:17::i;:::-;:21;73127:38;;73180:20;73214:6;73203:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73180:41;;73236:11;73365:6;73361:2;73357:15;73349:6;73345:28;73338:35;;73402:290;73409:4;73402:290;;;73434:5;;;;;;;;73576:10;73571:2;73564:5;73560:14;73555:32;73550:3;73542:46;73634:2;73625:11;;;;;;:::i;:::-;;;;;73668:1;73659:5;:10;73402:290;73655:21;73402:290;73713:6;73706:13;;;;;73020:718;;;:::o;48486:147::-;48623:6;48486:147;;;;;:::o;24229:324::-;24299:14;24532:1;24522:8;24519:15;24493:24;24489:46;24479:56;;24229:324;;;:::o;68084:948::-;68137:7;68157:14;68174:1;68157:18;;68224:8;68215:5;:17;68211:106;;68262:8;68253:17;;;;;;:::i;:::-;;;;;68299:2;68289:12;;;;68211:106;68344:8;68335:5;:17;68331:106;;68382:8;68373:17;;;;;;:::i;:::-;;;;;68419:2;68409:12;;;;68331:106;68464:8;68455:5;:17;68451:106;;68502:8;68493:17;;;;;;:::i;:::-;;;;;68539:2;68529:12;;;;68451:106;68584:7;68575:5;:16;68571:103;;68621:7;68612:16;;;;;;:::i;:::-;;;;;68657:1;68647:11;;;;68571:103;68701:7;68692:5;:16;68688:103;;68738:7;68729:16;;;;;;:::i;:::-;;;;;68774:1;68764:11;;;;68688:103;68818:7;68809:5;:16;68805:103;;68855:7;68846:16;;;;;;:::i;:::-;;;;;68891:1;68881:11;;;;68805:103;68935:7;68926:5;:16;68922:68;;68973:1;68963:11;;;;68922:68;69018:6;69011:13;;;68084:948;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:118::-;4870:24;4888:5;4870:24;:::i;:::-;4865:3;4858:37;4783:118;;:::o;4907:222::-;5000:4;5038:2;5027:9;5023:18;5015:26;;5051:71;5119:1;5108:9;5104:17;5095:6;5051:71;:::i;:::-;4907:222;;;;:::o;5135:619::-;5212:6;5220;5228;5277:2;5265:9;5256:7;5252:23;5248:32;5245:119;;;5283:79;;:::i;:::-;5245:119;5403:1;5428:53;5473:7;5464:6;5453:9;5449:22;5428:53;:::i;:::-;5418:63;;5374:117;5530:2;5556:53;5601:7;5592:6;5581:9;5577:22;5556:53;:::i;:::-;5546:63;;5501:118;5658:2;5684:53;5729:7;5720:6;5709:9;5705:22;5684:53;:::i;:::-;5674:63;;5629:118;5135:619;;;;;:::o;5760:117::-;5869:1;5866;5859:12;5883:117;5992:1;5989;5982:12;6006:180;6054:77;6051:1;6044:88;6151:4;6148:1;6141:15;6175:4;6172:1;6165:15;6192:281;6275:27;6297:4;6275:27;:::i;:::-;6267:6;6263:40;6405:6;6393:10;6390:22;6369:18;6357:10;6354:34;6351:62;6348:88;;;6416:18;;:::i;:::-;6348:88;6456:10;6452:2;6445:22;6235:238;6192:281;;:::o;6479:129::-;6513:6;6540:20;;:::i;:::-;6530:30;;6569:33;6597:4;6589:6;6569:33;:::i;:::-;6479:129;;;:::o;6614:308::-;6676:4;6766:18;6758:6;6755:30;6752:56;;;6788:18;;:::i;:::-;6752:56;6826:29;6848:6;6826:29;:::i;:::-;6818:37;;6910:4;6904;6900:15;6892:23;;6614:308;;;:::o;6928:148::-;7026:6;7021:3;7016;7003:30;7067:1;7058:6;7053:3;7049:16;7042:27;6928:148;;;:::o;7082:425::-;7160:5;7185:66;7201:49;7243:6;7201:49;:::i;:::-;7185:66;:::i;:::-;7176:75;;7274:6;7267:5;7260:21;7312:4;7305:5;7301:16;7350:3;7341:6;7336:3;7332:16;7329:25;7326:112;;;7357:79;;:::i;:::-;7326:112;7447:54;7494:6;7489:3;7484;7447:54;:::i;:::-;7166:341;7082:425;;;;;:::o;7527:340::-;7583:5;7632:3;7625:4;7617:6;7613:17;7609:27;7599:122;;7640:79;;:::i;:::-;7599:122;7757:6;7744:20;7782:79;7857:3;7849:6;7842:4;7834:6;7830:17;7782:79;:::i;:::-;7773:88;;7589:278;7527:340;;;;:::o;7873:509::-;7942:6;7991:2;7979:9;7970:7;7966:23;7962:32;7959:119;;;7997:79;;:::i;:::-;7959:119;8145:1;8134:9;8130:17;8117:31;8175:18;8167:6;8164:30;8161:117;;;8197:79;;:::i;:::-;8161:117;8302:63;8357:7;8348:6;8337:9;8333:22;8302:63;:::i;:::-;8292:73;;8088:287;7873:509;;;;:::o;8388:329::-;8447:6;8496:2;8484:9;8475:7;8471:23;8467:32;8464:119;;;8502:79;;:::i;:::-;8464:119;8622:1;8647:53;8692:7;8683:6;8672:9;8668:22;8647:53;:::i;:::-;8637:63;;8593:117;8388:329;;;;:::o;8723:116::-;8793:21;8808:5;8793:21;:::i;:::-;8786:5;8783:32;8773:60;;8829:1;8826;8819:12;8773:60;8723:116;:::o;8845:133::-;8888:5;8926:6;8913:20;8904:29;;8942:30;8966:5;8942:30;:::i;:::-;8845:133;;;;:::o;8984:468::-;9049:6;9057;9106:2;9094:9;9085:7;9081:23;9077:32;9074:119;;;9112:79;;:::i;:::-;9074:119;9232:1;9257:53;9302:7;9293:6;9282:9;9278:22;9257:53;:::i;:::-;9247:63;;9203:117;9359:2;9385:50;9427:7;9418:6;9407:9;9403:22;9385:50;:::i;:::-;9375:60;;9330:115;8984:468;;;;;:::o;9458:307::-;9519:4;9609:18;9601:6;9598:30;9595:56;;;9631:18;;:::i;:::-;9595:56;9669:29;9691:6;9669:29;:::i;:::-;9661:37;;9753:4;9747;9743:15;9735:23;;9458:307;;;:::o;9771:423::-;9848:5;9873:65;9889:48;9930:6;9889:48;:::i;:::-;9873:65;:::i;:::-;9864:74;;9961:6;9954:5;9947:21;9999:4;9992:5;9988:16;10037:3;10028:6;10023:3;10019:16;10016:25;10013:112;;;10044:79;;:::i;:::-;10013:112;10134:54;10181:6;10176:3;10171;10134:54;:::i;:::-;9854:340;9771:423;;;;;:::o;10213:338::-;10268:5;10317:3;10310:4;10302:6;10298:17;10294:27;10284:122;;10325:79;;:::i;:::-;10284:122;10442:6;10429:20;10467:78;10541:3;10533:6;10526:4;10518:6;10514:17;10467:78;:::i;:::-;10458:87;;10274:277;10213:338;;;;:::o;10557:943::-;10652:6;10660;10668;10676;10725:3;10713:9;10704:7;10700:23;10696:33;10693:120;;;10732:79;;:::i;:::-;10693:120;10852:1;10877:53;10922:7;10913:6;10902:9;10898:22;10877:53;:::i;:::-;10867:63;;10823:117;10979:2;11005:53;11050:7;11041:6;11030:9;11026:22;11005:53;:::i;:::-;10995:63;;10950:118;11107:2;11133:53;11178:7;11169:6;11158:9;11154:22;11133:53;:::i;:::-;11123:63;;11078:118;11263:2;11252:9;11248:18;11235:32;11294:18;11286:6;11283:30;11280:117;;;11316:79;;:::i;:::-;11280:117;11421:62;11475:7;11466:6;11455:9;11451:22;11421:62;:::i;:::-;11411:72;;11206:287;10557:943;;;;;;;:::o;11506:474::-;11574:6;11582;11631:2;11619:9;11610:7;11606:23;11602:32;11599:119;;;11637:79;;:::i;:::-;11599:119;11757:1;11782:53;11827:7;11818:6;11807:9;11803:22;11782:53;:::i;:::-;11772:63;;11728:117;11884:2;11910:53;11955:7;11946:6;11935:9;11931:22;11910:53;:::i;:::-;11900:63;;11855:118;11506:474;;;;;:::o;11986:180::-;12034:77;12031:1;12024:88;12131:4;12128:1;12121:15;12155:4;12152:1;12145:15;12172:320;12216:6;12253:1;12247:4;12243:12;12233:22;;12300:1;12294:4;12290:12;12321:18;12311:81;;12377:4;12369:6;12365:17;12355:27;;12311:81;12439:2;12431:6;12428:14;12408:18;12405:38;12402:84;;12458:18;;:::i;:::-;12402:84;12223:269;12172:320;;;:::o;12498:147::-;12599:11;12636:3;12621:18;;12498:147;;;;:::o;12651:114::-;;:::o;12771:398::-;12930:3;12951:83;13032:1;13027:3;12951:83;:::i;:::-;12944:90;;13043:93;13132:3;13043:93;:::i;:::-;13161:1;13156:3;13152:11;13145:18;;12771:398;;;:::o;13175:379::-;13359:3;13381:147;13524:3;13381:147;:::i;:::-;13374:154;;13545:3;13538:10;;13175:379;;;:::o;13560:165::-;13700:17;13696:1;13688:6;13684:14;13677:41;13560:165;:::o;13731:366::-;13873:3;13894:67;13958:2;13953:3;13894:67;:::i;:::-;13887:74;;13970:93;14059:3;13970:93;:::i;:::-;14088:2;14083:3;14079:12;14072:19;;13731:366;;;:::o;14103:419::-;14269:4;14307:2;14296:9;14292:18;14284:26;;14356:9;14350:4;14346:20;14342:1;14331:9;14327:17;14320:47;14384:131;14510:4;14384:131;:::i;:::-;14376:139;;14103:419;;;:::o;14528:141::-;14577:4;14600:3;14592:11;;14623:3;14620:1;14613:14;14657:4;14654:1;14644:18;14636:26;;14528:141;;;:::o;14675:93::-;14712:6;14759:2;14754;14747:5;14743:14;14739:23;14729:33;;14675:93;;;:::o;14774:107::-;14818:8;14868:5;14862:4;14858:16;14837:37;;14774:107;;;;:::o;14887:393::-;14956:6;15006:1;14994:10;14990:18;15029:97;15059:66;15048:9;15029:97;:::i;:::-;15147:39;15177:8;15166:9;15147:39;:::i;:::-;15135:51;;15219:4;15215:9;15208:5;15204:21;15195:30;;15268:4;15258:8;15254:19;15247:5;15244:30;15234:40;;14963:317;;14887:393;;;;;:::o;15286:60::-;15314:3;15335:5;15328:12;;15286:60;;;:::o;15352:142::-;15402:9;15435:53;15453:34;15462:24;15480:5;15462:24;:::i;:::-;15453:34;:::i;:::-;15435:53;:::i;:::-;15422:66;;15352:142;;;:::o;15500:75::-;15543:3;15564:5;15557:12;;15500:75;;;:::o;15581:269::-;15691:39;15722:7;15691:39;:::i;:::-;15752:91;15801:41;15825:16;15801:41;:::i;:::-;15793:6;15786:4;15780:11;15752:91;:::i;:::-;15746:4;15739:105;15657:193;15581:269;;;:::o;15856:73::-;15901:3;15856:73;:::o;15935:189::-;16012:32;;:::i;:::-;16053:65;16111:6;16103;16097:4;16053:65;:::i;:::-;15988:136;15935:189;;:::o;16130:186::-;16190:120;16207:3;16200:5;16197:14;16190:120;;;16261:39;16298:1;16291:5;16261:39;:::i;:::-;16234:1;16227:5;16223:13;16214:22;;16190:120;;;16130:186;;:::o;16322:543::-;16423:2;16418:3;16415:11;16412:446;;;16457:38;16489:5;16457:38;:::i;:::-;16541:29;16559:10;16541:29;:::i;:::-;16531:8;16527:44;16724:2;16712:10;16709:18;16706:49;;;16745:8;16730:23;;16706:49;16768:80;16824:22;16842:3;16824:22;:::i;:::-;16814:8;16810:37;16797:11;16768:80;:::i;:::-;16427:431;;16412:446;16322:543;;;:::o;16871:117::-;16925:8;16975:5;16969:4;16965:16;16944:37;;16871:117;;;;:::o;16994:169::-;17038:6;17071:51;17119:1;17115:6;17107:5;17104:1;17100:13;17071:51;:::i;:::-;17067:56;17152:4;17146;17142:15;17132:25;;17045:118;16994:169;;;;:::o;17168:295::-;17244:4;17390:29;17415:3;17409:4;17390:29;:::i;:::-;17382:37;;17452:3;17449:1;17445:11;17439:4;17436:21;17428:29;;17168:295;;;;:::o;17468:1395::-;17585:37;17618:3;17585:37;:::i;:::-;17687:18;17679:6;17676:30;17673:56;;;17709:18;;:::i;:::-;17673:56;17753:38;17785:4;17779:11;17753:38;:::i;:::-;17838:67;17898:6;17890;17884:4;17838:67;:::i;:::-;17932:1;17956:4;17943:17;;17988:2;17980:6;17977:14;18005:1;18000:618;;;;18662:1;18679:6;18676:77;;;18728:9;18723:3;18719:19;18713:26;18704:35;;18676:77;18779:67;18839:6;18832:5;18779:67;:::i;:::-;18773:4;18766:81;18635:222;17970:887;;18000:618;18052:4;18048:9;18040:6;18036:22;18086:37;18118:4;18086:37;:::i;:::-;18145:1;18159:208;18173:7;18170:1;18167:14;18159:208;;;18252:9;18247:3;18243:19;18237:26;18229:6;18222:42;18303:1;18295:6;18291:14;18281:24;;18350:2;18339:9;18335:18;18322:31;;18196:4;18193:1;18189:12;18184:17;;18159:208;;;18395:6;18386:7;18383:19;18380:179;;;18453:9;18448:3;18444:19;18438:26;18496:48;18538:4;18530:6;18526:17;18515:9;18496:48;:::i;:::-;18488:6;18481:64;18403:156;18380:179;18605:1;18601;18593:6;18589:14;18585:22;18579:4;18572:36;18007:611;;;17970:887;;17560:1303;;;17468:1395;;:::o;18869:180::-;18917:77;18914:1;18907:88;19014:4;19011:1;19004:15;19038:4;19035:1;19028:15;19055:191;19095:3;19114:20;19132:1;19114:20;:::i;:::-;19109:25;;19148:20;19166:1;19148:20;:::i;:::-;19143:25;;19191:1;19188;19184:9;19177:16;;19212:3;19209:1;19206:10;19203:36;;;19219:18;;:::i;:::-;19203:36;19055:191;;;;:::o;19252:410::-;19292:7;19315:20;19333:1;19315:20;:::i;:::-;19310:25;;19349:20;19367:1;19349:20;:::i;:::-;19344:25;;19404:1;19401;19397:9;19426:30;19444:11;19426:30;:::i;:::-;19415:41;;19605:1;19596:7;19592:15;19589:1;19586:22;19566:1;19559:9;19539:83;19516:139;;19635:18;;:::i;:::-;19516:139;19300:362;19252:410;;;;:::o;19668:234::-;19808:34;19804:1;19796:6;19792:14;19785:58;19877:17;19872:2;19864:6;19860:15;19853:42;19668:234;:::o;19908:366::-;20050:3;20071:67;20135:2;20130:3;20071:67;:::i;:::-;20064:74;;20147:93;20236:3;20147:93;:::i;:::-;20265:2;20260:3;20256:12;20249:19;;19908:366;;;:::o;20280:419::-;20446:4;20484:2;20473:9;20469:18;20461:26;;20533:9;20527:4;20523:20;20519:1;20508:9;20504:17;20497:47;20561:131;20687:4;20561:131;:::i;:::-;20553:139;;20280:419;;;:::o;20705:148::-;20807:11;20844:3;20829:18;;20705:148;;;;:::o;20883:874::-;20986:3;21023:5;21017:12;21052:36;21078:9;21052:36;:::i;:::-;21104:89;21186:6;21181:3;21104:89;:::i;:::-;21097:96;;21224:1;21213:9;21209:17;21240:1;21235:166;;;;21415:1;21410:341;;;;21202:549;;21235:166;21319:4;21315:9;21304;21300:25;21295:3;21288:38;21381:6;21374:14;21367:22;21359:6;21355:35;21350:3;21346:45;21339:52;;21235:166;;21410:341;21477:38;21509:5;21477:38;:::i;:::-;21537:1;21551:154;21565:6;21562:1;21559:13;21551:154;;;21639:7;21633:14;21629:1;21624:3;21620:11;21613:35;21689:1;21680:7;21676:15;21665:26;;21587:4;21584:1;21580:12;21575:17;;21551:154;;;21734:6;21729:3;21725:16;21718:23;;21417:334;;21202:549;;20990:767;;20883:874;;;;:::o;21763:390::-;21869:3;21897:39;21930:5;21897:39;:::i;:::-;21952:89;22034:6;22029:3;21952:89;:::i;:::-;21945:96;;22050:65;22108:6;22103:3;22096:4;22089:5;22085:16;22050:65;:::i;:::-;22140:6;22135:3;22131:16;22124:23;;21873:280;21763:390;;;;:::o;22159:155::-;22299:7;22295:1;22287:6;22283:14;22276:31;22159:155;:::o;22320:400::-;22480:3;22501:84;22583:1;22578:3;22501:84;:::i;:::-;22494:91;;22594:93;22683:3;22594:93;:::i;:::-;22712:1;22707:3;22703:11;22696:18;;22320:400;;;:::o;22726:695::-;23004:3;23026:92;23114:3;23105:6;23026:92;:::i;:::-;23019:99;;23135:95;23226:3;23217:6;23135:95;:::i;:::-;23128:102;;23247:148;23391:3;23247:148;:::i;:::-;23240:155;;23412:3;23405:10;;22726:695;;;;;:::o;23427:98::-;23478:6;23512:5;23506:12;23496:22;;23427:98;;;:::o;23531:168::-;23614:11;23648:6;23643:3;23636:19;23688:4;23683:3;23679:14;23664:29;;23531:168;;;;:::o;23705:373::-;23791:3;23819:38;23851:5;23819:38;:::i;:::-;23873:70;23936:6;23931:3;23873:70;:::i;:::-;23866:77;;23952:65;24010:6;24005:3;23998:4;23991:5;23987:16;23952:65;:::i;:::-;24042:29;24064:6;24042:29;:::i;:::-;24037:3;24033:39;24026:46;;23795:283;23705:373;;;;:::o;24084:640::-;24279:4;24317:3;24306:9;24302:19;24294:27;;24331:71;24399:1;24388:9;24384:17;24375:6;24331:71;:::i;:::-;24412:72;24480:2;24469:9;24465:18;24456:6;24412:72;:::i;:::-;24494;24562:2;24551:9;24547:18;24538:6;24494:72;:::i;:::-;24613:9;24607:4;24603:20;24598:2;24587:9;24583:18;24576:48;24641:76;24712:4;24703:6;24641:76;:::i;:::-;24633:84;;24084:640;;;;;;;:::o;24730:141::-;24786:5;24817:6;24811:13;24802:22;;24833:32;24859:5;24833:32;:::i;:::-;24730:141;;;;:::o;24877:349::-;24946:6;24995:2;24983:9;24974:7;24970:23;24966:32;24963:119;;;25001:79;;:::i;:::-;24963:119;25121:1;25146:63;25201:7;25192:6;25181:9;25177:22;25146:63;:::i;:::-;25136:73;;25092:127;24877:349;;;;:::o;25232:180::-;25280:77;25277:1;25270:88;25377:4;25374:1;25367:15;25401:4;25398:1;25391:15

Swarm Source

ipfs://2a6908828e869bb600fe1cc10ac4defa0723de5b6544a37ad89666e109f40744
[ 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.