ETH Price: $3,312.88 (-1.04%)
Gas: 4.42 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From208910382024-10-04 8:43:3596 days ago1728031415IN
CryptopolisRoom: CROOM Token
0 ETH0.000286816.31409243
Transfer From190641742024-01-22 18:55:11352 days ago1705949711IN
CryptopolisRoom: CROOM Token
0 ETH0.0013209421.12292876
Set Approval For...187881492023-12-15 1:09:35391 days ago1702602575IN
CryptopolisRoom: CROOM Token
0 ETH0.0015796234.02672868
Transfer From183265362023-10-11 10:14:47455 days ago1697019287IN
CryptopolisRoom: CROOM Token
0 ETH0.00035056.07087519
Safe Transfer Fr...180844262023-09-07 12:03:35489 days ago1694088215IN
CryptopolisRoom: CROOM Token
0 ETH0.001193618.01700391
Set Approval For...180668122023-09-05 0:50:59492 days ago1693875059IN
CryptopolisRoom: CROOM Token
0 ETH0.0004800310.34038776
Set Approval For...179160732023-08-14 22:29:11513 days ago1692052151IN
CryptopolisRoom: CROOM Token
0 ETH0.0007229915.57397428
Transfer From170669542023-04-17 14:01:23632 days ago1681740083IN
CryptopolisRoom: CROOM Token
0 ETH0.0024523760.3854725
Transfer From170457692023-04-14 13:41:47635 days ago1681479707IN
CryptopolisRoom: CROOM Token
0 ETH0.0015851427.46653833
Safe Transfer Fr...168410822023-03-16 14:45:11664 days ago1678977911IN
CryptopolisRoom: CROOM Token
0 ETH0.0019628929.62904529
Set Approval For...166905092023-02-23 10:29:35685 days ago1677148175IN
CryptopolisRoom: CROOM Token
0 ETH0.0006440326.27521143
Set Approval For...164046952023-01-14 11:18:23725 days ago1673695103IN
CryptopolisRoom: CROOM Token
0 ETH0.0007888316.99230056
Set Approval For...164046882023-01-14 11:16:59725 days ago1673695019IN
CryptopolisRoom: CROOM Token
0 ETH0.0004988617.85881678
Set Approval For...162042312022-12-17 11:51:11753 days ago1671277871IN
CryptopolisRoom: CROOM Token
0 ETH0.000602812.98497672
Set Approval For...162042232022-12-17 11:49:35753 days ago1671277775IN
CryptopolisRoom: CROOM Token
0 ETH0.0005796912.48734364
Set Approval For...161973552022-12-16 12:47:47754 days ago1671194867IN
CryptopolisRoom: CROOM Token
0 ETH0.0007351715.83654067
Transfer From161972692022-12-16 12:30:35754 days ago1671193835IN
CryptopolisRoom: CROOM Token
0 ETH0.001034417.91992547
Set Approval For...161778732022-12-13 19:30:23757 days ago1670959823IN
CryptopolisRoom: CROOM Token
0 ETH0.0007257915.63433408
Batch Transfer T...160789942022-11-29 23:42:11771 days ago1669765331IN
CryptopolisRoom: CROOM Token
0 ETH0.0005092510.40573836
Set Approval For...160512202022-11-26 2:37:11775 days ago1669430231IN
CryptopolisRoom: CROOM Token
0 ETH0.0005386811.60387671
Batch Transfer T...160382942022-11-24 7:17:35776 days ago1669274255IN
CryptopolisRoom: CROOM Token
0 ETH0.000683611.7458404
Batch Transfer T...160258442022-11-22 13:28:11778 days ago1669123691IN
CryptopolisRoom: CROOM Token
0 ETH0.0010515521.48652918
Batch Transfer T...160258332022-11-22 13:25:59778 days ago1669123559IN
CryptopolisRoom: CROOM Token
0 ETH0.0010847322.15909122
Set Approval For...158607842022-10-30 12:09:59801 days ago1667131799IN
CryptopolisRoom: CROOM Token
0 ETH0.000387128.33898555
Batch Transfer T...158524552022-10-29 8:14:23802 days ago1667031263IN
CryptopolisRoom: CROOM Token
0 ETH0.000581159.98547353
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ContractCryptopolisObjects721

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 12 : ContractCryptopolisObjects721.sol
// SPDX-License-Identifier: CryptopolisGame

pragma solidity ^0.8.11;

import "../openzepplin/token/ERC721/extensions/ERC721Burnable.sol";
import "../openzepplin/token/ERC721/extensions/ERC721URIStorage.sol";

