ETH Price: $3,338.39 (-3.75%)
Gas: 4 Gwei

Contract

0x9a09CfC55035D407a5514692C3a26F5ea2afB956
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...177373802023-07-20 22:33:47369 days ago1689892427IN
0x9a09CfC5...ea2afB956
0 ETH0.0018050831.08952434
Set Approval For...172567222023-05-14 7:43:59437 days ago1684050239IN
0x9a09CfC5...ea2afB956
0 ETH0.0009071636.69475652
Set Approval For...172563372023-05-14 6:26:23437 days ago1684045583IN
0x9a09CfC5...ea2afB956
0 ETH0.0017240436.96971449
Mint170591112023-04-16 11:19:11465 days ago1681643951IN
0x9a09CfC5...ea2afB956
0 ETH0.0015323623.86083236
Mint170419472023-04-14 0:36:59467 days ago1681432619IN
0x9a09CfC5...ea2afB956
0 ETH0.0018673529.05343466
Mint170418922023-04-14 0:25:47467 days ago1681431947IN
0x9a09CfC5...ea2afB956
0 ETH0.0013242420.62016801
Mint170414372023-04-13 22:53:11467 days ago1681426391IN
0x9a09CfC5...ea2afB956
0 ETH0.0013779221.45593181
Mint170414372023-04-13 22:53:11467 days ago1681426391IN
0x9a09CfC5...ea2afB956
0 ETH0.0013779221.45593181
Mint170414372023-04-13 22:53:11467 days ago1681426391IN
0x9a09CfC5...ea2afB956
0 ETH0.0013779221.45593181
Mint170340522023-04-12 19:41:35469 days ago1681328495IN
0x9a09CfC5...ea2afB956
0 ETH0.0013611421.19462575
Mint170340522023-04-12 19:41:35469 days ago1681328495IN
0x9a09CfC5...ea2afB956
0 ETH0.0013611421.19462575
Mint170340522023-04-12 19:41:35469 days ago1681328495IN
0x9a09CfC5...ea2afB956
0 ETH0.0013611421.19462575
Mint170340522023-04-12 19:41:35469 days ago1681328495IN
0x9a09CfC5...ea2afB956
0 ETH0.0013611421.19462575
Mint170340522023-04-12 19:41:35469 days ago1681328495IN
0x9a09CfC5...ea2afB956
0 ETH0.0013611421.19462575
Mint170336902023-04-12 18:27:47469 days ago1681324067IN
0x9a09CfC5...ea2afB956
0 ETH0.001412521.9944564
Mint170038562023-04-08 13:04:23473 days ago1680959063IN
0x9a09CfC5...ea2afB956
0 ETH0.0012894520.07833212
Set Approval For...166317432023-02-15 4:25:11525 days ago1676435111IN
0x9a09CfC5...ea2afB956
0 ETH0.0006200825.08220652
Set Approval For...166170352023-02-13 3:05:11527 days ago1676257511IN
0x9a09CfC5...ea2afB956
0 ETH0.0007368415.80067702
Set Approval For...166160312023-02-12 23:43:11527 days ago1676245391IN
0x9a09CfC5...ea2afB956
0 ETH0.0004233315.84213318
Set Approval For...166160302023-02-12 23:42:59527 days ago1676245379IN
0x9a09CfC5...ea2afB956
0 ETH0.0004151615.53658684
Set Approval For...166160302023-02-12 23:42:59527 days ago1676245379IN
0x9a09CfC5...ea2afB956
0 ETH0.0004151615.53658684
Set Approval For...166160292023-02-12 23:42:47527 days ago1676245367IN
0x9a09CfC5...ea2afB956
0 ETH0.0004202315.7261533
Set Approval For...166158622023-02-12 23:09:11527 days ago1676243351IN
0x9a09CfC5...ea2afB956
0 ETH0.0004687618.96154346
Safe Transfer Fr...166033052023-02-11 5:03:11529 days ago1676091791IN
0x9a09CfC5...ea2afB956
0 ETH0.0009517516.38553423
Set Approval For...165863412023-02-08 20:12:23532 days ago1675887143IN
0x9a09CfC5...ea2afB956
0 ETH0.0018799240.31236274
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JoisNengajyo

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : JoisNengajyo.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/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

contract JoisNengajyo is ERC1155, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    uint256 public immutable tokenAmount = 1;

    struct Item {
        bool mintable;
        bool transferable;
        uint256 maxSupply;
        string tokenURI;
        uint256 maxMintPerWallet; // 0 means user can mint how much they want. so no limitation with minting
    }

    string public contractURI;
    mapping(uint256 => Item) public items;
    mapping(uint256 => uint256) public totalSupply;
    event WithDraw(address indexed to, address token);
    event Mint(address indexed minter, uint256 indexed tokenId);
    event MintTo(
        address indexed minter,
        address indexed holder,
        uint256 indexed tokenId
    );
    event NewItem(uint256 indexed id, bool mintable);
    event UpdateItem(uint256 indexed id, bool mintable);
    event BurnItem(uint256 indexed id, address indexed holder);

    constructor() ERC1155("") {}

    function getItems() public view returns (Item[] memory) {
        Item[] memory ItemArray = new Item[](_tokenIds.current());
        for (uint256 i = 0; i < _tokenIds.current(); i++) {
            ItemArray[i] = items[i + 1];
        }
        return ItemArray;
    }

    modifier onlyExistItem(uint256 _tokenId) {
        require(
            _tokenId > 0 && _tokenId <= _tokenIds.current(),
            "Item Not Exists"
        );
        _;
    }

    modifier onlyHolder(address _of, uint256 _tokenId) {
        require(balanceOf(_of, _tokenId) > 0, "Invalid: NOT HOLDER");
        _;
    }

    modifier onlyBelowMaxMintPerWallet(address _of, uint256 _tokenId) {
        require(
            (balanceOf(_of, _tokenId) < items[_tokenId].maxMintPerWallet) ||
                items[_tokenId].maxMintPerWallet == 0,
            "Invalid: EXCEED MAX MINT PER WALLET"
        );
        _;
    }

    modifier notExceedMaxSupply(uint256 _tokenId) {
        require(
            items[_tokenId].maxSupply > totalSupply[_tokenId],
            "Invalid: Exceed Supply"
        );
        _;
    }

    modifier onlyMintable(uint256 _tokenId) {
        require(items[_tokenId].mintable, "Invalid: To mint");
        _;
    }

    function createItem(Item memory _Item) public onlyOwner {
        _tokenIds.increment();
        uint256 newItemId = _tokenIds.current();
        items[newItemId] = _Item;
        totalSupply[newItemId] = 0;
        emit NewItem(newItemId, _Item.mintable);
    }

    function setContractURI(string memory _contractUri) public onlyOwner {
        contractURI = _contractUri;
    }

    function makeSVGTokenURL(
        string memory title,
        string memory description,
        string memory _svg
    ) private pure returns (string memory) {
        string memory finalSvg = string(abi.encodePacked(_svg));
        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "',
                        title,
                        '", "description": "',
                        description,
                        '", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(finalSvg)),
                        '"}'
                    )
                )
            )
        );

        string memory finalTokenUri = string(
            abi.encodePacked("data:application/json;base64,", json)
        );

        return finalTokenUri;
    }

    function createOnChainItem(
        bool mintable,
        bool transferable,
        uint256 maxSupply,
        uint256 maxMintPerWallet,
        string memory title,
        string memory description,
        string memory _svg
    ) public onlyOwner {
        _tokenIds.increment();
        uint256 newItemId = _tokenIds.current();
        string memory _uri = makeSVGTokenURL(title, description, _svg);
        items[newItemId] = Item(
            mintable,
            transferable,
            maxSupply,
            _uri,
            maxMintPerWallet
        );
        totalSupply[newItemId] = 0;
        emit NewItem(newItemId, mintable);
    }

    function updateItemAttr(
        uint256 _tokenId,
        bool _mintable,
        string memory _tokenURI
    ) public onlyOwner onlyExistItem(_tokenId) {
        items[_tokenId].mintable = _mintable;
        if (bytes(_tokenURI).length >= 5) {
            items[_tokenId].tokenURI = _tokenURI;
        }
        emit UpdateItem(_tokenId, _mintable);
    }

    function lockMinting(uint256 _tokenId)
        public
        onlyOwner
        onlyExistItem(_tokenId)
    {
        items[_tokenId].mintable = false;
        emit UpdateItem(_tokenId, false);
    }

    function mint(uint256 _tokenId)
        public
        onlyExistItem(_tokenId)
        notExceedMaxSupply(_tokenId)
        onlyBelowMaxMintPerWallet(msg.sender, _tokenId)
        onlyMintable(_tokenId)
    {
        _mint(msg.sender, _tokenId, tokenAmount, "");
        totalSupply[_tokenId] += 1;
        emit Mint(msg.sender, _tokenId);
    }

    function mintTo(address _to, uint256 _tokenId)
        public
        onlyOwner
        onlyExistItem(_tokenId)
        notExceedMaxSupply(_tokenId)
        onlyBelowMaxMintPerWallet(_to, _tokenId)
        onlyMintable(_tokenId)
    {
        _mint(_to, _tokenId, tokenAmount, "");
        totalSupply[_tokenId] += 1;
        emit MintTo(msg.sender, _to, _tokenId);
    }

    // or use before transfer
    function safeTransferFrom(
        address _from,
        address _to,
        uint256 _tokenId,
        uint256 _amount,
        bytes memory _data
    ) public virtual override onlyExistItem(_tokenId) {
        require(items[_tokenId].transferable, "TRANSFER FORBIDDEN");

        _safeTransferFrom(_from, _to, _tokenId, _amount, _data);
    }

    function uri(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return items[_tokenId].tokenURI;
    }
}

