ETH Price: $3,895.91 (+0.29%)

Token

 

Overview

Max Total Supply

1,116

Holders

613

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x6bb5971129066120d665034d78b32c1a35bab55e
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:
AshPass

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : AshPass.sol
//SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract AshPass is ERC1155, Ownable, ReentrancyGuard {
    using ECDSA for bytes32;

    uint256 public constant MINT_PRICE = 0.3333 ether;
    uint256 public constant MAX_TOTAL_SUPPLY = 2000;
    uint256 public constant MAX_PUBLIC_SUPPLY = 500;
    uint256 public constant RESERVED = 500;
    uint256 public constant TOKEN_ID = 0;

    uint256 public totalSupply;
    uint256 public publicSupply;
    bool public metadataFrozen;
    bool public saleActive;
    address public signer;
    mapping(address => bool) public addressMinted;

    constructor(string memory uri, address owner) ERC1155(uri) {
        _mint(owner, TOKEN_ID, RESERVED, "");
        totalSupply += RESERVED;
    }

    /**
     * @notice Set signature signing address
     * @param _signer address of account used to create mint signatures
     */
    function setSigner(address _signer) public onlyOwner {
        signer = _signer;
    }

    /**
     * @notice Flip public sale state between active and inactive
     */
    function flipSaleActive() public onlyOwner {
        saleActive = !saleActive;
    }

    /**
     * @notice Set metadata URI
     * @dev More details in ERC1155 contract
     * @param _uri of token metadata
     */
    function setMetadata(string memory _uri) public onlyOwner {
        require(!metadataFrozen, "Metadata frozen");
        _setURI(_uri);
    }

    /**
     * @notice Freeze token metadata, making it immutable
     */
    function freezeMetadata() public onlyOwner {
        metadataFrozen = true;
    }

    /**
     * @notice Internal base mint function to be used by public and mintlist mint functions
     * @param sender account sending the mint transaction
     */
    function baseMint(address sender) internal {
        require(sender == tx.origin,                 "Contract minting not allowed");
        require(!addressMinted[sender],              "Address has already minted");
        require(msg.value == MINT_PRICE,             "Invalid Ether amount sent");
        require(totalSupply + 1 <= MAX_TOTAL_SUPPLY, "Exceeds maximum number of tokens");

        _mint(sender, TOKEN_ID, 1, "");

        addressMinted[sender] = true;
        totalSupply += 1;
    }

    /**
     * @notice Public mint accessible by anyone (contracts excluded)
     */
    function publicMint() public payable nonReentrant {
        require(saleActive,                            "Sale is not active");
        require(publicSupply + 1 <= MAX_PUBLIC_SUPPLY, "Exceeds maximum number of public tokens");

        baseMint(_msgSender());

        publicSupply += 1;
    }

    /**
     * @notice Mintlist mint accessible only to those with a signature
     * @param signature created by signer account
     */
    function mintlistMint(bytes memory signature) public payable nonReentrant {
        address _signer = ECDSA.recover(
            ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(_msgSender()))),
            signature
        );
        require(signer == _signer, "Invalid signature");

        baseMint(_msgSender());
    }

    /**
     * @notice Withdraw all ETH transferred to the contract
     */
    function withdraw() external onlyOwner {
        Address.sendValue(payable(_msgSender()), address(this).balance);
    }
}

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

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 4 of 13 : 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 5 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 13 of 13 : 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":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"address","name":"owner","type":"address"}],"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":[],"name":"MAX_PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"flipSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","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":"metadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"setMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620057dc380380620057dc8339818101604052810190620000379190620008d4565b816200004981620000bd60201b60201c565b506200006a6200005e620000d960201b60201c565b620000e160201b60201c565b6001600481905550620000988160006101f460405180602001604052806000815250620001a760201b60201c565b6101f460056000828254620000ae919062000973565b92505081905550505062000f20565b8060029080519060200190620000d592919062000622565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200021a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002119062000a57565b60405180910390fd5b60006200022c620000d960201b60201c565b9050620002658160008762000247886200036c60201b60201c565b62000258886200036c60201b60201c565b87620003ed60201b60201c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620002c6919062000973565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516200034692919062000a8a565b60405180910390a46200036581600087878787620003f560201b60201c565b5050505050565b60606000600167ffffffffffffffff8111156200038e576200038d62000701565b5b604051908082528060200260200182016040528015620003bd5781602001602082028036833780820191505090505b5090508281600081518110620003d857620003d762000ab7565b5b60200260200101818152505080915050919050565b505050505050565b620004218473ffffffffffffffffffffffffffffffffffffffff16620005ff60201b620013d71760201c565b15620005f7578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016200046a95949392919062000b54565b602060405180830381600087803b1580156200048557600080fd5b505af1925050508015620004b957506040513d601f19601f82011682018060405250810190620004b6919062000c15565b60015b6200056b57620004c862000c54565b806308c379a014156200052c5750620004e062000c79565b80620004ed57506200052e565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000523919062000d67565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005629062000e01565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614620005f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ec9062000e99565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054620006309062000eea565b90600052602060002090601f016020900481019282620006545760008555620006a0565b82601f106200066f57805160ff1916838001178555620006a0565b82800160010185558215620006a0579182015b828111156200069f57825182559160200191906001019062000682565b5b509050620006af9190620006b3565b5090565b5b80821115620006ce576000816000905550600101620006b4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200073b82620006f0565b810181811067ffffffffffffffff821117156200075d576200075c62000701565b5b80604052505050565b600062000772620006d2565b905062000780828262000730565b919050565b600067ffffffffffffffff821115620007a357620007a262000701565b5b620007ae82620006f0565b9050602081019050919050565b60005b83811015620007db578082015181840152602081019050620007be565b83811115620007eb576000848401525b50505050565b600062000808620008028462000785565b62000766565b905082815260208101848484011115620008275762000826620006eb565b5b62000834848285620007bb565b509392505050565b600082601f830112620008545762000853620006e6565b5b815162000866848260208601620007f1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200089c826200086f565b9050919050565b620008ae816200088f565b8114620008ba57600080fd5b50565b600081519050620008ce81620008a3565b92915050565b60008060408385031215620008ee57620008ed620006dc565b5b600083015167ffffffffffffffff8111156200090f576200090e620006e1565b5b6200091d858286016200083c565b92505060206200093085828601620008bd565b9150509250929050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000980826200093a565b91506200098d836200093a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620009c557620009c462000944565b5b828201905092915050565b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062000a3f602183620009d0565b915062000a4c82620009e1565b604082019050919050565b6000602082019050818103600083015262000a728162000a30565b9050919050565b62000a84816200093a565b82525050565b600060408201905062000aa1600083018562000a79565b62000ab0602083018462000a79565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b62000af1816200088f565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000b208262000af7565b62000b2c818562000b02565b935062000b3e818560208601620007bb565b62000b4981620006f0565b840191505092915050565b600060a08201905062000b6b600083018862000ae6565b62000b7a602083018762000ae6565b62000b89604083018662000a79565b62000b98606083018562000a79565b818103608083015262000bac818462000b13565b90509695505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000bef8162000bb8565b811462000bfb57600080fd5b50565b60008151905062000c0f8162000be4565b92915050565b60006020828403121562000c2e5762000c2d620006dc565b5b600062000c3e8482850162000bfe565b91505092915050565b60008160e01c9050919050565b600060033d111562000c765760046000803e62000c7360005162000c47565b90505b90565b600060443d101562000c8b5762000d18565b62000c95620006d2565b60043d036004823e80513d602482011167ffffffffffffffff8211171562000cbf57505062000d18565b808201805167ffffffffffffffff81111562000cdf575050505062000d18565b80602083010160043d03850181111562000cfe57505050505062000d18565b62000d0f8260200185018662000730565b82955050505050505b90565b600081519050919050565b600062000d338262000d1b565b62000d3f8185620009d0565b935062000d51818560208601620007bb565b62000d5c81620006f0565b840191505092915050565b6000602082019050818103600083015262000d83818462000d26565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600062000de9603483620009d0565b915062000df68262000d8b565b604082019050919050565b6000602082019050818103600083015262000e1c8162000dda565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600062000e81602883620009d0565b915062000e8e8262000e23565b604082019050919050565b6000602082019050818103600083015262000eb48162000e72565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000f0357607f821691505b6020821081141562000f1a5762000f1962000ebb565b5b50919050565b6148ac8062000f306000396000f3fe6080604052600436106101c15760003560e01c80636c19e783116100f7578063c002d23d11610095578063f242432a11610064578063f242432a146105cb578063f2fde38b146105f4578063fa30297e1461061d578063fb3cc6c21461065a576101c1565b8063c002d23d14610535578063d111515d14610560578063de8b51e114610577578063e985e9c51461058e576101c1565b80638da5cb5b116100d15780638da5cb5b1461048d578063a22cb465146104b8578063a49a1e7d146104e1578063aa592f251461050a576101c1565b80636c19e78314610422578063715018a61461044b57806389a8900214610462576101c1565b80632eb2c2d6116101645780633ccfd60b1161013e5780633ccfd60b146103785780634e1273f41461038f5780635e84d723146103cc57806368428a1b146103f7576101c1565b80632eb2c2d61461030857806331ae0aba1461033157806333039d3d1461034d576101c1565b806318160ddd116101a057806318160ddd1461027d578063238ac933146102a857806326092b83146102d35780632a47f799146102dd576101c1565b8062fdd58e146101c657806301ffc9a7146102035780630e89341c14610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e89190612ab9565b610685565b6040516101fa9190612b08565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190612b7b565b61074e565b6040516102379190612bc3565b60405180910390f35b34801561024c57600080fd5b5061026760048036038101906102629190612bde565b610830565b6040516102749190612ca4565b60405180910390f35b34801561028957600080fd5b506102926108c4565b60405161029f9190612b08565b60405180910390f35b3480156102b457600080fd5b506102bd6108ca565b6040516102ca9190612cd5565b60405180910390f35b6102db6108f0565b005b3480156102e957600080fd5b506102f2610a14565b6040516102ff9190612b08565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190612eed565b610a1a565b005b61034b60048036038101906103469190612fbc565b610abb565b005b34801561035957600080fd5b50610362610bf8565b60405161036f9190612b08565b60405180910390f35b34801561038457600080fd5b5061038d610bfe565b005b34801561039b57600080fd5b506103b660048036038101906103b191906130c8565b610c8d565b6040516103c391906131fe565b60405180910390f35b3480156103d857600080fd5b506103e1610da6565b6040516103ee9190612b08565b60405180910390f35b34801561040357600080fd5b5061040c610dac565b6040516104199190612bc3565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613220565b610dbf565b005b34801561045757600080fd5b50610460610e7f565b005b34801561046e57600080fd5b50610477610f07565b6040516104849190612b08565b60405180910390f35b34801561049957600080fd5b506104a2610f0c565b6040516104af9190612cd5565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190613279565b610f36565b005b3480156104ed57600080fd5b506105086004803603810190610503919061335a565b610f4c565b005b34801561051657600080fd5b5061051f611024565b60405161052c9190612b08565b60405180910390f35b34801561054157600080fd5b5061054a61102a565b6040516105579190612b08565b60405180910390f35b34801561056c57600080fd5b50610575611036565b005b34801561058357600080fd5b5061058c6110cf565b005b34801561059a57600080fd5b506105b560048036038101906105b091906133a3565b611177565b6040516105c29190612bc3565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed91906133e3565b61120b565b005b34801561060057600080fd5b5061061b60048036038101906106169190613220565b6112ac565b005b34801561062957600080fd5b50610644600480360381019061063f9190613220565b6113a4565b6040516106519190612bc3565b60405180910390f35b34801561066657600080fd5b5061066f6113c4565b60405161067c9190612bc3565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed906134ec565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108295750610828826113fa565b5b9050919050565b60606002805461083f9061353b565b80601f016020809104026020016040519081016040528092919081815260200182805461086b9061353b565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b50505050509050919050565b60055481565b600760029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026004541415610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d906135b9565b60405180910390fd5b6002600481905550600760019054906101000a900460ff1661098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098490613625565b60405180910390fd5b6101f4600160065461099f9190613674565b11156109e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d79061373c565b60405180910390fd5b6109f06109eb611464565b61146c565b600160066000828254610a039190613674565b925050819055506001600481905550565b6101f481565b610a22611464565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a685750610a6785610a62611464565b611177565b5b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e906137ce565b60405180910390fd5b610ab48585858585611696565b5050505050565b60026004541415610b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af8906135b9565b60405180910390fd5b60026004819055506000610b4a610b44610b19611464565b604051602001610b299190613836565b604051602081830303815290604052805190602001206119aa565b836119da565b90508073ffffffffffffffffffffffffffffffffffffffff16600760029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd39061389d565b60405180910390fd5b610bec610be7611464565b61146c565b50600160048190555050565b6107d081565b610c06611464565b73ffffffffffffffffffffffffffffffffffffffff16610c24610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613909565b60405180910390fd5b610c8b610c85611464565b47611a01565b565b60608151835114610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca9061399b565b60405180910390fd5b6000835167ffffffffffffffff811115610cf057610cef612cf5565b5b604051908082528060200260200182016040528015610d1e5781602001602082028036833780820191505090505b50905060005b8451811015610d9b57610d6b858281518110610d4357610d426139bb565b5b6020026020010151858381518110610d5e57610d5d6139bb565b5b6020026020010151610685565b828281518110610d7e57610d7d6139bb565b5b60200260200101818152505080610d94906139ea565b9050610d24565b508091505092915050565b60065481565b600760019054906101000a900460ff1681565b610dc7611464565b73ffffffffffffffffffffffffffffffffffffffff16610de5610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290613909565b60405180910390fd5b80600760026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e87611464565b73ffffffffffffffffffffffffffffffffffffffff16610ea5610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290613909565b60405180910390fd5b610f056000611af5565b565b600081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f48610f41611464565b8383611bbb565b5050565b610f54611464565b73ffffffffffffffffffffffffffffffffffffffff16610f72610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613909565b60405180910390fd5b600760009054906101000a900460ff1615611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90613a7f565b60405180910390fd5b61102181611d28565b50565b6101f481565b6704a01e9587a3400081565b61103e611464565b73ffffffffffffffffffffffffffffffffffffffff1661105c610f0c565b73ffffffffffffffffffffffffffffffffffffffff16146110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a990613909565b60405180910390fd5b6001600760006101000a81548160ff021916908315150217905550565b6110d7611464565b73ffffffffffffffffffffffffffffffffffffffff166110f5610f0c565b73ffffffffffffffffffffffffffffffffffffffff161461114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290613909565b60405180910390fd5b600760019054906101000a900460ff1615600760016101000a81548160ff021916908315150217905550565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611213611464565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611259575061125885611253611464565b611177565b5b611298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128f90613b11565b60405180910390fd5b6112a58585858585611d42565b5050505050565b6112b4611464565b73ffffffffffffffffffffffffffffffffffffffff166112d2610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90613909565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f90613ba3565b60405180910390fd5b6113a181611af5565b50565b60086020528060005260406000206000915054906101000a900460ff1681565b600760009054906101000a900460ff1681565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b3273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190613c0f565b60405180910390fd5b600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e90613c7b565b60405180910390fd5b6704a01e9587a3400034146115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a890613ce7565b60405180910390fd5b6107d060016005546115c39190613674565b1115611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90613d53565b60405180910390fd5b611621816000600160405180602001604052806000815250611fc4565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600082825461168c9190613674565b9250508190555050565b81518351146116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190613de5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613e77565b60405180910390fd5b6000611754611464565b905061176481878787878761215a565b60005b8451811015611915576000858281518110611785576117846139bb565b5b6020026020010151905060008583815181106117a4576117a36139bb565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c90613f09565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118fa9190613674565b925050819055505050508061190e906139ea565b9050611767565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161198c929190613f29565b60405180910390a46119a2818787878787612162565b505050505050565b6000816040516020016119bd9190613fe2565b604051602081830303815290604052805190602001209050919050565b60008060006119e98585612349565b915091506119f6816123cc565b819250505092915050565b80471015611a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3b90614054565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611a6a906140a5565b60006040518083038185875af1925050503d8060008114611aa7576040519150601f19603f3d011682016040523d82523d6000602084013e611aac565b606091505b5050905080611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae79061412c565b60405180910390fd5b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c21906141be565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d1b9190612bc3565b60405180910390a3505050565b8060029080519060200190611d3e92919061296e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da990613e77565b60405180910390fd5b6000611dbc611464565b9050611ddc818787611dcd886125a1565b611dd6886125a1565b8761215a565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90613f09565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f289190613674565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611fa59291906141de565b60405180910390a4611fbb82888888888861261b565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b90614279565b60405180910390fd5b600061203e611464565b905061205f81600087612050886125a1565b612059886125a1565b8761215a565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120be9190613674565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161213c9291906141de565b60405180910390a46121538160008787878761261b565b5050505050565b505050505050565b6121818473ffffffffffffffffffffffffffffffffffffffff166113d7565b15612341578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121c79594939291906142ee565b602060405180830381600087803b1580156121e157600080fd5b505af192505050801561221257506040513d601f19601f8201168201806040525081019061220f919061436b565b60015b6122b85761221e6143a5565b806308c379a0141561227b57506122336143c7565b8061223e575061227d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122729190612ca4565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122af906144cf565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233690614561565b60405180910390fd5b505b505050505050565b60008060418351141561238b5760008060006020860151925060408601519150606086015160001a905061237f87828585612802565b945094505050506123c5565b6040835114156123bc5760008060208501519150604085015190506123b186838361290f565b9350935050506123c5565b60006002915091505b9250929050565b600060048111156123e0576123df614581565b5b8160048111156123f3576123f2614581565b5b14156123fe5761259e565b6001600481111561241257612411614581565b5b81600481111561242557612424614581565b5b1415612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d906145fc565b60405180910390fd5b6002600481111561247a57612479614581565b5b81600481111561248d5761248c614581565b5b14156124ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c590614668565b60405180910390fd5b600360048111156124e2576124e1614581565b5b8160048111156124f5576124f4614581565b5b1415612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d906146fa565b60405180910390fd5b60048081111561254957612548614581565b5b81600481111561255c5761255b614581565b5b141561259d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125949061478c565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff8111156125c0576125bf612cf5565b5b6040519080825280602002602001820160405280156125ee5781602001602082028036833780820191505090505b5090508281600081518110612606576126056139bb565b5b60200260200101818152505080915050919050565b61263a8473ffffffffffffffffffffffffffffffffffffffff166113d7565b156127fa578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126809594939291906147ac565b602060405180830381600087803b15801561269a57600080fd5b505af19250505080156126cb57506040513d601f19601f820116820180604052508101906126c8919061436b565b60015b612771576126d76143a5565b806308c379a0141561273457506126ec6143c7565b806126f75750612736565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272b9190612ca4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612768906144cf565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ef90614561565b60405180910390fd5b505b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561283d576000600391509150612906565b601b8560ff16141580156128555750601c8560ff1614155b15612867576000600491509150612906565b60006001878787876040516000815260200160405260405161288c9493929190614831565b6020604051602081039080840390855afa1580156128ae573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128fd57600060019250925050612906565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129529190613674565b905061296087828885612802565b935093505050935093915050565b82805461297a9061353b565b90600052602060002090601f01602090048101928261299c57600085556129e3565b82601f106129b557805160ff19168380011785556129e3565b828001600101855582156129e3579182015b828111156129e25782518255916020019190600101906129c7565b5b5090506129f091906129f4565b5090565b5b80821115612a0d5760008160009055506001016129f5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a5082612a25565b9050919050565b612a6081612a45565b8114612a6b57600080fd5b50565b600081359050612a7d81612a57565b92915050565b6000819050919050565b612a9681612a83565b8114612aa157600080fd5b50565b600081359050612ab381612a8d565b92915050565b60008060408385031215612ad057612acf612a1b565b5b6000612ade85828601612a6e565b9250506020612aef85828601612aa4565b9150509250929050565b612b0281612a83565b82525050565b6000602082019050612b1d6000830184612af9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b5881612b23565b8114612b6357600080fd5b50565b600081359050612b7581612b4f565b92915050565b600060208284031215612b9157612b90612a1b565b5b6000612b9f84828501612b66565b91505092915050565b60008115159050919050565b612bbd81612ba8565b82525050565b6000602082019050612bd86000830184612bb4565b92915050565b600060208284031215612bf457612bf3612a1b565b5b6000612c0284828501612aa4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c45578082015181840152602081019050612c2a565b83811115612c54576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c7682612c0b565b612c808185612c16565b9350612c90818560208601612c27565b612c9981612c5a565b840191505092915050565b60006020820190508181036000830152612cbe8184612c6b565b905092915050565b612ccf81612a45565b82525050565b6000602082019050612cea6000830184612cc6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d2d82612c5a565b810181811067ffffffffffffffff82111715612d4c57612d4b612cf5565b5b80604052505050565b6000612d5f612a11565b9050612d6b8282612d24565b919050565b600067ffffffffffffffff821115612d8b57612d8a612cf5565b5b602082029050602081019050919050565b600080fd5b6000612db4612daf84612d70565b612d55565b90508083825260208201905060208402830185811115612dd757612dd6612d9c565b5b835b81811015612e005780612dec8882612aa4565b845260208401935050602081019050612dd9565b5050509392505050565b600082601f830112612e1f57612e1e612cf0565b5b8135612e2f848260208601612da1565b91505092915050565b600080fd5b600067ffffffffffffffff821115612e5857612e57612cf5565b5b612e6182612c5a565b9050602081019050919050565b82818337600083830152505050565b6000612e90612e8b84612e3d565b612d55565b905082815260208101848484011115612eac57612eab612e38565b5b612eb7848285612e6e565b509392505050565b600082601f830112612ed457612ed3612cf0565b5b8135612ee4848260208601612e7d565b91505092915050565b600080600080600060a08688031215612f0957612f08612a1b565b5b6000612f1788828901612a6e565b9550506020612f2888828901612a6e565b945050604086013567ffffffffffffffff811115612f4957612f48612a20565b5b612f5588828901612e0a565b935050606086013567ffffffffffffffff811115612f7657612f75612a20565b5b612f8288828901612e0a565b925050608086013567ffffffffffffffff811115612fa357612fa2612a20565b5b612faf88828901612ebf565b9150509295509295909350565b600060208284031215612fd257612fd1612a1b565b5b600082013567ffffffffffffffff811115612ff057612fef612a20565b5b612ffc84828501612ebf565b91505092915050565b600067ffffffffffffffff8211156130205761301f612cf5565b5b602082029050602081019050919050565b600061304461303f84613005565b612d55565b9050808382526020820190506020840283018581111561306757613066612d9c565b5b835b81811015613090578061307c8882612a6e565b845260208401935050602081019050613069565b5050509392505050565b600082601f8301126130af576130ae612cf0565b5b81356130bf848260208601613031565b91505092915050565b600080604083850312156130df576130de612a1b565b5b600083013567ffffffffffffffff8111156130fd576130fc612a20565b5b6131098582860161309a565b925050602083013567ffffffffffffffff81111561312a57613129612a20565b5b61313685828601612e0a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61317581612a83565b82525050565b6000613187838361316c565b60208301905092915050565b6000602082019050919050565b60006131ab82613140565b6131b5818561314b565b93506131c08361315c565b8060005b838110156131f15781516131d8888261317b565b97506131e383613193565b9250506001810190506131c4565b5085935050505092915050565b6000602082019050818103600083015261321881846131a0565b905092915050565b60006020828403121561323657613235612a1b565b5b600061324484828501612a6e565b91505092915050565b61325681612ba8565b811461326157600080fd5b50565b6000813590506132738161324d565b92915050565b600080604083850312156132905761328f612a1b565b5b600061329e85828601612a6e565b92505060206132af85828601613264565b9150509250929050565b600067ffffffffffffffff8211156132d4576132d3612cf5565b5b6132dd82612c5a565b9050602081019050919050565b60006132fd6132f8846132b9565b612d55565b90508281526020810184848401111561331957613318612e38565b5b613324848285612e6e565b509392505050565b600082601f83011261334157613340612cf0565b5b81356133518482602086016132ea565b91505092915050565b6000602082840312156133705761336f612a1b565b5b600082013567ffffffffffffffff81111561338e5761338d612a20565b5b61339a8482850161332c565b91505092915050565b600080604083850312156133ba576133b9612a1b565b5b60006133c885828601612a6e565b92505060206133d985828601612a6e565b9150509250929050565b600080600080600060a086880312156133ff576133fe612a1b565b5b600061340d88828901612a6e565b955050602061341e88828901612a6e565b945050604061342f88828901612aa4565b935050606061344088828901612aa4565b925050608086013567ffffffffffffffff81111561346157613460612a20565b5b61346d88828901612ebf565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006134d6602b83612c16565b91506134e18261347a565b604082019050919050565b60006020820190508181036000830152613505816134c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061355357607f821691505b602082108114156135675761356661350c565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006135a3601f83612c16565b91506135ae8261356d565b602082019050919050565b600060208201905081810360008301526135d281613596565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061360f601283612c16565b915061361a826135d9565b602082019050919050565b6000602082019050818103600083015261363e81613602565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061367f82612a83565b915061368a83612a83565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136bf576136be613645565b5b828201905092915050565b7f45786365656473206d6178696d756d206e756d626572206f66207075626c696360008201527f20746f6b656e7300000000000000000000000000000000000000000000000000602082015250565b6000613726602783612c16565b9150613731826136ca565b604082019050919050565b6000602082019050818103600083015261375581613719565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006137b8603283612c16565b91506137c38261375c565b604082019050919050565b600060208201905081810360008301526137e7816137ab565b9050919050565b60008160601b9050919050565b6000613806826137ee565b9050919050565b6000613818826137fb565b9050919050565b61383061382b82612a45565b61380d565b82525050565b6000613842828461381f565b60148201915081905092915050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000613887601183612c16565b915061389282613851565b602082019050919050565b600060208201905081810360008301526138b68161387a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138f3602083612c16565b91506138fe826138bd565b602082019050919050565b60006020820190508181036000830152613922816138e6565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613985602983612c16565b915061399082613929565b604082019050919050565b600060208201905081810360008301526139b481613978565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006139f582612a83565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a2857613a27613645565b5b600182019050919050565b7f4d657461646174612066726f7a656e0000000000000000000000000000000000600082015250565b6000613a69600f83612c16565b9150613a7482613a33565b602082019050919050565b60006020820190508181036000830152613a9881613a5c565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613afb602983612c16565b9150613b0682613a9f565b604082019050919050565b60006020820190508181036000830152613b2a81613aee565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b8d602683612c16565b9150613b9882613b31565b604082019050919050565b60006020820190508181036000830152613bbc81613b80565b9050919050565b7f436f6e7472616374206d696e74696e67206e6f7420616c6c6f77656400000000600082015250565b6000613bf9601c83612c16565b9150613c0482613bc3565b602082019050919050565b60006020820190508181036000830152613c2881613bec565b9050919050565b7f416464726573732068617320616c7265616479206d696e746564000000000000600082015250565b6000613c65601a83612c16565b9150613c7082613c2f565b602082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f496e76616c696420457468657220616d6f756e742073656e7400000000000000600082015250565b6000613cd1601983612c16565b9150613cdc82613c9b565b602082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b7f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e73600082015250565b6000613d3d602083612c16565b9150613d4882613d07565b602082019050919050565b60006020820190508181036000830152613d6c81613d30565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613dcf602883612c16565b9150613dda82613d73565b604082019050919050565b60006020820190508181036000830152613dfe81613dc2565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613e61602583612c16565b9150613e6c82613e05565b604082019050919050565b60006020820190508181036000830152613e9081613e54565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613ef3602a83612c16565b9150613efe82613e97565b604082019050919050565b60006020820190508181036000830152613f2281613ee6565b9050919050565b60006040820190508181036000830152613f4381856131a0565b90508181036020830152613f5781846131a0565b90509392505050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613fa1601c83613f60565b9150613fac82613f6b565b601c82019050919050565b6000819050919050565b6000819050919050565b613fdc613fd782613fb7565b613fc1565b82525050565b6000613fed82613f94565b9150613ff98284613fcb565b60208201915081905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061403e601d83612c16565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b600081905092915050565b50565b600061408f600083614074565b915061409a8261407f565b600082019050919050565b60006140b082614082565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614116603a83612c16565b9150614121826140ba565b604082019050919050565b6000602082019050818103600083015261414581614109565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006141a8602983612c16565b91506141b38261414c565b604082019050919050565b600060208201905081810360008301526141d78161419b565b9050919050565b60006040820190506141f36000830185612af9565b6142006020830184612af9565b9392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614263602183612c16565b915061426e82614207565b604082019050919050565b6000602082019050818103600083015261429281614256565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142c082614299565b6142ca81856142a4565b93506142da818560208601612c27565b6142e381612c5a565b840191505092915050565b600060a0820190506143036000830188612cc6565b6143106020830187612cc6565b818103604083015261432281866131a0565b9050818103606083015261433681856131a0565b9050818103608083015261434a81846142b5565b90509695505050505050565b60008151905061436581612b4f565b92915050565b60006020828403121561438157614380612a1b565b5b600061438f84828501614356565b91505092915050565b60008160e01c9050919050565b600060033d11156143c45760046000803e6143c1600051614398565b90505b90565b600060443d10156143d75761445a565b6143df612a11565b60043d036004823e80513d602482011167ffffffffffffffff8211171561440757505061445a565b808201805167ffffffffffffffff811115614425575050505061445a565b80602083010160043d03850181111561444257505050505061445a565b61445182602001850186612d24565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006144b9603483612c16565b91506144c48261445d565b604082019050919050565b600060208201905081810360008301526144e8816144ac565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061454b602883612c16565b9150614556826144ef565b604082019050919050565b6000602082019050818103600083015261457a8161453e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006145e6601883612c16565b91506145f1826145b0565b602082019050919050565b60006020820190508181036000830152614615816145d9565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614652601f83612c16565b915061465d8261461c565b602082019050919050565b6000602082019050818103600083015261468181614645565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006146e4602283612c16565b91506146ef82614688565b604082019050919050565b60006020820190508181036000830152614713816146d7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614776602283612c16565b91506147818261471a565b604082019050919050565b600060208201905081810360008301526147a581614769565b9050919050565b600060a0820190506147c16000830188612cc6565b6147ce6020830187612cc6565b6147db6040830186612af9565b6147e86060830185612af9565b81810360808301526147fa81846142b5565b90509695505050505050565b61480f81613fb7565b82525050565b600060ff82169050919050565b61482b81614815565b82525050565b60006080820190506148466000830187614806565b6148536020830186614822565b6148606040830185614806565b61486d6060830184614806565b9594505050505056fea2646970667358221220dc9d78f363850737cf46c64d85cc04ecc13a853766fa3472db0b7833b849f47d64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000034baf35b04b9bbb9c65799cfdd1b4f0fcbe706ce0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5a4471696f515a3776467447765a354d34705157326b4633616841335243506a636b684d6b72345251536d680000000000000000000000