contract ContractCryptopolisObjects721 is ERC721Burnable, ERC721URIStorage {

    /**
     * @dev
     * public address for the owner of the contract
     */
    address public owner;

     /**
     * @dev
     * public address which holds the next available id
     */
    uint public idCount = 0;

    /**
     * @dev
     * public id which holds the next available id for the uri mapping
     */
    uint8 public idToUriCount = 0;

     /**
     * @dev Base Uri variable
     */
    string public baseUri;

    event OwnerChanged(address _newOwner);

    modifier onlyOwner {
        require(msg.sender == owner, "Only the current owner can call this function");
        _;
    }

    /**
     * @dev
     * constructor which gets called once during deployment
     * sets the owner to the deploying wallet
     * generates the basic mappings for the metadata uris
     */
    constructor(string memory name_, string memory symbol_, string memory _initialBaseUri) ERC721(name_, symbol_) {
        owner = msg.sender;
        baseUri = _initialBaseUri;
    }

    /**
     * @dev
     * Setter for the baseuri variable, callable by the owner of the contract
     */
    function setBaseUri(string calldata _newBaseUri) public onlyOwner {
        baseUri =  _newBaseUri;
    }

    /**
     * @dev
     * public function to transfer the ownership of the contract
    */
    function transferOwnership(address _newOwner) public onlyOwner {
        owner = _newOwner;
        emit OwnerChanged(_newOwner);
    }

    /**
     * @dev
     * public function which allows the owner to mint a single new nft
     */
    function mintObject(address to, string calldata _uri) public onlyOwner {
        _mint(to, idCount);
        _setTokenURI(idCount, _uri);
        idCount += 1;
    }

     /**
     * @dev
     * public function which allows the owner to batch mint new nfts
     * the limit is ~450 for each batch
     */
    function mintObjectBatch(address to, string[] calldata _uri) public onlyOwner {
        require(_uri.length > 0, "The uri array needs to hold at least one value.");
        for(uint x = 0 ; x < _uri.length ; x++) {
            _mint(to, idCount);
            _setTokenURI(idCount, _uri[x]);
            idCount += 1;
        }
    }

    /**
    * @dev
    * method to transfer a batch of tokenids to an array of addresses
    */
    function batchTransfer(address[] calldata _to, uint256[] calldata _tokenId) public {
        require(_to.length == _tokenId.length,"The length of the provided arrays do not match.");
        for (uint i = 0; i < _tokenId.length; i++) {
            safeTransferFrom(msg.sender, _to[i], _tokenId[i]);
        }
    }

    /**
    * @dev
    * method to transfer a batch of tokenids to an array of addresses
    */
    function batchTransferToSameAddress(address _to, uint256[] calldata _tokenId) public {
        for (uint i = 0; i < _tokenId.length; i++) {
            safeTransferFrom(msg.sender, _to, _tokenId[i]);
        }
    }

    /**
    * @dev
    * method to transfer a batch of tokenids to the same address
    */
    function transferAll(address _to, uint256[] calldata _tokenId) public {
        for (uint i = 0; i < _tokenId.length; i++) {
            safeTransferFrom(msg.sender, _to, _tokenId[i]);
        }
    }

     /**
     * @dev
     * wrapper for the burn functionality of the ERC721Burnable
     * implements the _burn function from the ERC721URIStorage to delete the metadata mapping on burn
     */
    function burn(uint256 _tokenId) public override {
        require(msg.sender == ownerOf(_tokenId) || msg.sender == getApproved(_tokenId), "Authorization to burn the token required.");
        _burn(_tokenId);
    }

     /**
     * @dev
     * wrapper for the tokenURI functionality of the ERC721URIStorage
     */
    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return super.tokenURI(tokenId);
    }

     /**
     * @dev
     * wrapper for the _setTokenURI functionality of the ERC721URIStorage
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal override(ERC721URIStorage) {
        super._setTokenURI(tokenId, _tokenURI);
    }

     /**
     * @dev
     * wrapper for the _burn functionality of the ERC721URIStorage
     */
    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

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

}

