Contract 0x69a4EE7cD3e1C10B844E78D25Fc444058B94D3Fd

 
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x817b8a35466e83d2a670d66ef6102f0117d5cb4a882c3482287ff3c7496431bcSafe Transfer Fr...191800682021-09-16 19:33:178 hrs 39 mins ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00085545
0x7add3712dfd2404ae23d27803bcef6c9fd2937938485c3dc430418c142add07dSafe Transfer Fr...190578032021-09-13 10:46:113 days 17 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.0001899099
0x34db5deca7c4f38fb55bbff4cc0dc58352c2aeab6f77ddec3cd31157d1fc2268Safe Transfer Fr...188238962021-09-06 21:25:0510 days 6 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00005703
0x86af065ea52e248bb6a13e9fafb15927ac95c11f802b63d15ffdcc944f9b081cSafe Transfer Fr...187868502021-09-05 21:38:1311 days 6 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000057018
0xa4b9b137bc57782602d3839219aecfb073b66bd1a5c3042a8e80aae7dbff5521Safe Transfer Fr...185662302021-08-30 21:00:2017 days 7 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000062733
0x8affe04ade00a63aa10051b0e13bd100a41a7820e039d9612a877023382f302dSafe Transfer Fr...184527262021-08-27 14:08:0620 days 14 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00005703
0xd9831eab37b63c96e07213a452515fe0b5f43a74b4debaeaa8da8d4e3265c14bSafe Transfer Fr...183479312021-08-24 14:53:4523 days 13 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000633033
0x89ea1ad283e97816a53abafa49eb0c18a364f84f3668e8ebd4dddaea2cf28b8bSafe Transfer Fr...183449732021-08-24 13:00:5623 days 15 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00021284264
0x45b55ff250f0e1ba3870e981b61862051b86212a655864de21e30b459d248437Safe Transfer Fr...182743232021-08-22 16:06:5925 days 12 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00017109
0x7e2d241e17b2225e95aa0a9175baddbaead3295bb20874502af38f3964beb353Safe Transfer Fr...182636072021-08-22 9:24:5925 days 18 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000104450445
0x00fcd268a47a48aa1a93033a9edd0603f500d3fc6e73e5ef04cfbde0e4d63e11Safe Transfer Fr...182489862021-08-21 23:46:1326 days 4 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00005703
0x50e523d942530cc0d34204c15a9a7e1db35cb3c2d399e8dff40c723148c018ddSafe Transfer Fr...182378672021-08-21 16:34:4226 days 11 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00006328998
0xccc85b265efe75dd26449934a001bba5d43dacdbc91032f939ea160f47849b9eSafe Transfer Fr...182058462021-08-20 19:56:4027 days 8 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.0000576003
0xfc009bf6cce33063defe8711a7dcb4347afb328ee9f688f69f621fb3aff5bf19Safe Transfer Fr...181629972021-08-19 16:12:3528 days 11 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.0005703
0x76236c253e6be83623b37e277bb01b4de1c50924b6d52a1c659ff9a65ad8027fSafe Transfer Fr...181560952021-08-19 11:33:1728 days 16 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00005703
0x445bcdc7824486f1302800cc61150278e3d69b248edd9e3b6ac1d9a529730963Safe Transfer Fr...181223312021-08-18 14:00:3329 days 14 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.0001944723
0xaa4485a127c4cd54baaf12821c3c1600f11792d4034e9195cd50bea0ef80d96aSafe Transfer Fr...180903402021-08-17 17:19:1430 days 10 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000062733
0xf634ba805ff7ad2d2aed5e4a6dcf85385018f7cd2c35d83b88e30cb608155652Safe Transfer Fr...180700412021-08-17 4:23:5130 days 23 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000068436
0xd04c2e98f40529da3ad32aefc0c2310143f0baad5898346dea4b0655f7d41404Safe Transfer Fr...180678732021-08-17 3:02:5431 days 1 hr ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000062733
0xef24cd6eb8e36faf8fd63f48e848c5d02f8b800f5a8fde3dac1dce25b23c1be4Safe Transfer Fr...180608982021-08-16 22:15:2831 days 5 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00005703
0xbca6e68d3d5d7ef0186da0d6cfcc8cd22a225fc09f283dbfd1a143bb2edfa498Safe Transfer Fr...179916262021-08-15 0:15:0833 days 3 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.00005703
0x265c96d57151ea1618376a87c4ce7de9f2b08f02e170e68ec5e53df8fe318a2dSafe Transfer Fr...179896112021-08-14 22:49:3133 days 5 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000057030005
0xc25a87ca55d6ef5162505fad066bb85673c7c605854aab28d18af18681319e02Safe Transfer Fr...179489592021-08-13 19:44:5434 days 8 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.0000576003
0xc7e021bdf254e89bfdf8c8005aaf04f81400eadbe4f3e49469ff8a8909a8d789Safe Transfer Fr...179396292021-08-13 12:59:0434 days 15 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000134323329
0xb19398de843ccbf81c1c44f21fad658362c3a553a6c39bbf0c740a1f76e7b7d3Safe Transfer Fr...179058222021-08-12 14:40:2835 days 13 hrs ago0x3ab3e3699e76aedad43f930b5eddcda557856e6a IN  0x69a4ee7cd3e1c10b844e78d25fc444058b94d3fd0 MATIC0.000094955013
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VinylRegistry

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 11 : VinylRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

