ETH Price: $3,409.05 (+4.63%)

Token

HUXLEY Genesis (GENESIS)
 

Overview

Max Total Supply

189 GENESIS

Holders

140

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0xa8e705b1fa3850e41f2d2766b14ba3032ab16ab1
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:
GenesisToken

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : GenesisToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";

/**
 * @title GenesisToken
 *
 */
contract GenesisToken is ERC1155, ReentrancyGuard, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant REDEEMER_ROLE = keccak256("REDEEMER_ROLE");
    bytes32 public constant PRIVATE_MINTER_ROLE = keccak256("PRIVATE_MINTER_ROLE");

    event GenesisTokenRedeemed(address _sender, uint256 _categoryId);
    event PrivateMintExecuted(address _sender, uint256 _categoryId, uint256 _amount);

    string public name;
    string public symbol;

    /**
     * @dev Creates an instance of `GenesisToken`.
     *
     * 'msg.sender' gets the Admin role.
     *
     */
    constructor(
        string memory _uri,
        string memory _name,
        string memory _symbol
    ) ERC1155(_uri) {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        name = _name;
        symbol = _symbol;
    }

    /**
     * @dev It mints/creates 1 Genesis Token calling `_mint()` from ERC1155 OpenZeppelin implementation.
     * To be called by another smart contract or wallet with the MINTER_ROLE role.
     *
     * @param _account Token owner address - cannot be the zero address.
     * @param _category Genesis Token category
     * @param _data Additional data with no specified format
     */
    function mint(
        address _account,
        uint256 _category,
        bytes memory _data
    ) external nonReentrant onlyRole(MINTER_ROLE) {
        _mint(_account, _category, 1, _data);
    }

    function mintBatch(
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) external nonReentrant onlyRole(MINTER_ROLE) {
        _mintBatch(_to, _ids, _amounts, _data);
    }

    function burnBatch(
        address _account,
        uint256[] memory _ids,
        uint256[] memory _amounts
    ) external onlyRole(REDEEMER_ROLE) {
        _burnBatch(_account, _ids, _amounts);
    }

    /**
     * @dev It burns 1 Genesis Token. To be called by another smart contract or wallet with the MINTER_ROLE role.
     *
     * Emits a {GenesisTokenRedeemed} event.
     *
     * @param _account Token owner address - cannot be the zero address.
     * @param _category Genesis Token category
     */
    function redeem(address _account, uint256 _category) external onlyRole(REDEEMER_ROLE) {
        require(balanceOf(_account, _category) >= 1, "HGT: No Genesis Token.");
        _burn(_account, _category, 1);

        emit GenesisTokenRedeemed(_account, _category);
    }

    /**
     * @dev It mints Genesis Token. To be called by an admin address that can private mint.
     *
     * Emits a {PrivateMintExecuted} event.
     *
     * @param _account Token owner address - cannot be the zero address.
     * @param _amountToMint Amount to mint
     * @param _category Genesis Token category
     * @param _data Additional data with no specified format
     */
    function privateMintBatch(
        address _account,
        uint256 _amountToMint,
        uint256 _category,
        bytes memory _data
    ) external nonReentrant onlyRole(PRIVATE_MINTER_ROLE) {
        _mint(_account, _category, _amountToMint, _data);

        emit PrivateMintExecuted(_account, _category, _amountToMint);
    }

    /**
     * @dev Sets a new URI for all token categories
     */
    function setURI(string memory _newuri) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setURI(_newuri);
    }

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

