ETH Price: $2,267.38 (-6.35%)

Token

Great Moheom 大모험 (Great Moheom 大모험)
 

Overview

Max Total Supply

2,222 Great Moheom 大모험

Holders

537

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
*云在青天水在瓶.eth
Balance
5 Great Moheom 大모험
0xF479568Ea43CDe6bAF74EFEC69Fd8D3e1786aadE
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:
GreatMoheom

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : GreatMoheom.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";

contract GreatMoheom is Ownable, IERC721, IERC721Metadata, ReentrancyGuard {
    using Address for address;
    using Strings for uint256;

    string public override name;
    string public override symbol;
    string public baseURI;
    address public platform;
    uint256 public maxSupply;
    uint256 public totalSupply;
    mapping(uint256 => address) private _owners;
    mapping(address => uint256) private _balances;
    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor() {
        name = unicode"Great Moheom 大모험";
        symbol = unicode"Great Moheom 大모험";
        maxSupply = 2222;
    }

    function supportsInterface(bytes4 interfaceId)
        external
        pure
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC165).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId;
    }

    function balanceOf(address owner) external view override returns (uint256) {
        require(owner != address(0), "owner = zero address");
        return _balances[owner];
    }

    function ownerOf(uint256 tokenId)
        public
        view
        override
        returns (address owner)
    {
        owner = _owners[tokenId];
        require(owner != address(0), "token doesn't exist");
    }

    function isApprovedForAll(address owner, address operator)
        external
        view
        override
        returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

    function setApprovalForAll(address operator, bool approved)
        external
        override
    {
        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function getApproved(uint256 tokenId)
        external
        view
        override
        returns (address)
    {
        require(_owners[tokenId] != address(0), "token doesn't exist");
        return _tokenApprovals[tokenId];
    }

    function _approve(
        address owner,
        address to,
        uint256 tokenId
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    function approve(address to, uint256 tokenId) external override {
        address owner = _owners[tokenId];
        require(
            msg.sender == owner || _operatorApprovals[owner][msg.sender],
            "not owner nor approved for all"
        );
        _approve(owner, to, tokenId);
    }

    function _isApprovedOrOwner(
        address owner,
        address spender,
        uint256 tokenId
    ) private view returns (bool) {
        return (spender == owner ||
            _tokenApprovals[tokenId] == spender ||
            _operatorApprovals[owner][spender]);
    }

    function _transfer(
        address owner,
        address from,
        address to,
        uint256 tokenId
    ) private {
        require(from == owner, "not owner");
        require(to != address(0), "transfer to the zero address");
        _approve(owner, address(0), tokenId);
        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;
        emit Transfer(from, to, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external override {
        address owner = ownerOf(tokenId);
        require(
            _isApprovedOrOwner(owner, msg.sender, tokenId),
            "not owner nor approved"
        );
        _transfer(owner, from, to, tokenId);
    }

    function _safeTransfer(
        address owner,
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private {
        _transfer(owner, from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "not ERC721Receiver"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        address owner = ownerOf(tokenId);
        require(
            _isApprovedOrOwner(owner, msg.sender, tokenId),
            "not owner nor approved"
        );
        _safeTransfer(owner, from, to, tokenId, _data);
    }

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

    function safeMint(address to, uint256 tokenId) external onlyOwner {
        _safeMint(to, tokenId);
    }

    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

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

    function _mint(address to, uint256 tokenId) internal virtual {
        require(totalSupply + 1 <= maxSupply, "max supply exceeded!");
        require(_owners[tokenId] == address(0), "token already minted!");
        require(to != address(0), "mint to zero address!");
        _balances[to] += 1;
        _owners[tokenId] = to;
        totalSupply += 1;
        emit Transfer(address(0), to, tokenId);
    }

    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            return
                IERC721Receiver(to).onERC721Received(
                    msg.sender,
                    from,
                    tokenId,
                    _data
                ) == IERC721Receiver.onERC721Received.selector;
        } else {
            return true;
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_owners[tokenId] != address(0), "Token Not Exist");

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

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

    function setBaseURI(string calldata _baseURI) external onlyOwner {
        _setBaseURI(_baseURI);
    }

    function _setPlatform(address _platform) internal virtual {
        platform = _platform;
    }

    function setPlatform(address _platform) external onlyOwner {
        _setPlatform(_platform);
    }

    function _isLaunchpadPlatform(address spender)
        internal
        view
        virtual
        returns (bool)
    {
        return (spender == platform);
    }

    function setBaseURIByLaunchpadPlatform(string calldata _baseURI)
        external
        nonReentrant
    {
        if (_isLaunchpadPlatform(_msgSender())) {
            _setBaseURI(_baseURI);
        }
    }

    function mintByLaunchpadPlatform(address to, uint256 tokenId)
        external
        nonReentrant
    {
        if (_isLaunchpadPlatform(_msgSender())) {
            _safeMint(to, tokenId);
        }
    }
}

File 2 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 3 of 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 4 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 5 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 10 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 7 of 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

File 9 of 10 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 10 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintByLaunchpadPlatform","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":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platform","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURIByLaunchpadPlatform","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_platform","type":"address"}],"name":"setPlatform","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506200001d33620000b5565b6001805560408051808201909152601681527f4772656174204d6f68656f6d20e5a4a7ebaaa8ed9798000000000000000000006020820152600290620000649082620001aa565b5060408051808201909152601681527f4772656174204d6f68656f6d20e5a4a7ebaaa8ed9798000000000000000000006020820152600390620000a89082620001aa565b506108ae60065562000276565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013057607f821691505b6020821081036200015157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a557600081815260208120601f850160051c81016020861015620001805750805b601f850160051c820191505b81811015620001a1578281556001016200018c565b5050505b505050565b81516001600160401b03811115620001c657620001c662000105565b620001de81620001d784546200011b565b8462000157565b602080601f831160018114620002165760008415620001fd5750858301515b600019600386901b1c1916600185901b178555620001a1565b600085815260208120601f198616915b82811015620002475788860151825594840194600190910190840162000226565b5085821015620002665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61181880620002866000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636945c5ea116100de578063a144819411610097578063c87b56dd11610071578063c87b56dd14610319578063d5abeb011461032c578063e985e9c514610335578063f2fde38b1461037157600080fd5b8063a1448194146102e0578063a22cb465146102f3578063b88d4fde1461030657600080fd5b80636945c5ea146102915780636c0360eb146102a457806370a08231146102ac578063715018a6146102bf5780638da5cb5b146102c757806395d89b41146102d857600080fd5b806328acbf1b1161013057806328acbf1b1461021f57806342842e0e146102325780634bde38c81461024557806355f804b3146102585780635b85352c1461026b5780636352211e1461027e57600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806318160ddd146101f557806323b872dd1461020c575b600080fd5b61018b610186366004611205565b610384565b60405190151581526020015b60405180910390f35b6101a86103d6565b6040516101979190611279565b6101c86101c336600461128c565b610464565b6040516001600160a01b039091168152602001610197565b6101f36101ee3660046112bc565b6104df565b005b6101fe60075481565b604051908152602001610197565b6101f361021a3660046112e6565b610584565b6101f361022d366004611322565b6105f3565b6101f36102403660046112e6565b6106af565b6005546101c8906001600160a01b031681565b6101f3610266366004611322565b6106ca565b6101f36102793660046112bc565b610715565b6101c861028c36600461128c565b610784565b6101f361029f366004611394565b6107e4565b6101a861080d565b6101fe6102ba366004611394565b61081a565b6101f3610885565b6000546001600160a01b03166101c8565b6101a8610899565b6101f36102ee3660046112bc565b6108a6565b6101f36103013660046113af565b6108b8565b6101f3610314366004611401565b610924565b6101a861032736600461128c565b610995565b6101fe60065481565b61018b6103433660046114dd565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b6101f361037f366004611394565b610a4a565b60006001600160e01b031982166380ac58cd60e01b14806103b557506001600160e01b031982166301ffc9a760e01b145b806103d057506001600160e01b03198216635b5e139f60e01b145b92915050565b600280546103e390611510565b80601f016020809104026020016040519081016040528092919081815260200182805461040f90611510565b801561045c5780601f106104315761010080835404028352916020019161045c565b820191906000526020600020905b81548152906001019060200180831161043f57829003601f168201915b505050505081565b6000818152600860205260408120546001600160a01b03166104c35760405162461bcd60e51b81526020600482015260136024820152721d1bdad95b88191bd95cdb89dd08195e1a5cdd606a1b60448201526064015b60405180910390fd5b506000908152600a60205260409020546001600160a01b031690565b6000818152600860205260409020546001600160a01b03163381148061052857506001600160a01b0381166000908152600b6020908152604080832033845290915290205460ff165b6105745760405162461bcd60e51b815260206004820152601e60248201527f6e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c000060448201526064016104ba565b61057f818484610ac0565b505050565b600061058f82610784565b905061059c813384610b1c565b6105e15760405162461bcd60e51b81526020600482015260166024820152751b9bdd081bdddb995c881b9bdc88185c1c1c9bdd995960521b60448201526064016104ba565b6105ed81858585610b8f565b50505050565b6002600154036106455760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104ba565b6002600155610663335b6005546001600160a01b0391821691161490565b156106a7576106a782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610cf792505050565b505060018055565b61057f83838360405180602001604052806000815250610924565b6106d2610d03565b61071182828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610cf792505050565b5050565b6002600154036107675760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104ba565b60026001556107753361064f565b156106a7576106a78282610d5d565b6000818152600860205260409020546001600160a01b0316806107df5760405162461bcd60e51b81526020600482015260136024820152721d1bdad95b88191bd95cdb89dd08195e1a5cdd606a1b60448201526064016104ba565b919050565b6107ec610d03565b600580546001600160a01b0319166001600160a01b03831617905550565b50565b600480546103e390611510565b60006001600160a01b0382166108695760405162461bcd60e51b81526020600482015260146024820152736f776e6572203d207a65726f206164647265737360601b60448201526064016104ba565b506001600160a01b031660009081526009602052604090205490565b61088d610d03565b6108976000610d77565b565b600380546103e390611510565b6108ae610d03565b6107118282610d5d565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600061092f83610784565b905061093c813385610b1c565b6109815760405162461bcd60e51b81526020600482015260166024820152751b9bdd081bdddb995c881b9bdc88185c1c1c9bdd995960521b60448201526064016104ba565b61098e8186868686610dc7565b5050505050565b6000818152600860205260409020546060906001600160a01b03166109ee5760405162461bcd60e51b815260206004820152600f60248201526e151bdad95b88139bdd08115e1a5cdd608a1b60448201526064016104ba565b6000600480546109fd90611510565b905011610a1957604051806020016040528060008152506103d0565b6004610a2483610e20565b604051602001610a3592919061154a565b60405160208183030381529060405292915050565b610a52610d03565b6001600160a01b038116610ab75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ba565b61080a81610d77565b6000818152600a602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000836001600160a01b0316836001600160a01b03161480610b5757506000828152600a60205260409020546001600160a01b038481169116145b80610b8757506001600160a01b038085166000908152600b602090815260408083209387168352929052205460ff165b949350505050565b836001600160a01b0316836001600160a01b031614610bdc5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016104ba565b6001600160a01b038216610c325760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016104ba565b610c3e84600083610ac0565b6001600160a01b0383166000908152600960205260408120805460019290610c679084906115e7565b90915550506001600160a01b0382166000908152600960205260408120805460019290610c959084906115fa565b909155505060008181526008602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a450505050565b6004610711828261165b565b6000546001600160a01b031633146108975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ba565b610711828260405180602001604052806000815250610f21565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610dd385858585610b8f565b610ddf84848484610f9f565b61098e5760405162461bcd60e51b81526020600482015260126024820152713737ba1022a9219b9918a932b1b2b4bb32b960711b60448201526064016104ba565b606081600003610e475750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e715780610e5b8161171b565b9150610e6a9050600a8361174a565b9150610e4b565b60008167ffffffffffffffff811115610e8c57610e8c6113eb565b6040519080825280601f01601f191660200182016040528015610eb6576020820181803683370190505b5090505b8415610b8757610ecb6001836115e7565b9150610ed8600a8661175e565b610ee39060306115fa565b60f81b818381518110610ef857610ef8611772565b60200101906001600160f81b031916908160001a905350610f1a600a8661174a565b9450610eba565b610f2b8383611045565b610f386000848484610f9f565b61057f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104ba565b60006001600160a01b0384163b1561103a57604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610fe59033908a9089908990600401611788565b6020604051808303816000875af1158015611004573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102891906117c5565b6001600160e01b031916149050610b87565b506001949350505050565b6006546007546110569060016115fa565b111561109b5760405162461bcd60e51b81526020600482015260146024820152736d617820737570706c792065786365656465642160601b60448201526064016104ba565b6000818152600860205260409020546001600160a01b0316156110f85760405162461bcd60e51b8152602060048201526015602482015274746f6b656e20616c7265616479206d696e7465642160581b60448201526064016104ba565b6001600160a01b0382166111465760405162461bcd60e51b81526020600482015260156024820152746d696e7420746f207a65726f20616464726573732160581b60448201526064016104ba565b6001600160a01b038216600090815260096020526040812080546001929061116f9084906115fa565b9091555050600081815260086020526040812080546001600160a01b0319166001600160a01b03851617905560078054600192906111ae9084906115fa565b909155505060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461080a57600080fd5b60006020828403121561121757600080fd5b8135611222816111ef565b9392505050565b60005b8381101561124457818101518382015260200161122c565b50506000910152565b60008151808452611265816020860160208601611229565b601f01601f19169290920160200192915050565b602081526000611222602083018461124d565b60006020828403121561129e57600080fd5b5035919050565b80356001600160a01b03811681146107df57600080fd5b600080604083850312156112cf57600080fd5b6112d8836112a5565b946020939093013593505050565b6000806000606084860312156112fb57600080fd5b611304846112a5565b9250611312602085016112a5565b9150604084013590509250925092565b6000806020838503121561133557600080fd5b823567ffffffffffffffff8082111561134d57600080fd5b818501915085601f83011261136157600080fd5b81358181111561137057600080fd5b86602082850101111561138257600080fd5b60209290920196919550909350505050565b6000602082840312156113a657600080fd5b611222826112a5565b600080604083850312156113c257600080fd5b6113cb836112a5565b9150602083013580151581146113e057600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561141757600080fd5b611420856112a5565b935061142e602086016112a5565b925060408501359150606085013567ffffffffffffffff8082111561145257600080fd5b818701915087601f83011261146657600080fd5b813581811115611478576114786113eb565b604051601f8201601f19908116603f011681019083821181831017156114a0576114a06113eb565b816040528281528a60208487010111156114b957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114f057600080fd5b6114f9836112a5565b9150611507602084016112a5565b90509250929050565b600181811c9082168061152457607f821691505b60208210810361154457634e487b7160e01b600052602260045260246000fd5b50919050565b600080845461155881611510565b600182811680156115705760018114611585576115b4565b60ff19841687528215158302870194506115b4565b8860005260208060002060005b858110156115ab5781548a820152908401908201611592565b50505082870194505b5050505083516115c8818360208801611229565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103d0576103d06115d1565b808201808211156103d0576103d06115d1565b601f82111561057f57600081815260208120601f850160051c810160208610156116345750805b601f850160051c820191505b8181101561165357828155600101611640565b505050505050565b815167ffffffffffffffff811115611675576116756113eb565b611689816116838454611510565b8461160d565b602080601f8311600181146116be57600084156116a65750858301515b600019600386901b1c1916600185901b178555611653565b600085815260208120601f198616915b828110156116ed578886015182559484019460019091019084016116ce565b508582101561170b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001820161172d5761172d6115d1565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261175957611759611734565b500490565b60008261176d5761176d611734565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117bb9083018461124d565b9695505050505050565b6000602082840312156117d757600080fd5b8151611222816111ef56fea2646970667358221220df03c3a9d043a0fde856b435fad3afd78db8139f0ac0bda02d36895e5842f0f164736f6c63430008100033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c80636945c5ea116100de578063a144819411610097578063c87b56dd11610071578063c87b56dd14610319578063d5abeb011461032c578063e985e9c514610335578063f2fde38b1461037157600080fd5b8063a1448194146102e0578063a22cb465146102f3578063b88d4fde1461030657600080fd5b80636945c5ea146102915780636c0360eb146102a457806370a08231146102ac578063715018a6146102bf5780638da5cb5b146102c757806395d89b41146102d857600080fd5b806328acbf1b1161013057806328acbf1b1461021f57806342842e0e146102325780634bde38c81461024557806355f804b3146102585780635b85352c1461026b5780636352211e1461027e57600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806318160ddd146101f557806323b872dd1461020c575b600080fd5b61018b610186366004611205565b610384565b60405190151581526020015b60405180910390f35b6101a86103d6565b6040516101979190611279565b6101c86101c336600461128c565b610464565b6040516001600160a01b039091168152602001610197565b6101f36101ee3660046112bc565b6104df565b005b6101fe60075481565b604051908152602001610197565b6101f361021a3660046112e6565b610584565b6101f361022d366004611322565b6105f3565b6101f36102403660046112e6565b6106af565b6005546101c8906001600160a01b031681565b6101f3610266366004611322565b6106ca565b6101f36102793660046112bc565b610715565b6101c861028c36600461128c565b610784565b6101f361029f366004611394565b6107e4565b6101a861080d565b6101fe6102ba366004611394565b61081a565b6101f3610885565b6000546001600160a01b03166101c8565b6101a8610899565b6101f36102ee3660046112bc565b6108a6565b6101f36103013660046113af565b6108b8565b6101f3610314366004611401565b610924565b6101a861032736600461128c565b610995565b6101fe60065481565b61018b6103433660046114dd565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b6101f361037f366004611394565b610a4a565b60006001600160e01b031982166380ac58cd60e01b14806103b557506001600160e01b031982166301ffc9a760e01b145b806103d057506001600160e01b03198216635b5e139f60e01b145b92915050565b600280546103e390611510565b80601f016020809104026020016040519081016040528092919081815260200182805461040f90611510565b801561045c5780601f106104315761010080835404028352916020019161045c565b820191906000526020600020905b81548152906001019060200180831161043f57829003601f168201915b505050505081565b6000818152600860205260408120546001600160a01b03166104c35760405162461bcd60e51b81526020600482015260136024820152721d1bdad95b88191bd95cdb89dd08195e1a5cdd606a1b60448201526064015b60405180910390fd5b506000908152600a60205260409020546001600160a01b031690565b6000818152600860205260409020546001600160a01b03163381148061052857506001600160a01b0381166000908152600b6020908152604080832033845290915290205460ff165b6105745760405162461bcd60e51b815260206004820152601e60248201527f6e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c000060448201526064016104ba565b61057f818484610ac0565b505050565b600061058f82610784565b905061059c813384610b1c565b6105e15760405162461bcd60e51b81526020600482015260166024820152751b9bdd081bdddb995c881b9bdc88185c1c1c9bdd995960521b60448201526064016104ba565b6105ed81858585610b8f565b50505050565b6002600154036106455760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104ba565b6002600155610663335b6005546001600160a01b0391821691161490565b156106a7576106a782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610cf792505050565b505060018055565b61057f83838360405180602001604052806000815250610924565b6106d2610d03565b61071182828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610cf792505050565b5050565b6002600154036107675760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104ba565b60026001556107753361064f565b156106a7576106a78282610d5d565b6000818152600860205260409020546001600160a01b0316806107df5760405162461bcd60e51b81526020600482015260136024820152721d1bdad95b88191bd95cdb89dd08195e1a5cdd606a1b60448201526064016104ba565b919050565b6107ec610d03565b600580546001600160a01b0319166001600160a01b03831617905550565b50565b600480546103e390611510565b60006001600160a01b0382166108695760405162461bcd60e51b81526020600482015260146024820152736f776e6572203d207a65726f206164647265737360601b60448201526064016104ba565b506001600160a01b031660009081526009602052604090205490565b61088d610d03565b6108976000610d77565b565b600380546103e390611510565b6108ae610d03565b6107118282610d5d565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600061092f83610784565b905061093c813385610b1c565b6109815760405162461bcd60e51b81526020600482015260166024820152751b9bdd081bdddb995c881b9bdc88185c1c1c9bdd995960521b60448201526064016104ba565b61098e8186868686610dc7565b5050505050565b6000818152600860205260409020546060906001600160a01b03166109ee5760405162461bcd60e51b815260206004820152600f60248201526e151bdad95b88139bdd08115e1a5cdd608a1b60448201526064016104ba565b6000600480546109fd90611510565b905011610a1957604051806020016040528060008152506103d0565b6004610a2483610e20565b604051602001610a3592919061154a565b60405160208183030381529060405292915050565b610a52610d03565b6001600160a01b038116610ab75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ba565b61080a81610d77565b6000818152600a602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000836001600160a01b0316836001600160a01b03161480610b5757506000828152600a60205260409020546001600160a01b038481169116145b80610b8757506001600160a01b038085166000908152600b602090815260408083209387168352929052205460ff165b949350505050565b836001600160a01b0316836001600160a01b031614610bdc5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016104ba565b6001600160a01b038216610c325760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016104ba565b610c3e84600083610ac0565b6001600160a01b0383166000908152600960205260408120805460019290610c679084906115e7565b90915550506001600160a01b0382166000908152600960205260408120805460019290610c959084906115fa565b909155505060008181526008602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a450505050565b6004610711828261165b565b6000546001600160a01b031633146108975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ba565b610711828260405180602001604052806000815250610f21565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610dd385858585610b8f565b610ddf84848484610f9f565b61098e5760405162461bcd60e51b81526020600482015260126024820152713737ba1022a9219b9918a932b1b2b4bb32b960711b60448201526064016104ba565b606081600003610e475750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e715780610e5b8161171b565b9150610e6a9050600a8361174a565b9150610e4b565b60008167ffffffffffffffff811115610e8c57610e8c6113eb565b6040519080825280601f01601f191660200182016040528015610eb6576020820181803683370190505b5090505b8415610b8757610ecb6001836115e7565b9150610ed8600a8661175e565b610ee39060306115fa565b60f81b818381518110610ef857610ef8611772565b60200101906001600160f81b031916908160001a905350610f1a600a8661174a565b9450610eba565b610f2b8383611045565b610f386000848484610f9f565b61057f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104ba565b60006001600160a01b0384163b1561103a57604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610fe59033908a9089908990600401611788565b6020604051808303816000875af1158015611004573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102891906117c5565b6001600160e01b031916149050610b87565b506001949350505050565b6006546007546110569060016115fa565b111561109b5760405162461bcd60e51b81526020600482015260146024820152736d617820737570706c792065786365656465642160601b60448201526064016104ba565b6000818152600860205260409020546001600160a01b0316156110f85760405162461bcd60e51b8152602060048201526015602482015274746f6b656e20616c7265616479206d696e7465642160581b60448201526064016104ba565b6001600160a01b0382166111465760405162461bcd60e51b81526020600482015260156024820152746d696e7420746f207a65726f20616464726573732160581b60448201526064016104ba565b6001600160a01b038216600090815260096020526040812080546001929061116f9084906115fa565b9091555050600081815260086020526040812080546001600160a01b0319166001600160a01b03851617905560078054600192906111ae9084906115fa565b909155505060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461080a57600080fd5b60006020828403121561121757600080fd5b8135611222816111ef565b9392505050565b60005b8381101561124457818101518382015260200161122c565b50506000910152565b60008151808452611265816020860160208601611229565b601f01601f19169290920160200192915050565b602081526000611222602083018461124d565b60006020828403121561129e57600080fd5b5035919050565b80356001600160a01b03811681146107df57600080fd5b600080604083850312156112cf57600080fd5b6112d8836112a5565b946020939093013593505050565b6000806000606084860312156112fb57600080fd5b611304846112a5565b9250611312602085016112a5565b9150604084013590509250925092565b6000806020838503121561133557600080fd5b823567ffffffffffffffff8082111561134d57600080fd5b818501915085601f83011261136157600080fd5b81358181111561137057600080fd5b86602082850101111561138257600080fd5b60209290920196919550909350505050565b6000602082840312156113a657600080fd5b611222826112a5565b600080604083850312156113c257600080fd5b6113cb836112a5565b9150602083013580151581146113e057600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561141757600080fd5b611420856112a5565b935061142e602086016112a5565b925060408501359150606085013567ffffffffffffffff8082111561145257600080fd5b818701915087601f83011261146657600080fd5b813581811115611478576114786113eb565b604051601f8201601f19908116603f011681019083821181831017156114a0576114a06113eb565b816040528281528a60208487010111156114b957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114f057600080fd5b6114f9836112a5565b9150611507602084016112a5565b90509250929050565b600181811c9082168061152457607f821691505b60208210810361154457634e487b7160e01b600052602260045260246000fd5b50919050565b600080845461155881611510565b600182811680156115705760018114611585576115b4565b60ff19841687528215158302870194506115b4565b8860005260208060002060005b858110156115ab5781548a820152908401908201611592565b50505082870194505b5050505083516115c8818360208801611229565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103d0576103d06115d1565b808201808211156103d0576103d06115d1565b601f82111561057f57600081815260208120601f850160051c810160208610156116345750805b601f850160051c820191505b8181101561165357828155600101611640565b505050505050565b815167ffffffffffffffff811115611675576116756113eb565b611689816116838454611510565b8461160d565b602080601f8311600181146116be57600084156116a65750858301515b600019600386901b1c1916600185901b178555611653565b600085815260208120601f198616915b828110156116ed578886015182559484019460019091019084016116ce565b508582101561170b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001820161172d5761172d6115d1565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261175957611759611734565b500490565b60008261176d5761176d611734565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117bb9083018461124d565b9695505050505050565b6000602082840312156117d757600080fd5b8151611222816111ef56fea2646970667358221220df03c3a9d043a0fde856b435fad3afd78db8139f0ac0bda02d36895e5842f0f164736f6c63430008100033

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.