/**
 * @title Vinyl Release NFT Contract
 * @author Cliff Hall
 */
contract VinylRegistry is AccessControl, ERC1155 {

    bytes32 public constant ADMIN = keccak256("ADMIN");
    bytes32 public constant MINTER = keccak256("MINTER");

    /// @notice A new release has been minted
    event NewRelease(uint256 indexed tokenId, string indexed tokenURI);

    /// @dev Next release number
    uint256 public nextRelease;

    /// @dev token id => Token URI
    mapping (uint256 => string) public uris;

    /**
     * @notice Constructor
     */
    constructor() ERC1155("") {
        _setupRole(ADMIN, msg.sender);
        _setRoleAdmin(ADMIN, ADMIN);
        _setRoleAdmin(MINTER, ADMIN);
    }

    /**
     * @notice The nextRelease getter
     * @dev does not increment counter
     */
    function getNextRelease()
    external
    view
    returns (uint256)
    {
        return nextRelease;
    }

    /**
     * @notice Mint the NFT for a vinyl release
     *
     * Callable only by contract owner.
     *
     * @param _tokenURI - the URI of the token metadata
     * @param _pressingSize - the number of albums pressed and circulated
     */
    function mint(string memory _tokenURI, uint256 _pressingSize)
    external
    onlyRole(MINTER)
    returns (uint256 tokenId){

        // Ensure pressing size is not zero
        require(_pressingSize > 0, "Pressing size cannot be zero");

        // Get the next release id
        tokenId = nextRelease++;

        // Store the token URI
        uris[tokenId] = _tokenURI;

        // Mint the entire release, sending the balance to the caller
        _mint(msg.sender, tokenId, _pressingSize, new bytes(0x0));

        // Notify listeners of state change
        emit NewRelease(tokenId, _tokenURI);
    }

    /**
     * @notice Implementation of the {IERC165} interface.
     *
     * This method is inherited from several parents and
     * the compiler cannot decide which to use. Thus, it must
     * be overridden here.
     */
    function supportsInterface(bytes4 interfaceId)
    public
    view
    override(AccessControl, ERC1155)
    returns (bool)
    {
        return AccessControl.supportsInterface(interfaceId) || ERC1155.supportsInterface(interfaceId);
    }

    /**
     * @notice Get the token URI
     *
     * This method is overrides the Open Zeppelin version, returning
     * a unique stored metadata URI for each token rather than a
     * replaceable baseURI template, since the latter is not compatible
     * with IPFS hashes.
     */
    function uri(uint256 _tokenId)
    public
    view
    override
    returns (string memory)
    {
        return uris[_tokenId];
    }

    /**
     * Override isApprovedForAll to whitelist OpenSea proxy accounts
     * See: https://docs.opensea.io/docs/other-blockchains#section-matic-polygon-blockchain
     */
    function isApprovedForAll(address _owner, address _operator)
    public
    view
    override
    returns (bool isOperator)
    {
        return (
            ERC1155.isApprovedForAll(_owner, _operator) ||
            _operator == address(0x207Fa8Df3a17D96Ca7EA4f2893fcdCb78a304101)
        );
    }
}

