Contract 0xE02A6227E3c4E453C67377d7612a8f38970c9490

Contract Overview

Balance:
0 MATIC
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x6f129a4325b0b1962287b6f922100d69331cf1000dea1022ed9a2916da5c0ebcSet Approval For...308510502023-01-12 6:39:5477 days 14 hrs ago0x2db687cbb5fcddba7aa10cc724885f97f218c3d7 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0027041951 52.9
0x5eedaa5ee170701dadf6c2ae6e11291a11033aa44b09321993b0231f53d6a9c9Set URI308126902023-01-11 8:01:2078 days 13 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.000103933501 1.500000016
0x58a7ce426f85d3309ae44a33b8b71e174ae621744eadf2ceca907975208b980fSet URI308123702023-01-11 7:50:0078 days 13 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0000614655 1.500000016
0xfd9e87adf6e8ca51021c083029bee1eb305d44a9e96468893bd000198bf10fddSet URI308123402023-01-11 7:48:5678 days 13 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.000070233 1.500000016
0x829d9da12874e0324390610b6985897fa0f67003ecb64626d74b539a13794d87Set URI304897452023-01-03 9:22:3286 days 11 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.000103933501 1.500000016
0x0a67d3a3caba78c39bcb2b7216fcdd652ca88666036b0e5e4aed53c622fd1ef0Safe Transfer Fr...302931292022-12-29 13:18:5591 days 7 hrs ago0x3f57b6c8c7e88453c7f34c510a4bd5da57b984d6 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0033144462 59.1
0x5a88d570e107a29a3d55ed68a27fbc4c149a65dfb472599654357f7f7cb45577Safe Transfer Fr...302931072022-12-29 13:18:0991 days 7 hrs ago0x3f57b6c8c7e88453c7f34c510a4bd5da57b984d6 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0032134986 57.3
0x5c455af24e70eae30b8c6de9dfa8065587fe871857e3de50445ddc4f92e5d9b0Set Approval For...302881012022-12-29 10:20:4991 days 10 hrs ago0x3f57b6c8c7e88453c7f34c510a4bd5da57b984d6 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0038390369 75.1
0xb59969dddecb37e8bbed363742f740ff6cfa720412b2249352072b0b17cc9654Safe Transfer Fr...294461192022-12-02 6:43:22118 days 14 hrs ago0xb711c2a17066da6289520c8d70f59d867239656b IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0025573392 45.6
0x635812eafb7540a56dc95077ecf9e9fcea24b77355c263f0a63a1bcf4554a1d8Set Approval For...294460472022-12-02 6:37:21118 days 14 hrs ago0xc7fdb8e887168dcd0c07c88fc8f1491a94528cb1 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0023310264 45.6
0x0e1fa2fdfd8549df0e8bfd1ea7dd8f69837cc5b9b1e748ea8144661ca238fd0fSet Approval For...294458082022-12-02 6:17:22118 days 14 hrs ago0xb711c2a17066da6289520c8d70f59d867239656b IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0019834172 38.8
0xb7f3b7701e0c73f52d7f229a485e53bfaca3a5f87401c787ccedb486a2d05e7dSafe Transfer Fr...292599612022-11-21 10:05:16129 days 11 hrs ago0xafde10376ebd87507cb31aea54f3bd313438facf IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0037346046 85.3
0x56fd2c4afea90e57f0157288b4b60d797636baf2b2d6da5fb2421b44eab7ae99Set Approval For...292599562022-11-21 10:04:51129 days 11 hrs ago0xafde10376ebd87507cb31aea54f3bd313438facf IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0047285075 92.5
0x9d8303cce1bc6fcac59a4f484d0f0a80eb34f9d1acc4e038113ff70e69883654Set Approval For...292121522022-11-18 13:04:38132 days 8 hrs ago0x80775f92e54d17533dc955a84fa5185db107cccd IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.003016021 59
0x6a55448bd12d9ffe57a22ae389eca7115678e8cbd6f88d9764564cbbd8870d57Update Market Pl...291805842022-11-16 9:53:34134 days 11 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.0000732075 1.500000003
0x192f62577e39724364b9ef5803c09e090cf6d294f069c1c9cde45f51dbd106efUnpause289741592022-11-04 10:17:42146 days 10 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.00003777 1.500000009
0x23012ac2807e5669f17b83372a905c080335061d6a3097e015209ccc0a89327eSet Mint Access289741552022-11-04 10:17:22146 days 10 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.000048176059 1.000001244
0x601b453013292630af6fd73595c849ab0d7e293563b6ba9329bd8a4d96260805Set URI285960122022-10-13 11:13:49168 days 9 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  0xe02a6227e3c4e453c67377d7612a8f38970c94900 MATIC0.006536015197 56.762357664
0x185d6727738f29b444b80353bdc47724fadf6bda037ee5b5a61e4aa46df7f6860x60806040285955172022-10-13 10:32:26168 days 10 hrs ago0x3bc14f7b6c5871994caafdcc5fd42d436b6f4286 IN  Contract Creation0 MATIC0.214027906403 50.746421991
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

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

