ETH Price: $3,486.88 (+3.42%)
Gas: 3 Gwei

Token

Okina Pass (OKINA)
 

Overview

Max Total Supply

765 OKINA

Holders

585

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xd50bdd8ad6702cc6b5b9d0ca8ace8104684aa97c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OkinaPass

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : okinapass.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol';
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract OkinaPass is ERC1155Supply, ERC1155Burnable, Ownable, ReentrancyGuard {
    
    string private _name;
    string private _symbol;
    string private _baseURI;

    bytes32 public merkleRoot;
    mapping(uint => uint) public supplyLimit;
    mapping(bytes32 => bool) public claimed;

    constructor() 
        ERC1155("") {
        _symbol = "OKINA";
        _name = "Okina Pass";

        supplyLimit[0] = 1000; // Ruby
        supplyLimit[1] = 444;  // Gold
    }

    function claimPass(uint tokenId, bytes32[] memory proof) external nonReentrant {
        require(merkleRoot != bytes32(0), "Merkle root not set"); 
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, tokenId));
        require(!claimed[leaf], "Already claimed");
        require(MerkleProof.verify(proof, merkleRoot, leaf), "Invalid proof");
        require(totalSupply(tokenId) + 1 <= supplyLimit[tokenId], "Exceeds supply");
        claimed[leaf] = true;
        _mint(msg.sender, tokenId, 1, "");
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function setBaseURI(string memory uri_) external onlyOwner {
        _baseURI = uri_;
    }

    function uri(uint256 _tokenId) public view override returns (string memory) {
        require(exists(_tokenId), "Token does not exist.");
        return bytes(_baseURI).length > 0 ? string(
            abi.encodePacked(
                _baseURI,
                Strings.toString(_tokenId),
                ".json"
            )
        ) : "";
    }

    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
    }

    function adminMint(address addr, uint tokenId, uint total) external onlyOwner {
        require(totalSupply(tokenId) + total <= supplyLimit[tokenId], "Exceeds supply");
        require(total > 0, "Must be greater than 0");
        _mint(addr, tokenId, total, "");
    }

    function clearClaimed(address addr, uint tokenId) external onlyOwner {
        bytes32 leaf = keccak256(abi.encodePacked(addr, tokenId));
        claimed[leaf] = false;
    }

    function addPass(uint tokenId, uint total) external onlyOwner {
        require(supplyLimit[tokenId] == 0 || totalSupply(tokenId) == 0, "Pass already exists");
        supplyLimit[tokenId] = total;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155Supply, ERC1155) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

File 2 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 15 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