Deployed Bytecode

0x6080604052600436106101c15760003560e01c80636c19e783116100f7578063c002d23d11610095578063f242432a11610064578063f242432a146105cb578063f2fde38b146105f4578063fa30297e1461061d578063fb3cc6c21461065a576101c1565b8063c002d23d14610535578063d111515d14610560578063de8b51e114610577578063e985e9c51461058e576101c1565b80638da5cb5b116100d15780638da5cb5b1461048d578063a22cb465146104b8578063a49a1e7d146104e1578063aa592f251461050a576101c1565b80636c19e78314610422578063715018a61461044b57806389a8900214610462576101c1565b80632eb2c2d6116101645780633ccfd60b1161013e5780633ccfd60b146103785780634e1273f41461038f5780635e84d723146103cc57806368428a1b146103f7576101c1565b80632eb2c2d61461030857806331ae0aba1461033157806333039d3d1461034d576101c1565b806318160ddd116101a057806318160ddd1461027d578063238ac933146102a857806326092b83146102d35780632a47f799146102dd576101c1565b8062fdd58e146101c657806301ffc9a7146102035780630e89341c14610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e89190612ab9565b610685565b6040516101fa9190612b08565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190612b7b565b61074e565b6040516102379190612bc3565b60405180910390f35b34801561024c57600080fd5b5061026760048036038101906102629190612bde565b610830565b6040516102749190612ca4565b60405180910390f35b34801561028957600080fd5b506102926108c4565b60405161029f9190612b08565b60405180910390f35b3480156102b457600080fd5b506102bd6108ca565b6040516102ca9190612cd5565b60405180910390f35b6102db6108f0565b005b3480156102e957600080fd5b506102f2610a14565b6040516102ff9190612b08565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190612eed565b610a1a565b005b61034b60048036038101906103469190612fbc565b610abb565b005b34801561035957600080fd5b50610362610bf8565b60405161036f9190612b08565b60405180910390f35b34801561038457600080fd5b5061038d610bfe565b005b34801561039b57600080fd5b506103b660048036038101906103b191906130c8565b610c8d565b6040516103c391906131fe565b60405180910390f35b3480156103d857600080fd5b506103e1610da6565b6040516103ee9190612b08565b60405180910390f35b34801561040357600080fd5b5061040c610dac565b6040516104199190612bc3565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613220565b610dbf565b005b34801561045757600080fd5b50610460610e7f565b005b34801561046e57600080fd5b50610477610f07565b6040516104849190612b08565b60405180910390f35b34801561049957600080fd5b506104a2610f0c565b6040516104af9190612cd5565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190613279565b610f36565b005b3480156104ed57600080fd5b506105086004803603810190610503919061335a565b610f4c565b005b34801561051657600080fd5b5061051f611024565b60405161052c9190612b08565b60405180910390f35b34801561054157600080fd5b5061054a61102a565b6040516105579190612b08565b60405180910390f35b34801561056c57600080fd5b50610575611036565b005b34801561058357600080fd5b5061058c6110cf565b005b34801561059a57600080fd5b506105b560048036038101906105b091906133a3565b611177565b6040516105c29190612bc3565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed91906133e3565b61120b565b005b34801561060057600080fd5b5061061b60048036038101906106169190613220565b6112ac565b005b34801561062957600080fd5b50610644600480360381019061063f9190613220565b6113a4565b6040516106519190612bc3565b60405180910390f35b34801561066657600080fd5b5061066f6113c4565b60405161067c9190612bc3565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed906134ec565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108295750610828826113fa565b5b9050919050565b60606002805461083f9061353b565b80601f016020809104026020016040519081016040528092919081815260200182805461086b9061353b565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b50505050509050919050565b60055481565b600760029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026004541415610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d906135b9565b60405180910390fd5b6002600481905550600760019054906101000a900460ff1661098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098490613625565b60405180910390fd5b6101f4600160065461099f9190613674565b11156109e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d79061373c565b60405180910390fd5b6109f06109eb611464565b61146c565b600160066000828254610a039190613674565b925050819055506001600481905550565b6101f481565b610a22611464565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a685750610a6785610a62611464565b611177565b5b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e906137ce565b60405180910390fd5b610ab48585858585611696565b5050505050565b60026004541415610b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af8906135b9565b60405180910390fd5b60026004819055506000610b4a610b44610b19611464565b604051602001610b299190613836565b604051602081830303815290604052805190602001206119aa565b836119da565b90508073ffffffffffffffffffffffffffffffffffffffff16600760029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd39061389d565b60405180910390fd5b610bec610be7611464565b61146c565b50600160048190555050565b6107d081565b610c06611464565b73ffffffffffffffffffffffffffffffffffffffff16610c24610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613909565b60405180910390fd5b610c8b610c85611464565b47611a01565b565b60608151835114610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca9061399b565b60405180910390fd5b6000835167ffffffffffffffff811115610cf057610cef612cf5565b5b604051908082528060200260200182016040528015610d1e5781602001602082028036833780820191505090505b50905060005b8451811015610d9b57610d6b858281518110610d4357610d426139bb565b5b6020026020010151858381518110610d5e57610d5d6139bb565b5b6020026020010151610685565b828281518110610d7e57610d7d6139bb565b5b60200260200101818152505080610d94906139ea565b9050610d24565b508091505092915050565b60065481565b600760019054906101000a900460ff1681565b610dc7611464565b73ffffffffffffffffffffffffffffffffffffffff16610de5610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290613909565b60405180910390fd5b80600760026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e87611464565b73ffffffffffffffffffffffffffffffffffffffff16610ea5610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290613909565b60405180910390fd5b610f056000611af5565b565b600081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f48610f41611464565b8383611bbb565b5050565b610f54611464565b73ffffffffffffffffffffffffffffffffffffffff16610f72610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613909565b60405180910390fd5b600760009054906101000a900460ff1615611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90613a7f565b60405180910390fd5b61102181611d28565b50565b6101f481565b6704a01e9587a3400081565b61103e611464565b73ffffffffffffffffffffffffffffffffffffffff1661105c610f0c565b73ffffffffffffffffffffffffffffffffffffffff16146110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a990613909565b60405180910390fd5b6001600760006101000a81548160ff021916908315150217905550565b6110d7611464565b73ffffffffffffffffffffffffffffffffffffffff166110f5610f0c565b73ffffffffffffffffffffffffffffffffffffffff161461114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290613909565b60405180910390fd5b600760019054906101000a900460ff1615600760016101000a81548160ff021916908315150217905550565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611213611464565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611259575061125885611253611464565b611177565b5b611298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128f90613b11565b60405180910390fd5b6112a58585858585611d42565b5050505050565b6112b4611464565b73ffffffffffffffffffffffffffffffffffffffff166112d2610f0c565b73ffffffffffffffffffffffffffffffffffffffff1614611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90613909565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f90613ba3565b60405180910390fd5b6113a181611af5565b50565b60086020528060005260406000206000915054906101000a900460ff1681565b600760009054906101000a900460ff1681565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b3273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190613c0f565b60405180910390fd5b600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e90613c7b565b60405180910390fd5b6704a01e9587a3400034146115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a890613ce7565b60405180910390fd5b6107d060016005546115c39190613674565b1115611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90613d53565b60405180910390fd5b611621816000600160405180602001604052806000815250611fc4565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600082825461168c9190613674565b9250508190555050565b81518351146116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190613de5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613e77565b60405180910390fd5b6000611754611464565b905061176481878787878761215a565b60005b8451811015611915576000858281518110611785576117846139bb565b5b6020026020010151905060008583815181106117a4576117a36139bb565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c90613f09565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118fa9190613674565b925050819055505050508061190e906139ea565b9050611767565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161198c929190613f29565b60405180910390a46119a2818787878787612162565b505050505050565b6000816040516020016119bd9190613fe2565b604051602081830303815290604052805190602001209050919050565b60008060006119e98585612349565b915091506119f6816123cc565b819250505092915050565b80471015611a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3b90614054565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611a6a906140a5565b60006040518083038185875af1925050503d8060008114611aa7576040519150601f19603f3d011682016040523d82523d6000602084013e611aac565b606091505b5050905080611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae79061412c565b60405180910390fd5b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c21906141be565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d1b9190612bc3565b60405180910390a3505050565b8060029080519060200190611d3e92919061296e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da990613e77565b60405180910390fd5b6000611dbc611464565b9050611ddc818787611dcd886125a1565b611dd6886125a1565b8761215a565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90613f09565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f289190613674565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611fa59291906141de565b60405180910390a4611fbb82888888888861261b565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b90614279565b60405180910390fd5b600061203e611464565b905061205f81600087612050886125a1565b612059886125a1565b8761215a565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120be9190613674565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161213c9291906141de565b60405180910390a46121538160008787878761261b565b5050505050565b505050505050565b6121818473ffffffffffffffffffffffffffffffffffffffff166113d7565b15612341578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121c79594939291906142ee565b602060405180830381600087803b1580156121e157600080fd5b505af192505050801561221257506040513d601f19601f8201168201806040525081019061220f919061436b565b60015b6122b85761221e6143a5565b806308c379a0141561227b57506122336143c7565b8061223e575061227d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122729190612ca4565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122af906144cf565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233690614561565b60405180910390fd5b505b505050505050565b60008060418351141561238b5760008060006020860151925060408601519150606086015160001a905061237f87828585612802565b945094505050506123c5565b6040835114156123bc5760008060208501519150604085015190506123b186838361290f565b9350935050506123c5565b60006002915091505b9250929050565b600060048111156123e0576123df614581565b5b8160048111156123f3576123f2614581565b5b14156123fe5761259e565b6001600481111561241257612411614581565b5b81600481111561242557612424614581565b5b1415612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d906145fc565b60405180910390fd5b6002600481111561247a57612479614581565b5b81600481111561248d5761248c614581565b5b14156124ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c590614668565b60405180910390fd5b600360048111156124e2576124e1614581565b5b8160048111156124f5576124f4614581565b5b1415612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d906146fa565b60405180910390fd5b60048081111561254957612548614581565b5b81600481111561255c5761255b614581565b5b141561259d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125949061478c565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff8111156125c0576125bf612cf5565b5b6040519080825280602002602001820160405280156125ee5781602001602082028036833780820191505090505b5090508281600081518110612606576126056139bb565b5b60200260200101818152505080915050919050565b61263a8473ffffffffffffffffffffffffffffffffffffffff166113d7565b156127fa578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126809594939291906147ac565b602060405180830381600087803b15801561269a57600080fd5b505af19250505080156126cb57506040513d601f19601f820116820180604052508101906126c8919061436b565b60015b612771576126d76143a5565b806308c379a0141561273457506126ec6143c7565b806126f75750612736565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272b9190612ca4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612768906144cf565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ef90614561565b60405180910390fd5b505b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561283d576000600391509150612906565b601b8560ff16141580156128555750601c8560ff1614155b15612867576000600491509150612906565b60006001878787876040516000815260200160405260405161288c9493929190614831565b6020604051602081039080840390855afa1580156128ae573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128fd57600060019250925050612906565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129529190613674565b905061296087828885612802565b935093505050935093915050565b82805461297a9061353b565b90600052602060002090601f01602090048101928261299c57600085556129e3565b82601f106129b557805160ff19168380011785556129e3565b828001600101855582156129e3579182015b828111156129e25782518255916020019190600101906129c7565b5b5090506129f091906129f4565b5090565b5b80821115612a0d5760008160009055506001016129f5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a5082612a25565b9050919050565b612a6081612a45565b8114612a6b57600080fd5b50565b600081359050612a7d81612a57565b92915050565b6000819050919050565b612a9681612a83565b8114612aa157600080fd5b50565b600081359050612ab381612a8d565b92915050565b60008060408385031215612ad057612acf612a1b565b5b6000612ade85828601612a6e565b9250506020612aef85828601612aa4565b9150509250929050565b612b0281612a83565b82525050565b6000602082019050612b1d6000830184612af9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b5881612b23565b8114612b6357600080fd5b50565b600081359050612b7581612b4f565b92915050565b600060208284031215612b9157612b90612a1b565b5b6000612b9f84828501612b66565b91505092915050565b60008115159050919050565b612bbd81612ba8565b82525050565b6000602082019050612bd86000830184612bb4565b92915050565b600060208284031215612bf457612bf3612a1b565b5b6000612c0284828501612aa4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c45578082015181840152602081019050612c2a565b83811115612c54576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c7682612c0b565b612c808185612c16565b9350612c90818560208601612c27565b612c9981612c5a565b840191505092915050565b60006020820190508181036000830152612cbe8184612c6b565b905092915050565b612ccf81612a45565b82525050565b6000602082019050612cea6000830184612cc6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d2d82612c5a565b810181811067ffffffffffffffff82111715612d4c57612d4b612cf5565b5b80604052505050565b6000612d5f612a11565b9050612d6b8282612d24565b919050565b600067ffffffffffffffff821115612d8b57612d8a612cf5565b5b602082029050602081019050919050565b600080fd5b6000612db4612daf84612d70565b612d55565b90508083825260208201905060208402830185811115612dd757612dd6612d9c565b5b835b81811015612e005780612dec8882612aa4565b845260208401935050602081019050612dd9565b5050509392505050565b600082601f830112612e1f57612e1e612cf0565b5b8135612e2f848260208601612da1565b91505092915050565b600080fd5b600067ffffffffffffffff821115612e5857612e57612cf5565b5b612e6182612c5a565b9050602081019050919050565b82818337600083830152505050565b6000612e90612e8b84612e3d565b612d55565b905082815260208101848484011115612eac57612eab612e38565b5b612eb7848285612e6e565b509392505050565b600082601f830112612ed457612ed3612cf0565b5b8135612ee4848260208601612e7d565b91505092915050565b600080600080600060a08688031215612f0957612f08612a1b565b5b6000612f1788828901612a6e565b9550506020612f2888828901612a6e565b945050604086013567ffffffffffffffff811115612f4957612f48612a20565b5b612f5588828901612e0a565b935050606086013567ffffffffffffffff811115612f7657612f75612a20565b5b612f8288828901612e0a565b925050608086013567ffffffffffffffff811115612fa357612fa2612a20565b5b612faf88828901612ebf565b9150509295509295909350565b600060208284031215612fd257612fd1612a1b565b5b600082013567ffffffffffffffff811115612ff057612fef612a20565b5b612ffc84828501612ebf565b91505092915050565b600067ffffffffffffffff8211156130205761301f612cf5565b5b602082029050602081019050919050565b600061304461303f84613005565b612d55565b9050808382526020820190506020840283018581111561306757613066612d9c565b5b835b81811015613090578061307c8882612a6e565b845260208401935050602081019050613069565b5050509392505050565b600082601f8301126130af576130ae612cf0565b5b81356130bf848260208601613031565b91505092915050565b600080604083850312156130df576130de612a1b565b5b600083013567ffffffffffffffff8111156130fd576130fc612a20565b5b6131098582860161309a565b925050602083013567ffffffffffffffff81111561312a57613129612a20565b5b61313685828601612e0a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61317581612a83565b82525050565b6000613187838361316c565b60208301905092915050565b6000602082019050919050565b60006131ab82613140565b6131b5818561314b565b93506131c08361315c565b8060005b838110156131f15781516131d8888261317b565b97506131e383613193565b9250506001810190506131c4565b5085935050505092915050565b6000602082019050818103600083015261321881846131a0565b905092915050565b60006020828403121561323657613235612a1b565b5b600061324484828501612a6e565b91505092915050565b61325681612ba8565b811461326157600080fd5b50565b6000813590506132738161324d565b92915050565b600080604083850312156132905761328f612a1b565b5b600061329e85828601612a6e565b92505060206132af85828601613264565b9150509250929050565b600067ffffffffffffffff8211156132d4576132d3612cf5565b5b6132dd82612c5a565b9050602081019050919050565b60006132fd6132f8846132b9565b612d55565b90508281526020810184848401111561331957613318612e38565b5b613324848285612e6e565b509392505050565b600082601f83011261334157613340612cf0565b5b81356133518482602086016132ea565b91505092915050565b6000602082840312156133705761336f612a1b565b5b600082013567ffffffffffffffff81111561338e5761338d612a20565b5b61339a8482850161332c565b91505092915050565b600080604083850312156133ba576133b9612a1b565b5b60006133c885828601612a6e565b92505060206133d985828601612a6e565b9150509250929050565b600080600080600060a086880312156133ff576133fe612a1b565b5b600061340d88828901612a6e565b955050602061341e88828901612a6e565b945050604061342f88828901612aa4565b935050606061344088828901612aa4565b925050608086013567ffffffffffffffff81111561346157613460612a20565b5b61346d88828901612ebf565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006134d6602b83612c16565b91506134e18261347a565b604082019050919050565b60006020820190508181036000830152613505816134c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061355357607f821691505b602082108114156135675761356661350c565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006135a3601f83612c16565b91506135ae8261356d565b602082019050919050565b600060208201905081810360008301526135d281613596565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061360f601283612c16565b915061361a826135d9565b602082019050919050565b6000602082019050818103600083015261363e81613602565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061367f82612a83565b915061368a83612a83565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136bf576136be613645565b5b828201905092915050565b7f45786365656473206d6178696d756d206e756d626572206f66207075626c696360008201527f20746f6b656e7300000000000000000000000000000000000000000000000000602082015250565b6000613726602783612c16565b9150613731826136ca565b604082019050919050565b6000602082019050818103600083015261375581613719565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006137b8603283612c16565b91506137c38261375c565b604082019050919050565b600060208201905081810360008301526137e7816137ab565b9050919050565b60008160601b9050919050565b6000613806826137ee565b9050919050565b6000613818826137fb565b9050919050565b61383061382b82612a45565b61380d565b82525050565b6000613842828461381f565b60148201915081905092915050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000613887601183612c16565b915061389282613851565b602082019050919050565b600060208201905081810360008301526138b68161387a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138f3602083612c16565b91506138fe826138bd565b602082019050919050565b60006020820190508181036000830152613922816138e6565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613985602983612c16565b915061399082613929565b604082019050919050565b600060208201905081810360008301526139b481613978565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006139f582612a83565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a2857613a27613645565b5b600182019050919050565b7f4d657461646174612066726f7a656e0000000000000000000000000000000000600082015250565b6000613a69600f83612c16565b9150613a7482613a33565b602082019050919050565b60006020820190508181036000830152613a9881613a5c565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613afb602983612c16565b9150613b0682613a9f565b604082019050919050565b60006020820190508181036000830152613b2a81613aee565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b8d602683612c16565b9150613b9882613b31565b604082019050919050565b60006020820190508181036000830152613bbc81613b80565b9050919050565b7f436f6e7472616374206d696e74696e67206e6f7420616c6c6f77656400000000600082015250565b6000613bf9601c83612c16565b9150613c0482613bc3565b602082019050919050565b60006020820190508181036000830152613c2881613bec565b9050919050565b7f416464726573732068617320616c7265616479206d696e746564000000000000600082015250565b6000613c65601a83612c16565b9150613c7082613c2f565b602082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f496e76616c696420457468657220616d6f756e742073656e7400000000000000600082015250565b6000613cd1601983612c16565b9150613cdc82613c9b565b602082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b7f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e73600082015250565b6000613d3d602083612c16565b9150613d4882613d07565b602082019050919050565b60006020820190508181036000830152613d6c81613d30565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613dcf602883612c16565b9150613dda82613d73565b604082019050919050565b60006020820190508181036000830152613dfe81613dc2565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613e61602583612c16565b9150613e6c82613e05565b604082019050919050565b60006020820190508181036000830152613e9081613e54565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613ef3602a83612c16565b9150613efe82613e97565b604082019050919050565b60006020820190508181036000830152613f2281613ee6565b9050919050565b60006040820190508181036000830152613f4381856131a0565b90508181036020830152613f5781846131a0565b90509392505050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613fa1601c83613f60565b9150613fac82613f6b565b601c82019050919050565b6000819050919050565b6000819050919050565b613fdc613fd782613fb7565b613fc1565b82525050565b6000613fed82613f94565b9150613ff98284613fcb565b60208201915081905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061403e601d83612c16565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b600081905092915050565b50565b600061408f600083614074565b915061409a8261407f565b600082019050919050565b60006140b082614082565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614116603a83612c16565b9150614121826140ba565b604082019050919050565b6000602082019050818103600083015261414581614109565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006141a8602983612c16565b91506141b38261414c565b604082019050919050565b600060208201905081810360008301526141d78161419b565b9050919050565b60006040820190506141f36000830185612af9565b6142006020830184612af9565b9392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614263602183612c16565b915061426e82614207565b604082019050919050565b6000602082019050818103600083015261429281614256565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142c082614299565b6142ca81856142a4565b93506142da818560208601612c27565b6142e381612c5a565b840191505092915050565b600060a0820190506143036000830188612cc6565b6143106020830187612cc6565b818103604083015261432281866131a0565b9050818103606083015261433681856131a0565b9050818103608083015261434a81846142b5565b90509695505050505050565b60008151905061436581612b4f565b92915050565b60006020828403121561438157614380612a1b565b5b600061438f84828501614356565b91505092915050565b60008160e01c9050919050565b600060033d11156143c45760046000803e6143c1600051614398565b90505b90565b600060443d10156143d75761445a565b6143df612a11565b60043d036004823e80513d602482011167ffffffffffffffff8211171561440757505061445a565b808201805167ffffffffffffffff811115614425575050505061445a565b80602083010160043d03850181111561444257505050505061445a565b61445182602001850186612d24565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006144b9603483612c16565b91506144c48261445d565b604082019050919050565b600060208201905081810360008301526144e8816144ac565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061454b602883612c16565b9150614556826144ef565b604082019050919050565b6000602082019050818103600083015261457a8161453e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006145e6601883612c16565b91506145f1826145b0565b602082019050919050565b60006020820190508181036000830152614615816145d9565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614652601f83612c16565b915061465d8261461c565b602082019050919050565b6000602082019050818103600083015261468181614645565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006146e4602283612c16565b91506146ef82614688565b604082019050919050565b60006020820190508181036000830152614713816146d7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614776602283612c16565b91506147818261471a565b604082019050919050565b600060208201905081810360008301526147a581614769565b9050919050565b600060a0820190506147c16000830188612cc6565b6147ce6020830187612cc6565b6147db6040830186612af9565b6147e86060830185612af9565b81810360808301526147fa81846142b5565b90509695505050505050565b61480f81613fb7565b82525050565b600060ff82169050919050565b61482b81614815565b82525050565b60006080820190506148466000830187614806565b6148536020830186614822565b6148606040830185614806565b61486d6060830184614806565b9594505050505056fea2646970667358221220dc9d78f363850737cf46c64d85cc04ecc13a853766fa3472db0b7833b849f47d64736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000034baf35b04b9bbb9c65799cfdd1b4f0fcbe706ce0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5a4471696f515a3776467447765a354d34705157326b4633616841335243506a636b684d6b72345251536d680000000000000000000000

-----Decoded View---------------
Arg [0] : uri (string): ipfs://QmZDqioQZ7vFtGvZ5M4pQW2kF3ahA3RCPjckhMkr4RQSmh
Arg [1] : owner (address): 0x34baf35B04b9BBb9c65799cfdD1b4F0FCbe706CE

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000034baf35b04b9bbb9c65799cfdd1b4f0fcbe706ce
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [3] : 697066733a2f2f516d5a4471696f515a3776467447765a354d34705157326b46
Arg [4] : 33616841335243506a636b684d6b72345251536d680000000000000000000000


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.