ETH Price: $3,928.74 (-2.87%)

Token

 

Overview

Max Total Supply

0

Holders

404

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x8AB38A0B4410a1cbb1Aa6828Eb948F4942F21Fb9
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:
SpacePunksTreasureKeys

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : SpacePunksTreasureKeys.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract SpacePunksTreasureKeys is ERC1155, Ownable {
  using Strings for uint256;

  mapping(uint256 => bool) private _availableTypes;
  string private baseURI;

  event AddType(address indexed burner, uint256 indexed typeId);
  event RemoveType(uint256 indexed typeId);
  event SetBaseURI(string _baseURI);

  constructor(string memory _baseURI) ERC1155(_baseURI) {
    baseURI = _baseURI;
    emit SetBaseURI(baseURI);
  }

  function mintBatch(uint256[] memory ids, uint256[] memory amounts) external onlyOwner {
    _mintBatch(owner(), ids, amounts, "");
  }

  function addTypeForBurner(address burner, uint256 typeId) external onlyOwner {
    _availableTypes[typeId] = true;
    emit AddType(burner, typeId);
  }

  function removeType(uint256 typeId) external onlyOwner {
    _availableTypes[typeId] = false;
    emit RemoveType(typeId);
  }

  function burnKeyForAddress(uint256 typeId, address burnTokenAddress) external {
    require(_availableTypes[typeId], "SpacePunksTreasureKeys: unavailable token type");
    _burn(burnTokenAddress, typeId, 1);
  }

  function getBaseUri() external view onlyOwner returns (string memory) {
    return baseURI;
  }

  function setBaseUri(string memory _baseURI) external onlyOwner {
    baseURI = _baseURI;
    emit SetBaseURI(baseURI);
  }

  function uri(uint256 typeId) public view override returns (string memory) {
    return bytes(baseURI).length > 0
      ? string(abi.encodePacked(baseURI, typeId.toString()))
      : baseURI;
  }
}