File 2 of 12 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 3 of 12 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 4 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @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 overridden 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 {
        _setApprovalForAll(_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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

File 5 of 12 : 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 6 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 7 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 8 of 12 : 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 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"_initialBaseUri","type":"string"}],"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":false,"internalType":"address","name":"_newOwner","type":"address"}],"name":"OwnerChanged","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":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"}],"name":"batchTransferToSameAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"idCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"idToUriCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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"},{"internalType":"string","name":"_uri","type":"string"}],"name":"mintObject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string[]","name":"_uri","type":"string[]"}],"name":"mintObjectBatch","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"}],"name":"transferAll","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006008556009805460ff191690553480156200002057600080fd5b50604051620022f2380380620022f2833981016040819052620000439162000219565b8251839083906200005c906000906020850190620000a6565b50805162000072906001906020840190620000a6565b5050600780546001600160a01b031916331790555080516200009c90600a906020840190620000a6565b50505050620002e6565b828054620000b490620002aa565b90600052602060002090601f016020900481019282620000d8576000855562000123565b82601f10620000f357805160ff191683800117855562000123565b8280016001018555821562000123579182015b828111156200012357825182559160200191906001019062000106565b506200013192915062000135565b5090565b5b8082111562000131576000815560010162000136565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200017457600080fd5b81516001600160401b03808211156200019157620001916200014c565b604051601f8301601f19908116603f01168101908282118183101715620001bc57620001bc6200014c565b81604052838152602092508683858801011115620001d957600080fd5b600091505b83821015620001fd5785820183015181830184015290820190620001de565b838211156200020f5760008385830101525b9695505050505050565b6000806000606084860312156200022f57600080fd5b83516001600160401b03808211156200024757600080fd5b620002558783880162000162565b945060208601519150808211156200026c57600080fd5b6200027a8783880162000162565b935060408601519150808211156200029157600080fd5b50620002a08682870162000162565b9150509250925092565b600181811c90821680620002bf57607f821691505b602082108103620002e057634e487b7160e01b600052602260045260246000fd5b50919050565b611ffc80620002f66000396000f3fe608060405234801561001057600080fd5b50600436106101335760003560e01c806301ffc9a71461013857806306fdde0314610160578063081812fc14610175578063095ea7b31461019557806313d16d3e146101aa57806323b872dd146101bd57806342842e0e146101d057806342966c68146101e357806348e641ce146101f65780636352211e1461020957806367025dcf1461021c57806370a082311461022f57806388d695b2146102505780638da5cb5b1461026357806395d89b41146102765780639abc83201461027e578063a0bcfc7f14610286578063a22cb46514610299578063b88d4fde146102ac578063c87b56dd146102bf578063d43021c0146102d2578063e6e46238146102f1578063e985e9c5146102fa578063eb9539d71461030d578063f2fde38b14610320575b600080fd5b61014b61014636600461187a565b610333565b60405190151581526020015b60405180910390f35b610168610385565b60405161015791906118ef565b610188610183366004611902565b610417565b604051610157919061191b565b6101a86101a336600461194b565b6104a4565b005b6101a86101b83660046119c0565b6105b4565b6101a86101cb366004611a12565b6106ef565b6101a86101de366004611a12565b610720565b6101a86101f1366004611902565b61073b565b6101a8610204366004611a8f565b6107e6565b610188610217366004611902565b61087b565b6101a861022a3660046119c0565b6108f2565b61024261023d366004611ad4565b610932565b604051908152602001610157565b6101a861025e366004611aef565b6109b9565b600754610188906001600160a01b031681565b610168610a81565b610168610a90565b6101a8610294366004611b5a565b610b1e565b6101a86102a7366004611b9b565b610b54565b6101a86102ba366004611bed565b610b63565b6101686102cd366004611902565b610b95565b6009546102df9060ff1681565b60405160ff9091168152602001610157565b61024260085481565b61014b610308366004611cc8565b610ba0565b6101a861031b3660046119c0565b610bce565b6101a861032e366004611ad4565b610c02565b60006001600160e01b031982166380ac58cd60e01b148061036457506001600160e01b03198216635b5e139f60e01b145b8061037f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461039490611cfb565b80601f01602080910402602001604051908101604052809291908181526020018280546103c090611cfb565b801561040d5780601f106103e25761010080835404028352916020019161040d565b820191906000526020600020905b8154815290600101906020018083116103f057829003601f168201915b5050505050905090565b600061042282610c82565b6104885760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104af8261087b565b9050806001600160a01b0316836001600160a01b03160361051c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161047f565b336001600160a01b038216148061053857506105388133610ba0565b6105a55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161047f565b6105af8383610c9f565b505050565b6007546001600160a01b031633146105de5760405162461bcd60e51b815260040161047f90611d35565b806106435760405162461bcd60e51b815260206004820152602f60248201527f54686520757269206172726179206e6565647320746f20686f6c64206174206c60448201526e32b0b9ba1037b732903b30b63ab29760891b606482015260840161047f565b60005b818110156106e95761065a84600854610d0d565b6106be60085484848481811061067257610672611d82565b90506020028101906106849190611d98565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610e2d92505050565b6001600860008282546106d19190611df4565b909155508190506106e181611e0c565b915050610646565b50505050565b6106f93382610e37565b6107155760405162461bcd60e51b815260040161047f90611e25565b6105af838383610f01565b6105af83838360405180602001604052806000815250610b63565b6107448161087b565b6001600160a01b0316336001600160a01b0316148061077c575061076781610417565b6001600160a01b0316336001600160a01b0316145b6107da5760405162461bcd60e51b815260206004820152602960248201527f417574686f72697a6174696f6e20746f206275726e2074686520746f6b656e206044820152683932b8bab4b932b21760b91b606482015260840161047f565b6107e38161108b565b50565b6007546001600160a01b031633146108105760405162461bcd60e51b815260040161047f90611d35565b61081c83600854610d0d565b61085e60085483838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610e2d92505050565b6001600860008282546108719190611df4565b9091555050505050565b6000818152600260205260408120546001600160a01b03168061037f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161047f565b60005b818110156106e957610920338585858581811061091457610914611d82565b90506020020135610720565b8061092a81611e0c565b9150506108f5565b60006001600160a01b03821661099d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161047f565b506001600160a01b031660009081526003602052604090205490565b828114610a205760405162461bcd60e51b815260206004820152602f60248201527f546865206c656e677468206f66207468652070726f766964656420617272617960448201526e39903237903737ba1036b0ba31b41760891b606482015260840161047f565b60005b81811015610a7a57610a6833868684818110610a4157610a41611d82565b9050602002016020810190610a569190611ad4565b85858581811061091457610914611d82565b80610a7281611e0c565b915050610a23565b5050505050565b60606001805461039490611cfb565b600a8054610a9d90611cfb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac990611cfb565b8015610b165780601f10610aeb57610100808354040283529160200191610b16565b820191906000526020600020905b815481529060010190602001808311610af957829003601f168201915b505050505081565b6007546001600160a01b03163314610b485760405162461bcd60e51b815260040161047f90611d35565b6105af600a8383611721565b610b5f338383611094565b5050565b610b6d3383610e37565b610b895760405162461bcd60e51b815260040161047f90611e25565b6106e98484848461115e565b606061037f82611191565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60005b818110156106e957610bf0338585858581811061091457610914611d82565b80610bfa81611e0c565b915050610bd1565b6007546001600160a01b03163314610c2c5760405162461bcd60e51b815260040161047f90611d35565b600780546001600160a01b0319166001600160a01b0383161790556040517fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3690610c7790839061191b565b60405180910390a150565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cd48261087b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610d635760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161047f565b610d6c81610c82565b15610db85760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161047f565b6001600160a01b0382166000908152600360205260408120805460019290610de1908490611df4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020611fa7833981519152908290a45050565b610b5f82826112f2565b6000610e4282610c82565b610ea35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161047f565b6000610eae8361087b565b9050806001600160a01b0316846001600160a01b03161480610ed55750610ed58185610ba0565b80610ef95750836001600160a01b0316610eee84610417565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f148261087b565b6001600160a01b031614610f785760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161047f565b6001600160a01b038216610fda5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161047f565b610fe5600082610c9f565b6001600160a01b038316600090815260036020526040812080546001929061100e908490611e76565b90915550506001600160a01b038216600090815260036020526040812080546001929061103c908490611df4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020611fa783398151915291a4505050565b6107e38161137d565b816001600160a01b0316836001600160a01b0316036110f15760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161047f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611169848484610f01565b611175848484846113bd565b6106e95760405162461bcd60e51b815260040161047f90611e8d565b606061119c82610c82565b6112025760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161047f565b6000828152600660205260408120805461121b90611cfb565b80601f016020809104026020016040519081016040528092919081815260200182805461124790611cfb565b80156112945780601f1061126957610100808354040283529160200191611294565b820191906000526020600020905b81548152906001019060200180831161127757829003601f168201915b5050505050905060006112a56114be565b905080516000036112b7575092915050565b8151156112e95780826040516020016112d1929190611edf565b60405160208183030381529060405292505050919050565b610ef9846114cd565b6112fb82610c82565b61135e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161047f565b600082815260066020908152604090912082516105af928401906117a5565b61138681611598565b6000818152600660205260409020805461139f90611cfb565b1590506107e35760008181526006602052604081206107e391611819565b60006001600160a01b0384163b156114b357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611401903390899088908890600401611f0e565b6020604051808303816000875af192505050801561143c575060408051601f3d908101601f1916820190925261143991810190611f4b565b60015b611499573d80801561146a576040519150601f19603f3d011682016040523d82523d6000602084013e61146f565b606091505b5080516000036114915760405162461bcd60e51b815260040161047f90611e8d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ef9565b506001949350505050565b6060600a805461039490611cfb565b60606114d882610c82565b61153c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161047f565b60006115466114be565b905060008151116115665760405180602001604052806000815250611591565b8061157084611621565b604051602001611581929190611edf565b6040516020818303038152906040525b9392505050565b60006115a38261087b565b90506115b0600083610c9f565b6001600160a01b03811660009081526003602052604081208054600192906115d9908490611e76565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020611fa7833981519152908390a45050565b6060816000036116485750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611672578061165c81611e0c565b915061166b9050600a83611f7e565b915061164c565b6000816001600160401b0381111561168c5761168c611bd7565b6040519080825280601f01601f1916602001820160405280156116b6576020820181803683370190505b5090505b8415610ef9576116cb600183611e76565b91506116d8600a86611f92565b6116e3906030611df4565b60f81b8183815181106116f8576116f8611d82565b60200101906001600160f81b031916908160001a90535061171a600a86611f7e565b94506116ba565b82805461172d90611cfb565b90600052602060002090601f01602090048101928261174f5760008555611795565b82601f106117685782800160ff19823516178555611795565b82800160010185558215611795579182015b8281111561179557823582559160200191906001019061177a565b506117a192915061184f565b5090565b8280546117b190611cfb565b90600052602060002090601f0160209004810192826117d35760008555611795565b82601f106117ec57805160ff1916838001178555611795565b82800160010185558215611795579182015b828111156117955782518255916020019190600101906117fe565b50805461182590611cfb565b6000825580601f10611835575050565b601f0160209004906000526020600020908101906107e391905b5b808211156117a15760008155600101611850565b6001600160e01b0319811681146107e357600080fd5b60006020828403121561188c57600080fd5b813561159181611864565b60005b838110156118b257818101518382015260200161189a565b838111156106e95750506000910152565b600081518084526118db816020860160208601611897565b601f01601f19169290920160200192915050565b60208152600061159160208301846118c3565b60006020828403121561191457600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461194657600080fd5b919050565b6000806040838503121561195e57600080fd5b6119678361192f565b946020939093013593505050565b60008083601f84011261198757600080fd5b5081356001600160401b0381111561199e57600080fd5b6020830191508360208260051b85010111156119b957600080fd5b9250929050565b6000806000604084860312156119d557600080fd5b6119de8461192f565b925060208401356001600160401b038111156119f957600080fd5b611a0586828701611975565b9497909650939450505050565b600080600060608486031215611a2757600080fd5b611a308461192f565b9250611a3e6020850161192f565b9150604084013590509250925092565b60008083601f840112611a6057600080fd5b5081356001600160401b03811115611a7757600080fd5b6020830191508360208285010111156119b957600080fd5b600080600060408486031215611aa457600080fd5b611aad8461192f565b925060208401356001600160401b03811115611ac857600080fd5b611a0586828701611a4e565b600060208284031215611ae657600080fd5b6115918261192f565b60008060008060408587031215611b0557600080fd5b84356001600160401b0380821115611b1c57600080fd5b611b2888838901611975565b90965094506020870135915080821115611b4157600080fd5b50611b4e87828801611975565b95989497509550505050565b60008060208385031215611b6d57600080fd5b82356001600160401b03811115611b8357600080fd5b611b8f85828601611a4e565b90969095509350505050565b60008060408385031215611bae57600080fd5b611bb78361192f565b915060208301358015158114611bcc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c0357600080fd5b611c0c8561192f565b9350611c1a6020860161192f565b92506040850135915060608501356001600160401b0380821115611c3d57600080fd5b818701915087601f830112611c5157600080fd5b813581811115611c6357611c63611bd7565b604051601f8201601f19908116603f01168101908382118183101715611c8b57611c8b611bd7565b816040528281528a6020848701011115611ca457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611cdb57600080fd5b611ce48361192f565b9150611cf26020840161192f565b90509250929050565b600181811c90821680611d0f57607f821691505b602082108103611d2f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4f6e6c79207468652063757272656e74206f776e65722063616e2063616c6c2060408201526c3a3434b990333ab731ba34b7b760991b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112611daf57600080fd5b8301803591506001600160401b03821115611dc957600080fd5b6020019150368190038213156119b957600080fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611e0757611e07611dde565b500190565b600060018201611e1e57611e1e611dde565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082821015611e8857611e88611dde565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351611ef1818460208801611897565b835190830190611f05818360208801611897565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f41908301846118c3565b9695505050505050565b600060208284031215611f5d57600080fd5b815161159181611864565b634e487b7160e01b600052601260045260246000fd5b600082611f8d57611f8d611f68565b500490565b600082611fa157611fa1611f68565b50069056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122032b1787f11c4ab93bae79177606a5761f6103fcb6614ee25621add630b2d89ee64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f43727970746f706f6c6973526f6f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543524f4f4d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f636678646174612e636f6d2f63706f2f6e66742f6a736f6e2f00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101335760003560e01c806301ffc9a71461013857806306fdde0314610160578063081812fc14610175578063095ea7b31461019557806313d16d3e146101aa57806323b872dd146101bd57806342842e0e146101d057806342966c68146101e357806348e641ce146101f65780636352211e1461020957806367025dcf1461021c57806370a082311461022f57806388d695b2146102505780638da5cb5b1461026357806395d89b41146102765780639abc83201461027e578063a0bcfc7f14610286578063a22cb46514610299578063b88d4fde146102ac578063c87b56dd146102bf578063d43021c0146102d2578063e6e46238146102f1578063e985e9c5146102fa578063eb9539d71461030d578063f2fde38b14610320575b600080fd5b61014b61014636600461187a565b610333565b60405190151581526020015b60405180910390f35b610168610385565b60405161015791906118ef565b610188610183366004611902565b610417565b604051610157919061191b565b6101a86101a336600461194b565b6104a4565b005b6101a86101b83660046119c0565b6105b4565b6101a86101cb366004611a12565b6106ef565b6101a86101de366004611a12565b610720565b6101a86101f1366004611902565b61073b565b6101a8610204366004611a8f565b6107e6565b610188610217366004611902565b61087b565b6101a861022a3660046119c0565b6108f2565b61024261023d366004611ad4565b610932565b604051908152602001610157565b6101a861025e366004611aef565b6109b9565b600754610188906001600160a01b031681565b610168610a81565b610168610a90565b6101a8610294366004611b5a565b610b1e565b6101a86102a7366004611b9b565b610b54565b6101a86102ba366004611bed565b610b63565b6101686102cd366004611902565b610b95565b6009546102df9060ff1681565b60405160ff9091168152602001610157565b61024260085481565b61014b610308366004611cc8565b610ba0565b6101a861031b3660046119c0565b610bce565b6101a861032e366004611ad4565b610c02565b60006001600160e01b031982166380ac58cd60e01b148061036457506001600160e01b03198216635b5e139f60e01b145b8061037f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461039490611cfb565b80601f01602080910402602001604051908101604052809291908181526020018280546103c090611cfb565b801561040d5780601f106103e25761010080835404028352916020019161040d565b820191906000526020600020905b8154815290600101906020018083116103f057829003601f168201915b5050505050905090565b600061042282610c82565b6104885760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104af8261087b565b9050806001600160a01b0316836001600160a01b03160361051c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161047f565b336001600160a01b038216148061053857506105388133610ba0565b6105a55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161047f565b6105af8383610c9f565b505050565b6007546001600160a01b031633146105de5760405162461bcd60e51b815260040161047f90611d35565b806106435760405162461bcd60e51b815260206004820152602f60248201527f54686520757269206172726179206e6565647320746f20686f6c64206174206c60448201526e32b0b9ba1037b732903b30b63ab29760891b606482015260840161047f565b60005b818110156106e95761065a84600854610d0d565b6106be60085484848481811061067257610672611d82565b90506020028101906106849190611d98565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610e2d92505050565b6001600860008282546106d19190611df4565b909155508190506106e181611e0c565b915050610646565b50505050565b6106f93382610e37565b6107155760405162461bcd60e51b815260040161047f90611e25565b6105af838383610f01565b6105af83838360405180602001604052806000815250610b63565b6107448161087b565b6001600160a01b0316336001600160a01b0316148061077c575061076781610417565b6001600160a01b0316336001600160a01b0316145b6107da5760405162461bcd60e51b815260206004820152602960248201527f417574686f72697a6174696f6e20746f206275726e2074686520746f6b656e206044820152683932b8bab4b932b21760b91b606482015260840161047f565b6107e38161108b565b50565b6007546001600160a01b031633146108105760405162461bcd60e51b815260040161047f90611d35565b61081c83600854610d0d565b61085e60085483838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610e2d92505050565b6001600860008282546108719190611df4565b9091555050505050565b6000818152600260205260408120546001600160a01b03168061037f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161047f565b60005b818110156106e957610920338585858581811061091457610914611d82565b90506020020135610720565b8061092a81611e0c565b9150506108f5565b60006001600160a01b03821661099d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161047f565b506001600160a01b031660009081526003602052604090205490565b828114610a205760405162461bcd60e51b815260206004820152602f60248201527f546865206c656e677468206f66207468652070726f766964656420617272617960448201526e39903237903737ba1036b0ba31b41760891b606482015260840161047f565b60005b81811015610a7a57610a6833868684818110610a4157610a41611d82565b9050602002016020810190610a569190611ad4565b85858581811061091457610914611d82565b80610a7281611e0c565b915050610a23565b5050505050565b60606001805461039490611cfb565b600a8054610a9d90611cfb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac990611cfb565b8015610b165780601f10610aeb57610100808354040283529160200191610b16565b820191906000526020600020905b815481529060010190602001808311610af957829003601f168201915b505050505081565b6007546001600160a01b03163314610b485760405162461bcd60e51b815260040161047f90611d35565b6105af600a8383611721565b610b5f338383611094565b5050565b610b6d3383610e37565b610b895760405162461bcd60e51b815260040161047f90611e25565b6106e98484848461115e565b606061037f82611191565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60005b818110156106e957610bf0338585858581811061091457610914611d82565b80610bfa81611e0c565b915050610bd1565b6007546001600160a01b03163314610c2c5760405162461bcd60e51b815260040161047f90611d35565b600780546001600160a01b0319166001600160a01b0383161790556040517fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3690610c7790839061191b565b60405180910390a150565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cd48261087b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610d635760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161047f565b610d6c81610c82565b15610db85760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161047f565b6001600160a01b0382166000908152600360205260408120805460019290610de1908490611df4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020611fa7833981519152908290a45050565b610b5f82826112f2565b6000610e4282610c82565b610ea35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161047f565b6000610eae8361087b565b9050806001600160a01b0316846001600160a01b03161480610ed55750610ed58185610ba0565b80610ef95750836001600160a01b0316610eee84610417565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f148261087b565b6001600160a01b031614610f785760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161047f565b6001600160a01b038216610fda5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161047f565b610fe5600082610c9f565b6001600160a01b038316600090815260036020526040812080546001929061100e908490611e76565b90915550506001600160a01b038216600090815260036020526040812080546001929061103c908490611df4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020611fa783398151915291a4505050565b6107e38161137d565b816001600160a01b0316836001600160a01b0316036110f15760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161047f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611169848484610f01565b611175848484846113bd565b6106e95760405162461bcd60e51b815260040161047f90611e8d565b606061119c82610c82565b6112025760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161047f565b6000828152600660205260408120805461121b90611cfb565b80601f016020809104026020016040519081016040528092919081815260200182805461124790611cfb565b80156112945780601f1061126957610100808354040283529160200191611294565b820191906000526020600020905b81548152906001019060200180831161127757829003601f168201915b5050505050905060006112a56114be565b905080516000036112b7575092915050565b8151156112e95780826040516020016112d1929190611edf565b60405160208183030381529060405292505050919050565b610ef9846114cd565b6112fb82610c82565b61135e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161047f565b600082815260066020908152604090912082516105af928401906117a5565b61138681611598565b6000818152600660205260409020805461139f90611cfb565b1590506107e35760008181526006602052604081206107e391611819565b60006001600160a01b0384163b156114b357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611401903390899088908890600401611f0e565b6020604051808303816000875af192505050801561143c575060408051601f3d908101601f1916820190925261143991810190611f4b565b60015b611499573d80801561146a576040519150601f19603f3d011682016040523d82523d6000602084013e61146f565b606091505b5080516000036114915760405162461bcd60e51b815260040161047f90611e8d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ef9565b506001949350505050565b6060600a805461039490611cfb565b60606114d882610c82565b61153c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161047f565b60006115466114be565b905060008151116115665760405180602001604052806000815250611591565b8061157084611621565b604051602001611581929190611edf565b6040516020818303038152906040525b9392505050565b60006115a38261087b565b90506115b0600083610c9f565b6001600160a01b03811660009081526003602052604081208054600192906115d9908490611e76565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020611fa7833981519152908390a45050565b6060816000036116485750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611672578061165c81611e0c565b915061166b9050600a83611f7e565b915061164c565b6000816001600160401b0381111561168c5761168c611bd7565b6040519080825280601f01601f1916602001820160405280156116b6576020820181803683370190505b5090505b8415610ef9576116cb600183611e76565b91506116d8600a86611f92565b6116e3906030611df4565b60f81b8183815181106116f8576116f8611d82565b60200101906001600160f81b031916908160001a90535061171a600a86611f7e565b94506116ba565b82805461172d90611cfb565b90600052602060002090601f01602090048101928261174f5760008555611795565b82601f106117685782800160ff19823516178555611795565b82800160010185558215611795579182015b8281111561179557823582559160200191906001019061177a565b506117a192915061184f565b5090565b8280546117b190611cfb565b90600052602060002090601f0160209004810192826117d35760008555611795565b82601f106117ec57805160ff1916838001178555611795565b82800160010185558215611795579182015b828111156117955782518255916020019190600101906117fe565b50805461182590611cfb565b6000825580601f10611835575050565b601f0160209004906000526020600020908101906107e391905b5b808211156117a15760008155600101611850565b6001600160e01b0319811681146107e357600080fd5b60006020828403121561188c57600080fd5b813561159181611864565b60005b838110156118b257818101518382015260200161189a565b838111156106e95750506000910152565b600081518084526118db816020860160208601611897565b601f01601f19169290920160200192915050565b60208152600061159160208301846118c3565b60006020828403121561191457600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461194657600080fd5b919050565b6000806040838503121561195e57600080fd5b6119678361192f565b946020939093013593505050565b60008083601f84011261198757600080fd5b5081356001600160401b0381111561199e57600080fd5b6020830191508360208260051b85010111156119b957600080fd5b9250929050565b6000806000604084860312156119d557600080fd5b6119de8461192f565b925060208401356001600160401b038111156119f957600080fd5b611a0586828701611975565b9497909650939450505050565b600080600060608486031215611a2757600080fd5b611a308461192f565b9250611a3e6020850161192f565b9150604084013590509250925092565b60008083601f840112611a6057600080fd5b5081356001600160401b03811115611a7757600080fd5b6020830191508360208285010111156119b957600080fd5b600080600060408486031215611aa457600080fd5b611aad8461192f565b925060208401356001600160401b03811115611ac857600080fd5b611a0586828701611a4e565b600060208284031215611ae657600080fd5b6115918261192f565b60008060008060408587031215611b0557600080fd5b84356001600160401b0380821115611b1c57600080fd5b611b2888838901611975565b90965094506020870135915080821115611b4157600080fd5b50611b4e87828801611975565b95989497509550505050565b60008060208385031215611b6d57600080fd5b82356001600160401b03811115611b8357600080fd5b611b8f85828601611a4e565b90969095509350505050565b60008060408385031215611bae57600080fd5b611bb78361192f565b915060208301358015158114611bcc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c0357600080fd5b611c0c8561192f565b9350611c1a6020860161192f565b92506040850135915060608501356001600160401b0380821115611c3d57600080fd5b818701915087601f830112611c5157600080fd5b813581811115611c6357611c63611bd7565b604051601f8201601f19908116603f01168101908382118183101715611c8b57611c8b611bd7565b816040528281528a6020848701011115611ca457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611cdb57600080fd5b611ce48361192f565b9150611cf26020840161192f565b90509250929050565b600181811c90821680611d0f57607f821691505b602082108103611d2f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4f6e6c79207468652063757272656e74206f776e65722063616e2063616c6c2060408201526c3a3434b990333ab731ba34b7b760991b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112611daf57600080fd5b8301803591506001600160401b03821115611dc957600080fd5b6020019150368190038213156119b957600080fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611e0757611e07611dde565b500190565b600060018201611e1e57611e1e611dde565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082821015611e8857611e88611dde565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351611ef1818460208801611897565b835190830190611f05818360208801611897565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f41908301846118c3565b9695505050505050565b600060208284031215611f5d57600080fd5b815161159181611864565b634e487b7160e01b600052601260045260246000fd5b600082611f8d57611f8d611f68565b500490565b600082611fa157611fa1611f68565b50069056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122032b1787f11c4ab93bae79177606a5761f6103fcb6614ee25621add630b2d89ee64736f6c634300080d0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f43727970746f706f6c6973526f6f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543524f4f4d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f636678646174612e636f6d2f63706f2f6e66742f6a736f6e2f00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): CryptopolisRoom
Arg [1] : symbol_ (string): CROOM
Arg [2] : _initialBaseUri (string): https://cfxdata.com/cpo/nft/json/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 43727970746f706f6c6973526f6f6d0000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 43524f4f4d000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [8] : 68747470733a2f2f636678646174612e636f6d2f63706f2f6e66742f6a736f6e
Arg [9] : 2f00000000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

After eight months of developing with a team of 30+ people, the time to go into the alpha testing stages is upon us. To celebrate, we are doing a one-off (never to be done again) initial room offering of our Genesis apartments. Rooms will be the most valuable assets in the gam...

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.