Contract Name:
NFT1155

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 11 : NFT1155.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity =0.8.12;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";

contract NFT1155 is ERC1155,ERC2981 {
    /**
     * @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);

    event MintAccessGranted(address minter);
    event MintAccessRevoked(address minter);
    event GaslessListingAccessGranted(address marketplaceproxy);
    event GaslessListingAccessRevoked(address marketplaceproxy);
    event MarketPlaceApproved(address marketplaceproxy);
    event MarketPlaceRevoked(address marketplaceproxy);
    event RoyaltyBeneficiaryUpdated(address Beneficiary,uint96 FeeNumerator);

    string public name;
    string public symbol;

    mapping(address => bool) private _owners;
    bool private _paused;


    mapping(address => bool) public MintAccess;

    mapping(address => bool) public GaslessListing;
    mapping(address => bool) public ApprovedMP;


    constructor(
        string memory name_,
        string memory symbol_,
        address[] memory owners,
        address royaltyBeneficiary_,
        uint96 royaltyFeeNumerator_
    ) ERC1155("") {
        name = name_;
        symbol = symbol_;
        for (uint256 i = 0; i < owners.length; i++) {
            _owners[owners[i]] = true;
        }
        _setDefaultRoyalty(royaltyBeneficiary_,royaltyFeeNumerator_);
        _paused = true;
    }

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

    /**
     * @dev Updates `royaltyBeneficiary` and `royaltyFeeNumerator`.
     *
     * Requirements:
     *
     * - The caller must be owner.
     */
    function updateRoyaltyBeneficiary(address royaltyBeneficiary,uint96 royaltyFeeNumerator) external onlyOwner returns (bool) {
        _setDefaultRoyalty(royaltyBeneficiary,royaltyFeeNumerator);
        emit RoyaltyBeneficiaryUpdated(royaltyBeneficiary,royaltyFeeNumerator);
        return true;
    }

    /**
     * @dev Returns true if caller is the address of the current owner.
     */
    function isOwner(address caller) public view virtual returns (bool) {
        return _owners[caller];
    }

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

    /**
     * @dev Modifier to make a function callable only when the caller has mint access.
     *
     * Requirements:
     *
     * - The caller must either have mint access or has to be owner.
     */
    modifier requiresMintAccess() {
        require(
            isOwner(_msgSender()) || MintAccess[_msgSender()],
            "NFT1155#requiresMintAccess: No Mint Access"
        );
        _;
    }

    /**
     * @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(), "NFT1155#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(), "NFT1155#Pausable: not paused");
        _;
    }

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

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

    /**
     * @dev Grants or revokes mint permission to `minter`, according to `val`,
     *
     * Emits {MintAccessGranted} or {MintAccessRevoked} event.
     *
     * Requirements:
     *
     * - `caller` must be owner.
     */
    function setMintAccess(address minter, bool val) external onlyOwner {
        MintAccess[minter] = val;
        if (val) {
            emit MintAccessGranted(minter);
        } else {
            emit MintAccessRevoked(minter);
        }
    }

    /**
     * @dev Grants or revokes gaslessListing permission to `marketplaceproxy`, according to `val`,
     *
     * Emits {GaslessListingAccessGranted} or {GaslessListingAccessRevoked} event.
     *
     * Requirements:
     *
     * - `caller` must be owner.
     */
    function setGaslessListing(address marketplaceproxy, bool val)
        internal
    {
        GaslessListing[marketplaceproxy] = val;
        if (val) {
            emit GaslessListingAccessGranted(marketplaceproxy);
        } else {
            emit GaslessListingAccessRevoked(marketplaceproxy);
        }
    }

    /**
     * @dev Grants or revokes approval to `marketplaceproxy`, according to `val`,
     *
     * Emits {MarketPlaceApproved} or {MarketPlaceRevoked} event.
     *
     * Requirements:
     *
     * - `caller` must be owner.
     */
    function setApprovalForMarketPlace(address marketplaceproxy, bool val)
        internal
    {
            ApprovedMP[marketplaceproxy] = val;
            if (val) {
                emit MarketPlaceApproved(marketplaceproxy);
            } else {
                emit MarketPlaceRevoked(marketplaceproxy);
            }
    }

    /**
     * @dev updates Marketplace approval and sets Gasless Listing
     * 
     * Requirements:
     *
     * - `caller` must be owner.
     */
    function updateMarketPlace(address marketplaceproxy, bool isAllowed,bool isGasLess)
        external
        onlyOwner       
    {
        // approve/revoke marketplace as required
        if (ApprovedMP[marketplaceproxy] != isAllowed){
            setApprovalForMarketPlace(marketplaceproxy,isAllowed);
        }
        // revokes Gasless Listing ,if marketplace is revoked
        if (!isAllowed && GaslessListing[marketplaceproxy]){
            setGaslessListing(marketplaceproxy,false);
        }
        // sets Gasless listing for the approved Marketplace
        if (isAllowed && isGasLess && !GaslessListing[marketplaceproxy]){
            setGaslessListing(marketplaceproxy,true);
        }
        
    }

    /**
     * @dev See {_setURI}.
     */
    function setURI(string memory newuri) external onlyOwner {
        _setURI(newuri);
    }

    /**
     * @dev Override _beforeTokenTransfer to add Pausable feature
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override whenNotPaused {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev converts uint256 to string 
     */
    function uint2str(uint256 _i) internal pure returns (string memory str) {
        if (_i == 0) {
            return "0";
        }
        uint256 j = _i;
        uint256 length;
        while (j != 0) {
            length++;
            j /= 10;
        }
        bytes memory bstr = new bytes(length);
        uint256 k = length;
        j = _i;
        while (j != 0) {
            bstr[--k] = bytes1(uint8(48 + (j % 10)));
            j /= 10;
        }
        str = string(bstr);
    }

    /**
     * @dev returns token uri
     */
    function uri(uint256 _id) public view override returns (string memory) {
        return string.concat(super.uri(_id), uint2str(_id));
    }

    /**
     * @dev Override isApprovedForAll to auto-approve Whitelisted MarketPlace's proxy contract
     */
    function isApprovedForAll(address _owner, address _operator)
        public
        view
        override
        returns (bool isOperator)
    {
        // if non-Whitelisted MarketPlace Address is detected, auto-return false
        if (!ApprovedMP[_operator]) {
            return false;
        }
        // if GaslessListing is enabled for MarketPlace , auto-return true
        if (GaslessListing[_operator] ) {
            return true;
        }
        // otherwise, use the default ERC1155.isApprovedForAll()
        return super.isApprovedForAll(_owner, _operator);
    }

    /**
     * @dev Override setApprovalForAll to add Pausable feature
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
        whenNotPaused
    {
        if (!ApprovedMP[operator]) {
            revert("NFT1155#setApprovalForAll: NOT ALLOWED ");
        }
        super.setApprovalForAll(operator, approved);
    }

    /**
     * @dev allows the caller to Mint 
     *
     * Requirements:
     * 
     * - caller must have mint access
     */
    function mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) external requiresMintAccess {
        _mint(account, id, amount, data);
    }


    /**
     * @dev allows the caller to Mint Batch
     *
     * Requirements:
     * 
     * - caller must have mint access
     */
    function mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) external requiresMintAccess {
        _mintBatch(to, ids, amounts, data);
    }
}

