ETH Price: $3,109.33 (+1.26%)
Gas: 4 Gwei

Token

Skullki (SK)
 

Overview

Max Total Supply

5,555 SK

Holders

4,303

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SK
0xcd8d8264c5dcc5160b93f0d997e322fb0e17ed64
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Skullki

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


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

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: contracts/skullki.sol


pragma solidity ^0.8.4;







error ErrorSaleNotStarted();
error ErrorInsufficientFund();
error ErrorExceedTransactionLimit();
error ErrorExceedWalletLimit();
error ErrorExceedMaxSupply();

contract Skullki is ERC721A, Ownable {
    using Address for address payable;
    using ECDSA for bytes32;
    using Strings for uint256;

    uint256 public immutable MintPrice;
    uint32 public immutable MaxSupply;
    uint32 public immutable WalletLimit;

    bool public Started;
    string public _metadataURI = "";

    constructor(
        uint256 mintPrice,
        uint32 maxSupply,
        uint32 walletLimit
    ) ERC721A("Skullki", "SK") {
        MintPrice = mintPrice;
        MaxSupply = maxSupply;
        WalletLimit = walletLimit;

    }

    function mint(uint32 amount) external payable {
        if (!Started) revert ErrorSaleNotStarted();
        if (amount + _totalMinted() > MaxSupply) revert ErrorExceedMaxSupply();

        uint256 requiredValue = amount * MintPrice;
        uint64 userMinted = _getAux(msg.sender);
        if (userMinted == 0) requiredValue -= MintPrice;

        userMinted += amount;
        _setAux(msg.sender, userMinted);
        if (userMinted > WalletLimit) revert ErrorExceedWalletLimit();

        if (msg.value < requiredValue) revert ErrorInsufficientFund();

        _safeMint(msg.sender, amount);
    }

    struct State {
        uint256 mintPrice;
        uint32 walletLimit;
        uint32 maxSupply;
        uint32 totalMinted;
        uint32 userMinted;
        bool started;
    }

    function _state(address minter) external view returns (State memory) {
        return
            State({
                mintPrice: MintPrice,
                walletLimit: WalletLimit,
                maxSupply: MaxSupply,
                totalMinted: uint32(ERC721A._totalMinted()),
                userMinted: uint32(_getAux(minter)),
                started: Started
            });
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _metadataURI;
        return string(abi.encodePacked(baseURI, tokenId.toString()));
    }


    function setStarted(bool started) external onlyOwner {
        Started = started;
    }

    function setMetadataURI(string memory uri) external onlyOwner {
        _metadataURI = uri;
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).sendValue(address(this).balance);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ErrorExceedMaxSupply","type":"error"},{"inputs":[],"name":"ErrorExceedWalletLimit","type":"error"},{"inputs":[],"name":"ErrorInsufficientFund","type":"error"},{"inputs":[],"name":"ErrorSaleNotStarted","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WalletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"_state","outputs":[{"components":[{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"totalMinted","type":"uint32"},{"internalType":"uint32","name":"userMinted","type":"uint32"},{"internalType":"bool","name":"started","type":"bool"}],"internalType":"struct Skullki.State","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"started","type":"bool"}],"name":"setStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260405180602001604052806000815250600990805190602001906200002b92919062000247565b503480156200003957600080fd5b50604051620035be380380620035be83398181016040528101906200005f919062000325565b6040518060400160405280600781526020017f536b756c6c6b69000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f534b0000000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000e392919062000247565b508060039080519060200190620000fc92919062000247565b506200010d6200017460201b60201c565b600081905550505062000135620001296200017960201b60201c565b6200018160201b60201c565b82608081815250508163ffffffff1660a08163ffffffff1660e01b815250508063ffffffff1660c08163ffffffff1660e01b8152505050505062000439565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000255906200039b565b90600052602060002090601f016020900481019282620002795760008555620002c5565b82601f106200029457805160ff1916838001178555620002c5565b82800160010185558215620002c5579182015b82811115620002c4578251825591602001919060010190620002a7565b5b509050620002d49190620002d8565b5090565b5b80821115620002f3576000816000905550600101620002d9565b5090565b600081519050620003088162000405565b92915050565b6000815190506200031f816200041f565b92915050565b60008060006060848603121562000341576200034062000400565b5b60006200035186828701620002f7565b935050602062000364868287016200030e565b925050604062000377868287016200030e565b9150509250925092565b6000819050919050565b600063ffffffff82169050919050565b60006002820490506001821680620003b457607f821691505b60208210811415620003cb57620003ca620003d1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b620004108162000381565b81146200041c57600080fd5b50565b6200042a816200038b565b81146200043657600080fd5b50565b60805160a05160e01c60c05160e01c61311e620004a060003960008181610d0c01528181610da70152611261015260008181610d3801528181611146015261131a015260008181610ce6015281816111c0015281816112140152611691015261311e6000f3fe60806040526004361061019c5760003560e01c8063750521f5116100ec578063c87b56dd1161008a578063e985e9c511610064578063e985e9c5146105a7578063ef6b141a146105e4578063f2fde38b1461060d578063fdbf9ef2146106365761019c565b8063c87b56dd14610514578063d4a6762314610551578063d8cea0ec1461057c5761019c565b8063a22cb465116100c6578063a22cb4651461047b578063a71bbebe146104a4578063b36c1284146104c0578063b88d4fde146104eb5761019c565b8063750521f5146103fc5780638da5cb5b1461042557806395d89b41146104505761019c565b80633ccfd60b116101595780635426a580116101335780635426a580146103405780636352211e1461036b57806370a08231146103a8578063715018a6146103e55761019c565b80633ccfd60b146102c357806342842e0e146102da5780634df8bb45146103035761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b31461024657806318160ddd1461026f57806323b872dd1461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c391906125b2565b610661565b6040516101d59190612985565b60405180910390f35b3480156101ea57600080fd5b506101f36106f3565b60405161020091906129a0565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612655565b610785565b60405161023d919061291e565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190612545565b610801565b005b34801561027b57600080fd5b50610284610942565b6040516102919190612a5d565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc919061242f565b610959565b005b3480156102cf57600080fd5b506102d8610c7e565b005b3480156102e657600080fd5b5061030160048036038101906102fc919061242f565b610cb1565b005b34801561030f57600080fd5b5061032a600480360381019061032591906123c2565b610cd1565b6040516103379190612a42565b60405180910390f35b34801561034c57600080fd5b50610355610da5565b6040516103629190612a78565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190612655565b610dc9565b60405161039f919061291e565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca91906123c2565b610ddb565b6040516103dc9190612a5d565b60405180910390f35b3480156103f157600080fd5b506103fa610e94565b005b34801561040857600080fd5b50610423600480360381019061041e919061260c565b610ea8565b005b34801561043157600080fd5b5061043a610eca565b604051610447919061291e565b60405180910390f35b34801561045c57600080fd5b50610465610ef4565b60405161047291906129a0565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190612505565b610f86565b005b6104be60048036038101906104b99190612682565b6110fe565b005b3480156104cc57600080fd5b506104d5611318565b6040516104e29190612a78565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190612482565b61133c565b005b34801561052057600080fd5b5061053b60048036038101906105369190612655565b6113af565b60405161054891906129a0565b60405180910390f35b34801561055d57600080fd5b506105666114b1565b60405161057391906129a0565b60405180910390f35b34801561058857600080fd5b5061059161153f565b60405161059e9190612985565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c991906123ef565b611552565b6040516105db9190612985565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190612585565b6115e6565b005b34801561061957600080fd5b50610634600480360381019061062f91906123c2565b61160b565b005b34801561064257600080fd5b5061064b61168f565b6040516106589190612a5d565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106bc57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ec5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461070290612d95565b80601f016020809104026020016040519081016040528092919081815260200182805461072e90612d95565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b5050505050905090565b6000610790826116b3565b6107c6576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080c82610dc9565b90508073ffffffffffffffffffffffffffffffffffffffff1661082d611712565b73ffffffffffffffffffffffffffffffffffffffff16146108905761085981610854611712565b611552565b61088f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061094c61171a565b6001546000540303905090565b60006109648261171f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109cb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806109d7846117ed565b915091506109ed81876109e8611712565b61180f565b610a3957610a02866109fd611712565b611552565b610a38576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610aa0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aad8686866001611853565b8015610ab857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610b8685610b62888887611859565b7c020000000000000000000000000000000000000000000000000000000017611881565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610c0e576000600185019050600060046000838152602001908152602001600020541415610c0c576000548114610c0b578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c7686868660016118ac565b505050505050565b610c866118b2565b610caf473373ffffffffffffffffffffffffffffffffffffffff1661193090919063ffffffff16565b565b610ccc8383836040518060200160405280600081525061133c565b505050565b610cd9612171565b6040518060c001604052807f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff168152602001610d6a611a24565b63ffffffff168152602001610d7e84611a37565b63ffffffff168152602001600860149054906101000a900460ff1615158152509050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610dd48261171f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e43576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610e9c6118b2565b610ea66000611a84565b565b610eb06118b2565b8060099080519060200190610ec69291906121c1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610f0390612d95565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2f90612d95565b8015610f7c5780601f10610f5157610100808354040283529160200191610f7c565b820191906000526020600020905b815481529060010190602001808311610f5f57829003601f168201915b5050505050905090565b610f8e611712565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ff3576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611000611712565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110ad611712565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110f29190612985565b60405180910390a35050565b600860149054906101000a900460ff16611144576040517f1e3177ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff16611173611a24565b8263ffffffff166111849190612b68565b11156111bc576040517f57bb669800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008263ffffffff166111f09190612c2d565b905060006111fd33611a37565b905060008167ffffffffffffffff161415611241577f00000000000000000000000000000000000000000000000000000000000000008261123e9190612c87565b91505b8263ffffffff16816112539190612bbe565b905061125f3382611b4a565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168167ffffffffffffffff1611156112c9576040517f171b8e9400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81341015611303576040517f9cb10c3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611313338463ffffffff16611c00565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611347848484610959565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113a95761137284848484611c1e565b6113a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606113ba826116b3565b6113f0576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600980546113ff90612d95565b80601f016020809104026020016040519081016040528092919081815260200182805461142b90612d95565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b505050505090508061148984611d7e565b60405160200161149a9291906128e5565b604051602081830303815290604052915050919050565b600980546114be90612d95565b80601f01602080910402602001604051908101604052809291908181526020018280546114ea90612d95565b80156115375780601f1061150c57610100808354040283529160200191611537565b820191906000526020600020905b81548152906001019060200180831161151a57829003601f168201915b505050505081565b600860149054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ee6118b2565b80600860146101000a81548160ff02191690831515021790555050565b6116136118b2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a906129c2565b60405180910390fd5b61168c81611a84565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000816116be61171a565b111580156116cd575060005482105b801561170b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061172e61171a565b116117b6576000548110156117b55760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156117b3575b60008114156117a957600460008360019003935083815260200190815260200160002054905061177e565b80925050506117e8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611870868684611edf565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6118ba611ee8565b73ffffffffffffffffffffffffffffffffffffffff166118d8610eca565b73ffffffffffffffffffffffffffffffffffffffff161461192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590612a22565b60405180910390fd5b565b80471015611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90612a02565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161199990612909565b60006040518083038185875af1925050503d80600081146119d6576040519150601f19603f3d011682016040523d82523d6000602084013e6119db565b606091505b5050905080611a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a16906129e2565b60405180910390fd5b505050565b6000611a2e61171a565b60005403905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b611c1a828260405180602001604052806000815250611ef0565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c44611712565b8786866040518563ffffffff1660e01b8152600401611c669493929190612939565b602060405180830381600087803b158015611c8057600080fd5b505af1925050508015611cb157506040513d601f19601f82011682018060405250810190611cae91906125df565b60015b611d2b573d8060008114611ce1576040519150601f19603f3d011682016040523d82523d6000602084013e611ce6565b606091505b50600081511415611d23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415611dc6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611eda565b600082905060005b60008214611df8578080611de190612df8565b915050600a82611df19190612bfc565b9150611dce565b60008167ffffffffffffffff811115611e1457611e13612f2e565b5b6040519080825280601f01601f191660200182016040528015611e465781602001600182028036833780820191505090505b5090505b60008514611ed357600182611e5f9190612c87565b9150600a85611e6e9190612e41565b6030611e7a9190612b68565b60f81b818381518110611e9057611e8f612eff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611ecc9190612bfc565b9450611e4a565b8093505050505b919050565b60009392505050565b600033905090565b611efa8383611f8d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f8857600080549050600083820390505b611f3a6000868380600101945086611c1e565b611f70576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611f27578160005414611f8557600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ffa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612035576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120426000848385611853565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506120b9836120aa6000866000611859565b6120b385612161565b17611881565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106120dd5780600081905550505061215c60008483856118ac565b505050565b60006001821460e11b9050919050565b6040518060c0016040528060008152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff1681526020016000151581525090565b8280546121cd90612d95565b90600052602060002090601f0160209004810192826121ef5760008555612236565b82601f1061220857805160ff1916838001178555612236565b82800160010185558215612236579182015b8281111561223557825182559160200191906001019061221a565b5b5090506122439190612247565b5090565b5b80821115612260576000816000905550600101612248565b5090565b600061227761227284612ab8565b612a93565b90508281526020810184848401111561229357612292612f62565b5b61229e848285612d53565b509392505050565b60006122b96122b484612ae9565b612a93565b9050828152602081018484840111156122d5576122d4612f62565b5b6122e0848285612d53565b509392505050565b6000813590506122f781613075565b92915050565b60008135905061230c8161308c565b92915050565b600081359050612321816130a3565b92915050565b600081519050612336816130a3565b92915050565b600082601f83011261235157612350612f5d565b5b8135612361848260208601612264565b91505092915050565b600082601f83011261237f5761237e612f5d565b5b813561238f8482602086016122a6565b91505092915050565b6000813590506123a7816130ba565b92915050565b6000813590506123bc816130d1565b92915050565b6000602082840312156123d8576123d7612f6c565b5b60006123e6848285016122e8565b91505092915050565b6000806040838503121561240657612405612f6c565b5b6000612414858286016122e8565b9250506020612425858286016122e8565b9150509250929050565b60008060006060848603121561244857612447612f6c565b5b6000612456868287016122e8565b9350506020612467868287016122e8565b925050604061247886828701612398565b9150509250925092565b6000806000806080858703121561249c5761249b612f6c565b5b60006124aa878288016122e8565b94505060206124bb878288016122e8565b93505060406124cc87828801612398565b925050606085013567ffffffffffffffff8111156124ed576124ec612f67565b5b6124f98782880161233c565b91505092959194509250565b6000806040838503121561251c5761251b612f6c565b5b600061252a858286016122e8565b925050602061253b858286016122fd565b9150509250929050565b6000806040838503121561255c5761255b612f6c565b5b600061256a858286016122e8565b925050602061257b85828601612398565b9150509250929050565b60006020828403121561259b5761259a612f6c565b5b60006125a9848285016122fd565b91505092915050565b6000602082840312156125c8576125c7612f6c565b5b60006125d684828501612312565b91505092915050565b6000602082840312156125f5576125f4612f6c565b5b600061260384828501612327565b91505092915050565b60006020828403121561262257612621612f6c565b5b600082013567ffffffffffffffff8111156126405761263f612f67565b5b61264c8482850161236a565b91505092915050565b60006020828403121561266b5761266a612f6c565b5b600061267984828501612398565b91505092915050565b60006020828403121561269857612697612f6c565b5b60006126a6848285016123ad565b91505092915050565b6126b881612cbb565b82525050565b6126c781612ccd565b82525050565b6126d681612ccd565b82525050565b60006126e782612b1a565b6126f18185612b30565b9350612701818560208601612d62565b61270a81612f71565b840191505092915050565b600061272082612b25565b61272a8185612b4c565b935061273a818560208601612d62565b61274381612f71565b840191505092915050565b600061275982612b25565b6127638185612b5d565b9350612773818560208601612d62565b80840191505092915050565b600061278c602683612b4c565b915061279782612f82565b604082019050919050565b60006127af603a83612b4c565b91506127ba82612fd1565b604082019050919050565b60006127d2601d83612b4c565b91506127dd82613020565b602082019050919050565b60006127f5602083612b4c565b915061280082613049565b602082019050919050565b6000612818600083612b41565b915061282382613072565b600082019050919050565b60c08201600082015161284460008501826128a9565b50602082015161285760208501826128c7565b50604082015161286a60408501826128c7565b50606082015161287d60608501826128c7565b50608082015161289060808501826128c7565b5060a08201516128a360a08501826126be565b50505050565b6128b281612d25565b82525050565b6128c181612d25565b82525050565b6128d081612d2f565b82525050565b6128df81612d2f565b82525050565b60006128f1828561274e565b91506128fd828461274e565b91508190509392505050565b60006129148261280b565b9150819050919050565b600060208201905061293360008301846126af565b92915050565b600060808201905061294e60008301876126af565b61295b60208301866126af565b61296860408301856128b8565b818103606083015261297a81846126dc565b905095945050505050565b600060208201905061299a60008301846126cd565b92915050565b600060208201905081810360008301526129ba8184612715565b905092915050565b600060208201905081810360008301526129db8161277f565b9050919050565b600060208201905081810360008301526129fb816127a2565b9050919050565b60006020820190508181036000830152612a1b816127c5565b9050919050565b60006020820190508181036000830152612a3b816127e8565b9050919050565b600060c082019050612a57600083018461282e565b92915050565b6000602082019050612a7260008301846128b8565b92915050565b6000602082019050612a8d60008301846128d6565b92915050565b6000612a9d612aae565b9050612aa98282612dc7565b919050565b6000604051905090565b600067ffffffffffffffff821115612ad357612ad2612f2e565b5b612adc82612f71565b9050602081019050919050565b600067ffffffffffffffff821115612b0457612b03612f2e565b5b612b0d82612f71565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612b7382612d25565b9150612b7e83612d25565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612bb357612bb2612e72565b5b828201905092915050565b6000612bc982612d3f565b9150612bd483612d3f565b92508267ffffffffffffffff03821115612bf157612bf0612e72565b5b828201905092915050565b6000612c0782612d25565b9150612c1283612d25565b925082612c2257612c21612ea1565b5b828204905092915050565b6000612c3882612d25565b9150612c4383612d25565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c7c57612c7b612e72565b5b828202905092915050565b6000612c9282612d25565b9150612c9d83612d25565b925082821015612cb057612caf612e72565b5b828203905092915050565b6000612cc682612d05565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015612d80578082015181840152602081019050612d65565b83811115612d8f576000848401525b50505050565b60006002820490506001821680612dad57607f821691505b60208210811415612dc157612dc0612ed0565b5b50919050565b612dd082612f71565b810181811067ffffffffffffffff82111715612def57612dee612f2e565b5b80604052505050565b6000612e0382612d25565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e3657612e35612e72565b5b600182019050919050565b6000612e4c82612d25565b9150612e5783612d25565b925082612e6757612e66612ea1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b61307e81612cbb565b811461308957600080fd5b50565b61309581612ccd565b81146130a057600080fd5b50565b6130ac81612cd9565b81146130b757600080fd5b50565b6130c381612d25565b81146130ce57600080fd5b50565b6130da81612d2f565b81146130e557600080fd5b5056fea26469706673582212201f87c1a95680bba343e43d18ee4412d99c3949ccdbcdb3c86eea760282944a7e64736f6c634300080700330000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000000a

Deployed Bytecode

0x60806040526004361061019c5760003560e01c8063750521f5116100ec578063c87b56dd1161008a578063e985e9c511610064578063e985e9c5146105a7578063ef6b141a146105e4578063f2fde38b1461060d578063fdbf9ef2146106365761019c565b8063c87b56dd14610514578063d4a6762314610551578063d8cea0ec1461057c5761019c565b8063a22cb465116100c6578063a22cb4651461047b578063a71bbebe146104a4578063b36c1284146104c0578063b88d4fde146104eb5761019c565b8063750521f5146103fc5780638da5cb5b1461042557806395d89b41146104505761019c565b80633ccfd60b116101595780635426a580116101335780635426a580146103405780636352211e1461036b57806370a08231146103a8578063715018a6146103e55761019c565b80633ccfd60b146102c357806342842e0e146102da5780634df8bb45146103035761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b31461024657806318160ddd1461026f57806323b872dd1461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c391906125b2565b610661565b6040516101d59190612985565b60405180910390f35b3480156101ea57600080fd5b506101f36106f3565b60405161020091906129a0565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612655565b610785565b60405161023d919061291e565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190612545565b610801565b005b34801561027b57600080fd5b50610284610942565b6040516102919190612a5d565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc919061242f565b610959565b005b3480156102cf57600080fd5b506102d8610c7e565b005b3480156102e657600080fd5b5061030160048036038101906102fc919061242f565b610cb1565b005b34801561030f57600080fd5b5061032a600480360381019061032591906123c2565b610cd1565b6040516103379190612a42565b60405180910390f35b34801561034c57600080fd5b50610355610da5565b6040516103629190612a78565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190612655565b610dc9565b60405161039f919061291e565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca91906123c2565b610ddb565b6040516103dc9190612a5d565b60405180910390f35b3480156103f157600080fd5b506103fa610e94565b005b34801561040857600080fd5b50610423600480360381019061041e919061260c565b610ea8565b005b34801561043157600080fd5b5061043a610eca565b604051610447919061291e565b60405180910390f35b34801561045c57600080fd5b50610465610ef4565b60405161047291906129a0565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190612505565b610f86565b005b6104be60048036038101906104b99190612682565b6110fe565b005b3480156104cc57600080fd5b506104d5611318565b6040516104e29190612a78565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190612482565b61133c565b005b34801561052057600080fd5b5061053b60048036038101906105369190612655565b6113af565b60405161054891906129a0565b60405180910390f35b34801561055d57600080fd5b506105666114b1565b60405161057391906129a0565b60405180910390f35b34801561058857600080fd5b5061059161153f565b60405161059e9190612985565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c991906123ef565b611552565b6040516105db9190612985565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190612585565b6115e6565b005b34801561061957600080fd5b50610634600480360381019061062f91906123c2565b61160b565b005b34801561064257600080fd5b5061064b61168f565b6040516106589190612a5d565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106bc57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ec5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461070290612d95565b80601f016020809104026020016040519081016040528092919081815260200182805461072e90612d95565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b5050505050905090565b6000610790826116b3565b6107c6576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080c82610dc9565b90508073ffffffffffffffffffffffffffffffffffffffff1661082d611712565b73ffffffffffffffffffffffffffffffffffffffff16146108905761085981610854611712565b611552565b61088f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061094c61171a565b6001546000540303905090565b60006109648261171f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109cb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806109d7846117ed565b915091506109ed81876109e8611712565b61180f565b610a3957610a02866109fd611712565b611552565b610a38576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610aa0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aad8686866001611853565b8015610ab857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610b8685610b62888887611859565b7c020000000000000000000000000000000000000000000000000000000017611881565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610c0e576000600185019050600060046000838152602001908152602001600020541415610c0c576000548114610c0b578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c7686868660016118ac565b505050505050565b610c866118b2565b610caf473373ffffffffffffffffffffffffffffffffffffffff1661193090919063ffffffff16565b565b610ccc8383836040518060200160405280600081525061133c565b505050565b610cd9612171565b6040518060c001604052807f0000000000000000000000000000000000000000000000000011c37937e0800081526020017f000000000000000000000000000000000000000000000000000000000000000a63ffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000015b363ffffffff168152602001610d6a611a24565b63ffffffff168152602001610d7e84611a37565b63ffffffff168152602001600860149054906101000a900460ff1615158152509050919050565b7f000000000000000000000000000000000000000000000000000000000000000a81565b6000610dd48261171f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e43576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610e9c6118b2565b610ea66000611a84565b565b610eb06118b2565b8060099080519060200190610ec69291906121c1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610f0390612d95565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2f90612d95565b8015610f7c5780601f10610f5157610100808354040283529160200191610f7c565b820191906000526020600020905b815481529060010190602001808311610f5f57829003601f168201915b5050505050905090565b610f8e611712565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ff3576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611000611712565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110ad611712565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110f29190612985565b60405180910390a35050565b600860149054906101000a900460ff16611144576040517f1e3177ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000015b363ffffffff16611173611a24565b8263ffffffff166111849190612b68565b11156111bc576040517f57bb669800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f0000000000000000000000000000000000000000000000000011c37937e080008263ffffffff166111f09190612c2d565b905060006111fd33611a37565b905060008167ffffffffffffffff161415611241577f0000000000000000000000000000000000000000000000000011c37937e080008261123e9190612c87565b91505b8263ffffffff16816112539190612bbe565b905061125f3382611b4a565b7f000000000000000000000000000000000000000000000000000000000000000a63ffffffff168167ffffffffffffffff1611156112c9576040517f171b8e9400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81341015611303576040517f9cb10c3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611313338463ffffffff16611c00565b505050565b7f00000000000000000000000000000000000000000000000000000000000015b381565b611347848484610959565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113a95761137284848484611c1e565b6113a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606113ba826116b3565b6113f0576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600980546113ff90612d95565b80601f016020809104026020016040519081016040528092919081815260200182805461142b90612d95565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b505050505090508061148984611d7e565b60405160200161149a9291906128e5565b604051602081830303815290604052915050919050565b600980546114be90612d95565b80601f01602080910402602001604051908101604052809291908181526020018280546114ea90612d95565b80156115375780601f1061150c57610100808354040283529160200191611537565b820191906000526020600020905b81548152906001019060200180831161151a57829003601f168201915b505050505081565b600860149054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ee6118b2565b80600860146101000a81548160ff02191690831515021790555050565b6116136118b2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a906129c2565b60405180910390fd5b61168c81611a84565b50565b7f0000000000000000000000000000000000000000000000000011c37937e0800081565b6000816116be61171a565b111580156116cd575060005482105b801561170b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061172e61171a565b116117b6576000548110156117b55760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156117b3575b60008114156117a957600460008360019003935083815260200190815260200160002054905061177e565b80925050506117e8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611870868684611edf565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6118ba611ee8565b73ffffffffffffffffffffffffffffffffffffffff166118d8610eca565b73ffffffffffffffffffffffffffffffffffffffff161461192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590612a22565b60405180910390fd5b565b80471015611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90612a02565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161199990612909565b60006040518083038185875af1925050503d80600081146119d6576040519150601f19603f3d011682016040523d82523d6000602084013e6119db565b606091505b5050905080611a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a16906129e2565b60405180910390fd5b505050565b6000611a2e61171a565b60005403905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b611c1a828260405180602001604052806000815250611ef0565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c44611712565b8786866040518563ffffffff1660e01b8152600401611c669493929190612939565b602060405180830381600087803b158015611c8057600080fd5b505af1925050508015611cb157506040513d601f19601f82011682018060405250810190611cae91906125df565b60015b611d2b573d8060008114611ce1576040519150601f19603f3d011682016040523d82523d6000602084013e611ce6565b606091505b50600081511415611d23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415611dc6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611eda565b600082905060005b60008214611df8578080611de190612df8565b915050600a82611df19190612bfc565b9150611dce565b60008167ffffffffffffffff811115611e1457611e13612f2e565b5b6040519080825280601f01601f191660200182016040528015611e465781602001600182028036833780820191505090505b5090505b60008514611ed357600182611e5f9190612c87565b9150600a85611e6e9190612e41565b6030611e7a9190612b68565b60f81b818381518110611e9057611e8f612eff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611ecc9190612bfc565b9450611e4a565b8093505050505b919050565b60009392505050565b600033905090565b611efa8383611f8d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f8857600080549050600083820390505b611f3a6000868380600101945086611c1e565b611f70576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611f27578160005414611f8557600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ffa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612035576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120426000848385611853565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506120b9836120aa6000866000611859565b6120b385612161565b17611881565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106120dd5780600081905550505061215c60008483856118ac565b505050565b60006001821460e11b9050919050565b6040518060c0016040528060008152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600063ffffffff1681526020016000151581525090565b8280546121cd90612d95565b90600052602060002090601f0160209004810192826121ef5760008555612236565b82601f1061220857805160ff1916838001178555612236565b82800160010185558215612236579182015b8281111561223557825182559160200191906001019061221a565b5b5090506122439190612247565b5090565b5b80821115612260576000816000905550600101612248565b5090565b600061227761227284612ab8565b612a93565b90508281526020810184848401111561229357612292612f62565b5b61229e848285612d53565b509392505050565b60006122b96122b484612ae9565b612a93565b9050828152602081018484840111156122d5576122d4612f62565b5b6122e0848285612d53565b509392505050565b6000813590506122f781613075565b92915050565b60008135905061230c8161308c565b92915050565b600081359050612321816130a3565b92915050565b600081519050612336816130a3565b92915050565b600082601f83011261235157612350612f5d565b5b8135612361848260208601612264565b91505092915050565b600082601f83011261237f5761237e612f5d565b5b813561238f8482602086016122a6565b91505092915050565b6000813590506123a7816130ba565b92915050565b6000813590506123bc816130d1565b92915050565b6000602082840312156123d8576123d7612f6c565b5b60006123e6848285016122e8565b91505092915050565b6000806040838503121561240657612405612f6c565b5b6000612414858286016122e8565b9250506020612425858286016122e8565b9150509250929050565b60008060006060848603121561244857612447612f6c565b5b6000612456868287016122e8565b9350506020612467868287016122e8565b925050604061247886828701612398565b9150509250925092565b6000806000806080858703121561249c5761249b612f6c565b5b60006124aa878288016122e8565b94505060206124bb878288016122e8565b93505060406124cc87828801612398565b925050606085013567ffffffffffffffff8111156124ed576124ec612f67565b5b6124f98782880161233c565b91505092959194509250565b6000806040838503121561251c5761251b612f6c565b5b600061252a858286016122e8565b925050602061253b858286016122fd565b9150509250929050565b6000806040838503121561255c5761255b612f6c565b5b600061256a858286016122e8565b925050602061257b85828601612398565b9150509250929050565b60006020828403121561259b5761259a612f6c565b5b60006125a9848285016122fd565b91505092915050565b6000602082840312156125c8576125c7612f6c565b5b60006125d684828501612312565b91505092915050565b6000602082840312156125f5576125f4612f6c565b5b600061260384828501612327565b91505092915050565b60006020828403121561262257612621612f6c565b5b600082013567ffffffffffffffff8111156126405761263f612f67565b5b61264c8482850161236a565b91505092915050565b60006020828403121561266b5761266a612f6c565b5b600061267984828501612398565b91505092915050565b60006020828403121561269857612697612f6c565b5b60006126a6848285016123ad565b91505092915050565b6126b881612cbb565b82525050565b6126c781612ccd565b82525050565b6126d681612ccd565b82525050565b60006126e782612b1a565b6126f18185612b30565b9350612701818560208601612d62565b61270a81612f71565b840191505092915050565b600061272082612b25565b61272a8185612b4c565b935061273a818560208601612d62565b61274381612f71565b840191505092915050565b600061275982612b25565b6127638185612b5d565b9350612773818560208601612d62565b80840191505092915050565b600061278c602683612b4c565b915061279782612f82565b604082019050919050565b60006127af603a83612b4c565b91506127ba82612fd1565b604082019050919050565b60006127d2601d83612b4c565b91506127dd82613020565b602082019050919050565b60006127f5602083612b4c565b915061280082613049565b602082019050919050565b6000612818600083612b41565b915061282382613072565b600082019050919050565b60c08201600082015161284460008501826128a9565b50602082015161285760208501826128c7565b50604082015161286a60408501826128c7565b50606082015161287d60608501826128c7565b50608082015161289060808501826128c7565b5060a08201516128a360a08501826126be565b50505050565b6128b281612d25565b82525050565b6128c181612d25565b82525050565b6128d081612d2f565b82525050565b6128df81612d2f565b82525050565b60006128f1828561274e565b91506128fd828461274e565b91508190509392505050565b60006129148261280b565b9150819050919050565b600060208201905061293360008301846126af565b92915050565b600060808201905061294e60008301876126af565b61295b60208301866126af565b61296860408301856128b8565b818103606083015261297a81846126dc565b905095945050505050565b600060208201905061299a60008301846126cd565b92915050565b600060208201905081810360008301526129ba8184612715565b905092915050565b600060208201905081810360008301526129db8161277f565b9050919050565b600060208201905081810360008301526129fb816127a2565b9050919050565b60006020820190508181036000830152612a1b816127c5565b9050919050565b60006020820190508181036000830152612a3b816127e8565b9050919050565b600060c082019050612a57600083018461282e565b92915050565b6000602082019050612a7260008301846128b8565b92915050565b6000602082019050612a8d60008301846128d6565b92915050565b6000612a9d612aae565b9050612aa98282612dc7565b919050565b6000604051905090565b600067ffffffffffffffff821115612ad357612ad2612f2e565b5b612adc82612f71565b9050602081019050919050565b600067ffffffffffffffff821115612b0457612b03612f2e565b5b612b0d82612f71565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612b7382612d25565b9150612b7e83612d25565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612bb357612bb2612e72565b5b828201905092915050565b6000612bc982612d3f565b9150612bd483612d3f565b92508267ffffffffffffffff03821115612bf157612bf0612e72565b5b828201905092915050565b6000612c0782612d25565b9150612c1283612d25565b925082612c2257612c21612ea1565b5b828204905092915050565b6000612c3882612d25565b9150612c4383612d25565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c7c57612c7b612e72565b5b828202905092915050565b6000612c9282612d25565b9150612c9d83612d25565b925082821015612cb057612caf612e72565b5b828203905092915050565b6000612cc682612d05565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015612d80578082015181840152602081019050612d65565b83811115612d8f576000848401525b50505050565b60006002820490506001821680612dad57607f821691505b60208210811415612dc157612dc0612ed0565b5b50919050565b612dd082612f71565b810181811067ffffffffffffffff82111715612def57612dee612f2e565b5b80604052505050565b6000612e0382612d25565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e3657612e35612e72565b5b600182019050919050565b6000612e4c82612d25565b9150612e5783612d25565b925082612e6757612e66612ea1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b61307e81612cbb565b811461308957600080fd5b50565b61309581612ccd565b81146130a057600080fd5b50565b6130ac81612cd9565b81146130b757600080fd5b50565b6130c381612d25565b81146130ce57600080fd5b50565b6130da81612d2f565b81146130e557600080fd5b5056fea26469706673582212201f87c1a95680bba343e43d18ee4412d99c3949ccdbcdb3c86eea760282944a7e64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000000a

-----Decoded View---------------
Arg [0] : mintPrice (uint256): 5000000000000000
Arg [1] : maxSupply (uint32): 5555
Arg [2] : walletLimit (uint32): 10

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000011c37937e08000
Arg [1] : 00000000000000000000000000000000000000000000000000000000000015b3
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a


Deployed Bytecode Sourcemap

85784:2423:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14592:615;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20239:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22185:204;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21733:386;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;13646:315;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31450:2800;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88094:110;;;;;;;;;;;;;:::i;:::-;;23075:185;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87184:402;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86013:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20028:144;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15271:224;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72599:103;;;;;;;;;;;;;:::i;:::-;;87987:99;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;71951:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20408:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22461:308;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86369:614;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85973:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23331:399;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87594:286;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86083:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86057:19;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22840:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87890:89;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;72857:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85932:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14592:615;14677:4;14992:10;14977:25;;:11;:25;;;;:102;;;;15069:10;15054:25;;:11;:25;;;;14977:102;:179;;;;15146:10;15131:25;;:11;:25;;;;14977:179;14957:199;;14592:615;;;:::o;20239:100::-;20293:13;20326:5;20319:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20239:100;:::o;22185:204::-;22253:7;22278:16;22286:7;22278;:16::i;:::-;22273:64;;22303:34;;;;;;;;;;;;;;22273:64;22357:15;:24;22373:7;22357:24;;;;;;;;;;;;;;;;;;;;;22350:31;;22185:204;;;:::o;21733:386::-;21806:13;21822:16;21830:7;21822;:16::i;:::-;21806:32;;21878:5;21855:28;;:19;:17;:19::i;:::-;:28;;;21851:175;;21903:44;21920:5;21927:19;:17;:19::i;:::-;21903:16;:44::i;:::-;21898:128;;21975:35;;;;;;;;;;;;;;21898:128;21851:175;22065:2;22038:15;:24;22054:7;22038:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;22103:7;22099:2;22083:28;;22092:5;22083:28;;;;;;;;;;;;21795:324;21733:386;;:::o;13646:315::-;13699:7;13927:15;:13;:15::i;:::-;13912:12;;13896:13;;:28;:46;13889:53;;13646:315;:::o;31450:2800::-;31584:27;31614;31633:7;31614:18;:27::i;:::-;31584:57;;31699:4;31658:45;;31674:19;31658:45;;;31654:86;;31712:28;;;;;;;;;;;;;;31654:86;31754:27;31783:23;31810:28;31830:7;31810:19;:28::i;:::-;31753:85;;;;31938:62;31957:15;31974:4;31980:19;:17;:19::i;:::-;31938:18;:62::i;:::-;31933:174;;32020:43;32037:4;32043:19;:17;:19::i;:::-;32020:16;:43::i;:::-;32015:92;;32072:35;;;;;;;;;;;;;;32015:92;31933:174;32138:1;32124:16;;:2;:16;;;32120:52;;;32149:23;;;;;;;;;;;;;;32120:52;32185:43;32207:4;32213:2;32217:7;32226:1;32185:21;:43::i;:::-;32321:15;32318:160;;;32461:1;32440:19;32433:30;32318:160;32856:18;:24;32875:4;32856:24;;;;;;;;;;;;;;;;32854:26;;;;;;;;;;;;32925:18;:22;32944:2;32925:22;;;;;;;;;;;;;;;;32923:24;;;;;;;;;;;33247:145;33284:2;33332:45;33347:4;33353:2;33357:19;33332:14;:45::i;:::-;10874:8;33305:72;33247:18;:145::i;:::-;33218:17;:26;33236:7;33218:26;;;;;;;;;;;:174;;;;33562:1;10874:8;33512:19;:46;:51;33508:626;;;33584:19;33616:1;33606:7;:11;33584:33;;33773:1;33739:17;:30;33757:11;33739:30;;;;;;;;;;;;:35;33735:384;;;33877:13;;33862:11;:28;33858:242;;34057:19;34024:17;:30;34042:11;34024:30;;;;;;;;;;;:52;;;;33858:242;33735:384;33565:569;33508:626;34181:7;34177:2;34162:27;;34171:4;34162:27;;;;;;;;;;;;34200:42;34221:4;34227:2;34231:7;34240:1;34200:20;:42::i;:::-;31573:2677;;;31450:2800;;;:::o;88094:110::-;71837:13;:11;:13::i;:::-;88144:52:::1;88174:21;88152:10;88144:29;;;;:52;;;;:::i;:::-;88094:110::o:0;23075:185::-;23213:39;23230:4;23236:2;23240:7;23213:39;;;;;;;;;;;;:16;:39::i;:::-;23075:185;;;:::o;87184:402::-;87239:12;;:::i;:::-;87284:294;;;;;;;;87320:9;87284:294;;;;87361:11;87284:294;;;;;;87402:9;87284:294;;;;;;87450:22;:20;:22::i;:::-;87284:294;;;;;;87511:15;87519:6;87511:7;:15::i;:::-;87284:294;;;;;;87555:7;;;;;;;;;;;87284:294;;;;;87264:314;;87184:402;;;:::o;86013:35::-;;;:::o;20028:144::-;20092:7;20135:27;20154:7;20135:18;:27::i;:::-;20112:52;;20028:144;;;:::o;15271:224::-;15335:7;15376:1;15359:19;;:5;:19;;;15355:60;;;15387:28;;;;;;;;;;;;;;15355:60;9826:13;15433:18;:25;15452:5;15433:25;;;;;;;;;;;;;;;;:54;15426:61;;15271:224;;;:::o;72599:103::-;71837:13;:11;:13::i;:::-;72664:30:::1;72691:1;72664:18;:30::i;:::-;72599:103::o:0;87987:99::-;71837:13;:11;:13::i;:::-;88075:3:::1;88060:12;:18;;;;;;;;;;;;:::i;:::-;;87987:99:::0;:::o;71951:87::-;71997:7;72024:6;;;;;;;;;;;72017:13;;71951:87;:::o;20408:104::-;20464:13;20497:7;20490:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20408:104;:::o;22461:308::-;22572:19;:17;:19::i;:::-;22560:31;;:8;:31;;;22556:61;;;22600:17;;;;;;;;;;;;;;22556:61;22682:8;22630:18;:39;22649:19;:17;:19::i;:::-;22630:39;;;;;;;;;;;;;;;:49;22670:8;22630:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;22742:8;22706:55;;22721:19;:17;:19::i;:::-;22706:55;;;22752:8;22706:55;;;;;;:::i;:::-;;;;;;;;22461:308;;:::o;86369:614::-;86431:7;;;;;;;;;;;86426:42;;86447:21;;;;;;;;;;;;;;86426:42;86509:9;86483:35;;86492:14;:12;:14::i;:::-;86483:6;:23;;;;;;:::i;:::-;:35;86479:70;;;86527:22;;;;;;;;;;;;;;86479:70;86562:21;86595:9;86586:6;:18;;;;;;:::i;:::-;86562:42;;86615:17;86635:19;86643:10;86635:7;:19::i;:::-;86615:39;;86683:1;86669:10;:15;;;86665:47;;;86703:9;86686:26;;;;;:::i;:::-;;;86665:47;86739:6;86725:20;;;;;;;:::i;:::-;;;86756:31;86764:10;86776;86756:7;:31::i;:::-;86815:11;86802:24;;:10;:24;;;86798:61;;;86835:24;;;;;;;;;;;;;;86798:61;86888:13;86876:9;:25;86872:61;;;86910:23;;;;;;;;;;;;;;86872:61;86946:29;86956:10;86968:6;86946:29;;:9;:29::i;:::-;86415:568;;86369:614;:::o;85973:33::-;;;:::o;23331:399::-;23498:31;23511:4;23517:2;23521:7;23498:12;:31::i;:::-;23562:1;23544:2;:14;;;:19;23540:183;;23583:56;23614:4;23620:2;23624:7;23633:5;23583:30;:56::i;:::-;23578:145;;23667:40;;;;;;;;;;;;;;23578:145;23540:183;23331:399;;;;:::o;87594:286::-;87667:13;87698:16;87706:7;87698;:16::i;:::-;87693:59;;87723:29;;;;;;;;;;;;;;87693:59;87765:21;87789:12;87765:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87843:7;87852:18;:7;:16;:18::i;:::-;87826:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;87812:60;;;87594:286;;;:::o;86083:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;86057:19::-;;;;;;;;;;;;;:::o;22840:164::-;22937:4;22961:18;:25;22980:5;22961:25;;;;;;;;;;;;;;;:35;22987:8;22961:35;;;;;;;;;;;;;;;;;;;;;;;;;22954:42;;22840:164;;;;:::o;87890:89::-;71837:13;:11;:13::i;:::-;87964:7:::1;87954;;:17;;;;;;;;;;;;;;;;;;87890:89:::0;:::o;72857:201::-;71837:13;:11;:13::i;:::-;72966:1:::1;72946:22;;:8;:22;;;;72938:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;73022:28;73041:8;73022:18;:28::i;:::-;72857:201:::0;:::o;85932:34::-;;;:::o;23985:273::-;24042:4;24098:7;24079:15;:13;:15::i;:::-;:26;;:66;;;;;24132:13;;24122:7;:23;24079:66;:152;;;;;24230:1;10596:8;24183:17;:26;24201:7;24183:26;;;;;;;;;;;;:43;:48;24079:152;24059:172;;23985:273;;;:::o;42546:105::-;42606:7;42633:10;42626:17;;42546:105;:::o;13170:92::-;13226:7;13170:92;:::o;16945:1129::-;17012:7;17032:12;17047:7;17032:22;;17115:4;17096:15;:13;:15::i;:::-;:23;17092:915;;17149:13;;17142:4;:20;17138:869;;;17187:14;17204:17;:23;17222:4;17204:23;;;;;;;;;;;;17187:40;;17320:1;10596:8;17293:6;:23;:28;17289:699;;;17812:113;17829:1;17819:6;:11;17812:113;;;17872:17;:25;17890:6;;;;;;;17872:25;;;;;;;;;;;;17863:34;;17812:113;;;17958:6;17951:13;;;;;;17289:699;17164:843;17138:869;17092:915;18035:31;;;;;;;;;;;;;;16945:1129;;;;:::o;29786:652::-;29881:27;29910:23;29951:53;30007:15;29951:71;;30193:7;30187:4;30180:21;30228:22;30222:4;30215:36;30304:4;30298;30288:21;30265:44;;30400:19;30394:26;30375:45;;30131:300;29786:652;;;:::o;30551:645::-;30693:11;30855:15;30849:4;30845:26;30837:34;;31014:15;31003:9;30999:31;30986:44;;31161:15;31150:9;31147:30;31140:4;31129:9;31126:19;31123:55;31113:65;;30551:645;;;;;:::o;41379:159::-;;;;;:::o;39691:309::-;39826:7;39846:16;10997:3;39872:19;:40;;39846:67;;10997:3;39939:31;39950:4;39956:2;39960:9;39939:10;:31::i;:::-;39931:40;;:61;;39924:68;;;39691:309;;;;;:::o;19519:447::-;19599:14;19767:15;19760:5;19756:27;19747:36;;19941:5;19927:11;19903:22;19899:40;19896:51;19889:5;19886:62;19876:72;;19519:447;;;;:::o;42197:158::-;;;;;:::o;72116:132::-;72191:12;:10;:12::i;:::-;72180:23;;:7;:5;:7::i;:::-;:23;;;72172:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;72116:132::o;47218:317::-;47333:6;47308:21;:31;;47300:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;47387:12;47405:9;:14;;47427:6;47405:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47386:52;;;47457:7;47449:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;47289:246;47218:317;;:::o;14059:285::-;14106:7;14310:15;:13;:15::i;:::-;14294:13;;:31;14287:38;;14059:285;:::o;16145:136::-;16200:6;10197:3;16233:18;:25;16252:5;16233:25;;;;;;;;;;;;;;;;:39;;16219:54;;16145:136;;;:::o;73218:191::-;73292:16;73311:6;;;;;;;;;;;73292:25;;73337:8;73328:6;;:17;;;;;;;;;;;;;;;;;;73392:8;73361:40;;73382:8;73361:40;;;;;;;;;;;;73281:128;73218:191;:::o;16469:394::-;16533:14;16550:18;:25;16569:5;16550:25;;;;;;;;;;;;;;;;16533:42;;16586:17;16716:3;16703:16;;10197:3;16786:9;:23;;10341:14;16750:6;:31;16749:61;16740:70;;16849:6;16821:18;:25;16840:5;16821:25;;;;;;;;;;;;;;;:34;;;;16522:341;;16469:394;;:::o;24342:104::-;24411:27;24421:2;24425:8;24411:27;;;;;;;;;;;;:9;:27::i;:::-;24342:104;;:::o;38201:716::-;38364:4;38410:2;38385:45;;;38431:19;:17;:19::i;:::-;38452:4;38458:7;38467:5;38385:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;38381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38685:1;38668:6;:13;:18;38664:235;;;38714:40;;;;;;;;;;;;;;38664:235;38857:6;38851:13;38842:6;38838:2;38834:15;38827:38;38381:529;38554:54;;;38544:64;;;:6;:64;;;;38537:71;;;38201:716;;;;;;:::o;73846:723::-;73902:13;74132:1;74123:5;:10;74119:53;;;74150:10;;;;;;;;;;;;;;;;;;;;;74119:53;74182:12;74197:5;74182:20;;74213:14;74238:78;74253:1;74245:4;:9;74238:78;;74271:8;;;;;:::i;:::-;;;;74302:2;74294:10;;;;;:::i;:::-;;;74238:78;;;74326:19;74358:6;74348:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74326:39;;74376:154;74392:1;74383:5;:10;74376:154;;74420:1;74410:11;;;;;:::i;:::-;;;74487:2;74479:5;:10;;;;:::i;:::-;74466:2;:24;;;;:::i;:::-;74453:39;;74436:6;74443;74436:14;;;;;;;;:::i;:::-;;;;;:56;;;;;;;;;;;74516:2;74507:11;;;;;:::i;:::-;;;74376:154;;;74554:6;74540:21;;;;;73846:723;;;;:::o;40576:147::-;40713:6;40576:147;;;;;:::o;57570:98::-;57623:7;57650:10;57643:17;;57570:98;:::o;24862:681::-;24985:19;24991:2;24995:8;24985:5;:19::i;:::-;25064:1;25046:2;:14;;;:19;25042:483;;25086:11;25100:13;;25086:27;;25132:13;25154:8;25148:3;:14;25132:30;;25181:233;25212:62;25251:1;25255:2;25259:7;;;;;;25268:5;25212:30;:62::i;:::-;25207:167;;25310:40;;;;;;;;;;;;;;25207:167;25409:3;25401:5;:11;25181:233;;25496:3;25479:13;;:20;25475:34;;25501:8;;;25475:34;25067:458;;25042:483;24862:681;;;:::o;25816:1529::-;25881:20;25904:13;;25881:36;;25946:1;25932:16;;:2;:16;;;25928:48;;;25957:19;;;;;;;;;;;;;;25928:48;26003:1;25991:8;:13;25987:44;;;26013:18;;;;;;;;;;;;;;25987:44;26044:61;26074:1;26078:2;26082:12;26096:8;26044:21;:61::i;:::-;26587:1;9963:2;26558:1;:25;;26557:31;26545:8;:44;26519:18;:22;26538:2;26519:22;;;;;;;;;;;;;;;;:70;;;;;;;;;;;26866:139;26903:2;26957:33;26980:1;26984:2;26988:1;26957:14;:33::i;:::-;26924:30;26945:8;26924:20;:30::i;:::-;:66;26866:18;:139::i;:::-;26832:17;:31;26850:12;26832:31;;;;;;;;;;;:173;;;;27022:15;27040:12;27022:30;;27067:11;27096:8;27081:12;:23;27067:37;;27119:101;27171:9;;;;;;27167:2;27146:35;;27163:1;27146:35;;;;;;;;;;;;27215:3;27205:7;:13;27119:101;;27252:3;27236:13;:19;;;;26293:974;;27277:60;27306:1;27310:2;27314:12;27328:8;27277:20;:60::i;:::-;25870:1475;25816:1529;;:::o;21349:322::-;21419:14;21650:1;21640:8;21637:15;21612:23;21608:45;21598:55;;21349:322;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:412::-;501:5;526:66;542:49;584:6;542:49;:::i;:::-;526:66;:::i;:::-;517:75;;615:6;608:5;601:21;653:4;646:5;642:16;691:3;682:6;677:3;673:16;670:25;667:112;;;698:79;;:::i;:::-;667:112;788:41;822:6;817:3;812;788:41;:::i;:::-;507:328;423:412;;;;;:::o;841:139::-;887:5;925:6;912:20;903:29;;941:33;968:5;941:33;:::i;:::-;841:139;;;;:::o;986:133::-;1029:5;1067:6;1054:20;1045:29;;1083:30;1107:5;1083:30;:::i;:::-;986:133;;;;:::o;1125:137::-;1170:5;1208:6;1195:20;1186:29;;1224:32;1250:5;1224:32;:::i;:::-;1125:137;;;;:::o;1268:141::-;1324:5;1355:6;1349:13;1340:22;;1371:32;1397:5;1371:32;:::i;:::-;1268:141;;;;:::o;1428:338::-;1483:5;1532:3;1525:4;1517:6;1513:17;1509:27;1499:122;;1540:79;;:::i;:::-;1499:122;1657:6;1644:20;1682:78;1756:3;1748:6;1741:4;1733:6;1729:17;1682:78;:::i;:::-;1673:87;;1489:277;1428:338;;;;:::o;1786:340::-;1842:5;1891:3;1884:4;1876:6;1872:17;1868:27;1858:122;;1899:79;;:::i;:::-;1858:122;2016:6;2003:20;2041:79;2116:3;2108:6;2101:4;2093:6;2089:17;2041:79;:::i;:::-;2032:88;;1848:278;1786:340;;;;:::o;2132:139::-;2178:5;2216:6;2203:20;2194:29;;2232:33;2259:5;2232:33;:::i;:::-;2132:139;;;;:::o;2277:137::-;2322:5;2360:6;2347:20;2338:29;;2376:32;2402:5;2376:32;:::i;:::-;2277:137;;;;:::o;2420:329::-;2479:6;2528:2;2516:9;2507:7;2503:23;2499:32;2496:119;;;2534:79;;:::i;:::-;2496:119;2654:1;2679:53;2724:7;2715:6;2704:9;2700:22;2679:53;:::i;:::-;2669:63;;2625:117;2420:329;;;;:::o;2755:474::-;2823:6;2831;2880:2;2868:9;2859:7;2855:23;2851:32;2848:119;;;2886:79;;:::i;:::-;2848:119;3006:1;3031:53;3076:7;3067:6;3056:9;3052:22;3031:53;:::i;:::-;3021:63;;2977:117;3133:2;3159:53;3204:7;3195:6;3184:9;3180:22;3159:53;:::i;:::-;3149:63;;3104:118;2755:474;;;;;:::o;3235:619::-;3312:6;3320;3328;3377:2;3365:9;3356:7;3352:23;3348:32;3345:119;;;3383:79;;:::i;:::-;3345:119;3503:1;3528:53;3573:7;3564:6;3553:9;3549:22;3528:53;:::i;:::-;3518:63;;3474:117;3630:2;3656:53;3701:7;3692:6;3681:9;3677:22;3656:53;:::i;:::-;3646:63;;3601:118;3758:2;3784:53;3829:7;3820:6;3809:9;3805:22;3784:53;:::i;:::-;3774:63;;3729:118;3235:619;;;;;:::o;3860:943::-;3955:6;3963;3971;3979;4028:3;4016:9;4007:7;4003:23;3999:33;3996:120;;;4035:79;;:::i;:::-;3996:120;4155:1;4180:53;4225:7;4216:6;4205:9;4201:22;4180:53;:::i;:::-;4170:63;;4126:117;4282:2;4308:53;4353:7;4344:6;4333:9;4329:22;4308:53;:::i;:::-;4298:63;;4253:118;4410:2;4436:53;4481:7;4472:6;4461:9;4457:22;4436:53;:::i;:::-;4426:63;;4381:118;4566:2;4555:9;4551:18;4538:32;4597:18;4589:6;4586:30;4583:117;;;4619:79;;:::i;:::-;4583:117;4724:62;4778:7;4769:6;4758:9;4754:22;4724:62;:::i;:::-;4714:72;;4509:287;3860:943;;;;;;;:::o;4809:468::-;4874:6;4882;4931:2;4919:9;4910:7;4906:23;4902:32;4899:119;;;4937:79;;:::i;:::-;4899:119;5057:1;5082:53;5127:7;5118:6;5107:9;5103:22;5082:53;:::i;:::-;5072:63;;5028:117;5184:2;5210:50;5252:7;5243:6;5232:9;5228:22;5210:50;:::i;:::-;5200:60;;5155:115;4809:468;;;;;:::o;5283:474::-;5351:6;5359;5408:2;5396:9;5387:7;5383:23;5379:32;5376:119;;;5414:79;;:::i;:::-;5376:119;5534:1;5559:53;5604:7;5595:6;5584:9;5580:22;5559:53;:::i;:::-;5549:63;;5505:117;5661:2;5687:53;5732:7;5723:6;5712:9;5708:22;5687:53;:::i;:::-;5677:63;;5632:118;5283:474;;;;;:::o;5763:323::-;5819:6;5868:2;5856:9;5847:7;5843:23;5839:32;5836:119;;;5874:79;;:::i;:::-;5836:119;5994:1;6019:50;6061:7;6052:6;6041:9;6037:22;6019:50;:::i;:::-;6009:60;;5965:114;5763:323;;;;:::o;6092:327::-;6150:6;6199:2;6187:9;6178:7;6174:23;6170:32;6167:119;;;6205:79;;:::i;:::-;6167:119;6325:1;6350:52;6394:7;6385:6;6374:9;6370:22;6350:52;:::i;:::-;6340:62;;6296:116;6092:327;;;;:::o;6425:349::-;6494:6;6543:2;6531:9;6522:7;6518:23;6514:32;6511:119;;;6549:79;;:::i;:::-;6511:119;6669:1;6694:63;6749:7;6740:6;6729:9;6725:22;6694:63;:::i;:::-;6684:73;;6640:127;6425:349;;;;:::o;6780:509::-;6849:6;6898:2;6886:9;6877:7;6873:23;6869:32;6866:119;;;6904:79;;:::i;:::-;6866:119;7052:1;7041:9;7037:17;7024:31;7082:18;7074:6;7071:30;7068:117;;;7104:79;;:::i;:::-;7068:117;7209:63;7264:7;7255:6;7244:9;7240:22;7209:63;:::i;:::-;7199:73;;6995:287;6780:509;;;;:::o;7295:329::-;7354:6;7403:2;7391:9;7382:7;7378:23;7374:32;7371:119;;;7409:79;;:::i;:::-;7371:119;7529:1;7554:53;7599:7;7590:6;7579:9;7575:22;7554:53;:::i;:::-;7544:63;;7500:117;7295:329;;;;:::o;7630:327::-;7688:6;7737:2;7725:9;7716:7;7712:23;7708:32;7705:119;;;7743:79;;:::i;:::-;7705:119;7863:1;7888:52;7932:7;7923:6;7912:9;7908:22;7888:52;:::i;:::-;7878:62;;7834:116;7630:327;;;;:::o;7963:118::-;8050:24;8068:5;8050:24;:::i;:::-;8045:3;8038:37;7963:118;;:::o;8087:99::-;8158:21;8173:5;8158:21;:::i;:::-;8153:3;8146:34;8087:99;;:::o;8192:109::-;8273:21;8288:5;8273:21;:::i;:::-;8268:3;8261:34;8192:109;;:::o;8307:360::-;8393:3;8421:38;8453:5;8421:38;:::i;:::-;8475:70;8538:6;8533:3;8475:70;:::i;:::-;8468:77;;8554:52;8599:6;8594:3;8587:4;8580:5;8576:16;8554:52;:::i;:::-;8631:29;8653:6;8631:29;:::i;:::-;8626:3;8622:39;8615:46;;8397:270;8307:360;;;;:::o;8673:364::-;8761:3;8789:39;8822:5;8789:39;:::i;:::-;8844:71;8908:6;8903:3;8844:71;:::i;:::-;8837:78;;8924:52;8969:6;8964:3;8957:4;8950:5;8946:16;8924:52;:::i;:::-;9001:29;9023:6;9001:29;:::i;:::-;8996:3;8992:39;8985:46;;8765:272;8673:364;;;;:::o;9043:377::-;9149:3;9177:39;9210:5;9177:39;:::i;:::-;9232:89;9314:6;9309:3;9232:89;:::i;:::-;9225:96;;9330:52;9375:6;9370:3;9363:4;9356:5;9352:16;9330:52;:::i;:::-;9407:6;9402:3;9398:16;9391:23;;9153:267;9043:377;;;;:::o;9426:366::-;9568:3;9589:67;9653:2;9648:3;9589:67;:::i;:::-;9582:74;;9665:93;9754:3;9665:93;:::i;:::-;9783:2;9778:3;9774:12;9767:19;;9426:366;;;:::o;9798:::-;9940:3;9961:67;10025:2;10020:3;9961:67;:::i;:::-;9954:74;;10037:93;10126:3;10037:93;:::i;:::-;10155:2;10150:3;10146:12;10139:19;;9798:366;;;:::o;10170:::-;10312:3;10333:67;10397:2;10392:3;10333:67;:::i;:::-;10326:74;;10409:93;10498:3;10409:93;:::i;:::-;10527:2;10522:3;10518:12;10511:19;;10170:366;;;:::o;10542:::-;10684:3;10705:67;10769:2;10764:3;10705:67;:::i;:::-;10698:74;;10781:93;10870:3;10781:93;:::i;:::-;10899:2;10894:3;10890:12;10883:19;;10542:366;;;:::o;10914:398::-;11073:3;11094:83;11175:1;11170:3;11094:83;:::i;:::-;11087:90;;11186:93;11275:3;11186:93;:::i;:::-;11304:1;11299:3;11295:11;11288:18;;10914:398;;;:::o;11370:1218::-;11513:4;11508:3;11504:14;11605:4;11598:5;11594:16;11588:23;11624:63;11681:4;11676:3;11672:14;11658:12;11624:63;:::i;:::-;11528:169;11786:4;11779:5;11775:16;11769:23;11805:61;11860:4;11855:3;11851:14;11837:12;11805:61;:::i;:::-;11707:169;11963:4;11956:5;11952:16;11946:23;11982:61;12037:4;12032:3;12028:14;12014:12;11982:61;:::i;:::-;11886:167;12142:4;12135:5;12131:16;12125:23;12161:61;12216:4;12211:3;12207:14;12193:12;12161:61;:::i;:::-;12063:169;12320:4;12313:5;12309:16;12303:23;12339:61;12394:4;12389:3;12385:14;12371:12;12339:61;:::i;:::-;12242:168;12495:4;12488:5;12484:16;12478:23;12514:57;12565:4;12560:3;12556:14;12542:12;12514:57;:::i;:::-;12420:161;11482:1106;11370:1218;;:::o;12594:108::-;12671:24;12689:5;12671:24;:::i;:::-;12666:3;12659:37;12594:108;;:::o;12708:118::-;12795:24;12813:5;12795:24;:::i;:::-;12790:3;12783:37;12708:118;;:::o;12832:105::-;12907:23;12924:5;12907:23;:::i;:::-;12902:3;12895:36;12832:105;;:::o;12943:115::-;13028:23;13045:5;13028:23;:::i;:::-;13023:3;13016:36;12943:115;;:::o;13064:435::-;13244:3;13266:95;13357:3;13348:6;13266:95;:::i;:::-;13259:102;;13378:95;13469:3;13460:6;13378:95;:::i;:::-;13371:102;;13490:3;13483:10;;13064:435;;;;;:::o;13505:379::-;13689:3;13711:147;13854:3;13711:147;:::i;:::-;13704:154;;13875:3;13868:10;;13505:379;;;:::o;13890:222::-;13983:4;14021:2;14010:9;14006:18;13998:26;;14034:71;14102:1;14091:9;14087:17;14078:6;14034:71;:::i;:::-;13890:222;;;;:::o;14118:640::-;14313:4;14351:3;14340:9;14336:19;14328:27;;14365:71;14433:1;14422:9;14418:17;14409:6;14365:71;:::i;:::-;14446:72;14514:2;14503:9;14499:18;14490:6;14446:72;:::i;:::-;14528;14596:2;14585:9;14581:18;14572:6;14528:72;:::i;:::-;14647:9;14641:4;14637:20;14632:2;14621:9;14617:18;14610:48;14675:76;14746:4;14737:6;14675:76;:::i;:::-;14667:84;;14118:640;;;;;;;:::o;14764:210::-;14851:4;14889:2;14878:9;14874:18;14866:26;;14902:65;14964:1;14953:9;14949:17;14940:6;14902:65;:::i;:::-;14764:210;;;;:::o;14980:313::-;15093:4;15131:2;15120:9;15116:18;15108:26;;15180:9;15174:4;15170:20;15166:1;15155:9;15151:17;15144:47;15208:78;15281:4;15272:6;15208:78;:::i;:::-;15200:86;;14980:313;;;;:::o;15299:419::-;15465:4;15503:2;15492:9;15488:18;15480:26;;15552:9;15546:4;15542:20;15538:1;15527:9;15523:17;15516:47;15580:131;15706:4;15580:131;:::i;:::-;15572:139;;15299:419;;;:::o;15724:::-;15890:4;15928:2;15917:9;15913:18;15905:26;;15977:9;15971:4;15967:20;15963:1;15952:9;15948:17;15941:47;16005:131;16131:4;16005:131;:::i;:::-;15997:139;;15724:419;;;:::o;16149:::-;16315:4;16353:2;16342:9;16338:18;16330:26;;16402:9;16396:4;16392:20;16388:1;16377:9;16373:17;16366:47;16430:131;16556:4;16430:131;:::i;:::-;16422:139;;16149:419;;;:::o;16574:::-;16740:4;16778:2;16767:9;16763:18;16755:26;;16827:9;16821:4;16817:20;16813:1;16802:9;16798:17;16791:47;16855:131;16981:4;16855:131;:::i;:::-;16847:139;;16574:419;;;:::o;16999:315::-;17138:4;17176:3;17165:9;17161:19;17153:27;;17190:117;17304:1;17293:9;17289:17;17280:6;17190:117;:::i;:::-;16999:315;;;;:::o;17320:222::-;17413:4;17451:2;17440:9;17436:18;17428:26;;17464:71;17532:1;17521:9;17517:17;17508:6;17464:71;:::i;:::-;17320:222;;;;:::o;17548:218::-;17639:4;17677:2;17666:9;17662:18;17654:26;;17690:69;17756:1;17745:9;17741:17;17732:6;17690:69;:::i;:::-;17548:218;;;;:::o;17772:129::-;17806:6;17833:20;;:::i;:::-;17823:30;;17862:33;17890:4;17882:6;17862:33;:::i;:::-;17772:129;;;:::o;17907:75::-;17940:6;17973:2;17967:9;17957:19;;17907:75;:::o;17988:307::-;18049:4;18139:18;18131:6;18128:30;18125:56;;;18161:18;;:::i;:::-;18125:56;18199:29;18221:6;18199:29;:::i;:::-;18191:37;;18283:4;18277;18273:15;18265:23;;17988:307;;;:::o;18301:308::-;18363:4;18453:18;18445:6;18442:30;18439:56;;;18475:18;;:::i;:::-;18439:56;18513:29;18535:6;18513:29;:::i;:::-;18505:37;;18597:4;18591;18587:15;18579:23;;18301:308;;;:::o;18615:98::-;18666:6;18700:5;18694:12;18684:22;;18615:98;;;:::o;18719:99::-;18771:6;18805:5;18799:12;18789:22;;18719:99;;;:::o;18824:168::-;18907:11;18941:6;18936:3;18929:19;18981:4;18976:3;18972:14;18957:29;;18824:168;;;;:::o;18998:147::-;19099:11;19136:3;19121:18;;18998:147;;;;:::o;19151:169::-;19235:11;19269:6;19264:3;19257:19;19309:4;19304:3;19300:14;19285:29;;19151:169;;;;:::o;19326:148::-;19428:11;19465:3;19450:18;;19326:148;;;;:::o;19480:305::-;19520:3;19539:20;19557:1;19539:20;:::i;:::-;19534:25;;19573:20;19591:1;19573:20;:::i;:::-;19568:25;;19727:1;19659:66;19655:74;19652:1;19649:81;19646:107;;;19733:18;;:::i;:::-;19646:107;19777:1;19774;19770:9;19763:16;;19480:305;;;;:::o;19791:254::-;19830:3;19849:19;19866:1;19849:19;:::i;:::-;19844:24;;19882:19;19899:1;19882:19;:::i;:::-;19877:24;;19987:1;19967:18;19963:26;19960:1;19957:33;19954:59;;;19993:18;;:::i;:::-;19954:59;20037:1;20034;20030:9;20023:16;;19791:254;;;;:::o;20051:185::-;20091:1;20108:20;20126:1;20108:20;:::i;:::-;20103:25;;20142:20;20160:1;20142:20;:::i;:::-;20137:25;;20181:1;20171:35;;20186:18;;:::i;:::-;20171:35;20228:1;20225;20221:9;20216:14;;20051:185;;;;:::o;20242:348::-;20282:7;20305:20;20323:1;20305:20;:::i;:::-;20300:25;;20339:20;20357:1;20339:20;:::i;:::-;20334:25;;20527:1;20459:66;20455:74;20452:1;20449:81;20444:1;20437:9;20430:17;20426:105;20423:131;;;20534:18;;:::i;:::-;20423:131;20582:1;20579;20575:9;20564:20;;20242:348;;;;:::o;20596:191::-;20636:4;20656:20;20674:1;20656:20;:::i;:::-;20651:25;;20690:20;20708:1;20690:20;:::i;:::-;20685:25;;20729:1;20726;20723:8;20720:34;;;20734:18;;:::i;:::-;20720:34;20779:1;20776;20772:9;20764:17;;20596:191;;;;:::o;20793:96::-;20830:7;20859:24;20877:5;20859:24;:::i;:::-;20848:35;;20793:96;;;:::o;20895:90::-;20929:7;20972:5;20965:13;20958:21;20947:32;;20895:90;;;:::o;20991:149::-;21027:7;21067:66;21060:5;21056:78;21045:89;;20991:149;;;:::o;21146:126::-;21183:7;21223:42;21216:5;21212:54;21201:65;;21146:126;;;:::o;21278:77::-;21315:7;21344:5;21333:16;;21278:77;;;:::o;21361:93::-;21397:7;21437:10;21430:5;21426:22;21415:33;;21361:93;;;:::o;21460:101::-;21496:7;21536:18;21529:5;21525:30;21514:41;;21460:101;;;:::o;21567:154::-;21651:6;21646:3;21641;21628:30;21713:1;21704:6;21699:3;21695:16;21688:27;21567:154;;;:::o;21727:307::-;21795:1;21805:113;21819:6;21816:1;21813:13;21805:113;;;21904:1;21899:3;21895:11;21889:18;21885:1;21880:3;21876:11;21869:39;21841:2;21838:1;21834:10;21829:15;;21805:113;;;21936:6;21933:1;21930:13;21927:101;;;22016:1;22007:6;22002:3;21998:16;21991:27;21927:101;21776:258;21727:307;;;:::o;22040:320::-;22084:6;22121:1;22115:4;22111:12;22101:22;;22168:1;22162:4;22158:12;22189:18;22179:81;;22245:4;22237:6;22233:17;22223:27;;22179:81;22307:2;22299:6;22296:14;22276:18;22273:38;22270:84;;;22326:18;;:::i;:::-;22270:84;22091:269;22040:320;;;:::o;22366:281::-;22449:27;22471:4;22449:27;:::i;:::-;22441:6;22437:40;22579:6;22567:10;22564:22;22543:18;22531:10;22528:34;22525:62;22522:88;;;22590:18;;:::i;:::-;22522:88;22630:10;22626:2;22619:22;22409:238;22366:281;;:::o;22653:233::-;22692:3;22715:24;22733:5;22715:24;:::i;:::-;22706:33;;22761:66;22754:5;22751:77;22748:103;;;22831:18;;:::i;:::-;22748:103;22878:1;22871:5;22867:13;22860:20;;22653:233;;;:::o;22892:176::-;22924:1;22941:20;22959:1;22941:20;:::i;:::-;22936:25;;22975:20;22993:1;22975:20;:::i;:::-;22970:25;;23014:1;23004:35;;23019:18;;:::i;:::-;23004:35;23060:1;23057;23053:9;23048:14;;22892:176;;;;:::o;23074:180::-;23122:77;23119:1;23112:88;23219:4;23216:1;23209:15;23243:4;23240:1;23233:15;23260:180;23308:77;23305:1;23298:88;23405:4;23402:1;23395:15;23429:4;23426:1;23419:15;23446:180;23494:77;23491:1;23484:88;23591:4;23588:1;23581:15;23615:4;23612:1;23605:15;23632:180;23680:77;23677:1;23670:88;23777:4;23774:1;23767:15;23801:4;23798:1;23791:15;23818:180;23866:77;23863:1;23856:88;23963:4;23960:1;23953:15;23987:4;23984:1;23977:15;24004:117;24113:1;24110;24103:12;24127:117;24236:1;24233;24226:12;24250:117;24359:1;24356;24349:12;24373:117;24482:1;24479;24472:12;24496:102;24537:6;24588:2;24584:7;24579:2;24572:5;24568:14;24564:28;24554:38;;24496:102;;;:::o;24604:225::-;24744:34;24740:1;24732:6;24728:14;24721:58;24813:8;24808:2;24800:6;24796:15;24789:33;24604:225;:::o;24835:245::-;24975:34;24971:1;24963:6;24959:14;24952:58;25044:28;25039:2;25031:6;25027:15;25020:53;24835:245;:::o;25086:179::-;25226:31;25222:1;25214:6;25210:14;25203:55;25086:179;:::o;25271:182::-;25411:34;25407:1;25399:6;25395:14;25388:58;25271:182;:::o;25459:114::-;;:::o;25579:122::-;25652:24;25670:5;25652:24;:::i;:::-;25645:5;25642:35;25632:63;;25691:1;25688;25681:12;25632:63;25579:122;:::o;25707:116::-;25777:21;25792:5;25777:21;:::i;:::-;25770:5;25767:32;25757:60;;25813:1;25810;25803:12;25757:60;25707:116;:::o;25829:120::-;25901:23;25918:5;25901:23;:::i;:::-;25894:5;25891:34;25881:62;;25939:1;25936;25929:12;25881:62;25829:120;:::o;25955:122::-;26028:24;26046:5;26028:24;:::i;:::-;26021:5;26018:35;26008:63;;26067:1;26064;26057:12;26008:63;25955:122;:::o;26083:120::-;26155:23;26172:5;26155:23;:::i;:::-;26148:5;26145:34;26135:62;;26193:1;26190;26183:12;26135:62;26083:120;:::o

Swarm Source

ipfs://1f87c1a95680bba343e43d18ee4412d99c3949ccdbcdb3c86eea760282944a7e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.