ETH Price: $3,603.37 (-3.23%)

Token

ERC-20: AbstractEmotionsByAnon (AEMO)
 

Overview

Max Total Supply

333 AEMO

Holders

102

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Null: 0x000...000
Balance
0 AEMO
0x0000000000000000000000000000000000000000
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:
AbstractEmotionsByAnon

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : AbstractEmotions.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import {DefaultOperatorFilterer, OperatorFilterer} from "./DefaultOperatorFilterer.sol";

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

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

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

    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;
    }

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

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721ABurnable compliant contract.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

pragma solidity ^0.8.4;

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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);
}

pragma solidity ^0.8.4;

/**
 * @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 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`
    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 auxillary 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 auxillary 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;
        assembly {// Cast aux without masking.
            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;
        return ownership;
    }

    /**
     * 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 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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

        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-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @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 {
        _transfer(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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
    unchecked {
        // Updates:
        // - `balance += quantity`.
        // - `numberMinted += quantity`.
        //
        // We can directly add to the balance and number minted.
        _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] =
        _addressToUint256(to) |
        (block.timestamp << BITPOS_START_TIMESTAMP) |
        (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

        uint256 updatedIndex = startTokenId;
        uint256 end = updatedIndex + quantity;

        if (to.code.length != 0) {
            do {
                emit Transfer(address(0), to, updatedIndex);
                if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
            }
            while (updatedIndex < end);
            // Reentrancy protection
            if (_currentIndex != startTokenId) revert();
        } else {
            do {
                emit Transfer(address(0), to, updatedIndex++);
            }
            while (updatedIndex < end);
        }
        _currentIndex = updatedIndex;
    }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @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.
     */
    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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
    unchecked {
        // Updates:
        // - `balance += quantity`.
        // - `numberMinted += quantity`.
        //
        // We can directly add to the balance and number minted.
        _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] =
        _addressToUint256(to) |
        (block.timestamp << BITPOS_START_TIMESTAMP) |
        (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

        uint256 updatedIndex = startTokenId;
        uint256 end = updatedIndex + quantity;

        do {
            emit Transfer(address(0), to, updatedIndex++);
        }
        while (updatedIndex < end);

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

    /**
     * @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 _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
        isApprovedForAll(from, _msgSenderERC721A()) ||
        getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
        _addressToUint256(to) |
        (block.timestamp << BITPOS_START_TIMESTAMP) |
        BITMASK_NEXT_INITIALIZED;

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

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
        _addressToUint256(from) |
        (block.timestamp << BITPOS_START_TIMESTAMP) |
        BITMASK_BURNED |
        BITMASK_NEXT_INITIALIZED;

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

pragma solidity ^0.8.4;

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
    unchecked {
        uint256 tokenIdsLength = tokenIds.length;
        TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
        for (uint256 i; i != tokenIdsLength; ++i) {
            ownerships[i] = explicitOwnershipOf(tokenIds[i]);
        }
        return ownerships;
    }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view override returns (uint256[] memory) {
    unchecked {
        if (start >= stop) revert InvalidQueryRange();
        uint256 tokenIdsIdx;
        uint256 stopLimit = _nextTokenId();
        // Set `start = max(start, _startTokenId())`.
        if (start < _startTokenId()) {
            start = _startTokenId();
        }
        // Set `stop = min(stop, stopLimit)`.
        if (stop > stopLimit) {
            stop = stopLimit;
        }
        uint256 tokenIdsMaxLength = balanceOf(owner);
        // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
        // to cater for cases where `balanceOf(owner)` is too big.
        if (start < stop) {
            uint256 rangeLength = stop - start;
            if (rangeLength < tokenIdsMaxLength) {
                tokenIdsMaxLength = rangeLength;
            }
        } else {
            tokenIdsMaxLength = 0;
        }
        uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
        if (tokenIdsMaxLength == 0) {
            return tokenIds;
        }
        // We need to call `explicitOwnershipOf(start)`,
        // because the slot at `start` may not be initialized.
        TokenOwnership memory ownership = explicitOwnershipOf(start);
        address currOwnershipAddr;
        // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
        // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
        if (!ownership.burned) {
            currOwnershipAddr = ownership.addr;
        }
        for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
            ownership = _ownershipAt(i);
            if (ownership.burned) {
                continue;
            }
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                tokenIds[tokenIdsIdx++] = i;
            }
        }
        // Downsize the array to fit.
        assembly {
            mstore(tokenIds, tokenIdsIdx)
        }
        return tokenIds;
    }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
    unchecked {
        uint256 tokenIdsIdx;
        address currOwnershipAddr;
        uint256 tokenIdsLength = balanceOf(owner);
        uint256[] memory tokenIds = new uint256[](tokenIdsLength);
        TokenOwnership memory ownership;
        for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
            ownership = _ownershipAt(i);
            if (ownership.burned) {
                continue;
            }
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                tokenIds[tokenIdsIdx++] = i;
            }
        }
        return tokenIds;
    }
    }
}


pragma solidity ^0.8.4;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex;
                // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

pragma solidity ^0.8.4;

contract AbstractEmotionsByAnon is ERC721AQueryable, ERC721ABurnable, Ownable, DefaultOperatorFilterer {
    using EnumerableSet for EnumerableSet.UintSet;

    uint256 public constant MAX_SUPPLY = 333;

    uint256 public maxByWallet = 10;
    mapping(address => uint256) public mintedByWallet;

    // 0:close | 1:open
    bool public saleState;

    bool public collectMarketing = true;

    //baseURI
    string public baseURI;

    //uriSuffix
    string public uriSuffix;

    constructor(
        string memory name,
        string memory symbol,
        string memory baseURI_,
        string memory uriSuffix_
    ) ERC721A(name, symbol) {
        baseURI = baseURI_;
        uriSuffix = uriSuffix_;
    }

    uint256 public MINT_PRICE = .005 ether;

    /******************** PUBLIC ********************/

    function mint(uint256 amount) external payable {
        require(msg.sender == tx.origin, "not allowed");
        require(saleState, "Sale is closed!");
        require(_totalMinted() + amount <= MAX_SUPPLY, "Exceed MAX_SUPPLY");
        require(amount > 0, "Amount can't be 0");
        require(amount + mintedByWallet[msg.sender] <= maxByWallet, "Exceed maxByWallet");

        if (collectMarketing) {
            require(amount * MINT_PRICE <= msg.value, "Invalid payment amount");
        }

        mintedByWallet[msg.sender] += amount;

        _safeMint(msg.sender, amount);
    }

    /******************** OVERRIDES ********************/

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

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

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

        if (bytes(baseURI).length == 0) {
            return _toString(tokenId);
        }

        return string(abi.encodePacked(baseURI, _toString(tokenId), uriSuffix));
    }

    function transferFrom(address from, address to, uint256 tokenId) public override(ERC721A, IERC721A) onlyAllowedOperator {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721A, IERC721A) onlyAllowedOperator {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721A, IERC721A) onlyAllowedOperator {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    /******************** OWNER ********************/

    /// @notice Set baseURI.
    /// @param newBaseURI New baseURI.
    /// @param newUriSuffix New uriSuffix.
    function setBaseURI(string memory newBaseURI, string memory newUriSuffix) external onlyOwner {
        baseURI = newBaseURI;
        uriSuffix = newUriSuffix;
    }

    /// @notice Set saleState.
    /// @param newSaleState New sale state.
    function setSaleState(bool newSaleState) external onlyOwner {
        saleState = newSaleState;
    }

    /// @notice Set collectMarketing.
    /// @param newCollectMarketing New collect marketing flag.
    function setCollectMarketing(bool newCollectMarketing) external onlyOwner {
        collectMarketing = newCollectMarketing;
    }

    /// @notice Set maxByWallet.
    /// @param newMaxByWallet New max by wallet
    function setMaxByWallet(uint256 newMaxByWallet) external onlyOwner {
        maxByWallet = newMaxByWallet;
    }

    /******************** ALPHA MINT ********************/

    function alphaMint(address[] calldata addresses, uint256[] calldata count) external onlyOwner {
        require(!saleState, "sale is open!");
        require(addresses.length == count.length, "mismatching lengths!");

        for (uint256 i; i < addresses.length; i++) {
            _safeMint(addresses[i], count[i]);
        }

        require(_totalMinted() <= MAX_SUPPLY, "Exceed MAX_SUPPLY");
    }

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
}

