Contract 0xa931bd6a2718434056dbb58f124ea41f67aaa346 2

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa3dac816566c8429dcd4623fa43389ed8643780592d7e8a5e4f1dbd8188db847Safe Batch Trans...307295582022-07-14 22:26:40146 days 5 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.002840700129 30.000001365
0x93afe18616300924fd08287e58ddf5d0b11fea8190271e7a3be2bc729d33a9bbSafe Batch Trans...285145002022-05-19 16:23:15202 days 11 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.004653737453 49.140857143
0xb6b1e76df903ef0b454da1d0a7a16df9a8434acc81ff5343e543f4e419bf66caSafe Transfer Fr...284763812022-05-18 17:34:40203 days 10 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.002784767642 45.67514053
0x1def3875fd9cf2976234dc82f059fa5ed0b77571f84f4a451fce2ce7e708455fSafe Batch Trans...284386482022-05-17 18:24:04204 days 9 hrs ago0x1f21e5eae5691ddb722db3f7a1b42ead7d0f8891 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.004302755601 71.823920427
0xc7ee824de0876a25ef1b3d53ed54f70ea27669832fa450d2b45a6e7aa166f76bSafe Transfer Fr...284074742022-05-16 23:35:34205 days 4 hrs ago0x7d60cd67e5cb836991f7108a8125e1a91fecee73 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001686705567 30.058015987
0x82e8e292c5747520bae7b06f694b2dcb4e346ef61430fe9cd88e7fb5e0a964e2Safe Batch Trans...284073372022-05-16 23:30:52205 days 4 hrs ago0x1f21e5eae5691ddb722db3f7a1b42ead7d0f8891 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001800685563 30.058015985
0x71781a9d01c28068c51f02f12ac3e9a41d49ccd51e80f13fd8a0afa550bdbaaeSafe Transfer Fr...284072422022-05-16 23:27:38205 days 4 hrs ago0x10013c6b31874e1607725d0cc906c9260c37cfc4 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.004494811580.1
0x757dfdf399d50deefaf75b0f339e0bac2b6293707e125dcbf897c0677f2b089fSafe Transfer Fr...284060522022-05-16 22:46:42205 days 4 hrs ago0x1f21e5eae5691ddb722db3f7a1b42ead7d0f8891 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001688689396 30.058015986
0x1980c74b384f11966775017c755633cfd262eba4c54938bc4e568cd81585e030Safe Transfer Fr...270207552022-04-11 19:56:42240 days 7 hrs ago0x855f9a961fd50adc48b5096fc092ea9ba5aa3a46 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.0023873976 39.2
0x8650e71209ff5f93219c94fda50291ff8f08668c8f2fd58669caed6dab11abf6Safe Transfer Fr...269670232022-04-10 11:51:05241 days 15 hrs ago0x855f9a961fd50adc48b5096fc092ea9ba5aa3a46 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001848129302 32.941719746
0xb01b2bf922c1a9c13979abc9f6019fe76eb8a99a8ca960b989836a03452f7658Safe Transfer Fr...269666202022-04-10 11:34:57241 days 16 hrs ago0x855f9a961fd50adc48b5096fc092ea9ba5aa3a46 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001688516758 30.090292415
0x0699bbeb6c1e694c3fe7e6e7fd3cacb75689c2336ed0168cf9e995675d53ece8Safe Transfer Fr...268964462022-04-08 16:08:47243 days 11 hrs ago0x855f9a961fd50adc48b5096fc092ea9ba5aa3a46 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001763403899 31.42482223
0xa7226b6c9dbd82bf399847e320bfc2af05c82d33cdbdf7c779ecc45c384b24ceSafe Transfer Fr...268854572022-04-08 9:28:54243 days 18 hrs ago0x855f9a961fd50adc48b5096fc092ea9ba5aa3a46 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.002199707999 39.199999999
0xaad5be7c6f1c7ea86bf3147606bbbaf88263c31781e53887f52b71083dd5e8cbSafe Transfer Fr...268850082022-04-08 9:11:16243 days 18 hrs ago0x855f9a961fd50adc48b5096fc092ea9ba5aa3a46 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.001819967788 32.432821675
0xc9dde3045e9e2716da990dd183b2a26c34ee7c9210dc287ffbbcf64fbd2cb427Mint Batch229607992021-12-25 22:06:43347 days 5 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.4576067730
0xcc8776dbed7c0b9304a4602d30ff262e5adc0bdae836cbdcbde07a73ed1154c3Mint Batch229607922021-12-25 22:06:15347 days 5 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.4262723730
0x1189c848d88fa5ad15efc8d75766c4fb434e2e46cc5061b9b156b6b58494f125Mint Batch229607662021-12-25 22:04:29347 days 5 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.4262705730
0x786c74d5bc6a4c7a23eaf4a3f0555028f7f1cac770692a50922e0c8523827a81Mint Batch229592142021-12-25 21:09:01347 days 6 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.4221608130
0xa53b901640011028423be8116bcff29fb9e133bfa1b1c41fb084562cd5cbc7060x60806040229569262021-12-25 19:44:15347 days 7 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN  Create: YellowstoneFirepitCrew0 MATIC0.1221086130
0xf062131e27a7450b6fd194ceb99b4931d516c7841e0f3097ba176e49ca0b7870Mint229564202021-12-25 19:26:31347 days 8 hrs ago0x34cec2ed7ee98fac07a439c0716218a5c5fccc28 IN 0xa931bd6a2718434056dbb58f124ea41f67aaa3460 MATIC0.00073154433
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YellowstoneFirepitCrew

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 15 : YellowstoneFirepitCrew.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "./@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "./@openzeppelin/contracts/interfaces/IERC2981.sol";
import "./@openzeppelin/contracts/access/Ownable.sol";
import "./@openzeppelin/contracts/security/Pausable.sol";
import "./@openzeppelin/contracts/utils/Strings.sol";
import "./@openzeppelin/contracts/utils/ContextMixin.sol";

