ETH Price: $3,392.47 (-1.18%)

Token

NFT4Play (4Play)
 

Overview

Max Total Supply

10,000 4Play

Holders

404

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 4Play
0x87Bb1f1723ac6c6B341a5Df432f5a852d49ad12D
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:
NFT4Play

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-26
*/

// File contracts/openzeppelin_contracts/contracts/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 contracts/openzeppelin_contracts/contracts/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 contracts/openzeppelin_contracts/contracts/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 contracts/openzeppelin_contracts/contracts/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/openzeppelin_contracts/contracts/utils/Address.sol



pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 contracts/openzeppelin_contracts/contracts/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 contracts/openzeppelin_contracts/contracts/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 contracts/openzeppelin_contracts/contracts/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 contracts/openzeppelin_contracts/contracts/token/ERC721/ERC721.sol



pragma solidity ^0.8.0;







/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}


// File contracts/openzeppelin_contracts/contracts/access/Ownable.sol



pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts/openzeppelin_contracts/contracts/utils/structs/EnumerableSet.sol



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

        assembly {
            result := store
        }

        return result;
    }
}


// File contracts/openzeppelin_contracts/contracts/utils/math/SafeMath.sol



pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File contracts/erc20delegate.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2 ;
contract Authorizable is Ownable {

    mapping(address => bool) public authorized;
    address[] public adminList;

    event AddAuthorized(address indexed _address);
    event RemoveAuthorized(address indexed _address, uint index);

    modifier onlyAuthorized() {
        require(authorized[msg.sender] || owner() == msg.sender,"Authorizable: caller is not the SuperAdmin or Admin");
        _;
    }

    function addAuthorized(address _toAdd) onlyOwner public {
        require(_toAdd != address(0),"Authorizable: _toAdd isn't vaild address");
        authorized[_toAdd] = true;
        adminList.push(_toAdd);
        emit AddAuthorized(_toAdd);
    }

    function removeAuthorized(address _toRemove,uint _index) onlyOwner public {
        require(_toRemove != address(0),"Authorizable: _toRemove isn't vaild address");
        require(adminList[_index] == _toRemove,"Authorizable: _index isn't valid index");
        authorized[_toRemove] = false;
        delete adminList[_index];
        emit RemoveAuthorized(_toRemove,_index);
    }

    function getAdminList() public view returns(address[] memory ){
        return adminList;
    }

}

contract NFT4Play is ERC721, Authorizable {

    using Strings for uint256;
    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.UintSet;

    uint256 public counter = 0;

    uint256 public totalSupply;

    string public faction;

    string private baseURI_;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping(address => EnumerableSet.UintSet) private _holderTokens;
    mapping(uint256 => string) public tokenFaction;

    constructor(string memory _baseTokenURI,string memory _factionName) public ERC721("NFT4Play", "4Play") {
        _setBaseURI(_baseTokenURI);
        faction = _factionName;
        totalSupply = 10000;
    }

    function tokenOfOwnerByIndex(address _owner, uint256 _index) public view returns (uint256){
        return _holderTokens[_owner].at(_index);
    }

    function _setBaseURI(string memory _baseTokenURI) internal {
        baseURI_ = _baseTokenURI;
    }

    function changeFaction(string memory _factionName) public onlyOwner(){
        faction = _factionName;
    }

    function changeTotalSupply(uint256 _totalSupply) public onlyOwner(){
        totalSupply = _totalSupply;
    }

    function mint(address _to) public onlyAuthorized() {
        require(_to != address(0),"NFT4Play: _to address not a valid");
        require(counter <= totalSupply,"NFT4Play: maximum tokens minted");
        counter += 1;
        tokenFaction[counter] = faction;
        _holderTokens[_to].add(counter);
        _safeMint(_to,counter);
    }

    function batchMint(address _to,uint256 _numberOfToken) external onlyAuthorized() {
        for (uint256 i = 0; i < _numberOfToken; i++) {
            mint(_to);
        }
    }

    function burn(uint _tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), _tokenId), "NFT4Play: burn caller is not owner nor approved");
        _holderTokens[msg.sender].remove(_tokenId);
        delete tokenFaction[_tokenId];
        _burn(_tokenId);
    }

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


    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "NFT4Play: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(),".json")) : "";
    }

    function transferFrom(address from,address to,uint256 tokenId) public override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "NFT4Play: transfer caller is not owner nor approved");
        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);
        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from,address to,uint256 tokenId) public override {
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(address from,address to,uint256 tokenId,bytes memory _data) public override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "NFT4Play: transfer caller is not owner nor approved");
        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);
        _safeTransfer(from, to, tokenId, _data);
    }

    function getTokens(address _address) public view returns(uint256[] memory){
        return _holderTokens[_address].values();
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"string","name":"_factionName","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"AddAuthorized","type":"event"},{"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":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"RemoveAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_toAdd","type":"address"}],"name":"addAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"adminList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numberOfToken","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_factionName","type":"string"}],"name":"changeFaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"changeTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"faction","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAdminList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":"_address","type":"address"}],"name":"getTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_toRemove","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"removeAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"","type":"uint256"}],"name":"tokenFaction","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