File 2 of 12 : 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 12 : 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 12 : 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 12 : 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 12 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 12 : 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 12 : 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 12 : 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 12 : 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(to).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(to).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 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 12 of 12 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_categoryId","type":"uint256"}],"name":"GenesisTokenRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_categoryId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"PrivateMintExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIVATE_MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REDEEMER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_category","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amountToMint","type":"uint256"},{"internalType":"uint256","name":"_category","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"privateMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_category","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"_newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162004d2838038062004d28833981810160405281019062000037919062000367565b826200004981620000a260201b60201c565b506001600381905550620000676000801b33620000be60201b60201c565b81600590805190602001906200007f92919062000239565b5080600690805190602001906200009892919062000239565b50505050620005a4565b8060029080519060200190620000ba92919062000239565b5050565b620000d08282620000d460201b60201c565b5050565b620000e68282620001c660201b60201c565b620001c25760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001676200023160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280546200024790620004b5565b90600052602060002090601f0160209004810192826200026b5760008555620002b7565b82601f106200028657805160ff1916838001178555620002b7565b82800160010185558215620002b7579182015b82811115620002b657825182559160200191906001019062000299565b5b509050620002c69190620002ca565b5090565b5b80821115620002e5576000816000905550600101620002cb565b5090565b600062000300620002fa8462000449565b62000420565b9050828152602081018484840111156200031f576200031e62000584565b5b6200032c8482856200047f565b509392505050565b600082601f8301126200034c576200034b6200057f565b5b81516200035e848260208601620002e9565b91505092915050565b6000806000606084860312156200038357620003826200058e565b5b600084015167ffffffffffffffff811115620003a457620003a362000589565b5b620003b28682870162000334565b935050602084015167ffffffffffffffff811115620003d657620003d562000589565b5b620003e48682870162000334565b925050604084015167ffffffffffffffff81111562000408576200040762000589565b5b620004168682870162000334565b9150509250925092565b60006200042c6200043f565b90506200043a8282620004eb565b919050565b6000604051905090565b600067ffffffffffffffff82111562000467576200046662000550565b5b620004728262000593565b9050602081019050919050565b60005b838110156200049f57808201518184015260208101905062000482565b83811115620004af576000848401525b50505050565b60006002820490506001821680620004ce57607f821691505b60208210811415620004e557620004e462000521565b5b50919050565b620004f68262000593565b810181811067ffffffffffffffff8211171562000518576200051762000550565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61477480620005b46000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c80634e1273f4116100de57806395d89b4111610097578063d539139311610071578063d539139314610445578063d547741f14610463578063e985e9c51461047f578063f242432a146104af57610172565b806395d89b41146103ed578063a217fddf1461040b578063a22cb4651461042957610172565b80634e1273f4146103195780635ab1b0a6146103495780636b20c454146103675780637fa46ab41461038357806391d14854146103a157806394d008ef146103d157610172565b80631f7fdffa116101305780631f7fdffa1461025d578063248a9ca3146102795780632eb2c2d6146102a95780632f2ff15d146102c557806336568abe146102e157806340016801146102fd57610172565b8062fdd58e1461017757806301ffc9a7146101a757806302fe5305146101d757806306fdde03146101f35780630e89341c146102115780631e9a695014610241575b600080fd5b610191600480360381019061018c919061310b565b6104cb565b60405161019e9190613c1c565b60405180910390f35b6101c160048036038101906101bc9190613322565b610594565b6040516101ce91906139a4565b60405180910390f35b6101f160048036038101906101ec919061337c565b610676565b005b6101fb610698565b60405161020891906139da565b60405180910390f35b61022b600480360381019061022691906133c5565b610726565b60405161023891906139da565b60405180910390f35b61025b6004803603810190610256919061310b565b6107ba565b005b61027760048036038101906102729190613010565b610883565b005b610293600480360381019061028e91906132b5565b61091e565b6040516102a091906139bf565b60405180910390f35b6102c360048036038101906102be9190612e1f565b61093e565b005b6102df60048036038101906102da91906132e2565b6109df565b005b6102fb60048036038101906102f691906132e2565b610a08565b005b610317600480360381019061031291906131ba565b610a8b565b005b610333600480360381019061032e919061323d565b610b61565b604051610340919061394b565b60405180910390f35b610351610c7a565b60405161035e91906139bf565b60405180910390f35b610381600480360381019061037c9190612f85565b610c9e565b005b61038b610ce1565b60405161039891906139bf565b60405180910390f35b6103bb60048036038101906103b691906132e2565b610d05565b6040516103c891906139a4565b60405180910390f35b6103eb60048036038101906103e6919061314b565b610d70565b005b6103f5610e0b565b60405161040291906139da565b60405180910390f35b610413610e99565b60405161042091906139bf565b60405180910390f35b610443600480360381019061043e91906130cb565b610ea0565b005b61044d611021565b60405161045a91906139bf565b60405180910390f35b61047d600480360381019061047891906132e2565b611045565b005b61049960048036038101906104949190612ddf565b61106e565b6040516104a691906139a4565b60405180910390f35b6104c960048036038101906104c49190612eee565b611102565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561053c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053390613a5c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061066f575061066e826111a3565b5b9050919050565b6000801b61068b8161068661121d565b611225565b610694826112c2565b5050565b600580546106a590613f55565b80601f01602080910402602001604051908101604052809291908181526020018280546106d190613f55565b801561071e5780601f106106f35761010080835404028352916020019161071e565b820191906000526020600020905b81548152906001019060200180831161070157829003601f168201915b505050505081565b60606002805461073590613f55565b80601f016020809104026020016040519081016040528092919081815260200182805461076190613f55565b80156107ae5780601f10610783576101008083540402835291602001916107ae565b820191906000526020600020905b81548152906001019060200180831161079157829003601f168201915b50505050509050919050565b7f44ac9762eec3a11893fefb11d028bb3102560094137c3ed4518712475b2577cc6107ec816107e761121d565b611225565b60016107f884846104cb565b1015610839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083090613b3c565b60405180910390fd5b610845838360016112dc565b7ff48b39115f17770fac7e43d0839899fdff71161cc52162b9fdc41c16fd70bd3183836040516108769291906138eb565b60405180910390a1505050565b600260035414156108c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c090613bdc565b60405180910390fd5b60026003819055507f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610903816108fe61121d565b611225565b61090f858585856114f9565b50600160038190555050505050565b600060046000838152602001908152602001600020600101549050919050565b61094661121d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061098c575061098b8561098661121d565b61106e565b5b6109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290613adc565b60405180910390fd5b6109d88585858585611717565b5050505050565b6109e88261091e565b6109f9816109f461121d565b611225565b610a038383611a2b565b505050565b610a1061121d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490613bfc565b60405180910390fd5b610a878282611b0c565b5050565b60026003541415610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890613bdc565b60405180910390fd5b60026003819055507fca848e25c38887dc92feb619111bce326f6d6dc179e86e86381bdb8c00d097b5610b0b81610b0661121d565b611225565b610b1785848685611bee565b7f5b0741c360d81cbcdcfdcd67bc4707a3491fb7d747beaf7405189b3f39c98e0c858486604051610b4a93929190613914565b60405180910390a150600160038190555050505050565b60608151835114610ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9e90613b7c565b60405180910390fd5b6000835167ffffffffffffffff811115610bc457610bc361408e565b5b604051908082528060200260200182016040528015610bf25781602001602082028036833780820191505090505b50905060005b8451811015610c6f57610c3f858281518110610c1757610c1661405f565b5b6020026020010151858381518110610c3257610c3161405f565b5b60200260200101516104cb565b828281518110610c5257610c5161405f565b5b60200260200101818152505080610c6890613fb8565b9050610bf8565b508091505092915050565b7fca848e25c38887dc92feb619111bce326f6d6dc179e86e86381bdb8c00d097b581565b7f44ac9762eec3a11893fefb11d028bb3102560094137c3ed4518712475b2577cc610cd081610ccb61121d565b611225565b610cdb848484611d84565b50505050565b7f44ac9762eec3a11893fefb11d028bb3102560094137c3ed4518712475b2577cc81565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026003541415610db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dad90613bdc565b60405180910390fd5b60026003819055507f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610df081610deb61121d565b611225565b610dfd8484600185611bee565b506001600381905550505050565b60068054610e1890613f55565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4490613f55565b8015610e915780601f10610e6657610100808354040283529160200191610e91565b820191906000526020600020905b815481529060010190602001808311610e7457829003601f168201915b505050505081565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610ebf61121d565b73ffffffffffffffffffffffffffffffffffffffff161415610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90613b5c565b60405180910390fd5b8060016000610f2361121d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fd061121d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161101591906139a4565b60405180910390a35050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61104e8261091e565b61105f8161105a61121d565b611225565b6110698383611b0c565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61110a61121d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611150575061114f8561114a61121d565b61106e565b5b61118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690613a9c565b60405180910390fd5b61119c8585858585612035565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112165750611215826122b7565b5b9050919050565b600033905090565b61122f8282610d05565b6112be576112548173ffffffffffffffffffffffffffffffffffffffff166014612399565b6112628360001c6020612399565b6040516020016112739291906137ef565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b591906139da565b60405180910390fd5b5050565b80600290805190602001906112d8929190612aa2565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390613afc565b60405180910390fd5b600061135661121d565b905061138681856000611368876125d5565b611371876125d5565b6040518060200160405280600081525061264f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561141d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141490613a7c565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516114ea929190613c37565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156090613bbc565b60405180910390fd5b81518351146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490613b9c565b60405180910390fd5b60006115b761121d565b90506115c88160008787878761264f565b60005b8451811015611681578381815181106115e7576115e661405f565b5b60200260200101516000808784815181106116055761160461405f565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116679190613dbb565b92505081905550808061167990613fb8565b9150506115cb565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116f992919061396d565b60405180910390a461171081600087878787612657565b5050505050565b815183511461175b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175290613b9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290613abc565b60405180910390fd5b60006117d561121d565b90506117e581878787878761264f565b60005b84518110156119965760008582815181106118065761180561405f565b5b6020026020010151905060008583815181106118255761182461405f565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd90613b1c565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197b9190613dbb565b925050819055505050508061198f90613fb8565b90506117e8565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a0d92919061396d565b60405180910390a4611a23818787878787612657565b505050505050565b611a358282610d05565b611b085760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611aad61121d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611b168282610d05565b15611bea5760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b8f61121d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590613bbc565b60405180910390fd5b6000611c6861121d565b9050611c8981600087611c7a886125d5565b611c83886125d5565b8761264f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce89190613dbb565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611d66929190613c37565b60405180910390a4611d7d8160008787878761283e565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611deb90613afc565b60405180910390fd5b8051825114611e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2f90613b9c565b60405180910390fd5b6000611e4261121d565b9050611e628185600086866040518060200160405280600081525061264f565b60005b8351811015611faf576000848281518110611e8357611e8261405f565b5b602002602001015190506000848381518110611ea257611ea161405f565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3a90613a7c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611fa790613fb8565b915050611e65565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161202792919061396d565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209c90613abc565b60405180910390fd5b60006120af61121d565b90506120cf8187876120c0886125d5565b6120c9886125d5565b8761264f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90613b1c565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221b9190613dbb565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612298929190613c37565b60405180910390a46122ae82888888888861283e565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061238257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612392575061239182612a25565b5b9050919050565b6060600060028360026123ac9190613e11565b6123b69190613dbb565b67ffffffffffffffff8111156123cf576123ce61408e565b5b6040519080825280601f01601f1916602001820160405280156124015781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106124395761243861405f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061249d5761249c61405f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026124dd9190613e11565b6124e79190613dbb565b90505b6001811115612587577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106125295761252861405f565b5b1a60f81b8282815181106125405761253f61405f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061258090613f2b565b90506124ea565b50600084146125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c290613a1c565b60405180910390fd5b8091505092915050565b60606000600167ffffffffffffffff8111156125f4576125f361408e565b5b6040519080825280602002602001820160405280156126225781602001602082028036833780820191505090505b509050828160008151811061263a5761263961405f565b5b60200260200101818152505080915050919050565b505050505050565b6126768473ffffffffffffffffffffffffffffffffffffffff16612a8f565b15612836578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016126bc959493929190613829565b602060405180830381600087803b1580156126d657600080fd5b505af192505050801561270757506040513d601f19601f82011682018060405250810190612704919061334f565b60015b6127ad576127136140bd565b806308c379a014156127705750612728614635565b806127335750612772565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276791906139da565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a4906139fc565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282b90613a3c565b60405180910390fd5b505b505050505050565b61285d8473ffffffffffffffffffffffffffffffffffffffff16612a8f565b15612a1d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128a3959493929190613891565b602060405180830381600087803b1580156128bd57600080fd5b505af19250505080156128ee57506040513d601f19601f820116820180604052508101906128eb919061334f565b60015b612994576128fa6140bd565b806308c379a01415612957575061290f614635565b8061291a5750612959565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294e91906139da565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b906139fc565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1290613a3c565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b828054612aae90613f55565b90600052602060002090601f016020900481019282612ad05760008555612b17565b82601f10612ae957805160ff1916838001178555612b17565b82800160010185558215612b17579182015b82811115612b16578251825591602001919060010190612afb565b5b509050612b249190612b28565b5090565b5b80821115612b41576000816000905550600101612b29565b5090565b6000612b58612b5384613c85565b613c60565b90508083825260208201905082856020860282011115612b7b57612b7a6140e4565b5b60005b85811015612bab5781612b918882612ca9565b845260208401935060208301925050600181019050612b7e565b5050509392505050565b6000612bc8612bc384613cb1565b613c60565b90508083825260208201905082856020860282011115612beb57612bea6140e4565b5b60005b85811015612c1b5781612c018882612dca565b845260208401935060208301925050600181019050612bee565b5050509392505050565b6000612c38612c3384613cdd565b613c60565b905082815260208101848484011115612c5457612c536140e9565b5b612c5f848285613ee9565b509392505050565b6000612c7a612c7584613d0e565b613c60565b905082815260208101848484011115612c9657612c956140e9565b5b612ca1848285613ee9565b509392505050565b600081359050612cb8816146cb565b92915050565b600082601f830112612cd357612cd26140df565b5b8135612ce3848260208601612b45565b91505092915050565b600082601f830112612d0157612d006140df565b5b8135612d11848260208601612bb5565b91505092915050565b600081359050612d29816146e2565b92915050565b600081359050612d3e816146f9565b92915050565b600081359050612d5381614710565b92915050565b600081519050612d6881614710565b92915050565b600082601f830112612d8357612d826140df565b5b8135612d93848260208601612c25565b91505092915050565b600082601f830112612db157612db06140df565b5b8135612dc1848260208601612c67565b91505092915050565b600081359050612dd981614727565b92915050565b60008060408385031215612df657612df56140f3565b5b6000612e0485828601612ca9565b9250506020612e1585828601612ca9565b9150509250929050565b600080600080600060a08688031215612e3b57612e3a6140f3565b5b6000612e4988828901612ca9565b9550506020612e5a88828901612ca9565b945050604086013567ffffffffffffffff811115612e7b57612e7a6140ee565b5b612e8788828901612cec565b935050606086013567ffffffffffffffff811115612ea857612ea76140ee565b5b612eb488828901612cec565b925050608086013567ffffffffffffffff811115612ed557612ed46140ee565b5b612ee188828901612d6e565b9150509295509295909350565b600080600080600060a08688031215612f0a57612f096140f3565b5b6000612f1888828901612ca9565b9550506020612f2988828901612ca9565b9450506040612f3a88828901612dca565b9350506060612f4b88828901612dca565b925050608086013567ffffffffffffffff811115612f6c57612f6b6140ee565b5b612f7888828901612d6e565b9150509295509295909350565b600080600060608486031215612f9e57612f9d6140f3565b5b6000612fac86828701612ca9565b935050602084013567ffffffffffffffff811115612fcd57612fcc6140ee565b5b612fd986828701612cec565b925050604084013567ffffffffffffffff811115612ffa57612ff96140ee565b5b61300686828701612cec565b9150509250925092565b6000806000806080858703121561302a576130296140f3565b5b600061303887828801612ca9565b945050602085013567ffffffffffffffff811115613059576130586140ee565b5b61306587828801612cec565b935050604085013567ffffffffffffffff811115613086576130856140ee565b5b61309287828801612cec565b925050606085013567ffffffffffffffff8111156130b3576130b26140ee565b5b6130bf87828801612d6e565b91505092959194509250565b600080604083850312156130e2576130e16140f3565b5b60006130f085828601612ca9565b925050602061310185828601612d1a565b9150509250929050565b60008060408385031215613122576131216140f3565b5b600061313085828601612ca9565b925050602061314185828601612dca565b9150509250929050565b600080600060608486031215613164576131636140f3565b5b600061317286828701612ca9565b935050602061318386828701612dca565b925050604084013567ffffffffffffffff8111156131a4576131a36140ee565b5b6131b086828701612d6e565b9150509250925092565b600080600080608085870312156131d4576131d36140f3565b5b60006131e287828801612ca9565b94505060206131f387828801612dca565b935050604061320487828801612dca565b925050606085013567ffffffffffffffff811115613225576132246140ee565b5b61323187828801612d6e565b91505092959194509250565b60008060408385031215613254576132536140f3565b5b600083013567ffffffffffffffff811115613272576132716140ee565b5b61327e85828601612cbe565b925050602083013567ffffffffffffffff81111561329f5761329e6140ee565b5b6132ab85828601612cec565b9150509250929050565b6000602082840312156132cb576132ca6140f3565b5b60006132d984828501612d2f565b91505092915050565b600080604083850312156132f9576132f86140f3565b5b600061330785828601612d2f565b925050602061331885828601612ca9565b9150509250929050565b600060208284031215613338576133376140f3565b5b600061334684828501612d44565b91505092915050565b600060208284031215613365576133646140f3565b5b600061337384828501612d59565b91505092915050565b600060208284031215613392576133916140f3565b5b600082013567ffffffffffffffff8111156133b0576133af6140ee565b5b6133bc84828501612d9c565b91505092915050565b6000602082840312156133db576133da6140f3565b5b60006133e984828501612dca565b91505092915050565b60006133fe83836137d1565b60208301905092915050565b61341381613e6b565b82525050565b600061342482613d4f565b61342e8185613d7d565b935061343983613d3f565b8060005b8381101561346a57815161345188826133f2565b975061345c83613d70565b92505060018101905061343d565b5085935050505092915050565b61348081613e7d565b82525050565b61348f81613e89565b82525050565b60006134a082613d5a565b6134aa8185613d8e565b93506134ba818560208601613ef8565b6134c3816140f8565b840191505092915050565b60006134d982613d65565b6134e38185613d9f565b93506134f3818560208601613ef8565b6134fc816140f8565b840191505092915050565b600061351282613d65565b61351c8185613db0565b935061352c818560208601613ef8565b80840191505092915050565b6000613545603483613d9f565b915061355082614116565b604082019050919050565b6000613568602083613d9f565b915061357382614165565b602082019050919050565b600061358b602883613d9f565b91506135968261418e565b604082019050919050565b60006135ae602b83613d9f565b91506135b9826141dd565b604082019050919050565b60006135d1602483613d9f565b91506135dc8261422c565b604082019050919050565b60006135f4602983613d9f565b91506135ff8261427b565b604082019050919050565b6000613617602583613d9f565b9150613622826142ca565b604082019050919050565b600061363a603283613d9f565b915061364582614319565b604082019050919050565b600061365d602383613d9f565b915061366882614368565b604082019050919050565b6000613680602a83613d9f565b915061368b826143b7565b604082019050919050565b60006136a3601683613d9f565b91506136ae82614406565b602082019050919050565b60006136c6601783613db0565b91506136d18261442f565b601782019050919050565b60006136e9602983613d9f565b91506136f482614458565b604082019050919050565b600061370c602983613d9f565b9150613717826144a7565b604082019050919050565b600061372f602883613d9f565b915061373a826144f6565b604082019050919050565b6000613752602183613d9f565b915061375d82614545565b604082019050919050565b6000613775601f83613d9f565b915061378082614594565b602082019050919050565b6000613798601183613db0565b91506137a3826145bd565b601182019050919050565b60006137bb602f83613d9f565b91506137c6826145e6565b604082019050919050565b6137da81613edf565b82525050565b6137e981613edf565b82525050565b60006137fa826136b9565b91506138068285613507565b91506138118261378b565b915061381d8284613507565b91508190509392505050565b600060a08201905061383e600083018861340a565b61384b602083018761340a565b818103604083015261385d8186613419565b905081810360608301526138718185613419565b905081810360808301526138858184613495565b90509695505050505050565b600060a0820190506138a6600083018861340a565b6138b3602083018761340a565b6138c060408301866137e0565b6138cd60608301856137e0565b81810360808301526138df8184613495565b90509695505050505050565b6000604082019050613900600083018561340a565b61390d60208301846137e0565b9392505050565b6000606082019050613929600083018661340a565b61393660208301856137e0565b61394360408301846137e0565b949350505050565b600060208201905081810360008301526139658184613419565b905092915050565b600060408201905081810360008301526139878185613419565b9050818103602083015261399b8184613419565b90509392505050565b60006020820190506139b96000830184613477565b92915050565b60006020820190506139d46000830184613486565b92915050565b600060208201905081810360008301526139f481846134ce565b905092915050565b60006020820190508181036000830152613a1581613538565b9050919050565b60006020820190508181036000830152613a358161355b565b9050919050565b60006020820190508181036000830152613a558161357e565b9050919050565b60006020820190508181036000830152613a75816135a1565b9050919050565b60006020820190508181036000830152613a95816135c4565b9050919050565b60006020820190508181036000830152613ab5816135e7565b9050919050565b60006020820190508181036000830152613ad58161360a565b9050919050565b60006020820190508181036000830152613af58161362d565b9050919050565b60006020820190508181036000830152613b1581613650565b9050919050565b60006020820190508181036000830152613b3581613673565b9050919050565b60006020820190508181036000830152613b5581613696565b9050919050565b60006020820190508181036000830152613b75816136dc565b9050919050565b60006020820190508181036000830152613b95816136ff565b9050919050565b60006020820190508181036000830152613bb581613722565b9050919050565b60006020820190508181036000830152613bd581613745565b9050919050565b60006020820190508181036000830152613bf581613768565b9050919050565b60006020820190508181036000830152613c15816137ae565b9050919050565b6000602082019050613c3160008301846137e0565b92915050565b6000604082019050613c4c60008301856137e0565b613c5960208301846137e0565b9392505050565b6000613c6a613c7b565b9050613c768282613f87565b919050565b6000604051905090565b600067ffffffffffffffff821115613ca057613c9f61408e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613ccc57613ccb61408e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613cf857613cf761408e565b5b613d01826140f8565b9050602081019050919050565b600067ffffffffffffffff821115613d2957613d2861408e565b5b613d32826140f8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613dc682613edf565b9150613dd183613edf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e0657613e05614001565b5b828201905092915050565b6000613e1c82613edf565b9150613e2783613edf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e6057613e5f614001565b5b828202905092915050565b6000613e7682613ebf565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f16578082015181840152602081019050613efb565b83811115613f25576000848401525b50505050565b6000613f3682613edf565b91506000821415613f4a57613f49614001565b5b600182039050919050565b60006002820490506001821680613f6d57607f821691505b60208210811415613f8157613f80614030565b5b50919050565b613f90826140f8565b810181811067ffffffffffffffff82111715613faf57613fae61408e565b5b80604052505050565b6000613fc382613edf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ff657613ff5614001565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156140dc5760046000803e6140d9600051614109565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4847543a204e6f2047656e6573697320546f6b656e2e00000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d1015614645576146c8565b61464d613c7b565b60043d036004823e80513d602482011167ffffffffffffffff821117156146755750506146c8565b808201805167ffffffffffffffff81111561469357505050506146c8565b80602083010160043d0385018111156146b05750505050506146c8565b6146bf82602001850186613f87565b82955050505050505b90565b6146d481613e6b565b81146146df57600080fd5b50565b6146eb81613e7d565b81146146f657600080fd5b50565b61470281613e89565b811461470d57600080fd5b50565b61471981613e93565b811461472457600080fd5b50565b61473081613edf565b811461473b57600080fd5b5056fea26469706673582212203f2fa66f07a37dd216f67ccb29823fee5d4527aa46ed51620a372af07b39489864736f6c63430008060033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b67656e657369737572692f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4855584c45592047656e65736973000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000747454e4553495300000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c80634e1273f4116100de57806395d89b4111610097578063d539139311610071578063d539139314610445578063d547741f14610463578063e985e9c51461047f578063f242432a146104af57610172565b806395d89b41146103ed578063a217fddf1461040b578063a22cb4651461042957610172565b80634e1273f4146103195780635ab1b0a6146103495780636b20c454146103675780637fa46ab41461038357806391d14854146103a157806394d008ef146103d157610172565b80631f7fdffa116101305780631f7fdffa1461025d578063248a9ca3146102795780632eb2c2d6146102a95780632f2ff15d146102c557806336568abe146102e157806340016801146102fd57610172565b8062fdd58e1461017757806301ffc9a7146101a757806302fe5305146101d757806306fdde03146101f35780630e89341c146102115780631e9a695014610241575b600080fd5b610191600480360381019061018c919061310b565b6104cb565b60405161019e9190613c1c565b60405180910390f35b6101c160048036038101906101bc9190613322565b610594565b6040516101ce91906139a4565b60405180910390f35b6101f160048036038101906101ec919061337c565b610676565b005b6101fb610698565b60405161020891906139da565b60405180910390f35b61022b600480360381019061022691906133c5565b610726565b60405161023891906139da565b60405180910390f35b61025b6004803603810190610256919061310b565b6107ba565b005b61027760048036038101906102729190613010565b610883565b005b610293600480360381019061028e91906132b5565b61091e565b6040516102a091906139bf565b60405180910390f35b6102c360048036038101906102be9190612e1f565b61093e565b005b6102df60048036038101906102da91906132e2565b6109df565b005b6102fb60048036038101906102f691906132e2565b610a08565b005b610317600480360381019061031291906131ba565b610a8b565b005b610333600480360381019061032e919061323d565b610b61565b604051610340919061394b565b60405180910390f35b610351610c7a565b60405161035e91906139bf565b60405180910390f35b610381600480360381019061037c9190612f85565b610c9e565b005b61038b610ce1565b60405161039891906139bf565b60405180910390f35b6103bb60048036038101906103b691906132e2565b610d05565b6040516103c891906139a4565b60405180910390f35b6103eb60048036038101906103e6919061314b565b610d70565b005b6103f5610e0b565b60405161040291906139da565b60405180910390f35b610413610e99565b60405161042091906139bf565b60405180910390f35b610443600480360381019061043e91906130cb565b610ea0565b005b61044d611021565b60405161045a91906139bf565b60405180910390f35b61047d600480360381019061047891906132e2565b611045565b005b61049960048036038101906104949190612ddf565b61106e565b6040516104a691906139a4565b60405180910390f35b6104c960048036038101906104c49190612eee565b611102565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561053c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053390613a5c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061066f575061066e826111a3565b5b9050919050565b6000801b61068b8161068661121d565b611225565b610694826112c2565b5050565b600580546106a590613f55565b80601f01602080910402602001604051908101604052809291908181526020018280546106d190613f55565b801561071e5780601f106106f35761010080835404028352916020019161071e565b820191906000526020600020905b81548152906001019060200180831161070157829003601f168201915b505050505081565b60606002805461073590613f55565b80601f016020809104026020016040519081016040528092919081815260200182805461076190613f55565b80156107ae5780601f10610783576101008083540402835291602001916107ae565b820191906000526020600020905b81548152906001019060200180831161079157829003601f168201915b50505050509050919050565b7f44ac9762eec3a11893fefb11d028bb3102560094137c3ed4518712475b2577cc6107ec816107e761121d565b611225565b60016107f884846104cb565b1015610839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083090613b3c565b60405180910390fd5b610845838360016112dc565b7ff48b39115f17770fac7e43d0839899fdff71161cc52162b9fdc41c16fd70bd3183836040516108769291906138eb565b60405180910390a1505050565b600260035414156108c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c090613bdc565b60405180910390fd5b60026003819055507f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610903816108fe61121d565b611225565b61090f858585856114f9565b50600160038190555050505050565b600060046000838152602001908152602001600020600101549050919050565b61094661121d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061098c575061098b8561098661121d565b61106e565b5b6109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290613adc565b60405180910390fd5b6109d88585858585611717565b5050505050565b6109e88261091e565b6109f9816109f461121d565b611225565b610a038383611a2b565b505050565b610a1061121d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490613bfc565b60405180910390fd5b610a878282611b0c565b5050565b60026003541415610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890613bdc565b60405180910390fd5b60026003819055507fca848e25c38887dc92feb619111bce326f6d6dc179e86e86381bdb8c00d097b5610b0b81610b0661121d565b611225565b610b1785848685611bee565b7f5b0741c360d81cbcdcfdcd67bc4707a3491fb7d747beaf7405189b3f39c98e0c858486604051610b4a93929190613914565b60405180910390a150600160038190555050505050565b60608151835114610ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9e90613b7c565b60405180910390fd5b6000835167ffffffffffffffff811115610bc457610bc361408e565b5b604051908082528060200260200182016040528015610bf25781602001602082028036833780820191505090505b50905060005b8451811015610c6f57610c3f858281518110610c1757610c1661405f565b5b6020026020010151858381518110610c3257610c3161405f565b5b60200260200101516104cb565b828281518110610c5257610c5161405f565b5b60200260200101818152505080610c6890613fb8565b9050610bf8565b508091505092915050565b7fca848e25c38887dc92feb619111bce326f6d6dc179e86e86381bdb8c00d097b581565b7f44ac9762eec3a11893fefb11d028bb3102560094137c3ed4518712475b2577cc610cd081610ccb61121d565b611225565b610cdb848484611d84565b50505050565b7f44ac9762eec3a11893fefb11d028bb3102560094137c3ed4518712475b2577cc81565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026003541415610db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dad90613bdc565b60405180910390fd5b60026003819055507f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610df081610deb61121d565b611225565b610dfd8484600185611bee565b506001600381905550505050565b60068054610e1890613f55565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4490613f55565b8015610e915780601f10610e6657610100808354040283529160200191610e91565b820191906000526020600020905b815481529060010190602001808311610e7457829003601f168201915b505050505081565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610ebf61121d565b73ffffffffffffffffffffffffffffffffffffffff161415610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90613b5c565b60405180910390fd5b8060016000610f2361121d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fd061121d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161101591906139a4565b60405180910390a35050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61104e8261091e565b61105f8161105a61121d565b611225565b6110698383611b0c565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61110a61121d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611150575061114f8561114a61121d565b61106e565b5b61118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690613a9c565b60405180910390fd5b61119c8585858585612035565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112165750611215826122b7565b5b9050919050565b600033905090565b61122f8282610d05565b6112be576112548173ffffffffffffffffffffffffffffffffffffffff166014612399565b6112628360001c6020612399565b6040516020016112739291906137ef565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b591906139da565b60405180910390fd5b5050565b80600290805190602001906112d8929190612aa2565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390613afc565b60405180910390fd5b600061135661121d565b905061138681856000611368876125d5565b611371876125d5565b6040518060200160405280600081525061264f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561141d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141490613a7c565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516114ea929190613c37565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156090613bbc565b60405180910390fd5b81518351146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490613b9c565b60405180910390fd5b60006115b761121d565b90506115c88160008787878761264f565b60005b8451811015611681578381815181106115e7576115e661405f565b5b60200260200101516000808784815181106116055761160461405f565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116679190613dbb565b92505081905550808061167990613fb8565b9150506115cb565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116f992919061396d565b60405180910390a461171081600087878787612657565b5050505050565b815183511461175b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175290613b9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290613abc565b60405180910390fd5b60006117d561121d565b90506117e581878787878761264f565b60005b84518110156119965760008582815181106118065761180561405f565b5b6020026020010151905060008583815181106118255761182461405f565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd90613b1c565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197b9190613dbb565b925050819055505050508061198f90613fb8565b90506117e8565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a0d92919061396d565b60405180910390a4611a23818787878787612657565b505050505050565b611a358282610d05565b611b085760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611aad61121d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611b168282610d05565b15611bea5760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b8f61121d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590613bbc565b60405180910390fd5b6000611c6861121d565b9050611c8981600087611c7a886125d5565b611c83886125d5565b8761264f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce89190613dbb565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611d66929190613c37565b60405180910390a4611d7d8160008787878761283e565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611deb90613afc565b60405180910390fd5b8051825114611e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2f90613b9c565b60405180910390fd5b6000611e4261121d565b9050611e628185600086866040518060200160405280600081525061264f565b60005b8351811015611faf576000848281518110611e8357611e8261405f565b5b602002602001015190506000848381518110611ea257611ea161405f565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3a90613a7c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611fa790613fb8565b915050611e65565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161202792919061396d565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209c90613abc565b60405180910390fd5b60006120af61121d565b90506120cf8187876120c0886125d5565b6120c9886125d5565b8761264f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90613b1c565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221b9190613dbb565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612298929190613c37565b60405180910390a46122ae82888888888861283e565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061238257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612392575061239182612a25565b5b9050919050565b6060600060028360026123ac9190613e11565b6123b69190613dbb565b67ffffffffffffffff8111156123cf576123ce61408e565b5b6040519080825280601f01601f1916602001820160405280156124015781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106124395761243861405f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061249d5761249c61405f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026124dd9190613e11565b6124e79190613dbb565b90505b6001811115612587577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106125295761252861405f565b5b1a60f81b8282815181106125405761253f61405f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061258090613f2b565b90506124ea565b50600084146125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c290613a1c565b60405180910390fd5b8091505092915050565b60606000600167ffffffffffffffff8111156125f4576125f361408e565b5b6040519080825280602002602001820160405280156126225781602001602082028036833780820191505090505b509050828160008151811061263a5761263961405f565b5b60200260200101818152505080915050919050565b505050505050565b6126768473ffffffffffffffffffffffffffffffffffffffff16612a8f565b15612836578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016126bc959493929190613829565b602060405180830381600087803b1580156126d657600080fd5b505af192505050801561270757506040513d601f19601f82011682018060405250810190612704919061334f565b60015b6127ad576127136140bd565b806308c379a014156127705750612728614635565b806127335750612772565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276791906139da565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a4906139fc565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282b90613a3c565b60405180910390fd5b505b505050505050565b61285d8473ffffffffffffffffffffffffffffffffffffffff16612a8f565b15612a1d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128a3959493929190613891565b602060405180830381600087803b1580156128bd57600080fd5b505af19250505080156128ee57506040513d601f19601f820116820180604052508101906128eb919061334f565b60015b612994576128fa6140bd565b806308c379a01415612957575061290f614635565b8061291a5750612959565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294e91906139da565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b906139fc565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1290613a3c565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b828054612aae90613f55565b90600052602060002090601f016020900481019282612ad05760008555612b17565b82601f10612ae957805160ff1916838001178555612b17565b82800160010185558215612b17579182015b82811115612b16578251825591602001919060010190612afb565b5b509050612b249190612b28565b5090565b5b80821115612b41576000816000905550600101612b29565b5090565b6000612b58612b5384613c85565b613c60565b90508083825260208201905082856020860282011115612b7b57612b7a6140e4565b5b60005b85811015612bab5781612b918882612ca9565b845260208401935060208301925050600181019050612b7e565b5050509392505050565b6000612bc8612bc384613cb1565b613c60565b90508083825260208201905082856020860282011115612beb57612bea6140e4565b5b60005b85811015612c1b5781612c018882612dca565b845260208401935060208301925050600181019050612bee565b5050509392505050565b6000612c38612c3384613cdd565b613c60565b905082815260208101848484011115612c5457612c536140e9565b5b612c5f848285613ee9565b509392505050565b6000612c7a612c7584613d0e565b613c60565b905082815260208101848484011115612c9657612c956140e9565b5b612ca1848285613ee9565b509392505050565b600081359050612cb8816146cb565b92915050565b600082601f830112612cd357612cd26140df565b5b8135612ce3848260208601612b45565b91505092915050565b600082601f830112612d0157612d006140df565b5b8135612d11848260208601612bb5565b91505092915050565b600081359050612d29816146e2565b92915050565b600081359050612d3e816146f9565b92915050565b600081359050612d5381614710565b92915050565b600081519050612d6881614710565b92915050565b600082601f830112612d8357612d826140df565b5b8135612d93848260208601612c25565b91505092915050565b600082601f830112612db157612db06140df565b5b8135612dc1848260208601612c67565b91505092915050565b600081359050612dd981614727565b92915050565b60008060408385031215612df657612df56140f3565b5b6000612e0485828601612ca9565b9250506020612e1585828601612ca9565b9150509250929050565b600080600080600060a08688031215612e3b57612e3a6140f3565b5b6000612e4988828901612ca9565b9550506020612e5a88828901612ca9565b945050604086013567ffffffffffffffff811115612e7b57612e7a6140ee565b5b612e8788828901612cec565b935050606086013567ffffffffffffffff811115612ea857612ea76140ee565b5b612eb488828901612cec565b925050608086013567ffffffffffffffff811115612ed557612ed46140ee565b5b612ee188828901612d6e565b9150509295509295909350565b600080600080600060a08688031215612f0a57612f096140f3565b5b6000612f1888828901612ca9565b9550506020612f2988828901612ca9565b9450506040612f3a88828901612dca565b9350506060612f4b88828901612dca565b925050608086013567ffffffffffffffff811115612f6c57612f6b6140ee565b5b612f7888828901612d6e565b9150509295509295909350565b600080600060608486031215612f9e57612f9d6140f3565b5b6000612fac86828701612ca9565b935050602084013567ffffffffffffffff811115612fcd57612fcc6140ee565b5b612fd986828701612cec565b925050604084013567ffffffffffffffff811115612ffa57612ff96140ee565b5b61300686828701612cec565b9150509250925092565b6000806000806080858703121561302a576130296140f3565b5b600061303887828801612ca9565b945050602085013567ffffffffffffffff811115613059576130586140ee565b5b61306587828801612cec565b935050604085013567ffffffffffffffff811115613086576130856140ee565b5b61309287828801612cec565b925050606085013567ffffffffffffffff8111156130b3576130b26140ee565b5b6130bf87828801612d6e565b91505092959194509250565b600080604083850312156130e2576130e16140f3565b5b60006130f085828601612ca9565b925050602061310185828601612d1a565b9150509250929050565b60008060408385031215613122576131216140f3565b5b600061313085828601612ca9565b925050602061314185828601612dca565b9150509250929050565b600080600060608486031215613164576131636140f3565b5b600061317286828701612ca9565b935050602061318386828701612dca565b925050604084013567ffffffffffffffff8111156131a4576131a36140ee565b5b6131b086828701612d6e565b9150509250925092565b600080600080608085870312156131d4576131d36140f3565b5b60006131e287828801612ca9565b94505060206131f387828801612dca565b935050604061320487828801612dca565b925050606085013567ffffffffffffffff811115613225576132246140ee565b5b61323187828801612d6e565b91505092959194509250565b60008060408385031215613254576132536140f3565b5b600083013567ffffffffffffffff811115613272576132716140ee565b5b61327e85828601612cbe565b925050602083013567ffffffffffffffff81111561329f5761329e6140ee565b5b6132ab85828601612cec565b9150509250929050565b6000602082840312156132cb576132ca6140f3565b5b60006132d984828501612d2f565b91505092915050565b600080604083850312156132f9576132f86140f3565b5b600061330785828601612d2f565b925050602061331885828601612ca9565b9150509250929050565b600060208284031215613338576133376140f3565b5b600061334684828501612d44565b91505092915050565b600060208284031215613365576133646140f3565b5b600061337384828501612d59565b91505092915050565b600060208284031215613392576133916140f3565b5b600082013567ffffffffffffffff8111156133b0576133af6140ee565b5b6133bc84828501612d9c565b91505092915050565b6000602082840312156133db576133da6140f3565b5b60006133e984828501612dca565b91505092915050565b60006133fe83836137d1565b60208301905092915050565b61341381613e6b565b82525050565b600061342482613d4f565b61342e8185613d7d565b935061343983613d3f565b8060005b8381101561346a57815161345188826133f2565b975061345c83613d70565b92505060018101905061343d565b5085935050505092915050565b61348081613e7d565b82525050565b61348f81613e89565b82525050565b60006134a082613d5a565b6134aa8185613d8e565b93506134ba818560208601613ef8565b6134c3816140f8565b840191505092915050565b60006134d982613d65565b6134e38185613d9f565b93506134f3818560208601613ef8565b6134fc816140f8565b840191505092915050565b600061351282613d65565b61351c8185613db0565b935061352c818560208601613ef8565b80840191505092915050565b6000613545603483613d9f565b915061355082614116565b604082019050919050565b6000613568602083613d9f565b915061357382614165565b602082019050919050565b600061358b602883613d9f565b91506135968261418e565b604082019050919050565b60006135ae602b83613d9f565b91506135b9826141dd565b604082019050919050565b60006135d1602483613d9f565b91506135dc8261422c565b604082019050919050565b60006135f4602983613d9f565b91506135ff8261427b565b604082019050919050565b6000613617602583613d9f565b9150613622826142ca565b604082019050919050565b600061363a603283613d9f565b915061364582614319565b604082019050919050565b600061365d602383613d9f565b915061366882614368565b604082019050919050565b6000613680602a83613d9f565b915061368b826143b7565b604082019050919050565b60006136a3601683613d9f565b91506136ae82614406565b602082019050919050565b60006136c6601783613db0565b91506136d18261442f565b601782019050919050565b60006136e9602983613d9f565b91506136f482614458565b604082019050919050565b600061370c602983613d9f565b9150613717826144a7565b604082019050919050565b600061372f602883613d9f565b915061373a826144f6565b604082019050919050565b6000613752602183613d9f565b915061375d82614545565b604082019050919050565b6000613775601f83613d9f565b915061378082614594565b602082019050919050565b6000613798601183613db0565b91506137a3826145bd565b601182019050919050565b60006137bb602f83613d9f565b91506137c6826145e6565b604082019050919050565b6137da81613edf565b82525050565b6137e981613edf565b82525050565b60006137fa826136b9565b91506138068285613507565b91506138118261378b565b915061381d8284613507565b91508190509392505050565b600060a08201905061383e600083018861340a565b61384b602083018761340a565b818103604083015261385d8186613419565b905081810360608301526138718185613419565b905081810360808301526138858184613495565b90509695505050505050565b600060a0820190506138a6600083018861340a565b6138b3602083018761340a565b6138c060408301866137e0565b6138cd60608301856137e0565b81810360808301526138df8184613495565b90509695505050505050565b6000604082019050613900600083018561340a565b61390d60208301846137e0565b9392505050565b6000606082019050613929600083018661340a565b61393660208301856137e0565b61394360408301846137e0565b949350505050565b600060208201905081810360008301526139658184613419565b905092915050565b600060408201905081810360008301526139878185613419565b9050818103602083015261399b8184613419565b90509392505050565b60006020820190506139b96000830184613477565b92915050565b60006020820190506139d46000830184613486565b92915050565b600060208201905081810360008301526139f481846134ce565b905092915050565b60006020820190508181036000830152613a1581613538565b9050919050565b60006020820190508181036000830152613a358161355b565b9050919050565b60006020820190508181036000830152613a558161357e565b9050919050565b60006020820190508181036000830152613a75816135a1565b9050919050565b60006020820190508181036000830152613a95816135c4565b9050919050565b60006020820190508181036000830152613ab5816135e7565b9050919050565b60006020820190508181036000830152613ad58161360a565b9050919050565b60006020820190508181036000830152613af58161362d565b9050919050565b60006020820190508181036000830152613b1581613650565b9050919050565b60006020820190508181036000830152613b3581613673565b9050919050565b60006020820190508181036000830152613b5581613696565b9050919050565b60006020820190508181036000830152613b75816136dc565b9050919050565b60006020820190508181036000830152613b95816136ff565b9050919050565b60006020820190508181036000830152613bb581613722565b9050919050565b60006020820190508181036000830152613bd581613745565b9050919050565b60006020820190508181036000830152613bf581613768565b9050919050565b60006020820190508181036000830152613c15816137ae565b9050919050565b6000602082019050613c3160008301846137e0565b92915050565b6000604082019050613c4c60008301856137e0565b613c5960208301846137e0565b9392505050565b6000613c6a613c7b565b9050613c768282613f87565b919050565b6000604051905090565b600067ffffffffffffffff821115613ca057613c9f61408e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613ccc57613ccb61408e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613cf857613cf761408e565b5b613d01826140f8565b9050602081019050919050565b600067ffffffffffffffff821115613d2957613d2861408e565b5b613d32826140f8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613dc682613edf565b9150613dd183613edf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e0657613e05614001565b5b828201905092915050565b6000613e1c82613edf565b9150613e2783613edf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e6057613e5f614001565b5b828202905092915050565b6000613e7682613ebf565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f16578082015181840152602081019050613efb565b83811115613f25576000848401525b50505050565b6000613f3682613edf565b91506000821415613f4a57613f49614001565b5b600182039050919050565b60006002820490506001821680613f6d57607f821691505b60208210811415613f8157613f80614030565b5b50919050565b613f90826140f8565b810181811067ffffffffffffffff82111715613faf57613fae61408e565b5b80604052505050565b6000613fc382613edf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ff657613ff5614001565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156140dc5760046000803e6140d9600051614109565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4847543a204e6f2047656e6573697320546f6b656e2e00000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d1015614645576146c8565b61464d613c7b565b60043d036004823e80513d602482011167ffffffffffffffff821117156146755750506146c8565b808201805167ffffffffffffffff81111561469357505050506146c8565b80602083010160043d0385018111156146b05750505050506146c8565b6146bf82602001850186613f87565b82955050505050505b90565b6146d481613e6b565b81146146df57600080fd5b50565b6146eb81613e7d565b81146146f657600080fd5b50565b61470281613e89565b811461470d57600080fd5b50565b61471981613e93565b811461472457600080fd5b50565b61473081613edf565b811461473b57600080fd5b5056fea26469706673582212203f2fa66f07a37dd216f67ccb29823fee5d4527aa46ed51620a372af07b39489864736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b67656e657369737572692f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4855584c45592047656e65736973000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000747454e4553495300000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): genesisuri/
Arg [1] : _name (string): HUXLEY Genesis
Arg [2] : _symbol (string): GENESIS

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 67656e657369737572692f000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [6] : 4855584c45592047656e65736973000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 47454e4553495300000000000000000000000000000000000000000000000000


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.