File 5 of 15 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 8 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner 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: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"name":"addPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"clearClaimed","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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040518060200160405280600081525062000033816200013360201b60201c565b5062000054620000486200014f60201b60201c565b6200015760201b60201c565b60016005819055506040518060400160405280600581526020017f4f4b494e4100000000000000000000000000000000000000000000000000000081525060079080519060200190620000a99291906200021d565b506040518060400160405280600a81526020017f4f6b696e6120506173730000000000000000000000000000000000000000000081525060069080519060200190620000f79291906200021d565b506103e8600a6000808152602001908152602001600020819055506101bc600a6000600181526020019081526020016000208190555062000332565b80600290805190602001906200014b9291906200021d565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022b90620002fc565b90600052602060002090601f0160209004810192826200024f57600085556200029b565b82601f106200026a57805160ff19168380011785556200029b565b828001600101855582156200029b579182015b828111156200029a5782518255916020019190600101906200027d565b5b509050620002aa9190620002ae565b5090565b5b80821115620002c9576000816000905550600101620002af565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200031557607f821691505b602082108114156200032c576200032b620002cd565b5b50919050565b614a3f80620003426000396000f3fe608060405234801561001057600080fd5b506004361061018c5760003560e01c806378416adb116100de578063bd85b03911610097578063e985e9c511610071578063e985e9c51461048f578063f242432a146104bf578063f2fde38b146104db578063f5298aca146104f75761018c565b8063bd85b03914610413578063cc3c0f0614610443578063d6669923146104735761018c565b806378416adb146103535780637cb647591461038357806382f2e7401461039f5780638da5cb5b146103bb57806395d89b41146103d9578063a22cb465146103f75761018c565b80632eb2c2d61161014b5780634f558e79116101255780634f558e79146102e157806355f804b3146103115780636b20c4541461032d578063715018a6146103495761018c565b80632eb2c2d6146102775780632eb4a7ab146102935780634e1273f4146102b15761018c565b80624a84cb14610191578062fdd58e146101ad57806301ffc9a7146101dd57806306fdde031461020d5780630e89341c1461022b5780631bf043a81461025b575b600080fd5b6101ab60048036038101906101a69190612b7e565b610513565b005b6101c760048036038101906101c29190612bd1565b6105e7565b6040516101d49190612c20565b60405180910390f35b6101f760048036038101906101f29190612c93565b6106b0565b6040516102049190612cdb565b60405180910390f35b6102156106c2565b6040516102229190612d8f565b60405180910390f35b61024560048036038101906102409190612db1565b610754565b6040516102529190612d8f565b60405180910390f35b61027560048036038101906102709190612dde565b6107fc565b005b610291600480360381019061028c919061301b565b610889565b005b61029b61092a565b6040516102a89190613103565b60405180910390f35b6102cb60048036038101906102c691906131e1565b610930565b6040516102d89190613317565b60405180910390f35b6102fb60048036038101906102f69190612db1565b610a49565b6040516103089190612cdb565b60405180910390f35b61032b600480360381019061032691906133da565b610a5d565b005b61034760048036038101906103429190613423565b610a7f565b005b610351610b1c565b005b61036d60048036038101906103689190612db1565b610b30565b60405161037a9190612c20565b60405180910390f35b61039d600480360381019061039891906134da565b610b48565b005b6103b960048036038101906103b49190612bd1565b610b5a565b005b6103c3610bc0565b6040516103d09190613516565b60405180910390f35b6103e1610bea565b6040516103ee9190612d8f565b60405180910390f35b610411600480360381019061040c919061355d565b610c7c565b005b61042d60048036038101906104289190612db1565b610c92565b60405161043a9190612c20565b60405180910390f35b61045d600480360381019061045891906134da565b610caf565b60405161046a9190612cdb565b60405180910390f35b61048d60048036038101906104889190613660565b610ccf565b005b6104a960048036038101906104a491906136bc565b610efe565b6040516104b69190612cdb565b60405180910390f35b6104d960048036038101906104d491906136fc565b610f92565b005b6104f560048036038101906104f09190613793565b611033565b005b610511600480360381019061050c9190612b7e565b6110b7565b005b61051b611154565b600a6000838152602001908152602001600020548161053984610c92565b61054391906137ef565b1115610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b90613891565b60405180910390fd5b600081116105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be906138fd565b60405180910390fd5b6105e2838383604051806020016040528060008152506111d2565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064f9061398f565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106bb82611383565b9050919050565b6060600680546106d1906139de565b80601f01602080910402602001604051908101604052809291908181526020018280546106fd906139de565b801561074a5780601f1061071f5761010080835404028352916020019161074a565b820191906000526020600020905b81548152906001019060200180831161072d57829003601f168201915b5050505050905090565b606061075f82610a49565b61079e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079590613a5c565b60405180910390fd5b6000600880546107ad906139de565b9050116107c957604051806020016040528060008152506107f5565b60086107d483611465565b6040516020016107e5929190613b98565b6040516020818303038152906040525b9050919050565b610804611154565b6000600a600084815260200190815260200160002054148061082e5750600061082c83610c92565b145b61086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086490613c13565b60405180910390fd5b80600a6000848152602001908152602001600020819055505050565b6108916115c6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108d757506108d6856108d16115c6565b610efe565b5b610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d90613ca5565b60405180910390fd5b61092385858585856115ce565b5050505050565b60095481565b60608151835114610976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096d90613d37565b60405180910390fd5b6000835167ffffffffffffffff81111561099357610992612e23565b5b6040519080825280602002602001820160405280156109c15781602001602082028036833780820191505090505b50905060005b8451811015610a3e57610a0e8582815181106109e6576109e5613d57565b5b6020026020010151858381518110610a0157610a00613d57565b5b60200260200101516105e7565b828281518110610a2157610a20613d57565b5b60200260200101818152505080610a3790613d86565b90506109c7565b508091505092915050565b600080610a5583610c92565b119050919050565b610a65611154565b8060089080519060200190610a7b929190612a33565b5050565b610a876115c6565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610acd5750610acc83610ac76115c6565b610efe565b5b610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0390613ca5565b60405180910390fd5b610b178383836118f0565b505050565b610b24611154565b610b2e6000611bbf565b565b600a6020528060005260406000206000915090505481565b610b50611154565b8060098190555050565b610b62611154565b60008282604051602001610b77929190613e38565b6040516020818303038152906040528051906020012090506000600b600083815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054610bf9906139de565b80601f0160208091040260200160405190810160405280929190818152602001828054610c25906139de565b8015610c725780601f10610c4757610100808354040283529160200191610c72565b820191906000526020600020905b815481529060010190602001808311610c5557829003601f168201915b5050505050905090565b610c8e610c876115c6565b8383611c85565b5050565b600060036000838152602001908152602001600020549050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60026005541415610d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0c90613eb0565b60405180910390fd5b60026005819055506000801b6009541415610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90613f1c565b60405180910390fd5b60003383604051602001610d7a929190613e38565b604051602081830303815290604052805190602001209050600b600082815260200190815260200160002060009054906101000a900460ff1615610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90613f88565b60405180910390fd5b610e008260095483611df2565b610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690613ff4565b60405180910390fd5b600a6000848152602001908152602001600020546001610e5e85610c92565b610e6891906137ef565b1115610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea090613891565b60405180910390fd5b6001600b600083815260200190815260200160002060006101000a81548160ff021916908315150217905550610ef133846001604051806020016040528060008152506111d2565b5060016005819055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f9a6115c6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fe05750610fdf85610fda6115c6565b610efe565b5b61101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690613ca5565b60405180910390fd5b61102c8585858585611e09565b5050505050565b61103b611154565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a290614086565b60405180910390fd5b6110b481611bbf565b50565b6110bf6115c6565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806111055750611104836110ff6115c6565b610efe565b5b611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b90613ca5565b60405180910390fd5b61114f8383836120a5565b505050565b61115c6115c6565b73ffffffffffffffffffffffffffffffffffffffff1661117a610bc0565b73ffffffffffffffffffffffffffffffffffffffff16146111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c7906140f2565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123990614184565b60405180910390fd5b600061124c6115c6565b90506000611259856122ec565b90506000611266856122ec565b905061127783600089858589612366565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d691906137ef565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516113549291906141a4565b60405180910390a461136b8360008985858961237c565b61137a83600089898989612384565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061144e57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061145e575061145d8261255c565b5b9050919050565b606060008214156114ad576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506115c1565b600082905060005b600082146114df5780806114c890613d86565b915050600a826114d891906141fc565b91506114b5565b60008167ffffffffffffffff8111156114fb576114fa612e23565b5b6040519080825280601f01601f19166020018201604052801561152d5781602001600182028036833780820191505090505b5090505b600085146115ba57600182611546919061422d565b9150600a856115559190614261565b603061156191906137ef565b60f81b81838151811061157757611576613d57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856115b391906141fc565b9450611531565b8093505050505b919050565b600033905090565b8151835114611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990614304565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167990614396565b60405180910390fd5b600061168c6115c6565b905061169c818787878787612366565b60005b845181101561184d5760008582815181106116bd576116bc613d57565b5b6020026020010151905060008583815181106116dc576116db613d57565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490614428565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461183291906137ef565b925050819055505050508061184690613d86565b905061169f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118c4929190614448565b60405180910390a46118da81878787878761237c565b6118e88187878787876125c6565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611960576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611957906144f1565b60405180910390fd5b80518251146119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b90614304565b60405180910390fd5b60006119ae6115c6565b90506119ce81856000868660405180602001604052806000815250612366565b60005b8351811015611b1b5760008482815181106119ef576119ee613d57565b5b602002602001015190506000848381518110611a0e57611a0d613d57565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa690614583565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611b1390613d86565b9150506119d1565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b93929190614448565b60405180910390a4611bb98185600086866040518060200160405280600081525061237c565b50505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90614615565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de59190612cdb565b60405180910390a3505050565b600082611dff858461279e565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7090614396565b60405180910390fd5b6000611e836115c6565b90506000611e90856122ec565b90506000611e9d856122ec565b9050611ead838989858589612366565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3b90614428565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ff991906137ef565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516120769291906141a4565b60405180910390a461208c848a8a86868a61237c565b61209a848a8a8a8a8a612384565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210c906144f1565b60405180910390fd5b600061211f6115c6565b9050600061212c846122ec565b90506000612139846122ec565b905061215983876000858560405180602001604052806000815250612366565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156121f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e790614583565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516122bd9291906141a4565b60405180910390a46122e38488600086866040518060200160405280600081525061237c565b50505050505050565b60606000600167ffffffffffffffff81111561230b5761230a612e23565b5b6040519080825280602002602001820160405280156123395781602001602082028036833780820191505090505b509050828160008151811061235157612350613d57565b5b60200260200101818152505080915050919050565b6123748686868686866127f4565b505050505050565b505050505050565b6123a38473ffffffffffffffffffffffffffffffffffffffff166129c6565b15612554578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123e995949392919061468a565b6020604051808303816000875af192505050801561242557506040513d601f19601f8201168201806040525081019061242291906146f9565b60015b6124cb57612431614733565b806308c379a0141561248e5750612446614755565b806124515750612490565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124859190612d8f565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c29061485d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612549906148ef565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125e58473ffffffffffffffffffffffffffffffffffffffff166129c6565b15612796578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161262b95949392919061490f565b6020604051808303816000875af192505050801561266757506040513d601f19601f8201168201806040525081019061266491906146f9565b60015b61270d57612673614733565b806308c379a014156126d05750612688614755565b8061269357506126d2565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c79190612d8f565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127049061485d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278b906148ef565b60405180910390fd5b505b505050505050565b60008082905060005b84518110156127e9576127d4828683815181106127c7576127c6613d57565b5b60200260200101516129e9565b915080806127e190613d86565b9150506127a7565b508091505092915050565b612802868686868686612a14565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156128b45760005b83518110156128b25782818151811061285657612855613d57565b5b60200260200101516003600086848151811061287557612874613d57565b5b60200260200101518152602001908152602001600020600082825461289a91906137ef565b92505081905550806128ab90613d86565b905061283a565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129be5760005b83518110156129bc57600084828151811061290a57612909613d57565b5b60200260200101519050600084838151811061292957612928613d57565b5b602002602001015190506000600360008481526020019081526020016000205490508181101561298e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612985906149e9565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806129b590613d86565b90506128ec565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612a01576129fc8284612a1c565b612a0c565b612a0b8383612a1c565b5b905092915050565b505050505050565b600082600052816020526040600020905092915050565b828054612a3f906139de565b90600052602060002090601f016020900481019282612a615760008555612aa8565b82601f10612a7a57805160ff1916838001178555612aa8565b82800160010185558215612aa8579182015b82811115612aa7578251825591602001919060010190612a8c565b5b509050612ab59190612ab9565b5090565b5b80821115612ad2576000816000905550600101612aba565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b1582612aea565b9050919050565b612b2581612b0a565b8114612b3057600080fd5b50565b600081359050612b4281612b1c565b92915050565b6000819050919050565b612b5b81612b48565b8114612b6657600080fd5b50565b600081359050612b7881612b52565b92915050565b600080600060608486031215612b9757612b96612ae0565b5b6000612ba586828701612b33565b9350506020612bb686828701612b69565b9250506040612bc786828701612b69565b9150509250925092565b60008060408385031215612be857612be7612ae0565b5b6000612bf685828601612b33565b9250506020612c0785828601612b69565b9150509250929050565b612c1a81612b48565b82525050565b6000602082019050612c356000830184612c11565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c7081612c3b565b8114612c7b57600080fd5b50565b600081359050612c8d81612c67565b92915050565b600060208284031215612ca957612ca8612ae0565b5b6000612cb784828501612c7e565b91505092915050565b60008115159050919050565b612cd581612cc0565b82525050565b6000602082019050612cf06000830184612ccc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d30578082015181840152602081019050612d15565b83811115612d3f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d6182612cf6565b612d6b8185612d01565b9350612d7b818560208601612d12565b612d8481612d45565b840191505092915050565b60006020820190508181036000830152612da98184612d56565b905092915050565b600060208284031215612dc757612dc6612ae0565b5b6000612dd584828501612b69565b91505092915050565b60008060408385031215612df557612df4612ae0565b5b6000612e0385828601612b69565b9250506020612e1485828601612b69565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e5b82612d45565b810181811067ffffffffffffffff82111715612e7a57612e79612e23565b5b80604052505050565b6000612e8d612ad6565b9050612e998282612e52565b919050565b600067ffffffffffffffff821115612eb957612eb8612e23565b5b602082029050602081019050919050565b600080fd5b6000612ee2612edd84612e9e565b612e83565b90508083825260208201905060208402830185811115612f0557612f04612eca565b5b835b81811015612f2e5780612f1a8882612b69565b845260208401935050602081019050612f07565b5050509392505050565b600082601f830112612f4d57612f4c612e1e565b5b8135612f5d848260208601612ecf565b91505092915050565b600080fd5b600067ffffffffffffffff821115612f8657612f85612e23565b5b612f8f82612d45565b9050602081019050919050565b82818337600083830152505050565b6000612fbe612fb984612f6b565b612e83565b905082815260208101848484011115612fda57612fd9612f66565b5b612fe5848285612f9c565b509392505050565b600082601f83011261300257613001612e1e565b5b8135613012848260208601612fab565b91505092915050565b600080600080600060a0868803121561303757613036612ae0565b5b600061304588828901612b33565b955050602061305688828901612b33565b945050604086013567ffffffffffffffff81111561307757613076612ae5565b5b61308388828901612f38565b935050606086013567ffffffffffffffff8111156130a4576130a3612ae5565b5b6130b088828901612f38565b925050608086013567ffffffffffffffff8111156130d1576130d0612ae5565b5b6130dd88828901612fed565b9150509295509295909350565b6000819050919050565b6130fd816130ea565b82525050565b600060208201905061311860008301846130f4565b92915050565b600067ffffffffffffffff82111561313957613138612e23565b5b602082029050602081019050919050565b600061315d6131588461311e565b612e83565b905080838252602082019050602084028301858111156131805761317f612eca565b5b835b818110156131a957806131958882612b33565b845260208401935050602081019050613182565b5050509392505050565b600082601f8301126131c8576131c7612e1e565b5b81356131d884826020860161314a565b91505092915050565b600080604083850312156131f8576131f7612ae0565b5b600083013567ffffffffffffffff81111561321657613215612ae5565b5b613222858286016131b3565b925050602083013567ffffffffffffffff81111561324357613242612ae5565b5b61324f85828601612f38565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61328e81612b48565b82525050565b60006132a08383613285565b60208301905092915050565b6000602082019050919050565b60006132c482613259565b6132ce8185613264565b93506132d983613275565b8060005b8381101561330a5781516132f18882613294565b97506132fc836132ac565b9250506001810190506132dd565b5085935050505092915050565b6000602082019050818103600083015261333181846132b9565b905092915050565b600067ffffffffffffffff82111561335457613353612e23565b5b61335d82612d45565b9050602081019050919050565b600061337d61337884613339565b612e83565b90508281526020810184848401111561339957613398612f66565b5b6133a4848285612f9c565b509392505050565b600082601f8301126133c1576133c0612e1e565b5b81356133d184826020860161336a565b91505092915050565b6000602082840312156133f0576133ef612ae0565b5b600082013567ffffffffffffffff81111561340e5761340d612ae5565b5b61341a848285016133ac565b91505092915050565b60008060006060848603121561343c5761343b612ae0565b5b600061344a86828701612b33565b935050602084013567ffffffffffffffff81111561346b5761346a612ae5565b5b61347786828701612f38565b925050604084013567ffffffffffffffff81111561349857613497612ae5565b5b6134a486828701612f38565b9150509250925092565b6134b7816130ea565b81146134c257600080fd5b50565b6000813590506134d4816134ae565b92915050565b6000602082840312156134f0576134ef612ae0565b5b60006134fe848285016134c5565b91505092915050565b61351081612b0a565b82525050565b600060208201905061352b6000830184613507565b92915050565b61353a81612cc0565b811461354557600080fd5b50565b60008135905061355781613531565b92915050565b6000806040838503121561357457613573612ae0565b5b600061358285828601612b33565b925050602061359385828601613548565b9150509250929050565b600067ffffffffffffffff8211156135b8576135b7612e23565b5b602082029050602081019050919050565b60006135dc6135d78461359d565b612e83565b905080838252602082019050602084028301858111156135ff576135fe612eca565b5b835b81811015613628578061361488826134c5565b845260208401935050602081019050613601565b5050509392505050565b600082601f83011261364757613646612e1e565b5b81356136578482602086016135c9565b91505092915050565b6000806040838503121561367757613676612ae0565b5b600061368585828601612b69565b925050602083013567ffffffffffffffff8111156136a6576136a5612ae5565b5b6136b285828601613632565b9150509250929050565b600080604083850312156136d3576136d2612ae0565b5b60006136e185828601612b33565b92505060206136f285828601612b33565b9150509250929050565b600080600080600060a0868803121561371857613717612ae0565b5b600061372688828901612b33565b955050602061373788828901612b33565b945050604061374888828901612b69565b935050606061375988828901612b69565b925050608086013567ffffffffffffffff81111561377a57613779612ae5565b5b61378688828901612fed565b9150509295509295909350565b6000602082840312156137a9576137a8612ae0565b5b60006137b784828501612b33565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137fa82612b48565b915061380583612b48565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561383a576138396137c0565b5b828201905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b600061387b600e83612d01565b915061388682613845565b602082019050919050565b600060208201905081810360008301526138aa8161386e565b9050919050565b7f4d7573742062652067726561746572207468616e203000000000000000000000600082015250565b60006138e7601683612d01565b91506138f2826138b1565b602082019050919050565b60006020820190508181036000830152613916816138da565b9050919050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613979602a83612d01565b91506139848261391d565b604082019050919050565b600060208201905081810360008301526139a88161396c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139f657607f821691505b60208210811415613a0a57613a096139af565b5b50919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000613a46601583612d01565b9150613a5182613a10565b602082019050919050565b60006020820190508181036000830152613a7581613a39565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613aa9816139de565b613ab38186613a7c565b94506001821660008114613ace5760018114613adf57613b12565b60ff19831686528186019350613b12565b613ae885613a87565b60005b83811015613b0a57815481890152600182019150602081019050613aeb565b838801955050505b50505092915050565b6000613b2682612cf6565b613b308185613a7c565b9350613b40818560208601612d12565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613b82600583613a7c565b9150613b8d82613b4c565b600582019050919050565b6000613ba48285613a9c565b9150613bb08284613b1b565b9150613bbb82613b75565b91508190509392505050565b7f5061737320616c72656164792065786973747300000000000000000000000000600082015250565b6000613bfd601383612d01565b9150613c0882613bc7565b602082019050919050565b60006020820190508181036000830152613c2c81613bf0565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613c8f602f83612d01565b9150613c9a82613c33565b604082019050919050565b60006020820190508181036000830152613cbe81613c82565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613d21602983612d01565b9150613d2c82613cc5565b604082019050919050565b60006020820190508181036000830152613d5081613d14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613d9182612b48565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dc457613dc36137c0565b5b600182019050919050565b60008160601b9050919050565b6000613de782613dcf565b9050919050565b6000613df982613ddc565b9050919050565b613e11613e0c82612b0a565b613dee565b82525050565b6000819050919050565b613e32613e2d82612b48565b613e17565b82525050565b6000613e448285613e00565b601482019150613e548284613e21565b6020820191508190509392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613e9a601f83612d01565b9150613ea582613e64565b602082019050919050565b60006020820190508181036000830152613ec981613e8d565b9050919050565b7f4d65726b6c6520726f6f74206e6f742073657400000000000000000000000000600082015250565b6000613f06601383612d01565b9150613f1182613ed0565b602082019050919050565b60006020820190508181036000830152613f3581613ef9565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000613f72600f83612d01565b9150613f7d82613f3c565b602082019050919050565b60006020820190508181036000830152613fa181613f65565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613fde600d83612d01565b9150613fe982613fa8565b602082019050919050565b6000602082019050818103600083015261400d81613fd1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614070602683612d01565b915061407b82614014565b604082019050919050565b6000602082019050818103600083015261409f81614063565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140dc602083612d01565b91506140e7826140a6565b602082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061416e602183612d01565b915061417982614112565b604082019050919050565b6000602082019050818103600083015261419d81614161565b9050919050565b60006040820190506141b96000830185612c11565b6141c66020830184612c11565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061420782612b48565b915061421283612b48565b925082614222576142216141cd565b5b828204905092915050565b600061423882612b48565b915061424383612b48565b925082821015614256576142556137c0565b5b828203905092915050565b600061426c82612b48565b915061427783612b48565b925082614287576142866141cd565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006142ee602883612d01565b91506142f982614292565b604082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614380602583612d01565b915061438b82614324565b604082019050919050565b600060208201905081810360008301526143af81614373565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614412602a83612d01565b915061441d826143b6565b604082019050919050565b6000602082019050818103600083015261444181614405565b9050919050565b6000604082019050818103600083015261446281856132b9565b9050818103602083015261447681846132b9565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006144db602383612d01565b91506144e68261447f565b604082019050919050565b6000602082019050818103600083015261450a816144ce565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061456d602483612d01565b915061457882614511565b604082019050919050565b6000602082019050818103600083015261459c81614560565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006145ff602983612d01565b915061460a826145a3565b604082019050919050565b6000602082019050818103600083015261462e816145f2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061465c82614635565b6146668185614640565b9350614676818560208601612d12565b61467f81612d45565b840191505092915050565b600060a08201905061469f6000830188613507565b6146ac6020830187613507565b6146b96040830186612c11565b6146c66060830185612c11565b81810360808301526146d88184614651565b90509695505050505050565b6000815190506146f381612c67565b92915050565b60006020828403121561470f5761470e612ae0565b5b600061471d848285016146e4565b91505092915050565b60008160e01c9050919050565b600060033d11156147525760046000803e61474f600051614726565b90505b90565b600060443d1015614765576147e8565b61476d612ad6565b60043d036004823e80513d602482011167ffffffffffffffff821117156147955750506147e8565b808201805167ffffffffffffffff8111156147b357505050506147e8565b80602083010160043d0385018111156147d05750505050506147e8565b6147df82602001850186612e52565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614847603483612d01565b9150614852826147eb565b604082019050919050565b600060208201905081810360008301526148768161483a565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006148d9602883612d01565b91506148e48261487d565b604082019050919050565b60006020820190508181036000830152614908816148cc565b9050919050565b600060a0820190506149246000830188613507565b6149316020830187613507565b818103604083015261494381866132b9565b9050818103606083015261495781856132b9565b9050818103608083015261496b8184614651565b90509695505050505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006149d3602883612d01565b91506149de82614977565b604082019050919050565b60006020820190508181036000830152614a02816149c6565b905091905056fea2646970667358221220026ae888a5eb2a6cf6dd8b22d49377ba6165b9922e1d38a527d6fd7b75ce533664736f6c634300080a0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018c5760003560e01c806378416adb116100de578063bd85b03911610097578063e985e9c511610071578063e985e9c51461048f578063f242432a146104bf578063f2fde38b146104db578063f5298aca146104f75761018c565b8063bd85b03914610413578063cc3c0f0614610443578063d6669923146104735761018c565b806378416adb146103535780637cb647591461038357806382f2e7401461039f5780638da5cb5b146103bb57806395d89b41146103d9578063a22cb465146103f75761018c565b80632eb2c2d61161014b5780634f558e79116101255780634f558e79146102e157806355f804b3146103115780636b20c4541461032d578063715018a6146103495761018c565b80632eb2c2d6146102775780632eb4a7ab146102935780634e1273f4146102b15761018c565b80624a84cb14610191578062fdd58e146101ad57806301ffc9a7146101dd57806306fdde031461020d5780630e89341c1461022b5780631bf043a81461025b575b600080fd5b6101ab60048036038101906101a69190612b7e565b610513565b005b6101c760048036038101906101c29190612bd1565b6105e7565b6040516101d49190612c20565b60405180910390f35b6101f760048036038101906101f29190612c93565b6106b0565b6040516102049190612cdb565b60405180910390f35b6102156106c2565b6040516102229190612d8f565b60405180910390f35b61024560048036038101906102409190612db1565b610754565b6040516102529190612d8f565b60405180910390f35b61027560048036038101906102709190612dde565b6107fc565b005b610291600480360381019061028c919061301b565b610889565b005b61029b61092a565b6040516102a89190613103565b60405180910390f35b6102cb60048036038101906102c691906131e1565b610930565b6040516102d89190613317565b60405180910390f35b6102fb60048036038101906102f69190612db1565b610a49565b6040516103089190612cdb565b60405180910390f35b61032b600480360381019061032691906133da565b610a5d565b005b61034760048036038101906103429190613423565b610a7f565b005b610351610b1c565b005b61036d60048036038101906103689190612db1565b610b30565b60405161037a9190612c20565b60405180910390f35b61039d600480360381019061039891906134da565b610b48565b005b6103b960048036038101906103b49190612bd1565b610b5a565b005b6103c3610bc0565b6040516103d09190613516565b60405180910390f35b6103e1610bea565b6040516103ee9190612d8f565b60405180910390f35b610411600480360381019061040c919061355d565b610c7c565b005b61042d60048036038101906104289190612db1565b610c92565b60405161043a9190612c20565b60405180910390f35b61045d600480360381019061045891906134da565b610caf565b60405161046a9190612cdb565b60405180910390f35b61048d60048036038101906104889190613660565b610ccf565b005b6104a960048036038101906104a491906136bc565b610efe565b6040516104b69190612cdb565b60405180910390f35b6104d960048036038101906104d491906136fc565b610f92565b005b6104f560048036038101906104f09190613793565b611033565b005b610511600480360381019061050c9190612b7e565b6110b7565b005b61051b611154565b600a6000838152602001908152602001600020548161053984610c92565b61054391906137ef565b1115610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b90613891565b60405180910390fd5b600081116105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be906138fd565b60405180910390fd5b6105e2838383604051806020016040528060008152506111d2565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064f9061398f565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106bb82611383565b9050919050565b6060600680546106d1906139de565b80601f01602080910402602001604051908101604052809291908181526020018280546106fd906139de565b801561074a5780601f1061071f5761010080835404028352916020019161074a565b820191906000526020600020905b81548152906001019060200180831161072d57829003601f168201915b5050505050905090565b606061075f82610a49565b61079e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079590613a5c565b60405180910390fd5b6000600880546107ad906139de565b9050116107c957604051806020016040528060008152506107f5565b60086107d483611465565b6040516020016107e5929190613b98565b6040516020818303038152906040525b9050919050565b610804611154565b6000600a600084815260200190815260200160002054148061082e5750600061082c83610c92565b145b61086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086490613c13565b60405180910390fd5b80600a6000848152602001908152602001600020819055505050565b6108916115c6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108d757506108d6856108d16115c6565b610efe565b5b610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d90613ca5565b60405180910390fd5b61092385858585856115ce565b5050505050565b60095481565b60608151835114610976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096d90613d37565b60405180910390fd5b6000835167ffffffffffffffff81111561099357610992612e23565b5b6040519080825280602002602001820160405280156109c15781602001602082028036833780820191505090505b50905060005b8451811015610a3e57610a0e8582815181106109e6576109e5613d57565b5b6020026020010151858381518110610a0157610a00613d57565b5b60200260200101516105e7565b828281518110610a2157610a20613d57565b5b60200260200101818152505080610a3790613d86565b90506109c7565b508091505092915050565b600080610a5583610c92565b119050919050565b610a65611154565b8060089080519060200190610a7b929190612a33565b5050565b610a876115c6565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610acd5750610acc83610ac76115c6565b610efe565b5b610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0390613ca5565b60405180910390fd5b610b178383836118f0565b505050565b610b24611154565b610b2e6000611bbf565b565b600a6020528060005260406000206000915090505481565b610b50611154565b8060098190555050565b610b62611154565b60008282604051602001610b77929190613e38565b6040516020818303038152906040528051906020012090506000600b600083815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054610bf9906139de565b80601f0160208091040260200160405190810160405280929190818152602001828054610c25906139de565b8015610c725780601f10610c4757610100808354040283529160200191610c72565b820191906000526020600020905b815481529060010190602001808311610c5557829003601f168201915b5050505050905090565b610c8e610c876115c6565b8383611c85565b5050565b600060036000838152602001908152602001600020549050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60026005541415610d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0c90613eb0565b60405180910390fd5b60026005819055506000801b6009541415610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90613f1c565b60405180910390fd5b60003383604051602001610d7a929190613e38565b604051602081830303815290604052805190602001209050600b600082815260200190815260200160002060009054906101000a900460ff1615610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90613f88565b60405180910390fd5b610e008260095483611df2565b610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690613ff4565b60405180910390fd5b600a6000848152602001908152602001600020546001610e5e85610c92565b610e6891906137ef565b1115610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea090613891565b60405180910390fd5b6001600b600083815260200190815260200160002060006101000a81548160ff021916908315150217905550610ef133846001604051806020016040528060008152506111d2565b5060016005819055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f9a6115c6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fe05750610fdf85610fda6115c6565b610efe565b5b61101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690613ca5565b60405180910390fd5b61102c8585858585611e09565b5050505050565b61103b611154565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a290614086565b60405180910390fd5b6110b481611bbf565b50565b6110bf6115c6565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806111055750611104836110ff6115c6565b610efe565b5b611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b90613ca5565b60405180910390fd5b61114f8383836120a5565b505050565b61115c6115c6565b73ffffffffffffffffffffffffffffffffffffffff1661117a610bc0565b73ffffffffffffffffffffffffffffffffffffffff16146111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c7906140f2565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123990614184565b60405180910390fd5b600061124c6115c6565b90506000611259856122ec565b90506000611266856122ec565b905061127783600089858589612366565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d691906137ef565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516113549291906141a4565b60405180910390a461136b8360008985858961237c565b61137a83600089898989612384565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061144e57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061145e575061145d8261255c565b5b9050919050565b606060008214156114ad576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506115c1565b600082905060005b600082146114df5780806114c890613d86565b915050600a826114d891906141fc565b91506114b5565b60008167ffffffffffffffff8111156114fb576114fa612e23565b5b6040519080825280601f01601f19166020018201604052801561152d5781602001600182028036833780820191505090505b5090505b600085146115ba57600182611546919061422d565b9150600a856115559190614261565b603061156191906137ef565b60f81b81838151811061157757611576613d57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856115b391906141fc565b9450611531565b8093505050505b919050565b600033905090565b8151835114611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990614304565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167990614396565b60405180910390fd5b600061168c6115c6565b905061169c818787878787612366565b60005b845181101561184d5760008582815181106116bd576116bc613d57565b5b6020026020010151905060008583815181106116dc576116db613d57565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490614428565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461183291906137ef565b925050819055505050508061184690613d86565b905061169f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118c4929190614448565b60405180910390a46118da81878787878761237c565b6118e88187878787876125c6565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611960576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611957906144f1565b60405180910390fd5b80518251146119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b90614304565b60405180910390fd5b60006119ae6115c6565b90506119ce81856000868660405180602001604052806000815250612366565b60005b8351811015611b1b5760008482815181106119ef576119ee613d57565b5b602002602001015190506000848381518110611a0e57611a0d613d57565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa690614583565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611b1390613d86565b9150506119d1565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b93929190614448565b60405180910390a4611bb98185600086866040518060200160405280600081525061237c565b50505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90614615565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de59190612cdb565b60405180910390a3505050565b600082611dff858461279e565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7090614396565b60405180910390fd5b6000611e836115c6565b90506000611e90856122ec565b90506000611e9d856122ec565b9050611ead838989858589612366565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3b90614428565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ff991906137ef565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516120769291906141a4565b60405180910390a461208c848a8a86868a61237c565b61209a848a8a8a8a8a612384565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210c906144f1565b60405180910390fd5b600061211f6115c6565b9050600061212c846122ec565b90506000612139846122ec565b905061215983876000858560405180602001604052806000815250612366565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156121f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e790614583565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516122bd9291906141a4565b60405180910390a46122e38488600086866040518060200160405280600081525061237c565b50505050505050565b60606000600167ffffffffffffffff81111561230b5761230a612e23565b5b6040519080825280602002602001820160405280156123395781602001602082028036833780820191505090505b509050828160008151811061235157612350613d57565b5b60200260200101818152505080915050919050565b6123748686868686866127f4565b505050505050565b505050505050565b6123a38473ffffffffffffffffffffffffffffffffffffffff166129c6565b15612554578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123e995949392919061468a565b6020604051808303816000875af192505050801561242557506040513d601f19601f8201168201806040525081019061242291906146f9565b60015b6124cb57612431614733565b806308c379a0141561248e5750612446614755565b806124515750612490565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124859190612d8f565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c29061485d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612549906148ef565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125e58473ffffffffffffffffffffffffffffffffffffffff166129c6565b15612796578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161262b95949392919061490f565b6020604051808303816000875af192505050801561266757506040513d601f19601f8201168201806040525081019061266491906146f9565b60015b61270d57612673614733565b806308c379a014156126d05750612688614755565b8061269357506126d2565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c79190612d8f565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127049061485d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278b906148ef565b60405180910390fd5b505b505050505050565b60008082905060005b84518110156127e9576127d4828683815181106127c7576127c6613d57565b5b60200260200101516129e9565b915080806127e190613d86565b9150506127a7565b508091505092915050565b612802868686868686612a14565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156128b45760005b83518110156128b25782818151811061285657612855613d57565b5b60200260200101516003600086848151811061287557612874613d57565b5b60200260200101518152602001908152602001600020600082825461289a91906137ef565b92505081905550806128ab90613d86565b905061283a565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129be5760005b83518110156129bc57600084828151811061290a57612909613d57565b5b60200260200101519050600084838151811061292957612928613d57565b5b602002602001015190506000600360008481526020019081526020016000205490508181101561298e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612985906149e9565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806129b590613d86565b90506128ec565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612a01576129fc8284612a1c565b612a0c565b612a0b8383612a1c565b5b905092915050565b505050505050565b600082600052816020526040600020905092915050565b828054612a3f906139de565b90600052602060002090601f016020900481019282612a615760008555612aa8565b82601f10612a7a57805160ff1916838001178555612aa8565b82800160010185558215612aa8579182015b82811115612aa7578251825591602001919060010190612a8c565b5b509050612ab59190612ab9565b5090565b5b80821115612ad2576000816000905550600101612aba565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b1582612aea565b9050919050565b612b2581612b0a565b8114612b3057600080fd5b50565b600081359050612b4281612b1c565b92915050565b6000819050919050565b612b5b81612b48565b8114612b6657600080fd5b50565b600081359050612b7881612b52565b92915050565b600080600060608486031215612b9757612b96612ae0565b5b6000612ba586828701612b33565b9350506020612bb686828701612b69565b9250506040612bc786828701612b69565b9150509250925092565b60008060408385031215612be857612be7612ae0565b5b6000612bf685828601612b33565b9250506020612c0785828601612b69565b9150509250929050565b612c1a81612b48565b82525050565b6000602082019050612c356000830184612c11565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c7081612c3b565b8114612c7b57600080fd5b50565b600081359050612c8d81612c67565b92915050565b600060208284031215612ca957612ca8612ae0565b5b6000612cb784828501612c7e565b91505092915050565b60008115159050919050565b612cd581612cc0565b82525050565b6000602082019050612cf06000830184612ccc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d30578082015181840152602081019050612d15565b83811115612d3f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d6182612cf6565b612d6b8185612d01565b9350612d7b818560208601612d12565b612d8481612d45565b840191505092915050565b60006020820190508181036000830152612da98184612d56565b905092915050565b600060208284031215612dc757612dc6612ae0565b5b6000612dd584828501612b69565b91505092915050565b60008060408385031215612df557612df4612ae0565b5b6000612e0385828601612b69565b9250506020612e1485828601612b69565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e5b82612d45565b810181811067ffffffffffffffff82111715612e7a57612e79612e23565b5b80604052505050565b6000612e8d612ad6565b9050612e998282612e52565b919050565b600067ffffffffffffffff821115612eb957612eb8612e23565b5b602082029050602081019050919050565b600080fd5b6000612ee2612edd84612e9e565b612e83565b90508083825260208201905060208402830185811115612f0557612f04612eca565b5b835b81811015612f2e5780612f1a8882612b69565b845260208401935050602081019050612f07565b5050509392505050565b600082601f830112612f4d57612f4c612e1e565b5b8135612f5d848260208601612ecf565b91505092915050565b600080fd5b600067ffffffffffffffff821115612f8657612f85612e23565b5b612f8f82612d45565b9050602081019050919050565b82818337600083830152505050565b6000612fbe612fb984612f6b565b612e83565b905082815260208101848484011115612fda57612fd9612f66565b5b612fe5848285612f9c565b509392505050565b600082601f83011261300257613001612e1e565b5b8135613012848260208601612fab565b91505092915050565b600080600080600060a0868803121561303757613036612ae0565b5b600061304588828901612b33565b955050602061305688828901612b33565b945050604086013567ffffffffffffffff81111561307757613076612ae5565b5b61308388828901612f38565b935050606086013567ffffffffffffffff8111156130a4576130a3612ae5565b5b6130b088828901612f38565b925050608086013567ffffffffffffffff8111156130d1576130d0612ae5565b5b6130dd88828901612fed565b9150509295509295909350565b6000819050919050565b6130fd816130ea565b82525050565b600060208201905061311860008301846130f4565b92915050565b600067ffffffffffffffff82111561313957613138612e23565b5b602082029050602081019050919050565b600061315d6131588461311e565b612e83565b905080838252602082019050602084028301858111156131805761317f612eca565b5b835b818110156131a957806131958882612b33565b845260208401935050602081019050613182565b5050509392505050565b600082601f8301126131c8576131c7612e1e565b5b81356131d884826020860161314a565b91505092915050565b600080604083850312156131f8576131f7612ae0565b5b600083013567ffffffffffffffff81111561321657613215612ae5565b5b613222858286016131b3565b925050602083013567ffffffffffffffff81111561324357613242612ae5565b5b61324f85828601612f38565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61328e81612b48565b82525050565b60006132a08383613285565b60208301905092915050565b6000602082019050919050565b60006132c482613259565b6132ce8185613264565b93506132d983613275565b8060005b8381101561330a5781516132f18882613294565b97506132fc836132ac565b9250506001810190506132dd565b5085935050505092915050565b6000602082019050818103600083015261333181846132b9565b905092915050565b600067ffffffffffffffff82111561335457613353612e23565b5b61335d82612d45565b9050602081019050919050565b600061337d61337884613339565b612e83565b90508281526020810184848401111561339957613398612f66565b5b6133a4848285612f9c565b509392505050565b600082601f8301126133c1576133c0612e1e565b5b81356133d184826020860161336a565b91505092915050565b6000602082840312156133f0576133ef612ae0565b5b600082013567ffffffffffffffff81111561340e5761340d612ae5565b5b61341a848285016133ac565b91505092915050565b60008060006060848603121561343c5761343b612ae0565b5b600061344a86828701612b33565b935050602084013567ffffffffffffffff81111561346b5761346a612ae5565b5b61347786828701612f38565b925050604084013567ffffffffffffffff81111561349857613497612ae5565b5b6134a486828701612f38565b9150509250925092565b6134b7816130ea565b81146134c257600080fd5b50565b6000813590506134d4816134ae565b92915050565b6000602082840312156134f0576134ef612ae0565b5b60006134fe848285016134c5565b91505092915050565b61351081612b0a565b82525050565b600060208201905061352b6000830184613507565b92915050565b61353a81612cc0565b811461354557600080fd5b50565b60008135905061355781613531565b92915050565b6000806040838503121561357457613573612ae0565b5b600061358285828601612b33565b925050602061359385828601613548565b9150509250929050565b600067ffffffffffffffff8211156135b8576135b7612e23565b5b602082029050602081019050919050565b60006135dc6135d78461359d565b612e83565b905080838252602082019050602084028301858111156135ff576135fe612eca565b5b835b81811015613628578061361488826134c5565b845260208401935050602081019050613601565b5050509392505050565b600082601f83011261364757613646612e1e565b5b81356136578482602086016135c9565b91505092915050565b6000806040838503121561367757613676612ae0565b5b600061368585828601612b69565b925050602083013567ffffffffffffffff8111156136a6576136a5612ae5565b5b6136b285828601613632565b9150509250929050565b600080604083850312156136d3576136d2612ae0565b5b60006136e185828601612b33565b92505060206136f285828601612b33565b9150509250929050565b600080600080600060a0868803121561371857613717612ae0565b5b600061372688828901612b33565b955050602061373788828901612b33565b945050604061374888828901612b69565b935050606061375988828901612b69565b925050608086013567ffffffffffffffff81111561377a57613779612ae5565b5b61378688828901612fed565b9150509295509295909350565b6000602082840312156137a9576137a8612ae0565b5b60006137b784828501612b33565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137fa82612b48565b915061380583612b48565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561383a576138396137c0565b5b828201905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b600061387b600e83612d01565b915061388682613845565b602082019050919050565b600060208201905081810360008301526138aa8161386e565b9050919050565b7f4d7573742062652067726561746572207468616e203000000000000000000000600082015250565b60006138e7601683612d01565b91506138f2826138b1565b602082019050919050565b60006020820190508181036000830152613916816138da565b9050919050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613979602a83612d01565b91506139848261391d565b604082019050919050565b600060208201905081810360008301526139a88161396c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139f657607f821691505b60208210811415613a0a57613a096139af565b5b50919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000613a46601583612d01565b9150613a5182613a10565b602082019050919050565b60006020820190508181036000830152613a7581613a39565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613aa9816139de565b613ab38186613a7c565b94506001821660008114613ace5760018114613adf57613b12565b60ff19831686528186019350613b12565b613ae885613a87565b60005b83811015613b0a57815481890152600182019150602081019050613aeb565b838801955050505b50505092915050565b6000613b2682612cf6565b613b308185613a7c565b9350613b40818560208601612d12565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613b82600583613a7c565b9150613b8d82613b4c565b600582019050919050565b6000613ba48285613a9c565b9150613bb08284613b1b565b9150613bbb82613b75565b91508190509392505050565b7f5061737320616c72656164792065786973747300000000000000000000000000600082015250565b6000613bfd601383612d01565b9150613c0882613bc7565b602082019050919050565b60006020820190508181036000830152613c2c81613bf0565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613c8f602f83612d01565b9150613c9a82613c33565b604082019050919050565b60006020820190508181036000830152613cbe81613c82565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613d21602983612d01565b9150613d2c82613cc5565b604082019050919050565b60006020820190508181036000830152613d5081613d14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613d9182612b48565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dc457613dc36137c0565b5b600182019050919050565b60008160601b9050919050565b6000613de782613dcf565b9050919050565b6000613df982613ddc565b9050919050565b613e11613e0c82612b0a565b613dee565b82525050565b6000819050919050565b613e32613e2d82612b48565b613e17565b82525050565b6000613e448285613e00565b601482019150613e548284613e21565b6020820191508190509392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613e9a601f83612d01565b9150613ea582613e64565b602082019050919050565b60006020820190508181036000830152613ec981613e8d565b9050919050565b7f4d65726b6c6520726f6f74206e6f742073657400000000000000000000000000600082015250565b6000613f06601383612d01565b9150613f1182613ed0565b602082019050919050565b60006020820190508181036000830152613f3581613ef9565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000613f72600f83612d01565b9150613f7d82613f3c565b602082019050919050565b60006020820190508181036000830152613fa181613f65565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613fde600d83612d01565b9150613fe982613fa8565b602082019050919050565b6000602082019050818103600083015261400d81613fd1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614070602683612d01565b915061407b82614014565b604082019050919050565b6000602082019050818103600083015261409f81614063565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140dc602083612d01565b91506140e7826140a6565b602082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061416e602183612d01565b915061417982614112565b604082019050919050565b6000602082019050818103600083015261419d81614161565b9050919050565b60006040820190506141b96000830185612c11565b6141c66020830184612c11565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061420782612b48565b915061421283612b48565b925082614222576142216141cd565b5b828204905092915050565b600061423882612b48565b915061424383612b48565b925082821015614256576142556137c0565b5b828203905092915050565b600061426c82612b48565b915061427783612b48565b925082614287576142866141cd565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006142ee602883612d01565b91506142f982614292565b604082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614380602583612d01565b915061438b82614324565b604082019050919050565b600060208201905081810360008301526143af81614373565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614412602a83612d01565b915061441d826143b6565b604082019050919050565b6000602082019050818103600083015261444181614405565b9050919050565b6000604082019050818103600083015261446281856132b9565b9050818103602083015261447681846132b9565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006144db602383612d01565b91506144e68261447f565b604082019050919050565b6000602082019050818103600083015261450a816144ce565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061456d602483612d01565b915061457882614511565b604082019050919050565b6000602082019050818103600083015261459c81614560565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006145ff602983612d01565b915061460a826145a3565b604082019050919050565b6000602082019050818103600083015261462e816145f2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061465c82614635565b6146668185614640565b9350614676818560208601612d12565b61467f81612d45565b840191505092915050565b600060a08201905061469f6000830188613507565b6146ac6020830187613507565b6146b96040830186612c11565b6146c66060830185612c11565b81810360808301526146d88184614651565b90509695505050505050565b6000815190506146f381612c67565b92915050565b60006020828403121561470f5761470e612ae0565b5b600061471d848285016146e4565b91505092915050565b60008160e01c9050919050565b600060033d11156147525760046000803e61474f600051614726565b90505b90565b600060443d1015614765576147e8565b61476d612ad6565b60043d036004823e80513d602482011167ffffffffffffffff821117156147955750506147e8565b808201805167ffffffffffffffff8111156147b357505050506147e8565b80602083010160043d0385018111156147d05750505050506147e8565b6147df82602001850186612e52565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614847603483612d01565b9150614852826147eb565b604082019050919050565b600060208201905081810360008301526148768161483a565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006148d9602883612d01565b91506148e48261487d565b604082019050919050565b60006020820190508181036000830152614908816148cc565b9050919050565b600060a0820190506149246000830188613507565b6149316020830187613507565b818103604083015261494381866132b9565b9050818103606083015261495781856132b9565b9050818103608083015261496b8184614651565b90509695505050505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006149d3602883612d01565b91506149de82614977565b604082019050919050565b60006020820190508181036000830152614a02816149c6565b905091905056fea2646970667358221220026ae888a5eb2a6cf6dd8b22d49377ba6165b9922e1d38a527d6fd7b75ce533664736f6c634300080a0033

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.