File 2 of 5 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 5 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 4 of 5 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 5 of 5 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"string","name":"uriSuffix_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"count","type":"uint256[]"}],"name":"alphaMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectMarketing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"string","name":"newUriSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newCollectMarketing","type":"bool"}],"name":"setCollectMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxByWallet","type":"uint256"}],"name":"setMaxByWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newSaleState","type":"bool"}],"name":"setSaleState","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a6009556001600b60016101000a81548160ff0219169083151502179055506611c37937e08000600e553480156200003c57600080fd5b50604051620052b9380380620052b9833981810160405281019062000062919062000566565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600290816200008c91906200089f565b5080600390816200009e91906200089f565b50620000af620002fc60201b60201c565b6000819055505050620000d7620000cb6200030560201b60201c565b6200030d60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002cc57801562000192576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b815260040162000158929190620009cb565b600060405180830381600087803b1580156200017357600080fd5b505af115801562000188573d6000803e3d6000fd5b50505050620002cb565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200024c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b815260040162000212929190620009cb565b600060405180830381600087803b1580156200022d57600080fd5b505af115801562000242573d6000803e3d6000fd5b50505050620002ca565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002959190620009f8565b600060405180830381600087803b158015620002b057600080fd5b505af1158015620002c5573d6000803e3d6000fd5b505050505b5b5b505081600c9081620002df91906200089f565b5080600d9081620002f191906200089f565b505050505062000a15565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200043c82620003f1565b810181811067ffffffffffffffff821117156200045e576200045d62000402565b5b80604052505050565b600062000473620003d3565b905062000481828262000431565b919050565b600067ffffffffffffffff821115620004a457620004a362000402565b5b620004af82620003f1565b9050602081019050919050565b60005b83811015620004dc578082015181840152602081019050620004bf565b60008484015250505050565b6000620004ff620004f98462000486565b62000467565b9050828152602081018484840111156200051e576200051d620003ec565b5b6200052b848285620004bc565b509392505050565b600082601f8301126200054b576200054a620003e7565b5b81516200055d848260208601620004e8565b91505092915050565b60008060008060808587031215620005835762000582620003dd565b5b600085015167ffffffffffffffff811115620005a457620005a3620003e2565b5b620005b28782880162000533565b945050602085015167ffffffffffffffff811115620005d657620005d5620003e2565b5b620005e48782880162000533565b935050604085015167ffffffffffffffff811115620006085762000607620003e2565b5b620006168782880162000533565b925050606085015167ffffffffffffffff8111156200063a5762000639620003e2565b5b620006488782880162000533565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006a757607f821691505b602082108103620006bd57620006bc6200065f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006e8565b620007338683620006e8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007806200077a62000774846200074b565b62000755565b6200074b565b9050919050565b6000819050919050565b6200079c836200075f565b620007b4620007ab8262000787565b848454620006f5565b825550505050565b600090565b620007cb620007bc565b620007d881848462000791565b505050565b5b818110156200080057620007f4600082620007c1565b600181019050620007de565b5050565b601f8211156200084f576200081981620006c3565b6200082484620006d8565b8101602085101562000834578190505b6200084c6200084385620006d8565b830182620007dd565b50505b505050565b600082821c905092915050565b6000620008746000198460080262000854565b1980831691505092915050565b60006200088f838362000861565b9150826002028217905092915050565b620008aa8262000654565b67ffffffffffffffff811115620008c657620008c562000402565b5b620008d282546200068e565b620008df82828562000804565b600060209050601f83116001811462000917576000841562000902578287015190505b6200090e858262000881565b8655506200097e565b601f1984166200092786620006c3565b60005b8281101562000951578489015182556001820191506020850194506020810190506200092a565b868310156200097157848901516200096d601f89168262000861565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009b38262000986565b9050919050565b620009c581620009a6565b82525050565b6000604082019050620009e26000830185620009ba565b620009f16020830184620009ba565b9392505050565b600060208201905062000a0f6000830184620009ba565b92915050565b6148948062000a256000396000f3fe60806040526004361061021a5760003560e01c80636790a9de11610123578063a0712d68116100ab578063c4e370951161006f578063c4e37095146107d8578063c87b56dd14610801578063e985e9c51461083e578063f09a03c01461087b578063f2fde38b146108a45761021a565b8063a0712d6814610702578063a22cb4651461071e578063b88d4fde14610747578063c002d23d14610770578063c23dc68f1461079b5761021a565b80638462151c116100f25780638462151c146106075780638da5cb5b146106445780639434b8051461066f57806395d89b411461069a57806399a2557a146106c55761021a565b80636790a9de1461055f5780636c0360eb1461058857806370a08231146105b3578063715018a6146105f05761021a565b806332cb6b0c116101a657806342966c681161017557806342966c68146104665780635503a0e81461048f5780635bbb2177146104ba578063603f4d52146104f75780636352211e146105225761021a565b806332cb6b0c146103d057806334ecc70a146103fb5780633ccfd60b1461042657806342842e0e1461043d5761021a565b80630d758111116101ed5780630d758111146102ed57806317d985141461032a57806318160ddd1461035357806323b872dd1461037e5780632e067421146103a75761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061320d565b6108cd565b6040516102539190613255565b60405180910390f35b34801561026857600080fd5b5061027161095f565b60405161027e9190613300565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613358565b6109f1565b6040516102bb91906133c6565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e6919061340d565b610a6d565b005b3480156102f957600080fd5b50610314600480360381019061030f919061344d565b610c13565b6040516103219190613489565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c91906134d0565b610c2b565b005b34801561035f57600080fd5b50610368610cc4565b6040516103759190613489565b60405180910390f35b34801561038a57600080fd5b506103a560048036038101906103a091906134fd565b610cdb565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190613358565b610de7565b005b3480156103dc57600080fd5b506103e5610e6d565b6040516103f29190613489565b60405180910390f35b34801561040757600080fd5b50610410610e73565b60405161041d9190613489565b60405180910390f35b34801561043257600080fd5b5061043b610e79565b005b34801561044957600080fd5b50610464600480360381019061045f91906134fd565b610f45565b005b34801561047257600080fd5b5061048d60048036038101906104889190613358565b611051565b005b34801561049b57600080fd5b506104a461105f565b6040516104b19190613300565b60405180910390f35b3480156104c657600080fd5b506104e160048036038101906104dc9190613698565b6110ed565b6040516104ee9190613813565b60405180910390f35b34801561050357600080fd5b5061050c6111ae565b6040516105199190613255565b60405180910390f35b34801561052e57600080fd5b5061054960048036038101906105449190613358565b6111c1565b60405161055691906133c6565b60405180910390f35b34801561056b57600080fd5b50610586600480360381019061058191906138ea565b6111d3565b005b34801561059457600080fd5b5061059d611273565b6040516105aa9190613300565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d5919061344d565b611301565b6040516105e79190613489565b60405180910390f35b3480156105fc57600080fd5b506106056113b9565b005b34801561061357600080fd5b5061062e6004803603810190610629919061344d565b611441565b60405161063b9190613a20565b60405180910390f35b34801561065057600080fd5b50610659611584565b60405161066691906133c6565b60405180910390f35b34801561067b57600080fd5b506106846115ae565b6040516106919190613255565b60405180910390f35b3480156106a657600080fd5b506106af6115c1565b6040516106bc9190613300565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e79190613a42565b611653565b6040516106f99190613a20565b60405180910390f35b61071c60048036038101906107179190613358565b61185f565b005b34801561072a57600080fd5b5061074560048036038101906107409190613a95565b611b0e565b005b34801561075357600080fd5b5061076e60048036038101906107699190613b76565b611c85565b005b34801561077c57600080fd5b50610785611d93565b6040516107929190613489565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190613358565b611d99565b6040516107cf9190613c3b565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa91906134d0565b611e03565b005b34801561080d57600080fd5b5061082860048036038101906108239190613358565b611e9c565b6040516108359190613300565b60405180910390f35b34801561084a57600080fd5b5061086560048036038101906108609190613c56565b611f39565b6040516108729190613255565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d9190613d47565b611fcd565b005b3480156108b057600080fd5b506108cb60048036038101906108c6919061344d565b61219f565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109585750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461096e90613df7565b80601f016020809104026020016040519081016040528092919081815260200182805461099a90613df7565b80156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b5050505050905090565b60006109fc82612296565b610a32576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a78826122f5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610adf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afe6123c1565b73ffffffffffffffffffffffffffffffffffffffff1614610b6157610b2a81610b256123c1565b611f39565b610b60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a6020528060005260406000206000915090505481565b610c336123c9565b73ffffffffffffffffffffffffffffffffffffffff16610c51611584565b73ffffffffffffffffffffffffffffffffffffffff1614610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e90613e74565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b6000610cce6123d1565b6001546000540303905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610dd7576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610d52929190613e94565b6020604051808303816000875af1158015610d71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d959190613ed2565b610dd657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610dcd91906133c6565b60405180910390fd5b5b610de28383836123da565b505050565b610def6123c9565b73ffffffffffffffffffffffffffffffffffffffff16610e0d611584565b73ffffffffffffffffffffffffffffffffffffffff1614610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90613e74565b60405180910390fd5b8060098190555050565b61014d81565b60095481565b610e816123c9565b73ffffffffffffffffffffffffffffffffffffffff16610e9f611584565b73ffffffffffffffffffffffffffffffffffffffff1614610ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eec90613e74565b60405180910390fd5b610efd611584565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f42573d6000803e3d6000fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611041576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610fbc929190613e94565b6020604051808303816000875af1158015610fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fff9190613ed2565b61104057336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161103791906133c6565b60405180910390fd5b5b61104c8383836123ea565b505050565b61105c81600161240a565b50565b600d805461106c90613df7565b80601f016020809104026020016040519081016040528092919081815260200182805461109890613df7565b80156110e55780601f106110ba576101008083540402835291602001916110e5565b820191906000526020600020905b8154815290600101906020018083116110c857829003601f168201915b505050505081565b606060008251905060008167ffffffffffffffff81111561111157611110613555565b5b60405190808252806020026020018201604052801561114a57816020015b61113761315e565b81526020019060019003908161112f5790505b50905060005b8281146111a35761117a85828151811061116d5761116c613eff565b5b6020026020010151611d99565b82828151811061118d5761118c613eff565b5b6020026020010181905250806001019050611150565b508092505050919050565b600b60009054906101000a900460ff1681565b60006111cc826122f5565b9050919050565b6111db6123c9565b73ffffffffffffffffffffffffffffffffffffffff166111f9611584565b73ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613e74565b60405180910390fd5b81600c908161125e91906140da565b5080600d908161126e91906140da565b505050565b600c805461128090613df7565b80601f01602080910402602001604051908101604052809291908181526020018280546112ac90613df7565b80156112f95780601f106112ce576101008083540402835291602001916112f9565b820191906000526020600020905b8154815290600101906020018083116112dc57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611368576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113c16123c9565b73ffffffffffffffffffffffffffffffffffffffff166113df611584565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c90613e74565b60405180910390fd5b61143f60006126e0565b565b6060600080600061145185611301565b905060008167ffffffffffffffff81111561146f5761146e613555565b5b60405190808252806020026020018201604052801561149d5781602001602082028036833780820191505090505b5090506114a861315e565b60006114b26123d1565b90505b838614611576576114c5816127a6565b9150816040015161156b57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461151057816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361156a578083878060010198508151811061155d5761155c613eff565b5b6020026020010181815250505b5b8060010190506114b5565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b60019054906101000a900460ff1681565b6060600380546115d090613df7565b80601f01602080910402602001604051908101604052809291908181526020018280546115fc90613df7565b80156116495780601f1061161e57610100808354040283529160200191611649565b820191906000526020600020905b81548152906001019060200180831161162c57829003601f168201915b5050505050905090565b606081831061168e576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806116996127d1565b90506116a36123d1565b8510156116b5576116b26123d1565b94505b808411156116c1578093505b60006116cc87611301565b9050848610156116ef5760008686039050818110156116e9578091505b506116f4565b600090505b60008167ffffffffffffffff8111156117105761170f613555565b5b60405190808252806020026020018201604052801561173e5781602001602082028036833780820191505090505b509050600082036117555780945050505050611858565b600061176088611d99565b90506000816040015161177557816000015190505b60008990505b88811415801561178b5750848714155b1561184a57611799816127a6565b9250826040015161183f57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146117e457826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361183e578084888060010199508151811061183157611830613eff565b5b6020026020010181815250505b5b80600101905061177b565b508583528296505050505050505b9392505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c4906141f8565b60405180910390fd5b600b60009054906101000a900460ff1661191c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191390614264565b60405180910390fd5b61014d816119286127da565b61193291906142b3565b1115611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90614333565b60405180910390fd5b600081116119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad9061439f565b60405180910390fd5b600954600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611a0491906142b3565b1115611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c9061440b565b60405180910390fd5b600b60019054906101000a900460ff1615611aab5734600e5482611a69919061442b565b1115611aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa1906144b9565b60405180910390fd5b5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611afa91906142b3565b92505081905550611b0b33826127ed565b50565b611b166123c1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b7a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b876123c1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c346123c1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c799190613255565b60405180910390a35050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d81576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611cfc929190613e94565b6020604051808303816000875af1158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190613ed2565b611d8057336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d7791906133c6565b60405180910390fd5b5b611d8d8484848461280b565b50505050565b600e5481565b611da161315e565b611da961315e565b611db16123d1565b831080611dc55750611dc16127d1565b8310155b15611dd35780915050611dfe565b611ddc836127a6565b9050806040015115611df15780915050611dfe565b611dfa8361287e565b9150505b919050565b611e0b6123c9565b73ffffffffffffffffffffffffffffffffffffffff16611e29611584565b73ffffffffffffffffffffffffffffffffffffffff1614611e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7690613e74565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6060611ea782612296565b611edd576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c8054611eec90613df7565b905003611f0357611efc8261289e565b9050611f34565b600c611f0e8361289e565b600d604051602001611f2293929190614598565b60405160208183030381529060405290505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fd56123c9565b73ffffffffffffffffffffffffffffffffffffffff16611ff3611584565b73ffffffffffffffffffffffffffffffffffffffff1614612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613e74565b60405180910390fd5b600b60009054906101000a900460ff1615612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090614615565b60405180910390fd5b8181905084849050146120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d890614681565b60405180910390fd5b60005b8484905081101561214c5761213985858381811061210557612104613eff565b5b905060200201602081019061211a919061344d565b84848481811061212d5761212c613eff565b5b905060200201356127ed565b8080612144906146a1565b9150506120e4565b5061014d6121586127da565b1115612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090614333565b60405180910390fd5b50505050565b6121a76123c9565b73ffffffffffffffffffffffffffffffffffffffff166121c5611584565b73ffffffffffffffffffffffffffffffffffffffff161461221b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221290613e74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361228a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122819061475b565b60405180910390fd5b612293816126e0565b50565b6000816122a16123d1565b111580156122b0575060005482105b80156122ee575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806123046123d1565b1161238a576000548110156123895760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612387575b6000810361237d576004600083600190039350838152602001908152602001600020549050612353565b80925050506123bc565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b6123e58383836128f8565b505050565b61240583838360405180602001604052806000815250611c85565b505050565b6000612415836122f5565b9050600081905082156124f25760008173ffffffffffffffffffffffffffffffffffffffff166124436123c1565b73ffffffffffffffffffffffffffffffffffffffff16148061247257506124718261246c6123c1565b611f39565b5b806124b757506124806123c1565b73ffffffffffffffffffffffffffffffffffffffff1661249f866109f1565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806124f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612500816000866001612c9f565b6006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600160806001901b03600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b6125d584612ca5565b171717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083160361265e576000600185019050600060046000838152602001908152602001600020540361265c57600054811461265b578260046000838152602001908152602001600020819055505b5b505b83600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126c8816000866001612caf565b60016000815480929190600101919050555050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127ae61315e565b6127ca6004600084815260200190815260200160002054612cb5565b9050919050565b60008054905090565b60006127e46123d1565b60005403905090565b612807828260405180602001604052806000815250612d51565b5050565b6128168484846128f8565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128785761284184848484613004565b612877576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61288661315e565b612897612892836122f5565b612cb5565b9050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156128e457600183039250600a81066030018353600a810490506128c4565b508181036020830392508083525050919050565b6000612903826122f5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461296a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661298b6123c1565b73ffffffffffffffffffffffffffffffffffffffff1614806129ba57506129b9856129b46123c1565b611f39565b5b806129ff57506129c86123c1565b73ffffffffffffffffffffffffffffffffffffffff166129e7846109f1565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a38576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612a9e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612aab8585856001612c9f565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612ba886612ca5565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831603612c305760006001840190506000600460008381526020019081526020016000205403612c2e576000548114612c2d578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c988585856001612caf565b5050505050565b50505050565b6000819050919050565b50505050565b612cbd61315e565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612dbd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612df7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e046000858386612c9f565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612e6960018514613154565b901b60a042901b612e7986612ca5565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612f7d575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f2d6000878480600101955087613004565b612f63576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612ebe578260005414612f7857600080fd5b612fe8565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f7e575b816000819055505050612ffe6000858386612caf565b50505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261302a6123c1565b8786866040518563ffffffff1660e01b815260040161304c94939291906147d0565b6020604051808303816000875af192505050801561308857506040513d601f19601f820116820180604052508101906130859190614831565b60015b613101573d80600081146130b8576040519150601f19603f3d011682016040523d82523d6000602084013e6130bd565b606091505b5060008151036130f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000819050919050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131ea816131b5565b81146131f557600080fd5b50565b600081359050613207816131e1565b92915050565b600060208284031215613223576132226131ab565b5b6000613231848285016131f8565b91505092915050565b60008115159050919050565b61324f8161323a565b82525050565b600060208201905061326a6000830184613246565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132aa57808201518184015260208101905061328f565b60008484015250505050565b6000601f19601f8301169050919050565b60006132d282613270565b6132dc818561327b565b93506132ec81856020860161328c565b6132f5816132b6565b840191505092915050565b6000602082019050818103600083015261331a81846132c7565b905092915050565b6000819050919050565b61333581613322565b811461334057600080fd5b50565b6000813590506133528161332c565b92915050565b60006020828403121561336e5761336d6131ab565b5b600061337c84828501613343565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133b082613385565b9050919050565b6133c0816133a5565b82525050565b60006020820190506133db60008301846133b7565b92915050565b6133ea816133a5565b81146133f557600080fd5b50565b600081359050613407816133e1565b92915050565b60008060408385031215613424576134236131ab565b5b6000613432858286016133f8565b925050602061344385828601613343565b9150509250929050565b600060208284031215613463576134626131ab565b5b6000613471848285016133f8565b91505092915050565b61348381613322565b82525050565b600060208201905061349e600083018461347a565b92915050565b6134ad8161323a565b81146134b857600080fd5b50565b6000813590506134ca816134a4565b92915050565b6000602082840312156134e6576134e56131ab565b5b60006134f4848285016134bb565b91505092915050565b600080600060608486031215613516576135156131ab565b5b6000613524868287016133f8565b9350506020613535868287016133f8565b925050604061354686828701613343565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61358d826132b6565b810181811067ffffffffffffffff821117156135ac576135ab613555565b5b80604052505050565b60006135bf6131a1565b90506135cb8282613584565b919050565b600067ffffffffffffffff8211156135eb576135ea613555565b5b602082029050602081019050919050565b600080fd5b600061361461360f846135d0565b6135b5565b90508083825260208201905060208402830185811115613637576136366135fc565b5b835b81811015613660578061364c8882613343565b845260208401935050602081019050613639565b5050509392505050565b600082601f83011261367f5761367e613550565b5b813561368f848260208601613601565b91505092915050565b6000602082840312156136ae576136ad6131ab565b5b600082013567ffffffffffffffff8111156136cc576136cb6131b0565b5b6136d88482850161366a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613716816133a5565b82525050565b600067ffffffffffffffff82169050919050565b6137398161371c565b82525050565b6137488161323a565b82525050565b606082016000820151613764600085018261370d565b5060208201516137776020850182613730565b50604082015161378a604085018261373f565b50505050565b600061379c838361374e565b60608301905092915050565b6000602082019050919050565b60006137c0826136e1565b6137ca81856136ec565b93506137d5836136fd565b8060005b838110156138065781516137ed8882613790565b97506137f8836137a8565b9250506001810190506137d9565b5085935050505092915050565b6000602082019050818103600083015261382d81846137b5565b905092915050565b600080fd5b600067ffffffffffffffff82111561385557613854613555565b5b61385e826132b6565b9050602081019050919050565b82818337600083830152505050565b600061388d6138888461383a565b6135b5565b9050828152602081018484840111156138a9576138a8613835565b5b6138b484828561386b565b509392505050565b600082601f8301126138d1576138d0613550565b5b81356138e184826020860161387a565b91505092915050565b60008060408385031215613901576139006131ab565b5b600083013567ffffffffffffffff81111561391f5761391e6131b0565b5b61392b858286016138bc565b925050602083013567ffffffffffffffff81111561394c5761394b6131b0565b5b613958858286016138bc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61399781613322565b82525050565b60006139a9838361398e565b60208301905092915050565b6000602082019050919050565b60006139cd82613962565b6139d7818561396d565b93506139e28361397e565b8060005b83811015613a135781516139fa888261399d565b9750613a05836139b5565b9250506001810190506139e6565b5085935050505092915050565b60006020820190508181036000830152613a3a81846139c2565b905092915050565b600080600060608486031215613a5b57613a5a6131ab565b5b6000613a69868287016133f8565b9350506020613a7a86828701613343565b9250506040613a8b86828701613343565b9150509250925092565b60008060408385031215613aac57613aab6131ab565b5b6000613aba858286016133f8565b9250506020613acb858286016134bb565b9150509250929050565b600067ffffffffffffffff821115613af057613aef613555565b5b613af9826132b6565b9050602081019050919050565b6000613b19613b1484613ad5565b6135b5565b905082815260208101848484011115613b3557613b34613835565b5b613b4084828561386b565b509392505050565b600082601f830112613b5d57613b5c613550565b5b8135613b6d848260208601613b06565b91505092915050565b60008060008060808587031215613b9057613b8f6131ab565b5b6000613b9e878288016133f8565b9450506020613baf878288016133f8565b9350506040613bc087828801613343565b925050606085013567ffffffffffffffff811115613be157613be06131b0565b5b613bed87828801613b48565b91505092959194509250565b606082016000820151613c0f600085018261370d565b506020820151613c226020850182613730565b506040820151613c35604085018261373f565b50505050565b6000606082019050613c506000830184613bf9565b92915050565b60008060408385031215613c6d57613c6c6131ab565b5b6000613c7b858286016133f8565b9250506020613c8c858286016133f8565b9150509250929050565b600080fd5b60008083601f840112613cb157613cb0613550565b5b8235905067ffffffffffffffff811115613cce57613ccd613c96565b5b602083019150836020820283011115613cea57613ce96135fc565b5b9250929050565b60008083601f840112613d0757613d06613550565b5b8235905067ffffffffffffffff811115613d2457613d23613c96565b5b602083019150836020820283011115613d4057613d3f6135fc565b5b9250929050565b60008060008060408587031215613d6157613d606131ab565b5b600085013567ffffffffffffffff811115613d7f57613d7e6131b0565b5b613d8b87828801613c9b565b9450945050602085013567ffffffffffffffff811115613dae57613dad6131b0565b5b613dba87828801613cf1565b925092505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e0f57607f821691505b602082108103613e2257613e21613dc8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e5e60208361327b565b9150613e6982613e28565b602082019050919050565b60006020820190508181036000830152613e8d81613e51565b9050919050565b6000604082019050613ea960008301856133b7565b613eb660208301846133b7565b9392505050565b600081519050613ecc816134a4565b92915050565b600060208284031215613ee857613ee76131ab565b5b6000613ef684828501613ebd565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f53565b613f9a8683613f53565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613fd7613fd2613fcd84613322565b613fb2565b613322565b9050919050565b6000819050919050565b613ff183613fbc565b614005613ffd82613fde565b848454613f60565b825550505050565b600090565b61401a61400d565b614025818484613fe8565b505050565b5b818110156140495761403e600082614012565b60018101905061402b565b5050565b601f82111561408e5761405f81613f2e565b61406884613f43565b81016020851015614077578190505b61408b61408385613f43565b83018261402a565b50505b505050565b600082821c905092915050565b60006140b160001984600802614093565b1980831691505092915050565b60006140ca83836140a0565b9150826002028217905092915050565b6140e382613270565b67ffffffffffffffff8111156140fc576140fb613555565b5b6141068254613df7565b61411182828561404d565b600060209050601f8311600181146141445760008415614132578287015190505b61413c85826140be565b8655506141a4565b601f19841661415286613f2e565b60005b8281101561417a57848901518255600182019150602085019450602081019050614155565b868310156141975784890151614193601f8916826140a0565b8355505b6001600288020188555050505b505050505050565b7f6e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b60006141e2600b8361327b565b91506141ed826141ac565b602082019050919050565b60006020820190508181036000830152614211816141d5565b9050919050565b7f53616c6520697320636c6f736564210000000000000000000000000000000000600082015250565b600061424e600f8361327b565b915061425982614218565b602082019050919050565b6000602082019050818103600083015261427d81614241565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142be82613322565b91506142c983613322565b92508282019050808211156142e1576142e0614284565b5b92915050565b7f457863656564204d41585f535550504c59000000000000000000000000000000600082015250565b600061431d60118361327b565b9150614328826142e7565b602082019050919050565b6000602082019050818103600083015261434c81614310565b9050919050565b7f416d6f756e742063616e27742062652030000000000000000000000000000000600082015250565b600061438960118361327b565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f457863656564206d6178427957616c6c65740000000000000000000000000000600082015250565b60006143f560128361327b565b9150614400826143bf565b602082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b600061443682613322565b915061444183613322565b925082820261444f81613322565b9150828204841483151761446657614465614284565b5b5092915050565b7f496e76616c6964207061796d656e7420616d6f756e7400000000000000000000600082015250565b60006144a360168361327b565b91506144ae8261446d565b602082019050919050565b600060208201905081810360008301526144d281614496565b9050919050565b600081905092915050565b600081546144f181613df7565b6144fb81866144d9565b94506001821660008114614516576001811461452b5761455e565b60ff198316865281151582028601935061455e565b61453485613f2e565b60005b8381101561455657815481890152600182019150602081019050614537565b838801955050505b50505092915050565b600061457282613270565b61457c81856144d9565b935061458c81856020860161328c565b80840191505092915050565b60006145a482866144e4565b91506145b08285614567565b91506145bc82846144e4565b9150819050949350505050565b7f73616c65206973206f70656e2100000000000000000000000000000000000000600082015250565b60006145ff600d8361327b565b915061460a826145c9565b602082019050919050565b6000602082019050818103600083015261462e816145f2565b9050919050565b7f6d69736d61746368696e67206c656e6774687321000000000000000000000000600082015250565b600061466b60148361327b565b915061467682614635565b602082019050919050565b6000602082019050818103600083015261469a8161465e565b9050919050565b60006146ac82613322565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146de576146dd614284565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061474560268361327b565b9150614750826146e9565b604082019050919050565b6000602082019050818103600083015261477481614738565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147a28261477b565b6147ac8185614786565b93506147bc81856020860161328c565b6147c5816132b6565b840191505092915050565b60006080820190506147e560008301876133b7565b6147f260208301866133b7565b6147ff604083018561347a565b81810360608301526148118184614797565b905095945050505050565b60008151905061482b816131e1565b92915050565b600060208284031215614847576148466131ab565b5b60006148558482850161481c565b9150509291505056fea2646970667358221220e0c72f5a85dadf74128d0164654c0e580471e716ac59945d64a22a28a45c1b7364736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000164162737472616374456d6f74696f6e734279416e6f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000441454d4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f6d696e742e6162737472616374656d6f74696f6e732e78797a2f6170692f6d6574612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636790a9de11610123578063a0712d68116100ab578063c4e370951161006f578063c4e37095146107d8578063c87b56dd14610801578063e985e9c51461083e578063f09a03c01461087b578063f2fde38b146108a45761021a565b8063a0712d6814610702578063a22cb4651461071e578063b88d4fde14610747578063c002d23d14610770578063c23dc68f1461079b5761021a565b80638462151c116100f25780638462151c146106075780638da5cb5b146106445780639434b8051461066f57806395d89b411461069a57806399a2557a146106c55761021a565b80636790a9de1461055f5780636c0360eb1461058857806370a08231146105b3578063715018a6146105f05761021a565b806332cb6b0c116101a657806342966c681161017557806342966c68146104665780635503a0e81461048f5780635bbb2177146104ba578063603f4d52146104f75780636352211e146105225761021a565b806332cb6b0c146103d057806334ecc70a146103fb5780633ccfd60b1461042657806342842e0e1461043d5761021a565b80630d758111116101ed5780630d758111146102ed57806317d985141461032a57806318160ddd1461035357806323b872dd1461037e5780632e067421146103a75761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061320d565b6108cd565b6040516102539190613255565b60405180910390f35b34801561026857600080fd5b5061027161095f565b60405161027e9190613300565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613358565b6109f1565b6040516102bb91906133c6565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e6919061340d565b610a6d565b005b3480156102f957600080fd5b50610314600480360381019061030f919061344d565b610c13565b6040516103219190613489565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c91906134d0565b610c2b565b005b34801561035f57600080fd5b50610368610cc4565b6040516103759190613489565b60405180910390f35b34801561038a57600080fd5b506103a560048036038101906103a091906134fd565b610cdb565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190613358565b610de7565b005b3480156103dc57600080fd5b506103e5610e6d565b6040516103f29190613489565b60405180910390f35b34801561040757600080fd5b50610410610e73565b60405161041d9190613489565b60405180910390f35b34801561043257600080fd5b5061043b610e79565b005b34801561044957600080fd5b50610464600480360381019061045f91906134fd565b610f45565b005b34801561047257600080fd5b5061048d60048036038101906104889190613358565b611051565b005b34801561049b57600080fd5b506104a461105f565b6040516104b19190613300565b60405180910390f35b3480156104c657600080fd5b506104e160048036038101906104dc9190613698565b6110ed565b6040516104ee9190613813565b60405180910390f35b34801561050357600080fd5b5061050c6111ae565b6040516105199190613255565b60405180910390f35b34801561052e57600080fd5b5061054960048036038101906105449190613358565b6111c1565b60405161055691906133c6565b60405180910390f35b34801561056b57600080fd5b50610586600480360381019061058191906138ea565b6111d3565b005b34801561059457600080fd5b5061059d611273565b6040516105aa9190613300565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d5919061344d565b611301565b6040516105e79190613489565b60405180910390f35b3480156105fc57600080fd5b506106056113b9565b005b34801561061357600080fd5b5061062e6004803603810190610629919061344d565b611441565b60405161063b9190613a20565b60405180910390f35b34801561065057600080fd5b50610659611584565b60405161066691906133c6565b60405180910390f35b34801561067b57600080fd5b506106846115ae565b6040516106919190613255565b60405180910390f35b3480156106a657600080fd5b506106af6115c1565b6040516106bc9190613300565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e79190613a42565b611653565b6040516106f99190613a20565b60405180910390f35b61071c60048036038101906107179190613358565b61185f565b005b34801561072a57600080fd5b5061074560048036038101906107409190613a95565b611b0e565b005b34801561075357600080fd5b5061076e60048036038101906107699190613b76565b611c85565b005b34801561077c57600080fd5b50610785611d93565b6040516107929190613489565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190613358565b611d99565b6040516107cf9190613c3b565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa91906134d0565b611e03565b005b34801561080d57600080fd5b5061082860048036038101906108239190613358565b611e9c565b6040516108359190613300565b60405180910390f35b34801561084a57600080fd5b5061086560048036038101906108609190613c56565b611f39565b6040516108729190613255565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d9190613d47565b611fcd565b005b3480156108b057600080fd5b506108cb60048036038101906108c6919061344d565b61219f565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109585750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461096e90613df7565b80601f016020809104026020016040519081016040528092919081815260200182805461099a90613df7565b80156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b5050505050905090565b60006109fc82612296565b610a32576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a78826122f5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610adf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afe6123c1565b73ffffffffffffffffffffffffffffffffffffffff1614610b6157610b2a81610b256123c1565b611f39565b610b60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a6020528060005260406000206000915090505481565b610c336123c9565b73ffffffffffffffffffffffffffffffffffffffff16610c51611584565b73ffffffffffffffffffffffffffffffffffffffff1614610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e90613e74565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b6000610cce6123d1565b6001546000540303905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610dd7576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610d52929190613e94565b6020604051808303816000875af1158015610d71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d959190613ed2565b610dd657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610dcd91906133c6565b60405180910390fd5b5b610de28383836123da565b505050565b610def6123c9565b73ffffffffffffffffffffffffffffffffffffffff16610e0d611584565b73ffffffffffffffffffffffffffffffffffffffff1614610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90613e74565b60405180910390fd5b8060098190555050565b61014d81565b60095481565b610e816123c9565b73ffffffffffffffffffffffffffffffffffffffff16610e9f611584565b73ffffffffffffffffffffffffffffffffffffffff1614610ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eec90613e74565b60405180910390fd5b610efd611584565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f42573d6000803e3d6000fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611041576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610fbc929190613e94565b6020604051808303816000875af1158015610fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fff9190613ed2565b61104057336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161103791906133c6565b60405180910390fd5b5b61104c8383836123ea565b505050565b61105c81600161240a565b50565b600d805461106c90613df7565b80601f016020809104026020016040519081016040528092919081815260200182805461109890613df7565b80156110e55780601f106110ba576101008083540402835291602001916110e5565b820191906000526020600020905b8154815290600101906020018083116110c857829003601f168201915b505050505081565b606060008251905060008167ffffffffffffffff81111561111157611110613555565b5b60405190808252806020026020018201604052801561114a57816020015b61113761315e565b81526020019060019003908161112f5790505b50905060005b8281146111a35761117a85828151811061116d5761116c613eff565b5b6020026020010151611d99565b82828151811061118d5761118c613eff565b5b6020026020010181905250806001019050611150565b508092505050919050565b600b60009054906101000a900460ff1681565b60006111cc826122f5565b9050919050565b6111db6123c9565b73ffffffffffffffffffffffffffffffffffffffff166111f9611584565b73ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613e74565b60405180910390fd5b81600c908161125e91906140da565b5080600d908161126e91906140da565b505050565b600c805461128090613df7565b80601f01602080910402602001604051908101604052809291908181526020018280546112ac90613df7565b80156112f95780601f106112ce576101008083540402835291602001916112f9565b820191906000526020600020905b8154815290600101906020018083116112dc57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611368576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113c16123c9565b73ffffffffffffffffffffffffffffffffffffffff166113df611584565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c90613e74565b60405180910390fd5b61143f60006126e0565b565b6060600080600061145185611301565b905060008167ffffffffffffffff81111561146f5761146e613555565b5b60405190808252806020026020018201604052801561149d5781602001602082028036833780820191505090505b5090506114a861315e565b60006114b26123d1565b90505b838614611576576114c5816127a6565b9150816040015161156b57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461151057816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361156a578083878060010198508151811061155d5761155c613eff565b5b6020026020010181815250505b5b8060010190506114b5565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b60019054906101000a900460ff1681565b6060600380546115d090613df7565b80601f01602080910402602001604051908101604052809291908181526020018280546115fc90613df7565b80156116495780601f1061161e57610100808354040283529160200191611649565b820191906000526020600020905b81548152906001019060200180831161162c57829003601f168201915b5050505050905090565b606081831061168e576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806116996127d1565b90506116a36123d1565b8510156116b5576116b26123d1565b94505b808411156116c1578093505b60006116cc87611301565b9050848610156116ef5760008686039050818110156116e9578091505b506116f4565b600090505b60008167ffffffffffffffff8111156117105761170f613555565b5b60405190808252806020026020018201604052801561173e5781602001602082028036833780820191505090505b509050600082036117555780945050505050611858565b600061176088611d99565b90506000816040015161177557816000015190505b60008990505b88811415801561178b5750848714155b1561184a57611799816127a6565b9250826040015161183f57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146117e457826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361183e578084888060010199508151811061183157611830613eff565b5b6020026020010181815250505b5b80600101905061177b565b508583528296505050505050505b9392505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c4906141f8565b60405180910390fd5b600b60009054906101000a900460ff1661191c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191390614264565b60405180910390fd5b61014d816119286127da565b61193291906142b3565b1115611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90614333565b60405180910390fd5b600081116119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad9061439f565b60405180910390fd5b600954600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611a0491906142b3565b1115611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c9061440b565b60405180910390fd5b600b60019054906101000a900460ff1615611aab5734600e5482611a69919061442b565b1115611aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa1906144b9565b60405180910390fd5b5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611afa91906142b3565b92505081905550611b0b33826127ed565b50565b611b166123c1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b7a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b876123c1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c346123c1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c799190613255565b60405180910390a35050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d81576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611cfc929190613e94565b6020604051808303816000875af1158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190613ed2565b611d8057336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d7791906133c6565b60405180910390fd5b5b611d8d8484848461280b565b50505050565b600e5481565b611da161315e565b611da961315e565b611db16123d1565b831080611dc55750611dc16127d1565b8310155b15611dd35780915050611dfe565b611ddc836127a6565b9050806040015115611df15780915050611dfe565b611dfa8361287e565b9150505b919050565b611e0b6123c9565b73ffffffffffffffffffffffffffffffffffffffff16611e29611584565b73ffffffffffffffffffffffffffffffffffffffff1614611e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7690613e74565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6060611ea782612296565b611edd576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c8054611eec90613df7565b905003611f0357611efc8261289e565b9050611f34565b600c611f0e8361289e565b600d604051602001611f2293929190614598565b60405160208183030381529060405290505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fd56123c9565b73ffffffffffffffffffffffffffffffffffffffff16611ff3611584565b73ffffffffffffffffffffffffffffffffffffffff1614612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613e74565b60405180910390fd5b600b60009054906101000a900460ff1615612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090614615565b60405180910390fd5b8181905084849050146120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d890614681565b60405180910390fd5b60005b8484905081101561214c5761213985858381811061210557612104613eff565b5b905060200201602081019061211a919061344d565b84848481811061212d5761212c613eff565b5b905060200201356127ed565b8080612144906146a1565b9150506120e4565b5061014d6121586127da565b1115612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090614333565b60405180910390fd5b50505050565b6121a76123c9565b73ffffffffffffffffffffffffffffffffffffffff166121c5611584565b73ffffffffffffffffffffffffffffffffffffffff161461221b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221290613e74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361228a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122819061475b565b60405180910390fd5b612293816126e0565b50565b6000816122a16123d1565b111580156122b0575060005482105b80156122ee575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806123046123d1565b1161238a576000548110156123895760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612387575b6000810361237d576004600083600190039350838152602001908152602001600020549050612353565b80925050506123bc565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b6123e58383836128f8565b505050565b61240583838360405180602001604052806000815250611c85565b505050565b6000612415836122f5565b9050600081905082156124f25760008173ffffffffffffffffffffffffffffffffffffffff166124436123c1565b73ffffffffffffffffffffffffffffffffffffffff16148061247257506124718261246c6123c1565b611f39565b5b806124b757506124806123c1565b73ffffffffffffffffffffffffffffffffffffffff1661249f866109f1565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806124f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612500816000866001612c9f565b6006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600160806001901b03600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b6125d584612ca5565b171717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083160361265e576000600185019050600060046000838152602001908152602001600020540361265c57600054811461265b578260046000838152602001908152602001600020819055505b5b505b83600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126c8816000866001612caf565b60016000815480929190600101919050555050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127ae61315e565b6127ca6004600084815260200190815260200160002054612cb5565b9050919050565b60008054905090565b60006127e46123d1565b60005403905090565b612807828260405180602001604052806000815250612d51565b5050565b6128168484846128f8565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128785761284184848484613004565b612877576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61288661315e565b612897612892836122f5565b612cb5565b9050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156128e457600183039250600a81066030018353600a810490506128c4565b508181036020830392508083525050919050565b6000612903826122f5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461296a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661298b6123c1565b73ffffffffffffffffffffffffffffffffffffffff1614806129ba57506129b9856129b46123c1565b611f39565b5b806129ff57506129c86123c1565b73ffffffffffffffffffffffffffffffffffffffff166129e7846109f1565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a38576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612a9e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612aab8585856001612c9f565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612ba886612ca5565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831603612c305760006001840190506000600460008381526020019081526020016000205403612c2e576000548114612c2d578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c988585856001612caf565b5050505050565b50505050565b6000819050919050565b50505050565b612cbd61315e565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612dbd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612df7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e046000858386612c9f565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612e6960018514613154565b901b60a042901b612e7986612ca5565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612f7d575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f2d6000878480600101955087613004565b612f63576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612ebe578260005414612f7857600080fd5b612fe8565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f7e575b816000819055505050612ffe6000858386612caf565b50505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261302a6123c1565b8786866040518563ffffffff1660e01b815260040161304c94939291906147d0565b6020604051808303816000875af192505050801561308857506040513d601f19601f820116820180604052508101906130859190614831565b60015b613101573d80600081146130b8576040519150601f19603f3d011682016040523d82523d6000602084013e6130bd565b606091505b5060008151036130f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000819050919050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131ea816131b5565b81146131f557600080fd5b50565b600081359050613207816131e1565b92915050565b600060208284031215613223576132226131ab565b5b6000613231848285016131f8565b91505092915050565b60008115159050919050565b61324f8161323a565b82525050565b600060208201905061326a6000830184613246565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132aa57808201518184015260208101905061328f565b60008484015250505050565b6000601f19601f8301169050919050565b60006132d282613270565b6132dc818561327b565b93506132ec81856020860161328c565b6132f5816132b6565b840191505092915050565b6000602082019050818103600083015261331a81846132c7565b905092915050565b6000819050919050565b61333581613322565b811461334057600080fd5b50565b6000813590506133528161332c565b92915050565b60006020828403121561336e5761336d6131ab565b5b600061337c84828501613343565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133b082613385565b9050919050565b6133c0816133a5565b82525050565b60006020820190506133db60008301846133b7565b92915050565b6133ea816133a5565b81146133f557600080fd5b50565b600081359050613407816133e1565b92915050565b60008060408385031215613424576134236131ab565b5b6000613432858286016133f8565b925050602061344385828601613343565b9150509250929050565b600060208284031215613463576134626131ab565b5b6000613471848285016133f8565b91505092915050565b61348381613322565b82525050565b600060208201905061349e600083018461347a565b92915050565b6134ad8161323a565b81146134b857600080fd5b50565b6000813590506134ca816134a4565b92915050565b6000602082840312156134e6576134e56131ab565b5b60006134f4848285016134bb565b91505092915050565b600080600060608486031215613516576135156131ab565b5b6000613524868287016133f8565b9350506020613535868287016133f8565b925050604061354686828701613343565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61358d826132b6565b810181811067ffffffffffffffff821117156135ac576135ab613555565b5b80604052505050565b60006135bf6131a1565b90506135cb8282613584565b919050565b600067ffffffffffffffff8211156135eb576135ea613555565b5b602082029050602081019050919050565b600080fd5b600061361461360f846135d0565b6135b5565b90508083825260208201905060208402830185811115613637576136366135fc565b5b835b81811015613660578061364c8882613343565b845260208401935050602081019050613639565b5050509392505050565b600082601f83011261367f5761367e613550565b5b813561368f848260208601613601565b91505092915050565b6000602082840312156136ae576136ad6131ab565b5b600082013567ffffffffffffffff8111156136cc576136cb6131b0565b5b6136d88482850161366a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613716816133a5565b82525050565b600067ffffffffffffffff82169050919050565b6137398161371c565b82525050565b6137488161323a565b82525050565b606082016000820151613764600085018261370d565b5060208201516137776020850182613730565b50604082015161378a604085018261373f565b50505050565b600061379c838361374e565b60608301905092915050565b6000602082019050919050565b60006137c0826136e1565b6137ca81856136ec565b93506137d5836136fd565b8060005b838110156138065781516137ed8882613790565b97506137f8836137a8565b9250506001810190506137d9565b5085935050505092915050565b6000602082019050818103600083015261382d81846137b5565b905092915050565b600080fd5b600067ffffffffffffffff82111561385557613854613555565b5b61385e826132b6565b9050602081019050919050565b82818337600083830152505050565b600061388d6138888461383a565b6135b5565b9050828152602081018484840111156138a9576138a8613835565b5b6138b484828561386b565b509392505050565b600082601f8301126138d1576138d0613550565b5b81356138e184826020860161387a565b91505092915050565b60008060408385031215613901576139006131ab565b5b600083013567ffffffffffffffff81111561391f5761391e6131b0565b5b61392b858286016138bc565b925050602083013567ffffffffffffffff81111561394c5761394b6131b0565b5b613958858286016138bc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61399781613322565b82525050565b60006139a9838361398e565b60208301905092915050565b6000602082019050919050565b60006139cd82613962565b6139d7818561396d565b93506139e28361397e565b8060005b83811015613a135781516139fa888261399d565b9750613a05836139b5565b9250506001810190506139e6565b5085935050505092915050565b60006020820190508181036000830152613a3a81846139c2565b905092915050565b600080600060608486031215613a5b57613a5a6131ab565b5b6000613a69868287016133f8565b9350506020613a7a86828701613343565b9250506040613a8b86828701613343565b9150509250925092565b60008060408385031215613aac57613aab6131ab565b5b6000613aba858286016133f8565b9250506020613acb858286016134bb565b9150509250929050565b600067ffffffffffffffff821115613af057613aef613555565b5b613af9826132b6565b9050602081019050919050565b6000613b19613b1484613ad5565b6135b5565b905082815260208101848484011115613b3557613b34613835565b5b613b4084828561386b565b509392505050565b600082601f830112613b5d57613b5c613550565b5b8135613b6d848260208601613b06565b91505092915050565b60008060008060808587031215613b9057613b8f6131ab565b5b6000613b9e878288016133f8565b9450506020613baf878288016133f8565b9350506040613bc087828801613343565b925050606085013567ffffffffffffffff811115613be157613be06131b0565b5b613bed87828801613b48565b91505092959194509250565b606082016000820151613c0f600085018261370d565b506020820151613c226020850182613730565b506040820151613c35604085018261373f565b50505050565b6000606082019050613c506000830184613bf9565b92915050565b60008060408385031215613c6d57613c6c6131ab565b5b6000613c7b858286016133f8565b9250506020613c8c858286016133f8565b9150509250929050565b600080fd5b60008083601f840112613cb157613cb0613550565b5b8235905067ffffffffffffffff811115613cce57613ccd613c96565b5b602083019150836020820283011115613cea57613ce96135fc565b5b9250929050565b60008083601f840112613d0757613d06613550565b5b8235905067ffffffffffffffff811115613d2457613d23613c96565b5b602083019150836020820283011115613d4057613d3f6135fc565b5b9250929050565b60008060008060408587031215613d6157613d606131ab565b5b600085013567ffffffffffffffff811115613d7f57613d7e6131b0565b5b613d8b87828801613c9b565b9450945050602085013567ffffffffffffffff811115613dae57613dad6131b0565b5b613dba87828801613cf1565b925092505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e0f57607f821691505b602082108103613e2257613e21613dc8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e5e60208361327b565b9150613e6982613e28565b602082019050919050565b60006020820190508181036000830152613e8d81613e51565b9050919050565b6000604082019050613ea960008301856133b7565b613eb660208301846133b7565b9392505050565b600081519050613ecc816134a4565b92915050565b600060208284031215613ee857613ee76131ab565b5b6000613ef684828501613ebd565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f53565b613f9a8683613f53565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613fd7613fd2613fcd84613322565b613fb2565b613322565b9050919050565b6000819050919050565b613ff183613fbc565b614005613ffd82613fde565b848454613f60565b825550505050565b600090565b61401a61400d565b614025818484613fe8565b505050565b5b818110156140495761403e600082614012565b60018101905061402b565b5050565b601f82111561408e5761405f81613f2e565b61406884613f43565b81016020851015614077578190505b61408b61408385613f43565b83018261402a565b50505b505050565b600082821c905092915050565b60006140b160001984600802614093565b1980831691505092915050565b60006140ca83836140a0565b9150826002028217905092915050565b6140e382613270565b67ffffffffffffffff8111156140fc576140fb613555565b5b6141068254613df7565b61411182828561404d565b600060209050601f8311600181146141445760008415614132578287015190505b61413c85826140be565b8655506141a4565b601f19841661415286613f2e565b60005b8281101561417a57848901518255600182019150602085019450602081019050614155565b868310156141975784890151614193601f8916826140a0565b8355505b6001600288020188555050505b505050505050565b7f6e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b60006141e2600b8361327b565b91506141ed826141ac565b602082019050919050565b60006020820190508181036000830152614211816141d5565b9050919050565b7f53616c6520697320636c6f736564210000000000000000000000000000000000600082015250565b600061424e600f8361327b565b915061425982614218565b602082019050919050565b6000602082019050818103600083015261427d81614241565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142be82613322565b91506142c983613322565b92508282019050808211156142e1576142e0614284565b5b92915050565b7f457863656564204d41585f535550504c59000000000000000000000000000000600082015250565b600061431d60118361327b565b9150614328826142e7565b602082019050919050565b6000602082019050818103600083015261434c81614310565b9050919050565b7f416d6f756e742063616e27742062652030000000000000000000000000000000600082015250565b600061438960118361327b565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f457863656564206d6178427957616c6c65740000000000000000000000000000600082015250565b60006143f560128361327b565b9150614400826143bf565b602082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b600061443682613322565b915061444183613322565b925082820261444f81613322565b9150828204841483151761446657614465614284565b5b5092915050565b7f496e76616c6964207061796d656e7420616d6f756e7400000000000000000000600082015250565b60006144a360168361327b565b91506144ae8261446d565b602082019050919050565b600060208201905081810360008301526144d281614496565b9050919050565b600081905092915050565b600081546144f181613df7565b6144fb81866144d9565b94506001821660008114614516576001811461452b5761455e565b60ff198316865281151582028601935061455e565b61453485613f2e565b60005b8381101561455657815481890152600182019150602081019050614537565b838801955050505b50505092915050565b600061457282613270565b61457c81856144d9565b935061458c81856020860161328c565b80840191505092915050565b60006145a482866144e4565b91506145b08285614567565b91506145bc82846144e4565b9150819050949350505050565b7f73616c65206973206f70656e2100000000000000000000000000000000000000600082015250565b60006145ff600d8361327b565b915061460a826145c9565b602082019050919050565b6000602082019050818103600083015261462e816145f2565b9050919050565b7f6d69736d61746368696e67206c656e6774687321000000000000000000000000600082015250565b600061466b60148361327b565b915061467682614635565b602082019050919050565b6000602082019050818103600083015261469a8161465e565b9050919050565b60006146ac82613322565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146de576146dd614284565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061474560268361327b565b9150614750826146e9565b604082019050919050565b6000602082019050818103600083015261477481614738565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147a28261477b565b6147ac8185614786565b93506147bc81856020860161328c565b6147c5816132b6565b840191505092915050565b60006080820190506147e560008301876133b7565b6147f260208301866133b7565b6147ff604083018561347a565b81810360608301526148118184614797565b905095945050505050565b60008151905061482b816131e1565b92915050565b600060208284031215614847576148466131ab565b5b60006148558482850161481c565b9150509291505056fea2646970667358221220e0c72f5a85dadf74128d0164654c0e580471e716ac59945d64a22a28a45c1b7364736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000164162737472616374456d6f74696f6e734279416e6f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000441454d4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f6d696e742e6162737472616374656d6f74696f6e732e78797a2f6170692f6d6574612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): AbstractEmotionsByAnon
Arg [1] : symbol (string): AEMO
Arg [2] : baseURI_ (string): https://mint.abstractemotions.xyz/api/meta/
Arg [3] : uriSuffix_ (string):

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [5] : 4162737472616374456d6f74696f6e734279416e6f6e00000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 41454d4f00000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [9] : 68747470733a2f2f6d696e742e6162737472616374656d6f74696f6e732e7879
Arg [10] : 7a2f6170692f6d6574612f000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000


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.