Contract 0x1b22e8d163135c18e262a8ee24bac871e6461ef2

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xbc01b2b9246758fe80ccb10208644ed1ed013026e536cb83fe00409c8f1cf86fSet Approval For...400525162023-03-07 1:41:0725 days 21 hrs ago0x68420fbb2540f82d895f4235694d58bc8d86da86 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.005588711797 121.122468026
0x7cae6744130ac463c9b23de99d039305927a95574f642b4662000f8d856932acSet Approval For...395122122023-02-20 14:11:3440 days 8 hrs ago0x78f4f51b254bfc2fdf64b6ea91c2baa9464f7856 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.007255050884 157.236533323
0xdae26fe7240e08d1febf7426c59bf115651efb045add1717f4463ca1d042b415Set Approval For...394170092023-02-18 3:10:4742 days 19 hrs ago0xb7f8984a21aec3dd21441f1558249987397e7f5b IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.008002796389 173.442196526
0x7e3273c6ed22140622e09cc5fb27dfcdb68f513ff75e16994304d603ac82f9c6Set Approval For...394169462023-02-18 3:08:0142 days 19 hrs ago0xdf881f48e30f78fef0ef5fd08afb026c994e38f6 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.008262242439 179.06509263
0x31979407ba54868d3c93b1bac19811428c114fbaae178e92b3328236e9199764Set Approval For...394159832023-02-18 2:29:2542 days 20 hrs ago0xf451a5ff393851753098b62bf8ac6cf33be81f43 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.008733899506 189.287174231
0xbbb7838283d4245f3277b4be1b09254be45dc6f888c6c4e953e598c918370b6bSet Approval For...338793312022-10-03 13:04:25180 days 9 hrs ago0x63577e7034eeec4446fdcb58a547bda878ebf33b IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.000742883716 30.555000043
0x72a1de720f6e24a01a4161e13698f8c7811e2e5d530b003742f9647973215374Set Approval For...334970892022-09-24 6:35:14189 days 16 hrs ago0xd54de94f7d80695090b6cc5024219df346300d41 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00138423 30.000000015
0x6f72d3768882c1e4ab23c48f2e7857aac8e3dcca0e143dfbf1fc51095eb96db7Set Approval For...334553132022-09-23 6:13:52190 days 16 hrs ago0xef30e95537d49b7c7dad85a68aa4c6b5232f6716 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00140559451 30.463026609
0x713e44bc5944a790ed5c12cb8edf154c668964ec8a935f51fd37301a76d1f2f4Set Approval For...334552522022-09-23 6:11:46190 days 16 hrs ago0xd5c9895b9bff52b15b5963f0ec482f069e333cf8 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00138423 30.000000014
0x76a6fce937e7b389e193ca844a0c362572aaac218d68567f66e1d2a6d23d9efeSet Approval For...334552042022-09-23 6:10:06190 days 16 hrs ago0xa17591cc132a17c6e107e30eba10eadc2d95c850 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00138423 30.000000013
0xc5755e1e2712eb0f2a173f4d697bbd25bc42139b7bf5f27256ef6782c7519269Set Approval For...334551602022-09-23 6:08:34190 days 16 hrs ago0x6c4056fc498ea099b4f1257df28bf5d70cc71af6 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00078723 30.000000013
0x500984cf92603b781dc79744118f9718b25d08c196114bf2b1b91af9a3dfe079Set Approval For...334551582022-09-23 6:08:30190 days 16 hrs ago0x6c4056fc498ea099b4f1257df28bf5d70cc71af6 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00078723 30.000000013
0x89d7f1997dd27f68590300188785d5b20a055d317389f62dc45456c165b96b0dSet Approval For...334551562022-09-23 6:08:26190 days 16 hrs ago0x6c4056fc498ea099b4f1257df28bf5d70cc71af6 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00138423 30.000000013
0x427024b0cedb874c3f744fd7e54f0aaadaaeb189774d256b81ab3bc1baf36739Set Approval For...330045072022-09-12 8:21:18201 days 14 hrs ago0x01ec4a63e8bd579e1a2cea4763cf3a5da5e48e8b IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.000748560806 30.788500239
0xb2cecd13c4434a0949a35af14387fc44bec73052cd337e24346a3928698f32e2Set Approval For...327570952022-09-06 8:58:52207 days 13 hrs ago0xbc4bede6fae83d2ad830d7ad5ab86a6c78466cf4 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00072939 30.000000013
0x9b0a5d1425830aed3baccfaecf575fbaad5fc558912e79d534bf02aadf4cad1eSet Approval For...327561492022-09-06 8:26:20207 days 14 hrs ago0xf7a91d78d4d3f1779cdab33e56b5942b27331fe1 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.000754453834 31.030882
0x12cdfeadfea6e768e5f60373496f011bf313e360333e65a4dcd81cb7ce20eb16Set Approval For...324781862022-08-30 9:55:12214 days 12 hrs ago0x603b8956839449c688bc465d56c591c553f4c7a9 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.003162357454 68.53682094
0xaebb549040d588acf51e8e437edcc13807ba4c337306a1b01eff7b7fbfc68ed2Set Approval For...312693552022-07-29 8:36:52246 days 14 hrs ago0x9bdca10e6fc2a7194b150031d74121bc235fcde5 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.0023112550
0x2fce046e653c69f7d1270f858212c4a49169aafb90d489e93b6f29151285ba24Set Approval For...312237322022-07-28 4:53:08247 days 17 hrs ago imtokener.nft  IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.0023112550
0xb0d8d7ac31f06d8ee4015c2a5710d8b54d799ca677e6f25ed3cbbe7a30a36626Set Approval For...307080862022-07-14 8:32:29261 days 14 hrs ago0xb0ac8537c7e0f468ce6e30a7bbdc4cea4d198470 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.002541184049 54.9742358
0x4adf93bdcb3299b3abc8a7165f4cfb1dbeb72a09951b085e9d10474899ac5354Transfer From306025552022-07-11 12:25:43264 days 10 hrs ago0x0b56f901a391a788d30f7e3ded64d2010d90052a IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00121915808 30.07
0x3f52c968670700934540a48fb54e39a4c7631453037adbe972441a75a892c30eTransfer From306025472022-07-11 12:25:27264 days 10 hrs ago0xf733144656433429f78bdb97f1dc6af2e2c3b7d9 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00121915808 30.070000003
0x5529580a1070c6e6aa1e10699b33774a2c5404003d47f7c39a83f19ad54afc62Transfer From306025382022-07-11 12:25:09264 days 10 hrs ago0xd6c54a7287b12f0142ef6c22e8ba26b08bf0893a IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00121915808 30.070000003
0x286c30c115c28108cc34630a65f868a37028835d1232f018b6f84b6fdb1fab9dTransfer From306025302022-07-11 12:24:53264 days 10 hrs ago0x4f04294b92be8c5436b7a6b15f394332e946393b IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00121915808 30.070000003
0xc300efa51429399dd5ce0484ae0fed6ac6afe0ff794c98839c8db4be58b23309Transfer From306025152022-07-11 12:24:23264 days 10 hrs ago0x7f19acf9e60d7f756f061de877d6b731d759f778 IN  0x1b22e8d163135c18e262a8ee24bac871e6461ef20 MATIC0.00121915808 30.07
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xfc4358f084588012dd9e0892a7de0406a3b1bc5001886bc86d93124a6b4b93fb272766002022-04-18 7:48:10348 days 14 hrs ago 0x1b1e0b9e5fa704984f2b45954fca8a5a4bd65fd8  Contract Creation0 MATIC
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x14b5aaff6173C288bFcb6Ee63321673F15068279