File 2 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        emit TransferSingle(operator, from, address(0), id, amount);

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 12 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 5 of 12 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 6 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 7 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

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

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

File 8 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"holder","type":"address"}],"name":"BurnItem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintTo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"bool","name":"mintable","type":"bool"}],"name":"NewItem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"bool","name":"mintable","type":"bool"}],"name":"UpdateItem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"}],"name":"WithDraw","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"bool","name":"transferable","type":"bool"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint256","name":"maxMintPerWallet","type":"uint256"}],"internalType":"struct JoisNengajyo.Item","name":"_Item","type":"tuple"}],"name":"createItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"bool","name":"transferable","type":"bool"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxMintPerWallet","type":"uint256"},{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"_svg","type":"string"}],"name":"createOnChainItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getItems","outputs":[{"components":[{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"bool","name":"transferable","type":"bool"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint256","name":"maxMintPerWallet","type":"uint256"}],"internalType":"struct JoisNengajyo.Item[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"items","outputs":[{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"bool","name":"transferable","type":"bool"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint256","name":"maxMintPerWallet","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"lockMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","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":"_contractUri","type":"string"}],"name":"setContractURI","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":"tokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_mintable","type":"bool"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"updateItemAttr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60a060405260016080908152503480156200001957600080fd5b50604051806020016040528060008152506200003b816200006260201b60201c565b506200005c620000506200007e60201b60201c565b6200008660201b60201c565b62000261565b80600290805190602001906200007a9291906200014c565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200015a90620001fc565b90600052602060002090601f0160209004810192826200017e5760008555620001ca565b82601f106200019957805160ff1916838001178555620001ca565b82800160010185558215620001ca579182015b82811115620001c9578251825591602001919060010190620001ac565b5b509050620001d99190620001dd565b5090565b5b80821115620001f8576000816000905550600101620001de565b5090565b600060028204905060018216806200021557607f821691505b602082108114156200022c576200022b62000232565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b608051614bf56200028b60003960008181610b810152818161155901526119a30152614bf56000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063938e3d7b116100c3578063e398c28d1161007c578063e398c28d1461039b578063e8a3d485146103b7578063e985e9c5146103d5578063eec7faa114610405578063f242432a14610423578063f2fde38b1461043f5761014c565b8063938e3d7b146102c75780639b6ac50d146102e3578063a0712d68146102ff578063a22cb4651461031b578063bd85b03914610337578063bfb231d2146103675761014c565b8063449a52f811610115578063449a52f81461021b5780634c50f8af146102375780634e1273f414610253578063715018a6146102835780637d0f5df31461028d5780638da5cb5b146102a95761014c565b8062fdd58e1461015157806301ffc9a7146101815780630e89341c146101b15780632eb2c2d6146101e1578063410d59cc146101fd575b600080fd5b61016b600480360381019061016691906132bc565b61045b565b6040516101789190613ff1565b60405180910390f35b61019b6004803603810190610196919061344a565b610524565b6040516101a89190613d3a565b60405180910390f35b6101cb60048036038101906101c6919061351e565b610606565b6040516101d89190613daf565b60405180910390f35b6101fb60048036038101906101f69190613132565b6106ae565b005b61020561074f565b6040516102129190613cbf565b60405180910390f35b610235600480360381019061023091906132bc565b610951565b005b610251600480360381019061024c919061351e565b610c44565b005b61026d600480360381019061026891906132f8565b610d85565b60405161027a9190613ce1565b60405180910390f35b61028b610f36565b005b6102a760048036038101906102a29190613547565b610fbe565b005b6102b1611134565b6040516102be9190613be2565b60405180910390f35b6102e160048036038101906102dc919061349c565b61115e565b005b6102fd60048036038101906102f89190613364565b6111f4565b005b6103196004803603810190610314919061351e565b6113a5565b005b61033560048036038101906103309190613280565b611604565b005b610351600480360381019061034c919061351e565b61161a565b60405161035e9190613ff1565b60405180910390f35b610381600480360381019061037c919061351e565b611632565b604051610392959493929190613d55565b60405180910390f35b6103b560048036038101906103b091906134dd565b61170a565b005b6103bf61187f565b6040516103cc9190613daf565b60405180910390f35b6103ef60048036038101906103ea91906130f6565b61190d565b6040516103fc9190613d3a565b60405180910390f35b61040d6119a1565b60405161041a9190613ff1565b60405180910390f35b61043d600480360381019061043891906131f1565b6119c5565b005b610459600480360381019061045491906130cd565b611a96565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c390613e11565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ef57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105ff57506105fe82611b8e565b5b9050919050565b606060066000838152602001908152602001600020600201805461062990614371565b80601f016020809104026020016040519081016040528092919081815260200182805461065590614371565b80156106a25780601f10610677576101008083540402835291602001916106a2565b820191906000526020600020905b81548152906001019060200180831161068557829003601f168201915b50505050509050919050565b6106b6611bf8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106fc57506106fb856106f6611bf8565b61190d565b5b61073b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073290613ed1565b60405180910390fd5b6107488585858585611c00565b5050505050565b6060600061075d6004611f6e565b67ffffffffffffffff81111561079c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156107d557816020015b6107c2612cf2565b8152602001906001900390816107ba5790505b50905060005b6107e56004611f6e565b81101561094957600660006001836107fd91906141da565b81526020019081526020016000206040518060a00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff161515151581526020016001820154815260200160028201805461086690614371565b80601f016020809104026020016040519081016040528092919081815260200182805461089290614371565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b5050505050815260200160038201548152505082828151811061092b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080610941906143d4565b9150506107db565b508091505090565b610959611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610977611134565b73ffffffffffffffffffffffffffffffffffffffff16146109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c490613f31565b60405180910390fd5b806000811180156109e757506109e36004611f6e565b8111155b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90613f51565b60405180910390fd5b816007600082815260200190815260200160002054600660008381526020019081526020016000206001015411610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8990613e91565b60405180910390fd5b83836006600082815260200190815260200160002060030154610ab5838361045b565b1080610ad7575060006006600083815260200190815260200160002060030154145b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90613e71565b60405180910390fd5b846006600082815260200190815260200160002060000160009054906101000a900460ff16610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7190613e51565b60405180910390fd5b610bb587877f000000000000000000000000000000000000000000000000000000000000000060405180602001604052806000815250611f7c565b6001600760008881526020019081526020016000206000828254610bd991906141da565b92505081905550858773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2c4bcf43eb88210e8a3c6430a36c6ad3cc23fd4cf41220906815eba0eac3b33c60405160405180910390a450505050505050565b610c4c611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610c6a611134565b73ffffffffffffffffffffffffffffffffffffffff1614610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb790613f31565b60405180910390fd5b80600081118015610cda5750610cd66004611f6e565b8111155b610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1090613f51565b60405180910390fd5b60006006600084815260200190815260200160002060000160006101000a81548160ff021916908315150217905550817f346e462bb0de757bbbf009b3aff0225ee5b327983add37410a8a0ad8982a377f6000604051610d799190613d3a565b60405180910390a25050565b60608151835114610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc290613f91565b60405180910390fd5b6000835167ffffffffffffffff811115610e0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e3c5781602001602082028036833780820191505090505b50905060005b8451811015610f2b57610ed5858281518110610e87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610ec8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161045b565b828281518110610f0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610f24906143d4565b9050610e42565b508091505092915050565b610f3e611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610f5c611134565b73ffffffffffffffffffffffffffffffffffffffff1614610fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa990613f31565b60405180910390fd5b610fbc600061212d565b565b610fc6611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610fe4611134565b73ffffffffffffffffffffffffffffffffffffffff161461103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190613f31565b60405180910390fd5b8260008111801561105457506110506004611f6e565b8111155b611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108a90613f51565b60405180910390fd5b826006600086815260200190815260200160002060000160006101000a81548160ff02191690831515021790555060058251106110f657816006600086815260200190815260200160002060020190805190602001906110f4929190612d25565b505b837f346e462bb0de757bbbf009b3aff0225ee5b327983add37410a8a0ad8982a377f846040516111269190613d3a565b60405180910390a250505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611166611bf8565b73ffffffffffffffffffffffffffffffffffffffff16611184611134565b73ffffffffffffffffffffffffffffffffffffffff16146111da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d190613f31565b60405180910390fd5b80600590805190602001906111f0929190612d25565b5050565b6111fc611bf8565b73ffffffffffffffffffffffffffffffffffffffff1661121a611134565b73ffffffffffffffffffffffffffffffffffffffff1614611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613f31565b60405180910390fd5b61127a60046121f3565b60006112866004611f6e565b90506000611295858585612209565b90506040518060a001604052808a151581526020018915158152602001888152602001828152602001878152506006600084815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160010155606082015181600201908051906020019061133b929190612d25565b506080820151816003015590505060006007600084815260200190815260200160002081905550817f840ca088e9c4dc22a1a3e4b0f59f269accefff185d7652b45f37178568523ea68a6040516113929190613d3a565b60405180910390a2505050505050505050565b806000811180156113bf57506113bb6004611f6e565b8111155b6113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590613f51565b60405180910390fd5b81600760008281526020019081526020016000205460066000838152602001908152602001600020600101541161146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190613e91565b60405180910390fd5b3383600660008281526020019081526020016000206003015461148d838361045b565b10806114af575060006006600083815260200190815260200160002060030154145b6114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590613e71565b60405180910390fd5b846006600082815260200190815260200160002060000160009054906101000a900460ff16611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990613e51565b60405180910390fd5b61158d33877f000000000000000000000000000000000000000000000000000000000000000060405180602001604052806000815250611f7c565b60016007600088815260200190815260200160002060008282546115b191906141da565b92505081905550853373ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3505050505050565b61161661160f611bf8565b8383612298565b5050565b60076020528060005260406000206000915090505481565b60066020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff169080600101549080600201805461168190614371565b80601f01602080910402602001604051908101604052809291908181526020018280546116ad90614371565b80156116fa5780601f106116cf576101008083540402835291602001916116fa565b820191906000526020600020905b8154815290600101906020018083116116dd57829003601f168201915b5050505050908060030154905085565b611712611bf8565b73ffffffffffffffffffffffffffffffffffffffff16611730611134565b73ffffffffffffffffffffffffffffffffffffffff1614611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90613f31565b60405180910390fd5b61179060046121f3565b600061179c6004611f6e565b9050816006600083815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff021916908315150217905550604082015181600101556060820151816002019080519060200190611818929190612d25565b506080820151816003015590505060006007600083815260200190815260200160002081905550807f840ca088e9c4dc22a1a3e4b0f59f269accefff185d7652b45f37178568523ea683600001516040516118739190613d3a565b60405180910390a25050565b6005805461188c90614371565b80601f01602080910402602001604051908101604052809291908181526020018280546118b890614371565b80156119055780601f106118da57610100808354040283529160200191611905565b820191906000526020600020905b8154815290600101906020018083116118e857829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b826000811180156119df57506119db6004611f6e565b8111155b611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590613f51565b60405180910390fd5b6006600085815260200190815260200160002060000160019054906101000a900460ff16611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890613f11565b60405180910390fd5b611a8e8686868686612405565b505050505050565b611a9e611bf8565b73ffffffffffffffffffffffffffffffffffffffff16611abc611134565b73ffffffffffffffffffffffffffffffffffffffff1614611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990613f31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990613e31565b60405180910390fd5b611b8b8161212d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b90613fb1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cab90613eb1565b60405180910390fd5b6000611cbe611bf8565b9050611cce8187878787876126a1565b60005b8451811015611ecb576000858281518110611d15577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611d5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df290613ef1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eb091906141da565b9250508190555050505080611ec4906143d4565b9050611cd1565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f42929190613d03565b60405180910390a4611f588187878787876126a9565b611f668187878787876126b1565b505050505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe390613fd1565b60405180910390fd5b6000611ff6611bf8565b9050600061200385612898565b9050600061201085612898565b9050612021836000898585896126a1565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461208091906141da565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516120fe92919061400c565b60405180910390a4612115836000898585896126a9565b6121248360008989898961295e565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b606060008260405160200161221e9190613b4c565b60405160208183030381529060405290506000612265868661223f85612b45565b60405160200161225193929190613b63565b604051602081830303815290604052612b45565b905060008160405160200161227a9190613bc0565b60405160208183030381529060405290508093505050509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe90613f71565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123f89190613d3a565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246c90613eb1565b60405180910390fd5b600061247f611bf8565b9050600061248c85612898565b9050600061249985612898565b90506124a98389898585896126a1565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790613ef1565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f591906141da565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161267292919061400c565b60405180910390a4612688848a8a86868a6126a9565b612696848a8a8a8a8a61295e565b505050505050505050565b505050505050565b505050505050565b6126d08473ffffffffffffffffffffffffffffffffffffffff16612ccf565b15612890578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612716959493929190613bfd565b602060405180830381600087803b15801561273057600080fd5b505af192505050801561276157506040513d601f19601f8201168201806040525081019061275e9190613473565b60015b6128075761276d6144d9565b806308c379a014156127ca5750612782614a8d565b8061278d57506127cc565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c19190613daf565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fe90613dd1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461288e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288590613df1565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156128dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561290b5781602001602082028036833780820191505090505b5090508281600081518110612949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61297d8473ffffffffffffffffffffffffffffffffffffffff16612ccf565b15612b3d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016129c3959493929190613c65565b602060405180830381600087803b1580156129dd57600080fd5b505af1925050508015612a0e57506040513d601f19601f82011682018060405250810190612a0b9190613473565b60015b612ab457612a1a6144d9565b806308c379a01415612a775750612a2f614a8d565b80612a3a5750612a79565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6e9190613daf565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aab90613dd1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3290613df1565b60405180910390fd5b505b505050505050565b6060600082511415612b6857604051806020016040528060008152509050612cca565b6000604051806060016040528060408152602001614b806040913990506000600360028551612b9791906141da565b612ba19190614230565b6004612bad9190614261565b67ffffffffffffffff811115612bec577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c1e5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612c8a576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612c2f565b5050600386510660018114612ca65760028114612cb957612cc1565b603d6001830353603d6002830353612cc1565b603d60018303535b50505080925050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060a001604052806000151581526020016000151581526020016000815260200160608152602001600081525090565b828054612d3190614371565b90600052602060002090601f016020900481019282612d535760008555612d9a565b82601f10612d6c57805160ff1916838001178555612d9a565b82800160010185558215612d9a579182015b82811115612d99578251825591602001919060010190612d7e565b5b509050612da79190612dab565b5090565b5b80821115612dc4576000816000905550600101612dac565b5090565b6000612ddb612dd68461405a565b614035565b90508083825260208201905082856020860282011115612dfa57600080fd5b60005b85811015612e2a5781612e108882612f1c565b845260208401935060208301925050600181019050612dfd565b5050509392505050565b6000612e47612e4284614086565b614035565b90508083825260208201905082856020860282011115612e6657600080fd5b60005b85811015612e965781612e7c88826130b8565b845260208401935060208301925050600181019050612e69565b5050509392505050565b6000612eb3612eae846140b2565b614035565b905082815260208101848484011115612ecb57600080fd5b612ed684828561432f565b509392505050565b6000612ef1612eec846140e3565b614035565b905082815260208101848484011115612f0957600080fd5b612f1484828561432f565b509392505050565b600081359050612f2b81614b23565b92915050565b600082601f830112612f4257600080fd5b8135612f52848260208601612dc8565b91505092915050565b600082601f830112612f6c57600080fd5b8135612f7c848260208601612e34565b91505092915050565b600081359050612f9481614b3a565b92915050565b600081359050612fa981614b51565b92915050565b600081519050612fbe81614b51565b92915050565b600082601f830112612fd557600080fd5b8135612fe5848260208601612ea0565b91505092915050565b600082601f830112612fff57600080fd5b813561300f848260208601612ede565b91505092915050565b600060a0828403121561302a57600080fd5b61303460a0614035565b9050600061304484828501612f85565b600083015250602061305884828501612f85565b602083015250604061306c848285016130b8565b604083015250606082013567ffffffffffffffff81111561308c57600080fd5b61309884828501612fee565b60608301525060806130ac848285016130b8565b60808301525092915050565b6000813590506130c781614b68565b92915050565b6000602082840312156130df57600080fd5b60006130ed84828501612f1c565b91505092915050565b6000806040838503121561310957600080fd5b600061311785828601612f1c565b925050602061312885828601612f1c565b9150509250929050565b600080600080600060a0868803121561314a57600080fd5b600061315888828901612f1c565b955050602061316988828901612f1c565b945050604086013567ffffffffffffffff81111561318657600080fd5b61319288828901612f5b565b935050606086013567ffffffffffffffff8111156131af57600080fd5b6131bb88828901612f5b565b925050608086013567ffffffffffffffff8111156131d857600080fd5b6131e488828901612fc4565b9150509295509295909350565b600080600080600060a0868803121561320957600080fd5b600061321788828901612f1c565b955050602061322888828901612f1c565b9450506040613239888289016130b8565b935050606061324a888289016130b8565b925050608086013567ffffffffffffffff81111561326757600080fd5b61327388828901612fc4565b9150509295509295909350565b6000806040838503121561329357600080fd5b60006132a185828601612f1c565b92505060206132b285828601612f85565b9150509250929050565b600080604083850312156132cf57600080fd5b60006132dd85828601612f1c565b92505060206132ee858286016130b8565b9150509250929050565b6000806040838503121561330b57600080fd5b600083013567ffffffffffffffff81111561332557600080fd5b61333185828601612f31565b925050602083013567ffffffffffffffff81111561334e57600080fd5b61335a85828601612f5b565b9150509250929050565b600080600080600080600060e0888a03121561337f57600080fd5b600061338d8a828b01612f85565b975050602061339e8a828b01612f85565b96505060406133af8a828b016130b8565b95505060606133c08a828b016130b8565b945050608088013567ffffffffffffffff8111156133dd57600080fd5b6133e98a828b01612fee565b93505060a088013567ffffffffffffffff81111561340657600080fd5b6134128a828b01612fee565b92505060c088013567ffffffffffffffff81111561342f57600080fd5b61343b8a828b01612fee565b91505092959891949750929550565b60006020828403121561345c57600080fd5b600061346a84828501612f9a565b91505092915050565b60006020828403121561348557600080fd5b600061349384828501612faf565b91505092915050565b6000602082840312156134ae57600080fd5b600082013567ffffffffffffffff8111156134c857600080fd5b6134d484828501612fee565b91505092915050565b6000602082840312156134ef57600080fd5b600082013567ffffffffffffffff81111561350957600080fd5b61351584828501613018565b91505092915050565b60006020828403121561353057600080fd5b600061353e848285016130b8565b91505092915050565b60008060006060848603121561355c57600080fd5b600061356a868287016130b8565b935050602061357b86828701612f85565b925050604084013567ffffffffffffffff81111561359857600080fd5b6135a486828701612fee565b9150509250925092565b60006135ba8383613ab8565b905092915050565b60006135ce8383613b2e565b60208301905092915050565b6135e3816142bb565b82525050565b60006135f482614134565b6135fe818561417a565b93508360208202850161361085614114565b8060005b8581101561364c578484038952815161362d85826135ae565b945061363883614160565b925060208a01995050600181019050613614565b50829750879550505050505092915050565b60006136698261413f565b613673818561418b565b935061367e83614124565b8060005b838110156136af57815161369688826135c2565b97506136a18361416d565b925050600181019050613682565b5085935050505092915050565b6136c5816142cd565b82525050565b6136d4816142cd565b82525050565b60006136e58261414a565b6136ef818561419c565b93506136ff81856020860161433e565b613708816144fb565b840191505092915050565b600061371e82614155565b61372881856141ad565b935061373881856020860161433e565b613741816144fb565b840191505092915050565b600061375782614155565b61376181856141be565b935061377181856020860161433e565b61377a816144fb565b840191505092915050565b600061379082614155565b61379a81856141cf565b93506137aa81856020860161433e565b80840191505092915050565b60006137c36034836141be565b91506137ce82614519565b604082019050919050565b60006137e66028836141be565b91506137f182614568565b604082019050919050565b60006138096013836141cf565b9150613814826145b7565b601382019050919050565b600061382c602b836141be565b9150613837826145e0565b604082019050919050565b600061384f6026836141be565b915061385a8261462f565b604082019050919050565b60006138726010836141be565b915061387d8261467e565b602082019050919050565b60006138956023836141be565b91506138a0826146a7565b604082019050919050565b60006138b86016836141be565b91506138c3826146f6565b602082019050919050565b60006138db6025836141be565b91506138e68261471f565b604082019050919050565b60006138fe6032836141be565b91506139098261476e565b604082019050919050565b60006139216002836141cf565b915061392c826147bd565b600282019050919050565b6000613944602a836141be565b915061394f826147e6565b604082019050919050565b60006139676012836141be565b915061397282614835565b602082019050919050565b600061398a6020836141be565b91506139958261485e565b602082019050919050565b60006139ad6027836141cf565b91506139b882614887565b602782019050919050565b60006139d0600a836141cf565b91506139db826148d6565b600a82019050919050565b60006139f3601d836141cf565b91506139fe826148ff565b601d82019050919050565b6000613a16600f836141be565b9150613a2182614928565b602082019050919050565b6000613a396029836141be565b9150613a4482614951565b604082019050919050565b6000613a5c6029836141be565b9150613a67826149a0565b604082019050919050565b6000613a7f6028836141be565b9150613a8a826149ef565b604082019050919050565b6000613aa26021836141be565b9150613aad82614a3e565b604082019050919050565b600060a083016000830151613ad060008601826136bc565b506020830151613ae360208601826136bc565b506040830151613af66040860182613b2e565b5060608301518482036060860152613b0e8282613713565b9150506080830151613b236080860182613b2e565b508091505092915050565b613b3781614325565b82525050565b613b4681614325565b82525050565b6000613b588284613785565b915081905092915050565b6000613b6e826139c3565b9150613b7a8286613785565b9150613b85826137fc565b9150613b918285613785565b9150613b9c826139a0565b9150613ba88284613785565b9150613bb382613914565b9150819050949350505050565b6000613bcb826139e6565b9150613bd78284613785565b915081905092915050565b6000602082019050613bf760008301846135da565b92915050565b600060a082019050613c1260008301886135da565b613c1f60208301876135da565b8181036040830152613c31818661365e565b90508181036060830152613c45818561365e565b90508181036080830152613c5981846136da565b90509695505050505050565b600060a082019050613c7a60008301886135da565b613c8760208301876135da565b613c946040830186613b3d565b613ca16060830185613b3d565b8181036080830152613cb381846136da565b90509695505050505050565b60006020820190508181036000830152613cd981846135e9565b905092915050565b60006020820190508181036000830152613cfb818461365e565b905092915050565b60006040820190508181036000830152613d1d818561365e565b90508181036020830152613d31818461365e565b90509392505050565b6000602082019050613d4f60008301846136cb565b92915050565b600060a082019050613d6a60008301886136cb565b613d7760208301876136cb565b613d846040830186613b3d565b8181036060830152613d96818561374c565b9050613da56080830184613b3d565b9695505050505050565b60006020820190508181036000830152613dc9818461374c565b905092915050565b60006020820190508181036000830152613dea816137b6565b9050919050565b60006020820190508181036000830152613e0a816137d9565b9050919050565b60006020820190508181036000830152613e2a8161381f565b9050919050565b60006020820190508181036000830152613e4a81613842565b9050919050565b60006020820190508181036000830152613e6a81613865565b9050919050565b60006020820190508181036000830152613e8a81613888565b9050919050565b60006020820190508181036000830152613eaa816138ab565b9050919050565b60006020820190508181036000830152613eca816138ce565b9050919050565b60006020820190508181036000830152613eea816138f1565b9050919050565b60006020820190508181036000830152613f0a81613937565b9050919050565b60006020820190508181036000830152613f2a8161395a565b9050919050565b60006020820190508181036000830152613f4a8161397d565b9050919050565b60006020820190508181036000830152613f6a81613a09565b9050919050565b60006020820190508181036000830152613f8a81613a2c565b9050919050565b60006020820190508181036000830152613faa81613a4f565b9050919050565b60006020820190508181036000830152613fca81613a72565b9050919050565b60006020820190508181036000830152613fea81613a95565b9050919050565b60006020820190506140066000830184613b3d565b92915050565b60006040820190506140216000830185613b3d565b61402e6020830184613b3d565b9392505050565b600061403f614050565b905061404b82826143a3565b919050565b6000604051905090565b600067ffffffffffffffff821115614075576140746144aa565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156140a1576140a06144aa565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156140cd576140cc6144aa565b5b6140d6826144fb565b9050602081019050919050565b600067ffffffffffffffff8211156140fe576140fd6144aa565b5b614107826144fb565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006141e582614325565b91506141f083614325565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142255761422461441d565b5b828201905092915050565b600061423b82614325565b915061424683614325565b9250826142565761425561444c565b5b828204905092915050565b600061426c82614325565b915061427783614325565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142b0576142af61441d565b5b828202905092915050565b60006142c682614305565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561435c578082015181840152602081019050614341565b8381111561436b576000848401525b50505050565b6000600282049050600182168061438957607f821691505b6020821081141561439d5761439c61447b565b5b50919050565b6143ac826144fb565b810181811067ffffffffffffffff821117156143cb576143ca6144aa565b5b80604052505050565b60006143df82614325565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144125761441161441d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156144f85760046000803e6144f560005161450c565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69643a20546f206d696e7400000000000000000000000000000000600082015250565b7f496e76616c69643a20455843454544204d4158204d494e54205045522057414c60008201527f4c45540000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69643a2045786365656420537570706c7900000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f5452414e5346455220464f5242494444454e0000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4974656d204e6f74204578697374730000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614a9d57614b20565b614aa5614050565b60043d036004823e80513d602482011167ffffffffffffffff82111715614acd575050614b20565b808201805167ffffffffffffffff811115614aeb5750505050614b20565b80602083010160043d038501811115614b08575050505050614b20565b614b17826020018501866143a3565b82955050505050505b90565b614b2c816142bb565b8114614b3757600080fd5b50565b614b43816142cd565b8114614b4e57600080fd5b50565b614b5a816142d9565b8114614b6557600080fd5b50565b614b7181614325565b8114614b7c57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b204a5f1c34f4fd50fb671d6071226d1c3ad3e6a5ecffab480519663d12522f564736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063938e3d7b116100c3578063e398c28d1161007c578063e398c28d1461039b578063e8a3d485146103b7578063e985e9c5146103d5578063eec7faa114610405578063f242432a14610423578063f2fde38b1461043f5761014c565b8063938e3d7b146102c75780639b6ac50d146102e3578063a0712d68146102ff578063a22cb4651461031b578063bd85b03914610337578063bfb231d2146103675761014c565b8063449a52f811610115578063449a52f81461021b5780634c50f8af146102375780634e1273f414610253578063715018a6146102835780637d0f5df31461028d5780638da5cb5b146102a95761014c565b8062fdd58e1461015157806301ffc9a7146101815780630e89341c146101b15780632eb2c2d6146101e1578063410d59cc146101fd575b600080fd5b61016b600480360381019061016691906132bc565b61045b565b6040516101789190613ff1565b60405180910390f35b61019b6004803603810190610196919061344a565b610524565b6040516101a89190613d3a565b60405180910390f35b6101cb60048036038101906101c6919061351e565b610606565b6040516101d89190613daf565b60405180910390f35b6101fb60048036038101906101f69190613132565b6106ae565b005b61020561074f565b6040516102129190613cbf565b60405180910390f35b610235600480360381019061023091906132bc565b610951565b005b610251600480360381019061024c919061351e565b610c44565b005b61026d600480360381019061026891906132f8565b610d85565b60405161027a9190613ce1565b60405180910390f35b61028b610f36565b005b6102a760048036038101906102a29190613547565b610fbe565b005b6102b1611134565b6040516102be9190613be2565b60405180910390f35b6102e160048036038101906102dc919061349c565b61115e565b005b6102fd60048036038101906102f89190613364565b6111f4565b005b6103196004803603810190610314919061351e565b6113a5565b005b61033560048036038101906103309190613280565b611604565b005b610351600480360381019061034c919061351e565b61161a565b60405161035e9190613ff1565b60405180910390f35b610381600480360381019061037c919061351e565b611632565b604051610392959493929190613d55565b60405180910390f35b6103b560048036038101906103b091906134dd565b61170a565b005b6103bf61187f565b6040516103cc9190613daf565b60405180910390f35b6103ef60048036038101906103ea91906130f6565b61190d565b6040516103fc9190613d3a565b60405180910390f35b61040d6119a1565b60405161041a9190613ff1565b60405180910390f35b61043d600480360381019061043891906131f1565b6119c5565b005b610459600480360381019061045491906130cd565b611a96565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c390613e11565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ef57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105ff57506105fe82611b8e565b5b9050919050565b606060066000838152602001908152602001600020600201805461062990614371565b80601f016020809104026020016040519081016040528092919081815260200182805461065590614371565b80156106a25780601f10610677576101008083540402835291602001916106a2565b820191906000526020600020905b81548152906001019060200180831161068557829003601f168201915b50505050509050919050565b6106b6611bf8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106fc57506106fb856106f6611bf8565b61190d565b5b61073b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073290613ed1565b60405180910390fd5b6107488585858585611c00565b5050505050565b6060600061075d6004611f6e565b67ffffffffffffffff81111561079c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156107d557816020015b6107c2612cf2565b8152602001906001900390816107ba5790505b50905060005b6107e56004611f6e565b81101561094957600660006001836107fd91906141da565b81526020019081526020016000206040518060a00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff161515151581526020016001820154815260200160028201805461086690614371565b80601f016020809104026020016040519081016040528092919081815260200182805461089290614371565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b5050505050815260200160038201548152505082828151811061092b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080610941906143d4565b9150506107db565b508091505090565b610959611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610977611134565b73ffffffffffffffffffffffffffffffffffffffff16146109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c490613f31565b60405180910390fd5b806000811180156109e757506109e36004611f6e565b8111155b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90613f51565b60405180910390fd5b816007600082815260200190815260200160002054600660008381526020019081526020016000206001015411610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8990613e91565b60405180910390fd5b83836006600082815260200190815260200160002060030154610ab5838361045b565b1080610ad7575060006006600083815260200190815260200160002060030154145b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90613e71565b60405180910390fd5b846006600082815260200190815260200160002060000160009054906101000a900460ff16610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7190613e51565b60405180910390fd5b610bb587877f000000000000000000000000000000000000000000000000000000000000000160405180602001604052806000815250611f7c565b6001600760008881526020019081526020016000206000828254610bd991906141da565b92505081905550858773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2c4bcf43eb88210e8a3c6430a36c6ad3cc23fd4cf41220906815eba0eac3b33c60405160405180910390a450505050505050565b610c4c611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610c6a611134565b73ffffffffffffffffffffffffffffffffffffffff1614610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb790613f31565b60405180910390fd5b80600081118015610cda5750610cd66004611f6e565b8111155b610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1090613f51565b60405180910390fd5b60006006600084815260200190815260200160002060000160006101000a81548160ff021916908315150217905550817f346e462bb0de757bbbf009b3aff0225ee5b327983add37410a8a0ad8982a377f6000604051610d799190613d3a565b60405180910390a25050565b60608151835114610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc290613f91565b60405180910390fd5b6000835167ffffffffffffffff811115610e0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e3c5781602001602082028036833780820191505090505b50905060005b8451811015610f2b57610ed5858281518110610e87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610ec8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161045b565b828281518110610f0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610f24906143d4565b9050610e42565b508091505092915050565b610f3e611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610f5c611134565b73ffffffffffffffffffffffffffffffffffffffff1614610fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa990613f31565b60405180910390fd5b610fbc600061212d565b565b610fc6611bf8565b73ffffffffffffffffffffffffffffffffffffffff16610fe4611134565b73ffffffffffffffffffffffffffffffffffffffff161461103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190613f31565b60405180910390fd5b8260008111801561105457506110506004611f6e565b8111155b611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108a90613f51565b60405180910390fd5b826006600086815260200190815260200160002060000160006101000a81548160ff02191690831515021790555060058251106110f657816006600086815260200190815260200160002060020190805190602001906110f4929190612d25565b505b837f346e462bb0de757bbbf009b3aff0225ee5b327983add37410a8a0ad8982a377f846040516111269190613d3a565b60405180910390a250505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611166611bf8565b73ffffffffffffffffffffffffffffffffffffffff16611184611134565b73ffffffffffffffffffffffffffffffffffffffff16146111da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d190613f31565b60405180910390fd5b80600590805190602001906111f0929190612d25565b5050565b6111fc611bf8565b73ffffffffffffffffffffffffffffffffffffffff1661121a611134565b73ffffffffffffffffffffffffffffffffffffffff1614611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613f31565b60405180910390fd5b61127a60046121f3565b60006112866004611f6e565b90506000611295858585612209565b90506040518060a001604052808a151581526020018915158152602001888152602001828152602001878152506006600084815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160010155606082015181600201908051906020019061133b929190612d25565b506080820151816003015590505060006007600084815260200190815260200160002081905550817f840ca088e9c4dc22a1a3e4b0f59f269accefff185d7652b45f37178568523ea68a6040516113929190613d3a565b60405180910390a2505050505050505050565b806000811180156113bf57506113bb6004611f6e565b8111155b6113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590613f51565b60405180910390fd5b81600760008281526020019081526020016000205460066000838152602001908152602001600020600101541161146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190613e91565b60405180910390fd5b3383600660008281526020019081526020016000206003015461148d838361045b565b10806114af575060006006600083815260200190815260200160002060030154145b6114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590613e71565b60405180910390fd5b846006600082815260200190815260200160002060000160009054906101000a900460ff16611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990613e51565b60405180910390fd5b61158d33877f000000000000000000000000000000000000000000000000000000000000000160405180602001604052806000815250611f7c565b60016007600088815260200190815260200160002060008282546115b191906141da565b92505081905550853373ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3505050505050565b61161661160f611bf8565b8383612298565b5050565b60076020528060005260406000206000915090505481565b60066020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff169080600101549080600201805461168190614371565b80601f01602080910402602001604051908101604052809291908181526020018280546116ad90614371565b80156116fa5780601f106116cf576101008083540402835291602001916116fa565b820191906000526020600020905b8154815290600101906020018083116116dd57829003601f168201915b5050505050908060030154905085565b611712611bf8565b73ffffffffffffffffffffffffffffffffffffffff16611730611134565b73ffffffffffffffffffffffffffffffffffffffff1614611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90613f31565b60405180910390fd5b61179060046121f3565b600061179c6004611f6e565b9050816006600083815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff021916908315150217905550604082015181600101556060820151816002019080519060200190611818929190612d25565b506080820151816003015590505060006007600083815260200190815260200160002081905550807f840ca088e9c4dc22a1a3e4b0f59f269accefff185d7652b45f37178568523ea683600001516040516118739190613d3a565b60405180910390a25050565b6005805461188c90614371565b80601f01602080910402602001604051908101604052809291908181526020018280546118b890614371565b80156119055780601f106118da57610100808354040283529160200191611905565b820191906000526020600020905b8154815290600101906020018083116118e857829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f000000000000000000000000000000000000000000000000000000000000000181565b826000811180156119df57506119db6004611f6e565b8111155b611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590613f51565b60405180910390fd5b6006600085815260200190815260200160002060000160019054906101000a900460ff16611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890613f11565b60405180910390fd5b611a8e8686868686612405565b505050505050565b611a9e611bf8565b73ffffffffffffffffffffffffffffffffffffffff16611abc611134565b73ffffffffffffffffffffffffffffffffffffffff1614611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990613f31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990613e31565b60405180910390fd5b611b8b8161212d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b90613fb1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cab90613eb1565b60405180910390fd5b6000611cbe611bf8565b9050611cce8187878787876126a1565b60005b8451811015611ecb576000858281518110611d15577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611d5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df290613ef1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eb091906141da565b9250508190555050505080611ec4906143d4565b9050611cd1565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f42929190613d03565b60405180910390a4611f588187878787876126a9565b611f668187878787876126b1565b505050505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe390613fd1565b60405180910390fd5b6000611ff6611bf8565b9050600061200385612898565b9050600061201085612898565b9050612021836000898585896126a1565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461208091906141da565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516120fe92919061400c565b60405180910390a4612115836000898585896126a9565b6121248360008989898961295e565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b606060008260405160200161221e9190613b4c565b60405160208183030381529060405290506000612265868661223f85612b45565b60405160200161225193929190613b63565b604051602081830303815290604052612b45565b905060008160405160200161227a9190613bc0565b60405160208183030381529060405290508093505050509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe90613f71565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123f89190613d3a565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246c90613eb1565b60405180910390fd5b600061247f611bf8565b9050600061248c85612898565b9050600061249985612898565b90506124a98389898585896126a1565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790613ef1565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f591906141da565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161267292919061400c565b60405180910390a4612688848a8a86868a6126a9565b612696848a8a8a8a8a61295e565b505050505050505050565b505050505050565b505050505050565b6126d08473ffffffffffffffffffffffffffffffffffffffff16612ccf565b15612890578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612716959493929190613bfd565b602060405180830381600087803b15801561273057600080fd5b505af192505050801561276157506040513d601f19601f8201168201806040525081019061275e9190613473565b60015b6128075761276d6144d9565b806308c379a014156127ca5750612782614a8d565b8061278d57506127cc565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c19190613daf565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fe90613dd1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461288e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288590613df1565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156128dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561290b5781602001602082028036833780820191505090505b5090508281600081518110612949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61297d8473ffffffffffffffffffffffffffffffffffffffff16612ccf565b15612b3d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016129c3959493929190613c65565b602060405180830381600087803b1580156129dd57600080fd5b505af1925050508015612a0e57506040513d601f19601f82011682018060405250810190612a0b9190613473565b60015b612ab457612a1a6144d9565b806308c379a01415612a775750612a2f614a8d565b80612a3a5750612a79565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6e9190613daf565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aab90613dd1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3290613df1565b60405180910390fd5b505b505050505050565b6060600082511415612b6857604051806020016040528060008152509050612cca565b6000604051806060016040528060408152602001614b806040913990506000600360028551612b9791906141da565b612ba19190614230565b6004612bad9190614261565b67ffffffffffffffff811115612bec577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c1e5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612c8a576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612c2f565b5050600386510660018114612ca65760028114612cb957612cc1565b603d6001830353603d6002830353612cc1565b603d60018303535b50505080925050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060a001604052806000151581526020016000151581526020016000815260200160608152602001600081525090565b828054612d3190614371565b90600052602060002090601f016020900481019282612d535760008555612d9a565b82601f10612d6c57805160ff1916838001178555612d9a565b82800160010185558215612d9a579182015b82811115612d99578251825591602001919060010190612d7e565b5b509050612da79190612dab565b5090565b5b80821115612dc4576000816000905550600101612dac565b5090565b6000612ddb612dd68461405a565b614035565b90508083825260208201905082856020860282011115612dfa57600080fd5b60005b85811015612e2a5781612e108882612f1c565b845260208401935060208301925050600181019050612dfd565b5050509392505050565b6000612e47612e4284614086565b614035565b90508083825260208201905082856020860282011115612e6657600080fd5b60005b85811015612e965781612e7c88826130b8565b845260208401935060208301925050600181019050612e69565b5050509392505050565b6000612eb3612eae846140b2565b614035565b905082815260208101848484011115612ecb57600080fd5b612ed684828561432f565b509392505050565b6000612ef1612eec846140e3565b614035565b905082815260208101848484011115612f0957600080fd5b612f1484828561432f565b509392505050565b600081359050612f2b81614b23565b92915050565b600082601f830112612f4257600080fd5b8135612f52848260208601612dc8565b91505092915050565b600082601f830112612f6c57600080fd5b8135612f7c848260208601612e34565b91505092915050565b600081359050612f9481614b3a565b92915050565b600081359050612fa981614b51565b92915050565b600081519050612fbe81614b51565b92915050565b600082601f830112612fd557600080fd5b8135612fe5848260208601612ea0565b91505092915050565b600082601f830112612fff57600080fd5b813561300f848260208601612ede565b91505092915050565b600060a0828403121561302a57600080fd5b61303460a0614035565b9050600061304484828501612f85565b600083015250602061305884828501612f85565b602083015250604061306c848285016130b8565b604083015250606082013567ffffffffffffffff81111561308c57600080fd5b61309884828501612fee565b60608301525060806130ac848285016130b8565b60808301525092915050565b6000813590506130c781614b68565b92915050565b6000602082840312156130df57600080fd5b60006130ed84828501612f1c565b91505092915050565b6000806040838503121561310957600080fd5b600061311785828601612f1c565b925050602061312885828601612f1c565b9150509250929050565b600080600080600060a0868803121561314a57600080fd5b600061315888828901612f1c565b955050602061316988828901612f1c565b945050604086013567ffffffffffffffff81111561318657600080fd5b61319288828901612f5b565b935050606086013567ffffffffffffffff8111156131af57600080fd5b6131bb88828901612f5b565b925050608086013567ffffffffffffffff8111156131d857600080fd5b6131e488828901612fc4565b9150509295509295909350565b600080600080600060a0868803121561320957600080fd5b600061321788828901612f1c565b955050602061322888828901612f1c565b9450506040613239888289016130b8565b935050606061324a888289016130b8565b925050608086013567ffffffffffffffff81111561326757600080fd5b61327388828901612fc4565b9150509295509295909350565b6000806040838503121561329357600080fd5b60006132a185828601612f1c565b92505060206132b285828601612f85565b9150509250929050565b600080604083850312156132cf57600080fd5b60006132dd85828601612f1c565b92505060206132ee858286016130b8565b9150509250929050565b6000806040838503121561330b57600080fd5b600083013567ffffffffffffffff81111561332557600080fd5b61333185828601612f31565b925050602083013567ffffffffffffffff81111561334e57600080fd5b61335a85828601612f5b565b9150509250929050565b600080600080600080600060e0888a03121561337f57600080fd5b600061338d8a828b01612f85565b975050602061339e8a828b01612f85565b96505060406133af8a828b016130b8565b95505060606133c08a828b016130b8565b945050608088013567ffffffffffffffff8111156133dd57600080fd5b6133e98a828b01612fee565b93505060a088013567ffffffffffffffff81111561340657600080fd5b6134128a828b01612fee565b92505060c088013567ffffffffffffffff81111561342f57600080fd5b61343b8a828b01612fee565b91505092959891949750929550565b60006020828403121561345c57600080fd5b600061346a84828501612f9a565b91505092915050565b60006020828403121561348557600080fd5b600061349384828501612faf565b91505092915050565b6000602082840312156134ae57600080fd5b600082013567ffffffffffffffff8111156134c857600080fd5b6134d484828501612fee565b91505092915050565b6000602082840312156134ef57600080fd5b600082013567ffffffffffffffff81111561350957600080fd5b61351584828501613018565b91505092915050565b60006020828403121561353057600080fd5b600061353e848285016130b8565b91505092915050565b60008060006060848603121561355c57600080fd5b600061356a868287016130b8565b935050602061357b86828701612f85565b925050604084013567ffffffffffffffff81111561359857600080fd5b6135a486828701612fee565b9150509250925092565b60006135ba8383613ab8565b905092915050565b60006135ce8383613b2e565b60208301905092915050565b6135e3816142bb565b82525050565b60006135f482614134565b6135fe818561417a565b93508360208202850161361085614114565b8060005b8581101561364c578484038952815161362d85826135ae565b945061363883614160565b925060208a01995050600181019050613614565b50829750879550505050505092915050565b60006136698261413f565b613673818561418b565b935061367e83614124565b8060005b838110156136af57815161369688826135c2565b97506136a18361416d565b925050600181019050613682565b5085935050505092915050565b6136c5816142cd565b82525050565b6136d4816142cd565b82525050565b60006136e58261414a565b6136ef818561419c565b93506136ff81856020860161433e565b613708816144fb565b840191505092915050565b600061371e82614155565b61372881856141ad565b935061373881856020860161433e565b613741816144fb565b840191505092915050565b600061375782614155565b61376181856141be565b935061377181856020860161433e565b61377a816144fb565b840191505092915050565b600061379082614155565b61379a81856141cf565b93506137aa81856020860161433e565b80840191505092915050565b60006137c36034836141be565b91506137ce82614519565b604082019050919050565b60006137e66028836141be565b91506137f182614568565b604082019050919050565b60006138096013836141cf565b9150613814826145b7565b601382019050919050565b600061382c602b836141be565b9150613837826145e0565b604082019050919050565b600061384f6026836141be565b915061385a8261462f565b604082019050919050565b60006138726010836141be565b915061387d8261467e565b602082019050919050565b60006138956023836141be565b91506138a0826146a7565b604082019050919050565b60006138b86016836141be565b91506138c3826146f6565b602082019050919050565b60006138db6025836141be565b91506138e68261471f565b604082019050919050565b60006138fe6032836141be565b91506139098261476e565b604082019050919050565b60006139216002836141cf565b915061392c826147bd565b600282019050919050565b6000613944602a836141be565b915061394f826147e6565b604082019050919050565b60006139676012836141be565b915061397282614835565b602082019050919050565b600061398a6020836141be565b91506139958261485e565b602082019050919050565b60006139ad6027836141cf565b91506139b882614887565b602782019050919050565b60006139d0600a836141cf565b91506139db826148d6565b600a82019050919050565b60006139f3601d836141cf565b91506139fe826148ff565b601d82019050919050565b6000613a16600f836141be565b9150613a2182614928565b602082019050919050565b6000613a396029836141be565b9150613a4482614951565b604082019050919050565b6000613a5c6029836141be565b9150613a67826149a0565b604082019050919050565b6000613a7f6028836141be565b9150613a8a826149ef565b604082019050919050565b6000613aa26021836141be565b9150613aad82614a3e565b604082019050919050565b600060a083016000830151613ad060008601826136bc565b506020830151613ae360208601826136bc565b506040830151613af66040860182613b2e565b5060608301518482036060860152613b0e8282613713565b9150506080830151613b236080860182613b2e565b508091505092915050565b613b3781614325565b82525050565b613b4681614325565b82525050565b6000613b588284613785565b915081905092915050565b6000613b6e826139c3565b9150613b7a8286613785565b9150613b85826137fc565b9150613b918285613785565b9150613b9c826139a0565b9150613ba88284613785565b9150613bb382613914565b9150819050949350505050565b6000613bcb826139e6565b9150613bd78284613785565b915081905092915050565b6000602082019050613bf760008301846135da565b92915050565b600060a082019050613c1260008301886135da565b613c1f60208301876135da565b8181036040830152613c31818661365e565b90508181036060830152613c45818561365e565b90508181036080830152613c5981846136da565b90509695505050505050565b600060a082019050613c7a60008301886135da565b613c8760208301876135da565b613c946040830186613b3d565b613ca16060830185613b3d565b8181036080830152613cb381846136da565b90509695505050505050565b60006020820190508181036000830152613cd981846135e9565b905092915050565b60006020820190508181036000830152613cfb818461365e565b905092915050565b60006040820190508181036000830152613d1d818561365e565b90508181036020830152613d31818461365e565b90509392505050565b6000602082019050613d4f60008301846136cb565b92915050565b600060a082019050613d6a60008301886136cb565b613d7760208301876136cb565b613d846040830186613b3d565b8181036060830152613d96818561374c565b9050613da56080830184613b3d565b9695505050505050565b60006020820190508181036000830152613dc9818461374c565b905092915050565b60006020820190508181036000830152613dea816137b6565b9050919050565b60006020820190508181036000830152613e0a816137d9565b9050919050565b60006020820190508181036000830152613e2a8161381f565b9050919050565b60006020820190508181036000830152613e4a81613842565b9050919050565b60006020820190508181036000830152613e6a81613865565b9050919050565b60006020820190508181036000830152613e8a81613888565b9050919050565b60006020820190508181036000830152613eaa816138ab565b9050919050565b60006020820190508181036000830152613eca816138ce565b9050919050565b60006020820190508181036000830152613eea816138f1565b9050919050565b60006020820190508181036000830152613f0a81613937565b9050919050565b60006020820190508181036000830152613f2a8161395a565b9050919050565b60006020820190508181036000830152613f4a8161397d565b9050919050565b60006020820190508181036000830152613f6a81613a09565b9050919050565b60006020820190508181036000830152613f8a81613a2c565b9050919050565b60006020820190508181036000830152613faa81613a4f565b9050919050565b60006020820190508181036000830152613fca81613a72565b9050919050565b60006020820190508181036000830152613fea81613a95565b9050919050565b60006020820190506140066000830184613b3d565b92915050565b60006040820190506140216000830185613b3d565b61402e6020830184613b3d565b9392505050565b600061403f614050565b905061404b82826143a3565b919050565b6000604051905090565b600067ffffffffffffffff821115614075576140746144aa565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156140a1576140a06144aa565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156140cd576140cc6144aa565b5b6140d6826144fb565b9050602081019050919050565b600067ffffffffffffffff8211156140fe576140fd6144aa565b5b614107826144fb565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006141e582614325565b91506141f083614325565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142255761422461441d565b5b828201905092915050565b600061423b82614325565b915061424683614325565b9250826142565761425561444c565b5b828204905092915050565b600061426c82614325565b915061427783614325565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142b0576142af61441d565b5b828202905092915050565b60006142c682614305565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561435c578082015181840152602081019050614341565b8381111561436b576000848401525b50505050565b6000600282049050600182168061438957607f821691505b6020821081141561439d5761439c61447b565b5b50919050565b6143ac826144fb565b810181811067ffffffffffffffff821117156143cb576143ca6144aa565b5b80604052505050565b60006143df82614325565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144125761441161441d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156144f85760046000803e6144f560005161450c565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69643a20546f206d696e7400000000000000000000000000000000600082015250565b7f496e76616c69643a20455843454544204d4158204d494e54205045522057414c60008201527f4c45540000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c69643a2045786365656420537570706c7900000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f5452414e5346455220464f5242494444454e0000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4974656d204e6f74204578697374730000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614a9d57614b20565b614aa5614050565b60043d036004823e80513d602482011167ffffffffffffffff82111715614acd575050614b20565b808201805167ffffffffffffffff811115614aeb5750505050614b20565b80602083010160043d038501811115614b08575050505050614b20565b614b17826020018501866143a3565b82955050505050505b90565b614b2c816142bb565b8114614b3757600080fd5b50565b614b43816142cd565b8114614b4e57600080fd5b50565b614b5a816142d9565b8114614b6557600080fd5b50565b614b7181614325565b8114614b7c57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b204a5f1c34f4fd50fb671d6071226d1c3ad3e6a5ecffab480519663d12522f564736f6c63430008040033

Block Transaction Difficulty 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
Loading...
Loading
[ 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.