ETH Price: $3,396.90 (-1.14%)
Gas: 2 Gwei

Token

CC Time Machine Potion ()
 

Overview

Max Total Supply

7,600

Holders

2,323

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Crypto Chicks Time Machine Potions are claimable initially by holders only, but are transferrable and can be used by any holder of a Crypto Chick. They will be used to apply to a Crypto Chick to create a Baby Chick.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TimeMachine1155

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : TimeMachine1155.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract TimeMachine1155 is Ownable, ERC1155Supply {
    using Strings for uint256;
    using ECDSA for bytes32;

    address private signer = 0xF489952211c7c8070a3E3f3e0243E36f727db7F8;
    address private modifyingContract;

    string public baseTokenURI;
    string public name = "CC Time Machine Potion";

    bool public isClaimOpen = false;

    mapping(address => mapping(uint256 => uint256)) public modifiersMinted;

    event MintTimeMachine(address indexed _owner, uint indexed _tokenId, uint _count);

    constructor()
        ERC1155("") {
    }

    modifier claimIsOpen {
        require(isClaimOpen, "Claim not open");
        _;
    }

    function uri(uint256 _tokenId) public view virtual override returns (string memory) {
        return string(abi.encodePacked(baseTokenURI, _tokenId.toString()));
    }

    function claim(uint256 _tokenId, uint256 _count, bytes memory _signature) external claimIsOpen {
        address _claimer = _msgSender();
        require(modifiersMinted[_claimer][_tokenId] == 0, "Already claimed");

        address _signer = verifyClaim(_claimer, _tokenId, _count, _signature);
        require(signer == _signer, "Not authorized to claim");

        for (uint256 i = 0; i < _count; i++) {
            _mint(_claimer, _tokenId, 1, "");
        }
        modifiersMinted[_claimer][_tokenId] += _count;

        emit MintTimeMachine(_claimer, _tokenId, _count);
    }

    function verifyClaim(address _claimer, uint256 _tokenId, uint256 _count, bytes memory _signature) public pure returns (address) {
        return ECDSA.recover(keccak256(abi.encode(_claimer, _tokenId, _count)), _signature);
    }

    function setModifyingContract(address _addr) external onlyOwner {
        modifyingContract = _addr;
    }

    function burnTimeMachine(address _from, uint256 _tokenId, uint256 _amount) external {
        require(msg.sender == modifyingContract, "Invalid burner address");
        _burn(_from, _tokenId, _amount);
    }

    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseTokenURI = _baseURI;
    }

    function setClaimOpen(bool _isClaimOpen) external onlyOwner {
        isClaimOpen = _isClaimOpen;
    }

    function setSigner(address _addr) external onlyOwner {
        signer = _addr;
    }
}

File 2 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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":"_owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_count","type":"uint256"}],"name":"MintTimeMachine","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnTimeMachine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"isClaimOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"modifiersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isClaimOpen","type":"bool"}],"name":"setClaimOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setModifyingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setSigner","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":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_claimer","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"verifyClaim","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"}]