File 2 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 3 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

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 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

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 5 of 11 : Context.sol
// SPDX-License-Identifier: MIT

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 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 7 of 11 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

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 8 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

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.
        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. 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 9 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT

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 10 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT

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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

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

        _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

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

        emit TransferSingle(operator, account, 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 account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

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

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

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

    /**
     * @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 11 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":true,"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"AddType","type":"event"},{"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":"uint256","name":"typeId","type":"uint256"}],"name":"RemoveType","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"burner","type":"address"},{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"addTypeForBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"},{"internalType":"address","name":"burnTokenAddress","type":"address"}],"name":"burnKeyForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"removeType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620041eb380380620041eb8339818101604052810190620000379190620002dc565b806200004981620000c460201b60201c565b506200006a6200005e620000e060201b60201c565b620000e860201b60201c565b806005908051906020019062000082929190620001ae565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa6005604051620000b59190620003b9565b60405180910390a15062000587565b8060029080519060200190620000dc929190620001ae565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001bc9062000498565b90600052602060002090601f016020900481019282620001e057600085556200022c565b82601f10620001fb57805160ff19168380011785556200022c565b828001600101855582156200022c579182015b828111156200022b5782518255916020019190600101906200020e565b5b5090506200023b91906200023f565b5090565b5b808211156200025a57600081600090555060010162000240565b5090565b6000620002756200026f8462000406565b620003dd565b90508281526020810184848401111562000294576200029362000567565b5b620002a184828562000462565b509392505050565b600082601f830112620002c157620002c062000562565b5b8151620002d38482602086016200025e565b91505092915050565b600060208284031215620002f557620002f462000571565b5b600082015167ffffffffffffffff8111156200031657620003156200056c565b5b6200032484828501620002a9565b91505092915050565b600081546200033c8162000498565b62000348818662000451565b945060018216600081146200036657600181146200037957620003b0565b60ff1983168652602086019350620003b0565b62000384856200043c565b60005b83811015620003a85781548189015260018201915060208101905062000387565b808801955050505b50505092915050565b60006020820190508181036000830152620003d581846200032d565b905092915050565b6000620003e9620003fc565b9050620003f78282620004ce565b919050565b6000604051905090565b600067ffffffffffffffff82111562000424576200042362000533565b5b6200042f8262000576565b9050602081019050919050565b60008190508160005260206000209050919050565b600082825260208201905092915050565b60005b838110156200048257808201518184015260208101905062000465565b8381111562000492576000848401525b50505050565b60006002820490506001821680620004b157607f821691505b60208210811415620004c857620004c762000504565b5b50919050565b620004d98262000576565b810181811067ffffffffffffffff82111715620004fb57620004fa62000533565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b613c5480620005976000396000f3fe608060405234801561001057600080fd5b506004361061010a5760003560e01c8063715018a6116100a2578063a22cb46511610071578063a22cb465146102a1578063d351cfdc146102bd578063e985e9c5146102d9578063f242432a14610309578063f2fde38b146103255761010a565b8063715018a6146102415780637794afae1461024b5780638da5cb5b14610267578063a0bcfc7f146102855761010a565b806316ed917a116100de57806316ed917a146101bd5780632eb2c2d6146101d95780634e1273f4146101f5578063590315a6146102255761010a565b8062fdd58e1461010f57806301ffc9a71461013f5780630cac36b21461016f5780630e89341c1461018d575b600080fd5b6101296004803603810190610124919061269f565b610341565b604051610136919061311c565b60405180910390f35b610159600480360381019061015491906127cf565b61040a565b6040516101669190612ebd565b60405180910390f35b6101776104ec565b6040516101849190612ed8565b60405180910390f35b6101a760048036038101906101a29190612872565b6105fa565b6040516101b49190612ed8565b60405180910390f35b6101d760048036038101906101d2919061289f565b6106d5565b005b6101f360048036038101906101ee91906124f9565b610745565b005b61020f600480360381019061020a91906126df565b6107e6565b60405161021c9190612e64565b60405180910390f35b61023f600480360381019061023a9190612872565b6108ff565b005b6102496109d7565b005b6102656004803603810190610260919061269f565b610a5f565b005b61026f610b4f565b60405161027c9190612d87565b60405180910390f35b61029f600480360381019061029a9190612829565b610b79565b005b6102bb60048036038101906102b6919061265f565b610c47565b005b6102d760048036038101906102d29190612757565b610dc8565b005b6102f360048036038101906102ee91906124b9565b610e6a565b6040516103009190612ebd565b60405180910390f35b610323600480360381019061031e91906125c8565b610efe565b005b61033f600480360381019061033a919061248c565b610f9f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a990612f5c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104d557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104e557506104e482611097565b5b9050919050565b60606104f6611101565b73ffffffffffffffffffffffffffffffffffffffff16610514610b4f565b73ffffffffffffffffffffffffffffffffffffffff161461056a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105619061307c565b60405180910390fd5b6005805461057790613441565b80601f01602080910402602001604051908101604052809291908181526020018280546105a390613441565b80156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050905090565b606060006005805461060b90613441565b9050116106a2576005805461061f90613441565b80601f016020809104026020016040519081016040528092919081815260200182805461064b90613441565b80156106985780601f1061066d57610100808354040283529160200191610698565b820191906000526020600020905b81548152906001019060200180831161067b57829003601f168201915b50505050506106ce565b60056106ad83611109565b6040516020016106be929190612d63565b6040516020818303038152906040525b9050919050565b6004600083815260200190815260200160002060009054906101000a900460ff16610735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072c90612f9c565b60405180910390fd5b6107418183600161126a565b5050565b61074d611101565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061079357506107928561078d611101565b610e6a565b5b6107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c99061301c565b60405180910390fd5b6107df8585858585611487565b5050505050565b6060815183511461082c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610823906130bc565b60405180910390fd5b6000835167ffffffffffffffff811115610849576108486135da565b5b6040519080825280602002602001820160405280156108775781602001602082028036833780820191505090505b50905060005b84518110156108f4576108c485828151811061089c5761089b6135ab565b5b60200260200101518583815181106108b7576108b66135ab565b5b6020026020010151610341565b8282815181106108d7576108d66135ab565b5b602002602001018181525050806108ed906134a4565b905061087d565b508091505092915050565b610907611101565b73ffffffffffffffffffffffffffffffffffffffff16610925610b4f565b73ffffffffffffffffffffffffffffffffffffffff161461097b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109729061307c565b60405180910390fd5b60006004600083815260200190815260200160002060006101000a81548160ff021916908315150217905550807fe70f08e26a2b9862f2c415330ee0b9b7a82a99111afa400b1fd433a1a3d0179360405160405180910390a250565b6109df611101565b73ffffffffffffffffffffffffffffffffffffffff166109fd610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a9061307c565b60405180910390fd5b610a5d600061179b565b565b610a67611101565b73ffffffffffffffffffffffffffffffffffffffff16610a85610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad29061307c565b60405180910390fd5b60016004600083815260200190815260200160002060006101000a81548160ff021916908315150217905550808273ffffffffffffffffffffffffffffffffffffffff167fabbc7d8d3cc19bb6569dfd81c17cdc6d7a711bbbef7d4f573b31a830acf24b5060405160405180910390a35050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b81611101565b73ffffffffffffffffffffffffffffffffffffffff16610b9f610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec9061307c565b60405180910390fd5b8060059080519060200190610c0b929190612164565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa6005604051610c3c9190612efa565b60405180910390a150565b8173ffffffffffffffffffffffffffffffffffffffff16610c66611101565b73ffffffffffffffffffffffffffffffffffffffff161415610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb49061309c565b60405180910390fd5b8060016000610cca611101565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d77611101565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610dbc9190612ebd565b60405180910390a35050565b610dd0611101565b73ffffffffffffffffffffffffffffffffffffffff16610dee610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610e44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3b9061307c565b60405180910390fd5b610e66610e4f610b4f565b838360405180602001604052806000815250611861565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f06611101565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f4c5750610f4b85610f46611101565b610e6a565b5b610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290612fdc565b60405180910390fd5b610f988585858585611a7f565b5050505050565b610fa7611101565b73ffffffffffffffffffffffffffffffffffffffff16610fc5610b4f565b73ffffffffffffffffffffffffffffffffffffffff161461101b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110129061307c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290612f7c565b60405180910390fd5b6110948161179b565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60606000821415611151576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611265565b600082905060005b6000821461118357808061116c906134a4565b915050600a8261117c9190613326565b9150611159565b60008167ffffffffffffffff81111561119f5761119e6135da565b5b6040519080825280601f01601f1916602001820160405280156111d15781602001600182028036833780820191505090505b5090505b6000851461125e576001826111ea9190613357565b9150600a856111f991906134ed565b603061120591906132d0565b60f81b81838151811061121b5761121a6135ab565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856112579190613326565b94506111d5565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d19061303c565b60405180910390fd5b60006112e4611101565b9050611314818560006112f687611d01565b6112ff87611d01565b60405180602001604052806000815250611d7b565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a290612fbc565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611478929190613137565b60405180910390a45050505050565b81518351146114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c2906130dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561153b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153290612ffc565b60405180910390fd5b6000611545611101565b9050611555818787878787611d7b565b60005b8451811015611706576000858281518110611576576115756135ab565b5b602002602001015190506000858381518110611595576115946135ab565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d9061305c565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116eb91906132d0565b92505081905550505050806116ff906134a4565b9050611558565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161177d929190612e86565b60405180910390a4611793818787878787611d83565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c8906130fc565b60405180910390fd5b8151835114611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c906130dc565b60405180910390fd5b600061191f611101565b905061193081600087878787611d7b565b60005b84518110156119e95783818151811061194f5761194e6135ab565b5b602002602001015160008087848151811061196d5761196c6135ab565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119cf91906132d0565b9250508190555080806119e1906134a4565b915050611933565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a61929190612e86565b60405180910390a4611a7881600087878787611d83565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae690612ffc565b60405180910390fd5b6000611af9611101565b9050611b19818787611b0a88611d01565b611b1388611d01565b87611d7b565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba79061305c565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c6591906132d0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611ce2929190613137565b60405180910390a4611cf8828888888888611f6a565b50505050505050565b60606000600167ffffffffffffffff811115611d2057611d1f6135da565b5b604051908082528060200260200182016040528015611d4e5781602001602082028036833780820191505090505b5090508281600081518110611d6657611d656135ab565b5b60200260200101818152505080915050919050565b505050505050565b611da28473ffffffffffffffffffffffffffffffffffffffff16612151565b15611f62578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611de8959493929190612da2565b602060405180830381600087803b158015611e0257600080fd5b505af1925050508015611e3357506040513d601f19601f82011682018060405250810190611e3091906127fc565b60015b611ed957611e3f613609565b806308c379a01415611e9c5750611e54613b2c565b80611e5f5750611e9e565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e939190612ed8565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed090612f1c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5790612f3c565b60405180910390fd5b505b505050505050565b611f898473ffffffffffffffffffffffffffffffffffffffff16612151565b15612149578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611fcf959493929190612e0a565b602060405180830381600087803b158015611fe957600080fd5b505af192505050801561201a57506040513d601f19601f8201168201806040525081019061201791906127fc565b60015b6120c057612026613609565b806308c379a01415612083575061203b613b2c565b806120465750612085565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a9190612ed8565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b790612f1c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e90612f3c565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461217090613441565b90600052602060002090601f01602090048101928261219257600085556121d9565b82601f106121ab57805160ff19168380011785556121d9565b828001600101855582156121d9579182015b828111156121d85782518255916020019190600101906121bd565b5b5090506121e691906121ea565b5090565b5b808211156122035760008160009055506001016121eb565b5090565b600061221a61221584613185565b613160565b9050808382526020820190508285602086028201111561223d5761223c613630565b5b60005b8581101561226d5781612253888261236b565b845260208401935060208301925050600181019050612240565b5050509392505050565b600061228a612285846131b1565b613160565b905080838252602082019050828560208602820111156122ad576122ac613630565b5b60005b858110156122dd57816122c38882612477565b8452602084019350602083019250506001810190506122b0565b5050509392505050565b60006122fa6122f5846131dd565b613160565b90508281526020810184848401111561231657612315613635565b5b6123218482856133ff565b509392505050565b600061233c6123378461320e565b613160565b90508281526020810184848401111561235857612357613635565b5b6123638482856133ff565b509392505050565b60008135905061237a81613bc2565b92915050565b600082601f8301126123955761239461362b565b5b81356123a5848260208601612207565b91505092915050565b600082601f8301126123c3576123c261362b565b5b81356123d3848260208601612277565b91505092915050565b6000813590506123eb81613bd9565b92915050565b60008135905061240081613bf0565b92915050565b60008151905061241581613bf0565b92915050565b600082601f8301126124305761242f61362b565b5b81356124408482602086016122e7565b91505092915050565b600082601f83011261245e5761245d61362b565b5b813561246e848260208601612329565b91505092915050565b60008135905061248681613c07565b92915050565b6000602082840312156124a2576124a161363f565b5b60006124b08482850161236b565b91505092915050565b600080604083850312156124d0576124cf61363f565b5b60006124de8582860161236b565b92505060206124ef8582860161236b565b9150509250929050565b600080600080600060a086880312156125155761251461363f565b5b60006125238882890161236b565b95505060206125348882890161236b565b945050604086013567ffffffffffffffff8111156125555761255461363a565b5b612561888289016123ae565b935050606086013567ffffffffffffffff8111156125825761258161363a565b5b61258e888289016123ae565b925050608086013567ffffffffffffffff8111156125af576125ae61363a565b5b6125bb8882890161241b565b9150509295509295909350565b600080600080600060a086880312156125e4576125e361363f565b5b60006125f28882890161236b565b95505060206126038882890161236b565b945050604061261488828901612477565b935050606061262588828901612477565b925050608086013567ffffffffffffffff8111156126465761264561363a565b5b6126528882890161241b565b9150509295509295909350565b600080604083850312156126765761267561363f565b5b60006126848582860161236b565b9250506020612695858286016123dc565b9150509250929050565b600080604083850312156126b6576126b561363f565b5b60006126c48582860161236b565b92505060206126d585828601612477565b9150509250929050565b600080604083850312156126f6576126f561363f565b5b600083013567ffffffffffffffff8111156127145761271361363a565b5b61272085828601612380565b925050602083013567ffffffffffffffff8111156127415761274061363a565b5b61274d858286016123ae565b9150509250929050565b6000806040838503121561276e5761276d61363f565b5b600083013567ffffffffffffffff81111561278c5761278b61363a565b5b612798858286016123ae565b925050602083013567ffffffffffffffff8111156127b9576127b861363a565b5b6127c5858286016123ae565b9150509250929050565b6000602082840312156127e5576127e461363f565b5b60006127f3848285016123f1565b91505092915050565b6000602082840312156128125761281161363f565b5b600061282084828501612406565b91505092915050565b60006020828403121561283f5761283e61363f565b5b600082013567ffffffffffffffff81111561285d5761285c61363a565b5b61286984828501612449565b91505092915050565b6000602082840312156128885761288761363f565b5b600061289684828501612477565b91505092915050565b600080604083850312156128b6576128b561363f565b5b60006128c485828601612477565b92505060206128d58582860161236b565b9150509250929050565b60006128eb8383612d45565b60208301905092915050565b6129008161338b565b82525050565b600061291182613264565b61291b8185613292565b93506129268361323f565b8060005b8381101561295757815161293e88826128df565b975061294983613285565b92505060018101905061292a565b5085935050505092915050565b61296d8161339d565b82525050565b600061297e8261326f565b61298881856132a3565b935061299881856020860161340e565b6129a181613644565b840191505092915050565b60006129b78261327a565b6129c181856132b4565b93506129d181856020860161340e565b6129da81613644565b840191505092915050565b60006129f08261327a565b6129fa81856132c5565b9350612a0a81856020860161340e565b80840191505092915050565b60008154612a2381613441565b612a2d81866132b4565b94506001821660008114612a485760018114612a5a57612a8d565b60ff1983168652602086019350612a8d565b612a638561324f565b60005b83811015612a8557815481890152600182019150602081019050612a66565b808801955050505b50505092915050565b60008154612aa381613441565b612aad81866132c5565b94506001821660008114612ac85760018114612ad957612b0c565b60ff19831686528186019350612b0c565b612ae28561324f565b60005b83811015612b0457815481890152600182019150602081019050612ae5565b838801955050505b50505092915050565b6000612b226034836132b4565b9150612b2d82613662565b604082019050919050565b6000612b456028836132b4565b9150612b50826136b1565b604082019050919050565b6000612b68602b836132b4565b9150612b7382613700565b604082019050919050565b6000612b8b6026836132b4565b9150612b968261374f565b604082019050919050565b6000612bae602e836132b4565b9150612bb98261379e565b604082019050919050565b6000612bd16024836132b4565b9150612bdc826137ed565b604082019050919050565b6000612bf46029836132b4565b9150612bff8261383c565b604082019050919050565b6000612c176025836132b4565b9150612c228261388b565b604082019050919050565b6000612c3a6032836132b4565b9150612c45826138da565b604082019050919050565b6000612c5d6023836132b4565b9150612c6882613929565b604082019050919050565b6000612c80602a836132b4565b9150612c8b82613978565b604082019050919050565b6000612ca36020836132b4565b9150612cae826139c7565b602082019050919050565b6000612cc66029836132b4565b9150612cd1826139f0565b604082019050919050565b6000612ce96029836132b4565b9150612cf482613a3f565b604082019050919050565b6000612d0c6028836132b4565b9150612d1782613a8e565b604082019050919050565b6000612d2f6021836132b4565b9150612d3a82613add565b604082019050919050565b612d4e816133f5565b82525050565b612d5d816133f5565b82525050565b6000612d6f8285612a96565b9150612d7b82846129e5565b91508190509392505050565b6000602082019050612d9c60008301846128f7565b92915050565b600060a082019050612db760008301886128f7565b612dc460208301876128f7565b8181036040830152612dd68186612906565b90508181036060830152612dea8185612906565b90508181036080830152612dfe8184612973565b90509695505050505050565b600060a082019050612e1f60008301886128f7565b612e2c60208301876128f7565b612e396040830186612d54565b612e466060830185612d54565b8181036080830152612e588184612973565b90509695505050505050565b60006020820190508181036000830152612e7e8184612906565b905092915050565b60006040820190508181036000830152612ea08185612906565b90508181036020830152612eb48184612906565b90509392505050565b6000602082019050612ed26000830184612964565b92915050565b60006020820190508181036000830152612ef281846129ac565b905092915050565b60006020820190508181036000830152612f148184612a16565b905092915050565b60006020820190508181036000830152612f3581612b15565b9050919050565b60006020820190508181036000830152612f5581612b38565b9050919050565b60006020820190508181036000830152612f7581612b5b565b9050919050565b60006020820190508181036000830152612f9581612b7e565b9050919050565b60006020820190508181036000830152612fb581612ba1565b9050919050565b60006020820190508181036000830152612fd581612bc4565b9050919050565b60006020820190508181036000830152612ff581612be7565b9050919050565b6000602082019050818103600083015261301581612c0a565b9050919050565b6000602082019050818103600083015261303581612c2d565b9050919050565b6000602082019050818103600083015261305581612c50565b9050919050565b6000602082019050818103600083015261307581612c73565b9050919050565b6000602082019050818103600083015261309581612c96565b9050919050565b600060208201905081810360008301526130b581612cb9565b9050919050565b600060208201905081810360008301526130d581612cdc565b9050919050565b600060208201905081810360008301526130f581612cff565b9050919050565b6000602082019050818103600083015261311581612d22565b9050919050565b60006020820190506131316000830184612d54565b92915050565b600060408201905061314c6000830185612d54565b6131596020830184612d54565b9392505050565b600061316a61317b565b90506131768282613473565b919050565b6000604051905090565b600067ffffffffffffffff8211156131a05761319f6135da565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131cc576131cb6135da565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131f8576131f76135da565b5b61320182613644565b9050602081019050919050565b600067ffffffffffffffff821115613229576132286135da565b5b61323282613644565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006132db826133f5565b91506132e6836133f5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561331b5761331a61351e565b5b828201905092915050565b6000613331826133f5565b915061333c836133f5565b92508261334c5761334b61354d565b5b828204905092915050565b6000613362826133f5565b915061336d836133f5565b9250828210156133805761337f61351e565b5b828203905092915050565b6000613396826133d5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561342c578082015181840152602081019050613411565b8381111561343b576000848401525b50505050565b6000600282049050600182168061345957607f821691505b6020821081141561346d5761346c61357c565b5b50919050565b61347c82613644565b810181811067ffffffffffffffff8211171561349b5761349a6135da565b5b80604052505050565b60006134af826133f5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134e2576134e161351e565b5b600182019050919050565b60006134f8826133f5565b9150613503836133f5565b9250826135135761351261354d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156136285760046000803e613625600051613655565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f537061636550756e6b7354726561737572654b6579733a20756e617661696c6160008201527f626c6520746f6b656e2074797065000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613b3c57613bbf565b613b4461317b565b60043d036004823e80513d602482011167ffffffffffffffff82111715613b6c575050613bbf565b808201805167ffffffffffffffff811115613b8a5750505050613bbf565b80602083010160043d038501811115613ba7575050505050613bbf565b613bb682602001850186613473565b82955050505050505b90565b613bcb8161338b565b8114613bd657600080fd5b50565b613be28161339d565b8114613bed57600080fd5b50565b613bf9816133a9565b8114613c0457600080fd5b50565b613c10816133f5565b8114613c1b57600080fd5b5056fea26469706673582212209bd6d2cf0076559068025bd496377fbdc0c24fa928d6caa005fea2ec8f1e525464736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f6170692e737061636570756e6b732e636c75622f74726561737572652d6b6579732f6d657461646174612f00000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010a5760003560e01c8063715018a6116100a2578063a22cb46511610071578063a22cb465146102a1578063d351cfdc146102bd578063e985e9c5146102d9578063f242432a14610309578063f2fde38b146103255761010a565b8063715018a6146102415780637794afae1461024b5780638da5cb5b14610267578063a0bcfc7f146102855761010a565b806316ed917a116100de57806316ed917a146101bd5780632eb2c2d6146101d95780634e1273f4146101f5578063590315a6146102255761010a565b8062fdd58e1461010f57806301ffc9a71461013f5780630cac36b21461016f5780630e89341c1461018d575b600080fd5b6101296004803603810190610124919061269f565b610341565b604051610136919061311c565b60405180910390f35b610159600480360381019061015491906127cf565b61040a565b6040516101669190612ebd565b60405180910390f35b6101776104ec565b6040516101849190612ed8565b60405180910390f35b6101a760048036038101906101a29190612872565b6105fa565b6040516101b49190612ed8565b60405180910390f35b6101d760048036038101906101d2919061289f565b6106d5565b005b6101f360048036038101906101ee91906124f9565b610745565b005b61020f600480360381019061020a91906126df565b6107e6565b60405161021c9190612e64565b60405180910390f35b61023f600480360381019061023a9190612872565b6108ff565b005b6102496109d7565b005b6102656004803603810190610260919061269f565b610a5f565b005b61026f610b4f565b60405161027c9190612d87565b60405180910390f35b61029f600480360381019061029a9190612829565b610b79565b005b6102bb60048036038101906102b6919061265f565b610c47565b005b6102d760048036038101906102d29190612757565b610dc8565b005b6102f360048036038101906102ee91906124b9565b610e6a565b6040516103009190612ebd565b60405180910390f35b610323600480360381019061031e91906125c8565b610efe565b005b61033f600480360381019061033a919061248c565b610f9f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a990612f5c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104d557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104e557506104e482611097565b5b9050919050565b60606104f6611101565b73ffffffffffffffffffffffffffffffffffffffff16610514610b4f565b73ffffffffffffffffffffffffffffffffffffffff161461056a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105619061307c565b60405180910390fd5b6005805461057790613441565b80601f01602080910402602001604051908101604052809291908181526020018280546105a390613441565b80156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050905090565b606060006005805461060b90613441565b9050116106a2576005805461061f90613441565b80601f016020809104026020016040519081016040528092919081815260200182805461064b90613441565b80156106985780601f1061066d57610100808354040283529160200191610698565b820191906000526020600020905b81548152906001019060200180831161067b57829003601f168201915b50505050506106ce565b60056106ad83611109565b6040516020016106be929190612d63565b6040516020818303038152906040525b9050919050565b6004600083815260200190815260200160002060009054906101000a900460ff16610735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072c90612f9c565b60405180910390fd5b6107418183600161126a565b5050565b61074d611101565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061079357506107928561078d611101565b610e6a565b5b6107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c99061301c565b60405180910390fd5b6107df8585858585611487565b5050505050565b6060815183511461082c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610823906130bc565b60405180910390fd5b6000835167ffffffffffffffff811115610849576108486135da565b5b6040519080825280602002602001820160405280156108775781602001602082028036833780820191505090505b50905060005b84518110156108f4576108c485828151811061089c5761089b6135ab565b5b60200260200101518583815181106108b7576108b66135ab565b5b6020026020010151610341565b8282815181106108d7576108d66135ab565b5b602002602001018181525050806108ed906134a4565b905061087d565b508091505092915050565b610907611101565b73ffffffffffffffffffffffffffffffffffffffff16610925610b4f565b73ffffffffffffffffffffffffffffffffffffffff161461097b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109729061307c565b60405180910390fd5b60006004600083815260200190815260200160002060006101000a81548160ff021916908315150217905550807fe70f08e26a2b9862f2c415330ee0b9b7a82a99111afa400b1fd433a1a3d0179360405160405180910390a250565b6109df611101565b73ffffffffffffffffffffffffffffffffffffffff166109fd610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a9061307c565b60405180910390fd5b610a5d600061179b565b565b610a67611101565b73ffffffffffffffffffffffffffffffffffffffff16610a85610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad29061307c565b60405180910390fd5b60016004600083815260200190815260200160002060006101000a81548160ff021916908315150217905550808273ffffffffffffffffffffffffffffffffffffffff167fabbc7d8d3cc19bb6569dfd81c17cdc6d7a711bbbef7d4f573b31a830acf24b5060405160405180910390a35050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b81611101565b73ffffffffffffffffffffffffffffffffffffffff16610b9f610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec9061307c565b60405180910390fd5b8060059080519060200190610c0b929190612164565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa6005604051610c3c9190612efa565b60405180910390a150565b8173ffffffffffffffffffffffffffffffffffffffff16610c66611101565b73ffffffffffffffffffffffffffffffffffffffff161415610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb49061309c565b60405180910390fd5b8060016000610cca611101565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d77611101565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610dbc9190612ebd565b60405180910390a35050565b610dd0611101565b73ffffffffffffffffffffffffffffffffffffffff16610dee610b4f565b73ffffffffffffffffffffffffffffffffffffffff1614610e44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3b9061307c565b60405180910390fd5b610e66610e4f610b4f565b838360405180602001604052806000815250611861565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f06611101565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f4c5750610f4b85610f46611101565b610e6a565b5b610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290612fdc565b60405180910390fd5b610f988585858585611a7f565b5050505050565b610fa7611101565b73ffffffffffffffffffffffffffffffffffffffff16610fc5610b4f565b73ffffffffffffffffffffffffffffffffffffffff161461101b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110129061307c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290612f7c565b60405180910390fd5b6110948161179b565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60606000821415611151576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611265565b600082905060005b6000821461118357808061116c906134a4565b915050600a8261117c9190613326565b9150611159565b60008167ffffffffffffffff81111561119f5761119e6135da565b5b6040519080825280601f01601f1916602001820160405280156111d15781602001600182028036833780820191505090505b5090505b6000851461125e576001826111ea9190613357565b9150600a856111f991906134ed565b603061120591906132d0565b60f81b81838151811061121b5761121a6135ab565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856112579190613326565b94506111d5565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d19061303c565b60405180910390fd5b60006112e4611101565b9050611314818560006112f687611d01565b6112ff87611d01565b60405180602001604052806000815250611d7b565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a290612fbc565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611478929190613137565b60405180910390a45050505050565b81518351146114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c2906130dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561153b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153290612ffc565b60405180910390fd5b6000611545611101565b9050611555818787878787611d7b565b60005b8451811015611706576000858281518110611576576115756135ab565b5b602002602001015190506000858381518110611595576115946135ab565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d9061305c565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116eb91906132d0565b92505081905550505050806116ff906134a4565b9050611558565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161177d929190612e86565b60405180910390a4611793818787878787611d83565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c8906130fc565b60405180910390fd5b8151835114611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c906130dc565b60405180910390fd5b600061191f611101565b905061193081600087878787611d7b565b60005b84518110156119e95783818151811061194f5761194e6135ab565b5b602002602001015160008087848151811061196d5761196c6135ab565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119cf91906132d0565b9250508190555080806119e1906134a4565b915050611933565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a61929190612e86565b60405180910390a4611a7881600087878787611d83565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae690612ffc565b60405180910390fd5b6000611af9611101565b9050611b19818787611b0a88611d01565b611b1388611d01565b87611d7b565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba79061305c565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c6591906132d0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611ce2929190613137565b60405180910390a4611cf8828888888888611f6a565b50505050505050565b60606000600167ffffffffffffffff811115611d2057611d1f6135da565b5b604051908082528060200260200182016040528015611d4e5781602001602082028036833780820191505090505b5090508281600081518110611d6657611d656135ab565b5b60200260200101818152505080915050919050565b505050505050565b611da28473ffffffffffffffffffffffffffffffffffffffff16612151565b15611f62578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611de8959493929190612da2565b602060405180830381600087803b158015611e0257600080fd5b505af1925050508015611e3357506040513d601f19601f82011682018060405250810190611e3091906127fc565b60015b611ed957611e3f613609565b806308c379a01415611e9c5750611e54613b2c565b80611e5f5750611e9e565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e939190612ed8565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed090612f1c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5790612f3c565b60405180910390fd5b505b505050505050565b611f898473ffffffffffffffffffffffffffffffffffffffff16612151565b15612149578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611fcf959493929190612e0a565b602060405180830381600087803b158015611fe957600080fd5b505af192505050801561201a57506040513d601f19601f8201168201806040525081019061201791906127fc565b60015b6120c057612026613609565b806308c379a01415612083575061203b613b2c565b806120465750612085565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a9190612ed8565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b790612f1c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e90612f3c565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461217090613441565b90600052602060002090601f01602090048101928261219257600085556121d9565b82601f106121ab57805160ff19168380011785556121d9565b828001600101855582156121d9579182015b828111156121d85782518255916020019190600101906121bd565b5b5090506121e691906121ea565b5090565b5b808211156122035760008160009055506001016121eb565b5090565b600061221a61221584613185565b613160565b9050808382526020820190508285602086028201111561223d5761223c613630565b5b60005b8581101561226d5781612253888261236b565b845260208401935060208301925050600181019050612240565b5050509392505050565b600061228a612285846131b1565b613160565b905080838252602082019050828560208602820111156122ad576122ac613630565b5b60005b858110156122dd57816122c38882612477565b8452602084019350602083019250506001810190506122b0565b5050509392505050565b60006122fa6122f5846131dd565b613160565b90508281526020810184848401111561231657612315613635565b5b6123218482856133ff565b509392505050565b600061233c6123378461320e565b613160565b90508281526020810184848401111561235857612357613635565b5b6123638482856133ff565b509392505050565b60008135905061237a81613bc2565b92915050565b600082601f8301126123955761239461362b565b5b81356123a5848260208601612207565b91505092915050565b600082601f8301126123c3576123c261362b565b5b81356123d3848260208601612277565b91505092915050565b6000813590506123eb81613bd9565b92915050565b60008135905061240081613bf0565b92915050565b60008151905061241581613bf0565b92915050565b600082601f8301126124305761242f61362b565b5b81356124408482602086016122e7565b91505092915050565b600082601f83011261245e5761245d61362b565b5b813561246e848260208601612329565b91505092915050565b60008135905061248681613c07565b92915050565b6000602082840312156124a2576124a161363f565b5b60006124b08482850161236b565b91505092915050565b600080604083850312156124d0576124cf61363f565b5b60006124de8582860161236b565b92505060206124ef8582860161236b565b9150509250929050565b600080600080600060a086880312156125155761251461363f565b5b60006125238882890161236b565b95505060206125348882890161236b565b945050604086013567ffffffffffffffff8111156125555761255461363a565b5b612561888289016123ae565b935050606086013567ffffffffffffffff8111156125825761258161363a565b5b61258e888289016123ae565b925050608086013567ffffffffffffffff8111156125af576125ae61363a565b5b6125bb8882890161241b565b9150509295509295909350565b600080600080600060a086880312156125e4576125e361363f565b5b60006125f28882890161236b565b95505060206126038882890161236b565b945050604061261488828901612477565b935050606061262588828901612477565b925050608086013567ffffffffffffffff8111156126465761264561363a565b5b6126528882890161241b565b9150509295509295909350565b600080604083850312156126765761267561363f565b5b60006126848582860161236b565b9250506020612695858286016123dc565b9150509250929050565b600080604083850312156126b6576126b561363f565b5b60006126c48582860161236b565b92505060206126d585828601612477565b9150509250929050565b600080604083850312156126f6576126f561363f565b5b600083013567ffffffffffffffff8111156127145761271361363a565b5b61272085828601612380565b925050602083013567ffffffffffffffff8111156127415761274061363a565b5b61274d858286016123ae565b9150509250929050565b6000806040838503121561276e5761276d61363f565b5b600083013567ffffffffffffffff81111561278c5761278b61363a565b5b612798858286016123ae565b925050602083013567ffffffffffffffff8111156127b9576127b861363a565b5b6127c5858286016123ae565b9150509250929050565b6000602082840312156127e5576127e461363f565b5b60006127f3848285016123f1565b91505092915050565b6000602082840312156128125761281161363f565b5b600061282084828501612406565b91505092915050565b60006020828403121561283f5761283e61363f565b5b600082013567ffffffffffffffff81111561285d5761285c61363a565b5b61286984828501612449565b91505092915050565b6000602082840312156128885761288761363f565b5b600061289684828501612477565b91505092915050565b600080604083850312156128b6576128b561363f565b5b60006128c485828601612477565b92505060206128d58582860161236b565b9150509250929050565b60006128eb8383612d45565b60208301905092915050565b6129008161338b565b82525050565b600061291182613264565b61291b8185613292565b93506129268361323f565b8060005b8381101561295757815161293e88826128df565b975061294983613285565b92505060018101905061292a565b5085935050505092915050565b61296d8161339d565b82525050565b600061297e8261326f565b61298881856132a3565b935061299881856020860161340e565b6129a181613644565b840191505092915050565b60006129b78261327a565b6129c181856132b4565b93506129d181856020860161340e565b6129da81613644565b840191505092915050565b60006129f08261327a565b6129fa81856132c5565b9350612a0a81856020860161340e565b80840191505092915050565b60008154612a2381613441565b612a2d81866132b4565b94506001821660008114612a485760018114612a5a57612a8d565b60ff1983168652602086019350612a8d565b612a638561324f565b60005b83811015612a8557815481890152600182019150602081019050612a66565b808801955050505b50505092915050565b60008154612aa381613441565b612aad81866132c5565b94506001821660008114612ac85760018114612ad957612b0c565b60ff19831686528186019350612b0c565b612ae28561324f565b60005b83811015612b0457815481890152600182019150602081019050612ae5565b838801955050505b50505092915050565b6000612b226034836132b4565b9150612b2d82613662565b604082019050919050565b6000612b456028836132b4565b9150612b50826136b1565b604082019050919050565b6000612b68602b836132b4565b9150612b7382613700565b604082019050919050565b6000612b8b6026836132b4565b9150612b968261374f565b604082019050919050565b6000612bae602e836132b4565b9150612bb98261379e565b604082019050919050565b6000612bd16024836132b4565b9150612bdc826137ed565b604082019050919050565b6000612bf46029836132b4565b9150612bff8261383c565b604082019050919050565b6000612c176025836132b4565b9150612c228261388b565b604082019050919050565b6000612c3a6032836132b4565b9150612c45826138da565b604082019050919050565b6000612c5d6023836132b4565b9150612c6882613929565b604082019050919050565b6000612c80602a836132b4565b9150612c8b82613978565b604082019050919050565b6000612ca36020836132b4565b9150612cae826139c7565b602082019050919050565b6000612cc66029836132b4565b9150612cd1826139f0565b604082019050919050565b6000612ce96029836132b4565b9150612cf482613a3f565b604082019050919050565b6000612d0c6028836132b4565b9150612d1782613a8e565b604082019050919050565b6000612d2f6021836132b4565b9150612d3a82613add565b604082019050919050565b612d4e816133f5565b82525050565b612d5d816133f5565b82525050565b6000612d6f8285612a96565b9150612d7b82846129e5565b91508190509392505050565b6000602082019050612d9c60008301846128f7565b92915050565b600060a082019050612db760008301886128f7565b612dc460208301876128f7565b8181036040830152612dd68186612906565b90508181036060830152612dea8185612906565b90508181036080830152612dfe8184612973565b90509695505050505050565b600060a082019050612e1f60008301886128f7565b612e2c60208301876128f7565b612e396040830186612d54565b612e466060830185612d54565b8181036080830152612e588184612973565b90509695505050505050565b60006020820190508181036000830152612e7e8184612906565b905092915050565b60006040820190508181036000830152612ea08185612906565b90508181036020830152612eb48184612906565b90509392505050565b6000602082019050612ed26000830184612964565b92915050565b60006020820190508181036000830152612ef281846129ac565b905092915050565b60006020820190508181036000830152612f148184612a16565b905092915050565b60006020820190508181036000830152612f3581612b15565b9050919050565b60006020820190508181036000830152612f5581612b38565b9050919050565b60006020820190508181036000830152612f7581612b5b565b9050919050565b60006020820190508181036000830152612f9581612b7e565b9050919050565b60006020820190508181036000830152612fb581612ba1565b9050919050565b60006020820190508181036000830152612fd581612bc4565b9050919050565b60006020820190508181036000830152612ff581612be7565b9050919050565b6000602082019050818103600083015261301581612c0a565b9050919050565b6000602082019050818103600083015261303581612c2d565b9050919050565b6000602082019050818103600083015261305581612c50565b9050919050565b6000602082019050818103600083015261307581612c73565b9050919050565b6000602082019050818103600083015261309581612c96565b9050919050565b600060208201905081810360008301526130b581612cb9565b9050919050565b600060208201905081810360008301526130d581612cdc565b9050919050565b600060208201905081810360008301526130f581612cff565b9050919050565b6000602082019050818103600083015261311581612d22565b9050919050565b60006020820190506131316000830184612d54565b92915050565b600060408201905061314c6000830185612d54565b6131596020830184612d54565b9392505050565b600061316a61317b565b90506131768282613473565b919050565b6000604051905090565b600067ffffffffffffffff8211156131a05761319f6135da565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131cc576131cb6135da565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131f8576131f76135da565b5b61320182613644565b9050602081019050919050565b600067ffffffffffffffff821115613229576132286135da565b5b61323282613644565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006132db826133f5565b91506132e6836133f5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561331b5761331a61351e565b5b828201905092915050565b6000613331826133f5565b915061333c836133f5565b92508261334c5761334b61354d565b5b828204905092915050565b6000613362826133f5565b915061336d836133f5565b9250828210156133805761337f61351e565b5b828203905092915050565b6000613396826133d5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561342c578082015181840152602081019050613411565b8381111561343b576000848401525b50505050565b6000600282049050600182168061345957607f821691505b6020821081141561346d5761346c61357c565b5b50919050565b61347c82613644565b810181811067ffffffffffffffff8211171561349b5761349a6135da565b5b80604052505050565b60006134af826133f5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134e2576134e161351e565b5b600182019050919050565b60006134f8826133f5565b9150613503836133f5565b9250826135135761351261354d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156136285760046000803e613625600051613655565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f537061636550756e6b7354726561737572654b6579733a20756e617661696c6160008201527f626c6520746f6b656e2074797065000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613b3c57613bbf565b613b4461317b565b60043d036004823e80513d602482011167ffffffffffffffff82111715613b6c575050613bbf565b808201805167ffffffffffffffff811115613b8a5750505050613bbf565b80602083010160043d038501811115613ba7575050505050613bbf565b613bb682602001850186613473565b82955050505050505b90565b613bcb8161338b565b8114613bd657600080fd5b50565b613be28161339d565b8114613bed57600080fd5b50565b613bf9816133a9565b8114613c0457600080fd5b50565b613c10816133f5565b8114613c1b57600080fd5b5056fea26469706673582212209bd6d2cf0076559068025bd496377fbdc0c24fa928d6caa005fea2ec8f1e525464736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f6170692e737061636570756e6b732e636c75622f74726561737572652d6b6579732f6d657461646174612f00000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://api.spacepunks.club/treasure-keys/metadata/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [2] : 68747470733a2f2f6170692e737061636570756e6b732e636c75622f74726561
Arg [3] : 737572652d6b6579732f6d657461646174612f00000000000000000000000000


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.