ETH Price: $2,669.23 (+1.05%)
Gas: 0.91 Gwei

Contract

0x2F7f592e4BBE4007EA3929A5aa36CA524151018a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...183732682023-10-17 23:07:47310 days ago1697584067IN
spacegirlvalentine: Token
0 ETH0.000152416.15503793
Set Approval For...178226912023-08-01 20:58:35387 days ago1690923515IN
spacegirlvalentine: Token
0 ETH0.0011479724.59497863
Set Approval For...175761572023-06-28 6:52:59422 days ago1687935179IN
spacegirlvalentine: Token
0 ETH0.0006125313.12333593
Set Approval For...174927082023-06-16 13:31:11433 days ago1686922271IN
spacegirlvalentine: Token
0 ETH0.0008437118.07632303
Set Approval For...174215552023-06-06 12:58:23443 days ago1686056303IN
spacegirlvalentine: Token
0 ETH0.0011156523.9025651
Set Approval For...171135482023-04-24 3:43:11487 days ago1682307791IN
spacegirlvalentine: Token
0 ETH0.0017233236.92185675
Set Approval For...170976392023-04-21 22:12:23489 days ago1682115143IN
spacegirlvalentine: Token
0 ETH0.0015145332.44860963
Safe Transfer Fr...169101212023-03-26 7:29:23516 days ago1679815763IN
spacegirlvalentine: Token
0 ETH0.0006770512.61659762
Set Approval For...169046292023-03-25 12:58:47516 days ago1679749127IN
spacegirlvalentine: Token
0 ETH0.0010848623.24289378
Set Approval For...168791562023-03-21 23:05:11520 days ago1679439911IN
spacegirlvalentine: Token
0 ETH0.0008403918.00523551
Set Approval For...168767602023-03-21 14:59:23520 days ago1679410763IN
spacegirlvalentine: Token
0 ETH0.0008109930.3029259
Set Approval For...168767602023-03-21 14:59:23520 days ago1679410763IN
spacegirlvalentine: Token
0 ETH0.0007503930.3029259
Set Approval For...168562002023-03-18 17:43:35523 days ago1679161415IN
spacegirlvalentine: Token
0 ETH0.0010277722.01971646
Set Approval For...167980452023-03-10 13:32:35531 days ago1678455155IN
spacegirlvalentine: Token
0 ETH0.001543433.06708418
Set Approval For...167949132023-03-10 2:53:47532 days ago1678416827IN
spacegirlvalentine: Token
0 ETH0.0012147826.02640728
Set Approval For...167825122023-03-08 9:00:47534 days ago1678266047IN
spacegirlvalentine: Token
0 ETH0.0009397920.13477501
Safe Transfer Fr...167693412023-03-06 12:34:35535 days ago1678106075IN
spacegirlvalentine: Token
0 ETH0.0011984422.33244191
Mint167689172023-03-06 11:08:59535 days ago1678100939IN
spacegirlvalentine: Token
0 ETH0.001302721.73848289
Set Approval For...167685212023-03-06 9:47:23536 days ago1678096043IN
spacegirlvalentine: Token
0 ETH0.000973120.84844051
Set Approval For...167665752023-03-06 3:13:59536 days ago1678072439IN
spacegirlvalentine: Token
0 ETH0.0012699327.2079915
Set Approval For...167551692023-03-04 12:47:23537 days ago1677934043IN
spacegirlvalentine: Token
0 ETH0.0013595629.12839986
Set Approval For...167243632023-02-28 4:43:35542 days ago1677559415IN
spacegirlvalentine: Token
0 ETH0.0008814318.85060313
Set Approval For...167198532023-02-27 13:34:11542 days ago1677504851IN
spacegirlvalentine: Token
0 ETH0.0011933825.56804516
Set Approval For...167102652023-02-26 5:15:11544 days ago1677388511IN
spacegirlvalentine: Token
0 ETH0.0007612716.31002127
Set Approval For...166790862023-02-21 19:55:11548 days ago1677009311IN
spacegirlvalentine: Token
0 ETH0.0014417230.88863866
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:
spacegirlvalentine

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : test.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract spacegirlvalentine is ERC1155URIStorage, Ownable, ERC2981 {
    //@param flg of pause
    bool public paused;

    uint256 public totalSupply;

    //@param tokenToLimitNum: minting limitation by user for each tokenid
    mapping(address => mapping(uint256 => uint256))
        public mintLimitByUserForTokneId;

    //STRUCT
    struct input {
        uint256 tokenId;
        address user;
        uint256 num;
    }

    //@param tokenToLimitNum: minting limitation for each tokenID
    mapping(uint256 => uint256) public tokenToLimitNum;

    //CONSTRUCTOR
    constructor() ERC1155("") {
        paused = true;
        _setDefaultRoyalty(0x16903e24dEc25f2C2eB0a3e175A2F29a400B5f30, 1000);
    }

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

    //@notice mint amount should be fixed one by frontend logic
    function mint(
        uint256 _tokenId,
        uint256 _amount,
        bytes memory _data
    ) public {
        //check
        require(!paused, "The contract is paused");
        require(
            _amount <= mintLimitByUserForTokneId[msg.sender][_tokenId],
            "You have already received"
        );
        require(
            (totalSupply + _amount) <= tokenToLimitNum[_tokenId],
            "Mints num exceeded limit"
        );

        //effect
        mintLimitByUserForTokneId[msg.sender][_tokenId] -= _amount;
        totalSupply += _amount;

        //interaction
        _mint(msg.sender, _tokenId, _amount, _data);
    }

    //SET
    //@notice set BaseURI
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        _setBaseURI(_newBaseURI);
    }

    function setURI(uint256 _tokenId, string memory _newTokenURI)
        public
        onlyOwner
    {
        _setURI(_tokenId, _newTokenURI);
    }

    //@notice set Pause
    function setPaused(bool _newPause) external onlyOwner {
        paused = _newPause;
    }

    //@notice set maxMintedNum
    function setMaxMintedNum(uint256 _tokenId, uint256 _newNum)
        external
        onlyOwner
    {
        tokenToLimitNum[_tokenId] = _newNum;
    }

    //@notice set mintNum by user
    function setMintNumByUser(
        address[] memory _users,
        uint256 _tokenId,
        uint256 _num
    ) external onlyOwner {
        uint256 _userNum = _users.length;
        for (uint256 i = 0; i < _userNum; i++) {
            mintLimitByUserForTokneId[_users[i]][_tokenId] = _num;
        }
    }

    function batchSetMintNumByUser(input[] calldata InputArray) external onlyOwner{
        uint256 _num = InputArray.length;
        for (uint256 i = 0; i < _num; i++) {
            mintLimitByUserForTokneId[InputArray[i].user][InputArray[i].tokenId] = InputArray[i].num;
        }
    }

    function getWhitelist(address _user, uint256 _tokenId)
        external
        view
        returns (uint256)
    {
        return mintLimitByUserForTokneId[_user][_tokenId];
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 3 of 14 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 4 of 14 : ERC1155URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155URIStorage.sol)

