Contract 0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x299a047fc0b2d43e34fbd3128deafececa1efbbb085b26d40f4dc9ad932f21a2Set Approval For...237930772022-01-16 16:22:1117 hrs 39 mins ago0xcbe3958bb4c7122f3e67e481a5edd89277921e25 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0018154193539.14482071
0xacddde4639a9a087ee637365dcd46502e3b341f7505717be315c6e71b4bc774fSet Approval For...235583422022-01-10 13:34:196 days 20 hrs ago0x3dcfb8e35dde1c0b2075dc92b7cdcac5dc3579b2 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0023188550
0x2cc743c59b59c1b0e84ee48d2c5fb02c129cf93d1fd9e568e7b84ad3b570139bTransfer Ownersh...234590102022-01-08 0:07:129 days 9 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.00079787433
0xb5d3a0039dfac954b0865022f2809b88219ccc8464bf279f6f916071b5ac846cSafe Transfer Fr...234590102022-01-08 0:07:129 days 9 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.000973783836.3
0x62b54e1eb35a0c2f83eb34e1cd0e1b67415cde6cad9433b3fc9ec4a20f130305Safe Transfer Fr...234590102022-01-08 0:07:129 days 9 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.00088525833
0x0953e29b0ec14df3362035c520cd559baf120c30442f47f0e2d8de0ddc194907Safe Transfer Fr...234590102022-01-08 0:07:129 days 9 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.000944275235.2
0x091dff596d10957c583672c693d3cef6f7b666022271162def4a3451f8529b33Transfer Ownersh...234590102022-01-08 0:07:129 days 9 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.00079787433
0xd1f7b5f785a062bdb6f320c8b26bfdcc1e4c6b5a2f9bbb567f6492abb5580350Transfer Ownersh...234590102022-01-08 0:07:129 days 9 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.000585107624.2
0x62d1b8577f27c3f9f7af46ff85c0b5c0351d5ed766dedc813a18d710a881eaeaTransfer Ownersh...234504342022-01-07 18:43:589 days 15 hrs ago0x55a1779b44714daa971a4fb1daa91ab18914827d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.00398937165
0x7e00bf6ee5a578873f59364dcf6aa8d66965336b7cf57512e227501c9dcb44d4Safe Transfer Fr...232782972022-01-02 23:02:3614 days 10 hrs ago0xc409338477df6665f33e5eebf375171ff1d5b72c IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0016825240
0x1f3428d42a55fe2a2982b560683ffeda9721b7783ae0b8c37704edab9a965ef9Set Approval For...228982682021-12-24 7:43:0324 days 2 hrs ago0xce494860b1cc453efd97142b0b12710fb1321941 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.00153044133
0x754ddd6cf2503e2da2f553048ff7efa5eb3d85f7359ab9cd75d64c308882b1acSet Approval For...226208122021-12-17 6:05:2331 days 3 hrs ago0x389743a0c93640a5875c09e52a59bedb0379c3c5 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0013913130
0x3f1d4bdfb2ad7c9a5d6e8d9d03a2d6862017bdce98d099ad33164532983b141aSafe Transfer Fr...225333312021-12-15 1:06:1033 days 8 hrs ago0xb3397a6feedff2b9fce9ca1086cb1bdd617c16bf IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0012623106330.01
0xfad402e061d9785182d19448007b73163e6f14fd71fd6d0c0261068e95e72eb0Safe Transfer Fr...225012502021-12-14 5:01:3334 days 5 hrs ago0x1290f0b28f014363a81c3c7c2dff5f7517499e44 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0012618930
0x5751584704dfcec2c0efd503ad5b84acf381337259f823c4bee4e4a0acba02f4Set Approval For...224722462021-12-13 10:19:0234 days 23 hrs ago0x836530e1095b1b3a244751e3d296bf6a9ebc678d IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.001836529239.6
0xd43efd19602ec23b962ecb0e8d647a0c4db189efa45c3b5c467ee7e619d81bcfSet Approval For...222939882021-12-08 22:21:1839 days 11 hrs ago0x38d08d89337205833ceed625a682d7388034c4ca IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0013913130
0x40b986321639efa8f314ec09976b9caa1f4f3a9f1d8782bb27d8b306864724c0Set Approval For...221776712021-12-05 21:21:3942 days 12 hrs ago0x5b436c7cc2d20ab458b046bcf80f9ce73ac6c174 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0013913130
0x8aa1cc9fa75aa29194066dbf111f13938ae104a18e77bd89012308159c75d51cSafe Transfer Fr...220746792021-12-03 4:04:1645 days 5 hrs ago0xb43ab5d87d8143aab6908c2f5488fc30da8745e5 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0012615330
0x3eb61a032dca81d776bbb4e412e1676b661e5dd07a9098123c14356712e30d6cSet Approval For...220272962021-12-01 22:20:2546 days 11 hrs ago0xa7e69bc413ff511d68ad00df1be72fb59d9ebeef IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0013913130
0x517e80297e0577bcbf55599f6f5bde0a5039715794be989b840b0055fbaacf00Set Approval For...219685302021-11-30 9:09:5248 days 52 mins ago0xc409338477df6665f33e5eebf375171ff1d5b72c IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.00134493329
0x7f22973e3834c4451536de03b76c158e1b8947e4d6e506277f69904456149edcSet Approval For...219499692021-11-29 21:34:0048 days 12 hrs ago0x496c11651656773daa157fe739ef3ad15ed90d9e IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0013913130
0x98135ebd926140564a730d0621794b9df70de32fcbe4374ffce985d23dc59f79Set Approval For...219101562021-11-28 19:31:0349 days 14 hrs ago0x9f3c2bf7d40e4ca7c9a4c86a918e7373fdb70641 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0007943130
0x6a40a364a28cf0139caf8b93567c61c8f25e0a2733417d79c4175c1eda70b8cfSet Approval For...219101212021-11-28 19:29:4949 days 14 hrs ago0x9f3c2bf7d40e4ca7c9a4c86a918e7373fdb70641 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0013913130
0xeb8a878ae4455968866ed961d2df0003358466bccf475482399d52c80fb4a22fSafe Transfer Fr...219029222021-11-28 15:03:3749 days 18 hrs ago0x2399b018b98f8024c4ea17e83094129afa3aa3b5 IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.0012618930
0x91b5f103234c2b6294a068ee63309fb0ed17c1786117e89f5447116317d7d3e3Set Approval For...217622222021-11-24 22:50:5953 days 11 hrs ago0x135331f40055d7a94290ebe9f2d19e7ec7a3924a IN  0x3c4086f5f0ff20ac5b8d0936b295b9059da9ceeb0 MATIC0.004962339107
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BTTokenDrop

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 11 : BTTokenDrop.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