File 2 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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";

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

        _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);

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

        _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");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

        _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++) {
            _balances[ids[i]][to] += amounts[i];
        }

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

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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 11 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 4 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 5 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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.
     *
     * NOTE: 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.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 11 of 11 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"address","name":"royaltyBeneficiary_","type":"address"},{"internalType":"uint96","name":"royaltyFeeNumerator_","type":"uint96"}],"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":false,"internalType":"address","name":"marketplaceproxy","type":"address"}],"name":"GaslessListingAccessGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketplaceproxy","type":"address"}],"name":"GaslessListingAccessRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketplaceproxy","type":"address"}],"name":"MarketPlaceApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketplaceproxy","type":"address"}],"name":"MarketPlaceRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"MintAccessGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"MintAccessRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"Beneficiary","type":"address"},{"indexed":false,"internalType":"uint96","name":"FeeNumerator","type":"uint96"}],"name":"RoyaltyBeneficiaryUpdated","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":"","type":"address"}],"name":"ApprovedMP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"GaslessListing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"MintAccess","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"isOwner","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"minter","type":"address"},{"internalType":"bool","name":"val","type":"bool"}],"name":"setMintAccess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"marketplaceproxy","type":"address"},{"internalType":"bool","name":"isAllowed","type":"bool"},{"internalType":"bool","name":"isGasLess","type":"bool"}],"name":"updateMarketPlace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyBeneficiary","type":"address"},{"internalType":"uint96","name":"royaltyFeeNumerator","type":"uint96"}],"name":"updateRoyaltyBeneficiary","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162005226380380620052268339818101604052810190620000379190620006fc565b6040518060200160405280600081525062000058816200015c60201b60201c565b5084600590805190602001906200007192919062000326565b5083600690805190602001906200008a92919062000326565b5060005b83518110156200012357600160076000868481518110620000b457620000b3620007e1565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806200011a9062000849565b9150506200008e565b506200013682826200017860201b60201c565b6001600860006101000a81548160ff021916908315150217905550505050505062000a17565b80600290805190602001906200017492919062000326565b5050565b620001886200031c60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620001e9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001e0906200091e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200025c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002539062000990565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b8280546200033490620009e1565b90600052602060002090601f016020900481019282620003585760008555620003a4565b82601f106200037357805160ff1916838001178555620003a4565b82800160010185558215620003a4579182015b82811115620003a357825182559160200191906001019062000386565b5b509050620003b39190620003b7565b5090565b5b80821115620003d2576000816000905550600101620003b8565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200043f82620003f4565b810181811067ffffffffffffffff8211171562000461576200046062000405565b5b80604052505050565b600062000476620003d6565b905062000484828262000434565b919050565b600067ffffffffffffffff821115620004a757620004a662000405565b5b620004b282620003f4565b9050602081019050919050565b60005b83811015620004df578082015181840152602081019050620004c2565b83811115620004ef576000848401525b50505050565b60006200050c620005068462000489565b6200046a565b9050828152602081018484840111156200052b576200052a620003ef565b5b62000538848285620004bf565b509392505050565b600082601f830112620005585762000557620003ea565b5b81516200056a848260208601620004f5565b91505092915050565b600067ffffffffffffffff82111562000591576200059062000405565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005d482620005a7565b9050919050565b620005e681620005c7565b8114620005f257600080fd5b50565b6000815190506200060681620005db565b92915050565b6000620006236200061d8462000573565b6200046a565b90508083825260208201905060208402830185811115620006495762000648620005a2565b5b835b81811015620006765780620006618882620005f5565b8452602084019350506020810190506200064b565b5050509392505050565b600082601f830112620006985762000697620003ea565b5b8151620006aa8482602086016200060c565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b620006d681620006b3565b8114620006e257600080fd5b50565b600081519050620006f681620006cb565b92915050565b600080600080600060a086880312156200071b576200071a620003e0565b5b600086015167ffffffffffffffff8111156200073c576200073b620003e5565b5b6200074a8882890162000540565b955050602086015167ffffffffffffffff8111156200076e576200076d620003e5565b5b6200077c8882890162000540565b945050604086015167ffffffffffffffff811115620007a0576200079f620003e5565b5b620007ae8882890162000680565b9350506060620007c188828901620005f5565b9250506080620007d488828901620006e5565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000856826200083f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200088c576200088b62000810565b5b600182019050919050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000906602a8362000897565b91506200091382620008a8565b604082019050919050565b600060208201905081810360008301526200093981620008f7565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200097860198362000897565b9150620009858262000940565b602082019050919050565b60006020820190508181036000830152620009ab8162000969565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620009fa57607f821691505b6020821081141562000a115762000a10620009b2565b5b50919050565b6147ff8062000a276000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80634e1273f4116100c3578063a22cb4651161007c578063a22cb465146103d7578063d0cbd735146103f3578063e48486e91461040f578063e985e9c51461043f578063ea0352fd1461046f578063f242432a1461049f57610157565b80634e1273f4146103155780635c975abb14610345578063703346ca14610363578063731133e9146103935780638456cb59146103af57806395d89b41146103b957610157565b80631f7fdffa116101155780631f7fdffa146102425780632a55205a1461025e5780632eb2c2d61461028f5780632f54bf6e146102ab5780633f4ba83a146102db57806344048df8146102e557610157565b8062fdd58e1461015c57806301ffc9a71461018c57806302fe5305146101bc57806306fdde03146101d85780630e89341c146101f65780631729f71214610226575b600080fd5b61017660048036038101906101719190612d0a565b6104bb565b6040516101839190612d59565b60405180910390f35b6101a660048036038101906101a19190612dcc565b610584565b6040516101b39190612e14565b60405180910390f35b6101d660048036038101906101d19190612f75565b610596565b005b6101e06105f1565b6040516101ed9190613046565b60405180910390f35b610210600480360381019061020b9190613068565b61067f565b60405161021d9190613046565b60405180910390f35b610240600480360381019061023b91906130c1565b6106ba565b005b61025c6004803603810190610257919061326a565b6107de565b005b61027860048036038101906102739190613325565b61089a565b604051610286929190613374565b60405180910390f35b6102a960048036038101906102a4919061339d565b610a85565b005b6102c560048036038101906102c0919061346c565b610b26565b6040516102d29190612e14565b60405180910390f35b6102e3610b7c565b005b6102ff60048036038101906102fa919061346c565b610c26565b60405161030c9190612e14565b60405180910390f35b61032f600480360381019061032a919061355c565b610c46565b60405161033c9190613692565b60405180910390f35b61034d610d5f565b60405161035a9190612e14565b60405180910390f35b61037d6004803603810190610378919061346c565b610d76565b60405161038a9190612e14565b60405180910390f35b6103ad60048036038101906103a891906136b4565b610d96565b005b6103b7610e52565b005b6103c1610efc565b6040516103ce9190613046565b60405180910390f35b6103f160048036038101906103ec91906130c1565b610f8a565b005b61040d60048036038101906104089190613737565b61106c565b005b610429600480360381019061042491906137ce565b6111fb565b6040516104369190612e14565b60405180910390f35b6104596004803603810190610454919061380e565b611299565b6040516104669190612e14565b60405180910390f35b6104896004803603810190610484919061346c565b611363565b6040516104969190612e14565b60405180910390f35b6104b960048036038101906104b4919061384e565b611383565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561052c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052390613957565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061058f82611424565b9050919050565b6105a66105a161149e565b610b26565b6105e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105dc906139c3565b60405180910390fd5b6105ee816114a6565b50565b600580546105fe90613a12565b80601f016020809104026020016040519081016040528092919081815260200182805461062a90613a12565b80156106775780601f1061064c57610100808354040283529160200191610677565b820191906000526020600020905b81548152906001019060200180831161065a57829003601f168201915b505050505081565b606061068a826114c0565b61069383611554565b6040516020016106a4929190613a80565b6040516020818303038152906040529050919050565b6106ca6106c561149e565b610b26565b610709576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610700906139c3565b60405180910390fd5b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080156107a2577fe46fef8bbff1389d9010703cf8ebb363fb3daf5bf56edc27080b67bc8d9251ea826040516107959190613aa4565b60405180910390a16107da565b7fed998b960f6340d045f620c119730f7aa7995e7425c2401d3a5b64ff998a59e9826040516107d19190613aa4565b60405180910390a15b5050565b6107ee6107e961149e565b610b26565b8061084957506009600061080061149e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f90613b31565b60405180910390fd5b610894848484846116bb565b50505050565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610a305760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610a3a6118e8565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a669190613b80565b610a709190613c09565b90508160000151819350935050509250929050565b610a8d61149e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ad35750610ad285610acd61149e565b611299565b5b610b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0990613cac565b60405180910390fd5b610b1f85858585856118f2565b5050505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610b8c610b8761149e565b610b26565b610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc2906139c3565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c0f61149e565b604051610c1c9190613aa4565b60405180910390a1565b60096020528060005260406000206000915054906101000a900460ff1681565b60608151835114610c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8390613d3e565b60405180910390fd5b6000835167ffffffffffffffff811115610ca957610ca8612e4a565b5b604051908082528060200260200182016040528015610cd75781602001602082028036833780820191505090505b50905060005b8451811015610d5457610d24858281518110610cfc57610cfb613d5e565b5b6020026020010151858381518110610d1757610d16613d5e565b5b60200260200101516104bb565b828281518110610d3757610d36613d5e565b5b60200260200101818152505080610d4d90613d8d565b9050610cdd565b508091505092915050565b6000600860009054906101000a900460ff16905090565b600a6020528060005260406000206000915054906101000a900460ff1681565b610da6610da161149e565b610b26565b80610e01575060096000610db861149e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790613b31565b60405180910390fd5b610e4c84848484611c14565b50505050565b610e62610e5d61149e565b610b26565b610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e98906139c3565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ee561149e565b604051610ef29190613aa4565b60405180910390a1565b60068054610f0990613a12565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3590613a12565b8015610f825780601f10610f5757610100808354040283529160200191610f82565b820191906000526020600020905b815481529060010190602001808311610f6557829003601f168201915b505050505081565b610f92610d5f565b15610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc990613e22565b60405180910390fd5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661105e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105590613eb4565b60405180910390fd5b6110688282611dc5565b5050565b61107c61107761149e565b610b26565b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b2906139c3565b60405180910390fd5b811515600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461111d5761111c8383611ddb565b5b811580156111745750600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561118557611184836000611eb0565b5b81801561118f5750805b80156111e55750600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156111f6576111f5836001611eb0565b5b505050565b600061120d61120861149e565b610b26565b61124c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611243906139c3565b60405180910390fd5b6112568383611f85565b7f9221d3d36c4166fdfbccb2c5fc2c15a909ec07c296741d05dccda1d0da554dd88383604051611287929190613ee3565b60405180910390a16001905092915050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112f5576000905061135d565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611350576001905061135d565b61135a838361211b565b90505b92915050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61138b61149e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806113d157506113d0856113cb61149e565b611299565b5b611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790613f7e565b60405180910390fd5b61141d85858585856121af565b5050505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061149757506114968261244b565b5b9050919050565b600033905090565b80600290805190602001906114bc929190612bbf565b5050565b6060600280546114cf90613a12565b80601f01602080910402602001604051908101604052809291908181526020018280546114fb90613a12565b80156115485780601f1061151d57610100808354040283529160200191611548565b820191906000526020600020905b81548152906001019060200180831161152b57829003601f168201915b50505050509050919050565b6060600082141561159c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506116b6565b600082905060005b600082146115ce5780806115b790613d8d565b915050600a826115c79190613c09565b91506115a4565b60008167ffffffffffffffff8111156115ea576115e9612e4a565b5b6040519080825280601f01601f19166020018201604052801561161c5781602001600182028036833780820191505090505b50905060008290508593505b600084146116ae57600a8461163d9190613f9e565b60306116499190613fcf565b60f81b828261165790614025565b9250828151811061166b5761166a613d5e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a846116a79190613c09565b9350611628565b819450505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906140c1565b60405180910390fd5b815183511461176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690614153565b60405180910390fd5b600061177961149e565b905061178a8160008787878761252d565b60005b8451811015611843578381815181106117a9576117a8613d5e565b5b60200260200101516000808784815181106117c7576117c6613d5e565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118299190613fcf565b92505081905550808061183b90613d8d565b91505061178d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118bb929190614173565b60405180910390a46118d28160008787878761258b565b6118e181600087878787612593565b5050505050565b6000612710905090565b8151835114611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d90614153565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d9061421c565b60405180910390fd5b60006119b061149e565b90506119c081878787878761252d565b60005b8451811015611b715760008582815181106119e1576119e0613d5e565b5b602002602001015190506000858381518110611a00576119ff613d5e565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a98906142ae565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b569190613fcf565b9250508190555050505080611b6a90613d8d565b90506119c3565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611be8929190614173565b60405180910390a4611bfe81878787878761258b565b611c0c818787878787612593565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b906140c1565b60405180910390fd5b6000611c8e61149e565b90506000611c9b8561276b565b90506000611ca88561276b565b9050611cb98360008985858961252d565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d189190613fcf565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611d969291906142ce565b60405180910390a4611dad8360008985858961258b565b611dbc836000898989896127e5565b50505050505050565b611dd7611dd061149e565b83836129bd565b5050565b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015611e74577fda1a8e8228e2d82dd45c090102ee210cc275a2829de52e6d7cf11ea0590f351f82604051611e679190613aa4565b60405180910390a1611eac565b7fc3567c153e5ab4f3d02e35ccb5d9e6ae72e5adb46131ed62a4446df60d45a07782604051611ea39190613aa4565b60405180910390a15b5050565b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015611f49577f6f3e843b89d82464ae803328c5e39220b78c2586807dd60349953364eb2c41b082604051611f3c9190613aa4565b60405180910390a1611f81565b7f3db8c5067e2494a739da2dd36c57b9bec64d2687e177861fb451b91deb70914682604051611f789190613aa4565b60405180910390a15b5050565b611f8d6118e8565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290614369565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561205b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612052906143d5565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561221f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122169061421c565b60405180910390fd5b600061222961149e565b905060006122368561276b565b905060006122438561276b565b905061225383898985858961252d565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156122ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e1906142ae565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461239f9190613fcf565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161241c9291906142ce565b60405180910390a4612432848a8a86868a61258b565b612440848a8a8a8a8a6127e5565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061251657507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612526575061252582612b2a565b5b9050919050565b612535610d5f565b15612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256c90613e22565b60405180910390fd5b612583868686868686612b94565b505050505050565b505050505050565b6125b28473ffffffffffffffffffffffffffffffffffffffff16612b9c565b15612763578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125f895949392919061444a565b6020604051808303816000875af192505050801561263457506040513d601f19601f8201168201806040525081019061263191906144c7565b60015b6126da57612640614501565b806308c379a0141561269d5750612655614523565b80612660575061269f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126949190613046565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d19061462b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612761576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612758906146bd565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561278a57612789612e4a565b5b6040519080825280602002602001820160405280156127b85781602001602082028036833780820191505090505b50905082816000815181106127d0576127cf613d5e565b5b60200260200101818152505080915050919050565b6128048473ffffffffffffffffffffffffffffffffffffffff16612b9c565b156129b5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161284a9594939291906146dd565b6020604051808303816000875af192505050801561288657506040513d601f19601f8201168201806040525081019061288391906144c7565b60015b61292c57612892614501565b806308c379a014156128ef57506128a7614523565b806128b257506128f1565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e69190613046565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129239061462b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146129b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129aa906146bd565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a23906147a9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b1d9190612e14565b60405180910390a3505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612bcb90613a12565b90600052602060002090601f016020900481019282612bed5760008555612c34565b82601f10612c0657805160ff1916838001178555612c34565b82800160010185558215612c34579182015b82811115612c33578251825591602001919060010190612c18565b5b509050612c419190612c45565b5090565b5b80821115612c5e576000816000905550600101612c46565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ca182612c76565b9050919050565b612cb181612c96565b8114612cbc57600080fd5b50565b600081359050612cce81612ca8565b92915050565b6000819050919050565b612ce781612cd4565b8114612cf257600080fd5b50565b600081359050612d0481612cde565b92915050565b60008060408385031215612d2157612d20612c6c565b5b6000612d2f85828601612cbf565b9250506020612d4085828601612cf5565b9150509250929050565b612d5381612cd4565b82525050565b6000602082019050612d6e6000830184612d4a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612da981612d74565b8114612db457600080fd5b50565b600081359050612dc681612da0565b92915050565b600060208284031215612de257612de1612c6c565b5b6000612df084828501612db7565b91505092915050565b60008115159050919050565b612e0e81612df9565b82525050565b6000602082019050612e296000830184612e05565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e8282612e39565b810181811067ffffffffffffffff82111715612ea157612ea0612e4a565b5b80604052505050565b6000612eb4612c62565b9050612ec08282612e79565b919050565b600067ffffffffffffffff821115612ee057612edf612e4a565b5b612ee982612e39565b9050602081019050919050565b82818337600083830152505050565b6000612f18612f1384612ec5565b612eaa565b905082815260208101848484011115612f3457612f33612e34565b5b612f3f848285612ef6565b509392505050565b600082601f830112612f5c57612f5b612e2f565b5b8135612f6c848260208601612f05565b91505092915050565b600060208284031215612f8b57612f8a612c6c565b5b600082013567ffffffffffffffff811115612fa957612fa8612c71565b5b612fb584828501612f47565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ff8578082015181840152602081019050612fdd565b83811115613007576000848401525b50505050565b600061301882612fbe565b6130228185612fc9565b9350613032818560208601612fda565b61303b81612e39565b840191505092915050565b60006020820190508181036000830152613060818461300d565b905092915050565b60006020828403121561307e5761307d612c6c565b5b600061308c84828501612cf5565b91505092915050565b61309e81612df9565b81146130a957600080fd5b50565b6000813590506130bb81613095565b92915050565b600080604083850312156130d8576130d7612c6c565b5b60006130e685828601612cbf565b92505060206130f7858286016130ac565b9150509250929050565b600067ffffffffffffffff82111561311c5761311b612e4a565b5b602082029050602081019050919050565b600080fd5b600061314561314084613101565b612eaa565b905080838252602082019050602084028301858111156131685761316761312d565b5b835b81811015613191578061317d8882612cf5565b84526020840193505060208101905061316a565b5050509392505050565b600082601f8301126131b0576131af612e2f565b5b81356131c0848260208601613132565b91505092915050565b600067ffffffffffffffff8211156131e4576131e3612e4a565b5b6131ed82612e39565b9050602081019050919050565b600061320d613208846131c9565b612eaa565b90508281526020810184848401111561322957613228612e34565b5b613234848285612ef6565b509392505050565b600082601f83011261325157613250612e2f565b5b81356132618482602086016131fa565b91505092915050565b6000806000806080858703121561328457613283612c6c565b5b600061329287828801612cbf565b945050602085013567ffffffffffffffff8111156132b3576132b2612c71565b5b6132bf8782880161319b565b935050604085013567ffffffffffffffff8111156132e0576132df612c71565b5b6132ec8782880161319b565b925050606085013567ffffffffffffffff81111561330d5761330c612c71565b5b6133198782880161323c565b91505092959194509250565b6000806040838503121561333c5761333b612c6c565b5b600061334a85828601612cf5565b925050602061335b85828601612cf5565b9150509250929050565b61336e81612c96565b82525050565b60006040820190506133896000830185613365565b6133966020830184612d4a565b9392505050565b600080600080600060a086880312156133b9576133b8612c6c565b5b60006133c788828901612cbf565b95505060206133d888828901612cbf565b945050604086013567ffffffffffffffff8111156133f9576133f8612c71565b5b6134058882890161319b565b935050606086013567ffffffffffffffff81111561342657613425612c71565b5b6134328882890161319b565b925050608086013567ffffffffffffffff81111561345357613452612c71565b5b61345f8882890161323c565b9150509295509295909350565b60006020828403121561348257613481612c6c565b5b600061349084828501612cbf565b91505092915050565b600067ffffffffffffffff8211156134b4576134b3612e4a565b5b602082029050602081019050919050565b60006134d86134d384613499565b612eaa565b905080838252602082019050602084028301858111156134fb576134fa61312d565b5b835b8181101561352457806135108882612cbf565b8452602084019350506020810190506134fd565b5050509392505050565b600082601f83011261354357613542612e2f565b5b81356135538482602086016134c5565b91505092915050565b6000806040838503121561357357613572612c6c565b5b600083013567ffffffffffffffff81111561359157613590612c71565b5b61359d8582860161352e565b925050602083013567ffffffffffffffff8111156135be576135bd612c71565b5b6135ca8582860161319b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61360981612cd4565b82525050565b600061361b8383613600565b60208301905092915050565b6000602082019050919050565b600061363f826135d4565b61364981856135df565b9350613654836135f0565b8060005b8381101561368557815161366c888261360f565b975061367783613627565b925050600181019050613658565b5085935050505092915050565b600060208201905081810360008301526136ac8184613634565b905092915050565b600080600080608085870312156136ce576136cd612c6c565b5b60006136dc87828801612cbf565b94505060206136ed87828801612cf5565b93505060406136fe87828801612cf5565b925050606085013567ffffffffffffffff81111561371f5761371e612c71565b5b61372b8782880161323c565b91505092959194509250565b6000806000606084860312156137505761374f612c6c565b5b600061375e86828701612cbf565b935050602061376f868287016130ac565b9250506040613780868287016130ac565b9150509250925092565b60006bffffffffffffffffffffffff82169050919050565b6137ab8161378a565b81146137b657600080fd5b50565b6000813590506137c8816137a2565b92915050565b600080604083850312156137e5576137e4612c6c565b5b60006137f385828601612cbf565b9250506020613804858286016137b9565b9150509250929050565b6000806040838503121561382557613824612c6c565b5b600061383385828601612cbf565b925050602061384485828601612cbf565b9150509250929050565b600080600080600060a0868803121561386a57613869612c6c565b5b600061387888828901612cbf565b955050602061388988828901612cbf565b945050604061389a88828901612cf5565b93505060606138ab88828901612cf5565b925050608086013567ffffffffffffffff8111156138cc576138cb612c71565b5b6138d88882890161323c565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613941602b83612fc9565b915061394c826138e5565b604082019050919050565b6000602082019050818103600083015261397081613934565b9050919050565b7f4e4654313135353a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139ad602083612fc9565b91506139b882613977565b602082019050919050565b600060208201905081810360008301526139dc816139a0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a2a57607f821691505b60208210811415613a3e57613a3d6139e3565b5b50919050565b600081905092915050565b6000613a5a82612fbe565b613a648185613a44565b9350613a74818560208601612fda565b80840191505092915050565b6000613a8c8285613a4f565b9150613a988284613a4f565b91508190509392505050565b6000602082019050613ab96000830184613365565b92915050565b7f4e4654313135352372657175697265734d696e744163636573733a204e6f204d60008201527f696e742041636365737300000000000000000000000000000000000000000000602082015250565b6000613b1b602a83612fc9565b9150613b2682613abf565b604082019050919050565b60006020820190508181036000830152613b4a81613b0e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b8b82612cd4565b9150613b9683612cd4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613bcf57613bce613b51565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613c1482612cd4565b9150613c1f83612cd4565b925082613c2f57613c2e613bda565b5b828204905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613c96603283612fc9565b9150613ca182613c3a565b604082019050919050565b60006020820190508181036000830152613cc581613c89565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613d28602983612fc9565b9150613d3382613ccc565b604082019050919050565b60006020820190508181036000830152613d5781613d1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613d9882612cd4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dcb57613dca613b51565b5b600182019050919050565b7f4e465431313535235061757361626c653a207061757365640000000000000000600082015250565b6000613e0c601883612fc9565b9150613e1782613dd6565b602082019050919050565b60006020820190508181036000830152613e3b81613dff565b9050919050565b7f4e46543131353523736574417070726f76616c466f72416c6c3a204e4f54204160008201527f4c4c4f5745442000000000000000000000000000000000000000000000000000602082015250565b6000613e9e602783612fc9565b9150613ea982613e42565b604082019050919050565b60006020820190508181036000830152613ecd81613e91565b9050919050565b613edd8161378a565b82525050565b6000604082019050613ef86000830185613365565b613f056020830184613ed4565b9392505050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613f68602983612fc9565b9150613f7382613f0c565b604082019050919050565b60006020820190508181036000830152613f9781613f5b565b9050919050565b6000613fa982612cd4565b9150613fb483612cd4565b925082613fc457613fc3613bda565b5b828206905092915050565b6000613fda82612cd4565b9150613fe583612cd4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561401a57614019613b51565b5b828201905092915050565b600061403082612cd4565b9150600082141561404457614043613b51565b5b600182039050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140ab602183612fc9565b91506140b68261404f565b604082019050919050565b600060208201905081810360008301526140da8161409e565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061413d602883612fc9565b9150614148826140e1565b604082019050919050565b6000602082019050818103600083015261416c81614130565b9050919050565b6000604082019050818103600083015261418d8185613634565b905081810360208301526141a18184613634565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614206602583612fc9565b9150614211826141aa565b604082019050919050565b60006020820190508181036000830152614235816141f9565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614298602a83612fc9565b91506142a38261423c565b604082019050919050565b600060208201905081810360008301526142c78161428b565b9050919050565b60006040820190506142e36000830185612d4a565b6142f06020830184612d4a565b9392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614353602a83612fc9565b915061435e826142f7565b604082019050919050565b6000602082019050818103600083015261438281614346565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006143bf601983612fc9565b91506143ca82614389565b602082019050919050565b600060208201905081810360008301526143ee816143b2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061441c826143f5565b6144268185614400565b9350614436818560208601612fda565b61443f81612e39565b840191505092915050565b600060a08201905061445f6000830188613365565b61446c6020830187613365565b818103604083015261447e8186613634565b905081810360608301526144928185613634565b905081810360808301526144a68184614411565b90509695505050505050565b6000815190506144c181612da0565b92915050565b6000602082840312156144dd576144dc612c6c565b5b60006144eb848285016144b2565b91505092915050565b60008160e01c9050919050565b600060033d11156145205760046000803e61451d6000516144f4565b90505b90565b600060443d1015614533576145b6565b61453b612c62565b60043d036004823e80513d602482011167ffffffffffffffff821117156145635750506145b6565b808201805167ffffffffffffffff81111561458157505050506145b6565b80602083010160043d03850181111561459e5750505050506145b6565b6145ad82602001850186612e79565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614615603483612fc9565b9150614620826145b9565b604082019050919050565b6000602082019050818103600083015261464481614608565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006146a7602883612fc9565b91506146b28261464b565b604082019050919050565b600060208201905081810360008301526146d68161469a565b9050919050565b600060a0820190506146f26000830188613365565b6146ff6020830187613365565b61470c6040830186612d4a565b6147196060830185612d4a565b818103608083015261472b8184614411565b90509695505050505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614793602983612fc9565b915061479e82614737565b604082019050919050565b600060208201905081810360008301526147c281614786565b905091905056fea2646970667358221220540025c9aa0ccb19bad630bd49ca8192a5bfca2c5f7db9ea5a43468596c2ddcd64736f6c634300080c003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000074e4654313135350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000003ce5259029d1636e93f4f5080fadab70c9e962d80000000000000000000000003bc14f7b6c5871994caafdcc5fd42d436b6f4286000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading