ETH Price: $3,481.81 (+3.07%)
Gas: 5 Gwei

Token

Angry Apes Portal Pass (AAPP)
 

Overview

Max Total Supply

4,250 AAPP

Holders

1,112

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
Uniswap: Universal Router 2
Balance
1 AAPP
0xef1c6e67703c7bd7107eed8303fbe6ec2554bf6b
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:
AngryApesPortalPass

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-20
*/

// File: contracts/AngryApesPortalPass.sol


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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

// File: contracts/new.sol




pragma solidity ^0.8.4;








error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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 Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

    // The number of tokens burned.
    uint256 internal _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 _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 1;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].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 {
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @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, tokenId.toString())) : '';
    }

    /**
     * @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 See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), 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.isContract() && !_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 &&
            !_ownerships[tokenId].burned;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) 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 {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

            if (safe && to.isContract()) {
                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 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // 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 {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        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 Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == 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 {}
}
pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}
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);
    }
}

interface IERC2981 is IERC165 {
    /// ERC165 bytes to add to interface array - set in parent contract
    /// implementing this standard
    ///
    /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a
    /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    /// _registerInterface(_INTERFACE_ID_ERC2981);

    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _salePrice - the sale price of the NFT asset specified by _tokenId
    /// @return receiver - address of who should be sent the royalty payment
    /// @return royaltyAmount - the royalty payment amount for _salePrice
    function royaltyInfo(
        uint256 _tokenId,
        uint256 _salePrice
    ) external view returns (
        address receiver,
        uint256 royaltyAmount
    );
}

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    /// @dev The constructor that is called when the contract is being deployed.
    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(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6, true) {}
}

pragma solidity >=0.7.0 <0.9.0;

contract AngryApesPortalPass is DefaultOperatorFilterer, ERC721A, IERC2981, Ownable {
  using Strings for uint256;
  string public baseURI = "ipfs://QmdJmkpZiFGf9WYuSAjzaCAY9hZcrhTqHurT7rsYYSandX";
  uint256 public maxSupply = 4250;
  constructor(
    string memory _name,
    string memory _symbol
  ) ERC721A(_name, _symbol) {
  }
  function _baseURI() internal view virtual override returns (string memory) {
    return baseURI;
  }
  function mint(uint256 _mintAmount, address _receivingAddress) public payable onlyOwner {
    if(totalSupply() + _mintAmount > maxSupply) {
        revert();
    }
    _safeMint(_receivingAddress, _mintAmount);
  }
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    string memory currentBaseURI = _baseURI();
    return currentBaseURI;
  }
  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
    public
    pure
    override
    returns (address receiver, uint256 royaltyAmount)
  {
    return (0xE7DEbDCfd92a2b6f7AB03B4b3c73494CAdCCB371,(5 * salePrice)/100);
  }
    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","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":"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"},{"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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receivingAddress","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052603560808181529062001d7760a039600990620000229082620002e9565b5061109a600a553480156200003657600080fd5b5060405162001dac38038062001dac833981016040819052620000599162000464565b8181733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b15620001b75780156200010557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000e657600080fd5b505af1158015620000fb573d6000803e3d6000fd5b50505050620001b7565b6001600160a01b03821615620001565760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000cb565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200019d57600080fd5b505af1158015620001b2573d6000803e3d6000fd5b505050505b5060029050620001c88382620002e9565b506003620001d78282620002e9565b5050600160005550620001ea33620001f2565b5050620004ce565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026f57607f821691505b6020821081036200029057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e457600081815260208120601f850160051c81016020861015620002bf5750805b601f850160051c820191505b81811015620002e057828155600101620002cb565b5050505b505050565b81516001600160401b0381111562000305576200030562000244565b6200031d816200031684546200025a565b8462000296565b602080601f8311600181146200035557600084156200033c5750858301515b600019600386901b1c1916600185901b178555620002e0565b600085815260208120601f198616915b82811015620003865788860151825594840194600190910190840162000365565b5085821015620003a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620003c757600080fd5b81516001600160401b0380821115620003e457620003e462000244565b604051601f8301601f19908116603f011681019082821181831017156200040f576200040f62000244565b816040528381526020925086838588010111156200042c57600080fd5b600091505b8382101562000450578582018301518183018401529082019062000431565b600093810190920192909252949350505050565b600080604083850312156200047857600080fd5b82516001600160401b03808211156200049057600080fd5b6200049e86838701620003b5565b93506020850151915080821115620004b557600080fd5b50620004c485828601620003b5565b9150509250929050565b61189980620004de6000396000f3fe6080604052600436106101405760003560e01c80636c0360eb116100b6578063a22cb4651161006f578063a22cb4651461038e578063b88d4fde146103ae578063c87b56dd146103ce578063d5abeb01146103ee578063e985e9c514610404578063f2fde38b1461042457600080fd5b80636c0360eb146102fe57806370a0823114610313578063715018a6146103335780638da5cb5b1461034857806394bf804d1461036657806395d89b411461037957600080fd5b806323b872dd1161010857806323b872dd1461021d5780632a55205a1461023d57806341f434341461027c57806342842e0e1461029e57806355f804b3146102be5780636352211e146102de57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b506101656101603660046112d3565b610444565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f6104b1565b6040516101719190611336565b3480156101a857600080fd5b506101bc6101b7366004611349565b610543565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef36600461137e565b610587565b005b34801561020257600080fd5b5060015460005403600019015b604051908152602001610171565b34801561022957600080fd5b506101f46102383660046113a8565b6105a0565b34801561024957600080fd5b5061025d6102583660046113e4565b6105cb565b604080516001600160a01b039093168352602083019190915201610171565b34801561028857600080fd5b506101bc6daaeb6d7670e522a718067333cd4e81565b3480156102aa57600080fd5b506101f46102b93660046113a8565b610605565b3480156102ca57600080fd5b506101f46102d9366004611492565b61062a565b3480156102ea57600080fd5b506101bc6102f9366004611349565b61066d565b34801561030a57600080fd5b5061018f61067f565b34801561031f57600080fd5b5061020f61032e3660046114db565b61070d565b34801561033f57600080fd5b506101f461075c565b34801561035457600080fd5b506008546001600160a01b03166101bc565b6101f46103743660046114f6565b610792565b34801561038557600080fd5b5061018f6107ec565b34801561039a57600080fd5b506101f46103a9366004611530565b6107fb565b3480156103ba57600080fd5b506101f46103c9366004611567565b61080f565b3480156103da57600080fd5b5061018f6103e9366004611349565b61083c565b3480156103fa57600080fd5b5061020f600a5481565b34801561041057600080fd5b5061016561041f3660046115e3565b6108bc565b34801561043057600080fd5b506101f461043f3660046114db565b6108ea565b60006001600160e01b031982166380ac58cd60e01b148061047557506001600160e01b03198216635b5e139f60e01b145b8061049057506001600160e01b0319821663152a902d60e11b145b806104ab57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104c09061160d565b80601f01602080910402602001604051908101604052809291908181526020018280546104ec9061160d565b80156105395780601f1061050e57610100808354040283529160200191610539565b820191906000526020600020905b81548152906001019060200180831161051c57829003601f168201915b5050505050905090565b600061054e82610985565b61056b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610591816109be565b61059b8383610a77565b505050565b826001600160a01b03811633146105ba576105ba336109be565b6105c5848484610aff565b50505050565b60008073e7debdcfd92a2b6f7ab03b4b3c73494cadccb37160646105f085600561165d565b6105fa9190611674565b915091509250929050565b826001600160a01b038116331461061f5761061f336109be565b6105c5848484610b0a565b6008546001600160a01b0316331461065d5760405162461bcd60e51b815260040161065490611696565b60405180910390fd5b60096106698282611719565b5050565b600061067882610b25565b5192915050565b6009805461068c9061160d565b80601f01602080910402602001604051908101604052809291908181526020018280546106b89061160d565b80156107055780601f106106da57610100808354040283529160200191610705565b820191906000526020600020905b8154815290600101906020018083116106e857829003601f168201915b505050505081565b60006001600160a01b038216610736576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107865760405162461bcd60e51b815260040161065490611696565b6107906000610c4e565b565b6008546001600160a01b031633146107bc5760405162461bcd60e51b815260040161065490611696565b600a5460015460005484919003600019016107d791906117d9565b11156107e257600080fd5b6106698183610ca0565b6060600380546104c09061160d565b81610805816109be565b61059b8383610cba565b836001600160a01b038116331461082957610829336109be565b61083585858585610d4f565b5050505050565b606061084782610985565b6108ab5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610654565b60006108b5610d9a565b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146109145760405162461bcd60e51b815260040161065490611696565b6001600160a01b0381166109795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610654565b61098281610c4e565b50565b600081600111158015610999575060005482105b80156104ab575050600090815260046020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b1561098257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4f91906117ec565b61098257604051633b79c77360e21b81526001600160a01b0382166004820152602401610654565b6000610a828261066d565b9050806001600160a01b0316836001600160a01b031603610ab65760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ad65750610ad481336108bc565b155b15610af4576040516367d9dca160e11b815260040160405180910390fd5b61059b838383610da9565b61059b838383610e05565b61059b8383836040518060200160405280600081525061080f565b60408051606081018252600080825260208201819052918101919091528180600111158015610b55575060005481105b15610c3557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c335780516001600160a01b031615610bc9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c2e579392505050565b610bc9565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610669828260405180602001604052806000815250610ff2565b336001600160a01b03831603610ce35760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d5a848484610e05565b6001600160a01b0383163b15158015610d7c5750610d7a84848484610fff565b155b156105c5576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546104c09061160d565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610e1082610b25565b9050836001600160a01b031681600001516001600160a01b031614610e475760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610e655750610e6585336108bc565b80610e80575033610e7584610543565b6001600160a01b0316145b905080610ea057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ec757604051633a954ecd60e21b815260040160405180910390fd5b610ed360008487610da9565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610fa9576000548214610fa9578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610835565b61059b83838360016110eb565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611034903390899088908890600401611809565b6020604051808303816000875af192505050801561106f575060408051601f3d908101601f1916820190925261106c91810190611846565b60015b6110cd573d80801561109d576040519150601f19603f3d011682016040523d82523d6000602084013e6110a2565b606091505b5080516000036110c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000546001600160a01b03851661111457604051622e076360e81b815260040160405180910390fd5b836000036111355760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156111e757506001600160a01b0387163b15155b1561126f575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46112386000888480600101955088610fff565b611255576040516368d2bf6b60e11b815260040160405180910390fd5b8082036111ed57826000541461126a57600080fd5b6112b4565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611270575b50600055610835565b6001600160e01b03198116811461098257600080fd5b6000602082840312156112e557600080fd5b81356108b5816112bd565b6000815180845260005b81811015611316576020818501810151868301820152016112fa565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006108b560208301846112f0565b60006020828403121561135b57600080fd5b5035919050565b80356001600160a01b038116811461137957600080fd5b919050565b6000806040838503121561139157600080fd5b61139a83611362565b946020939093013593505050565b6000806000606084860312156113bd57600080fd5b6113c684611362565b92506113d460208501611362565b9150604084013590509250925092565b600080604083850312156113f757600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561143757611437611406565b604051601f8501601f19908116603f0116810190828211818310171561145f5761145f611406565b8160405280935085815286868601111561147857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114a457600080fd5b813567ffffffffffffffff8111156114bb57600080fd5b8201601f810184136114cc57600080fd5b6110e38482356020840161141c565b6000602082840312156114ed57600080fd5b6108b582611362565b6000806040838503121561150957600080fd5b8235915061151960208401611362565b90509250929050565b801515811461098257600080fd5b6000806040838503121561154357600080fd5b61154c83611362565b9150602083013561155c81611522565b809150509250929050565b6000806000806080858703121561157d57600080fd5b61158685611362565b935061159460208601611362565b925060408501359150606085013567ffffffffffffffff8111156115b757600080fd5b8501601f810187136115c857600080fd5b6115d78782356020840161141c565b91505092959194509250565b600080604083850312156115f657600080fd5b6115ff83611362565b915061151960208401611362565b600181811c9082168061162157607f821691505b60208210810361164157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ab576104ab611647565b60008261169157634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561059b57600081815260208120601f850160051c810160208610156116f25750805b601f850160051c820191505b81811015611711578281556001016116fe565b505050505050565b815167ffffffffffffffff81111561173357611733611406565b61174781611741845461160d565b846116cb565b602080601f83116001811461177c57600084156117645750858301515b600019600386901b1c1916600185901b178555611711565b600085815260208120601f198616915b828110156117ab5788860151825594840194600190910190840161178c565b50858210156117c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156104ab576104ab611647565b6000602082840312156117fe57600080fd5b81516108b581611522565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061183c908301846112f0565b9695505050505050565b60006020828403121561185857600080fd5b81516108b5816112bd56fea26469706673582212202f7a73f094c86340a576c346042bf4458b420dd0ed117d08f7340e996adea62364736f6c63430008110033697066733a2f2f516d644a6d6b705a694647663957597553416a7a6143415939685a637268547148757254377273595953616e6458000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000016416e677279204170657320506f7274616c20506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000044141505000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101405760003560e01c80636c0360eb116100b6578063a22cb4651161006f578063a22cb4651461038e578063b88d4fde146103ae578063c87b56dd146103ce578063d5abeb01146103ee578063e985e9c514610404578063f2fde38b1461042457600080fd5b80636c0360eb146102fe57806370a0823114610313578063715018a6146103335780638da5cb5b1461034857806394bf804d1461036657806395d89b411461037957600080fd5b806323b872dd1161010857806323b872dd1461021d5780632a55205a1461023d57806341f434341461027c57806342842e0e1461029e57806355f804b3146102be5780636352211e146102de57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b506101656101603660046112d3565b610444565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f6104b1565b6040516101719190611336565b3480156101a857600080fd5b506101bc6101b7366004611349565b610543565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef36600461137e565b610587565b005b34801561020257600080fd5b5060015460005403600019015b604051908152602001610171565b34801561022957600080fd5b506101f46102383660046113a8565b6105a0565b34801561024957600080fd5b5061025d6102583660046113e4565b6105cb565b604080516001600160a01b039093168352602083019190915201610171565b34801561028857600080fd5b506101bc6daaeb6d7670e522a718067333cd4e81565b3480156102aa57600080fd5b506101f46102b93660046113a8565b610605565b3480156102ca57600080fd5b506101f46102d9366004611492565b61062a565b3480156102ea57600080fd5b506101bc6102f9366004611349565b61066d565b34801561030a57600080fd5b5061018f61067f565b34801561031f57600080fd5b5061020f61032e3660046114db565b61070d565b34801561033f57600080fd5b506101f461075c565b34801561035457600080fd5b506008546001600160a01b03166101bc565b6101f46103743660046114f6565b610792565b34801561038557600080fd5b5061018f6107ec565b34801561039a57600080fd5b506101f46103a9366004611530565b6107fb565b3480156103ba57600080fd5b506101f46103c9366004611567565b61080f565b3480156103da57600080fd5b5061018f6103e9366004611349565b61083c565b3480156103fa57600080fd5b5061020f600a5481565b34801561041057600080fd5b5061016561041f3660046115e3565b6108bc565b34801561043057600080fd5b506101f461043f3660046114db565b6108ea565b60006001600160e01b031982166380ac58cd60e01b148061047557506001600160e01b03198216635b5e139f60e01b145b8061049057506001600160e01b0319821663152a902d60e11b145b806104ab57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104c09061160d565b80601f01602080910402602001604051908101604052809291908181526020018280546104ec9061160d565b80156105395780601f1061050e57610100808354040283529160200191610539565b820191906000526020600020905b81548152906001019060200180831161051c57829003601f168201915b5050505050905090565b600061054e82610985565b61056b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610591816109be565b61059b8383610a77565b505050565b826001600160a01b03811633146105ba576105ba336109be565b6105c5848484610aff565b50505050565b60008073e7debdcfd92a2b6f7ab03b4b3c73494cadccb37160646105f085600561165d565b6105fa9190611674565b915091509250929050565b826001600160a01b038116331461061f5761061f336109be565b6105c5848484610b0a565b6008546001600160a01b0316331461065d5760405162461bcd60e51b815260040161065490611696565b60405180910390fd5b60096106698282611719565b5050565b600061067882610b25565b5192915050565b6009805461068c9061160d565b80601f01602080910402602001604051908101604052809291908181526020018280546106b89061160d565b80156107055780601f106106da57610100808354040283529160200191610705565b820191906000526020600020905b8154815290600101906020018083116106e857829003601f168201915b505050505081565b60006001600160a01b038216610736576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107865760405162461bcd60e51b815260040161065490611696565b6107906000610c4e565b565b6008546001600160a01b031633146107bc5760405162461bcd60e51b815260040161065490611696565b600a5460015460005484919003600019016107d791906117d9565b11156107e257600080fd5b6106698183610ca0565b6060600380546104c09061160d565b81610805816109be565b61059b8383610cba565b836001600160a01b038116331461082957610829336109be565b61083585858585610d4f565b5050505050565b606061084782610985565b6108ab5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610654565b60006108b5610d9a565b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146109145760405162461bcd60e51b815260040161065490611696565b6001600160a01b0381166109795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610654565b61098281610c4e565b50565b600081600111158015610999575060005482105b80156104ab575050600090815260046020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b1561098257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4f91906117ec565b61098257604051633b79c77360e21b81526001600160a01b0382166004820152602401610654565b6000610a828261066d565b9050806001600160a01b0316836001600160a01b031603610ab65760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ad65750610ad481336108bc565b155b15610af4576040516367d9dca160e11b815260040160405180910390fd5b61059b838383610da9565b61059b838383610e05565b61059b8383836040518060200160405280600081525061080f565b60408051606081018252600080825260208201819052918101919091528180600111158015610b55575060005481105b15610c3557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c335780516001600160a01b031615610bc9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c2e579392505050565b610bc9565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610669828260405180602001604052806000815250610ff2565b336001600160a01b03831603610ce35760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d5a848484610e05565b6001600160a01b0383163b15158015610d7c5750610d7a84848484610fff565b155b156105c5576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546104c09061160d565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610e1082610b25565b9050836001600160a01b031681600001516001600160a01b031614610e475760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610e655750610e6585336108bc565b80610e80575033610e7584610543565b6001600160a01b0316145b905080610ea057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ec757604051633a954ecd60e21b815260040160405180910390fd5b610ed360008487610da9565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610fa9576000548214610fa9578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610835565b61059b83838360016110eb565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611034903390899088908890600401611809565b6020604051808303816000875af192505050801561106f575060408051601f3d908101601f1916820190925261106c91810190611846565b60015b6110cd573d80801561109d576040519150601f19603f3d011682016040523d82523d6000602084013e6110a2565b606091505b5080516000036110c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000546001600160a01b03851661111457604051622e076360e81b815260040160405180910390fd5b836000036111355760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156111e757506001600160a01b0387163b15155b1561126f575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46112386000888480600101955088610fff565b611255576040516368d2bf6b60e11b815260040160405180910390fd5b8082036111ed57826000541461126a57600080fd5b6112b4565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611270575b50600055610835565b6001600160e01b03198116811461098257600080fd5b6000602082840312156112e557600080fd5b81356108b5816112bd565b6000815180845260005b81811015611316576020818501810151868301820152016112fa565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006108b560208301846112f0565b60006020828403121561135b57600080fd5b5035919050565b80356001600160a01b038116811461137957600080fd5b919050565b6000806040838503121561139157600080fd5b61139a83611362565b946020939093013593505050565b6000806000606084860312156113bd57600080fd5b6113c684611362565b92506113d460208501611362565b9150604084013590509250925092565b600080604083850312156113f757600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561143757611437611406565b604051601f8501601f19908116603f0116810190828211818310171561145f5761145f611406565b8160405280935085815286868601111561147857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114a457600080fd5b813567ffffffffffffffff8111156114bb57600080fd5b8201601f810184136114cc57600080fd5b6110e38482356020840161141c565b6000602082840312156114ed57600080fd5b6108b582611362565b6000806040838503121561150957600080fd5b8235915061151960208401611362565b90509250929050565b801515811461098257600080fd5b6000806040838503121561154357600080fd5b61154c83611362565b9150602083013561155c81611522565b809150509250929050565b6000806000806080858703121561157d57600080fd5b61158685611362565b935061159460208601611362565b925060408501359150606085013567ffffffffffffffff8111156115b757600080fd5b8501601f810187136115c857600080fd5b6115d78782356020840161141c565b91505092959194509250565b600080604083850312156115f657600080fd5b6115ff83611362565b915061151960208401611362565b600181811c9082168061162157607f821691505b60208210810361164157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ab576104ab611647565b60008261169157634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561059b57600081815260208120601f850160051c810160208610156116f25750805b601f850160051c820191505b81811015611711578281556001016116fe565b505050505050565b815167ffffffffffffffff81111561173357611733611406565b61174781611741845461160d565b846116cb565b602080601f83116001811461177c57600084156117645750858301515b600019600386901b1c1916600185901b178555611711565b600085815260208120601f198616915b828110156117ab5788860151825594840194600190910190840161178c565b50858210156117c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156104ab576104ab611647565b6000602082840312156117fe57600080fd5b81516108b581611522565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061183c908301846112f0565b9695505050505050565b60006020828403121561185857600080fd5b81516108b5816112bd56fea26469706673582212202f7a73f094c86340a576c346042bf4458b420dd0ed117d08f7340e996adea62364736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000016416e677279204170657320506f7274616c20506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000044141505000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Angry Apes Portal Pass
Arg [1] : _symbol (string): AAPP

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [3] : 416e677279204170657320506f7274616c205061737300000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4141505000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

56616:2253:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24454:363;;;;;;;;;;-1:-1:-1;24454:363:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24454:363:0;;;;;;;;27625:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29127:204::-;;;;;;;;;;-1:-1:-1;29127:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1594:32:1;;;1576:51;;1564:2;1549:18;29127:204:0;1430:203:1;58123:157:0;;;;;;;;;;-1:-1:-1;58123:157:0;;;;;:::i;:::-;;:::i;:::-;;23703:303;;;;;;;;;;-1:-1:-1;23560:1:0;23957:12;23747:7;23941:13;:28;-1:-1:-1;;23941:46:0;23703:303;;;2221:25:1;;;2209:2;2194:18;23703:303:0;2075:177:1;58288:163:0;;;;;;;;;;-1:-1:-1;58288:163:0;;;;;:::i;:::-;;:::i;57698:235::-;;;;;;;;;;-1:-1:-1;57698:235:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3035:32:1;;;3017:51;;3099:2;3084:18;;3077:34;;;;2990:18;57698:235:0;2843:274:1;53761:143:0;;;;;;;;;;;;53861:42;53761:143;;58459:171;;;;;;;;;;-1:-1:-1;58459:171:0;;;;;:::i;:::-;;:::i;57594:98::-;;;;;;;;;;-1:-1:-1;57594:98:0;;;;;:::i;:::-;;:::i;27433:125::-;;;;;;;;;;-1:-1:-1;27433:125:0;;;;;:::i;:::-;;:::i;56735:79::-;;;;;;;;;;;;;:::i;24881:206::-;;;;;;;;;;-1:-1:-1;24881:206:0;;;;;:::i;:::-;;:::i;45557:103::-;;;;;;;;;;;;;:::i;44905:87::-;;;;;;;;;;-1:-1:-1;44978:6:0;;-1:-1:-1;;;;;44978:6:0;44905:87;;57066:218;;;;;;:::i;:::-;;:::i;27794:104::-;;;;;;;;;;;;;:::i;57939:176::-;;;;;;;;;;-1:-1:-1;57939:176:0;;;;;:::i;:::-;;:::i;58638:228::-;;;;;;;;;;-1:-1:-1;58638:228:0;;;;;:::i;:::-;;:::i;57288:302::-;;;;;;;;;;-1:-1:-1;57288:302:0;;;;;:::i;:::-;;:::i;56819:31::-;;;;;;;;;;;;;;;;29761:164;;;;;;;;;;-1:-1:-1;29761:164:0;;;;;:::i;:::-;;:::i;45815:201::-;;;;;;;;;;-1:-1:-1;45815:201:0;;;;;:::i;:::-;;:::i;24454:363::-;24556:4;-1:-1:-1;;;;;;24593:40:0;;-1:-1:-1;;;24593:40:0;;:105;;-1:-1:-1;;;;;;;24650:48:0;;-1:-1:-1;;;24650:48:0;24593:105;:163;;;-1:-1:-1;;;;;;;24715:41:0;;-1:-1:-1;;;24715:41:0;24593:163;:216;;;-1:-1:-1;;;;;;;;;;14488:40:0;;;24773:36;24573:236;24454:363;-1:-1:-1;;24454:363:0:o;27625:100::-;27679:13;27712:5;27705:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27625:100;:::o;29127:204::-;29195:7;29220:16;29228:7;29220;:16::i;:::-;29215:64;;29245:34;;-1:-1:-1;;;29245:34:0;;;;;;;;;;;29215:64;-1:-1:-1;29299:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29299:24:0;;29127:204::o;58123:157::-;58219:8;55543:30;55564:8;55543:20;:30::i;:::-;58240:32:::1;58254:8;58264:7;58240:13;:32::i;:::-;58123:157:::0;;;:::o;58288:163::-;58389:4;-1:-1:-1;;;;;55269:18:0;;55277:10;55269:18;55265:83;;55304:32;55325:10;55304:20;:32::i;:::-;58406:37:::1;58425:4;58431:2;58435:7;58406:18;:37::i;:::-;58288:163:::0;;;;:::o;57698:235::-;57805:16;;57864:42;57923:3;57908:13;57912:9;57908:1;:13;:::i;:::-;57907:19;;;;:::i;:::-;57856:71;;;;57698:235;;;;;:::o;58459:171::-;58564:4;-1:-1:-1;;;;;55269:18:0;;55277:10;55269:18;55265:83;;55304:32;55325:10;55304:20;:32::i;:::-;58581:41:::1;58604:4;58610:2;58614:7;58581:22;:41::i;57594:98::-:0;44978:6;;-1:-1:-1;;;;;44978:6:0;2929:10;45125:23;45117:69;;;;-1:-1:-1;;;45117:69:0;;;;;;;:::i;:::-;;;;;;;;;57665:7:::1;:21;57675:11:::0;57665:7;:21:::1;:::i;:::-;;57594:98:::0;:::o;27433:125::-;27497:7;27524:21;27537:7;27524:12;:21::i;:::-;:26;;27433:125;-1:-1:-1;;27433:125:0:o;56735:79::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24881:206::-;24945:7;-1:-1:-1;;;;;24969:19:0;;24965:60;;24997:28;;-1:-1:-1;;;24997:28:0;;;;;;;;;;;24965:60;-1:-1:-1;;;;;;25051:19:0;;;;;:12;:19;;;;;:27;;;;24881:206::o;45557:103::-;44978:6;;-1:-1:-1;;;;;44978:6:0;2929:10;45125:23;45117:69;;;;-1:-1:-1;;;45117:69:0;;;;;;;:::i;:::-;45622:30:::1;45649:1;45622:18;:30::i;:::-;45557:103::o:0;57066:218::-;44978:6;;-1:-1:-1;;;;;44978:6:0;2929:10;45125:23;45117:69;;;;-1:-1:-1;;;45117:69:0;;;;;;;:::i;:::-;57193:9:::1;::::0;23560:1;23957:12;23747:7;23941:13;57179:11;;23941:28;;-1:-1:-1;;23941:46:0;57163:27:::1;;;;:::i;:::-;:39;57160:71;;;57215:8;::::0;::::1;57160:71;57237:41;57247:17;57266:11;57237:9;:41::i;27794:104::-:0;27850:13;27883:7;27876:14;;;;;:::i;57939:176::-;58043:8;55543:30;55564:8;55543:20;:30::i;:::-;58064:43:::1;58088:8;58098;58064:23;:43::i;58638:228::-:0;58789:4;-1:-1:-1;;;;;55269:18:0;;55277:10;55269:18;55265:83;;55304:32;55325:10;55304:20;:32::i;:::-;58811:47:::1;58834:4;58840:2;58844:7;58853:4;58811:22;:47::i;:::-;58638:228:::0;;;;;:::o;57288:302::-;57386:13;57427:16;57435:7;57427;:16::i;:::-;57411:97;;;;-1:-1:-1;;;57411:97:0;;10226:2:1;57411:97:0;;;10208:21:1;10265:2;10245:18;;;10238:30;10304:34;10284:18;;;10277:62;-1:-1:-1;;;10355:18:1;;;10348:45;10410:19;;57411:97:0;10024:411:1;57411:97:0;57515:28;57546:10;:8;:10::i;:::-;57515:41;57288:302;-1:-1:-1;;;57288:302:0:o;29761:164::-;-1:-1:-1;;;;;29882:25:0;;;29858:4;29882:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29761:164::o;45815:201::-;44978:6;;-1:-1:-1;;;;;44978:6:0;2929:10;45125:23;45117:69;;;;-1:-1:-1;;;45117:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45904:22:0;::::1;45896:73;;;::::0;-1:-1:-1;;;45896:73:0;;10642:2:1;45896:73:0::1;::::0;::::1;10624:21:1::0;10681:2;10661:18;;;10654:30;10720:34;10700:18;;;10693:62;-1:-1:-1;;;10771:18:1;;;10764:36;10817:19;;45896:73:0::1;10440:402:1::0;45896:73:0::1;45980:28;45999:8;45980:18;:28::i;:::-;45815:201:::0;:::o;31113:187::-;31170:4;31213:7;23560:1;31194:26;;:53;;;;;31234:13;;31224:7;:23;31194:53;:98;;;;-1:-1:-1;;31265:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;31265:27:0;;;;31264:28;;31113:187::o;55686:647::-;53861:42;55877:45;:49;55873:453;;56176:67;;-1:-1:-1;;;56176:67:0;;56227:4;56176:67;;;11059:34:1;-1:-1:-1;;;;;11129:15:1;;11109:18;;;11102:43;53861:42:0;;56176;;10994:18:1;;56176:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56171:144;;56271:28;;-1:-1:-1;;;56271:28:0;;-1:-1:-1;;;;;1594:32:1;;56271:28:0;;;1576:51:1;1549:18;;56271:28:0;1430:203:1;28691:370:0;28763:13;28779:24;28795:7;28779:15;:24::i;:::-;28763:40;;28824:5;-1:-1:-1;;;;;28818:11:0;:2;-1:-1:-1;;;;;28818:11:0;;28814:48;;28838:24;;-1:-1:-1;;;28838:24:0;;;;;;;;;;;28814:48;2929:10;-1:-1:-1;;;;;28879:21:0;;;;;;:63;;-1:-1:-1;28905:37:0;28922:5;2929:10;29761:164;:::i;28905:37::-;28904:38;28879:63;28875:138;;;28966:35;;-1:-1:-1;;;28966:35:0;;;;;;;;;;;28875:138;29025:28;29034:2;29038:7;29047:5;29025:8;:28::i;29992:170::-;30126:28;30136:4;30142:2;30146:7;30126:9;:28::i;30233:185::-;30371:39;30388:4;30394:2;30398:7;30371:39;;;;;;;;;;;;:16;:39::i;26262:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;26373:7:0;;23560:1;26422:23;;:47;;;;;26456:13;;26449:4;:20;26422:47;26418:886;;;26490:31;26524:17;;;:11;:17;;;;;;;;;26490:51;;;;;;;;;-1:-1:-1;;;;;26490:51:0;;;;-1:-1:-1;;;26490:51:0;;;;;;;;;;;-1:-1:-1;;;26490:51:0;;;;;;;;;;;;;;26560:729;;26610:14;;-1:-1:-1;;;;;26610:28:0;;26606:101;;26674:9;26262:1109;-1:-1:-1;;;26262:1109:0:o;26606:101::-;-1:-1:-1;;;27049:6:0;27094:17;;;;:11;:17;;;;;;;;;27082:29;;;;;;;;;-1:-1:-1;;;;;27082:29:0;;;;;-1:-1:-1;;;27082:29:0;;;;;;;;;;;-1:-1:-1;;;27082:29:0;;;;;;;;;;;;;27142:28;27138:109;;27210:9;26262:1109;-1:-1:-1;;;26262:1109:0:o;27138:109::-;27009:261;;;26471:833;26418:886;27332:31;;-1:-1:-1;;;27332:31:0;;;;;;;;;;;46176:191;46269:6;;;-1:-1:-1;;;;;46286:17:0;;;-1:-1:-1;;;;;;46286:17:0;;;;;;;46319:40;;46269:6;;;46286:17;46269:6;;46319:40;;46250:16;;46319:40;46239:128;46176:191;:::o;31308:104::-;31377:27;31387:2;31391:8;31377:27;;;;;;;;;;;;:9;:27::i;29403:287::-;2929:10;-1:-1:-1;;;;;29502:24:0;;;29498:54;;29535:17;;-1:-1:-1;;;29535:17:0;;;;;;;;;;;29498:54;2929:10;29565:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29565:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29565:53:0;;;;;;;;;;29634:48;;540:41:1;;;29565:42:0;;2929:10;29634:48;;513:18:1;29634:48:0;;;;;;;29403:287;;:::o;30489:369::-;30656:28;30666:4;30672:2;30676:7;30656:9;:28::i;:::-;-1:-1:-1;;;;;30699:13:0;;4591:19;:23;;30699:76;;;;;30719:56;30750:4;30756:2;30760:7;30769:5;30719:30;:56::i;:::-;30718:57;30699:76;30695:156;;;30799:40;;-1:-1:-1;;;30799:40:0;;;;;;;;;;;56960:102;57020:13;57049:7;57042:14;;;;;:::i;39283:196::-;39398:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39398:29:0;-1:-1:-1;;;;;39398:29:0;;;;;;;;;39443:28;;39398:24;;39443:28;;;;;;;39283:196;;;:::o;34226:2130::-;34341:35;34379:21;34392:7;34379:12;:21::i;:::-;34341:59;;34439:4;-1:-1:-1;;;;;34417:26:0;:13;:18;;;-1:-1:-1;;;;;34417:26:0;;34413:67;;34452:28;;-1:-1:-1;;;34452:28:0;;;;;;;;;;;34413:67;34493:22;2929:10;-1:-1:-1;;;;;34519:20:0;;;;:73;;-1:-1:-1;34556:36:0;34573:4;2929:10;29761:164;:::i;34556:36::-;34519:126;;;-1:-1:-1;2929:10:0;34609:20;34621:7;34609:11;:20::i;:::-;-1:-1:-1;;;;;34609:36:0;;34519:126;34493:153;;34664:17;34659:66;;34690:35;;-1:-1:-1;;;34690:35:0;;;;;;;;;;;34659:66;-1:-1:-1;;;;;34740:16:0;;34736:52;;34765:23;;-1:-1:-1;;;34765:23:0;;;;;;;;;;;34736:52;34909:35;34926:1;34930:7;34939:4;34909:8;:35::i;:::-;-1:-1:-1;;;;;35240:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35240:31:0;;;;;;;-1:-1:-1;;35240:31:0;;;;;;;35286:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;35286:29:0;;;;;;;;;;;35366:20;;;:11;:20;;;;;;35401:18;;-1:-1:-1;;;;;;35434:49:0;;;;-1:-1:-1;;;35467:15:0;35434:49;;;;;;;;;;35757:11;;35817:24;;;;;35860:13;;35366:20;;35817:24;;35860:13;35856:384;;36070:13;;36055:11;:28;36051:174;;36108:20;;36177:28;;;;36151:54;;-1:-1:-1;;;36151:54:0;-1:-1:-1;;;;;;36151:54:0;;;-1:-1:-1;;;;;36108:20:0;;36151:54;;;;36051:174;35215:1036;;;36287:7;36283:2;-1:-1:-1;;;;;36268:27:0;36277:4;-1:-1:-1;;;;;36268:27:0;;;;;;;;;;;36306:42;58288:163;31775;31898:32;31904:2;31908:8;31918:5;31925:4;31898:5;:32::i;39971:667::-;40155:72;;-1:-1:-1;;;40155:72:0;;40134:4;;-1:-1:-1;;;;;40155:36:0;;;;;:72;;2929:10;;40206:4;;40212:7;;40221:5;;40155:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40155:72:0;;;;;;;;-1:-1:-1;;40155:72:0;;;;;;;;;;;;:::i;:::-;;;40151:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40389:6;:13;40406:1;40389:18;40385:235;;40435:40;;-1:-1:-1;;;40435:40:0;;;;;;;;;;;40385:235;40578:6;40572:13;40563:6;40559:2;40555:15;40548:38;40151:480;-1:-1:-1;;;;;;40274:55:0;-1:-1:-1;;;40274:55:0;;-1:-1:-1;40151:480:0;39971:667;;;;;;:::o;32197:1775::-;32336:20;32359:13;-1:-1:-1;;;;;32387:16:0;;32383:48;;32412:19;;-1:-1:-1;;;32412:19:0;;;;;;;;;;;32383:48;32446:8;32458:1;32446:13;32442:44;;32468:18;;-1:-1:-1;;;32468:18:0;;;;;;;;;;;32442:44;-1:-1:-1;;;;;32837:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32896:49:0;;32837:44;;;;;;;;32896:49;;;;-1:-1:-1;;32837:44:0;;;;;;32896:49;;;;;;;;;;;;;;;;32962:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;33012:66:0;;;;-1:-1:-1;;;33062:15:0;33012:66;;;;;;;;;;32962:25;33159:23;;;33203:4;:23;;;;-1:-1:-1;;;;;;33211:13:0;;4591:19;:23;;33211:15;33199:641;;;33247:314;33278:38;;33303:12;;-1:-1:-1;;;;;33278:38:0;;;33295:1;;33278:38;;33295:1;;33278:38;33344:69;33383:1;33387:2;33391:14;;;;;;33407:5;33344:30;:69::i;:::-;33339:174;;33449:40;;-1:-1:-1;;;33449:40:0;;;;;;;;;;;33339:174;33556:3;33540:12;:19;33247:314;;33642:12;33625:13;;:29;33621:43;;33656:8;;;33621:43;33199:641;;;33705:120;33736:40;;33761:14;;;;;-1:-1:-1;;;;;33736:40:0;;;33753:1;;33736:40;;33753:1;;33736:40;33820:3;33804:12;:19;33705:120;;33199:641;-1:-1:-1;33854:13:0;:28;33904:60;58288:163;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:423::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;738:3;941:1;934:4;925:6;920:3;916:16;912:27;905:38;1004:4;997:2;993:7;988:2;980:6;976:15;972:29;967:3;963:39;959:50;952:57;;;592:423;;;;:::o;1020:220::-;1169:2;1158:9;1151:21;1132:4;1189:45;1230:2;1219:9;1215:18;1207:6;1189:45;:::i;1245:180::-;1304:6;1357:2;1345:9;1336:7;1332:23;1328:32;1325:52;;;1373:1;1370;1363:12;1325:52;-1:-1:-1;1396:23:1;;1245:180;-1:-1:-1;1245:180:1:o;1638:173::-;1706:20;;-1:-1:-1;;;;;1755:31:1;;1745:42;;1735:70;;1801:1;1798;1791:12;1735:70;1638:173;;;:::o;1816:254::-;1884:6;1892;1945:2;1933:9;1924:7;1920:23;1916:32;1913:52;;;1961:1;1958;1951:12;1913:52;1984:29;2003:9;1984:29;:::i;:::-;1974:39;2060:2;2045:18;;;;2032:32;;-1:-1:-1;;;1816:254:1:o;2257:328::-;2334:6;2342;2350;2403:2;2391:9;2382:7;2378:23;2374:32;2371:52;;;2419:1;2416;2409:12;2371:52;2442:29;2461:9;2442:29;:::i;:::-;2432:39;;2490:38;2524:2;2513:9;2509:18;2490:38;:::i;:::-;2480:48;;2575:2;2564:9;2560:18;2547:32;2537:42;;2257:328;;;;;:::o;2590:248::-;2658:6;2666;2719:2;2707:9;2698:7;2694:23;2690:32;2687:52;;;2735:1;2732;2725:12;2687:52;-1:-1:-1;;2758:23:1;;;2828:2;2813:18;;;2800:32;;-1:-1:-1;2590:248:1:o;3362:127::-;3423:10;3418:3;3414:20;3411:1;3404:31;3454:4;3451:1;3444:15;3478:4;3475:1;3468:15;3494:632;3559:5;3589:18;3630:2;3622:6;3619:14;3616:40;;;3636:18;;:::i;:::-;3711:2;3705:9;3679:2;3765:15;;-1:-1:-1;;3761:24:1;;;3787:2;3757:33;3753:42;3741:55;;;3811:18;;;3831:22;;;3808:46;3805:72;;;3857:18;;:::i;:::-;3897:10;3893:2;3886:22;3926:6;3917:15;;3956:6;3948;3941:22;3996:3;3987:6;3982:3;3978:16;3975:25;3972:45;;;4013:1;4010;4003:12;3972:45;4063:6;4058:3;4051:4;4043:6;4039:17;4026:44;4118:1;4111:4;4102:6;4094;4090:19;4086:30;4079:41;;;;3494:632;;;;;:::o;4131:451::-;4200:6;4253:2;4241:9;4232:7;4228:23;4224:32;4221:52;;;4269:1;4266;4259:12;4221:52;4309:9;4296:23;4342:18;4334:6;4331:30;4328:50;;;4374:1;4371;4364:12;4328:50;4397:22;;4450:4;4442:13;;4438:27;-1:-1:-1;4428:55:1;;4479:1;4476;4469:12;4428:55;4502:74;4568:7;4563:2;4550:16;4545:2;4541;4537:11;4502:74;:::i;4587:186::-;4646:6;4699:2;4687:9;4678:7;4674:23;4670:32;4667:52;;;4715:1;4712;4705:12;4667:52;4738:29;4757:9;4738:29;:::i;4778:254::-;4846:6;4854;4907:2;4895:9;4886:7;4882:23;4878:32;4875:52;;;4923:1;4920;4913:12;4875:52;4959:9;4946:23;4936:33;;4988:38;5022:2;5011:9;5007:18;4988:38;:::i;:::-;4978:48;;4778:254;;;;;:::o;5037:118::-;5123:5;5116:13;5109:21;5102:5;5099:32;5089:60;;5145:1;5142;5135:12;5160:315;5225:6;5233;5286:2;5274:9;5265:7;5261:23;5257:32;5254:52;;;5302:1;5299;5292:12;5254:52;5325:29;5344:9;5325:29;:::i;:::-;5315:39;;5404:2;5393:9;5389:18;5376:32;5417:28;5439:5;5417:28;:::i;:::-;5464:5;5454:15;;;5160:315;;;;;:::o;5480:667::-;5575:6;5583;5591;5599;5652:3;5640:9;5631:7;5627:23;5623:33;5620:53;;;5669:1;5666;5659:12;5620:53;5692:29;5711:9;5692:29;:::i;:::-;5682:39;;5740:38;5774:2;5763:9;5759:18;5740:38;:::i;:::-;5730:48;;5825:2;5814:9;5810:18;5797:32;5787:42;;5880:2;5869:9;5865:18;5852:32;5907:18;5899:6;5896:30;5893:50;;;5939:1;5936;5929:12;5893:50;5962:22;;6015:4;6007:13;;6003:27;-1:-1:-1;5993:55:1;;6044:1;6041;6034:12;5993:55;6067:74;6133:7;6128:2;6115:16;6110:2;6106;6102:11;6067:74;:::i;:::-;6057:84;;;5480:667;;;;;;;:::o;6152:260::-;6220:6;6228;6281:2;6269:9;6260:7;6256:23;6252:32;6249:52;;;6297:1;6294;6287:12;6249:52;6320:29;6339:9;6320:29;:::i;:::-;6310:39;;6368:38;6402:2;6391:9;6387:18;6368:38;:::i;6417:380::-;6496:1;6492:12;;;;6539;;;6560:61;;6614:4;6606:6;6602:17;6592:27;;6560:61;6667:2;6659:6;6656:14;6636:18;6633:38;6630:161;;6713:10;6708:3;6704:20;6701:1;6694:31;6748:4;6745:1;6738:15;6776:4;6773:1;6766:15;6630:161;;6417:380;;;:::o;6802:127::-;6863:10;6858:3;6854:20;6851:1;6844:31;6894:4;6891:1;6884:15;6918:4;6915:1;6908:15;6934:168;7007:9;;;7038;;7055:15;;;7049:22;;7035:37;7025:71;;7076:18;;:::i;7107:217::-;7147:1;7173;7163:132;;7217:10;7212:3;7208:20;7205:1;7198:31;7252:4;7249:1;7242:15;7280:4;7277:1;7270:15;7163:132;-1:-1:-1;7309:9:1;;7107:217::o;7329:356::-;7531:2;7513:21;;;7550:18;;;7543:30;7609:34;7604:2;7589:18;;7582:62;7676:2;7661:18;;7329:356::o;7816:545::-;7918:2;7913:3;7910:11;7907:448;;;7954:1;7979:5;7975:2;7968:17;8024:4;8020:2;8010:19;8094:2;8082:10;8078:19;8075:1;8071:27;8065:4;8061:38;8130:4;8118:10;8115:20;8112:47;;;-1:-1:-1;8153:4:1;8112:47;8208:2;8203:3;8199:12;8196:1;8192:20;8186:4;8182:31;8172:41;;8263:82;8281:2;8274:5;8271:13;8263:82;;;8326:17;;;8307:1;8296:13;8263:82;;;8267:3;;;7816:545;;;:::o;8537:1352::-;8663:3;8657:10;8690:18;8682:6;8679:30;8676:56;;;8712:18;;:::i;:::-;8741:97;8831:6;8791:38;8823:4;8817:11;8791:38;:::i;:::-;8785:4;8741:97;:::i;:::-;8893:4;;8957:2;8946:14;;8974:1;8969:663;;;;9676:1;9693:6;9690:89;;;-1:-1:-1;9745:19:1;;;9739:26;9690:89;-1:-1:-1;;8494:1:1;8490:11;;;8486:24;8482:29;8472:40;8518:1;8514:11;;;8469:57;9792:81;;8939:944;;8969:663;7763:1;7756:14;;;7800:4;7787:18;;-1:-1:-1;;9005:20:1;;;9123:236;9137:7;9134:1;9131:14;9123:236;;;9226:19;;;9220:26;9205:42;;9318:27;;;;9286:1;9274:14;;;;9153:19;;9123:236;;;9127:3;9387:6;9378:7;9375:19;9372:201;;;9448:19;;;9442:26;-1:-1:-1;;9531:1:1;9527:14;;;9543:3;9523:24;9519:37;9515:42;9500:58;9485:74;;9372:201;-1:-1:-1;;;;;9619:1:1;9603:14;;;9599:22;9586:36;;-1:-1:-1;8537:1352:1:o;9894:125::-;9959:9;;;9980:10;;;9977:36;;;9993:18;;:::i;11156:245::-;11223:6;11276:2;11264:9;11255:7;11251:23;11247:32;11244:52;;;11292:1;11289;11282:12;11244:52;11324:9;11318:16;11343:28;11365:5;11343:28;:::i;11406:489::-;-1:-1:-1;;;;;11675:15:1;;;11657:34;;11727:15;;11722:2;11707:18;;11700:43;11774:2;11759:18;;11752:34;;;11822:3;11817:2;11802:18;;11795:31;;;11600:4;;11843:46;;11869:19;;11861:6;11843:46;:::i;:::-;11835:54;11406:489;-1:-1:-1;;;;;;11406:489:1:o;11900:249::-;11969:6;12022:2;12010:9;12001:7;11997:23;11993:32;11990:52;;;12038:1;12035;12028:12;11990:52;12070:9;12064:16;12089:30;12113:5;12089:30;:::i

Swarm Source

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