608060405260006009553480156200001657600080fd5b5060405162002a1238038062002a128339810160408190526200003991620002a8565b60408051808201825260088152674e465434506c617960c01b60208083019182528351808501909452600584526434506c617960d81b908401528151919291620000869160009162000157565b5080516200009c90600190602084019062000157565b505050620000b9620000b3620000e860201b60201c565b620000ec565b620000c4826200013e565b8051620000d990600b90602084019062000157565b5050612710600a555062000362565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516200015390600c90602084019062000157565b5050565b82805462000165906200030f565b90600052602060002090601f016020900481019282620001895760008555620001d4565b82601f10620001a457805160ff1916838001178555620001d4565b82800160010185558215620001d4579182015b82811115620001d4578251825591602001919060010190620001b7565b50620001e2929150620001e6565b5090565b5b80821115620001e25760008155600101620001e7565b600082601f8301126200020e578081fd5b81516001600160401b03808211156200022b576200022b6200034c565b6040516020601f8401601f19168201810183811183821017156200025357620002536200034c565b60405283825285840181018710156200026a578485fd5b8492505b838310156200028d57858301810151828401820152918201916200026e565b838311156200029e57848185840101525b5095945050505050565b60008060408385031215620002bb578182fd5b82516001600160401b0380821115620002d2578384fd5b620002e086838701620001fd565b93506020850151915080821115620002f6578283fd5b506200030585828601620001fd565b9150509250929050565b6002810460018216806200032457607f821691505b602082108114156200034657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6126a080620003726000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80636a6278421161010f578063a6ab4529116100a2578063cf1c316a11610071578063cf1c316a14610408578063d9f774fc1461041b578063e985e9c514610430578063f2fde38b14610443576101f0565b8063a6ab4529146103bc578063b88d4fde146103cf578063b9181611146103e2578063c87b56dd146103f5576101f0565b80638da5cb5b116100de5780638da5cb5b1461038657806395d89b411461038e578063a1e622f214610396578063a22cb465146103a9576101f0565b80636a6278421461034557806370a0823114610358578063715018a61461036b57806386e34a3b14610373576101f0565b80632f745c5911610187578063450efe2111610156578063450efe21146102f757806352e973261461031757806361bc221a1461032a5780636352211e14610332576101f0565b80632f745c59146102ab57806342842e0e146102be57806342966c68146102d157806343508b05146102e4576101f0565b806311117fc8116101c357806311117fc81461026857806316217e5b1461027b57806318160ddd1461028357806323b872dd14610298576101f0565b806301ffc9a7146101f557806306fdde031461021e578063081812fc14610233578063095ea7b314610253575b600080fd5b610208610203366004611ce6565b610456565b6040516102159190611ebd565b60405180910390f35b61022661049e565b6040516102159190611ec8565b610246610241366004611d64565b610530565b6040516102159190611de7565b610266610261366004611cbd565b61057c565b005b610246610276366004611d64565b610614565b61022661063e565b61028b6106cc565b6040516102159190612530565b6102666102a6366004611bcf565b6106d2565b61028b6102b9366004611cbd565b610750565b6102666102cc366004611bcf565b61077b565b6102666102df366004611d64565b610796565b6102666102f2366004611cbd565b6107fa565b61030a610305366004611b83565b610869565b6040516102159190611e85565b610266610325366004611d64565b61088d565b61028b6108d1565b610246610340366004611d64565b6108d7565b610266610353366004611b83565b61090c565b61028b610366366004611b83565b610a12565b610266610a56565b610226610381366004611d64565b610aa1565b610246610aba565b610226610ac9565b6102666103a4366004611cbd565b610ad8565b6102666103b7366004611c83565b610c3c565b6102666103ca366004611d1e565b610d0a565b6102666103dd366004611c0a565b610d60565b6102086103f0366004611b83565b610de5565b610226610403366004611d64565b610dfa565b610266610416366004611b83565b610e7d565b610423610f6e565b6040516102159190611e38565b61020861043e366004611b9d565b610fcf565b610266610451366004611b83565b610ffd565b60006001600160e01b031982166380ac58cd60e01b148061048757506001600160e01b03198216635b5e139f60e01b145b8061049657506104968261106b565b90505b919050565b6060600080546104ad906125a8565b80601f01602080910402602001604051908101604052809291908181526020018280546104d9906125a8565b80156105265780601f106104fb57610100808354040283529160200191610526565b820191906000526020600020905b81548152906001019060200180831161050957829003601f168201915b5050505050905090565b600061053b82611084565b6105605760405162461bcd60e51b8152600401610557906122fa565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610587826108d7565b9050806001600160a01b0316836001600160a01b031614156105bb5760405162461bcd60e51b815260040161055790612417565b806001600160a01b03166105cd6110a1565b6001600160a01b031614806105e957506105e98161043e6110a1565b6106055760405162461bcd60e51b81526004016105579061218f565b61060f83836110a5565b505050565b6008818154811061062457600080fd5b6000918252602090912001546001600160a01b0316905081565b600b805461064b906125a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610677906125a8565b80156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b505050505081565b600a5481565b6106e36106dd6110a1565b82611113565b6106ff5760405162461bcd60e51b81526004016105579061237b565b6001600160a01b0383166000908152600d602052604090206107219082611198565b506001600160a01b0382166000908152600d6020526040902061074490826111a4565b5061060f8383836111b0565b6001600160a01b0382166000908152600d6020526040812061077290836112dd565b90505b92915050565b61060f83838360405180602001604052806000815250610d60565b6107a16106dd6110a1565b6107bd5760405162461bcd60e51b8152600401610557906124a0565b336000908152600d602052604090206107d69082611198565b506000818152600e602052604081206107ee916119ac565b6107f7816112e9565b50565b3360009081526007602052604090205460ff168061082757503361081c610aba565b6001600160a01b0316145b6108435760405162461bcd60e51b815260040161055790611f76565b60005b8181101561060f576108578361090c565b80610861816125e3565b915050610846565b6001600160a01b0381166000908152600d6020526040902060609061049690611390565b6108956110a1565b6001600160a01b03166108a6610aba565b6001600160a01b0316146108cc5760405162461bcd60e51b815260040161055790612346565b600a55565b60095481565b6000818152600260205260408120546001600160a01b0316806104965760405162461bcd60e51b81526004016105579061227c565b3360009081526007602052604090205460ff168061093957503361092e610aba565b6001600160a01b0316145b6109555760405162461bcd60e51b815260040161055790611f76565b6001600160a01b03811661097b5760405162461bcd60e51b8152600401610557906124ef565b600a54600954111561099f5760405162461bcd60e51b815260040161055790612046565b6001600960008282546109b29190612539565b90915550506009546000908152600e60205260409020600b80546109d5906125a8565b6109e09291906119e8565b506009546001600160a01b0382166000908152600d60205260409020610a05916111a4565b506107f78160095461139d565b60006001600160a01b038216610a3a5760405162461bcd60e51b815260040161055790612232565b506001600160a01b031660009081526003602052604090205490565b610a5e6110a1565b6001600160a01b0316610a6f610aba565b6001600160a01b031614610a955760405162461bcd60e51b815260040161055790612346565b610a9f60006113b7565b565b600e602052600090815260409020805461064b906125a8565b6006546001600160a01b031690565b6060600180546104ad906125a8565b610ae06110a1565b6001600160a01b0316610af1610aba565b6001600160a01b031614610b175760405162461bcd60e51b815260040161055790612346565b6001600160a01b038216610b3d5760405162461bcd60e51b8152600401610557906120f8565b816001600160a01b031660088281548110610b6857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610b9a5760405162461bcd60e51b8152600401610557906121ec565b6001600160a01b0382166000908152600760205260409020805460ff191690556008805482908110610bdc57634e487b7160e01b600052603260045260246000fd5b600091825260209091200180546001600160a01b03191690556040516001600160a01b038316907f4351fca1a489ee987699b3c49344da8a6c88963c20d8e6e1c0a9b9650b54115990610c30908490612530565b60405180910390a25050565b610c446110a1565b6001600160a01b0316826001600160a01b03161415610c755760405162461bcd60e51b8152600401610557906120c1565b8060056000610c826110a1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610cc66110a1565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610cfe9190611ebd565b60405180910390a35050565b610d126110a1565b6001600160a01b0316610d23610aba565b6001600160a01b031614610d495760405162461bcd60e51b815260040161055790612346565b8051610d5c90600b906020840190611a73565b5050565b610d71610d6b6110a1565b83611113565b610d8d5760405162461bcd60e51b81526004016105579061237b565b6001600160a01b0384166000908152600d60205260409020610daf9083611198565b506001600160a01b0383166000908152600d60205260409020610dd290836111a4565b50610ddf84848484611409565b50505050565b60076020526000908152604090205460ff1681565b6060610e0582611084565b610e215760405162461bcd60e51b815260040161055790611edb565b6000610e2b61143c565b90506000815111610e4b5760405180602001604052806000815250610e76565b80610e558461144b565b604051602001610e66929190611da8565b6040516020818303038152906040525b9392505050565b610e856110a1565b6001600160a01b0316610e96610aba565b6001600160a01b031614610ebc5760405162461bcd60e51b815260040161055790612346565b6001600160a01b038116610ee25760405162461bcd60e51b815260040161055790612458565b6001600160a01b038116600081815260076020526040808220805460ff1916600190811790915560088054918201815583527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b03191684179055517fa6f04ef390ee5829dc9be99664fd8d9aeea059278dbda4f988499726455801ce9190a250565b6060600880548060200260200160405190810160405280929190818152602001828054801561052657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610fa8575050505050905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6110056110a1565b6001600160a01b0316611016610aba565b6001600160a01b03161461103c5760405162461bcd60e51b815260040161055790612346565b6001600160a01b0381166110625760405162461bcd60e51b815260040161055790611fc9565b6107f7816113b7565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110da826108d7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061111e82611084565b61113a5760405162461bcd60e51b815260040161055790612143565b6000611145836108d7565b9050806001600160a01b0316846001600160a01b031614806111805750836001600160a01b031661117584610530565b6001600160a01b0316145b8061119057506111908185610fcf565b949350505050565b60006107728383611566565b60006107728383611683565b826001600160a01b03166111c3826108d7565b6001600160a01b0316146111e95760405162461bcd60e51b8152600401610557906123ce565b6001600160a01b03821661120f5760405162461bcd60e51b81526004016105579061207d565b61121a83838361060f565b6112256000826110a5565b6001600160a01b038316600090815260036020526040812080546001929061124e908490612565565b90915550506001600160a01b038216600090815260036020526040812080546001929061127c908490612539565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061077283836116cd565b60006112f4826108d7565b90506113028160008461060f565b61130d6000836110a5565b6001600160a01b0381166000908152600360205260408120805460019290611336908490612565565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60606000610e7683611705565b610d5c828260405180602001604052806000815250611761565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114148484846111b0565b61142084848484611794565b610ddf5760405162461bcd60e51b815260040161055790611f24565b6060600c80546104ad906125a8565b60608161147057506040805180820190915260018152600360fc1b6020820152610499565b8160005b811561149a5780611484816125e3565b91506114939050600a83612551565b9150611474565b60008167ffffffffffffffff8111156114c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114ed576020820181803683370190505b5090505b841561119057611502600183612565565b915061150f600a866125fe565b61151a906030612539565b60f81b81838151811061153d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061155f600a86612551565b94506114f1565b6000818152600183016020526040812054801561167957600061158a600183612565565b855490915060009061159e90600190612565565b905081811461161f5760008660000182815481106115cc57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106115fd57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061163e57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610775565b6000915050610775565b600061168f83836118af565b6116c557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610775565b506000610775565b60008260000182815481106116f257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60608160000180548060200260200160405190810160405280929190818152602001828054801561175557602002820191906000526020600020905b815481526020019060010190808311611741575b50505050509050919050565b61176b83836118c7565b6117786000848484611794565b61060f5760405162461bcd60e51b815260040161055790611f24565b60006117a8846001600160a01b03166119a6565b156118a457836001600160a01b031663150b7a026117c46110a1565b8786866040518563ffffffff1660e01b81526004016117e69493929190611dfb565b602060405180830381600087803b15801561180057600080fd5b505af1925050508015611830575060408051601f3d908101601f1916820190925261182d91810190611d02565b60015b61188a573d80801561185e576040519150601f19603f3d011682016040523d82523d6000602084013e611863565b606091505b5080516118825760405162461bcd60e51b815260040161055790611f24565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611190565b506001949350505050565b60009081526001919091016020526040902054151590565b6001600160a01b0382166118ed5760405162461bcd60e51b8152600401610557906122c5565b6118f681611084565b156119135760405162461bcd60e51b81526004016105579061200f565b61191f6000838361060f565b6001600160a01b0382166000908152600360205260408120805460019290611948908490612539565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b5080546119b8906125a8565b6000825580601f106119ca57506107f7565b601f0160209004906000526020600020908101906107f79190611ae7565b8280546119f4906125a8565b90600052602060002090601f016020900481019282611a165760008555611a63565b82601f10611a275780548555611a63565b82800160010185558215611a6357600052602060002091601f016020900482015b82811115611a63578254825591600101919060010190611a48565b50611a6f929150611ae7565b5090565b828054611a7f906125a8565b90600052602060002090601f016020900481019282611aa15760008555611a63565b82601f10611aba57805160ff1916838001178555611a63565b82800160010185558215611a63579182015b82811115611a63578251825591602001919060010190611acc565b5b80821115611a6f5760008155600101611ae8565b600067ffffffffffffffff80841115611b1757611b1761263e565b604051601f8501601f191681016020018281118282101715611b3b57611b3b61263e565b604052848152915081838501861015611b5357600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461049957600080fd5b600060208284031215611b94578081fd5b61077282611b6c565b60008060408385031215611baf578081fd5b611bb883611b6c565b9150611bc660208401611b6c565b90509250929050565b600080600060608486031215611be3578081fd5b611bec84611b6c565b9250611bfa60208501611b6c565b9150604084013590509250925092565b60008060008060808587031215611c1f578081fd5b611c2885611b6c565b9350611c3660208601611b6c565b925060408501359150606085013567ffffffffffffffff811115611c58578182fd5b8501601f81018713611c68578182fd5b611c7787823560208401611afc565b91505092959194509250565b60008060408385031215611c95578182fd5b611c9e83611b6c565b915060208301358015158114611cb2578182fd5b809150509250929050565b60008060408385031215611ccf578182fd5b611cd883611b6c565b946020939093013593505050565b600060208284031215611cf7578081fd5b8135610e7681612654565b600060208284031215611d13578081fd5b8151610e7681612654565b600060208284031215611d2f578081fd5b813567ffffffffffffffff811115611d45578182fd5b8201601f81018413611d55578182fd5b61119084823560208401611afc565b600060208284031215611d75578081fd5b5035919050565b60008151808452611d9481602086016020860161257c565b601f01601f19169290920160200192915050565b60008351611dba81846020880161257c565b835190830190611dce81836020880161257c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e2e90830184611d7c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e795783516001600160a01b031683529284019291840191600101611e54565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e7957835183529284019291840191600101611ea1565b901515815260200190565b6000602082526107726020830184611d7c565b60208082526029908201527f4e465434506c61793a2055524920717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526033908201527f417574686f72697a61626c653a2063616c6c6572206973206e6f74207468652060408201527229bab832b920b236b4b71037b91020b236b4b760691b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601f908201527f4e465434506c61793a206d6178696d756d20746f6b656e73206d696e74656400604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602b908201527f417574686f72697a61626c653a205f746f52656d6f76652069736e277420766160408201526a696c64206164647265737360a81b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526026908201527f417574686f72697a61626c653a205f696e6465782069736e27742076616c6964604082015265040d2dcc8caf60d31b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f4e465434506c61793a207472616e736665722063616c6c6572206973206e6f74604082015272081bdddb995c881b9bdc88185c1c1c9bdd9959606a1b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526028908201527f417574686f72697a61626c653a205f746f4164642069736e2774207661696c64604082015267206164647265737360c01b606082015260800190565b6020808252602f908201527f4e465434506c61793a206275726e2063616c6c6572206973206e6f74206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526021908201527f4e465434506c61793a205f746f2061646472657373206e6f7420612076616c696040820152601960fa1b606082015260800190565b90815260200190565b6000821982111561254c5761254c612612565b500190565b60008261256057612560612628565b500490565b60008282101561257757612577612612565b500390565b60005b8381101561259757818101518382015260200161257f565b83811115610ddf5750506000910152565b6002810460018216806125bc57607f821691505b602082108114156125dd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125f7576125f7612612565b5060010190565b60008261260d5761260d612628565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107f757600080fdfea2646970667358221220c24db853c60e9b48f3a8daec82f83a0fecd71b2f7e49d0e6b61fc2af1e5f947864736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f6e667434706c61792e706967656f6e666c69676874636c75622e636f6d2f7572692f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035046430000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80636a6278421161010f578063a6ab4529116100a2578063cf1c316a11610071578063cf1c316a14610408578063d9f774fc1461041b578063e985e9c514610430578063f2fde38b14610443576101f0565b8063a6ab4529146103bc578063b88d4fde146103cf578063b9181611146103e2578063c87b56dd146103f5576101f0565b80638da5cb5b116100de5780638da5cb5b1461038657806395d89b411461038e578063a1e622f214610396578063a22cb465146103a9576101f0565b80636a6278421461034557806370a0823114610358578063715018a61461036b57806386e34a3b14610373576101f0565b80632f745c5911610187578063450efe2111610156578063450efe21146102f757806352e973261461031757806361bc221a1461032a5780636352211e14610332576101f0565b80632f745c59146102ab57806342842e0e146102be57806342966c68146102d157806343508b05146102e4576101f0565b806311117fc8116101c357806311117fc81461026857806316217e5b1461027b57806318160ddd1461028357806323b872dd14610298576101f0565b806301ffc9a7146101f557806306fdde031461021e578063081812fc14610233578063095ea7b314610253575b600080fd5b610208610203366004611ce6565b610456565b6040516102159190611ebd565b60405180910390f35b61022661049e565b6040516102159190611ec8565b610246610241366004611d64565b610530565b6040516102159190611de7565b610266610261366004611cbd565b61057c565b005b610246610276366004611d64565b610614565b61022661063e565b61028b6106cc565b6040516102159190612530565b6102666102a6366004611bcf565b6106d2565b61028b6102b9366004611cbd565b610750565b6102666102cc366004611bcf565b61077b565b6102666102df366004611d64565b610796565b6102666102f2366004611cbd565b6107fa565b61030a610305366004611b83565b610869565b6040516102159190611e85565b610266610325366004611d64565b61088d565b61028b6108d1565b610246610340366004611d64565b6108d7565b610266610353366004611b83565b61090c565b61028b610366366004611b83565b610a12565b610266610a56565b610226610381366004611d64565b610aa1565b610246610aba565b610226610ac9565b6102666103a4366004611cbd565b610ad8565b6102666103b7366004611c83565b610c3c565b6102666103ca366004611d1e565b610d0a565b6102666103dd366004611c0a565b610d60565b6102086103f0366004611b83565b610de5565b610226610403366004611d64565b610dfa565b610266610416366004611b83565b610e7d565b610423610f6e565b6040516102159190611e38565b61020861043e366004611b9d565b610fcf565b610266610451366004611b83565b610ffd565b60006001600160e01b031982166380ac58cd60e01b148061048757506001600160e01b03198216635b5e139f60e01b145b8061049657506104968261106b565b90505b919050565b6060600080546104ad906125a8565b80601f01602080910402602001604051908101604052809291908181526020018280546104d9906125a8565b80156105265780601f106104fb57610100808354040283529160200191610526565b820191906000526020600020905b81548152906001019060200180831161050957829003601f168201915b5050505050905090565b600061053b82611084565b6105605760405162461bcd60e51b8152600401610557906122fa565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610587826108d7565b9050806001600160a01b0316836001600160a01b031614156105bb5760405162461bcd60e51b815260040161055790612417565b806001600160a01b03166105cd6110a1565b6001600160a01b031614806105e957506105e98161043e6110a1565b6106055760405162461bcd60e51b81526004016105579061218f565b61060f83836110a5565b505050565b6008818154811061062457600080fd5b6000918252602090912001546001600160a01b0316905081565b600b805461064b906125a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610677906125a8565b80156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b505050505081565b600a5481565b6106e36106dd6110a1565b82611113565b6106ff5760405162461bcd60e51b81526004016105579061237b565b6001600160a01b0383166000908152600d602052604090206107219082611198565b506001600160a01b0382166000908152600d6020526040902061074490826111a4565b5061060f8383836111b0565b6001600160a01b0382166000908152600d6020526040812061077290836112dd565b90505b92915050565b61060f83838360405180602001604052806000815250610d60565b6107a16106dd6110a1565b6107bd5760405162461bcd60e51b8152600401610557906124a0565b336000908152600d602052604090206107d69082611198565b506000818152600e602052604081206107ee916119ac565b6107f7816112e9565b50565b3360009081526007602052604090205460ff168061082757503361081c610aba565b6001600160a01b0316145b6108435760405162461bcd60e51b815260040161055790611f76565b60005b8181101561060f576108578361090c565b80610861816125e3565b915050610846565b6001600160a01b0381166000908152600d6020526040902060609061049690611390565b6108956110a1565b6001600160a01b03166108a6610aba565b6001600160a01b0316146108cc5760405162461bcd60e51b815260040161055790612346565b600a55565b60095481565b6000818152600260205260408120546001600160a01b0316806104965760405162461bcd60e51b81526004016105579061227c565b3360009081526007602052604090205460ff168061093957503361092e610aba565b6001600160a01b0316145b6109555760405162461bcd60e51b815260040161055790611f76565b6001600160a01b03811661097b5760405162461bcd60e51b8152600401610557906124ef565b600a54600954111561099f5760405162461bcd60e51b815260040161055790612046565b6001600960008282546109b29190612539565b90915550506009546000908152600e60205260409020600b80546109d5906125a8565b6109e09291906119e8565b506009546001600160a01b0382166000908152600d60205260409020610a05916111a4565b506107f78160095461139d565b60006001600160a01b038216610a3a5760405162461bcd60e51b815260040161055790612232565b506001600160a01b031660009081526003602052604090205490565b610a5e6110a1565b6001600160a01b0316610a6f610aba565b6001600160a01b031614610a955760405162461bcd60e51b815260040161055790612346565b610a9f60006113b7565b565b600e602052600090815260409020805461064b906125a8565b6006546001600160a01b031690565b6060600180546104ad906125a8565b610ae06110a1565b6001600160a01b0316610af1610aba565b6001600160a01b031614610b175760405162461bcd60e51b815260040161055790612346565b6001600160a01b038216610b3d5760405162461bcd60e51b8152600401610557906120f8565b816001600160a01b031660088281548110610b6857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610b9a5760405162461bcd60e51b8152600401610557906121ec565b6001600160a01b0382166000908152600760205260409020805460ff191690556008805482908110610bdc57634e487b7160e01b600052603260045260246000fd5b600091825260209091200180546001600160a01b03191690556040516001600160a01b038316907f4351fca1a489ee987699b3c49344da8a6c88963c20d8e6e1c0a9b9650b54115990610c30908490612530565b60405180910390a25050565b610c446110a1565b6001600160a01b0316826001600160a01b03161415610c755760405162461bcd60e51b8152600401610557906120c1565b8060056000610c826110a1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610cc66110a1565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610cfe9190611ebd565b60405180910390a35050565b610d126110a1565b6001600160a01b0316610d23610aba565b6001600160a01b031614610d495760405162461bcd60e51b815260040161055790612346565b8051610d5c90600b906020840190611a73565b5050565b610d71610d6b6110a1565b83611113565b610d8d5760405162461bcd60e51b81526004016105579061237b565b6001600160a01b0384166000908152600d60205260409020610daf9083611198565b506001600160a01b0383166000908152600d60205260409020610dd290836111a4565b50610ddf84848484611409565b50505050565b60076020526000908152604090205460ff1681565b6060610e0582611084565b610e215760405162461bcd60e51b815260040161055790611edb565b6000610e2b61143c565b90506000815111610e4b5760405180602001604052806000815250610e76565b80610e558461144b565b604051602001610e66929190611da8565b6040516020818303038152906040525b9392505050565b610e856110a1565b6001600160a01b0316610e96610aba565b6001600160a01b031614610ebc5760405162461bcd60e51b815260040161055790612346565b6001600160a01b038116610ee25760405162461bcd60e51b815260040161055790612458565b6001600160a01b038116600081815260076020526040808220805460ff1916600190811790915560088054918201815583527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b03191684179055517fa6f04ef390ee5829dc9be99664fd8d9aeea059278dbda4f988499726455801ce9190a250565b6060600880548060200260200160405190810160405280929190818152602001828054801561052657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610fa8575050505050905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6110056110a1565b6001600160a01b0316611016610aba565b6001600160a01b03161461103c5760405162461bcd60e51b815260040161055790612346565b6001600160a01b0381166110625760405162461bcd60e51b815260040161055790611fc9565b6107f7816113b7565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110da826108d7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061111e82611084565b61113a5760405162461bcd60e51b815260040161055790612143565b6000611145836108d7565b9050806001600160a01b0316846001600160a01b031614806111805750836001600160a01b031661117584610530565b6001600160a01b0316145b8061119057506111908185610fcf565b949350505050565b60006107728383611566565b60006107728383611683565b826001600160a01b03166111c3826108d7565b6001600160a01b0316146111e95760405162461bcd60e51b8152600401610557906123ce565b6001600160a01b03821661120f5760405162461bcd60e51b81526004016105579061207d565b61121a83838361060f565b6112256000826110a5565b6001600160a01b038316600090815260036020526040812080546001929061124e908490612565565b90915550506001600160a01b038216600090815260036020526040812080546001929061127c908490612539565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061077283836116cd565b60006112f4826108d7565b90506113028160008461060f565b61130d6000836110a5565b6001600160a01b0381166000908152600360205260408120805460019290611336908490612565565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60606000610e7683611705565b610d5c828260405180602001604052806000815250611761565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114148484846111b0565b61142084848484611794565b610ddf5760405162461bcd60e51b815260040161055790611f24565b6060600c80546104ad906125a8565b60608161147057506040805180820190915260018152600360fc1b6020820152610499565b8160005b811561149a5780611484816125e3565b91506114939050600a83612551565b9150611474565b60008167ffffffffffffffff8111156114c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114ed576020820181803683370190505b5090505b841561119057611502600183612565565b915061150f600a866125fe565b61151a906030612539565b60f81b81838151811061153d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061155f600a86612551565b94506114f1565b6000818152600183016020526040812054801561167957600061158a600183612565565b855490915060009061159e90600190612565565b905081811461161f5760008660000182815481106115cc57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106115fd57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061163e57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610775565b6000915050610775565b600061168f83836118af565b6116c557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610775565b506000610775565b60008260000182815481106116f257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60608160000180548060200260200160405190810160405280929190818152602001828054801561175557602002820191906000526020600020905b815481526020019060010190808311611741575b50505050509050919050565b61176b83836118c7565b6117786000848484611794565b61060f5760405162461bcd60e51b815260040161055790611f24565b60006117a8846001600160a01b03166119a6565b156118a457836001600160a01b031663150b7a026117c46110a1565b8786866040518563ffffffff1660e01b81526004016117e69493929190611dfb565b602060405180830381600087803b15801561180057600080fd5b505af1925050508015611830575060408051601f3d908101601f1916820190925261182d91810190611d02565b60015b61188a573d80801561185e576040519150601f19603f3d011682016040523d82523d6000602084013e611863565b606091505b5080516118825760405162461bcd60e51b815260040161055790611f24565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611190565b506001949350505050565b60009081526001919091016020526040902054151590565b6001600160a01b0382166118ed5760405162461bcd60e51b8152600401610557906122c5565b6118f681611084565b156119135760405162461bcd60e51b81526004016105579061200f565b61191f6000838361060f565b6001600160a01b0382166000908152600360205260408120805460019290611948908490612539565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b5080546119b8906125a8565b6000825580601f106119ca57506107f7565b601f0160209004906000526020600020908101906107f79190611ae7565b8280546119f4906125a8565b90600052602060002090601f016020900481019282611a165760008555611a63565b82601f10611a275780548555611a63565b82800160010185558215611a6357600052602060002091601f016020900482015b82811115611a63578254825591600101919060010190611a48565b50611a6f929150611ae7565b5090565b828054611a7f906125a8565b90600052602060002090601f016020900481019282611aa15760008555611a63565b82601f10611aba57805160ff1916838001178555611a63565b82800160010185558215611a63579182015b82811115611a63578251825591602001919060010190611acc565b5b80821115611a6f5760008155600101611ae8565b600067ffffffffffffffff80841115611b1757611b1761263e565b604051601f8501601f191681016020018281118282101715611b3b57611b3b61263e565b604052848152915081838501861015611b5357600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461049957600080fd5b600060208284031215611b94578081fd5b61077282611b6c565b60008060408385031215611baf578081fd5b611bb883611b6c565b9150611bc660208401611b6c565b90509250929050565b600080600060608486031215611be3578081fd5b611bec84611b6c565b9250611bfa60208501611b6c565b9150604084013590509250925092565b60008060008060808587031215611c1f578081fd5b611c2885611b6c565b9350611c3660208601611b6c565b925060408501359150606085013567ffffffffffffffff811115611c58578182fd5b8501601f81018713611c68578182fd5b611c7787823560208401611afc565b91505092959194509250565b60008060408385031215611c95578182fd5b611c9e83611b6c565b915060208301358015158114611cb2578182fd5b809150509250929050565b60008060408385031215611ccf578182fd5b611cd883611b6c565b946020939093013593505050565b600060208284031215611cf7578081fd5b8135610e7681612654565b600060208284031215611d13578081fd5b8151610e7681612654565b600060208284031215611d2f578081fd5b813567ffffffffffffffff811115611d45578182fd5b8201601f81018413611d55578182fd5b61119084823560208401611afc565b600060208284031215611d75578081fd5b5035919050565b60008151808452611d9481602086016020860161257c565b601f01601f19169290920160200192915050565b60008351611dba81846020880161257c565b835190830190611dce81836020880161257c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e2e90830184611d7c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e795783516001600160a01b031683529284019291840191600101611e54565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e7957835183529284019291840191600101611ea1565b901515815260200190565b6000602082526107726020830184611d7c565b60208082526029908201527f4e465434506c61793a2055524920717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526033908201527f417574686f72697a61626c653a2063616c6c6572206973206e6f74207468652060408201527229bab832b920b236b4b71037b91020b236b4b760691b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601f908201527f4e465434506c61793a206d6178696d756d20746f6b656e73206d696e74656400604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602b908201527f417574686f72697a61626c653a205f746f52656d6f76652069736e277420766160408201526a696c64206164647265737360a81b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526026908201527f417574686f72697a61626c653a205f696e6465782069736e27742076616c6964604082015265040d2dcc8caf60d31b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f4e465434506c61793a207472616e736665722063616c6c6572206973206e6f74604082015272081bdddb995c881b9bdc88185c1c1c9bdd9959606a1b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526028908201527f417574686f72697a61626c653a205f746f4164642069736e2774207661696c64604082015267206164647265737360c01b606082015260800190565b6020808252602f908201527f4e465434506c61793a206275726e2063616c6c6572206973206e6f74206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526021908201527f4e465434506c61793a205f746f2061646472657373206e6f7420612076616c696040820152601960fa1b606082015260800190565b90815260200190565b6000821982111561254c5761254c612612565b500190565b60008261256057612560612628565b500490565b60008282101561257757612577612612565b500390565b60005b8381101561259757818101518382015260200161257f565b83811115610ddf5750506000910152565b6002810460018216806125bc57607f821691505b602082108114156125dd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125f7576125f7612612565b5060010190565b60008261260d5761260d612628565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107f757600080fdfea2646970667358221220c24db853c60e9b48f3a8daec82f83a0fecd71b2f7e49d0e6b61fc2af1e5f947864736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f6e667434706c61792e706967656f6e666c69676874636c75622e636f6d2f7572692f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035046430000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): https://nft4play.pigeonflightclub.com/uri/metadata/
Arg [1] : _factionName (string): PFC

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [3] : 68747470733a2f2f6e667434706c61792e706967656f6e666c69676874636c75
Arg [4] : 622e636f6d2f7572692f6d657461646174612f00000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5046430000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