608060405273f489952211c7c8070a3e3f3e0243e36f727db7f8600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280601681526020017f43432054696d65204d616368696e6520506f74696f6e0000000000000000000081525060089080519060200190620000a692919062000200565b506000600960006101000a81548160ff021916908315150217905550348015620000cf57600080fd5b506040518060200160405280600081525062000100620000f46200011860201b60201c565b6200012060201b60201c565b6200011181620001e460201b60201c565b5062000315565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060039080519060200190620001fc92919062000200565b5050565b8280546200020e90620002df565b90600052602060002090601f0160209004810192826200023257600085556200027e565b82601f106200024d57805160ff19168380011785556200027e565b828001600101855582156200027e579182015b828111156200027d57825182559160200191906001019062000260565b5b5090506200028d919062000291565b5090565b5b80821115620002ac57600081600090555060010162000292565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f857607f821691505b602082108114156200030f576200030e620002b0565b5b50919050565b6148f080620003256000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80635eddd157116100c3578063a22cb4651161007c578063a22cb465146103d4578063bd85b039146103f0578063d547cfb714610420578063e985e9c51461043e578063f242432a1461046e578063f2fde38b1461048a57610157565b80635eddd1571461033c5780636c19e78314610358578063715018a6146103745780637273df661461037e5780638da5cb5b1461039a57806391f8621e146103b857610157565b80632eb2c2d6116101155780632eb2c2d6146102585780634c990134146102745780634e1273f4146102a45780634f558e79146102d45780635403c65a1461030457806355f804b31461032057610157565b8062fdd58e1461015c57806301ffc9a71461018c57806306fdde03146101bc5780630e89341c146101da57806322ab22561461020a57806324fd26521461023a575b600080fd5b61017660048036038101906101719190612b47565b6104a6565b6040516101839190612b96565b60405180910390f35b6101a660048036038101906101a19190612c09565b610570565b6040516101b39190612c51565b60405180910390f35b6101c4610652565b6040516101d19190612d05565b60405180910390f35b6101f460048036038101906101ef9190612d27565b6106e0565b6040516102019190612d05565b60405180910390f35b610224600480360381019061021f9190612b47565b610714565b6040516102319190612b96565b60405180910390f35b610242610739565b60405161024f9190612c51565b60405180910390f35b610272600480360381019061026d9190612f51565b61074c565b005b61028e60048036038101906102899190613020565b6107ed565b60405161029b91906130b2565b60405180910390f35b6102be60048036038101906102b99190613190565b61082d565b6040516102cb91906132c6565b60405180910390f35b6102ee60048036038101906102e99190612d27565b610946565b6040516102fb9190612c51565b60405180910390f35b61031e600480360381019061031991906132e8565b61095a565b005b61033a600480360381019061033591906133b6565b610a1a565b005b610356600480360381019061035191906133ff565b610ab0565b005b610372600480360381019061036d91906132e8565b610d36565b005b61037c610df6565b005b6103986004803603810190610393919061349a565b610e7e565b005b6103a2610f17565b6040516103af91906130b2565b60405180910390f35b6103d260048036038101906103cd91906134c7565b610f40565b005b6103ee60048036038101906103e9919061351a565b610fe0565b005b61040a60048036038101906104059190612d27565b610ff6565b6040516104179190612b96565b60405180910390f35b610428611013565b6040516104359190612d05565b60405180910390f35b6104586004803603810190610453919061355a565b6110a1565b6040516104659190612c51565b60405180910390f35b6104886004803603810190610483919061359a565b611135565b005b6104a4600480360381019061049f91906132e8565b6111d6565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050e906136a3565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064b575061064a826112ce565b5b9050919050565b6008805461065f906136f2565b80601f016020809104026020016040519081016040528092919081815260200182805461068b906136f2565b80156106d85780601f106106ad576101008083540402835291602001916106d8565b820191906000526020600020905b8154815290600101906020018083116106bb57829003601f168201915b505050505081565b606060076106ed83611338565b6040516020016106fe9291906137f4565b6040516020818303038152906040529050919050565b600a602052816000526040600020602052806000526040600020600091509150505481565b600960009054906101000a900460ff1681565b610754611499565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061079a575061079985610794611499565b6110a1565b5b6107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d09061388a565b60405180910390fd5b6107e685858585856114a1565b5050505050565b6000610823858585604051602001610807939291906138aa565b60405160208183030381529060405280519060200120836117b8565b9050949350505050565b60608151835114610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a90613953565b60405180910390fd5b6000835167ffffffffffffffff8111156108905761088f612d59565b5b6040519080825280602002602001820160405280156108be5781602001602082028036833780820191505090505b50905060005b845181101561093b5761090b8582815181106108e3576108e2613973565b5b60200260200101518583815181106108fe576108fd613973565b5b60200260200101516104a6565b82828151811061091e5761091d613973565b5b60200260200101818152505080610934906139d1565b90506108c4565b508091505092915050565b60008061095283610ff6565b119050919050565b610962611499565b73ffffffffffffffffffffffffffffffffffffffff16610980610f17565b73ffffffffffffffffffffffffffffffffffffffff16146109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd90613a66565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a22611499565b73ffffffffffffffffffffffffffffffffffffffff16610a40610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8d90613a66565b60405180910390fd5b8060079080519060200190610aac9291906129fc565b5050565b600960009054906101000a900460ff16610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af690613ad2565b60405180910390fd5b6000610b09611499565b90506000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205414610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590613b3e565b60405180910390fd5b6000610bac828686866107ed565b90508073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590613baa565b60405180910390fd5b60005b84811015610c7857610c6583876001604051806020016040528060008152506117df565b8080610c70906139d1565b915050610c41565b5083600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254610cd99190613bca565b92505081905550848273ffffffffffffffffffffffffffffffffffffffff167f93c20ee3192df5b197a4e0d8a2d70db571abfc66bb5053d3175755c5593b06ce86604051610d279190612b96565b60405180910390a35050505050565b610d3e611499565b73ffffffffffffffffffffffffffffffffffffffff16610d5c610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990613a66565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610dfe611499565b73ffffffffffffffffffffffffffffffffffffffff16610e1c610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990613a66565b60405180910390fd5b610e7c6000611976565b565b610e86611499565b73ffffffffffffffffffffffffffffffffffffffff16610ea4610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190613a66565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc790613c6c565b60405180910390fd5b610fdb838383611a3a565b505050565b610ff2610feb611499565b8383611c59565b5050565b600060046000838152602001908152602001600020549050919050565b60078054611020906136f2565b80601f016020809104026020016040519081016040528092919081815260200182805461104c906136f2565b80156110995780601f1061106e57610100808354040283529160200191611099565b820191906000526020600020905b81548152906001019060200180831161107c57829003601f168201915b505050505081565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61113d611499565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061118357506111828561117d611499565b6110a1565b5b6111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990613cfe565b60405180910390fd5b6111cf8585858585611dc6565b5050505050565b6111de611499565b73ffffffffffffffffffffffffffffffffffffffff166111fc610f17565b73ffffffffffffffffffffffffffffffffffffffff1614611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990613a66565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b990613d90565b60405180910390fd5b6112cb81611976565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611380576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611494565b600082905060005b600082146113b257808061139b906139d1565b915050600a826113ab9190613ddf565b9150611388565b60008167ffffffffffffffff8111156113ce576113cd612d59565b5b6040519080825280601f01601f1916602001820160405280156114005781602001600182028036833780820191505090505b5090505b6000851461148d576001826114199190613e10565b9150600a856114289190613e44565b60306114349190613bca565b60f81b81838151811061144a57611449613973565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856114869190613ddf565b9450611404565b8093505050505b919050565b600033905090565b81518351146114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc90613ee7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90613f79565b60405180910390fd5b600061155f611499565b905061156f81878787878761204b565b60005b84518110156117235760008582815181106115905761158f613973565b5b6020026020010151905060008583815181106115af576115ae613973565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116489061400b565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117089190613bca565b925050819055505050508061171c906139d1565b9050611572565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161179a92919061402b565b60405180910390a46117b08187878787876121c5565b505050505050565b60008060006117c785856123ac565b915091506117d48161242f565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561184f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611846906140d4565b60405180910390fd5b6000611859611499565b905061187a8160008761186b88612604565b61187488612604565b8761204b565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118da9190613bca565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516119589291906140f4565b60405180910390a461196f8160008787878761267e565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa19061418f565b60405180910390fd5b6000611ab4611499565b9050611ae481856000611ac687612604565b611acf87612604565b6040518060200160405280600081525061204b565b60006001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7390614221565b60405180910390fd5b8281036001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611c4a9291906140f4565b60405180910390a45050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf906142b3565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db99190612c51565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2d90613f79565b60405180910390fd5b6000611e40611499565b9050611e60818787611e5188612604565b611e5a88612604565b8761204b565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eef9061400b565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611faf9190613bca565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161202c9291906140f4565b60405180910390a461204282888888888861267e565b50505050505050565b612059868686868686612865565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561210b5760005b8351811015612109578281815181106120ad576120ac613973565b5b6020026020010151600460008684815181106120cc576120cb613973565b5b6020026020010151815260200190815260200160002060008282546120f19190613bca565b9250508190555080612102906139d1565b9050612091565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121bd5760005b83518110156121bb5782818151811061215f5761215e613973565b5b60200260200101516004600086848151811061217e5761217d613973565b5b6020026020010151815260200190815260200160002060008282546121a39190613e10565b92505081905550806121b4906139d1565b9050612143565b505b505050505050565b6121e48473ffffffffffffffffffffffffffffffffffffffff1661286d565b156123a4578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161222a959493929190614328565b602060405180830381600087803b15801561224457600080fd5b505af192505050801561227557506040513d601f19601f8201168201806040525081019061227291906143a5565b60015b61231b576122816143df565b806308c379a014156122de5750612296614401565b806122a157506122e0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d59190612d05565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231290614509565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123999061459b565b60405180910390fd5b505b505050505050565b6000806041835114156123ee5760008060006020860151925060408601519150606086015160001a90506123e287828585612890565b94509450505050612428565b60408351141561241f57600080602085015191506040850151905061241486838361299d565b935093505050612428565b60006002915091505b9250929050565b60006004811115612443576124426145bb565b5b816004811115612456576124556145bb565b5b141561246157612601565b60016004811115612475576124746145bb565b5b816004811115612488576124876145bb565b5b14156124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c090614636565b60405180910390fd5b600260048111156124dd576124dc6145bb565b5b8160048111156124f0576124ef6145bb565b5b1415612531576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612528906146a2565b60405180910390fd5b60036004811115612545576125446145bb565b5b816004811115612558576125576145bb565b5b1415612599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259090614734565b60405180910390fd5b6004808111156125ac576125ab6145bb565b5b8160048111156125bf576125be6145bb565b5b1415612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f7906147c6565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff81111561262357612622612d59565b5b6040519080825280602002602001820160405280156126515781602001602082028036833780820191505090505b509050828160008151811061266957612668613973565b5b60200260200101818152505080915050919050565b61269d8473ffffffffffffffffffffffffffffffffffffffff1661286d565b1561285d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126e39594939291906147e6565b602060405180830381600087803b1580156126fd57600080fd5b505af192505050801561272e57506040513d601f19601f8201168201806040525081019061272b91906143a5565b60015b6127d45761273a6143df565b806308c379a01415612797575061274f614401565b8061275a5750612799565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278e9190612d05565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cb90614509565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461285b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128529061459b565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156128cb576000600391509150612994565b601b8560ff16141580156128e35750601c8560ff1614155b156128f5576000600491509150612994565b60006001878787876040516000815260200160405260405161291a9493929190614875565b6020604051602081039080840390855afa15801561293c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561298b57600060019250925050612994565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129e09190613bca565b90506129ee87828885612890565b935093505050935093915050565b828054612a08906136f2565b90600052602060002090601f016020900481019282612a2a5760008555612a71565b82601f10612a4357805160ff1916838001178555612a71565b82800160010185558215612a71579182015b82811115612a70578251825591602001919060010190612a55565b5b509050612a7e9190612a82565b5090565b5b80821115612a9b576000816000905550600101612a83565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ade82612ab3565b9050919050565b612aee81612ad3565b8114612af957600080fd5b50565b600081359050612b0b81612ae5565b92915050565b6000819050919050565b612b2481612b11565b8114612b2f57600080fd5b50565b600081359050612b4181612b1b565b92915050565b60008060408385031215612b5e57612b5d612aa9565b5b6000612b6c85828601612afc565b9250506020612b7d85828601612b32565b9150509250929050565b612b9081612b11565b82525050565b6000602082019050612bab6000830184612b87565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612be681612bb1565b8114612bf157600080fd5b50565b600081359050612c0381612bdd565b92915050565b600060208284031215612c1f57612c1e612aa9565b5b6000612c2d84828501612bf4565b91505092915050565b60008115159050919050565b612c4b81612c36565b82525050565b6000602082019050612c666000830184612c42565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ca6578082015181840152602081019050612c8b565b83811115612cb5576000848401525b50505050565b6000601f19601f8301169050919050565b6000612cd782612c6c565b612ce18185612c77565b9350612cf1818560208601612c88565b612cfa81612cbb565b840191505092915050565b60006020820190508181036000830152612d1f8184612ccc565b905092915050565b600060208284031215612d3d57612d3c612aa9565b5b6000612d4b84828501612b32565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d9182612cbb565b810181811067ffffffffffffffff82111715612db057612daf612d59565b5b80604052505050565b6000612dc3612a9f565b9050612dcf8282612d88565b919050565b600067ffffffffffffffff821115612def57612dee612d59565b5b602082029050602081019050919050565b600080fd5b6000612e18612e1384612dd4565b612db9565b90508083825260208201905060208402830185811115612e3b57612e3a612e00565b5b835b81811015612e645780612e508882612b32565b845260208401935050602081019050612e3d565b5050509392505050565b600082601f830112612e8357612e82612d54565b5b8135612e93848260208601612e05565b91505092915050565b600080fd5b600067ffffffffffffffff821115612ebc57612ebb612d59565b5b612ec582612cbb565b9050602081019050919050565b82818337600083830152505050565b6000612ef4612eef84612ea1565b612db9565b905082815260208101848484011115612f1057612f0f612e9c565b5b612f1b848285612ed2565b509392505050565b600082601f830112612f3857612f37612d54565b5b8135612f48848260208601612ee1565b91505092915050565b600080600080600060a08688031215612f6d57612f6c612aa9565b5b6000612f7b88828901612afc565b9550506020612f8c88828901612afc565b945050604086013567ffffffffffffffff811115612fad57612fac612aae565b5b612fb988828901612e6e565b935050606086013567ffffffffffffffff811115612fda57612fd9612aae565b5b612fe688828901612e6e565b925050608086013567ffffffffffffffff81111561300757613006612aae565b5b61301388828901612f23565b9150509295509295909350565b6000806000806080858703121561303a57613039612aa9565b5b600061304887828801612afc565b945050602061305987828801612b32565b935050604061306a87828801612b32565b925050606085013567ffffffffffffffff81111561308b5761308a612aae565b5b61309787828801612f23565b91505092959194509250565b6130ac81612ad3565b82525050565b60006020820190506130c760008301846130a3565b92915050565b600067ffffffffffffffff8211156130e8576130e7612d59565b5b602082029050602081019050919050565b600061310c613107846130cd565b612db9565b9050808382526020820190506020840283018581111561312f5761312e612e00565b5b835b8181101561315857806131448882612afc565b845260208401935050602081019050613131565b5050509392505050565b600082601f83011261317757613176612d54565b5b81356131878482602086016130f9565b91505092915050565b600080604083850312156131a7576131a6612aa9565b5b600083013567ffffffffffffffff8111156131c5576131c4612aae565b5b6131d185828601613162565b925050602083013567ffffffffffffffff8111156131f2576131f1612aae565b5b6131fe85828601612e6e565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61323d81612b11565b82525050565b600061324f8383613234565b60208301905092915050565b6000602082019050919050565b600061327382613208565b61327d8185613213565b935061328883613224565b8060005b838110156132b95781516132a08882613243565b97506132ab8361325b565b92505060018101905061328c565b5085935050505092915050565b600060208201905081810360008301526132e08184613268565b905092915050565b6000602082840312156132fe576132fd612aa9565b5b600061330c84828501612afc565b91505092915050565b600067ffffffffffffffff8211156133305761332f612d59565b5b61333982612cbb565b9050602081019050919050565b600061335961335484613315565b612db9565b90508281526020810184848401111561337557613374612e9c565b5b613380848285612ed2565b509392505050565b600082601f83011261339d5761339c612d54565b5b81356133ad848260208601613346565b91505092915050565b6000602082840312156133cc576133cb612aa9565b5b600082013567ffffffffffffffff8111156133ea576133e9612aae565b5b6133f684828501613388565b91505092915050565b60008060006060848603121561341857613417612aa9565b5b600061342686828701612b32565b935050602061343786828701612b32565b925050604084013567ffffffffffffffff81111561345857613457612aae565b5b61346486828701612f23565b9150509250925092565b61347781612c36565b811461348257600080fd5b50565b6000813590506134948161346e565b92915050565b6000602082840312156134b0576134af612aa9565b5b60006134be84828501613485565b91505092915050565b6000806000606084860312156134e0576134df612aa9565b5b60006134ee86828701612afc565b93505060206134ff86828701612b32565b925050604061351086828701612b32565b9150509250925092565b6000806040838503121561353157613530612aa9565b5b600061353f85828601612afc565b925050602061355085828601613485565b9150509250929050565b6000806040838503121561357157613570612aa9565b5b600061357f85828601612afc565b925050602061359085828601612afc565b9150509250929050565b600080600080600060a086880312156135b6576135b5612aa9565b5b60006135c488828901612afc565b95505060206135d588828901612afc565b94505060406135e688828901612b32565b93505060606135f788828901612b32565b925050608086013567ffffffffffffffff81111561361857613617612aae565b5b61362488828901612f23565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061368d602b83612c77565b915061369882613631565b604082019050919050565b600060208201905081810360008301526136bc81613680565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061370a57607f821691505b6020821081141561371e5761371d6136c3565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613751816136f2565b61375b8186613724565b945060018216600081146137765760018114613787576137ba565b60ff198316865281860193506137ba565b6137908561372f565b60005b838110156137b257815481890152600182019150602081019050613793565b838801955050505b50505092915050565b60006137ce82612c6c565b6137d88185613724565b93506137e8818560208601612c88565b80840191505092915050565b60006138008285613744565b915061380c82846137c3565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613874603283612c77565b915061387f82613818565b604082019050919050565b600060208201905081810360008301526138a381613867565b9050919050565b60006060820190506138bf60008301866130a3565b6138cc6020830185612b87565b6138d96040830184612b87565b949350505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061393d602983612c77565b9150613948826138e1565b604082019050919050565b6000602082019050818103600083015261396c81613930565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139dc82612b11565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a0f57613a0e6139a2565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a50602083612c77565b9150613a5b82613a1a565b602082019050919050565b60006020820190508181036000830152613a7f81613a43565b9050919050565b7f436c61696d206e6f74206f70656e000000000000000000000000000000000000600082015250565b6000613abc600e83612c77565b9150613ac782613a86565b602082019050919050565b60006020820190508181036000830152613aeb81613aaf565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000613b28600f83612c77565b9150613b3382613af2565b602082019050919050565b60006020820190508181036000830152613b5781613b1b565b9050919050565b7f4e6f7420617574686f72697a656420746f20636c61696d000000000000000000600082015250565b6000613b94601783612c77565b9150613b9f82613b5e565b602082019050919050565b60006020820190508181036000830152613bc381613b87565b9050919050565b6000613bd582612b11565b9150613be083612b11565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c1557613c146139a2565b5b828201905092915050565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b6000613c56601683612c77565b9150613c6182613c20565b602082019050919050565b60006020820190508181036000830152613c8581613c49565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613ce8602983612c77565b9150613cf382613c8c565b604082019050919050565b60006020820190508181036000830152613d1781613cdb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d7a602683612c77565b9150613d8582613d1e565b604082019050919050565b60006020820190508181036000830152613da981613d6d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613dea82612b11565b9150613df583612b11565b925082613e0557613e04613db0565b5b828204905092915050565b6000613e1b82612b11565b9150613e2683612b11565b925082821015613e3957613e386139a2565b5b828203905092915050565b6000613e4f82612b11565b9150613e5a83612b11565b925082613e6a57613e69613db0565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613ed1602883612c77565b9150613edc82613e75565b604082019050919050565b60006020820190508181036000830152613f0081613ec4565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613f63602583612c77565b9150613f6e82613f07565b604082019050919050565b60006020820190508181036000830152613f9281613f56565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613ff5602a83612c77565b915061400082613f99565b604082019050919050565b6000602082019050818103600083015261402481613fe8565b9050919050565b600060408201905081810360008301526140458185613268565b905081810360208301526140598184613268565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140be602183612c77565b91506140c982614062565b604082019050919050565b600060208201905081810360008301526140ed816140b1565b9050919050565b60006040820190506141096000830185612b87565b6141166020830184612b87565b9392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614179602383612c77565b91506141848261411d565b604082019050919050565b600060208201905081810360008301526141a88161416c565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061420b602483612c77565b9150614216826141af565b604082019050919050565b6000602082019050818103600083015261423a816141fe565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061429d602983612c77565b91506142a882614241565b604082019050919050565b600060208201905081810360008301526142cc81614290565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142fa826142d3565b61430481856142de565b9350614314818560208601612c88565b61431d81612cbb565b840191505092915050565b600060a08201905061433d60008301886130a3565b61434a60208301876130a3565b818103604083015261435c8186613268565b905081810360608301526143708185613268565b9050818103608083015261438481846142ef565b90509695505050505050565b60008151905061439f81612bdd565b92915050565b6000602082840312156143bb576143ba612aa9565b5b60006143c984828501614390565b91505092915050565b60008160e01c9050919050565b600060033d11156143fe5760046000803e6143fb6000516143d2565b90505b90565b600060443d101561441157614494565b614419612a9f565b60043d036004823e80513d602482011167ffffffffffffffff82111715614441575050614494565b808201805167ffffffffffffffff81111561445f5750505050614494565b80602083010160043d03850181111561447c575050505050614494565b61448b82602001850186612d88565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006144f3603483612c77565b91506144fe82614497565b604082019050919050565b60006020820190508181036000830152614522816144e6565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614585602883612c77565b915061459082614529565b604082019050919050565b600060208201905081810360008301526145b481614578565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614620601883612c77565b915061462b826145ea565b602082019050919050565b6000602082019050818103600083015261464f81614613565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061468c601f83612c77565b915061469782614656565b602082019050919050565b600060208201905081810360008301526146bb8161467f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061471e602283612c77565b9150614729826146c2565b604082019050919050565b6000602082019050818103600083015261474d81614711565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006147b0602283612c77565b91506147bb82614754565b604082019050919050565b600060208201905081810360008301526147df816147a3565b9050919050565b600060a0820190506147fb60008301886130a3565b61480860208301876130a3565b6148156040830186612b87565b6148226060830185612b87565b818103608083015261483481846142ef565b90509695505050505050565b6000819050919050565b61485381614840565b82525050565b600060ff82169050919050565b61486f81614859565b82525050565b600060808201905061488a600083018761484a565b6148976020830186614866565b6148a4604083018561484a565b6148b1606083018461484a565b9594505050505056fea2646970667358221220837842be7cf88c257d7007c22b33cfd232f0c13d17dc4fcdc1067da24d27ed4164736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101575760003560e01c80635eddd157116100c3578063a22cb4651161007c578063a22cb465146103d4578063bd85b039146103f0578063d547cfb714610420578063e985e9c51461043e578063f242432a1461046e578063f2fde38b1461048a57610157565b80635eddd1571461033c5780636c19e78314610358578063715018a6146103745780637273df661461037e5780638da5cb5b1461039a57806391f8621e146103b857610157565b80632eb2c2d6116101155780632eb2c2d6146102585780634c990134146102745780634e1273f4146102a45780634f558e79146102d45780635403c65a1461030457806355f804b31461032057610157565b8062fdd58e1461015c57806301ffc9a71461018c57806306fdde03146101bc5780630e89341c146101da57806322ab22561461020a57806324fd26521461023a575b600080fd5b61017660048036038101906101719190612b47565b6104a6565b6040516101839190612b96565b60405180910390f35b6101a660048036038101906101a19190612c09565b610570565b6040516101b39190612c51565b60405180910390f35b6101c4610652565b6040516101d19190612d05565b60405180910390f35b6101f460048036038101906101ef9190612d27565b6106e0565b6040516102019190612d05565b60405180910390f35b610224600480360381019061021f9190612b47565b610714565b6040516102319190612b96565b60405180910390f35b610242610739565b60405161024f9190612c51565b60405180910390f35b610272600480360381019061026d9190612f51565b61074c565b005b61028e60048036038101906102899190613020565b6107ed565b60405161029b91906130b2565b60405180910390f35b6102be60048036038101906102b99190613190565b61082d565b6040516102cb91906132c6565b60405180910390f35b6102ee60048036038101906102e99190612d27565b610946565b6040516102fb9190612c51565b60405180910390f35b61031e600480360381019061031991906132e8565b61095a565b005b61033a600480360381019061033591906133b6565b610a1a565b005b610356600480360381019061035191906133ff565b610ab0565b005b610372600480360381019061036d91906132e8565b610d36565b005b61037c610df6565b005b6103986004803603810190610393919061349a565b610e7e565b005b6103a2610f17565b6040516103af91906130b2565b60405180910390f35b6103d260048036038101906103cd91906134c7565b610f40565b005b6103ee60048036038101906103e9919061351a565b610fe0565b005b61040a60048036038101906104059190612d27565b610ff6565b6040516104179190612b96565b60405180910390f35b610428611013565b6040516104359190612d05565b60405180910390f35b6104586004803603810190610453919061355a565b6110a1565b6040516104659190612c51565b60405180910390f35b6104886004803603810190610483919061359a565b611135565b005b6104a4600480360381019061049f91906132e8565b6111d6565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050e906136a3565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064b575061064a826112ce565b5b9050919050565b6008805461065f906136f2565b80601f016020809104026020016040519081016040528092919081815260200182805461068b906136f2565b80156106d85780601f106106ad576101008083540402835291602001916106d8565b820191906000526020600020905b8154815290600101906020018083116106bb57829003601f168201915b505050505081565b606060076106ed83611338565b6040516020016106fe9291906137f4565b6040516020818303038152906040529050919050565b600a602052816000526040600020602052806000526040600020600091509150505481565b600960009054906101000a900460ff1681565b610754611499565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061079a575061079985610794611499565b6110a1565b5b6107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d09061388a565b60405180910390fd5b6107e685858585856114a1565b5050505050565b6000610823858585604051602001610807939291906138aa565b60405160208183030381529060405280519060200120836117b8565b9050949350505050565b60608151835114610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a90613953565b60405180910390fd5b6000835167ffffffffffffffff8111156108905761088f612d59565b5b6040519080825280602002602001820160405280156108be5781602001602082028036833780820191505090505b50905060005b845181101561093b5761090b8582815181106108e3576108e2613973565b5b60200260200101518583815181106108fe576108fd613973565b5b60200260200101516104a6565b82828151811061091e5761091d613973565b5b60200260200101818152505080610934906139d1565b90506108c4565b508091505092915050565b60008061095283610ff6565b119050919050565b610962611499565b73ffffffffffffffffffffffffffffffffffffffff16610980610f17565b73ffffffffffffffffffffffffffffffffffffffff16146109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd90613a66565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a22611499565b73ffffffffffffffffffffffffffffffffffffffff16610a40610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8d90613a66565b60405180910390fd5b8060079080519060200190610aac9291906129fc565b5050565b600960009054906101000a900460ff16610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af690613ad2565b60405180910390fd5b6000610b09611499565b90506000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205414610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590613b3e565b60405180910390fd5b6000610bac828686866107ed565b90508073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590613baa565b60405180910390fd5b60005b84811015610c7857610c6583876001604051806020016040528060008152506117df565b8080610c70906139d1565b915050610c41565b5083600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254610cd99190613bca565b92505081905550848273ffffffffffffffffffffffffffffffffffffffff167f93c20ee3192df5b197a4e0d8a2d70db571abfc66bb5053d3175755c5593b06ce86604051610d279190612b96565b60405180910390a35050505050565b610d3e611499565b73ffffffffffffffffffffffffffffffffffffffff16610d5c610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990613a66565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610dfe611499565b73ffffffffffffffffffffffffffffffffffffffff16610e1c610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990613a66565b60405180910390fd5b610e7c6000611976565b565b610e86611499565b73ffffffffffffffffffffffffffffffffffffffff16610ea4610f17565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190613a66565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc790613c6c565b60405180910390fd5b610fdb838383611a3a565b505050565b610ff2610feb611499565b8383611c59565b5050565b600060046000838152602001908152602001600020549050919050565b60078054611020906136f2565b80601f016020809104026020016040519081016040528092919081815260200182805461104c906136f2565b80156110995780601f1061106e57610100808354040283529160200191611099565b820191906000526020600020905b81548152906001019060200180831161107c57829003601f168201915b505050505081565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61113d611499565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061118357506111828561117d611499565b6110a1565b5b6111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990613cfe565b60405180910390fd5b6111cf8585858585611dc6565b5050505050565b6111de611499565b73ffffffffffffffffffffffffffffffffffffffff166111fc610f17565b73ffffffffffffffffffffffffffffffffffffffff1614611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990613a66565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b990613d90565b60405180910390fd5b6112cb81611976565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611380576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611494565b600082905060005b600082146113b257808061139b906139d1565b915050600a826113ab9190613ddf565b9150611388565b60008167ffffffffffffffff8111156113ce576113cd612d59565b5b6040519080825280601f01601f1916602001820160405280156114005781602001600182028036833780820191505090505b5090505b6000851461148d576001826114199190613e10565b9150600a856114289190613e44565b60306114349190613bca565b60f81b81838151811061144a57611449613973565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856114869190613ddf565b9450611404565b8093505050505b919050565b600033905090565b81518351146114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc90613ee7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90613f79565b60405180910390fd5b600061155f611499565b905061156f81878787878761204b565b60005b84518110156117235760008582815181106115905761158f613973565b5b6020026020010151905060008583815181106115af576115ae613973565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116489061400b565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117089190613bca565b925050819055505050508061171c906139d1565b9050611572565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161179a92919061402b565b60405180910390a46117b08187878787876121c5565b505050505050565b60008060006117c785856123ac565b915091506117d48161242f565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561184f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611846906140d4565b60405180910390fd5b6000611859611499565b905061187a8160008761186b88612604565b61187488612604565b8761204b565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118da9190613bca565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516119589291906140f4565b60405180910390a461196f8160008787878761267e565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa19061418f565b60405180910390fd5b6000611ab4611499565b9050611ae481856000611ac687612604565b611acf87612604565b6040518060200160405280600081525061204b565b60006001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7390614221565b60405180910390fd5b8281036001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611c4a9291906140f4565b60405180910390a45050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf906142b3565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db99190612c51565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2d90613f79565b60405180910390fd5b6000611e40611499565b9050611e60818787611e5188612604565b611e5a88612604565b8761204b565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eef9061400b565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611faf9190613bca565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161202c9291906140f4565b60405180910390a461204282888888888861267e565b50505050505050565b612059868686868686612865565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561210b5760005b8351811015612109578281815181106120ad576120ac613973565b5b6020026020010151600460008684815181106120cc576120cb613973565b5b6020026020010151815260200190815260200160002060008282546120f19190613bca565b9250508190555080612102906139d1565b9050612091565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121bd5760005b83518110156121bb5782818151811061215f5761215e613973565b5b60200260200101516004600086848151811061217e5761217d613973565b5b6020026020010151815260200190815260200160002060008282546121a39190613e10565b92505081905550806121b4906139d1565b9050612143565b505b505050505050565b6121e48473ffffffffffffffffffffffffffffffffffffffff1661286d565b156123a4578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161222a959493929190614328565b602060405180830381600087803b15801561224457600080fd5b505af192505050801561227557506040513d601f19601f8201168201806040525081019061227291906143a5565b60015b61231b576122816143df565b806308c379a014156122de5750612296614401565b806122a157506122e0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d59190612d05565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231290614509565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123999061459b565b60405180910390fd5b505b505050505050565b6000806041835114156123ee5760008060006020860151925060408601519150606086015160001a90506123e287828585612890565b94509450505050612428565b60408351141561241f57600080602085015191506040850151905061241486838361299d565b935093505050612428565b60006002915091505b9250929050565b60006004811115612443576124426145bb565b5b816004811115612456576124556145bb565b5b141561246157612601565b60016004811115612475576124746145bb565b5b816004811115612488576124876145bb565b5b14156124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c090614636565b60405180910390fd5b600260048111156124dd576124dc6145bb565b5b8160048111156124f0576124ef6145bb565b5b1415612531576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612528906146a2565b60405180910390fd5b60036004811115612545576125446145bb565b5b816004811115612558576125576145bb565b5b1415612599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259090614734565b60405180910390fd5b6004808111156125ac576125ab6145bb565b5b8160048111156125bf576125be6145bb565b5b1415612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f7906147c6565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff81111561262357612622612d59565b5b6040519080825280602002602001820160405280156126515781602001602082028036833780820191505090505b509050828160008151811061266957612668613973565b5b60200260200101818152505080915050919050565b61269d8473ffffffffffffffffffffffffffffffffffffffff1661286d565b1561285d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126e39594939291906147e6565b602060405180830381600087803b1580156126fd57600080fd5b505af192505050801561272e57506040513d601f19601f8201168201806040525081019061272b91906143a5565b60015b6127d45761273a6143df565b806308c379a01415612797575061274f614401565b8061275a5750612799565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278e9190612d05565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cb90614509565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461285b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128529061459b565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156128cb576000600391509150612994565b601b8560ff16141580156128e35750601c8560ff1614155b156128f5576000600491509150612994565b60006001878787876040516000815260200160405260405161291a9493929190614875565b6020604051602081039080840390855afa15801561293c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561298b57600060019250925050612994565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129e09190613bca565b90506129ee87828885612890565b935093505050935093915050565b828054612a08906136f2565b90600052602060002090601f016020900481019282612a2a5760008555612a71565b82601f10612a4357805160ff1916838001178555612a71565b82800160010185558215612a71579182015b82811115612a70578251825591602001919060010190612a55565b5b509050612a7e9190612a82565b5090565b5b80821115612a9b576000816000905550600101612a83565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ade82612ab3565b9050919050565b612aee81612ad3565b8114612af957600080fd5b50565b600081359050612b0b81612ae5565b92915050565b6000819050919050565b612b2481612b11565b8114612b2f57600080fd5b50565b600081359050612b4181612b1b565b92915050565b60008060408385031215612b5e57612b5d612aa9565b5b6000612b6c85828601612afc565b9250506020612b7d85828601612b32565b9150509250929050565b612b9081612b11565b82525050565b6000602082019050612bab6000830184612b87565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612be681612bb1565b8114612bf157600080fd5b50565b600081359050612c0381612bdd565b92915050565b600060208284031215612c1f57612c1e612aa9565b5b6000612c2d84828501612bf4565b91505092915050565b60008115159050919050565b612c4b81612c36565b82525050565b6000602082019050612c666000830184612c42565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ca6578082015181840152602081019050612c8b565b83811115612cb5576000848401525b50505050565b6000601f19601f8301169050919050565b6000612cd782612c6c565b612ce18185612c77565b9350612cf1818560208601612c88565b612cfa81612cbb565b840191505092915050565b60006020820190508181036000830152612d1f8184612ccc565b905092915050565b600060208284031215612d3d57612d3c612aa9565b5b6000612d4b84828501612b32565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d9182612cbb565b810181811067ffffffffffffffff82111715612db057612daf612d59565b5b80604052505050565b6000612dc3612a9f565b9050612dcf8282612d88565b919050565b600067ffffffffffffffff821115612def57612dee612d59565b5b602082029050602081019050919050565b600080fd5b6000612e18612e1384612dd4565b612db9565b90508083825260208201905060208402830185811115612e3b57612e3a612e00565b5b835b81811015612e645780612e508882612b32565b845260208401935050602081019050612e3d565b5050509392505050565b600082601f830112612e8357612e82612d54565b5b8135612e93848260208601612e05565b91505092915050565b600080fd5b600067ffffffffffffffff821115612ebc57612ebb612d59565b5b612ec582612cbb565b9050602081019050919050565b82818337600083830152505050565b6000612ef4612eef84612ea1565b612db9565b905082815260208101848484011115612f1057612f0f612e9c565b5b612f1b848285612ed2565b509392505050565b600082601f830112612f3857612f37612d54565b5b8135612f48848260208601612ee1565b91505092915050565b600080600080600060a08688031215612f6d57612f6c612aa9565b5b6000612f7b88828901612afc565b9550506020612f8c88828901612afc565b945050604086013567ffffffffffffffff811115612fad57612fac612aae565b5b612fb988828901612e6e565b935050606086013567ffffffffffffffff811115612fda57612fd9612aae565b5b612fe688828901612e6e565b925050608086013567ffffffffffffffff81111561300757613006612aae565b5b61301388828901612f23565b9150509295509295909350565b6000806000806080858703121561303a57613039612aa9565b5b600061304887828801612afc565b945050602061305987828801612b32565b935050604061306a87828801612b32565b925050606085013567ffffffffffffffff81111561308b5761308a612aae565b5b61309787828801612f23565b91505092959194509250565b6130ac81612ad3565b82525050565b60006020820190506130c760008301846130a3565b92915050565b600067ffffffffffffffff8211156130e8576130e7612d59565b5b602082029050602081019050919050565b600061310c613107846130cd565b612db9565b9050808382526020820190506020840283018581111561312f5761312e612e00565b5b835b8181101561315857806131448882612afc565b845260208401935050602081019050613131565b5050509392505050565b600082601f83011261317757613176612d54565b5b81356131878482602086016130f9565b91505092915050565b600080604083850312156131a7576131a6612aa9565b5b600083013567ffffffffffffffff8111156131c5576131c4612aae565b5b6131d185828601613162565b925050602083013567ffffffffffffffff8111156131f2576131f1612aae565b5b6131fe85828601612e6e565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61323d81612b11565b82525050565b600061324f8383613234565b60208301905092915050565b6000602082019050919050565b600061327382613208565b61327d8185613213565b935061328883613224565b8060005b838110156132b95781516132a08882613243565b97506132ab8361325b565b92505060018101905061328c565b5085935050505092915050565b600060208201905081810360008301526132e08184613268565b905092915050565b6000602082840312156132fe576132fd612aa9565b5b600061330c84828501612afc565b91505092915050565b600067ffffffffffffffff8211156133305761332f612d59565b5b61333982612cbb565b9050602081019050919050565b600061335961335484613315565b612db9565b90508281526020810184848401111561337557613374612e9c565b5b613380848285612ed2565b509392505050565b600082601f83011261339d5761339c612d54565b5b81356133ad848260208601613346565b91505092915050565b6000602082840312156133cc576133cb612aa9565b5b600082013567ffffffffffffffff8111156133ea576133e9612aae565b5b6133f684828501613388565b91505092915050565b60008060006060848603121561341857613417612aa9565b5b600061342686828701612b32565b935050602061343786828701612b32565b925050604084013567ffffffffffffffff81111561345857613457612aae565b5b61346486828701612f23565b9150509250925092565b61347781612c36565b811461348257600080fd5b50565b6000813590506134948161346e565b92915050565b6000602082840312156134b0576134af612aa9565b5b60006134be84828501613485565b91505092915050565b6000806000606084860312156134e0576134df612aa9565b5b60006134ee86828701612afc565b93505060206134ff86828701612b32565b925050604061351086828701612b32565b9150509250925092565b6000806040838503121561353157613530612aa9565b5b600061353f85828601612afc565b925050602061355085828601613485565b9150509250929050565b6000806040838503121561357157613570612aa9565b5b600061357f85828601612afc565b925050602061359085828601612afc565b9150509250929050565b600080600080600060a086880312156135b6576135b5612aa9565b5b60006135c488828901612afc565b95505060206135d588828901612afc565b94505060406135e688828901612b32565b93505060606135f788828901612b32565b925050608086013567ffffffffffffffff81111561361857613617612aae565b5b61362488828901612f23565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061368d602b83612c77565b915061369882613631565b604082019050919050565b600060208201905081810360008301526136bc81613680565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061370a57607f821691505b6020821081141561371e5761371d6136c3565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613751816136f2565b61375b8186613724565b945060018216600081146137765760018114613787576137ba565b60ff198316865281860193506137ba565b6137908561372f565b60005b838110156137b257815481890152600182019150602081019050613793565b838801955050505b50505092915050565b60006137ce82612c6c565b6137d88185613724565b93506137e8818560208601612c88565b80840191505092915050565b60006138008285613744565b915061380c82846137c3565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613874603283612c77565b915061387f82613818565b604082019050919050565b600060208201905081810360008301526138a381613867565b9050919050565b60006060820190506138bf60008301866130a3565b6138cc6020830185612b87565b6138d96040830184612b87565b949350505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061393d602983612c77565b9150613948826138e1565b604082019050919050565b6000602082019050818103600083015261396c81613930565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139dc82612b11565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a0f57613a0e6139a2565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a50602083612c77565b9150613a5b82613a1a565b602082019050919050565b60006020820190508181036000830152613a7f81613a43565b9050919050565b7f436c61696d206e6f74206f70656e000000000000000000000000000000000000600082015250565b6000613abc600e83612c77565b9150613ac782613a86565b602082019050919050565b60006020820190508181036000830152613aeb81613aaf565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000613b28600f83612c77565b9150613b3382613af2565b602082019050919050565b60006020820190508181036000830152613b5781613b1b565b9050919050565b7f4e6f7420617574686f72697a656420746f20636c61696d000000000000000000600082015250565b6000613b94601783612c77565b9150613b9f82613b5e565b602082019050919050565b60006020820190508181036000830152613bc381613b87565b9050919050565b6000613bd582612b11565b9150613be083612b11565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c1557613c146139a2565b5b828201905092915050565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b6000613c56601683612c77565b9150613c6182613c20565b602082019050919050565b60006020820190508181036000830152613c8581613c49565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613ce8602983612c77565b9150613cf382613c8c565b604082019050919050565b60006020820190508181036000830152613d1781613cdb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d7a602683612c77565b9150613d8582613d1e565b604082019050919050565b60006020820190508181036000830152613da981613d6d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613dea82612b11565b9150613df583612b11565b925082613e0557613e04613db0565b5b828204905092915050565b6000613e1b82612b11565b9150613e2683612b11565b925082821015613e3957613e386139a2565b5b828203905092915050565b6000613e4f82612b11565b9150613e5a83612b11565b925082613e6a57613e69613db0565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613ed1602883612c77565b9150613edc82613e75565b604082019050919050565b60006020820190508181036000830152613f0081613ec4565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613f63602583612c77565b9150613f6e82613f07565b604082019050919050565b60006020820190508181036000830152613f9281613f56565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613ff5602a83612c77565b915061400082613f99565b604082019050919050565b6000602082019050818103600083015261402481613fe8565b9050919050565b600060408201905081810360008301526140458185613268565b905081810360208301526140598184613268565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140be602183612c77565b91506140c982614062565b604082019050919050565b600060208201905081810360008301526140ed816140b1565b9050919050565b60006040820190506141096000830185612b87565b6141166020830184612b87565b9392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614179602383612c77565b91506141848261411d565b604082019050919050565b600060208201905081810360008301526141a88161416c565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061420b602483612c77565b9150614216826141af565b604082019050919050565b6000602082019050818103600083015261423a816141fe565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061429d602983612c77565b91506142a882614241565b604082019050919050565b600060208201905081810360008301526142cc81614290565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142fa826142d3565b61430481856142de565b9350614314818560208601612c88565b61431d81612cbb565b840191505092915050565b600060a08201905061433d60008301886130a3565b61434a60208301876130a3565b818103604083015261435c8186613268565b905081810360608301526143708185613268565b9050818103608083015261438481846142ef565b90509695505050505050565b60008151905061439f81612bdd565b92915050565b6000602082840312156143bb576143ba612aa9565b5b60006143c984828501614390565b91505092915050565b60008160e01c9050919050565b600060033d11156143fe5760046000803e6143fb6000516143d2565b90505b90565b600060443d101561441157614494565b614419612a9f565b60043d036004823e80513d602482011167ffffffffffffffff82111715614441575050614494565b808201805167ffffffffffffffff81111561445f5750505050614494565b80602083010160043d03850181111561447c575050505050614494565b61448b82602001850186612d88565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006144f3603483612c77565b91506144fe82614497565b604082019050919050565b60006020820190508181036000830152614522816144e6565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614585602883612c77565b915061459082614529565b604082019050919050565b600060208201905081810360008301526145b481614578565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614620601883612c77565b915061462b826145ea565b602082019050919050565b6000602082019050818103600083015261464f81614613565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061468c601f83612c77565b915061469782614656565b602082019050919050565b600060208201905081810360008301526146bb8161467f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061471e602283612c77565b9150614729826146c2565b604082019050919050565b6000602082019050818103600083015261474d81614711565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006147b0602283612c77565b91506147bb82614754565b604082019050919050565b600060208201905081810360008301526147df816147a3565b9050919050565b600060a0820190506147fb60008301886130a3565b61480860208301876130a3565b6148156040830186612b87565b6148226060830185612b87565b818103608083015261483481846142ef565b90509695505050505050565b6000819050919050565b61485381614840565b82525050565b600060ff82169050919050565b61486f81614859565b82525050565b600060808201905061488a600083018761484a565b6148976020830186614866565b6148a4604083018561484a565b6148b1606083018461484a565b9594505050505056fea2646970667358221220837842be7cf88c257d7007c22b33cfd232f0c13d17dc4fcdc1067da24d27ed4164736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.