POL Price: $0.69971 (-2.06%)
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...650776312024-12-04 15:23:5413 hrs ago1733325834IN
0x172349e1...3952CB5b3
0 POL0.02557037390.17298901
Safe Transfer Fr...650727952024-12-04 12:32:2516 hrs ago1733315545IN
0x172349e1...3952CB5b3
0 POL0.01003336153.09705402
Safe Transfer Fr...650574762024-12-04 3:23:1625 hrs ago1733282596IN
0x172349e1...3952CB5b3
0 POL0.0037643557.43951265
Safe Transfer Fr...650270382024-12-03 9:14:3043 hrs ago1733217270IN
0x172349e1...3952CB5b3
0 POL0.02569409392.06078139
Safe Transfer Fr...650153272024-12-03 2:10:202 days ago1733191820IN
0x172349e1...3952CB5b3
0 POL0.0048587674.13893973
Safe Transfer Fr...650042482024-12-02 19:18:562 days ago1733167136IN
0x172349e1...3952CB5b3
0 POL0.0035166553.65985992
Safe Transfer Fr...650041772024-12-02 19:16:002 days ago1733166960IN
0x172349e1...3952CB5b3
0 POL0.0033962851.82312785
Safe Transfer Fr...650040742024-12-02 19:12:202 days ago1733166740IN
0x172349e1...3952CB5b3
0 POL0.0035389754.00053642
Safe Transfer Fr...649982902024-12-02 15:41:212 days ago1733154081IN
0x172349e1...3952CB5b3
0 POL0.0061503193.84630102
Safe Transfer Fr...649980732024-12-02 15:33:392 days ago1733153619IN
0x172349e1...3952CB5b3
0 POL0.0079527121.34869802
Safe Transfer Fr...649962562024-12-02 14:29:182 days ago1733149758IN
0x172349e1...3952CB5b3
0 POL0.00728614111.17777862
Safe Transfer Fr...649885832024-12-02 9:54:552 days ago1733133295IN
0x172349e1...3952CB5b3
0 POL0.0060738592.67960325
Safe Transfer Fr...649884432024-12-02 9:49:572 days ago1733132997IN
0x172349e1...3952CB5b3
0 POL0.0044298667.5943918
Safe Transfer Fr...649879812024-12-02 9:33:352 days ago1733132015IN
0x172349e1...3952CB5b3
0 POL0.004628170.61930317
Safe Transfer Fr...649843492024-12-02 7:23:062 days ago1733124186IN
0x172349e1...3952CB5b3
0 POL0.0036572955.80589595
Safe Transfer Fr...649828562024-12-02 6:28:152 days ago1733120895IN
0x172349e1...3952CB5b3
0 POL0.0038396458.5883102
Safe Transfer Fr...649824182024-12-02 6:12:452 days ago1733119965IN
0x172349e1...3952CB5b3
0 POL0.0036930556.35159524
Safe Transfer Fr...649817032024-12-02 5:46:532 days ago1733118413IN
0x172349e1...3952CB5b3
0 POL0.0039550660.34953834
Safe Transfer Fr...649188992024-11-30 15:58:184 days ago1732982298IN
0x172349e1...3952CB5b3
0 POL0.00805859122.96442965
Safe Transfer Fr...648998322024-11-30 4:31:515 days ago1732941111IN
0x172349e1...3952CB5b3
0 POL0.003473453.00000004
Safe Transfer Fr...648960812024-11-30 2:18:515 days ago1732933131IN
0x172349e1...3952CB5b3
0 POL0.0036044855.00000737
Safe Transfer Fr...648847002024-11-29 19:18:315 days ago1732907911IN
0x172349e1...3952CB5b3
0 POL0.0057258687.36976291
Safe Transfer Fr...648756612024-11-29 13:57:485 days ago1732888668IN
0x172349e1...3952CB5b3
0 POL0.00748795114.25707401
Safe Transfer Fr...648750242024-11-29 13:35:145 days ago1732887314IN
0x172349e1...3952CB5b3
0 POL0.00708353108.10590707
Safe Transfer Fr...648703482024-11-29 10:49:075 days ago1732877347IN
0x172349e1...3952CB5b3
0 POL0.0047342472.23884018
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x64Ad48DA...23a6258F5
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ThreePMMultiToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : ThreePMMultiToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/ContextMixin.sol
 */
abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}



contract ThreePMMultiToken is ContextMixin, ERC1155Supply, Ownable, Pausable {
    
    string public name;
    string public symbol;
    string public contractBaseURI;
    address private minter; 
    address private proxyAddress;

    constructor(
        string memory _baseUri, 
        string memory _baseContractURI,
        string memory _name,
        string memory _symbol
    ) ERC1155(_baseUri) {
        setBaseTokenURI(_baseUri);
        setBaseContractURI(_baseContractURI);
        name = _name;
        symbol = _symbol;
        minter = _msgSender();
        proxyAddress = _msgSender();
    }

    // contract metadata for opensea.io
    function contractURI() public view returns (string memory) {
        return contractBaseURI;
    }

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

    /**
    * @dev set a new minter 
    **/ 
    function setMinter(
        address newMinter
    ) public onlyOwner {
        minter = newMinter;
    }

/**
    * @dev set a new proxy address
    **/ 
    function setProxy(
        address newProxy
    ) public onlyOwner {
        proxyAddress = newProxy;
    }    

    /**
    * @dev return the address of minter
    **/ 
    function getMinter() public view returns (address) {
        return minter;
    }   

    /**
    * @dev return the address of proxy
    **/ 
    function getProxy() public view returns (address) {
        return proxyAddress;
    }   

    /**
    * @dev mint token
    **/ 
    function mintMultiToken(
        address _to,
        uint256 _tokenId,
        uint256 _amount
    ) public {
        require( (_msgSender() == owner()) || (_msgSender() == minter), "Only owner or minter can mint!");
        super._mint(_to, _tokenId, _amount, "");
    }

    /**
    * @dev mint token (batch)
    **/ 
    function mintMultiToken(
        address _to,
        uint256[] memory _tokenIds,
        uint256[] memory _amounts
    ) public {
        require( (_msgSender() == owner()) || (_msgSender() == minter), "Only owner or minter can mint!");
        super._mintBatch(_to, _tokenIds, _amounts, "");
    }

    /**
    * @dev set token URI
    **/ 
    function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
        super._setURI(_baseTokenURI);
    }

    /**
    * @dev set contract metadata URI
    **/ 
    function setBaseContractURI(string memory _baseContractURI) public onlyOwner {
        contractBaseURI = _baseContractURI;
    }    

    /**
    * @dev burn token
    **/ 
    function burn(address account, uint256 id, uint256 amount) public onlyOwner {
        super._burn(account, id, amount);
    }   

    /**
    * @dev burn token (batch)
    **/ 
    function burn(address account, uint256[] memory ids, uint256[] memory amounts) public onlyOwner {
        super._burnBatch(account, ids, amounts);
    }

    /**
    * @dev pause token
    **/ 
    function pauseToken() public onlyOwner {
        super._pause();
    }

    /**
    * @dev unpause token
    **/ 
    function unpauseToken() public onlyOwner {
        super._unpause();
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }

    function uri(uint256 _tokenId) public view virtual override returns (string memory) {
        return string(
            abi.encodePacked(
                super.uri(0),
                bytes("/"),
                uint2str(_tokenId)
            )
        );
    }

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

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

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

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

        return string(bstr);
    }

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


    /**
    * Override isApprovedForAll to auto-approve OS's proxy contract
    * https://docs.opensea.io/docs/polygon-basic-integration
    */
    function isApprovedForAll(
        address _owner,
        address _operator
    ) public override view returns (bool isOperator) {
        // if OpenSea's ERC1155 Proxy Address is detected, auto-return true
       if (_operator == address(0x207Fa8Df3a17D96Ca7EA4f2893fcdCb78a304101)) {
            return true;
        }
        // for 3PM proxy address
        if (_operator == proxyAddress) {
            return true;
        }
        // otherwise, use the default ERC1155.isApprovedForAll()
        return ERC1155.isApprovedForAll(_owner, _operator);
    }
}

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