pragma solidity ^0.8.0;

import "../../../utils/Strings.sol";
import "../ERC1155.sol";

/**
 * @dev ERC1155 token with storage based token URI management.
 * Inspired by the ERC721URIStorage extension
 *
 * _Available since v4.6._
 */
abstract contract ERC1155URIStorage is ERC1155 {
    using Strings for uint256;

    // Optional base URI
    string private _baseURI = "";

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the concatenation of the `_baseURI`
     * and the token-specific uri if the latter is set
     *
     * This enables the following behaviors:
     *
     * - if `_tokenURIs[tokenId]` is set, then the result is the concatenation
     *   of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI`
     *   is empty per default);
     *
     * - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()`
     *   which in most cases will contain `ERC1155._uri`;
     *
     * - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a
     *   uri value set, then the result is empty.
     */
    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        string memory tokenURI = _tokenURIs[tokenId];

        // If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked).
        return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId);
    }

    /**
     * @dev Sets `tokenURI` as the tokenURI of `tokenId`.
     */
    function _setURI(uint256 tokenId, string memory tokenURI) internal virtual {
        _tokenURIs[tokenId] = tokenURI;
        emit URI(uri(tokenId), tokenId);
    }

    /**
     * @dev Sets `baseURI` as the `_baseURI` for all tokens
     */
    function _setBaseURI(string memory baseURI) internal virtual {
        _baseURI = baseURI;
    }
}