contract BTTokenDrop is Context, Ownable, ERC1155Supply {
    // Metadata
    string public name   = "BT's Metaversal Neon District Badge Collection";
    string public symbol = "MVBT";

    // Pre-mint all NFTs
    constructor(string memory _uri) ERC1155(_uri) {
        _mint(_msgSender(), 1, 1111, "");
        _mint(_msgSender(), 2, 11, "");
        _mint(_msgSender(), 3, 1, "");
    }

    function setURI(string memory newuri) public virtual onlyOwner {
        _setURI(newuri);
    }

    function uri(
        uint256 _tokenId
    )
        public
        view
        virtual
        override
    returns (
        string memory
    ) {
        require(_tokenId >= 1 && _tokenId <= 3, 'Invalid Token ID');

        return string(
            abi.encodePacked(
                super.uri(0),
                bytes("/"),
                uint2str(_tokenId)
            )
        );
    }

    function uint2str(
        uint256 _i
    )
        internal
        pure
        returns (
            string memory
        )
    {
        if (_i == 0) {
            return "0";
        }

        uint256 j = _i;
        uint256 length;
        while (j != 0) {
            length++;
            j /= 10;
        }

        bytes memory bstr = new bytes(length);
        uint256 k = length;
        j = _i;

        while (j != 0) {
            bstr[--k] = bytes1(uint8(48 + j % 10));
            j /= 10;
        }

        return string(bstr);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

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

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() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

File 3 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(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(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(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `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 memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        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");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - 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[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        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");
            unchecked {
                _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 (uint256 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");
        unchecked {
            _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 (uint256 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");
            unchecked {
                _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.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.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 4 of 11 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates weither any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

File 5 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) {
        return msg.data;
    }
}

File 6 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 7 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 8 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 9 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;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 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 11 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"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":"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":"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":[{"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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60e0604052602e6080818152906200269760a03980516200002991600591602090910190620004b9565b50604080518082019091526004808252631355909560e21b60209092019182526200005791600691620004b9565b503480156200006557600080fd5b50604051620026c5380380620026c5833981016040819052620000889162000590565b806200009d620000976200013b565b62000140565b620000a88162000190565b50620000d8620000b76200013b565b600161045760405180602001604052806000815250620001a960201b60201c565b62000106620000e66200013b565b6002600b60405180602001604052806000815250620001a960201b60201c565b62000134620001146200013b565b6003600160405180602001604052806000815250620001a960201b60201c565b506200091d565b335b90565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8051620001a5906003906020840190620004b9565b5050565b620001c284848484620001ed60201b620007ea1760201c565b60008381526004602052604081208054849290620001e2908490620007bc565b909155505050505050565b6001600160a01b0384166200021f5760405162461bcd60e51b815260040162000216906200076d565b60405180910390fd5b60006200022b6200013b565b905062000252816000876200024088620002ff565b6200024b88620002ff565b8762000359565b60008481526001602090815260408083206001600160a01b03891684529091528120805485929062000286908490620007bc565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051620002df929190620007ae565b60405180910390a4620002f8816000878787876200037c565b5050505050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106200034857634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b620003748686868686866200037460201b620008db1760201c565b505050505050565b6200039b846001600160a01b0316620004b360201b620008e31760201c565b15620003745760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190620003d790899089908890889088906004016200066c565b602060405180830381600087803b158015620003f257600080fd5b505af192505050801562000425575060408051601f3d908101601f1916820190925262000422918101906200055f565b60015b6200047757620004346200086d565b806200044157506200045d565b8060405162461bcd60e51b8152600401620002169190620006b3565b60405162461bcd60e51b81526004016200021690620006c8565b6001600160e01b0319811663f23a6e6160e01b14620004aa5760405162461bcd60e51b8152600401620002169062000725565b50505050505050565b3b151590565b828054620004c79062000814565b90600052602060002090601f016020900481019282620004eb576000855562000536565b82601f106200050657805160ff191683800117855562000536565b8280016001018555821562000536579182015b828111156200053657825182559160200191906001019062000519565b506200054492915062000548565b5090565b5b8082111562000544576000815560010162000549565b60006020828403121562000571578081fd5b81516001600160e01b03198116811462000589578182fd5b9392505050565b600060208284031215620005a2578081fd5b81516001600160401b0380821115620005b9578283fd5b818401915084601f830112620005cd578283fd5b815181811115620005e257620005e262000851565b604051601f8201601f19168101602001838111828210171562000609576200060962000851565b60405281815283820160200187101562000621578485fd5b62000634826020830160208701620007e1565b9695505050505050565b6000815180845262000658816020860160208601620007e1565b601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090620006a8908301846200063e565b979650505050505050565b6000602082526200058960208301846200063e565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e746572000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b918252602082015260400190565b60008219821115620007dc57634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015620007fe578181015183820152602001620007e4565b838111156200080e576000848401525b50505050565b6002810460018216806200082957607f821691505b602082108114156200084b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d10156200087f576200013d565b600481823e6308c379a062000895825162000867565b14620008a1576200013d565b6040513d600319016004823e80513d6001600160401b038083116024840183101715620008d257505050506200013d565b82840192508251915080821115620008ee57505050506200013d565b503d8301602082840101111562000908575050506200013d565b601f01601f1916810160200160405291505090565b611d6a806200092d6000396000f3fe608060405234801561001057600080fd5b50600436106100ff5760003560e01c8063715018a611610097578063bd85b03911610066578063bd85b03914610208578063e985e9c51461021b578063f242432a1461022e578063f2fde38b14610241576100ff565b8063715018a6146101d05780638da5cb5b146101d857806395d89b41146101ed578063a22cb465146101f5576100ff565b80630e89341c116100d35780630e89341c146101775780632eb2c2d61461018a5780634e1273f41461019d5780634f558e79146101bd576100ff565b8062fdd58e1461010457806301ffc9a71461012d57806302fe53051461014d57806306fdde0314610162575b600080fd5b6101176101123660046113da565b610254565b6040516101249190611aef565b60405180910390f35b61014061013b3660046114c1565b6102ad565b6040516101249190611700565b61016061015b3660046114f9565b6102c0565b005b61016a61030b565b604051610124919061170b565b61016a610185366004611547565b610399565b610160610198366004611297565b61041e565b6101b06101ab366004611403565b61047c565b60405161012491906116bf565b6101406101cb366004611547565b61059c565b6101606105af565b6101e06105fa565b6040516101249190611608565b61016a61060a565b6101606102033660046113a0565b610617565b610117610216366004611547565b6106e5565b610140610229366004611265565b6106f7565b61016061023c36600461133d565b610725565b61016061024f36600461124b565b61077c565b60006001600160a01b0383166102855760405162461bcd60e51b815260040161027c906117ba565b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006102b8826108e9565b90505b919050565b6102c8610929565b6001600160a01b03166102d96105fa565b6001600160a01b0316146102ff5760405162461bcd60e51b815260040161027c9061199f565b6103088161092d565b50565b6005805461031890611bc7565b80601f016020809104026020016040519081016040528092919081815260200182805461034490611bc7565b80156103915780601f1061036657610100808354040283529160200191610391565b820191906000526020600020905b81548152906001019060200180831161037457829003601f168201915b505050505081565b6060600182101580156103ad575060038211155b6103c95760405162461bcd60e51b815260040161027c90611894565b6103d36000610944565b604051806040016040528060018152602001602f60f81b8152506103f6846109d8565b604051602001610408939291906115c5565b6040516020818303038152906040529050919050565b610426610929565b6001600160a01b0316856001600160a01b0316148061044c575061044c85610229610929565b6104685760405162461bcd60e51b815260040161027c90611903565b6104758585858585610afe565b5050505050565b6060815183511461049f5760405162461bcd60e51b815260040161027c90611a1d565b6000835167ffffffffffffffff8111156104c957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156104f2578160200160208202803683370190505b50905060005b84518110156105945761055985828151811061052457634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061054c57634e487b7160e01b600052603260045260246000fd5b6020026020010151610254565b82828151811061057957634e487b7160e01b600052603260045260246000fd5b602090810291909101015261058d81611c02565b90506104f8565b509392505050565b6000806105a8836106e5565b1192915050565b6105b7610929565b6001600160a01b03166105c86105fa565b6001600160a01b0316146105ee5760405162461bcd60e51b815260040161027c9061199f565b6105f86000610cca565b565b6000546001600160a01b03165b90565b6006805461031890611bc7565b816001600160a01b0316610629610929565b6001600160a01b031614156106505760405162461bcd60e51b815260040161027c906119d4565b806002600061065d610929565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556106a1610929565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516106d99190611700565b60405180910390a35050565b60009081526004602052604090205490565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b61072d610929565b6001600160a01b0316856001600160a01b03161480610753575061075385610229610929565b61076f5760405162461bcd60e51b815260040161027c9061184b565b6104758585858585610d1a565b610784610929565b6001600160a01b03166107956105fa565b6001600160a01b0316146107bb5760405162461bcd60e51b815260040161027c9061199f565b6001600160a01b0381166107e15760405162461bcd60e51b815260040161027c90611805565b61030881610cca565b6001600160a01b0384166108105760405162461bcd60e51b815260040161027c90611aae565b600061081a610929565b905061083b8160008761082c88610e52565b61083588610e52565b87610eab565b60008481526001602090815260408083206001600160a01b03891684529091528120805485929061086d908490611b54565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516108c4929190611af8565b60405180910390a461047581600087878787610eb9565b505050505050565b3b151590565b60006001600160e01b03198216636cdb3d1360e11b148061091a57506001600160e01b031982166303a24d0760e21b145b806102b857506102b882610fc7565b3390565b80516109409060039060208401906110b1565b5050565b60606003805461095390611bc7565b80601f016020809104026020016040519081016040528092919081815260200182805461097f90611bc7565b80156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b50505050509050919050565b6060816109fd57506040805180820190915260018152600360fc1b60208201526102bb565b8160005b8115610a275780610a1181611c02565b9150610a209050600a83611b6c565b9150610a01565b60008167ffffffffffffffff811115610a5057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610a7a576020820181803683370190505b508593509050815b8315610af557610a93600a85611c1d565b610a9e906030611b54565b60f81b82610aab83611bb0565b92508281518110610acc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350610aee600a85611b6c565b9350610a82565b50949350505050565b8151835114610b1f5760405162461bcd60e51b815260040161027c90611a66565b6001600160a01b038416610b455760405162461bcd60e51b815260040161027c906118be565b6000610b4f610929565b9050610b5f818787878787610eab565b60005b8451811015610c64576000858281518110610b8d57634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110610bb957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038e168352909352919091205490915081811015610c0a5760405162461bcd60e51b815260040161027c90611955565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610c49908490611b54565b9250508190555050505080610c5d90611c02565b9050610b62565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610cb49291906116d2565b60405180910390a46108db818787878787610fe0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038416610d405760405162461bcd60e51b815260040161027c906118be565b6000610d4a610929565b9050610d5b81878761082c88610e52565b60008481526001602090815260408083206001600160a01b038a16845290915290205483811015610d9e5760405162461bcd60e51b815260040161027c90611955565b60008581526001602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290610ddd908490611b54565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051610e33929190611af8565b60405180910390a4610e49828888888888610eb9565b50505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610e9a57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6108db8686868686866108db565b610ecb846001600160a01b03166108e3565b156108db5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190610f04908990899088908890889060040161167a565b602060405180830381600087803b158015610f1e57600080fd5b505af1925050508015610f4e575060408051601f3d908101601f19168201909252610f4b918101906114dd565b60015b610f9757610f5a611c79565b80610f655750610f7f565b8060405162461bcd60e51b815260040161027c919061170b565b60405162461bcd60e51b815260040161027c9061171e565b6001600160e01b0319811663f23a6e6160e01b14610e495760405162461bcd60e51b815260040161027c90611772565b6001600160e01b031981166301ffc9a760e01b14919050565b610ff2846001600160a01b03166108e3565b156108db5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061102b908990899088908890889060040161161c565b602060405180830381600087803b15801561104557600080fd5b505af1925050508015611075575060408051601f3d908101601f19168201909252611072918101906114dd565b60015b61108157610f5a611c79565b6001600160e01b0319811663bc197c8160e01b14610e495760405162461bcd60e51b815260040161027c90611772565b8280546110bd90611bc7565b90600052602060002090601f0160209004810192826110df5760008555611125565b82601f106110f857805160ff1916838001178555611125565b82800160010185558215611125579182015b8281111561112557825182559160200191906001019061110a565b50611131929150611135565b5090565b5b808211156111315760008155600101611136565b600067ffffffffffffffff83111561116457611164611c5d565b611177601f8401601f1916602001611b06565b905082815283838301111561118b57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146102bb57600080fd5b600082601f8301126111c9578081fd5b813560206111de6111d983611b30565b611b06565b82815281810190858301838502870184018810156111fa578586fd5b855b85811015611218578135845292840192908401906001016111fc565b5090979650505050505050565b600082601f830112611235578081fd5b6112448383356020850161114a565b9392505050565b60006020828403121561125c578081fd5b611244826111a2565b60008060408385031215611277578081fd5b611280836111a2565b915061128e602084016111a2565b90509250929050565b600080600080600060a086880312156112ae578081fd5b6112b7866111a2565b94506112c5602087016111a2565b9350604086013567ffffffffffffffff808211156112e1578283fd5b6112ed89838a016111b9565b94506060880135915080821115611302578283fd5b61130e89838a016111b9565b93506080880135915080821115611323578283fd5b5061133088828901611225565b9150509295509295909350565b600080600080600060a08688031215611354578081fd5b61135d866111a2565b945061136b602087016111a2565b93506040860135925060608601359150608086013567ffffffffffffffff811115611394578182fd5b61133088828901611225565b600080604083850312156113b2578182fd5b6113bb836111a2565b9150602083013580151581146113cf578182fd5b809150509250929050565b600080604083850312156113ec578182fd5b6113f5836111a2565b946020939093013593505050565b60008060408385031215611415578182fd5b823567ffffffffffffffff8082111561142c578384fd5b818501915085601f83011261143f578384fd5b8135602061144f6111d983611b30565b82815281810190858301838502870184018b101561146b578889fd5b8896505b8487101561149457611480816111a2565b83526001969096019591830191830161146f565b50965050860135925050808211156114aa578283fd5b506114b7858286016111b9565b9150509250929050565b6000602082840312156114d2578081fd5b813561124481611d1e565b6000602082840312156114ee578081fd5b815161124481611d1e565b60006020828403121561150a578081fd5b813567ffffffffffffffff811115611520578182fd5b8201601f81018413611530578182fd5b61153f8482356020840161114a565b949350505050565b600060208284031215611558578081fd5b5035919050565b6000815180845260208085019450808401835b8381101561158e57815187529582019590820190600101611572565b509495945050505050565b600081518084526115b1816020860160208601611b80565b601f01601f19169290920160200192915050565b600084516115d7818460208901611b80565b8451908301906115eb818360208901611b80565b84519101906115fe818360208801611b80565b0195945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a0604082018190526000906116489083018661155f565b828103606084015261165a818661155f565b9050828103608084015261166e8185611599565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906116b490830184611599565b979650505050505050565b600060208252611244602083018461155f565b6000604082526116e5604083018561155f565b82810360208401526116f7818561155f565b95945050505050565b901515815260200190565b6000602082526112446020830184611599565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526010908201526f125b9d985b1a5908151bdad95b88125160821b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff81118282101715611b2857611b28611c5d565b604052919050565b600067ffffffffffffffff821115611b4a57611b4a611c5d565b5060209081020190565b60008219821115611b6757611b67611c31565b500190565b600082611b7b57611b7b611c47565b500490565b60005b83811015611b9b578181015183820152602001611b83565b83811115611baa576000848401525b50505050565b600081611bbf57611bbf611c31565b506000190190565b600281046001821680611bdb57607f821691505b60208210811415611bfc57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c1657611c16611c31565b5060010190565b600082611c2c57611c2c611c47565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015611c8957610607565b600481823e6308c379a0611c9d8251611c73565b14611ca757610607565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715611cd75750505050610607565b82840192508251915080821115611cf15750505050610607565b503d83016020828401011115611d0957505050610607565b601f01601f1916810160200160405291505090565b6001600160e01b03198116811461030857600080fdfea26469706673582212209e67e7dbc0db1f8999b3641f8a52ba76d4e74a3f4edb7bcff435d13f0208a15964736f6c6343000800003342542773204d65746176657273616c204e656f6e20446973747269637420426164676520436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d534542677a50504357546558444a33707154596e374b674d38365352337056795a53475a54375261616477420000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d534542677a50504357546558444a33707154596e374b674d38365352337056795a53475a54375261616477420000000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmSEBgzPPCWTeXDJ3pqTYn7KgM86SR3pVyZSGZT7RaadwB

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d534542677a50504357546558444a33707154596e374b67
Arg [3] : 4d38365352337056795a53475a54375261616477420000000000000000000000


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.