pragma solidity ^0.8.0;

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

File 3 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 5 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 7 of 12 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

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

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

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

File 8 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

File 9 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 10 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        return array;
    }
}

File 11 of 12 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"string","name":"_baseContractURI","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"mintMultiToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintMultiToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseContractURI","type":"string"}],"name":"setBaseContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newProxy","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101d95760003560e01c80638da5cb5b11610104578063e8a3d485116100a2578063f2fde38b11610071578063f2fde38b1461051a578063f366751714610536578063f5298aca14610554578063fca3b5aa14610570576101d9565b8063e8a3d48514610494578063e985e9c5146104b2578063f073f62e146104e2578063f242432a146104fe576101d9565b806397107d6d116100de57806397107d6d1461040e578063a22cb4651461042a578063bd85b03914610446578063c356621814610476576101d9565b80638da5cb5b146103b4578063933a9ce8146103d257806395d89b41146103f0576101d9565b80632eb2c2d61161017c5780634f558e791161014b5780634f558e791461035257806350669a03146103825780635c975abb1461038c578063715018a6146103aa576101d9565b80632eb2c2d6146102ce57806330176e13146102ea5780633db0f8ab146103065780634e1273f414610322576101d9565b80630cd3a538116101b85780630cd3a5381461025c5780630e89341c146102785780631fe2ccaa146102a85780632c349627146102c4576101d9565b8062fdd58e146101de57806301ffc9a71461020e57806306fdde031461023e575b600080fd5b6101f860048036038101906101f391906139d2565b61058c565b6040516102059190614809565b60405180910390f35b61022860048036038101906102239190613ac9565b610655565b604051610235919061456c565b60405180910390f35b610246610667565b6040516102539190614587565b60405180910390f35b61027660048036038101906102719190613b1b565b6106f5565b005b610292600480360381019061028d9190613b5c565b61078b565b60405161029f9190614587565b60405180910390f35b6102c260048036038101906102bd9190613917565b6107fe565b005b6102cc6108f9565b005b6102e860048036038101906102e391906137c9565b61097f565b005b61030460048036038101906102ff9190613b1b565b610a20565b005b610320600480360381019061031b9190613917565b610aa8565b005b61033c60048036038101906103379190613a5d565b610b34565b6040516103499190614513565b60405180910390f35b61036c60048036038101906103679190613b5c565b610ce5565b604051610379919061456c565b60405180910390f35b61038a610cf9565b005b610394610d7f565b6040516103a1919061456c565b60405180910390f35b6103b2610d96565b005b6103bc610e1e565b6040516103c99190614436565b60405180910390f35b6103da610e48565b6040516103e79190614436565b60405180910390f35b6103f8610e72565b6040516104059190614587565b60405180910390f35b61042860048036038101906104239190613764565b610f00565b005b610444600480360381019061043f9190613996565b610fc0565b005b610460600480360381019061045b9190613b5c565b611141565b60405161046d9190614809565b60405180910390f35b61047e61115e565b60405161048b9190614587565b60405180910390f35b61049c6111ec565b6040516104a99190614587565b60405180910390f35b6104cc60048036038101906104c7919061378d565b61127e565b6040516104d9919061456c565b60405180910390f35b6104fc60048036038101906104f79190613a0e565b611343565b005b61051860048036038101906105139190613888565b61143e565b005b610534600480360381019061052f9190613764565b6114df565b005b61053e6115d7565b60405161054b9190614436565b60405180910390f35b61056e60048036038101906105699190613a0e565b611601565b005b61058a60048036038101906105859190613764565b61168d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f490614629565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061066082611818565b9050919050565b6005805461067490614b58565b80601f01602080910402602001604051908101604052809291908181526020018280546106a090614b58565b80156106ed5780601f106106c2576101008083540402835291602001916106ed565b820191906000526020600020905b8154815290600101906020018083116106d057829003601f168201915b505050505081565b6106fd6118fa565b73ffffffffffffffffffffffffffffffffffffffff1661071b610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076890614769565b60405180910390fd5b806007908051906020019061078792919061345c565b5050565b60606107976000611909565b6040518060400160405280600181526020017f2f000000000000000000000000000000000000000000000000000000000000008152506107d68461199d565b6040516020016107e893929190614405565b6040516020818303038152906040529050919050565b610806610e1e565b73ffffffffffffffffffffffffffffffffffffffff166108246118fa565b73ffffffffffffffffffffffffffffffffffffffff16148061089a5750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108826118fa565b73ffffffffffffffffffffffffffffffffffffffff16145b6108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d090614609565b60405180910390fd5b6108f483838360405180602001604052806000815250611b50565b505050565b6109016118fa565b73ffffffffffffffffffffffffffffffffffffffff1661091f610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c90614769565b60405180910390fd5b61097d611c2a565b565b6109876118fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109cd57506109cc856109c76118fa565b61127e565b5b610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0390614709565b60405180910390fd5b610a198585858585611ccd565b5050505050565b610a286118fa565b73ffffffffffffffffffffffffffffffffffffffff16610a46610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9390614769565b60405180910390fd5b610aa5816117fe565b50565b610ab06118fa565b73ffffffffffffffffffffffffffffffffffffffff16610ace610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1b90614769565b60405180910390fd5b610b2f83838361202d565b505050565b60608151835114610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b71906147a9565b60405180910390fd5b6000835167ffffffffffffffff811115610bbd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610beb5781602001602082028036833780820191505090505b50905060005b8451811015610cda57610c84858281518110610c36577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610c77577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161058c565b828281518110610cbd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610cd390614b8a565b9050610bf1565b508091505092915050565b600080610cf183611141565b119050919050565b610d016118fa565b73ffffffffffffffffffffffffffffffffffffffff16610d1f610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90614769565b60405180910390fd5b610d7d612105565b565b6000600460149054906101000a900460ff16905090565b610d9e6118fa565b73ffffffffffffffffffffffffffffffffffffffff16610dbc610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0990614769565b60405180910390fd5b610e1c60006121a7565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610e7f90614b58565b80601f0160208091040260200160405190810160405280929190818152602001828054610eab90614b58565b8015610ef85780601f10610ecd57610100808354040283529160200191610ef8565b820191906000526020600020905b815481529060010190602001808311610edb57829003601f168201915b505050505081565b610f086118fa565b73ffffffffffffffffffffffffffffffffffffffff16610f26610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7390614769565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8173ffffffffffffffffffffffffffffffffffffffff16610fdf6118fa565b73ffffffffffffffffffffffffffffffffffffffff161415611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90614789565b60405180910390fd5b80600160006110436118fa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110f06118fa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611135919061456c565b60405180910390a35050565b600060036000838152602001908152602001600020549050919050565b6007805461116b90614b58565b80601f016020809104026020016040519081016040528092919081815260200182805461119790614b58565b80156111e45780601f106111b9576101008083540402835291602001916111e4565b820191906000526020600020905b8154815290600101906020018083116111c757829003601f168201915b505050505081565b6060600780546111fb90614b58565b80601f016020809104026020016040519081016040528092919081815260200182805461122790614b58565b80156112745780601f1061124957610100808354040283529160200191611274565b820191906000526020600020905b81548152906001019060200180831161125757829003601f168201915b5050505050905090565b600073207fa8df3a17d96ca7ea4f2893fcdcb78a30410173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112d1576001905061133d565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611330576001905061133d565b61133a838361226d565b90505b92915050565b61134b610e1e565b73ffffffffffffffffffffffffffffffffffffffff166113696118fa565b73ffffffffffffffffffffffffffffffffffffffff1614806113df5750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166113c76118fa565b73ffffffffffffffffffffffffffffffffffffffff16145b61141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590614609565b60405180910390fd5b61143983838360405180602001604052806000815250612301565b505050565b6114466118fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061148c575061148b856114866118fa565b61127e565b5b6114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c2906146a9565b60405180910390fd5b6114d8858585858561233d565b5050505050565b6114e76118fa565b73ffffffffffffffffffffffffffffffffffffffff16611505610e1e565b73ffffffffffffffffffffffffffffffffffffffff161461155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290614769565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290614649565b60405180910390fd5b6115d4816121a7565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116096118fa565b73ffffffffffffffffffffffffffffffffffffffff16611627610e1e565b73ffffffffffffffffffffffffffffffffffffffff161461167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490614769565b60405180910390fd5b6116888383836125bf565b505050565b6116956118fa565b73ffffffffffffffffffffffffffffffffffffffff166116b3610e1e565b73ffffffffffffffffffffffffffffffffffffffff1614611709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170090614769565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156117f757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506117fb565b3390505b90565b806002908051906020019061181492919061345c565b5050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806118e357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806118f357506118f2826125f9565b5b9050919050565b600061190461174d565b905090565b60606002805461191890614b58565b80601f016020809104026020016040519081016040528092919081815260200182805461194490614b58565b80156119915780601f1061196657610100808354040283529160200191611991565b820191906000526020600020905b81548152906001019060200180831161197457829003601f168201915b50505050509050919050565b606060008214156119e5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611b4b565b600082905060005b60008214611a17578080611a0090614b8a565b915050600a82611a109190614a13565b91506119ed565b60008167ffffffffffffffff811115611a59577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a8b5781602001600182028036833780820191505090505b50905060008290508593505b60008414611b4357600a84611aac9190614bd3565b6030611ab891906149bd565b60f81b8282611ac690614b2e565b92508281518110611b00577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84611b3c9190614a13565b9350611a97565b819450505050505b919050565b611b5c84848484612663565b60005b8351811015611c2357828181518110611ba1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110611be6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254611c0b91906149bd565b9250508190555080611c1c90614b8a565b9050611b5f565b5050505050565b611c32610d7f565b15611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c69906146c9565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611cb66118fa565b604051611cc39190614436565b60405180910390a1565b8151835114611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906147c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d78906146e9565b60405180910390fd5b6000611d8b6118fa565b9050611d9b8187878787876128cd565b60005b8451811015611f98576000858281518110611de2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611e27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf90614749565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7d91906149bd565b9250508190555050505080611f9190614b8a565b9050611d9e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161200f929190614535565b60405180910390a461202581878787878761292b565b505050505050565b612038838383612afb565b60005b82518110156120ff5781818151811061207d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008584815181106120c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546120e79190614a44565b92505081905550806120f890614b8a565b905061203b565b50505050565b61210d610d7f565b61214c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612143906145e9565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121906118fa565b60405161219d9190614436565b60405180910390a1565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61230d84848484612df8565b8160036000858152602001908152602001600020600082825461233091906149bd565b9250508190555050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a4906146e9565b60405180910390fd5b60006123b76118fa565b90506123d78187876123c888612f8e565b6123d188612f8e565b876128cd565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561246e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246590614749565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461252391906149bd565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516125a0929190614824565b60405180910390a46125b6828888888888613054565b50505050505050565b6125ca838383613224565b806003600084815260200190815260200160002060008282546125ed9190614a44565b92505081905550505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156126d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ca906147e9565b60405180910390fd5b8151835114612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270e906147c9565b60405180910390fd5b60006127216118fa565b9050612732816000878787876128cd565b60005b845181101561283757838181518110612777577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000808784815181106127bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461281d91906149bd565b92505081905550808061282f90614b8a565b915050612735565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128af929190614535565b60405180910390a46128c68160008787878761292b565b5050505050565b6128db868686868686613441565b6128e3610d7f565b15612923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291a90614689565b60405180910390fd5b505050505050565b61294a8473ffffffffffffffffffffffffffffffffffffffff16613449565b15612af3578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612990959493929190614451565b602060405180830381600087803b1580156129aa57600080fd5b505af19250505080156129db57506040513d601f19601f820116820180604052508101906129d89190613af2565b60015b612a6a576129e7614cde565b806129f25750612a2f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a269190614587565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a61906145a9565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae8906145c9565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6290614729565b60405180910390fd5b8051825114612baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba6906147c9565b60405180910390fd5b6000612bb96118fa565b9050612bd9818560008686604051806020016040528060008152506128cd565b60005b8351811015612d72576000848281518110612c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110612c65577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfd90614669565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612d6a90614b8a565b915050612bdc565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612dea929190614535565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5f906147e9565b60405180910390fd5b6000612e726118fa565b9050612e9381600087612e8488612f8e565b612e8d88612f8e565b876128cd565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ef291906149bd565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612f70929190614824565b60405180910390a4612f8781600087878787613054565b5050505050565b60606000600167ffffffffffffffff811115612fd3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156130015781602001602082028036833780820191505090505b509050828160008151811061303f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6130738473ffffffffffffffffffffffffffffffffffffffff16613449565b1561321c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016130b99594939291906144b9565b602060405180830381600087803b1580156130d357600080fd5b505af192505050801561310457506040513d601f19601f820116820180604052508101906131019190613af2565b60015b61319357613110614cde565b8061311b5750613158565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314f9190614587565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318a906145a9565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461321a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613211906145c9565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328b90614729565b60405180910390fd5b600061329e6118fa565b90506132ce818560006132b087612f8e565b6132b987612f8e565b604051806020016040528060008152506128cd565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335c90614669565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051613432929190614824565b60405180910390a45050505050565b505050505050565b600080823b905060008111915050919050565b82805461346890614b58565b90600052602060002090601f01602090048101928261348a57600085556134d1565b82601f106134a357805160ff19168380011785556134d1565b828001600101855582156134d1579182015b828111156134d05782518255916020019190600101906134b5565b5b5090506134de91906134e2565b5090565b5b808211156134fb5760008160009055506001016134e3565b5090565b600061351261350d8461487e565b61484d565b9050808382526020820190508285602086028201111561353157600080fd5b60005b8581101561356157816135478882613653565b845260208401935060208301925050600181019050613534565b5050509392505050565b600061357e613579846148aa565b61484d565b9050808382526020820190508285602086028201111561359d57600080fd5b60005b858110156135cd57816135b3888261374f565b8452602084019350602083019250506001810190506135a0565b5050509392505050565b60006135ea6135e5846148d6565b61484d565b90508281526020810184848401111561360257600080fd5b61360d848285614aec565b509392505050565b600061362861362384614906565b61484d565b90508281526020810184848401111561364057600080fd5b61364b848285614aec565b509392505050565b60008135905061366281614d94565b92915050565b600082601f83011261367957600080fd5b81356136898482602086016134ff565b91505092915050565b600082601f8301126136a357600080fd5b81356136b384826020860161356b565b91505092915050565b6000813590506136cb81614dab565b92915050565b6000813590506136e081614dc2565b92915050565b6000815190506136f581614dc2565b92915050565b600082601f83011261370c57600080fd5b813561371c8482602086016135d7565b91505092915050565b600082601f83011261373657600080fd5b8135613746848260208601613615565b91505092915050565b60008135905061375e81614dd9565b92915050565b60006020828403121561377657600080fd5b600061378484828501613653565b91505092915050565b600080604083850312156137a057600080fd5b60006137ae85828601613653565b92505060206137bf85828601613653565b9150509250929050565b600080600080600060a086880312156137e157600080fd5b60006137ef88828901613653565b955050602061380088828901613653565b945050604086013567ffffffffffffffff81111561381d57600080fd5b61382988828901613692565b935050606086013567ffffffffffffffff81111561384657600080fd5b61385288828901613692565b925050608086013567ffffffffffffffff81111561386f57600080fd5b61387b888289016136fb565b9150509295509295909350565b600080600080600060a086880312156138a057600080fd5b60006138ae88828901613653565b95505060206138bf88828901613653565b94505060406138d08882890161374f565b93505060606138e18882890161374f565b925050608086013567ffffffffffffffff8111156138fe57600080fd5b61390a888289016136fb565b9150509295509295909350565b60008060006060848603121561392c57600080fd5b600061393a86828701613653565b935050602084013567ffffffffffffffff81111561395757600080fd5b61396386828701613692565b925050604084013567ffffffffffffffff81111561398057600080fd5b61398c86828701613692565b9150509250925092565b600080604083850312156139a957600080fd5b60006139b785828601613653565b92505060206139c8858286016136bc565b9150509250929050565b600080604083850312156139e557600080fd5b60006139f385828601613653565b9250506020613a048582860161374f565b9150509250929050565b600080600060608486031215613a2357600080fd5b6000613a3186828701613653565b9350506020613a428682870161374f565b9250506040613a538682870161374f565b9150509250925092565b60008060408385031215613a7057600080fd5b600083013567ffffffffffffffff811115613a8a57600080fd5b613a9685828601613668565b925050602083013567ffffffffffffffff811115613ab357600080fd5b613abf85828601613692565b9150509250929050565b600060208284031215613adb57600080fd5b6000613ae9848285016136d1565b91505092915050565b600060208284031215613b0457600080fd5b6000613b12848285016136e6565b91505092915050565b600060208284031215613b2d57600080fd5b600082013567ffffffffffffffff811115613b4757600080fd5b613b5384828501613725565b91505092915050565b600060208284031215613b6e57600080fd5b6000613b7c8482850161374f565b91505092915050565b6000613b9183836143e7565b60208301905092915050565b613ba681614a78565b82525050565b6000613bb782614946565b613bc18185614974565b9350613bcc83614936565b8060005b83811015613bfd578151613be48882613b85565b9750613bef83614967565b925050600181019050613bd0565b5085935050505092915050565b613c1381614a8a565b82525050565b6000613c2482614951565b613c2e8185614985565b9350613c3e818560208601614afb565b613c4781614cc0565b840191505092915050565b6000613c5d82614951565b613c678185614996565b9350613c77818560208601614afb565b80840191505092915050565b6000613c8e8261495c565b613c9881856149a1565b9350613ca8818560208601614afb565b613cb181614cc0565b840191505092915050565b6000613cc78261495c565b613cd181856149b2565b9350613ce1818560208601614afb565b80840191505092915050565b6000613cfa6034836149a1565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000613d606028836149a1565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dc66014836149a1565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613e06601e836149a1565b91507f4f6e6c79206f776e6572206f72206d696e7465722063616e206d696e742100006000830152602082019050919050565b6000613e46602b836149a1565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613eac6026836149a1565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f126024836149a1565b91507f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f78602c836149a1565b91507f455243313135355061757361626c653a20746f6b656e207472616e736665722060008301527f7768696c652070617573656400000000000000000000000000000000000000006020830152604082019050919050565b6000613fde6029836149a1565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b60006140446010836149a1565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006140846025836149a1565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140ea6032836149a1565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b60006141506023836149a1565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141b6602a836149a1565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b600061421c6020836149a1565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061425c6029836149a1565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b60006142c26029836149a1565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b60006143286028836149a1565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b600061438e6021836149a1565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6143f081614ae2565b82525050565b6143ff81614ae2565b82525050565b60006144118286613cbc565b915061441d8285613c52565b91506144298284613cbc565b9150819050949350505050565b600060208201905061444b6000830184613b9d565b92915050565b600060a0820190506144666000830188613b9d565b6144736020830187613b9d565b81810360408301526144858186613bac565b905081810360608301526144998185613bac565b905081810360808301526144ad8184613c19565b90509695505050505050565b600060a0820190506144ce6000830188613b9d565b6144db6020830187613b9d565b6144e860408301866143f6565b6144f560608301856143f6565b81810360808301526145078184613c19565b90509695505050505050565b6000602082019050818103600083015261452d8184613bac565b905092915050565b6000604082019050818103600083015261454f8185613bac565b905081810360208301526145638184613bac565b90509392505050565b60006020820190506145816000830184613c0a565b92915050565b600060208201905081810360008301526145a18184613c83565b905092915050565b600060208201905081810360008301526145c281613ced565b9050919050565b600060208201905081810360008301526145e281613d53565b9050919050565b6000602082019050818103600083015261460281613db9565b9050919050565b6000602082019050818103600083015261462281613df9565b9050919050565b6000602082019050818103600083015261464281613e39565b9050919050565b6000602082019050818103600083015261466281613e9f565b9050919050565b6000602082019050818103600083015261468281613f05565b9050919050565b600060208201905081810360008301526146a281613f6b565b9050919050565b600060208201905081810360008301526146c281613fd1565b9050919050565b600060208201905081810360008301526146e281614037565b9050919050565b6000602082019050818103600083015261470281614077565b9050919050565b60006020820190508181036000830152614722816140dd565b9050919050565b6000602082019050818103600083015261474281614143565b9050919050565b60006020820190508181036000830152614762816141a9565b9050919050565b600060208201905081810360008301526147828161420f565b9050919050565b600060208201905081810360008301526147a28161424f565b9050919050565b600060208201905081810360008301526147c2816142b5565b9050919050565b600060208201905081810360008301526147e28161431b565b9050919050565b6000602082019050818103600083015261480281614381565b9050919050565b600060208201905061481e60008301846143f6565b92915050565b600060408201905061483960008301856143f6565b61484660208301846143f6565b9392505050565b6000604051905081810181811067ffffffffffffffff8211171561487457614873614c91565b5b8060405250919050565b600067ffffffffffffffff82111561489957614898614c91565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156148c5576148c4614c91565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156148f1576148f0614c91565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561492157614920614c91565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006149c882614ae2565b91506149d383614ae2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a0857614a07614c04565b5b828201905092915050565b6000614a1e82614ae2565b9150614a2983614ae2565b925082614a3957614a38614c33565b5b828204905092915050565b6000614a4f82614ae2565b9150614a5a83614ae2565b925082821015614a6d57614a6c614c04565b5b828203905092915050565b6000614a8382614ac2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b19578082015181840152602081019050614afe565b83811115614b28576000848401525b50505050565b6000614b3982614ae2565b91506000821415614b4d57614b4c614c04565b5b600182039050919050565b60006002820490506001821680614b7057607f821691505b60208210811415614b8457614b83614c62565b5b50919050565b6000614b9582614ae2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bc857614bc7614c04565b5b600182019050919050565b6000614bde82614ae2565b9150614be983614ae2565b925082614bf957614bf8614c33565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d1015614cee57614d91565b60046000803e614cff600051614cd1565b6308c379a08114614d105750614d91565b60405160043d036004823e80513d602482011167ffffffffffffffff82111715614d3c57505050614d91565b808201805167ffffffffffffffff811115614d5b575050505050614d91565b8060208301013d8501811115614d7657505050505050614d91565b614d7f82614cc0565b60208401016040528296505050505050505b90565b614d9d81614a78565b8114614da857600080fd5b50565b614db481614a8a565b8114614dbf57600080fd5b50565b614dcb81614a96565b8114614dd657600080fd5b50565b614de281614ae2565b8114614ded57600080fd5b5056fea264697066735822122048e5c3ed4cba644c5c7b6379e6da5a475ecc293ad0c8e298b88f9f8f9e5ab32364736f6c63430008000033

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.