56065:3497:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20821:305;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21766:100;;;:::i;:::-;;;;;;;:::i;23325:221::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;22848:411::-;;;;;;:::i;:::-;;:::i;:::-;;54972:26;;;;;;:::i;:::-;;:::i;56305:21::-;;;:::i;56270:26::-;;;:::i;:::-;;;;;;;:::i;58568:329::-;;;;;;:::i;:::-;;:::i;56789:148::-;;;;;;:::i;:::-;;:::i;58905:141::-;;;;;;:::i;:::-;;:::i;57837:276::-;;;;;;:::i;:::-;;:::i;57649:180::-;;;;;;:::i;:::-;;:::i;59425:132::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;57173:112::-;;;;;;:::i;:::-;;:::i;56235:26::-;;;:::i;21460:239::-;;;;;;:::i;:::-;;:::i;57293:348::-;;;;;;:::i;:::-;;:::i;21190:208::-;;;;;;:::i;:::-;;:::i;34611:94::-;;;:::i;56515:46::-;;;;;;:::i;:::-;;:::i;33960:87::-;;;:::i;21935:104::-;;;:::i;55564:387::-;;;;;;:::i;:::-;;:::i;23618:295::-;;;;;;:::i;:::-;;:::i;57055:110::-;;;;;;:::i;:::-;;:::i;59054:363::-;;;;;;:::i;:::-;;:::i;54923:42::-;;;;;;:::i;:::-;;:::i;58232:328::-;;;;;;:::i;:::-;;:::i;55303:253::-;;;;;;:::i;:::-;;:::i;55959:97::-;;;:::i;:::-;;;;;;;:::i;23984:164::-;;;;;;:::i;:::-;;:::i;34860:192::-;;;;;;:::i;:::-;;:::i;20821:305::-;20923:4;-1:-1:-1;;;;;;20960:40:0;;-1:-1:-1;;;20960:40:0;;:105;;-1:-1:-1;;;;;;;21017:48:0;;-1:-1:-1;;;21017:48:0;20960:105;:158;;;;21082:36;21106:11;21082:23;:36::i;:::-;20940:178;;20821:305;;;;:::o;21766:100::-;21820:13;21853:5;21846:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21766:100;:::o;23325:221::-;23401:7;23429:16;23437:7;23429;:16::i;:::-;23421:73;;;;-1:-1:-1;;;23421:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;23514:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23514:24:0;;23325:221::o;22848:411::-;22929:13;22945:23;22960:7;22945:14;:23::i;:::-;22929:39;;22993:5;-1:-1:-1;;;;;22987:11:0;:2;-1:-1:-1;;;;;22987:11:0;;;22979:57;;;;-1:-1:-1;;;22979:57:0;;;;;;;:::i;:::-;23087:5;-1:-1:-1;;;;;23071:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;23071:21:0;;:62;;;;23096:37;23113:5;23120:12;:10;:12::i;23096:37::-;23049:168;;;;-1:-1:-1;;;23049:168:0;;;;;;;:::i;:::-;23230:21;23239:2;23243:7;23230:8;:21::i;:::-;22848:411;;;:::o;54972:26::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54972:26:0;;-1:-1:-1;54972:26:0;:::o;56305:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56270:26::-;;;;:::o;58568:329::-;58666:41;58685:12;:10;:12::i;:::-;58699:7;58666:18;:41::i;:::-;58658:105;;;;-1:-1:-1;;;58658:105:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58774:19:0;;;;;;:13;:19;;;;;:35;;58801:7;58774:26;:35::i;:::-;-1:-1:-1;;;;;;58820:17:0;;;;;;:13;:17;;;;;:30;;58842:7;58820:21;:30::i;:::-;;58861:28;58871:4;58877:2;58881:7;58861:9;:28::i;56789:148::-;-1:-1:-1;;;;;56897:21:0;;56871:7;56897:21;;;:13;:21;;;;;:32;;56922:6;56897:24;:32::i;:::-;56890:39;;56789:148;;;;;:::o;58905:141::-;58999:39;59016:4;59022:2;59026:7;58999:39;;;;;;;;;;;;:16;:39::i;57837:276::-;57892:42;57911:12;:10;:12::i;57892:42::-;57884:102;;;;-1:-1:-1;;;57884:102:0;;;;;;;:::i;:::-;58011:10;57997:25;;;;:13;:25;;;;;:42;;58030:8;57997:32;:42::i;:::-;-1:-1:-1;58057:22:0;;;;:12;:22;;;;;58050:29;;;:::i;:::-;58090:15;58096:8;58090:5;:15::i;:::-;57837:276;:::o;57649:180::-;55184:10;55173:22;;;;:10;:22;;;;;;;;;:47;;-1:-1:-1;55210:10:0;55199:7;:5;:7::i;:::-;-1:-1:-1;;;;;55199:21:0;;55173:47;55165:110;;;;-1:-1:-1;;;55165:110:0;;;;;;;:::i;:::-;57746:9:::1;57741:81;57765:14;57761:1;:18;57741:81;;;57801:9;57806:3;57801:4;:9::i;:::-;57781:3:::0;::::1;::::0;::::1;:::i;:::-;;;;57741:81;;59425:132:::0;-1:-1:-1;;;;;59517:23:0;;;;;;:13;:23;;;;;59482:16;;59517:32;;:30;:32::i;57173:112::-;34191:12;:10;:12::i;:::-;-1:-1:-1;;;;;34180:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34180:23:0;;34172:68;;;;-1:-1:-1;;;34172:68:0;;;;;;;:::i;:::-;57251:11:::1;:26:::0;57173:112::o;56235:26::-;;;;:::o;21460:239::-;21532:7;21568:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21568:16:0;21603:19;21595:73;;;;-1:-1:-1;;;21595:73:0;;;;;;;:::i;57293:348::-;55184:10;55173:22;;;;:10;:22;;;;;;;;;:47;;-1:-1:-1;55210:10:0;55199:7;:5;:7::i;:::-;-1:-1:-1;;;;;55199:21:0;;55173:47;55165:110;;;;-1:-1:-1;;;55165:110:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57363:17:0;::::1;57355:62;;;;-1:-1:-1::0;;;57355:62:0::1;;;;;;;:::i;:::-;57447:11;;57436:7;;:22;;57428:65;;;;-1:-1:-1::0;;;57428:65:0::1;;;;;;;:::i;:::-;57515:1;57504:7;;:12;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;57540:7:0::1;::::0;57527:21:::1;::::0;;;:12:::1;:21;::::0;;;;57551:7:::1;57527:31:::0;;::::1;::::0;::::1;:::i;:::-;;;;;;:::i;:::-;-1:-1:-1::0;57592:7:0::1;::::0;-1:-1:-1;;;;;57569:18:0;::::1;;::::0;;;:13:::1;:18;::::0;;;;:31:::1;::::0;:22:::1;:31::i;:::-;;57611:22;57621:3;57625:7;;57611:9;:22::i;21190:208::-:0;21262:7;-1:-1:-1;;;;;21290:19:0;;21282:74;;;;-1:-1:-1;;;21282:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;21374:16:0;;;;;:9;:16;;;;;;;21190:208::o;34611:94::-;34191:12;:10;:12::i;:::-;-1:-1:-1;;;;;34180:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34180:23:0;;34172:68;;;;-1:-1:-1;;;34172:68:0;;;;;;;:::i;:::-;34676:21:::1;34694:1;34676:9;:21::i;:::-;34611:94::o:0;56515:46::-;;;;;;;;;;;;;;;;:::i;33960:87::-;34033:6;;-1:-1:-1;;;;;34033:6:0;33960:87;:::o;21935:104::-;21991:13;22024:7;22017:14;;;;;:::i;55564:387::-;34191:12;:10;:12::i;:::-;-1:-1:-1;;;;;34180:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34180:23:0;;34172:68;;;;-1:-1:-1;;;34172:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55657:23:0;::::1;55649:78;;;;-1:-1:-1::0;;;55649:78:0::1;;;;;;;:::i;:::-;55767:9;-1:-1:-1::0;;;;;55746:30:0::1;:9;55756:6;55746:17;;;;;;-1:-1:-1::0;;;55746:17:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;55746:17:0::1;:30;55738:80;;;;-1:-1:-1::0;;;55738:80:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;55829:21:0;::::1;55853:5;55829:21:::0;;;:10:::1;:21;::::0;;;;:29;;-1:-1:-1;;55829:29:0::1;::::0;;55876:9:::1;:17:::0;;55886:6;;55876:17;::::1;;;-1:-1:-1::0;;;55876:17:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;55869:24:::0;;-1:-1:-1;;;;;;55869:24:0::1;::::0;;55909:34:::1;::::0;-1:-1:-1;;;;;55909:34:0;::::1;::::0;::::1;::::0;::::1;::::0;55936:6;;55909:34:::1;:::i;:::-;;;;;;;;55564:387:::0;;:::o;23618:295::-;23733:12;:10;:12::i;:::-;-1:-1:-1;;;;;23721:24:0;:8;-1:-1:-1;;;;;23721:24:0;;;23713:62;;;;-1:-1:-1;;;23713:62:0;;;;;;;:::i;:::-;23833:8;23788:18;:32;23807:12;:10;:12::i;:::-;-1:-1:-1;;;;;23788:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;23788:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;23788:53:0;;;;;;;;;;;23872:12;:10;:12::i;:::-;-1:-1:-1;;;;;23857:48:0;;23896:8;23857:48;;;;;;:::i;:::-;;;;;;;;23618:295;;:::o;57055:110::-;34191:12;:10;:12::i;:::-;-1:-1:-1;;;;;34180:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34180:23:0;;34172:68;;;;-1:-1:-1;;;34172:68:0;;;;;;;:::i;:::-;57135:22;;::::1;::::0;:7:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57055:110:::0;:::o;59054:363::-;59175:41;59194:12;:10;:12::i;:::-;59208:7;59175:18;:41::i;:::-;59167:105;;;;-1:-1:-1;;;59167:105:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59283:19:0;;;;;;:13;:19;;;;;:35;;59310:7;59283:26;:35::i;:::-;-1:-1:-1;;;;;;59329:17:0;;;;;;:13;:17;;;;;:30;;59351:7;59329:21;:30::i;:::-;;59370:39;59384:4;59390:2;59394:7;59403:5;59370:13;:39::i;:::-;59054:363;;;;:::o;54923:42::-;;;;;;;;;;;;;;;:::o;58232:328::-;58297:13;58331:16;58339:7;58331;:16::i;:::-;58323:70;;;;-1:-1:-1;;;58323:70:0;;;;;;;:::i;:::-;58406:21;58430:10;:8;:10::i;:::-;58406:34;;58482:1;58464:7;58458:21;:25;:94;;;;;;;;;;;;;;;;;58510:7;58519:18;:7;:16;:18::i;:::-;58493:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58458:94;58451:101;58232:328;-1:-1:-1;;;58232:328:0:o;55303:253::-;34191:12;:10;:12::i;:::-;-1:-1:-1;;;;;34180:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34180:23:0;;34172:68;;;;-1:-1:-1;;;34172:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55378:20:0;::::1;55370:72;;;;-1:-1:-1::0;;;55370:72:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;55453:18:0;::::1;;::::0;;;:10:::1;:18;::::0;;;;;:25;;-1:-1:-1;;55453:25:0::1;55474:4;55453:25:::0;;::::1;::::0;;;55489:9:::1;:22:::0;;;;::::1;::::0;;;;;::::1;::::0;;-1:-1:-1;;;;;;55489:22:0::1;::::0;::::1;::::0;;55527:21;::::1;::::0;55453:18;55527:21:::1;55303:253:::0;:::o;55959:97::-;56003:16;56039:9;56032:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56032:16:0;;;;;;;;;;;;;;;;;;;;;;55959:97;:::o;23984:164::-;-1:-1:-1;;;;;24105:25:0;;;24081:4;24105:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23984:164::o;34860:192::-;34191:12;:10;:12::i;:::-;-1:-1:-1;;;;;34180:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34180:23:0;;34172:68;;;;-1:-1:-1;;;34172:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34949:22:0;::::1;34941:73;;;;-1:-1:-1::0;;;34941:73:0::1;;;;;;;:::i;:::-;35025:19;35035:8;35025:9;:19::i;19307:157::-:0;-1:-1:-1;;;;;;19416:40:0;;-1:-1:-1;;;19416:40:0;19307:157;;;:::o;26719:127::-;26784:4;26808:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26808:16:0;:30;;;26719:127::o;16187:98::-;16267:10;16187:98;:::o;30701:174::-;30776:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30776:29:0;-1:-1:-1;;;;;30776:29:0;;;;;;;;:24;;30830:23;30776:24;30830:14;:23::i;:::-;-1:-1:-1;;;;;30821:46:0;;;;;;;;;;;30701:174;;:::o;27013:348::-;27106:4;27131:16;27139:7;27131;:16::i;:::-;27123:73;;;;-1:-1:-1;;;27123:73:0;;;;;;;:::i;:::-;27207:13;27223:23;27238:7;27223:14;:23::i;:::-;27207:39;;27276:5;-1:-1:-1;;;;;27265:16:0;:7;-1:-1:-1;;;;;27265:16:0;;:51;;;;27309:7;-1:-1:-1;;;;;27285:31:0;:20;27297:7;27285:11;:20::i;:::-;-1:-1:-1;;;;;27285:31:0;;27265:51;:87;;;;27320:32;27337:5;27344:7;27320:16;:32::i;:::-;27257:96;27013:348;-1:-1:-1;;;;27013:348:0:o;45889:137::-;45959:4;45983:35;45991:3;46011:5;45983:7;:35::i;45582:131::-;45649:4;45673:32;45678:3;45698:5;45673:4;:32::i;30005:578::-;30164:4;-1:-1:-1;;;;;30137:31:0;:23;30152:7;30137:14;:23::i;:::-;-1:-1:-1;;;;;30137:31:0;;30129:85;;;;-1:-1:-1;;;30129:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;30233:16:0;;30225:65;;;;-1:-1:-1;;;30225:65:0;;;;;;;:::i;:::-;30303:39;30324:4;30330:2;30334:7;30303:20;:39::i;:::-;30407:29;30424:1;30428:7;30407:8;:29::i;:::-;-1:-1:-1;;;;;30449:15:0;;;;;;:9;:15;;;;;:20;;30468:1;;30449:15;:20;;30468:1;;30449:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30480:13:0;;;;;;:9;:13;;;;;:18;;30497:1;;30480:13;:18;;30497:1;;30480:18;:::i;:::-;;;;-1:-1:-1;;30509:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30509:21:0;-1:-1:-1;;;;;30509:21:0;;;;;;;;;30548:27;;30509:16;;30548:27;;;;;;;30005:578;;;:::o;46812:137::-;46883:7;46918:22;46922:3;46934:5;46918:3;:22::i;29308:360::-;29368:13;29384:23;29399:7;29384:14;:23::i;:::-;29368:39;;29420:48;29441:5;29456:1;29460:7;29420:20;:48::i;:::-;29509:29;29526:1;29530:7;29509:8;:29::i;:::-;-1:-1:-1;;;;;29551:16:0;;;;;;:9;:16;;;;;:21;;29571:1;;29551:16;:21;;29571:1;;29551:21;:::i;:::-;;;;-1:-1:-1;;29590:16:0;;;;:7;:16;;;;;;29583:23;;-1:-1:-1;;;;;;29583:23:0;;;29624:36;29598:7;;29590:16;-1:-1:-1;;;;;29624:36:0;;;;;29590:16;;29624:36;29308:360;;:::o;47499:263::-;47559:16;47588:22;47613:19;47621:3;47613:7;:19::i;27703:110::-;27779:26;27789:2;27793:7;27779:26;;;;;;;;;;;;:9;:26::i;35060:173::-;35135:6;;;-1:-1:-1;;;;;35152:17:0;;;-1:-1:-1;;;;;;35152:17:0;;;;;;;35185:40;;35135:6;;;35152:17;35135:6;;35185:40;;35116:16;;35185:40;35060:173;;:::o;26091:315::-;26248:28;26258:4;26264:2;26268:7;26248:9;:28::i;:::-;26295:48;26318:4;26324:2;26328:7;26337:5;26295:22;:48::i;:::-;26287:111;;;;-1:-1:-1;;;26287:111:0;;;;;;;:::i;58121:101::-;58173:13;58206:8;58199:15;;;;;:::i;16732:723::-;16788:13;17009:10;17005:53;;-1:-1:-1;17036:10:0;;;;;;;;;;;;-1:-1:-1;;;17036:10:0;;;;;;17005:53;17083:5;17068:12;17124:78;17131:9;;17124:78;;17157:8;;;;:::i;:::-;;-1:-1:-1;17180:10:0;;-1:-1:-1;17188:2:0;17180:10;;:::i;:::-;;;17124:78;;;17212:19;17244:6;17234:17;;;;;;-1:-1:-1;;;17234:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17234:17:0;;17212:39;;17262:154;17269:10;;17262:154;;17296:11;17306:1;17296:11;;:::i;:::-;;-1:-1:-1;17365:10:0;17373:2;17365:5;:10;:::i;:::-;17352:24;;:2;:24;:::i;:::-;17339:39;;17322:6;17329;17322:14;;;;;;-1:-1:-1;;;17322:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;17322:56:0;;;;;;;;-1:-1:-1;17393:11:0;17402:2;17393:11;;:::i;:::-;;;17262:154;;37569:1420;37635:4;37774:19;;;:12;;;:19;;;;;;37810:15;;37806:1176;;38185:21;38209:14;38222:1;38209:10;:14;:::i;:::-;38258:18;;38185:38;;-1:-1:-1;38238:17:0;;38258:22;;38279:1;;38258:22;:::i;:::-;38238:42;;38314:13;38301:9;:26;38297:405;;38348:17;38368:3;:11;;38380:9;38368:22;;;;;;-1:-1:-1;;;38368:22:0;;;;;;;;;;;;;;;;;38348:42;;38522:9;38493:3;:11;;38505:13;38493:26;;;;;;-1:-1:-1;;;38493:26:0;;;;;;;;;;;;;;;;;;;;:38;;;;38607:23;;;:12;;;:23;;;;;:36;;;38297:405;38783:17;;:3;;:17;;;-1:-1:-1;;;38783:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;38878:3;:12;;:19;38891:5;38878:19;;;;;;;;;;;38871:26;;;38921:4;38914:11;;;;;;;37806:1176;38965:5;38958:12;;;;;36979:414;37042:4;37064:21;37074:3;37079:5;37064:9;:21::i;:::-;37059:327;;-1:-1:-1;37102:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;37285:18;;37263:19;;;:12;;;:19;;;;;;:40;;;;37318:11;;37059:327;-1:-1:-1;37369:5:0;37362:12;;39753:120;39820:7;39847:3;:11;;39859:5;39847:18;;;;;;-1:-1:-1;;;39847:18:0;;;;;;;;;;;;;;;;;39840:25;;39753:120;;;;:::o;40423:111::-;40479:16;40515:3;:11;;40508:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40423:111;;;:::o;28040:321::-;28170:18;28176:2;28180:7;28170:5;:18::i;:::-;28221:54;28252:1;28256:2;28260:7;28269:5;28221:22;:54::i;:::-;28199:154;;;;-1:-1:-1;;;28199:154:0;;;;;;;:::i;31440:799::-;31595:4;31616:15;:2;-1:-1:-1;;;;;31616:13:0;;:15::i;:::-;31612:620;;;31668:2;-1:-1:-1;;;;;31652:36:0;;31689:12;:10;:12::i;:::-;31703:4;31709:7;31718:5;31652:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31652:72:0;;;;;;;;-1:-1:-1;;31652:72:0;;;;;;;;;;;;:::i;:::-;;;31648:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31894:13:0;;31890:272;;31937:60;;-1:-1:-1;;;31937:60:0;;;;;;;:::i;31890:272::-;32112:6;32106:13;32097:6;32093:2;32089:15;32082:38;31648:529;-1:-1:-1;;;;;;31775:51:0;-1:-1:-1;;;31775:51:0;;-1:-1:-1;31768:58:0;;31612:620;-1:-1:-1;32216:4:0;31440:799;;;;;;:::o;39075:129::-;39148:4;39172:19;;;:12;;;;;:19;;;;;;:24;;;39075:129::o;28697:382::-;-1:-1:-1;;;;;28777:16:0;;28769:61;;;;-1:-1:-1;;;28769:61:0;;;;;;;:::i;:::-;28850:16;28858:7;28850;:16::i;:::-;28849:17;28841:58;;;;-1:-1:-1;;;28841:58:0;;;;;;;:::i;:::-;28912:45;28941:1;28945:2;28949:7;28912:20;:45::i;:::-;-1:-1:-1;;;;;28970:13:0;;;;;;:9;:13;;;;;:18;;28987:1;;28970:13;:18;;28987:1;;28970:18;:::i;:::-;;;;-1:-1:-1;;28999:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28999:21:0;-1:-1:-1;;;;;28999:21:0;;;;;;;;29038:33;;28999:16;;;29038:33;;28999:16;;29038:33;28697:382;;:::o;8211:387::-;8534:20;8582:8;;;8211:387::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:607:1;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:198;;918:2;906:9;897:7;893:23;889:32;886:2;;;939:6;931;924:22;886:2;967:31;988:9;967:31;:::i;1009:274::-;;;1138:2;1126:9;1117:7;1113:23;1109:32;1106:2;;;1159:6;1151;1144:22;1106:2;1187:31;1208:9;1187:31;:::i;:::-;1177:41;;1237:40;1273:2;1262:9;1258:18;1237:40;:::i;:::-;1227:50;;1096:187;;;;;:::o;1288:342::-;;;;1434:2;1422:9;1413:7;1409:23;1405:32;1402:2;;;1455:6;1447;1440:22;1402:2;1483:31;1504:9;1483:31;:::i;:::-;1473:41;;1533:40;1569:2;1558:9;1554:18;1533:40;:::i;:::-;1523:50;;1620:2;1609:9;1605:18;1592:32;1582:42;;1392:238;;;;;:::o;1635:702::-;;;;;1807:3;1795:9;1786:7;1782:23;1778:33;1775:2;;;1829:6;1821;1814:22;1775:2;1857:31;1878:9;1857:31;:::i;:::-;1847:41;;1907:40;1943:2;1932:9;1928:18;1907:40;:::i;:::-;1897:50;;1994:2;1983:9;1979:18;1966:32;1956:42;;2049:2;2038:9;2034:18;2021:32;2076:18;2068:6;2065:30;2062:2;;;2113:6;2105;2098:22;2062:2;2141:22;;2194:4;2186:13;;2182:27;-1:-1:-1;2172:2:1;;2228:6;2220;2213:22;2172:2;2256:75;2323:7;2318:2;2305:16;2300:2;2296;2292:11;2256:75;:::i;:::-;2246:85;;;1765:572;;;;;;;:::o;2342:369::-;;;2468:2;2456:9;2447:7;2443:23;2439:32;2436:2;;;2489:6;2481;2474:22;2436:2;2517:31;2538:9;2517:31;:::i;:::-;2507:41;;2598:2;2587:9;2583:18;2570:32;2645:5;2638:13;2631:21;2624:5;2621:32;2611:2;;2672:6;2664;2657:22;2611:2;2700:5;2690:15;;;2426:285;;;;;:::o;2716:266::-;;;2845:2;2833:9;2824:7;2820:23;2816:32;2813:2;;;2866:6;2858;2851:22;2813:2;2894:31;2915:9;2894:31;:::i;:::-;2884:41;2972:2;2957:18;;;;2944:32;;-1:-1:-1;;;2803:179:1:o;2987:257::-;;3098:2;3086:9;3077:7;3073:23;3069:32;3066:2;;;3119:6;3111;3104:22;3066:2;3163:9;3150:23;3182:32;3208:5;3182:32;:::i;3249:261::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:32;3474:5;3448:32;:::i;3515:482::-;;3637:2;3625:9;3616:7;3612:23;3608:32;3605:2;;;3658:6;3650;3643:22;3605:2;3703:9;3690:23;3736:18;3728:6;3725:30;3722:2;;;3773:6;3765;3758:22;3722:2;3801:22;;3854:4;3846:13;;3842:27;-1:-1:-1;3832:2:1;;3888:6;3880;3873:22;3832:2;3916:75;3983:7;3978:2;3965:16;3960:2;3956;3952:11;3916:75;:::i;4002:190::-;;4114:2;4102:9;4093:7;4089:23;4085:32;4082:2;;;4135:6;4127;4120:22;4082:2;-1:-1:-1;4163:23:1;;4072:120;-1:-1:-1;4072:120:1:o;4197:259::-;;4278:5;4272:12;4305:6;4300:3;4293:19;4321:63;4377:6;4370:4;4365:3;4361:14;4354:4;4347:5;4343:16;4321:63;:::i;:::-;4438:2;4417:15;-1:-1:-1;;4413:29:1;4404:39;;;;4445:4;4400:50;;4248:208;-1:-1:-1;;4248:208:1:o;4461:637::-;;4779:6;4773:13;4795:53;4841:6;4836:3;4829:4;4821:6;4817:17;4795:53;:::i;:::-;4911:13;;4870:16;;;;4933:57;4911:13;4870:16;4967:4;4955:17;;4933:57;:::i;:::-;-1:-1:-1;;;5012:20:1;;5041:22;;;5090:1;5079:13;;4749:349;-1:-1:-1;;;;4749:349:1:o;5103:203::-;-1:-1:-1;;;;;5267:32:1;;;;5249:51;;5237:2;5222:18;;5204:102::o;5311:490::-;-1:-1:-1;;;;;5580:15:1;;;5562:34;;5632:15;;5627:2;5612:18;;5605:43;5679:2;5664:18;;5657:34;;;5727:3;5722:2;5707:18;;5700:31;;;5311:490;;5748:47;;5775:19;;5767:6;5748:47;:::i;:::-;5740:55;5514:287;-1:-1:-1;;;;;;5514:287:1:o;5806:661::-;5977:2;6029:21;;;6099:13;;6002:18;;;6121:22;;;5806:661;;5977:2;6200:15;;;;6174:2;6159:18;;;5806:661;6246:195;6260:6;6257:1;6254:13;6246:195;;;6325:13;;-1:-1:-1;;;;;6321:39:1;6309:52;;6416:15;;;;6381:12;;;;6357:1;6275:9;6246:195;;;-1:-1:-1;6458:3:1;;5957:510;-1:-1:-1;;;;;;5957:510:1:o;6472:635::-;6643:2;6695:21;;;6765:13;;6668:18;;;6787:22;;;6472:635;;6643:2;6866:15;;;;6840:2;6825:18;;;6472:635;6912:169;6926:6;6923:1;6920:13;6912:169;;;6987:13;;6975:26;;7056:15;;;;7021:12;;;;6948:1;6941:9;6912:169;;7112:187;7277:14;;7270:22;7252:41;;7240:2;7225:18;;7207:92::o;7304:221::-;;7453:2;7442:9;7435:21;7473:46;7515:2;7504:9;7500:18;7492:6;7473:46;:::i;7530:405::-;7732:2;7714:21;;;7771:2;7751:18;;;7744:30;7810:34;7805:2;7790:18;;7783:62;-1:-1:-1;;;7876:2:1;7861:18;;7854:39;7925:3;7910:19;;7704:231::o;7940:414::-;8142:2;8124:21;;;8181:2;8161:18;;;8154:30;8220:34;8215:2;8200:18;;8193:62;-1:-1:-1;;;8286:2:1;8271:18;;8264:48;8344:3;8329:19;;8114:240::o;8359:415::-;8561:2;8543:21;;;8600:2;8580:18;;;8573:30;8639:34;8634:2;8619:18;;8612:62;-1:-1:-1;;;8705:2:1;8690:18;;8683:49;8764:3;8749:19;;8533:241::o;8779:402::-;8981:2;8963:21;;;9020:2;9000:18;;;8993:30;9059:34;9054:2;9039:18;;9032:62;-1:-1:-1;;;9125:2:1;9110:18;;9103:36;9171:3;9156:19;;8953:228::o;9186:352::-;9388:2;9370:21;;;9427:2;9407:18;;;9400:30;9466;9461:2;9446:18;;9439:58;9529:2;9514:18;;9360:178::o;9543:355::-;9745:2;9727:21;;;9784:2;9764:18;;;9757:30;9823:33;9818:2;9803:18;;9796:61;9889:2;9874:18;;9717:181::o;9903:400::-;10105:2;10087:21;;;10144:2;10124:18;;;10117:30;10183:34;10178:2;10163:18;;10156:62;-1:-1:-1;;;10249:2:1;10234:18;;10227:34;10293:3;10278:19;;10077:226::o;10308:349::-;10510:2;10492:21;;;10549:2;10529:18;;;10522:30;10588:27;10583:2;10568:18;;10561:55;10648:2;10633:18;;10482:175::o;10662:407::-;10864:2;10846:21;;;10903:2;10883:18;;;10876:30;10942:34;10937:2;10922:18;;10915:62;-1:-1:-1;;;11008:2:1;10993:18;;10986:41;11059:3;11044:19;;10836:233::o;11074:408::-;11276:2;11258:21;;;11315:2;11295:18;;;11288:30;11354:34;11349:2;11334:18;;11327:62;-1:-1:-1;;;11420:2:1;11405:18;;11398:42;11472:3;11457:19;;11248:234::o;11487:420::-;11689:2;11671:21;;;11728:2;11708:18;;;11701:30;11767:34;11762:2;11747:18;;11740:62;11838:26;11833:2;11818:18;;11811:54;11897:3;11882:19;;11661:246::o;11912:402::-;12114:2;12096:21;;;12153:2;12133:18;;;12126:30;12192:34;12187:2;12172:18;;12165:62;-1:-1:-1;;;12258:2:1;12243:18;;12236:36;12304:3;12289:19;;12086:228::o;12319:406::-;12521:2;12503:21;;;12560:2;12540:18;;;12533:30;12599:34;12594:2;12579:18;;12572:62;-1:-1:-1;;;12665:2:1;12650:18;;12643:40;12715:3;12700:19;;12493:232::o;12730:405::-;12932:2;12914:21;;;12971:2;12951:18;;;12944:30;13010:34;13005:2;12990:18;;12983:62;-1:-1:-1;;;13076:2:1;13061:18;;13054:39;13125:3;13110:19;;12904:231::o;13140:356::-;13342:2;13324:21;;;13361:18;;;13354:30;13420:34;13415:2;13400:18;;13393:62;13487:2;13472:18;;13314:182::o;13501:408::-;13703:2;13685:21;;;13742:2;13722:18;;;13715:30;13781:34;13776:2;13761:18;;13754:62;-1:-1:-1;;;13847:2:1;13832:18;;13825:42;13899:3;13884:19;;13675:234::o;13914:356::-;14116:2;14098:21;;;14135:18;;;14128:30;14194:34;14189:2;14174:18;;14167:62;14261:2;14246:18;;14088:182::o;14275:415::-;14477:2;14459:21;;;14516:2;14496:18;;;14489:30;14555:34;14550:2;14535:18;;14528:62;-1:-1:-1;;;14621:2:1;14606:18;;14599:49;14680:3;14665:19;;14449:241::o;14695:405::-;14897:2;14879:21;;;14936:2;14916:18;;;14909:30;14975:34;14970:2;14955:18;;14948:62;-1:-1:-1;;;15041:2:1;15026:18;;15019:39;15090:3;15075:19;;14869:231::o;15105:397::-;15307:2;15289:21;;;15346:2;15326:18;;;15319:30;15385:34;15380:2;15365:18;;15358:62;-1:-1:-1;;;15451:2:1;15436:18;;15429:31;15492:3;15477:19;;15279:223::o;15507:404::-;15709:2;15691:21;;;15748:2;15728:18;;;15721:30;15787:34;15782:2;15767:18;;15760:62;-1:-1:-1;;;15853:2:1;15838:18;;15831:38;15901:3;15886:19;;15681:230::o;15916:411::-;16118:2;16100:21;;;16157:2;16137:18;;;16130:30;16196:34;16191:2;16176:18;;16169:62;-1:-1:-1;;;16262:2:1;16247:18;;16240:45;16317:3;16302:19;;16090:237::o;16332:397::-;16534:2;16516:21;;;16573:2;16553:18;;;16546:30;16612:34;16607:2;16592:18;;16585:62;-1:-1:-1;;;16678:2:1;16663:18;;16656:31;16719:3;16704:19;;16506:223::o;16734:177::-;16880:25;;;16868:2;16853:18;;16835:76::o;16916:128::-;;16987:1;16983:6;16980:1;16977:13;16974:2;;;16993:18;;:::i;:::-;-1:-1:-1;17029:9:1;;16964:80::o;17049:120::-;;17115:1;17105:2;;17120:18;;:::i;:::-;-1:-1:-1;17154:9:1;;17095:74::o;17174:125::-;;17242:1;17239;17236:8;17233:2;;;17247:18;;:::i;:::-;-1:-1:-1;17284:9:1;;17223:76::o;17304:258::-;17376:1;17386:113;17400:6;17397:1;17394:13;17386:113;;;17476:11;;;17470:18;17457:11;;;17450:39;17422:2;17415:10;17386:113;;;17517:6;17514:1;17511:13;17508:2;;;-1:-1:-1;;17552:1:1;17534:16;;17527:27;17357:205::o;17567:380::-;17652:1;17642:12;;17699:1;17689:12;;;17710:2;;17764:4;17756:6;17752:17;17742:27;;17710:2;17817;17809:6;17806:14;17786:18;17783:38;17780:2;;;17863:10;17858:3;17854:20;17851:1;17844:31;17898:4;17895:1;17888:15;17926:4;17923:1;17916:15;17780:2;;17622:325;;;:::o;17952:135::-;;-1:-1:-1;;18012:17:1;;18009:2;;;18032:18;;:::i;:::-;-1:-1:-1;18079:1:1;18068:13;;17999:88::o;18092:112::-;;18150:1;18140:2;;18155:18;;:::i;:::-;-1:-1:-1;18189:9:1;;18130:74::o;18209:127::-;18270:10;18265:3;18261:20;18258:1;18251:31;18301:4;18298:1;18291:15;18325:4;18322:1;18315:15;18341:127;18402:10;18397:3;18393:20;18390:1;18383:31;18433:4;18430:1;18423:15;18457:4;18454:1;18447:15;18473:127;18534:10;18529:3;18525:20;18522:1;18515:31;18565:4;18562:1;18555:15;18589:4;18586:1;18579:15;18605:133;-1:-1:-1;;;;;;18681:32:1;;18671:43;;18661:2;;18728:1;18725;18718:12

Swarm Source

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