File 2 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping (uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping (address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor (string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155).interfaceId
            || interfaceId == type(IERC1155MetadataURI).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    )
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        _balances[id][from] = fromBalance - amount;
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        _balances[id][account] = accountBalance - amount;

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
    { }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 11 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if(!hasRole(role, account)) {
            revert(string(abi.encodePacked(
                "AccessControl: account ",
                Strings.toHexString(uint160(account), 20),
                " is missing role ",
                Strings.toHexString(uint256(role), 32)
            )));
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}

File 5 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

File 6 of 11 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 9 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

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 11 : IERC165.sol
// SPDX-License-Identifier: MIT

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 11 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"tokenURI","type":"string"}],"name":"NewRelease","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ADMIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextRelease","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"_pressingSize","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextRelease","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uris","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c81620000a4565b50620000486000805160206200261d83398151915233620000bd565b620000636000805160206200261d83398151915280620000c9565b6200009e7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc96000805160206200261d833981519152620000c9565b620002c4565b8051620000b9906003906020840190620001e1565b5050565b620000b9828262000115565b80620000d5836200019f565b60405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a460009182526020829052604090912060010155565b620001218282620001b4565b620000b9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200015b620001dd565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60009081526020819052604090206001015490565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3390565b828054620001ef9062000287565b90600052602060002090601f0160209004810192826200021357600085556200025e565b82601f106200022e57805160ff19168380011785556200025e565b828001600101855582156200025e579182015b828111156200025e57825182559160200191906001019062000241565b506200026c92915062000270565b5090565b5b808211156200026c576000815560010162000271565b6002810460018216806200029c57607f821691505b60208210811415620002be57634e487b7160e01b600052602260045260246000fd5b50919050565b61234980620002d46000396000f3fe608060405234801561001057600080fd5b506004361061016b5760003560e01c806336568abe116100cd578063a22cb46511610081578063e985e9c511610066578063e985e9c5146102c6578063f242432a146102d9578063fe6d8124146102ec5761016b565b8063a22cb465146102a0578063d547741f146102b35761016b565b806391d14854116100b257806391d148541461027d578063a157190214610290578063a217fddf146102985761016b565b806336568abe1461024a5780634e1273f41461025d5761016b565b80631253c546116101245780632a0acc6a116101095780632a0acc6a1461021a5780632eb2c2d6146102225780632f2ff15d146102375761016b565b80631253c546146101f4578063248a9ca3146102075761016b565b8063056b01ce11610155578063056b01ce146101b95780630c9ad218146101cc5780630e89341c146101d45761016b565b8062fdd58e1461017057806301ffc9a714610199575b600080fd5b61018361017e36600461183b565b6102f4565b6040516101909190611bda565b60405180910390f35b6101ac6101a736600461195c565b61034d565b6040516101909190611bcf565b6101836101c7366004611994565b61036f565b610183610461565b6101e76101e2366004611922565b610468565b6040516101909190611be3565b6101e7610202366004611922565b61050a565b610183610215366004611922565b6105a4565b6101836105b9565b6102356102303660046116f8565b6105dd565b005b61023561024536600461193a565b610846565b61023561025836600461193a565b61086a565b61027061026b366004611864565b6108b0565b6040516101909190611b8e565b6101ac61028b36600461193a565b6109d0565b6101836109f9565b6101836109ff565b6102356102ae366004611801565b610a04565b6102356102c136600461193a565b610ad2565b6101ac6102d43660046116c6565b610af1565b6102356102e736600461179e565b610b2b565b610183610cc5565b60006001600160a01b0383166103255760405162461bcd60e51b815260040161031c90611ce5565b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b600061035882610ce9565b80610367575061036782610d27565b90505b919050565b60007ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc96103a38161039e610d99565b610d9d565b600083116103c35760405162461bcd60e51b815260040161031c90611d9f565b600480549060006103d3836121ea565b90915550600081815260056020908152604090912086519294506103fb929091870190611533565b5060408051600081526020810190915261041a90339084908690610e01565b836040516104289190611a50565b6040519081900381209083907f8cdd1c6c3d119815284f84c96bb29b67b5505bb3382398b9fd37dce1b1d002f690600090a35092915050565b6004545b90565b6000818152600560205260409020805460609190610485906121af565b80601f01602080910402602001604051908101604052809291908181526020018280546104b1906121af565b80156104fe5780601f106104d3576101008083540402835291602001916104fe565b820191906000526020600020905b8154815290600101906020018083116104e157829003601f168201915b50505050509050919050565b60056020526000908152604090208054610523906121af565b80601f016020809104026020016040519081016040528092919081815260200182805461054f906121af565b801561059c5780601f106105715761010080835404028352916020019161059c565b820191906000526020600020905b81548152906001019060200180831161057f57829003601f168201915b505050505081565b60009081526020819052604090206001015490565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4281565b81518351146105fe5760405162461bcd60e51b815260040161031c90611fa7565b6001600160a01b0384166106245760405162461bcd60e51b815260040161031c90611dd6565b61062c610d99565b6001600160a01b0316856001600160a01b031614806106525750610652856102d4610d99565b61066e5760405162461bcd60e51b815260040161031c90611e33565b6000610678610d99565b905061068881878787878761083e565b60005b84518110156107d85760008582815181106106b657634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106106e257634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156107335760405162461bcd60e51b815260040161031c90611e90565b61073d8282612151565b6001600085815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002081905550816001600085815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546107bd919061211a565b92505081905550505050806107d1906121ea565b905061068b565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610828929190611ba1565b60405180910390a461083e818787878787610eea565b505050505050565b61084f826105a4565b61085b8161039e610d99565b610865838361102a565b505050565b610872610d99565b6001600160a01b0316816001600160a01b0316146108a25760405162461bcd60e51b815260040161031c90612061565b6108ac82826110af565b5050565b606081518351146108d35760405162461bcd60e51b815260040161031c90611f4a565b6000835167ffffffffffffffff8111156108fd57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610926578160200160208202803683370190505b50905060005b84518110156109c85761098d85828151811061095857634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061098057634e487b7160e01b600052603260045260246000fd5b60200260200101516102f4565b8282815181106109ad57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526109c1816121ea565b905061092c565b509392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60045481565b600081565b816001600160a01b0316610a16610d99565b6001600160a01b03161415610a3d5760405162461bcd60e51b815260040161031c90611eed565b8060026000610a4a610d99565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a8e610d99565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ac69190611bcf565b60405180910390a35050565b610adb826105a4565b610ae78161039e610d99565b61086583836110af565b6000610afd8383611132565b80610b2457506001600160a01b03821673207fa8df3a17d96ca7ea4f2893fcdcb78a304101145b9392505050565b6001600160a01b038416610b515760405162461bcd60e51b815260040161031c90611dd6565b610b59610d99565b6001600160a01b0316856001600160a01b03161480610b7f5750610b7f856102d4610d99565b610b9b5760405162461bcd60e51b815260040161031c90611d42565b6000610ba5610d99565b9050610bc5818787610bb688611160565b610bbf88611160565b8761083e565b60008481526001602090815260408083206001600160a01b038a16845290915290205483811015610c085760405162461bcd60e51b815260040161031c90611e90565b610c128482612151565b60008681526001602090815260408083206001600160a01b038c81168552925280832093909355881681529081208054869290610c5090849061211a565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051610ca69291906120be565b60405180910390a4610cbc8288888888886111b9565b50505050505050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806103675750610367826112bc565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480610d8a57506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610367575061036782610ce9565b3390565b610da782826109d0565b6108ac57610dbf816001600160a01b031660146112ee565b610dca8360206112ee565b604051602001610ddb929190611a6c565b60408051601f198184030181529082905262461bcd60e51b825261031c91600401611be3565b6001600160a01b038416610e275760405162461bcd60e51b815260040161031c90612004565b6000610e31610d99565b9050610e4381600087610bb688611160565b60008481526001602090815260408083206001600160a01b038916845290915281208054859290610e7590849061211a565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051610ecc9291906120be565b60405180910390a4610ee3816000878787876111b9565b5050505050565b610efc846001600160a01b031661152d565b1561083e576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190610f4e9089908990889088908890600401611aed565b602060405180830381600087803b158015610f6857600080fd5b505af1925050508015610f98575060408051601f3d908101601f19168201909252610f9591810190611978565b60015b610fe157610fa4612237565b80610faf5750610fc9565b8060405162461bcd60e51b815260040161031c9190611be3565b60405162461bcd60e51b815260040161031c90611bf6565b6001600160e01b031981167fbc197c810000000000000000000000000000000000000000000000000000000014610cbc5760405162461bcd60e51b815260040161031c90611c88565b61103482826109d0565b6108ac576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561106b610d99565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110b982826109d0565b156108ac576000828152602081815260408083206001600160a01b03851684529091529020805460ff191690556110ee610d99565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106111a857634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6111cb846001600160a01b031661152d565b1561083e576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e619061121d9089908990889088908890600401611b4b565b602060405180830381600087803b15801561123757600080fd5b505af1925050508015611267575060408051601f3d908101601f1916820190925261126491810190611978565b60015b61127357610fa4612237565b6001600160e01b031981167ff23a6e610000000000000000000000000000000000000000000000000000000014610cbc5760405162461bcd60e51b815260040161031c90611c88565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b606060006112fd836002612132565b61130890600261211a565b67ffffffffffffffff81111561132e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611358576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061139d57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061140e57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061144a846002612132565b61145590600161211a565b90505b600181111561150e577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106114a457634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106114c857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c9361150781612198565b9050611458565b508315610b245760405162461bcd60e51b815260040161031c90611c53565b3b151590565b82805461153f906121af565b90600052602060002090601f01602090048101928261156157600085556115a7565b82601f1061157a57805160ff19168380011785556115a7565b828001600101855582156115a7579182015b828111156115a757825182559160200191906001019061158c565b506115b39291506115b7565b5090565b5b808211156115b357600081556001016115b8565b600067ffffffffffffffff8311156115e6576115e661221b565b6115f96020601f19601f860116016120cc565b905082815283838301111561160d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461036a57600080fd5b600082601f83011261164b578081fd5b8135602061166061165b836120f6565b6120cc565b828152818101908583018385028701840188101561167c578586fd5b855b8581101561169a5781358452928401929084019060010161167e565b5090979650505050505050565b600082601f8301126116b7578081fd5b610b24838335602085016115cc565b600080604083850312156116d8578182fd5b6116e183611624565b91506116ef60208401611624565b90509250929050565b600080600080600060a0868803121561170f578081fd5b61171886611624565b945061172660208701611624565b9350604086013567ffffffffffffffff80821115611742578283fd5b61174e89838a0161163b565b94506060880135915080821115611763578283fd5b61176f89838a0161163b565b93506080880135915080821115611784578283fd5b50611791888289016116a7565b9150509295509295909350565b600080600080600060a086880312156117b5578081fd5b6117be86611624565b94506117cc60208701611624565b93506040860135925060608601359150608086013567ffffffffffffffff8111156117f5578182fd5b611791888289016116a7565b60008060408385031215611813578182fd5b61181c83611624565b915060208301358015158114611830578182fd5b809150509250929050565b6000806040838503121561184d578182fd5b61185683611624565b946020939093013593505050565b60008060408385031215611876578182fd5b823567ffffffffffffffff8082111561188d578384fd5b818501915085601f8301126118a0578384fd5b813560206118b061165b836120f6565b82815281810190858301838502870184018b10156118cc578889fd5b8896505b848710156118f5576118e181611624565b8352600196909601959183019183016118d0565b509650508601359250508082111561190b578283fd5b506119188582860161163b565b9150509250929050565b600060208284031215611933578081fd5b5035919050565b6000806040838503121561194c578081fd5b823591506116ef60208401611624565b60006020828403121561196d578081fd5b8135610b24816122fa565b600060208284031215611989578081fd5b8151610b24816122fa565b600080604083850312156119a6578182fd5b823567ffffffffffffffff8111156119bc578283fd5b8301601f810185136119cc578283fd5b6119db858235602084016115cc565b95602094909401359450505050565b6000815180845260208085019450808401835b83811015611a19578151875295820195908201906001016119fd565b509495945050505050565b60008151808452611a3c816020860160208601612168565b601f01601f19169290920160200192915050565b60008251611a62818460208701612168565b9190910192915050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351611aa4816017850160208801612168565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351611ae1816028840160208801612168565b01602801949350505050565b60006001600160a01b03808816835280871660208401525060a06040830152611b1960a08301866119ea565b8281036060840152611b2b81866119ea565b90508281036080840152611b3f8185611a24565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152611b8360a0830184611a24565b979650505050505050565b600060208252610b2460208301846119ea565b600060408252611bb460408301856119ea565b8281036020840152611bc681856119ea565b95945050505050565b901515815260200190565b90815260200190565b600060208252610b246020830184611a24565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e746572000000000000000000000000606082015260800190565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201527f20617070726f7665640000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f5072657373696e672073697a652063616e6e6f74206265207a65726f00000000604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201527f72207472616e7366657200000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360408201527f20666f722073656c660000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860408201527f206d69736d617463680000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060408201527f6d69736d61746368000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201527f20726f6c657320666f722073656c660000000000000000000000000000000000606082015260800190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156120ee576120ee61221b565b604052919050565b600067ffffffffffffffff8211156121105761211061221b565b5060209081020190565b6000821982111561212d5761212d612205565b500190565b600081600019048311821515161561214c5761214c612205565b500290565b60008282101561216357612163612205565b500390565b60005b8381101561218357818101518382015260200161216b565b83811115612192576000848401525b50505050565b6000816121a7576121a7612205565b506000190190565b6002810460018216806121c357607f821691505b602082108114156121e457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121fe576121fe612205565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d101561224757610465565b600481823e6308c379a061225b8251612231565b1461226557610465565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d016004823e80513d67ffffffffffffffff81602484011181841117156122b35750505050610465565b828401925082519150808211156122cd5750505050610465565b503d830160208284010111156122e557505050610465565b601f01601f1916810160200160405291505090565b6001600160e01b03198116811461231057600080fd5b5056fea264697066735822122012811c42c146a1c3659195fd3cb28da71bfe5cbbe0ec3edcb7c5cc1dd48a347f64736f6c63430008000033df8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42

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.