Contract Name:
MetacraftSkin

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 2 of 13 : 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 overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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 || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

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

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

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

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

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

        _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 3 of 13 : 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 4 of 13 : 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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 5 of 13 : 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 6 of 13 : 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 7 of 13 : 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 8 of 13 : 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 9 of 13 : 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 10 of 13 : 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 11 of 13 : IMetacraftSkin.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

interface IMetacraftSkin {
    struct tokenMeta {
        string texture;
        string name;
        string desc;
        string attributes;
    }

    function totalSupply() external view returns (uint256);

    function supply() external view returns (uint256);

    function official() external view returns (bool);

    function factory() external view returns (address);

    function attributesAble() external view returns (bool);

    function imagePrefix() external view returns (string memory);

    function tokenMetaByTokenID(uint256)
        external
        view
        returns (tokenMeta memory);

    function mint(
        uint256,
        address,
        tokenMeta memory
    ) external;

    function batchMint(
        uint256[] memory,
        address,
        tokenMeta[] memory
    ) external;
}

File 12 of 13 : Library.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

library StringUtil {
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // 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);
    }
}

File 13 of 13 : MetacraftSkin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "./IMetacraftSkin.sol";
import "./Library.sol";

contract MetacraftSkin is ERC721, Ownable, IMetacraftSkin {
    uint256 private _totalSupply;
    uint256 private _supply = 0;
    bool private _official;
    address private _factory;
    bool private _attributesAble;
    string private _imagePrefix = "https://skin.metacraft.cc/ipfs/";
    mapping(uint256 => tokenMeta) private _tokenMetas;

    constructor(
        string memory name_,
        string memory symbol_,
        bool official_,
        uint256 supply_
    ) ERC721(string(abi.encodePacked("MetacraftSkin: ", name_)), symbol_) {
        _official = official_;
        _totalSupply = supply_;
        _factory = _msgSender();
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function supply() public view override returns (uint256) {
        return _supply;
    }

    function official() public view override returns (bool) {
        return _official;
    }

    function factory() public view override returns (address) {
        return _factory;
    }

    function attributesAble() public view override returns (bool) {
        return _attributesAble;
    }

    function imagePrefix() public view override returns (string memory) {
        return _imagePrefix;
    }

    function tokenMetaByTokenID(uint256 tokenId)
        public
        view
        override
        returns (tokenMeta memory)
    {
        return _tokenMetas[tokenId];
    }

    function mint(
        uint256 tokenID,
        address to,
        tokenMeta memory meta
    ) public override onlyOwner {
        require(_supply < _totalSupply, "skin total supply limit");
        _supply += 1;
        _tokenMetas[tokenID] = meta;
        _safeMint(to, tokenID);
    }

    function batchMint(
        uint256[] memory tokenIDs,
        address to,
        tokenMeta[] memory metas
    ) public override onlyOwner {
        require(tokenIDs.length == metas.length, "params invalid");
        require(
            _supply + tokenIDs.length <= _totalSupply,
            "skin total supply limit"
        );
        _supply += tokenIDs.length;
        for (uint256 i = 0; i < tokenIDs.length; i++) {
            _tokenMetas[tokenIDs[i]] = metas[i];
            _safeMint(to, tokenIDs[i]);
        }
    }

    function ableAttributes() public {
        require(_factory == _msgSender(), "only factory can able attributes");
        _attributesAble = true;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        tokenMeta memory meta = _tokenMetas[tokenId];
        string memory attributes = "[]";
        if (_attributesAble) {
            attributes = meta.attributes;
        }
        if (bytes(attributes).length == 0) {
            attributes = "[]";
        }
        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "',
                        meta.name,
                        " #",
                        StringUtil.toString(tokenId),
                        '",',
                        '"description": "',
                        meta.desc,
                        '",'
                        '"image":"',
                        _imagePrefix,
                        meta.texture,
                        '",',
                        '"texture":"ipfs://',
                        meta.texture,
                        '",',
                        '"attributes": ',
                        attributes,
                        "}"
                    )
                )
            )
        );
        return string(abi.encodePacked("data:application/json;base64,", json));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"bool","name":"official_","type":"bool"},{"internalType":"uint256","name":"supply_","type":"uint256"}],"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":[],"name":"ableAttributes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"attributesAble","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"string","name":"texture","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"desc","type":"string"},{"internalType":"string","name":"attributes","type":"string"}],"internalType":"struct IMetacraftSkin.tokenMeta[]","name":"metas","type":"tuple[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imagePrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"tokenID","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"string","name":"texture","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"desc","type":"string"},{"internalType":"string","name":"attributes","type":"string"}],"internalType":"struct IMetacraftSkin.tokenMeta","name":"meta","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"official","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenMetaByTokenID","outputs":[{"components":[{"internalType":"string","name":"texture","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"desc","type":"string"},{"internalType":"string","name":"attributes","type":"string"}],"internalType":"struct IMetacraftSkin.tokenMeta","name":"","type":"tuple"}],"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"}]