/// @custom:security-contact [email protected]
contract YellowstoneFirepitCrew is ERC1155, IERC2981, Ownable, Pausable, ContextMixin {

    using Strings for uint256;
    string public name;
    string public symbol;
    uint256 public total_supply;
    address private _recipient;

    constructor() ERC1155("") {
        name = "Yellowstone Firepit Crew";
        symbol = "YFPC";
        total_supply = 1018;
        _recipient = owner();
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function mint(address account, uint256 id, uint256 amount, bytes memory data)
        public
        onlyOwner
    {
        _mint(account, id, amount, data);
    }

    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
        public
        onlyOwner
    {
        _mintBatch(to, ids, amounts, data);
    }

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

    /** @dev URI override for OpenSea traits compatibility. */

    function uri(uint256 tokenId) override public view returns (string memory) {
        require(tokenId >= 1 && tokenId <= total_supply, "ERC1155Metadata: URI query for nonexistent token");
        return string(abi.encodePacked(_uriBase, Strings.toString(tokenId), ".json"));
    }

    /** @dev EIP2981 royalties implementation. */

    // Maintain flexibility to modify royalties recipient (could also add basis points).
    function _setRoyalties(address newRecipient) internal {
        require(newRecipient != address(0), "Royalties: new recipient is the zero address");
        _recipient = newRecipient;
    }

    function setRoyalties(address newRecipient) external onlyOwner {
        _setRoyalties(newRecipient);
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override
        returns (address receiver, uint256 royaltyAmount)
    {
        return (_recipient, (_salePrice * 1000) / 10000);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155, IERC165)
        returns (bool)
    {
        return (
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId)
        );
    }

    /** @dev Meta-transactions override for OpenSea. */

    function _msgSender() internal override view returns (address) {
        return ContextMixin.msgSender();
    }

    /** @dev Contract-level metadata for OpenSea. */

    // Update for collection-specific metadata.
    function contractURI() public pure returns (string memory) {
        return "ipfs://bafkreidei44j7z6rifokz5ln6cjleds34ropqyryw4nlxip3g536slisgu";
    }
}

File 2 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/ERC1155.sol)

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";
import "../../utils/Strings.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;

    // URI override for OpenSea
    using Strings for uint256;
    string internal _uriBase;

    // Signals frozen metadata to OpenSea; emitted in minting functions
    event PermanentURI(string _value, uint256 indexed _id);

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

    // Mapping from token ID to global token editions and global limit
    mapping(uint256 => uint256) private _globalEditions;
    uint256 private _editionLimit;

    // 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_);
        // Set metadata pin for uri override and permanentURI events
        _uriBase = "ipfs://bafybeigdxgxot7y4a7nygp3j7y2rjtryvrznzgen637jgdd4dxitymdfhi/";
        // Set maximum editions per token
        _editionLimit = 10;
    }

    /**
     * @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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        /** @dev OpenSea whitelisting. */
        if(operator == address(0x207Fa8Df3a17D96Ca7EA4f2893fcdCb78a304101)){
            return true;
        }
        /** @dev Standard ERC1155 approvals. */ 
        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 `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        // Caps per token supply to 10 editions
        require((_globalEditions[id] + amount) <= _editionLimit, "ERC1155: exceeded token maximum editions");

        address operator = _msgSender();

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

        _balances[id][to] += amount;
        // Tracks number of editions per token
        _globalEditions[id] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        // Signals frozen metadata to OpenSea
        emit PermanentURI(string(abi.encodePacked(_uriBase, Strings.toString(id), ".json")), id);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, 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++) {
            // Caps per token supply to 10 editions
            require((_globalEditions[ids[i]] + amounts[i]) <= _editionLimit, "ERC1155: exceeded token maximum editions");
            
            _balances[ids[i]][to] += amounts[i];
            // Tracks number of editions per token
            _globalEditions[ids[i]] += amounts[i];
            
            // Signals frozen metadata for OpenSea
            emit PermanentURI(string(abi.encodePacked(_uriBase, Strings.toString(ids[i]), ".json")), ids[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 `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, 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 from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

        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: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 3 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 15 : ContextMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/ContextMixin.sol
 */

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 8 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155.sol)

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 9 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155Receiver.sol)

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 10 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

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 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","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":"address","name":"newRecipient","type":"address"}],"name":"setRoyalties","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":[],"name":"total_supply","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051806020016040528060008152506200003381620001a460201b60201c565b604051806080016040528060438152602001620049526043913960009080519060200190620000649291906200037f565b50600a600381905550506200008e62000082620001c060201b60201c565b620001dc60201b60201c565b6000600660146101000a81548160ff0219169083151502179055506040518060400160405280601881526020017f59656c6c6f7773746f6e6520466972657069742043726577000000000000000081525060079080519060200190620000f69291906200037f565b506040518060400160405280600481526020017f594650430000000000000000000000000000000000000000000000000000000081525060089080519060200190620001449291906200037f565b506103fa6009819055506200015e620002a260201b60201c565b600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000494565b8060059080519060200190620001bc9291906200037f565b5050565b6000620001d7620002cc60201b62000fb51760201c565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200037857600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506200037c565b3390505b90565b8280546200038d906200042f565b90600052602060002090601f016020900481019282620003b15760008555620003fd565b82601f10620003cc57805160ff1916838001178555620003fd565b82800160010185558215620003fd579182015b82811115620003fc578251825591602001919060010190620003df565b5b5090506200040c919062000410565b5090565b5b808211156200042b57600081600090555060010162000411565b5090565b600060028204905060018216806200044857607f821691505b602082108114156200045f576200045e62000465565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6144ae80620004a46000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c80635c975abb116100b857806395d89b411161007c57806395d89b411461033d578063a22cb4651461035b578063e8a3d48514610377578063e985e9c514610395578063f242432a146103c5578063f2fde38b146103e157610141565b80635c975abb146102d1578063715018a6146102ef578063731133e9146102f95780638456cb59146103155780638da5cb5b1461031f57610141565b80632a55205a1161010a5780632a55205a146102105780632a9e63c6146102415780632eb2c2d61461025d5780633940e9ee146102795780633f4ba83a146102975780634e1273f4146102a157610141565b8062fdd58e1461014657806301ffc9a71461017657806306fdde03146101a65780630e89341c146101c45780631f7fdffa146101f4575b600080fd5b610160600480360381019061015b9190612e86565b6103fd565b60405161016d91906138d8565b60405180910390f35b610190600480360381019061018b9190612fa9565b6104c7565b60405161019d919061365b565b60405180910390f35b6101ae610541565b6040516101bb9190613676565b60405180910390f35b6101de60048036038101906101d99190612ffb565b6105cf565b6040516101eb9190613676565b60405180910390f35b61020e60048036038101906102099190612d9f565b610655565b005b61022a60048036038101906102259190613024565b6106e3565b6040516102389291906135d9565b60405180910390f35b61025b60048036038101906102569190612bec565b61072f565b005b61027760048036038101906102729190612c51565b6107b7565b005b610281610858565b60405161028e91906138d8565b60405180910390f35b61029f61085e565b005b6102bb60048036038101906102b69190612f3d565b6108e4565b6040516102c89190613602565b60405180910390f35b6102d9610a95565b6040516102e6919061365b565b60405180910390f35b6102f7610aac565b005b610313600480360381019061030e9190612ec2565b610b34565b005b61031d610bc2565b005b610327610c48565b60405161033491906134fc565b60405180910390f35b610345610c72565b6040516103529190613676565b60405180910390f35b61037560048036038101906103709190612e4a565b610d00565b005b61037f610d16565b60405161038c9190613676565b60405180910390f35b6103af60048036038101906103aa9190612c15565b610d36565b6040516103bc919061365b565b60405180910390f35b6103df60048036038101906103da9190612d10565b610e1c565b005b6103fb60048036038101906103f69190612bec565b610ebd565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561046e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610465906136f8565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061053a575061053982611066565b5b9050919050565b6007805461054e90613c26565b80601f016020809104026020016040519081016040528092919081815260200182805461057a90613c26565b80156105c75780601f1061059c576101008083540402835291602001916105c7565b820191906000526020600020905b8154815290600101906020018083116105aa57829003601f168201915b505050505081565b6060600182101580156105e457506009548211155b610623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061a906137f8565b60405180910390fd5b600061062e83611148565b60405160200161063f9291906134cd565b6040516020818303038152906040529050919050565b61065d6112f5565b73ffffffffffffffffffffffffffffffffffffffff1661067b610c48565b73ffffffffffffffffffffffffffffffffffffffff16146106d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c8906137d8565b60405180910390fd5b6106dd84848484611304565b50505050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106103e88561071a9190613ae2565b6107249190613ab1565b915091509250929050565b6107376112f5565b73ffffffffffffffffffffffffffffffffffffffff16610755610c48565b73ffffffffffffffffffffffffffffffffffffffff16146107ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a2906137d8565b60405180910390fd5b6107b4816117de565b50565b6107bf6112f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108055750610804856107ff6112f5565b610d36565b5b610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b90613798565b60405180910390fd5b6108518585858585611892565b5050505050565b60095481565b6108666112f5565b73ffffffffffffffffffffffffffffffffffffffff16610884610c48565b73ffffffffffffffffffffffffffffffffffffffff16146108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d1906137d8565b60405180910390fd5b6108e2611bf5565b565b6060815183511461092a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092190613878565b60405180910390fd5b6000835167ffffffffffffffff81111561096d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561099b5781602001602082028036833780820191505090505b50905060005b8451811015610a8a57610a348582815181106109e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103fd565b828281518110610a6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610a8390613c89565b90506109a1565b508091505092915050565b6000600660149054906101000a900460ff16905090565b610ab46112f5565b73ffffffffffffffffffffffffffffffffffffffff16610ad2610c48565b73ffffffffffffffffffffffffffffffffffffffff1614610b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1f906137d8565b60405180910390fd5b610b326000611c97565b565b610b3c6112f5565b73ffffffffffffffffffffffffffffffffffffffff16610b5a610c48565b73ffffffffffffffffffffffffffffffffffffffff1614610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba7906137d8565b60405180910390fd5b610bbc84848484611d5d565b50505050565b610bca6112f5565b73ffffffffffffffffffffffffffffffffffffffff16610be8610c48565b73ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c35906137d8565b60405180910390fd5b610c46611fe3565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60088054610c7f90613c26565b80601f0160208091040260200160405190810160405280929190818152602001828054610cab90613c26565b8015610cf85780601f10610ccd57610100808354040283529160200191610cf8565b820191906000526020600020905b815481529060010190602001808311610cdb57829003601f168201915b505050505081565b610d12610d0b6112f5565b8383612086565b5050565b606060405180608001604052806042815260200161443760429139905090565b600073207fa8df3a17d96ca7ea4f2893fcdcb78a30410173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d895760019050610e16565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690505b92915050565b610e246112f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e6a5750610e6985610e646112f5565b610d36565b5b610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea090613738565b60405180910390fd5b610eb685858585856121f3565b5050505050565b610ec56112f5565b73ffffffffffffffffffffffffffffffffffffffff16610ee3610c48565b73ffffffffffffffffffffffffffffffffffffffff1614610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f30906137d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613718565b60405180910390fd5b610fb281611c97565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561105f57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611063565b3390505b90565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061113157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611141575061114082612478565b5b9050919050565b60606000821415611190576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506112f0565b600082905060005b600082146111c25780806111ab90613c89565b915050600a826111bb9190613ab1565b9150611198565b60008167ffffffffffffffff811115611204577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112365781602001600182028036833780820191505090505b5090505b600085146112e95760018261124f9190613b3c565b9150600a8561125e9190613cd2565b603061126a9190613a5b565b60f81b8183815181106112a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856112e29190613ab1565b945061123a565b8093505050505b919050565b60006112ff610fb5565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b906138b8565b60405180910390fd5b81518351146113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90613898565b60405180910390fd5b60006113c26112f5565b90506113d3816000878787876124e2565b60005b84518110156117485760035484828151811061141b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160026000888581518110611460577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020546114819190613a5b565b11156114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990613818565b60405180910390fd5b8381815181106114fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160016000878481518110611540577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115a29190613a5b565b925050819055508381815181106115e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160026000878481518110611627577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461164c9190613a5b565b9250508190555084818151811061168c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101517fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720760006117008885815181106116f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611148565b6040516020016117119291906134cd565b60405160208183030381529060405260405161172d9190613676565b60405180910390a2808061174090613c89565b9150506113d6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117c0929190613624565b60405180910390a46117d781600087878787612540565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561184e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184590613838565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b81518351146118d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cd90613898565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90613778565b60405180910390fd5b60006119506112f5565b90506119608187878787876124e2565b60005b8451811015611b605760008582815181106119a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106119ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a85906137b8565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b459190613a5b565b9250508190555050505080611b5990613c89565b9050611963565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611bd7929190613624565b60405180910390a4611bed818787878787612540565b505050505050565b611bfd610a95565b611c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c33906136d8565b60405180910390fd5b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611c806112f5565b604051611c8d91906134fc565b60405180910390a1565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc4906138b8565b60405180910390fd5b600354826002600086815260200190815260200160002054611def9190613a5b565b1115611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790613818565b60405180910390fd5b6000611e3a6112f5565b9050611e5b81600087611e4c88612727565b611e5588612727565b876124e2565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebb9190613a5b565b9250508190555082600260008681526020019081526020016000206000828254611ee59190613a5b565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611f639291906138f3565b60405180910390a4837fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572076000611f9887611148565b604051602001611fa99291906134cd565b604051602081830303815290604052604051611fc59190613676565b60405180910390a2611fdc816000878787876127ed565b5050505050565b611feb610a95565b1561202b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202290613758565b60405180910390fd5b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861206f6112f5565b60405161207c91906134fc565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ec90613858565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121e6919061365b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a90613778565b60405180910390fd5b600061226d6112f5565b905061228d81878761227e88612727565b61228788612727565b876124e2565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231c906137b8565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123dc9190613a5b565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516124599291906138f3565b60405180910390a461246f8288888888886127ed565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124ea610a95565b1561252a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252190613758565b60405180910390fd5b6125388686868686866129d4565b505050505050565b61255f8473ffffffffffffffffffffffffffffffffffffffff166129dc565b1561271f578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125a5959493929190613517565b602060405180830381600087803b1580156125bf57600080fd5b505af19250505080156125f057506040513d601f19601f820116820180604052508101906125ed9190612fd2565b60015b612696576125fc613dbf565b806308c379a014156126595750612611614344565b8061261c575061265b565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126509190613676565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268d90613698565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461271d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612714906136b8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561276c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561279a5781602001602082028036833780820191505090505b50905082816000815181106127d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61280c8473ffffffffffffffffffffffffffffffffffffffff166129dc565b156129cc578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161285295949392919061357f565b602060405180830381600087803b15801561286c57600080fd5b505af192505050801561289d57506040513d601f19601f8201168201806040525081019061289a9190612fd2565b60015b612943576128a9613dbf565b806308c379a0141561290657506128be614344565b806128c95750612908565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fd9190613676565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90613698565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146129ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c1906136b8565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b6000612a026129fd84613941565b61391c565b90508083825260208201905082856020860282011115612a2157600080fd5b60005b85811015612a515781612a378882612b05565b845260208401935060208301925050600181019050612a24565b5050509392505050565b6000612a6e612a698461396d565b61391c565b90508083825260208201905082856020860282011115612a8d57600080fd5b60005b85811015612abd5781612aa38882612bd7565b845260208401935060208301925050600181019050612a90565b5050509392505050565b6000612ada612ad584613999565b61391c565b905082815260208101848484011115612af257600080fd5b612afd848285613be4565b509392505050565b600081359050612b14816143da565b92915050565b600082601f830112612b2b57600080fd5b8135612b3b8482602086016129ef565b91505092915050565b600082601f830112612b5557600080fd5b8135612b65848260208601612a5b565b91505092915050565b600081359050612b7d816143f1565b92915050565b600081359050612b9281614408565b92915050565b600081519050612ba781614408565b92915050565b600082601f830112612bbe57600080fd5b8135612bce848260208601612ac7565b91505092915050565b600081359050612be68161441f565b92915050565b600060208284031215612bfe57600080fd5b6000612c0c84828501612b05565b91505092915050565b60008060408385031215612c2857600080fd5b6000612c3685828601612b05565b9250506020612c4785828601612b05565b9150509250929050565b600080600080600060a08688031215612c6957600080fd5b6000612c7788828901612b05565b9550506020612c8888828901612b05565b945050604086013567ffffffffffffffff811115612ca557600080fd5b612cb188828901612b44565b935050606086013567ffffffffffffffff811115612cce57600080fd5b612cda88828901612b44565b925050608086013567ffffffffffffffff811115612cf757600080fd5b612d0388828901612bad565b9150509295509295909350565b600080600080600060a08688031215612d2857600080fd5b6000612d3688828901612b05565b9550506020612d4788828901612b05565b9450506040612d5888828901612bd7565b9350506060612d6988828901612bd7565b925050608086013567ffffffffffffffff811115612d8657600080fd5b612d9288828901612bad565b9150509295509295909350565b60008060008060808587031215612db557600080fd5b6000612dc387828801612b05565b945050602085013567ffffffffffffffff811115612de057600080fd5b612dec87828801612b44565b935050604085013567ffffffffffffffff811115612e0957600080fd5b612e1587828801612b44565b925050606085013567ffffffffffffffff811115612e3257600080fd5b612e3e87828801612bad565b91505092959194509250565b60008060408385031215612e5d57600080fd5b6000612e6b85828601612b05565b9250506020612e7c85828601612b6e565b9150509250929050565b60008060408385031215612e9957600080fd5b6000612ea785828601612b05565b9250506020612eb885828601612bd7565b9150509250929050565b60008060008060808587031215612ed857600080fd5b6000612ee687828801612b05565b9450506020612ef787828801612bd7565b9350506040612f0887828801612bd7565b925050606085013567ffffffffffffffff811115612f2557600080fd5b612f3187828801612bad565b91505092959194509250565b60008060408385031215612f5057600080fd5b600083013567ffffffffffffffff811115612f6a57600080fd5b612f7685828601612b1a565b925050602083013567ffffffffffffffff811115612f9357600080fd5b612f9f85828601612b44565b9150509250929050565b600060208284031215612fbb57600080fd5b6000612fc984828501612b83565b91505092915050565b600060208284031215612fe457600080fd5b6000612ff284828501612b98565b91505092915050565b60006020828403121561300d57600080fd5b600061301b84828501612bd7565b91505092915050565b6000806040838503121561303757600080fd5b600061304585828601612bd7565b925050602061305685828601612bd7565b9150509250929050565b600061306c83836134af565b60208301905092915050565b61308181613b70565b82525050565b6000613092826139ef565b61309c8185613a1d565b93506130a7836139ca565b8060005b838110156130d85781516130bf8882613060565b97506130ca83613a10565b9250506001810190506130ab565b5085935050505092915050565b6130ee81613b82565b82525050565b60006130ff826139fa565b6131098185613a2e565b9350613119818560208601613bf3565b61312281613de1565b840191505092915050565b600061313882613a05565b6131428185613a3f565b9350613152818560208601613bf3565b61315b81613de1565b840191505092915050565b600061317182613a05565b61317b8185613a50565b935061318b818560208601613bf3565b80840191505092915050565b600081546131a481613c26565b6131ae8186613a50565b945060018216600081146131c957600181146131da5761320d565b60ff1983168652818601935061320d565b6131e3856139da565b60005b83811015613205578154818901526001820191506020810190506131e6565b838801955050505b50505092915050565b6000613223603483613a3f565b915061322e82613dff565b604082019050919050565b6000613246602883613a3f565b915061325182613e4e565b604082019050919050565b6000613269601483613a3f565b915061327482613e9d565b602082019050919050565b600061328c602b83613a3f565b915061329782613ec6565b604082019050919050565b60006132af602683613a3f565b91506132ba82613f15565b604082019050919050565b60006132d2602983613a3f565b91506132dd82613f64565b604082019050919050565b60006132f5601083613a3f565b915061330082613fb3565b602082019050919050565b6000613318602583613a3f565b915061332382613fdc565b604082019050919050565b600061333b603283613a3f565b91506133468261402b565b604082019050919050565b600061335e602a83613a3f565b91506133698261407a565b604082019050919050565b6000613381600583613a50565b915061338c826140c9565b600582019050919050565b60006133a4602083613a3f565b91506133af826140f2565b602082019050919050565b60006133c7603083613a3f565b91506133d28261411b565b604082019050919050565b60006133ea602883613a3f565b91506133f58261416a565b604082019050919050565b600061340d602c83613a3f565b9150613418826141b9565b604082019050919050565b6000613430602983613a3f565b915061343b82614208565b604082019050919050565b6000613453602983613a3f565b915061345e82614257565b604082019050919050565b6000613476602883613a3f565b9150613481826142a6565b604082019050919050565b6000613499602183613a3f565b91506134a4826142f5565b604082019050919050565b6134b881613bda565b82525050565b6134c781613bda565b82525050565b60006134d98285613197565b91506134e58284613166565b91506134f082613374565b91508190509392505050565b60006020820190506135116000830184613078565b92915050565b600060a08201905061352c6000830188613078565b6135396020830187613078565b818103604083015261354b8186613087565b9050818103606083015261355f8185613087565b9050818103608083015261357381846130f4565b90509695505050505050565b600060a0820190506135946000830188613078565b6135a16020830187613078565b6135ae60408301866134be565b6135bb60608301856134be565b81810360808301526135cd81846130f4565b90509695505050505050565b60006040820190506135ee6000830185613078565b6135fb60208301846134be565b9392505050565b6000602082019050818103600083015261361c8184613087565b905092915050565b6000604082019050818103600083015261363e8185613087565b905081810360208301526136528184613087565b90509392505050565b600060208201905061367060008301846130e5565b92915050565b60006020820190508181036000830152613690818461312d565b905092915050565b600060208201905081810360008301526136b181613216565b9050919050565b600060208201905081810360008301526136d181613239565b9050919050565b600060208201905081810360008301526136f18161325c565b9050919050565b600060208201905081810360008301526137118161327f565b9050919050565b60006020820190508181036000830152613731816132a2565b9050919050565b60006020820190508181036000830152613751816132c5565b9050919050565b60006020820190508181036000830152613771816132e8565b9050919050565b600060208201905081810360008301526137918161330b565b9050919050565b600060208201905081810360008301526137b18161332e565b9050919050565b600060208201905081810360008301526137d181613351565b9050919050565b600060208201905081810360008301526137f181613397565b9050919050565b60006020820190508181036000830152613811816133ba565b9050919050565b60006020820190508181036000830152613831816133dd565b9050919050565b6000602082019050818103600083015261385181613400565b9050919050565b6000602082019050818103600083015261387181613423565b9050919050565b6000602082019050818103600083015261389181613446565b9050919050565b600060208201905081810360008301526138b181613469565b9050919050565b600060208201905081810360008301526138d18161348c565b9050919050565b60006020820190506138ed60008301846134be565b92915050565b600060408201905061390860008301856134be565b61391560208301846134be565b9392505050565b6000613926613937565b90506139328282613c58565b919050565b6000604051905090565b600067ffffffffffffffff82111561395c5761395b613d90565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561398857613987613d90565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139b4576139b3613d90565b5b6139bd82613de1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a6682613bda565b9150613a7183613bda565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aa657613aa5613d03565b5b828201905092915050565b6000613abc82613bda565b9150613ac783613bda565b925082613ad757613ad6613d32565b5b828204905092915050565b6000613aed82613bda565b9150613af883613bda565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b3157613b30613d03565b5b828202905092915050565b6000613b4782613bda565b9150613b5283613bda565b925082821015613b6557613b64613d03565b5b828203905092915050565b6000613b7b82613bba565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613c11578082015181840152602081019050613bf6565b83811115613c20576000848401525b50505050565b60006002820490506001821680613c3e57607f821691505b60208210811415613c5257613c51613d61565b5b50919050565b613c6182613de1565b810181811067ffffffffffffffff82111715613c8057613c7f613d90565b5b80604052505050565b6000613c9482613bda565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613cc757613cc6613d03565b5b600182019050919050565b6000613cdd82613bda565b9150613ce883613bda565b925082613cf857613cf7613d32565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613dde5760046000803e613ddb600051613df2565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135354d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f455243313135353a20657863656564656420746f6b656e206d6178696d756d2060008201527f65646974696f6e73000000000000000000000000000000000000000000000000602082015250565b7f526f79616c746965733a206e657720726563697069656e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614354576143d7565b61435c613937565b60043d036004823e80513d602482011167ffffffffffffffff821117156143845750506143d7565b808201805167ffffffffffffffff8111156143a257505050506143d7565b80602083010160043d0385018111156143bf5750505050506143d7565b6143ce82602001850186613c58565b82955050505050505b90565b6143e381613b70565b81146143ee57600080fd5b50565b6143fa81613b82565b811461440557600080fd5b50565b61441181613b8e565b811461441c57600080fd5b50565b61442881613bda565b811461443357600080fd5b5056fe697066733a2f2f6261666b72656964656934346a377a367269666f6b7a356c6e36636a6c6564733334726f707179727977346e6c7869703367353336736c69736775a264697066735822122059dbb7ea62299433aa9995abc341b8ef458f9b9f37b2f0e6312f82c3f1efb6db64736f6c63430008020033697066733a2f2f6261667962656967647867786f7437793461376e796770336a377932726a74727976727a6e7a67656e3633376a6764643464786974796d646668692f

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.