File 5 of 14 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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: address zero is not a valid owner");
        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 token owner or 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: caller is not token owner or 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}.
     *
     * 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 _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`
     *
     * Emits a {TransferSingle} event.
     *
     * 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}.
     *
     * Emits a {TransferBatch} event.
     *
     * 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 an {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 `ids` and `amounts` 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 6 of 14 : 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 7 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 9 of 14 : 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 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 14 : 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 12 of 14 : 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 13 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must 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 14 of 14 : 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"internalType":"struct spacegirlvalentine.input[]","name":"InputArray","type":"tuple[]"}],"name":"batchSetMintNumByUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintLimitByUserForTokneId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newNum","type":"uint256"}],"name":"setMaxMintedNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setMintNumByUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newPause","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newTokenURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToLimitNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526040518060200160405280600081525060039081620000249190620005c8565b503480156200003257600080fd5b50604051806020016040528060008152506200005481620000be60201b60201c565b506200007562000069620000d360201b60201c565b620000db60201b60201c565b6001600860006101000a81548160ff021916908315150217905550620000b87316903e24dec25f2c2eb0a3e175a2f29a400b5f306103e8620001a160201b60201c565b620007ca565b8060029081620000cf9190620005c8565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001b16200034460201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002099062000736565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000284576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027b90620007a8565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003d057607f821691505b602082108103620003e657620003e562000388565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000411565b6200045c868362000411565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004a9620004a36200049d8462000474565b6200047e565b62000474565b9050919050565b6000819050919050565b620004c58362000488565b620004dd620004d482620004b0565b8484546200041e565b825550505050565b600090565b620004f4620004e5565b62000501818484620004ba565b505050565b5b8181101562000529576200051d600082620004ea565b60018101905062000507565b5050565b601f82111562000578576200054281620003ec565b6200054d8462000401565b810160208510156200055d578190505b620005756200056c8562000401565b83018262000506565b50505b505050565b600082821c905092915050565b60006200059d600019846008026200057d565b1980831691505092915050565b6000620005b883836200058a565b9150826002028217905092915050565b620005d3826200034e565b67ffffffffffffffff811115620005ef57620005ee62000359565b5b620005fb8254620003b7565b620006088282856200052d565b600060209050601f8311600181146200064057600084156200062b578287015190505b620006378582620005aa565b865550620006a7565b601f1984166200065086620003ec565b60005b828110156200067a5784890151825560018201915060208501945060208101905062000653565b868310156200069a578489015162000696601f8916826200058a565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200071e602a83620006af565b91506200072b82620006c0565b604082019050919050565b6000602082019050818103600083015262000751816200070f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000790601983620006af565b91506200079d8262000758565b602082019050919050565b60006020820190508181036000830152620007c38162000781565b9050919050565b613f0380620007da6000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80635c975abb116100c3578063a56e962d1161007c578063a56e962d146103d5578063af8ba37d146103f1578063c14a748214610421578063e985e9c51461043d578063f242432a1461046d578063f2fde38b1461048957610157565b80635c975abb1461033b5780636b387dab14610359578063715018a614610375578063862440e21461037f5780638da5cb5b1461039b578063a22cb465146103b957610157565b806318160ddd1161011557806318160ddd146102545780631e47a173146102725780632a55205a146102a25780632eb2c2d6146102d35780634e1273f4146102ef57806355f804b31461031f57610157565b8062fdd58e1461015c57806301ffc9a71461018c57806308dc9f42146101bc5780630e89341c146101d857806314068e6e1461020857806316c38b3c14610238575b600080fd5b61017660048036038101906101719190612307565b6104a5565b6040516101839190612356565b60405180910390f35b6101a660048036038101906101a191906123c9565b61056d565b6040516101b39190612411565b60405180910390f35b6101d660048036038101906101d19190612572565b6105e7565b005b6101f260048036038101906101ed91906125e1565b6107be565b6040516101ff919061268d565b60405180910390f35b610222600480360381019061021d9190612307565b6108a3565b60405161022f9190612356565b60405180910390f35b610252600480360381019061024d91906126db565b6108c8565b005b61025c6108ed565b6040516102699190612356565b60405180910390f35b61028c60048036038101906102879190612307565b6108f3565b6040516102999190612356565b60405180910390f35b6102bc60048036038101906102b79190612708565b61094e565b6040516102ca929190612757565b60405180910390f35b6102ed60048036038101906102e89190612848565b610b38565b005b610309600480360381019061030491906129da565b610bd9565b6040516103169190612b10565b60405180910390f35b61033960048036038101906103349190612bd3565b610cf2565b005b610343610d06565b6040516103509190612411565b60405180910390f35b610373600480360381019061036e9190612708565b610d19565b005b61037d610d3d565b005b61039960048036038101906103949190612c1c565b610d51565b005b6103a3610d67565b6040516103b09190612c78565b60405180910390f35b6103d360048036038101906103ce9190612c93565b610d91565b005b6103ef60048036038101906103ea9190612d2e565b610da7565b005b61040b600480360381019061040691906125e1565b610e92565b6040516104189190612356565b60405180910390f35b61043b60048036038101906104369190612d7b565b610eaa565b005b61045760048036038101906104529190612dea565b610f4c565b6040516104649190612411565b60405180910390f35b61048760048036038101906104829190612e2a565b610fe0565b005b6104a3600480360381019061049e9190612ec1565b611081565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050c90612f60565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e057506105df82611104565b5b9050919050565b600860009054906101000a900460ff1615610637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062e90612fcc565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020548211156106ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c190613038565b60405180910390fd5b600b600084815260200190815260200160002054826009546106ec9190613087565b111561072d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072490613107565b60405180910390fd5b81600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020600082825461078d9190613127565b9250508190555081600960008282546107a69190613087565b925050819055506107b93384848461117e565b505050565b606060006004600084815260200190815260200160002080546107e09061318a565b80601f016020809104026020016040519081016040528092919081815260200182805461080c9061318a565b80156108595780601f1061082e57610100808354040283529160200191610859565b820191906000526020600020905b81548152906001019060200180831161083c57829003601f168201915b505050505090506000815111610877576108728361132e565b61089b565b60038160405160200161088b92919061328f565b6040516020818303038152906040525b915050919050565b600a602052816000526040600020602052806000526040600020600091509150505481565b6108d06113c2565b80600860006101000a81548160ff02191690831515021790555050565b60095481565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ae35760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610aed611440565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610b1991906132b3565b610b239190613324565b90508160000151819350935050509250929050565b610b4061144a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b865750610b8585610b8061144a565b610f4c565b5b610bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbc906133c7565b60405180910390fd5b610bd28585858585611452565b5050505050565b60608151835114610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1690613459565b60405180910390fd5b6000835167ffffffffffffffff811115610c3c57610c3b612447565b5b604051908082528060200260200182016040528015610c6a5781602001602082028036833780820191505090505b50905060005b8451811015610ce757610cb7858281518110610c8f57610c8e613479565b5b6020026020010151858381518110610caa57610ca9613479565b5b60200260200101516104a5565b828281518110610cca57610cc9613479565b5b60200260200101818152505080610ce0906134a8565b9050610c70565b508091505092915050565b610cfa6113c2565b610d0381611773565b50565b600860009054906101000a900460ff1681565b610d216113c2565b80600b6000848152602001908152602001600020819055505050565b610d456113c2565b610d4f6000611786565b565b610d596113c2565b610d63828261184c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610da3610d9c61144a565b83836118b1565b5050565b610daf6113c2565b600082829050905060005b81811015610e8c57838382818110610dd557610dd4613479565b5b90506060020160400135600a6000868685818110610df657610df5613479565b5b9050606002016020016020810190610e0e9190612ec1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868685818110610e5d57610e5c613479565b5b905060600201600001358152602001908152602001600020819055508080610e84906134a8565b915050610dba565b50505050565b600b6020528060005260406000206000915090505481565b610eb26113c2565b60008351905060005b81811015610f455782600a6000878481518110610edb57610eda613479565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020819055508080610f3d906134a8565b915050610ebb565b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fe861144a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061102e575061102d8561102861144a565b610f4c565b5b61106d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611064906133c7565b60405180910390fd5b61107a8585858585611a1d565b5050505050565b6110896113c2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90613562565b60405180910390fd5b61110181611786565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611177575061117682611cb8565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e4906135f4565b60405180910390fd5b60006111f761144a565b9050600061120485611d9a565b9050600061121185611d9a565b905061122283600089858589611e14565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112819190613087565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516112ff929190613614565b60405180910390a461131683600089858589611e1c565b61132583600089898989611e24565b50505050505050565b60606002805461133d9061318a565b80601f01602080910402602001604051908101604052809291908181526020018280546113699061318a565b80156113b65780601f1061138b576101008083540402835291602001916113b6565b820191906000526020600020905b81548152906001019060200180831161139957829003601f168201915b50505050509050919050565b6113ca61144a565b73ffffffffffffffffffffffffffffffffffffffff166113e8610d67565b73ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613689565b60405180910390fd5b565b6000612710905090565b600033905090565b8151835114611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d9061371b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc906137ad565b60405180910390fd5b600061150f61144a565b905061151f818787878787611e14565b60005b84518110156116d05760008582815181106115405761153f613479565b5b60200260200101519050600085838151811061155f5761155e613479565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f79061383f565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116b59190613087565b92505081905550505050806116c9906134a8565b9050611522565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161174792919061385f565b60405180910390a461175d818787878787611e1c565b61176b818787878787611ffb565b505050505050565b80600390816117829190613a2d565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060046000848152602001908152602001600020908161186c9190613a2d565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b611898846107be565b6040516118a5919061268d565b60405180910390a25050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690613b71565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a109190612411565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a83906137ad565b60405180910390fd5b6000611a9661144a565b90506000611aa385611d9a565b90506000611ab085611d9a565b9050611ac0838989858589611e14565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4e9061383f565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c0c9190613087565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611c89929190613614565b60405180910390a4611c9f848a8a86868a611e1c565b611cad848a8a8a8a8a611e24565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d8357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d935750611d92826121d2565b5b9050919050565b60606000600167ffffffffffffffff811115611db957611db8612447565b5b604051908082528060200260200182016040528015611de75781602001602082028036833780820191505090505b5090508281600081518110611dff57611dfe613479565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b611e438473ffffffffffffffffffffffffffffffffffffffff1661223c565b15611ff3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e89959493929190613be6565b6020604051808303816000875af1925050508015611ec557506040513d601f19601f82011682018060405250810190611ec29190613c55565b60015b611f6a57611ed1613c8f565b806308c379a003611f2d5750611ee5613cb1565b80611ef05750611f2f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f24919061268d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6190613db3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe890613e45565b60405180910390fd5b505b505050505050565b61201a8473ffffffffffffffffffffffffffffffffffffffff1661223c565b156121ca578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612060959493929190613e65565b6020604051808303816000875af192505050801561209c57506040513d601f19601f820116820180604052508101906120999190613c55565b60015b612141576120a8613c8f565b806308c379a00361210457506120bc613cb1565b806120c75750612106565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb919061268d565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213890613db3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613e45565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061229e82612273565b9050919050565b6122ae81612293565b81146122b957600080fd5b50565b6000813590506122cb816122a5565b92915050565b6000819050919050565b6122e4816122d1565b81146122ef57600080fd5b50565b600081359050612301816122db565b92915050565b6000806040838503121561231e5761231d612269565b5b600061232c858286016122bc565b925050602061233d858286016122f2565b9150509250929050565b612350816122d1565b82525050565b600060208201905061236b6000830184612347565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6123a681612371565b81146123b157600080fd5b50565b6000813590506123c38161239d565b92915050565b6000602082840312156123df576123de612269565b5b60006123ed848285016123b4565b91505092915050565b60008115159050919050565b61240b816123f6565b82525050565b60006020820190506124266000830184612402565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61247f82612436565b810181811067ffffffffffffffff8211171561249e5761249d612447565b5b80604052505050565b60006124b161225f565b90506124bd8282612476565b919050565b600067ffffffffffffffff8211156124dd576124dc612447565b5b6124e682612436565b9050602081019050919050565b82818337600083830152505050565b6000612515612510846124c2565b6124a7565b90508281526020810184848401111561253157612530612431565b5b61253c8482856124f3565b509392505050565b600082601f8301126125595761255861242c565b5b8135612569848260208601612502565b91505092915050565b60008060006060848603121561258b5761258a612269565b5b6000612599868287016122f2565b93505060206125aa868287016122f2565b925050604084013567ffffffffffffffff8111156125cb576125ca61226e565b5b6125d786828701612544565b9150509250925092565b6000602082840312156125f7576125f6612269565b5b6000612605848285016122f2565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561264857808201518184015260208101905061262d565b60008484015250505050565b600061265f8261260e565b6126698185612619565b935061267981856020860161262a565b61268281612436565b840191505092915050565b600060208201905081810360008301526126a78184612654565b905092915050565b6126b8816123f6565b81146126c357600080fd5b50565b6000813590506126d5816126af565b92915050565b6000602082840312156126f1576126f0612269565b5b60006126ff848285016126c6565b91505092915050565b6000806040838503121561271f5761271e612269565b5b600061272d858286016122f2565b925050602061273e858286016122f2565b9150509250929050565b61275181612293565b82525050565b600060408201905061276c6000830185612748565b6127796020830184612347565b9392505050565b600067ffffffffffffffff82111561279b5761279a612447565b5b602082029050602081019050919050565b600080fd5b60006127c46127bf84612780565b6124a7565b905080838252602082019050602084028301858111156127e7576127e66127ac565b5b835b8181101561281057806127fc88826122f2565b8452602084019350506020810190506127e9565b5050509392505050565b600082601f83011261282f5761282e61242c565b5b813561283f8482602086016127b1565b91505092915050565b600080600080600060a0868803121561286457612863612269565b5b6000612872888289016122bc565b9550506020612883888289016122bc565b945050604086013567ffffffffffffffff8111156128a4576128a361226e565b5b6128b08882890161281a565b935050606086013567ffffffffffffffff8111156128d1576128d061226e565b5b6128dd8882890161281a565b925050608086013567ffffffffffffffff8111156128fe576128fd61226e565b5b61290a88828901612544565b9150509295509295909350565b600067ffffffffffffffff82111561293257612931612447565b5b602082029050602081019050919050565b600061295661295184612917565b6124a7565b90508083825260208201905060208402830185811115612979576129786127ac565b5b835b818110156129a2578061298e88826122bc565b84526020840193505060208101905061297b565b5050509392505050565b600082601f8301126129c1576129c061242c565b5b81356129d1848260208601612943565b91505092915050565b600080604083850312156129f1576129f0612269565b5b600083013567ffffffffffffffff811115612a0f57612a0e61226e565b5b612a1b858286016129ac565b925050602083013567ffffffffffffffff811115612a3c57612a3b61226e565b5b612a488582860161281a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612a87816122d1565b82525050565b6000612a998383612a7e565b60208301905092915050565b6000602082019050919050565b6000612abd82612a52565b612ac78185612a5d565b9350612ad283612a6e565b8060005b83811015612b03578151612aea8882612a8d565b9750612af583612aa5565b925050600181019050612ad6565b5085935050505092915050565b60006020820190508181036000830152612b2a8184612ab2565b905092915050565b600067ffffffffffffffff821115612b4d57612b4c612447565b5b612b5682612436565b9050602081019050919050565b6000612b76612b7184612b32565b6124a7565b905082815260208101848484011115612b9257612b91612431565b5b612b9d8482856124f3565b509392505050565b600082601f830112612bba57612bb961242c565b5b8135612bca848260208601612b63565b91505092915050565b600060208284031215612be957612be8612269565b5b600082013567ffffffffffffffff811115612c0757612c0661226e565b5b612c1384828501612ba5565b91505092915050565b60008060408385031215612c3357612c32612269565b5b6000612c41858286016122f2565b925050602083013567ffffffffffffffff811115612c6257612c6161226e565b5b612c6e85828601612ba5565b9150509250929050565b6000602082019050612c8d6000830184612748565b92915050565b60008060408385031215612caa57612ca9612269565b5b6000612cb8858286016122bc565b9250506020612cc9858286016126c6565b9150509250929050565b600080fd5b60008083601f840112612cee57612ced61242c565b5b8235905067ffffffffffffffff811115612d0b57612d0a612cd3565b5b602083019150836060820283011115612d2757612d266127ac565b5b9250929050565b60008060208385031215612d4557612d44612269565b5b600083013567ffffffffffffffff811115612d6357612d6261226e565b5b612d6f85828601612cd8565b92509250509250929050565b600080600060608486031215612d9457612d93612269565b5b600084013567ffffffffffffffff811115612db257612db161226e565b5b612dbe868287016129ac565b9350506020612dcf868287016122f2565b9250506040612de0868287016122f2565b9150509250925092565b60008060408385031215612e0157612e00612269565b5b6000612e0f858286016122bc565b9250506020612e20858286016122bc565b9150509250929050565b600080600080600060a08688031215612e4657612e45612269565b5b6000612e54888289016122bc565b9550506020612e65888289016122bc565b9450506040612e76888289016122f2565b9350506060612e87888289016122f2565b925050608086013567ffffffffffffffff811115612ea857612ea761226e565b5b612eb488828901612544565b9150509295509295909350565b600060208284031215612ed757612ed6612269565b5b6000612ee5848285016122bc565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000612f4a602a83612619565b9150612f5582612eee565b604082019050919050565b60006020820190508181036000830152612f7981612f3d565b9050919050565b7f54686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000612fb6601683612619565b9150612fc182612f80565b602082019050919050565b60006020820190508181036000830152612fe581612fa9565b9050919050565b7f596f75206861766520616c726561647920726563656976656400000000000000600082015250565b6000613022601983612619565b915061302d82612fec565b602082019050919050565b6000602082019050818103600083015261305181613015565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613092826122d1565b915061309d836122d1565b92508282019050808211156130b5576130b4613058565b5b92915050565b7f4d696e7473206e756d206578636565646564206c696d69740000000000000000600082015250565b60006130f1601883612619565b91506130fc826130bb565b602082019050919050565b60006020820190508181036000830152613120816130e4565b9050919050565b6000613132826122d1565b915061313d836122d1565b925082820390508181111561315557613154613058565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131a257607f821691505b6020821081036131b5576131b461315b565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546131e88161318a565b6131f281866131bb565b9450600182166000811461320d576001811461322257613255565b60ff1983168652811515820286019350613255565b61322b856131c6565b60005b8381101561324d5781548189015260018201915060208101905061322e565b838801955050505b50505092915050565b60006132698261260e565b61327381856131bb565b935061328381856020860161262a565b80840191505092915050565b600061329b82856131db565b91506132a7828461325e565b91508190509392505050565b60006132be826122d1565b91506132c9836122d1565b92508282026132d7816122d1565b915082820484148315176132ee576132ed613058565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061332f826122d1565b915061333a836122d1565b92508261334a576133496132f5565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b60006133b1602e83612619565b91506133bc82613355565b604082019050919050565b600060208201905081810360008301526133e0816133a4565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613443602983612619565b915061344e826133e7565b604082019050919050565b6000602082019050818103600083015261347281613436565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006134b3826122d1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134e5576134e4613058565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061354c602683612619565b9150613557826134f0565b604082019050919050565b6000602082019050818103600083015261357b8161353f565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006135de602183612619565b91506135e982613582565b604082019050919050565b6000602082019050818103600083015261360d816135d1565b9050919050565b60006040820190506136296000830185612347565b6136366020830184612347565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613673602083612619565b915061367e8261363d565b602082019050919050565b600060208201905081810360008301526136a281613666565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613705602883612619565b9150613710826136a9565b604082019050919050565b60006020820190508181036000830152613734816136f8565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613797602583612619565b91506137a28261373b565b604082019050919050565b600060208201905081810360008301526137c68161378a565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613829602a83612619565b9150613834826137cd565b604082019050919050565b600060208201905081810360008301526138588161381c565b9050919050565b600060408201905081810360008301526138798185612ab2565b9050818103602083015261388d8184612ab2565b90509392505050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138e37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826138a6565b6138ed86836138a6565b95508019841693508086168417925050509392505050565b6000819050919050565b600061392a613925613920846122d1565b613905565b6122d1565b9050919050565b6000819050919050565b6139448361390f565b61395861395082613931565b8484546138b3565b825550505050565b600090565b61396d613960565b61397881848461393b565b505050565b5b8181101561399c57613991600082613965565b60018101905061397e565b5050565b601f8211156139e1576139b2816131c6565b6139bb84613896565b810160208510156139ca578190505b6139de6139d685613896565b83018261397d565b50505b505050565b600082821c905092915050565b6000613a04600019846008026139e6565b1980831691505092915050565b6000613a1d83836139f3565b9150826002028217905092915050565b613a368261260e565b67ffffffffffffffff811115613a4f57613a4e612447565b5b613a59825461318a565b613a648282856139a0565b600060209050601f831160018114613a975760008415613a85578287015190505b613a8f8582613a11565b865550613af7565b601f198416613aa5866131c6565b60005b82811015613acd57848901518255600182019150602085019450602081019050613aa8565b86831015613aea5784890151613ae6601f8916826139f3565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613b5b602983612619565b9150613b6682613aff565b604082019050919050565b60006020820190508181036000830152613b8a81613b4e565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613bb882613b91565b613bc28185613b9c565b9350613bd281856020860161262a565b613bdb81612436565b840191505092915050565b600060a082019050613bfb6000830188612748565b613c086020830187612748565b613c156040830186612347565b613c226060830185612347565b8181036080830152613c348184613bad565b90509695505050505050565b600081519050613c4f8161239d565b92915050565b600060208284031215613c6b57613c6a612269565b5b6000613c7984828501613c40565b91505092915050565b60008160e01c9050919050565b600060033d1115613cae5760046000803e613cab600051613c82565b90505b90565b600060443d10613d3e57613cc361225f565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ceb575050613d3e565b808201805167ffffffffffffffff811115613d095750505050613d3e565b80602083010160043d038501811115613d26575050505050613d3e565b613d3582602001850186612476565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613d9d603483612619565b9150613da882613d41565b604082019050919050565b60006020820190508181036000830152613dcc81613d90565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613e2f602883612619565b9150613e3a82613dd3565b604082019050919050565b60006020820190508181036000830152613e5e81613e22565b9050919050565b600060a082019050613e7a6000830188612748565b613e876020830187612748565b8181036040830152613e998186612ab2565b90508181036060830152613ead8185612ab2565b90508181036080830152613ec18184613bad565b9050969550505050505056fea26469706673582212207c155cd87a8f3ca1b5ac29270f76b7bc8c39070fb173ede5e4f47c50f689fe5e64736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101575760003560e01c80635c975abb116100c3578063a56e962d1161007c578063a56e962d146103d5578063af8ba37d146103f1578063c14a748214610421578063e985e9c51461043d578063f242432a1461046d578063f2fde38b1461048957610157565b80635c975abb1461033b5780636b387dab14610359578063715018a614610375578063862440e21461037f5780638da5cb5b1461039b578063a22cb465146103b957610157565b806318160ddd1161011557806318160ddd146102545780631e47a173146102725780632a55205a146102a25780632eb2c2d6146102d35780634e1273f4146102ef57806355f804b31461031f57610157565b8062fdd58e1461015c57806301ffc9a71461018c57806308dc9f42146101bc5780630e89341c146101d857806314068e6e1461020857806316c38b3c14610238575b600080fd5b61017660048036038101906101719190612307565b6104a5565b6040516101839190612356565b60405180910390f35b6101a660048036038101906101a191906123c9565b61056d565b6040516101b39190612411565b60405180910390f35b6101d660048036038101906101d19190612572565b6105e7565b005b6101f260048036038101906101ed91906125e1565b6107be565b6040516101ff919061268d565b60405180910390f35b610222600480360381019061021d9190612307565b6108a3565b60405161022f9190612356565b60405180910390f35b610252600480360381019061024d91906126db565b6108c8565b005b61025c6108ed565b6040516102699190612356565b60405180910390f35b61028c60048036038101906102879190612307565b6108f3565b6040516102999190612356565b60405180910390f35b6102bc60048036038101906102b79190612708565b61094e565b6040516102ca929190612757565b60405180910390f35b6102ed60048036038101906102e89190612848565b610b38565b005b610309600480360381019061030491906129da565b610bd9565b6040516103169190612b10565b60405180910390f35b61033960048036038101906103349190612bd3565b610cf2565b005b610343610d06565b6040516103509190612411565b60405180910390f35b610373600480360381019061036e9190612708565b610d19565b005b61037d610d3d565b005b61039960048036038101906103949190612c1c565b610d51565b005b6103a3610d67565b6040516103b09190612c78565b60405180910390f35b6103d360048036038101906103ce9190612c93565b610d91565b005b6103ef60048036038101906103ea9190612d2e565b610da7565b005b61040b600480360381019061040691906125e1565b610e92565b6040516104189190612356565b60405180910390f35b61043b60048036038101906104369190612d7b565b610eaa565b005b61045760048036038101906104529190612dea565b610f4c565b6040516104649190612411565b60405180910390f35b61048760048036038101906104829190612e2a565b610fe0565b005b6104a3600480360381019061049e9190612ec1565b611081565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050c90612f60565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e057506105df82611104565b5b9050919050565b600860009054906101000a900460ff1615610637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062e90612fcc565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020548211156106ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c190613038565b60405180910390fd5b600b600084815260200190815260200160002054826009546106ec9190613087565b111561072d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072490613107565b60405180910390fd5b81600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020600082825461078d9190613127565b9250508190555081600960008282546107a69190613087565b925050819055506107b93384848461117e565b505050565b606060006004600084815260200190815260200160002080546107e09061318a565b80601f016020809104026020016040519081016040528092919081815260200182805461080c9061318a565b80156108595780601f1061082e57610100808354040283529160200191610859565b820191906000526020600020905b81548152906001019060200180831161083c57829003601f168201915b505050505090506000815111610877576108728361132e565b61089b565b60038160405160200161088b92919061328f565b6040516020818303038152906040525b915050919050565b600a602052816000526040600020602052806000526040600020600091509150505481565b6108d06113c2565b80600860006101000a81548160ff02191690831515021790555050565b60095481565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ae35760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610aed611440565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610b1991906132b3565b610b239190613324565b90508160000151819350935050509250929050565b610b4061144a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b865750610b8585610b8061144a565b610f4c565b5b610bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbc906133c7565b60405180910390fd5b610bd28585858585611452565b5050505050565b60608151835114610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1690613459565b60405180910390fd5b6000835167ffffffffffffffff811115610c3c57610c3b612447565b5b604051908082528060200260200182016040528015610c6a5781602001602082028036833780820191505090505b50905060005b8451811015610ce757610cb7858281518110610c8f57610c8e613479565b5b6020026020010151858381518110610caa57610ca9613479565b5b60200260200101516104a5565b828281518110610cca57610cc9613479565b5b60200260200101818152505080610ce0906134a8565b9050610c70565b508091505092915050565b610cfa6113c2565b610d0381611773565b50565b600860009054906101000a900460ff1681565b610d216113c2565b80600b6000848152602001908152602001600020819055505050565b610d456113c2565b610d4f6000611786565b565b610d596113c2565b610d63828261184c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610da3610d9c61144a565b83836118b1565b5050565b610daf6113c2565b600082829050905060005b81811015610e8c57838382818110610dd557610dd4613479565b5b90506060020160400135600a6000868685818110610df657610df5613479565b5b9050606002016020016020810190610e0e9190612ec1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868685818110610e5d57610e5c613479565b5b905060600201600001358152602001908152602001600020819055508080610e84906134a8565b915050610dba565b50505050565b600b6020528060005260406000206000915090505481565b610eb26113c2565b60008351905060005b81811015610f455782600a6000878481518110610edb57610eda613479565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020819055508080610f3d906134a8565b915050610ebb565b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fe861144a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061102e575061102d8561102861144a565b610f4c565b5b61106d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611064906133c7565b60405180910390fd5b61107a8585858585611a1d565b5050505050565b6110896113c2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90613562565b60405180910390fd5b61110181611786565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611177575061117682611cb8565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e4906135f4565b60405180910390fd5b60006111f761144a565b9050600061120485611d9a565b9050600061121185611d9a565b905061122283600089858589611e14565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112819190613087565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516112ff929190613614565b60405180910390a461131683600089858589611e1c565b61132583600089898989611e24565b50505050505050565b60606002805461133d9061318a565b80601f01602080910402602001604051908101604052809291908181526020018280546113699061318a565b80156113b65780601f1061138b576101008083540402835291602001916113b6565b820191906000526020600020905b81548152906001019060200180831161139957829003601f168201915b50505050509050919050565b6113ca61144a565b73ffffffffffffffffffffffffffffffffffffffff166113e8610d67565b73ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613689565b60405180910390fd5b565b6000612710905090565b600033905090565b8151835114611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d9061371b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc906137ad565b60405180910390fd5b600061150f61144a565b905061151f818787878787611e14565b60005b84518110156116d05760008582815181106115405761153f613479565b5b60200260200101519050600085838151811061155f5761155e613479565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f79061383f565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116b59190613087565b92505081905550505050806116c9906134a8565b9050611522565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161174792919061385f565b60405180910390a461175d818787878787611e1c565b61176b818787878787611ffb565b505050505050565b80600390816117829190613a2d565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060046000848152602001908152602001600020908161186c9190613a2d565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b611898846107be565b6040516118a5919061268d565b60405180910390a25050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690613b71565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a109190612411565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a83906137ad565b60405180910390fd5b6000611a9661144a565b90506000611aa385611d9a565b90506000611ab085611d9a565b9050611ac0838989858589611e14565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4e9061383f565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c0c9190613087565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611c89929190613614565b60405180910390a4611c9f848a8a86868a611e1c565b611cad848a8a8a8a8a611e24565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d8357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d935750611d92826121d2565b5b9050919050565b60606000600167ffffffffffffffff811115611db957611db8612447565b5b604051908082528060200260200182016040528015611de75781602001602082028036833780820191505090505b5090508281600081518110611dff57611dfe613479565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b611e438473ffffffffffffffffffffffffffffffffffffffff1661223c565b15611ff3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e89959493929190613be6565b6020604051808303816000875af1925050508015611ec557506040513d601f19601f82011682018060405250810190611ec29190613c55565b60015b611f6a57611ed1613c8f565b806308c379a003611f2d5750611ee5613cb1565b80611ef05750611f2f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f24919061268d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6190613db3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe890613e45565b60405180910390fd5b505b505050505050565b61201a8473ffffffffffffffffffffffffffffffffffffffff1661223c565b156121ca578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612060959493929190613e65565b6020604051808303816000875af192505050801561209c57506040513d601f19601f820116820180604052508101906120999190613c55565b60015b612141576120a8613c8f565b806308c379a00361210457506120bc613cb1565b806120c75750612106565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb919061268d565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213890613db3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613e45565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061229e82612273565b9050919050565b6122ae81612293565b81146122b957600080fd5b50565b6000813590506122cb816122a5565b92915050565b6000819050919050565b6122e4816122d1565b81146122ef57600080fd5b50565b600081359050612301816122db565b92915050565b6000806040838503121561231e5761231d612269565b5b600061232c858286016122bc565b925050602061233d858286016122f2565b9150509250929050565b612350816122d1565b82525050565b600060208201905061236b6000830184612347565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6123a681612371565b81146123b157600080fd5b50565b6000813590506123c38161239d565b92915050565b6000602082840312156123df576123de612269565b5b60006123ed848285016123b4565b91505092915050565b60008115159050919050565b61240b816123f6565b82525050565b60006020820190506124266000830184612402565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61247f82612436565b810181811067ffffffffffffffff8211171561249e5761249d612447565b5b80604052505050565b60006124b161225f565b90506124bd8282612476565b919050565b600067ffffffffffffffff8211156124dd576124dc612447565b5b6124e682612436565b9050602081019050919050565b82818337600083830152505050565b6000612515612510846124c2565b6124a7565b90508281526020810184848401111561253157612530612431565b5b61253c8482856124f3565b509392505050565b600082601f8301126125595761255861242c565b5b8135612569848260208601612502565b91505092915050565b60008060006060848603121561258b5761258a612269565b5b6000612599868287016122f2565b93505060206125aa868287016122f2565b925050604084013567ffffffffffffffff8111156125cb576125ca61226e565b5b6125d786828701612544565b9150509250925092565b6000602082840312156125f7576125f6612269565b5b6000612605848285016122f2565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561264857808201518184015260208101905061262d565b60008484015250505050565b600061265f8261260e565b6126698185612619565b935061267981856020860161262a565b61268281612436565b840191505092915050565b600060208201905081810360008301526126a78184612654565b905092915050565b6126b8816123f6565b81146126c357600080fd5b50565b6000813590506126d5816126af565b92915050565b6000602082840312156126f1576126f0612269565b5b60006126ff848285016126c6565b91505092915050565b6000806040838503121561271f5761271e612269565b5b600061272d858286016122f2565b925050602061273e858286016122f2565b9150509250929050565b61275181612293565b82525050565b600060408201905061276c6000830185612748565b6127796020830184612347565b9392505050565b600067ffffffffffffffff82111561279b5761279a612447565b5b602082029050602081019050919050565b600080fd5b60006127c46127bf84612780565b6124a7565b905080838252602082019050602084028301858111156127e7576127e66127ac565b5b835b8181101561281057806127fc88826122f2565b8452602084019350506020810190506127e9565b5050509392505050565b600082601f83011261282f5761282e61242c565b5b813561283f8482602086016127b1565b91505092915050565b600080600080600060a0868803121561286457612863612269565b5b6000612872888289016122bc565b9550506020612883888289016122bc565b945050604086013567ffffffffffffffff8111156128a4576128a361226e565b5b6128b08882890161281a565b935050606086013567ffffffffffffffff8111156128d1576128d061226e565b5b6128dd8882890161281a565b925050608086013567ffffffffffffffff8111156128fe576128fd61226e565b5b61290a88828901612544565b9150509295509295909350565b600067ffffffffffffffff82111561293257612931612447565b5b602082029050602081019050919050565b600061295661295184612917565b6124a7565b90508083825260208201905060208402830185811115612979576129786127ac565b5b835b818110156129a2578061298e88826122bc565b84526020840193505060208101905061297b565b5050509392505050565b600082601f8301126129c1576129c061242c565b5b81356129d1848260208601612943565b91505092915050565b600080604083850312156129f1576129f0612269565b5b600083013567ffffffffffffffff811115612a0f57612a0e61226e565b5b612a1b858286016129ac565b925050602083013567ffffffffffffffff811115612a3c57612a3b61226e565b5b612a488582860161281a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612a87816122d1565b82525050565b6000612a998383612a7e565b60208301905092915050565b6000602082019050919050565b6000612abd82612a52565b612ac78185612a5d565b9350612ad283612a6e565b8060005b83811015612b03578151612aea8882612a8d565b9750612af583612aa5565b925050600181019050612ad6565b5085935050505092915050565b60006020820190508181036000830152612b2a8184612ab2565b905092915050565b600067ffffffffffffffff821115612b4d57612b4c612447565b5b612b5682612436565b9050602081019050919050565b6000612b76612b7184612b32565b6124a7565b905082815260208101848484011115612b9257612b91612431565b5b612b9d8482856124f3565b509392505050565b600082601f830112612bba57612bb961242c565b5b8135612bca848260208601612b63565b91505092915050565b600060208284031215612be957612be8612269565b5b600082013567ffffffffffffffff811115612c0757612c0661226e565b5b612c1384828501612ba5565b91505092915050565b60008060408385031215612c3357612c32612269565b5b6000612c41858286016122f2565b925050602083013567ffffffffffffffff811115612c6257612c6161226e565b5b612c6e85828601612ba5565b9150509250929050565b6000602082019050612c8d6000830184612748565b92915050565b60008060408385031215612caa57612ca9612269565b5b6000612cb8858286016122bc565b9250506020612cc9858286016126c6565b9150509250929050565b600080fd5b60008083601f840112612cee57612ced61242c565b5b8235905067ffffffffffffffff811115612d0b57612d0a612cd3565b5b602083019150836060820283011115612d2757612d266127ac565b5b9250929050565b60008060208385031215612d4557612d44612269565b5b600083013567ffffffffffffffff811115612d6357612d6261226e565b5b612d6f85828601612cd8565b92509250509250929050565b600080600060608486031215612d9457612d93612269565b5b600084013567ffffffffffffffff811115612db257612db161226e565b5b612dbe868287016129ac565b9350506020612dcf868287016122f2565b9250506040612de0868287016122f2565b9150509250925092565b60008060408385031215612e0157612e00612269565b5b6000612e0f858286016122bc565b9250506020612e20858286016122bc565b9150509250929050565b600080600080600060a08688031215612e4657612e45612269565b5b6000612e54888289016122bc565b9550506020612e65888289016122bc565b9450506040612e76888289016122f2565b9350506060612e87888289016122f2565b925050608086013567ffffffffffffffff811115612ea857612ea761226e565b5b612eb488828901612544565b9150509295509295909350565b600060208284031215612ed757612ed6612269565b5b6000612ee5848285016122bc565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000612f4a602a83612619565b9150612f5582612eee565b604082019050919050565b60006020820190508181036000830152612f7981612f3d565b9050919050565b7f54686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000612fb6601683612619565b9150612fc182612f80565b602082019050919050565b60006020820190508181036000830152612fe581612fa9565b9050919050565b7f596f75206861766520616c726561647920726563656976656400000000000000600082015250565b6000613022601983612619565b915061302d82612fec565b602082019050919050565b6000602082019050818103600083015261305181613015565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613092826122d1565b915061309d836122d1565b92508282019050808211156130b5576130b4613058565b5b92915050565b7f4d696e7473206e756d206578636565646564206c696d69740000000000000000600082015250565b60006130f1601883612619565b91506130fc826130bb565b602082019050919050565b60006020820190508181036000830152613120816130e4565b9050919050565b6000613132826122d1565b915061313d836122d1565b925082820390508181111561315557613154613058565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131a257607f821691505b6020821081036131b5576131b461315b565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546131e88161318a565b6131f281866131bb565b9450600182166000811461320d576001811461322257613255565b60ff1983168652811515820286019350613255565b61322b856131c6565b60005b8381101561324d5781548189015260018201915060208101905061322e565b838801955050505b50505092915050565b60006132698261260e565b61327381856131bb565b935061328381856020860161262a565b80840191505092915050565b600061329b82856131db565b91506132a7828461325e565b91508190509392505050565b60006132be826122d1565b91506132c9836122d1565b92508282026132d7816122d1565b915082820484148315176132ee576132ed613058565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061332f826122d1565b915061333a836122d1565b92508261334a576133496132f5565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b60006133b1602e83612619565b91506133bc82613355565b604082019050919050565b600060208201905081810360008301526133e0816133a4565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613443602983612619565b915061344e826133e7565b604082019050919050565b6000602082019050818103600083015261347281613436565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006134b3826122d1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134e5576134e4613058565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061354c602683612619565b9150613557826134f0565b604082019050919050565b6000602082019050818103600083015261357b8161353f565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006135de602183612619565b91506135e982613582565b604082019050919050565b6000602082019050818103600083015261360d816135d1565b9050919050565b60006040820190506136296000830185612347565b6136366020830184612347565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613673602083612619565b915061367e8261363d565b602082019050919050565b600060208201905081810360008301526136a281613666565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613705602883612619565b9150613710826136a9565b604082019050919050565b60006020820190508181036000830152613734816136f8565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613797602583612619565b91506137a28261373b565b604082019050919050565b600060208201905081810360008301526137c68161378a565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613829602a83612619565b9150613834826137cd565b604082019050919050565b600060208201905081810360008301526138588161381c565b9050919050565b600060408201905081810360008301526138798185612ab2565b9050818103602083015261388d8184612ab2565b90509392505050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138e37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826138a6565b6138ed86836138a6565b95508019841693508086168417925050509392505050565b6000819050919050565b600061392a613925613920846122d1565b613905565b6122d1565b9050919050565b6000819050919050565b6139448361390f565b61395861395082613931565b8484546138b3565b825550505050565b600090565b61396d613960565b61397881848461393b565b505050565b5b8181101561399c57613991600082613965565b60018101905061397e565b5050565b601f8211156139e1576139b2816131c6565b6139bb84613896565b810160208510156139ca578190505b6139de6139d685613896565b83018261397d565b50505b505050565b600082821c905092915050565b6000613a04600019846008026139e6565b1980831691505092915050565b6000613a1d83836139f3565b9150826002028217905092915050565b613a368261260e565b67ffffffffffffffff811115613a4f57613a4e612447565b5b613a59825461318a565b613a648282856139a0565b600060209050601f831160018114613a975760008415613a85578287015190505b613a8f8582613a11565b865550613af7565b601f198416613aa5866131c6565b60005b82811015613acd57848901518255600182019150602085019450602081019050613aa8565b86831015613aea5784890151613ae6601f8916826139f3565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613b5b602983612619565b9150613b6682613aff565b604082019050919050565b60006020820190508181036000830152613b8a81613b4e565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613bb882613b91565b613bc28185613b9c565b9350613bd281856020860161262a565b613bdb81612436565b840191505092915050565b600060a082019050613bfb6000830188612748565b613c086020830187612748565b613c156040830186612347565b613c226060830185612347565b8181036080830152613c348184613bad565b90509695505050505050565b600081519050613c4f8161239d565b92915050565b600060208284031215613c6b57613c6a612269565b5b6000613c7984828501613c40565b91505092915050565b60008160e01c9050919050565b600060033d1115613cae5760046000803e613cab600051613c82565b90505b90565b600060443d10613d3e57613cc361225f565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ceb575050613d3e565b808201805167ffffffffffffffff811115613d095750505050613d3e565b80602083010160043d038501811115613d26575050505050613d3e565b613d3582602001850186612476565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613d9d603483612619565b9150613da882613d41565b604082019050919050565b60006020820190508181036000830152613dcc81613d90565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613e2f602883612619565b9150613e3a82613dd3565b604082019050919050565b60006020820190508181036000830152613e5e81613e22565b9050919050565b600060a082019050613e7a6000830188612748565b613e876020830187612748565b8181036040830152613e998186612ab2565b90508181036060830152613ead8185612ab2565b90508181036080830152613ec18184613bad565b9050969550505050505056fea26469706673582212207c155cd87a8f3ca1b5ac29270f76b7bc8c39070fb173ede5e4f47c50f689fe5e64736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Valentine's gift from SPACE GIRL

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.