600060085560c0604052601f60808190527f68747470733a2f2f736b696e2e6d65746163726166742e63632f697066732f0060a09081526200004591600a919062000184565b503480156200005357600080fd5b5060405162002e8a38038062002e8a8339810160408190526200007691620002b9565b836040516020016200008991906200033f565b60408051601f1981840301815291905280518490620000b090600090602085019062000184565b508051620000c690600190602084019062000184565b505050620000e3620000dd6200012e60201b60201c565b62000132565b6009805460ff19168315151790556007819055620000fe3390565b600960016101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050620003fe565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200019290620003ab565b90600052602060002090601f016020900481019282620001b6576000855562000201565b82601f10620001d157805160ff191683800117855562000201565b8280016001018555821562000201579182015b8281111562000201578251825591602001919060010190620001e4565b506200020f92915062000213565b5090565b5b808211156200020f576000815560010162000214565b600082601f8301126200023b578081fd5b81516001600160401b0380821115620002585762000258620003e8565b604051601f8301601f19908116603f01168101908282118183101715620002835762000283620003e8565b816040528381528660208588010111156200029c578485fd5b620002af84602083016020890162000378565b9695505050505050565b60008060008060808587031215620002cf578384fd5b84516001600160401b0380821115620002e6578586fd5b620002f4888389016200022a565b955060208701519150808211156200030a578485fd5b5062000319878288016200022a565b935050604085015180151581146200032f578283fd5b6060959095015193969295505050565b60006e026b2ba30b1b930b33a29b5b4b71d1608d1b825282516200036b81600f85016020870162000378565b91909101600f0192915050565b60005b83811015620003955781810151838201526020016200037b565b83811115620003a5576000848401525b50505050565b600281046001821680620003c057607f821691505b60208210811415620003e257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612a7c806200040e6000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c80636352211e116100ee5780639b61b82611610097578063c45a015511610071578063c45a015514610351578063c87b56dd14610368578063e985e9c51461037b578063f2fde38b146103b7576101ae565b80639b61b82614610323578063a22cb4651461032b578063b88d4fde1461033e576101ae565b80638da5cb5b116100c85780638da5cb5b146102ff57806395d89b4114610310578063980389e014610318576101ae565b80636352211e146102d157806370a08231146102e4578063715018a6146102f7576101ae565b806318160ddd1161015b57806326fa54cb1161013557806326fa54cb1461028357806342842e0e146102a35780634ba40f42146102b65780634c8f4052146102be576101ae565b806318160ddd1461025557806323b872dd1461025d57806323b8d49b14610270576101ae565b8063070bd4b91161018c578063070bd4b914610202578063081812fc14610217578063095ea7b314610242576101ae565b806301ffc9a7146101b3578063047fc9aa146101db57806306fdde03146101ed575b600080fd5b6101c66101c1366004612425565b6103ca565b60405190151581526020015b60405180910390f35b6008545b6040519081526020016101d2565b6101f5610469565b6040516101d291906127d0565b610215610210366004612475565b6104fb565b005b61022a61022536600461245d565b61064e565b6040516001600160a01b0390911681526020016101d2565b610215610250366004612332565b6106e3565b6007546101df565b61021561026b366004612244565b610810565b6101c6600954600160a81b900460ff1690565b61029661029136600461245d565b610897565b6040516101d291906127e3565b6102156102b1366004612244565b610b29565b610215610b44565b6102156102cc36600461235b565b610bd4565b61022a6102df36600461245d565b610e20565b6101df6102f23660046121f8565b610eab565b610215610f45565b6006546001600160a01b031661022a565b6101f5610fab565b60095460ff166101c6565b6101f5610fba565b6102156103393660046122f8565b610fc9565b61021561034c36600461227f565b610fd8565b61022a60095461010090046001600160a01b031690565b6101f561037636600461245d565b611060565b6101c6610389366004612212565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102156103c53660046121f8565b611395565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061042d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061046157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b90505b919050565b60606000805461047890612944565b80601f01602080910402602001604051908101604052809291908181526020018280546104a490612944565b80156104f15780601f106104c6576101008083540402835291602001916104f1565b820191906000526020600020905b8154815290600101906020018083116104d457829003601f168201915b5050505050905090565b6006546001600160a01b0316331461055a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600754600854106105ad5760405162461bcd60e51b815260206004820152601760248201527f736b696e20746f74616c20737570706c79206c696d69740000000000000000006044820152606401610551565b6001600860008282546105c091906128b6565b90915550506000838152600b602090815260409091208251805184936105ea928492910190611fa9565b5060208281015180516106039260018501920190611fa9565b506040820151805161061f916002840191602090910190611fa9565b506060820151805161063b916003840191602090910190611fa9565b509050506106498284611477565b505050565b6000818152600260205260408120546001600160a01b03166106c75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610551565b506000908152600460205260409020546001600160a01b031690565b60006106ee82610e20565b9050806001600160a01b0316836001600160a01b031614156107785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610551565b336001600160a01b038216148061079457506107948133610389565b6108065760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610551565b6106498383611491565b61081a338261150c565b61088c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610551565b610649838383611603565b6108c26040518060800160405280606081526020016060815260200160608152602001606081525090565b6000828152600b6020526040908190208151608081019092528054829082906108ea90612944565b80601f016020809104026020016040519081016040528092919081815260200182805461091690612944565b80156109635780601f1061093857610100808354040283529160200191610963565b820191906000526020600020905b81548152906001019060200180831161094657829003601f168201915b5050505050815260200160018201805461097c90612944565b80601f01602080910402602001604051908101604052809291908181526020018280546109a890612944565b80156109f55780601f106109ca576101008083540402835291602001916109f5565b820191906000526020600020905b8154815290600101906020018083116109d857829003601f168201915b50505050508152602001600282018054610a0e90612944565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3a90612944565b8015610a875780601f10610a5c57610100808354040283529160200191610a87565b820191906000526020600020905b815481529060010190602001808311610a6a57829003601f168201915b50505050508152602001600382018054610aa090612944565b80601f0160208091040260200160405190810160405280929190818152602001828054610acc90612944565b8015610b195780601f10610aee57610100808354040283529160200191610b19565b820191906000526020600020905b815481529060010190602001808311610afc57829003601f168201915b5050505050815250509050919050565b61064983838360405180602001604052806000815250610fd8565b6009546001600160a01b03610100909104163314610ba45760405162461bcd60e51b815260206004820181905260248201527f6f6e6c7920666163746f72792063616e2061626c6520617474726962757465736044820152606401610551565b600980547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6006546001600160a01b03163314610c2e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610551565b8051835114610c7f5760405162461bcd60e51b815260206004820152600e60248201527f706172616d7320696e76616c69640000000000000000000000000000000000006044820152606401610551565b6007548351600854610c9191906128b6565b1115610cdf5760405162461bcd60e51b815260206004820152601760248201527f736b696e20746f74616c20737570706c79206c696d69740000000000000000006044820152606401610551565b825160086000828254610cf291906128b6565b90915550600090505b8351811015610e1a57818181518110610d2457634e487b7160e01b600052603260045260246000fd5b6020026020010151600b6000868481518110610d5057634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000820151816000019080519060200190610d82929190611fa9565b506020828101518051610d9b9260018501920190611fa9565b5060408201518051610db7916002840191602090910190611fa9565b5060608201518051610dd3916003840191602090910190611fa9565b50905050610e0883858381518110610dfb57634e487b7160e01b600052603260045260246000fd5b6020026020010151611477565b80610e128161297f565b915050610cfb565b50505050565b6000818152600260205260408120546001600160a01b0316806104615760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610551565b60006001600160a01b038216610f295760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610551565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f9f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610551565b610fa960006117dd565b565b60606001805461047890612944565b6060600a805461047890612944565b610fd433838361183c565b5050565b610fe2338361150c565b6110545760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610551565b610e1a8484848461190b565b60606000600b600084815260200190815260200160002060405180608001604052908160008201805461109290612944565b80601f01602080910402602001604051908101604052809291908181526020018280546110be90612944565b801561110b5780601f106110e05761010080835404028352916020019161110b565b820191906000526020600020905b8154815290600101906020018083116110ee57829003601f168201915b5050505050815260200160018201805461112490612944565b80601f016020809104026020016040519081016040528092919081815260200182805461115090612944565b801561119d5780601f106111725761010080835404028352916020019161119d565b820191906000526020600020905b81548152906001019060200180831161118057829003601f168201915b505050505081526020016002820180546111b690612944565b80601f01602080910402602001604051908101604052809291908181526020018280546111e290612944565b801561122f5780601f106112045761010080835404028352916020019161122f565b820191906000526020600020905b81548152906001019060200180831161121257829003601f168201915b5050505050815260200160038201805461124890612944565b80601f016020809104026020016040519081016040528092919081815260200182805461127490612944565b80156112c15780601f10611296576101008083540402835291602001916112c1565b820191906000526020600020905b8154815290600101906020018083116112a457829003601f168201915b5050509190925250506040805180820190915260028152615b5d60f01b602082015260095492935091600160a81b900460ff16159050611302575060608101515b805161132357506040805180820190915260028152615b5d60f01b60208201525b6000611369836020015161133687611989565b60408087015187519151611355949392600a9181908a90602001612508565b604051602081830303815290604052611ad8565b90508060405160200161137c919061274f565b6040516020818303038152906040529350505050919050565b6006546001600160a01b031633146113ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610551565b6001600160a01b03811661146b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610551565b611474816117dd565b50565b610fd4828260405180602001604052806000815250611c83565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906114d382610e20565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610551565b600061159083610e20565b9050806001600160a01b0316846001600160a01b031614806115cb5750836001600160a01b03166115c08461064e565b6001600160a01b0316145b806115fb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661161682610e20565b6001600160a01b0316146116925760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610551565b6001600160a01b03821661170d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610551565b611718600082611491565b6001600160a01b0383166000908152600360205260408120805460019290611741908490612901565b90915550506001600160a01b038216600090815260036020526040812080546001929061176f9084906128b6565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4610649565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561189e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610551565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611916848484611603565b61192284848484611d01565b610e1a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610551565b6060816119ca575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610464565b8160005b81156119f457806119de8161297f565b91506119ed9050600a836128ce565b91506119ce565b60008167ffffffffffffffff811115611a1d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a47576020820181803683370190505b5090505b84156115fb57611a5c600183612901565b9150611a69600a8661299a565b611a749060306128b6565b60f81b818381518110611a9757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ad1600a866128ce565b9450611a4b565b805160609080611af8575050604080516020810190915260008152610464565b60006003611b078360026128b6565b611b1191906128ce565b611b1c9060046128e2565b90506000611b2b8260206128b6565b67ffffffffffffffff811115611b5157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b7b576020820181803683370190505b5090506000604051806060016040528060408152602001612a07604091399050600181016020830160005b86811015611c07576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611ba6565b506003860660018114611c215760028114611c4d57611c75565b7f3d3d000000000000000000000000000000000000000000000000000000000000600119830152611c75565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b611c8d8383611e59565b611c9a6000848484611d01565b6106495760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610551565b60006001600160a01b0384163b15611e4e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d45903390899088908890600401612794565b602060405180830381600087803b158015611d5f57600080fd5b505af1925050508015611d8f575060408051601f3d908101601f19168201909252611d8c91810190612441565b60015b611e34573d808015611dbd576040519150601f19603f3d011682016040523d82523d6000602084013e611dc2565b606091505b508051611e2c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610551565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115fb565b506001949350505050565b6001600160a01b038216611eaf5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610551565b6000818152600260205260409020546001600160a01b031615611f145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610551565b6001600160a01b0382166000908152600360205260408120805460019290611f3d9084906128b6565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610fd4565b828054611fb590612944565b90600052602060002090601f016020900481019282611fd7576000855561201d565b82601f10611ff057805160ff191683800117855561201d565b8280016001018555821561201d579182015b8281111561201d578251825591602001919060010190612002565b5061202992915061202d565b5090565b5b80821115612029576000815560010161202e565b600067ffffffffffffffff83111561205c5761205c6129da565b61206f601f8401601f1916602001612861565b905082815283838301111561208357600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461046457600080fd5b600082601f8301126120c1578081fd5b813560206120d66120d183612892565b612861565b82815281810190858301855b8581101561210b576120f9898684358b010161213e565b845292840192908401906001016120e2565b5090979650505050505050565b600082601f830112612128578081fd5b61213783833560208501612042565b9392505050565b60006080828403121561214f578081fd5b6121596080612861565b9050813567ffffffffffffffff8082111561217357600080fd5b61217f85838601612118565b8352602084013591508082111561219557600080fd5b6121a185838601612118565b602084015260408401359150808211156121ba57600080fd5b6121c685838601612118565b604084015260608401359150808211156121df57600080fd5b506121ec84828501612118565b60608301525092915050565b600060208284031215612209578081fd5b6121378261209a565b60008060408385031215612224578081fd5b61222d8361209a565b915061223b6020840161209a565b90509250929050565b600080600060608486031215612258578081fd5b6122618461209a565b925061226f6020850161209a565b9150604084013590509250925092565b60008060008060808587031215612294578081fd5b61229d8561209a565b93506122ab6020860161209a565b925060408501359150606085013567ffffffffffffffff8111156122cd578182fd5b8501601f810187136122dd578182fd5b6122ec87823560208401612042565b91505092959194509250565b6000806040838503121561230a578182fd5b6123138361209a565b915060208301358015158114612327578182fd5b809150509250929050565b60008060408385031215612344578182fd5b61234d8361209a565b946020939093013593505050565b60008060006060848603121561236f578283fd5b833567ffffffffffffffff80821115612386578485fd5b818601915086601f830112612399578485fd5b813560206123a96120d183612892565b82815281810190858301838502870184018c10156123c557898afd5b8996505b848710156123e75780358352600196909601959183019183016123c9565b5097506123f7905088820161209a565b95505050604086013591508082111561240e578283fd5b5061241b868287016120b1565b9150509250925092565b600060208284031215612436578081fd5b8135612137816129f0565b600060208284031215612452578081fd5b8151612137816129f0565b60006020828403121561246e578081fd5b5035919050565b600080600060608486031215612489578081fd5b833592506124996020850161209a565b9150604084013567ffffffffffffffff8111156124b4578182fd5b61241b8682870161213e565b600081518084526124d8816020860160208601612918565b601f01601f19169290920160200192915050565b600081516124fe818560208601612918565b9290920192915050565b60007f7b226e616d65223a2022000000000000000000000000000000000000000000008252885161254081600a850160208d01612918565b7f2023000000000000000000000000000000000000000000000000000000000000600a91840191820152885161257d81600c840160208d01612918565b61088b60f21b600c92909101918201527f226465736372697074696f6e223a202200000000000000000000000000000000600e82015287516125c681601e840160208c01612918565b7f222c22696d616765223a22000000000000000000000000000000000000000000601e9290910191820152865482906002810460018083168061260a57607f831692505b6020831081141561262957634e487b7160e01b87526022600452602487fd5b80801561263d576001811461265457612687565b60ff19851660298801526029848801019550612687565b60008d815260209020885b8581101561267c578154898201602901529084019060200161265f565b505060298488010195505b50505050506127406127176127116126e86126ab6126e26126b96126ab888f6124ec565b61088b60f21b815260020190565b7f2274657874757265223a22697066733a2f2f0000000000000000000000000000815260120190565b8b6124ec565b7f2261747472696275746573223a200000000000000000000000000000000000008152600e0190565b876124ec565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b9b9a5050505050505050505050565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008252825161278781601d850160208701612918565b91909101601d0192915050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526127c660808301846124c0565b9695505050505050565b60006020825261213760208301846124c0565b6000602082528251608060208401526127ff60a08401826124c0565b90506020840151601f198085840301604086015261281d83836124c0565b9250604086015191508085840301606086015261283a83836124c0565b925060608601519150808584030160808601525061285882826124c0565b95945050505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561288a5761288a6129da565b604052919050565b600067ffffffffffffffff8211156128ac576128ac6129da565b5060209081020190565b600082198211156128c9576128c96129ae565b500190565b6000826128dd576128dd6129c4565b500490565b60008160001904831182151516156128fc576128fc6129ae565b500290565b600082821015612913576129136129ae565b500390565b60005b8381101561293357818101518382015260200161291b565b83811115610e1a5750506000910152565b60028104600182168061295857607f821691505b6020821081141561297957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612993576129936129ae565b5060010190565b6000826129a9576129a96129c4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461147457600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d1c9d54ea56cc4d5a48b918bc739d61d0028e7403b532246f9fd3085b891437964736f6c63430008020033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000001543727970746f20436f6e7374656c6c6174696f6e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000104d65746163726166742653686f774d6500000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.