ETH Price: $3,278.75 (-1.58%)

Contract

0x046427fA6b924739Cd98Ee507CB0db34c7A66C2e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...205743242024-08-21 3:31:47124 days ago1724211107IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.000023970.98145712
Set Approval For...194518952024-03-17 3:27:59281 days ago1710646079IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0006158325.21022459
Set Approval For...188536832023-12-24 5:55:11365 days ago1703397311IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0009227319.91238537
Set Approval For...188027342023-12-17 2:19:11372 days ago1702779551IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0009215437.72496741
Set Approval For...179697842023-08-22 10:53:35489 days ago1692701615IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0009903121.37058989
Set Approval For...179670262023-08-22 1:38:35489 days ago1692668315IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0007537516.26576619
Set Approval For...177340592023-07-20 11:23:11522 days ago1689852191IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0007870717.01553785
Set Approval For...175704942023-06-27 11:47:23545 days ago1687866443IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0003162512.94645107
Set Approval For...170408222023-04-13 20:46:11619 days ago1681418771IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0014215930.7330994
Set Approval For...170110972023-04-09 13:40:59624 days ago1681047659IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.000542322.19994121
Set Approval For...169311932023-03-29 6:33:11635 days ago1680071591IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0007023928.76781796
Set Approval For...169311532023-03-29 6:24:59635 days ago1680071099IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0012150826.22783609
Set Approval For...168103262023-03-12 7:01:35652 days ago1678604495IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.000513121.00464381
Set Approval For...166201412023-02-13 13:29:23679 days ago1676294963IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.000528521.63501694
Set Approval For...165237352023-01-31 2:10:47692 days ago1675131047IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0003841215.72490936
Set Approval For...165129112023-01-29 13:55:23694 days ago1675000523IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0003610614.78098619
Set Approval For...163081932023-01-01 0:00:47722 days ago1672531247IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0009494120.49335272
Set Approval For...162234352022-12-20 4:12:11734 days ago1671509531IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0003142912.9104777
Set Approval For...162234122022-12-20 4:07:35734 days ago1671509255IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0005700412.3236313
Set Approval For...158874902022-11-03 5:44:47781 days ago1667454287IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0003218413.17539297
Set Approval For...158459382022-10-28 10:23:59787 days ago1666952639IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.000238659.76982492
Set Approval For...157966462022-10-21 13:00:59794 days ago1666357259IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0006866428.10878247
Set Approval For...157264752022-10-11 17:51:35803 days ago1665510695IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0006844228.01819647
Set Approval For...152765442022-08-04 14:53:20872 days ago1659624800IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.0008022317.34331698
Set Approval For...152291562022-07-28 5:41:31879 days ago1658986891IN
Alpha Finance Lab: Old Provably Rare Gem
0 ETH0.000422429.13225664
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ProvablyRareGem

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-06
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;



// Part: Base64

/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
  bytes internal constant TABLE =
    'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

  /// @notice Encodes some bytes to the base64 representation
  function encode(bytes memory data) internal pure returns (string memory) {
    uint len = data.length;
    if (len == 0) return '';
    // multiply by 4/3 rounded up
    uint encodedLen = 4 * ((len + 2) / 3);
    // Add some extra buffer at the end
    bytes memory result = new bytes(encodedLen + 32);
    bytes memory table = TABLE;
    assembly {
      let tablePtr := add(table, 1)
      let resultPtr := add(result, 32)
      for {
        let i := 0
      } lt(i, len) {

      } {
        i := add(i, 3)
        let input := and(mload(add(data, i)), 0xffffff)
        let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
        out := shl(224, out)
        mstore(resultPtr, out)
        resultPtr := add(resultPtr, 4)
      }
      switch mod(len, 3)
      case 1 {
        mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
      }
      case 2 {
        mstore(sub(resultPtr, 1), shl(248, 0x3d))
      }
      mstore(result, encodedLen)
    }
    return string(result);
  }
}

// Part: OpenZeppelin/[email protected]/Address

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Part: OpenZeppelin/[email protected]/Context

/**
 * @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;
    }
}

// Part: OpenZeppelin/[email protected]/IERC165

/**
 * @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);
}

// Part: OpenZeppelin/[email protected]/ReentrancyGuard

/**
 * @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;
    }
}

// Part: OpenZeppelin/[email protected]/ERC165

/**
 * @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;
    }
}

// Part: OpenZeppelin/[email protected]/IERC1155

/**
 * @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;
}

// Part: OpenZeppelin/[email protected]/IERC1155Receiver

/**
 * @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);
}

// Part: OpenZeppelin/[email protected]/IERC1155MetadataURI

/**
 * @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);
}

// Part: OpenZeppelin/[email protected]/ERC1155

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        return array;
    }
}

// Part: OpenZeppelin/[email protected]/ERC1155Supply

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

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

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

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

// File: ProvablyRareGem.sol

/// @title Provably Rare Gems
/// @author Sorawit Suriyakarn (swit.eth / https://twitter.com/nomorebear)
contract ProvablyRareGem is ERC1155Supply, ReentrancyGuard {
  event Create(uint indexed kind);
  event Mine(address indexed miner, uint indexed kind);

  struct Gem {
    string name; // Gem name
    string color; // Gem color
    bytes32 entropy; // Additional mining entropy. bytes32(0) means can't mine.
    uint difficulty; // Current difficulity level. Must be non decreasing
    uint gemsPerMine; // Amount of gems to distribute per mine
    uint multiplier; // Difficulty multiplier times 1e4. Must be between 1e4 and 1e10
    address crafter; // Address that can craft gems
    address manager; // Current gem manager
    address pendingManager; // Pending gem manager to be transferred to
  }

  mapping(uint => Gem) public gems;
  mapping(address => uint) public nonce;
  uint public gemCount;

  constructor() ERC1155('GEM') {}

  /// @dev Creates a new gem type. The manager can craft a portion of gems + can premine
  function create(
    string calldata name,
    string calldata color,
    uint difficulty,
    uint gemsPerMine,
    uint multiplier,
    address crafter,
    address manager
  ) external returns (uint) {
    require(difficulty > 0 && difficulty <= 2**128, 'bad difficulty');
    require(gemsPerMine > 0 && gemsPerMine <= 1e6, 'bad gems per mine');
    require(multiplier >= 1e4 && multiplier <= 1e10, 'bad multiplier');
    require(manager != address(0), 'bad manager');
    return _create(name, color, difficulty, gemsPerMine, multiplier, crafter, manager);
  }

  /// @dev Mines new gemstones. Puts kind you want to mine + your salt and tests your luck!
  function mine(uint kind, uint salt) external nonReentrant {
    uint val = luck(kind, salt);
    nonce[msg.sender]++;
    require(kind < gemCount, 'gem kind not exist');
    uint diff = gems[kind].difficulty;
    require(val <= type(uint).max / diff, 'salt not good enough');
    gems[kind].difficulty = (diff * gems[kind].multiplier) / 10000 + 1;
    _mint(msg.sender, kind, gems[kind].gemsPerMine, '');
  }

  /// @dev Updates gem mining entropy. Can be called by gem manager or crafter.
  function updateEntropy(uint kind, bytes32 entropy) external {
    require(kind < gemCount, 'gem kind not exist');
    require(gems[kind].manager == msg.sender || gems[kind].crafter == msg.sender, 'unauthorized');
    gems[kind].entropy = entropy;
  }

  /// @dev Updates gem metadata info. Must only be called by the gem manager.
  function updateGemInfo(
    uint kind,
    string calldata name,
    string calldata color
  ) external {
    require(kind < gemCount, 'gem kind not exist');
    require(gems[kind].manager == msg.sender, 'not gem manager');
    gems[kind].name = name;
    gems[kind].color = color;
  }

  /// @dev Updates gem mining information. Must only be called by the gem manager.
  function updateMiningData(
    uint kind,
    uint difficulty,
    uint multiplier,
    uint gemsPerMine
  ) external {
    require(kind < gemCount, 'gem kind not exist');
    require(gems[kind].manager == msg.sender, 'not gem manager');
    require(difficulty > 0 && difficulty <= 2**128, 'bad difficulty');
    require(multiplier >= 1e4 && multiplier <= 1e10, 'bad multiplier');
    require(gemsPerMine > 0 && gemsPerMine <= 1e6, 'bad gems per mine');
    gems[kind].difficulty = difficulty;
    gems[kind].multiplier = multiplier;
    gems[kind].gemsPerMine = gemsPerMine;
  }

  /// @dev Renounce management ownership for the given gem kinds.
  function renounceManager(uint[] calldata kinds) external {
    for (uint idx = 0; idx < kinds.length; idx++) {
      uint kind = kinds[idx];
      require(kind < gemCount, 'gem kind not exist');
      require(gems[kind].manager == msg.sender, 'not gem manager');
      gems[kind].manager = address(0);
      gems[kind].pendingManager = address(0);
    }
  }

  /// @dev Updates gem crafter. Must only be called by the gem manager.
  function updateCrafter(uint[] calldata kinds, address crafter) external {
    for (uint idx = 0; idx < kinds.length; idx++) {
      uint kind = kinds[idx];
      require(kind < gemCount, 'gem kind not exist');
      require(gems[kind].manager == msg.sender, 'not gem manager');
      gems[kind].crafter = crafter;
    }
  }

  /// @dev Transfers management ownership for the given gem kinds to another address.
  function transferManager(uint[] calldata kinds, address to) external {
    for (uint idx = 0; idx < kinds.length; idx++) {
      uint kind = kinds[idx];
      require(kind < gemCount, 'gem kind not exist');
      require(gems[kind].manager == msg.sender, 'not gem manager');
      gems[kind].pendingManager = to;
    }
  }

  /// @dev Accepts management position for the given gem kinds.
  function acceptManager(uint[] calldata kinds) external {
    for (uint idx = 0; idx < kinds.length; idx++) {
      uint kind = kinds[idx];
      require(kind < gemCount, 'gem kind not exist');
      require(gems[kind].pendingManager == msg.sender, 'not pending manager');
      gems[kind].pendingManager = address(0);
      gems[kind].manager = msg.sender;
    }
  }

  /// @dev Mints gems by crafter. Hopefully, crafter is a good guy. Craft gemsPerMine if amount = 0.
  function craft(
    uint kind,
    uint amount,
    address to
  ) external nonReentrant {
    require(kind < gemCount, 'gem kind not exist');
    require(gems[kind].crafter == msg.sender, 'not gem crafter');
    uint realAmount = amount == 0 ? gems[kind].gemsPerMine : amount;
    _mint(to, kind, realAmount, '');
  }

  /// @dev Returns your luck given salt and gem kind. The smaller the value, the more success chance.
  function luck(uint kind, uint salt) public view returns (uint) {
    require(kind < gemCount, 'gem kind not exist');
    bytes32 entropy = gems[kind].entropy;
    require(entropy != bytes32(0), 'no entropy');
    bytes memory data = abi.encodePacked(
      block.chainid,
      entropy,
      address(this),
      msg.sender,
      kind,
      nonce[msg.sender],
      salt
    );
    return uint(keccak256(data));
  }

  /// @dev Internal function for creating a new gem kind
  function _create(
    string memory name,
    string memory color,
    uint difficulty,
    uint gemsPerMine,
    uint multiplier,
    address crafter,
    address manager
  ) internal returns (uint) {
    uint kind = gemCount++;
    gems[kind] = Gem({
      name: name,
      color: color,
      entropy: bytes32(0),
      difficulty: difficulty,
      gemsPerMine: gemsPerMine,
      multiplier: multiplier,
      crafter: crafter,
      manager: manager,
      pendingManager: address(0)
    });
    emit Create(kind);
    return kind;
  }

  // prettier-ignore
  function uri(uint kind) public view override returns (string memory) {
    require(kind < gemCount, 'gem kind not exist');
    string memory output = string(abi.encodePacked(
        '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: ',
        gems[kind].color,
        '; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="white" /><text x="10" y="20" class="base">',
        gems[kind].name,
        '</text><text x="10" y="40" class="base">',
        '</text></svg>'
    ));
    string memory json = Base64.encode(bytes(string(abi.encodePacked(
      '{ "name": "',
      gems[kind].name,
      '", ',
      '"description" : ',
      '"Provably Rare Gems", ',
      '"image": "data:image/svg+xml;base64,',
      Base64.encode(bytes(output)),
      '}'
    ))));
    return string(abi.encodePacked('data:application/json;base64,', json));
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"kind","type":"uint256"}],"name":"Create","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"miner","type":"address"},{"indexed":true,"internalType":"uint256","name":"kind","type":"uint256"}],"name":"Mine","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"kinds","type":"uint256[]"}],"name":"acceptManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"craft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"color","type":"string"},{"internalType":"uint256","name":"difficulty","type":"uint256"},{"internalType":"uint256","name":"gemsPerMine","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"address","name":"crafter","type":"address"},{"internalType":"address","name":"manager","type":"address"}],"name":"create","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gemCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gems","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"color","type":"string"},{"internalType":"bytes32","name":"entropy","type":"bytes32"},{"internalType":"uint256","name":"difficulty","type":"uint256"},{"internalType":"uint256","name":"gemsPerMine","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"address","name":"crafter","type":"address"},{"internalType":"address","name":"manager","type":"address"},{"internalType":"address","name":"pendingManager","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"},{"internalType":"uint256","name":"salt","type":"uint256"}],"name":"luck","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"},{"internalType":"uint256","name":"salt","type":"uint256"}],"name":"mine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"kinds","type":"uint256[]"}],"name":"renounceManager","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"kinds","type":"uint256[]"},{"internalType":"address","name":"to","type":"address"}],"name":"transferManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"kinds","type":"uint256[]"},{"internalType":"address","name":"crafter","type":"address"}],"name":"updateCrafter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"},{"internalType":"bytes32","name":"entropy","type":"bytes32"}],"name":"updateEntropy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"color","type":"string"}],"name":"updateGemInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"},{"internalType":"uint256","name":"difficulty","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"uint256","name":"gemsPerMine","type":"uint256"}],"name":"updateMiningData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"kind","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060408051808201909152600381526247454d60e81b6020820152620000378162000043565b5060016004556200013f565b8051620000589060029060208401906200005c565b5050565b8280546200006a9062000102565b90600052602060002090601f0160209004810192826200008e5760008555620000d9565b82601f10620000a957805160ff1916838001178555620000d9565b82800160010185558215620000d9579182015b82811115620000d9578251825591602001919060010190620000bc565b50620000e7929150620000eb565b5090565b5b80821115620000e75760008155600101620000ec565b600181811c908216806200011757607f821691505b602082108114156200013957634e487b7160e01b600052602260045260246000fd5b50919050565b613028806200014f6000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80638797b196116100c3578063b88c1afb1161007c578063b88c1afb14610318578063bb03bfdd1461032b578063bd85b0391461033e578063be71abe11461035e578063e985e9c514610371578063f242432a146103ad57610157565b80638797b19614610291578063a1f0406d146102a4578063a22cb465146102cc578063a41b41d2146102df578063ad1e8b37146102f2578063b314782c1461030557610157565b80634e1273f4116101155780634e1273f4146102005780634f558e79146102205780635b8bbc24146102425780635d4b60aa1461024b578063626bc15b1461025e57806370ae92d21461027157610157565b8062fdd58e1461015c57806301ffc9a714610182578063071e9503146101a5578063089b1367146101ba5780630e89341c146101cd5780632eb2c2d6146101ed575b600080fd5b61016f61016a3660046123f2565b6103c0565b6040519081526020015b60405180910390f35b610195610190366004612575565b610457565b6040519015158152602001610179565b6101b86101b336600461266d565b6104ab565b005b6101b86101c836600461268e565b610630565b6101e06101db366004612655565b6106c8565b6040516101799190612bee565b6101b86101fb3660046122b1565b61078c565b61021361020e36600461241b565b610835565b6040516101799190612bad565b61019561022e366004612655565b600090815260036020526040902054151590565b61016f60075481565b6101b86102593660046124e5565b610996565b61016f61026c3660046125ad565b610a6c565b61016f61027f36600461225e565b60066020526000908152604090205481565b6101b861029f366004612704565b610c31565b6102b76102b2366004612655565b610d43565b60405161017999989796959493929190612c01565b6101b86102da3660046123b8565b610eab565b6101b86102ed3660046124e5565b610fbf565b6101b8610300366004612524565b6110b8565b6101b861031336600461266d565b61118a565b6101b8610326366004612524565b61123c565b6101b861033936600461272f565b611308565b61016f61034c366004612655565b60009081526003602052604090205490565b61016f61036c36600461266d565b61147d565b61019561037f36600461227f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6101b86103bb366004612356565b611567565b60006001600160a01b0383166104315760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061048857506001600160e01b031982166303a24d0760e21b145b806104a357506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b600260045414156104fe5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610428565b6002600455600061050f838361147d565b33600090815260066020526040812080549293509061052d83612eaa565b919050555060075483106105535760405162461bcd60e51b815260040161042890612d71565b60008381526005602052604090206003015461057181600019612dd8565b8211156105b75760405162461bcd60e51b81526020600482015260146024820152730e6c2d8e840dcdee840cededec840cadcdeeaced60631b6044820152606401610428565b60008481526005602081905260409091200154612710906105d89083612df8565b6105e29190612dd8565b6105ed906001612dc0565b600085815260056020908152604080832060038101949094556004909301548351918201909352908152610625913391879190611600565b505060016004555050565b60075485106106515760405162461bcd60e51b815260040161042890612d71565b6000858152600560205260409020600701546001600160a01b0316331461068a5760405162461bcd60e51b815260040161042890612cb9565b60008581526005602052604090206106a3908585611fd0565b5060008581526005602052604090206106c0906001018383611fd0565b505050505050565b606060075482106106eb5760405162461bcd60e51b815260040161042890612d71565b6000828152600560209081526040808320905161070e926001830192910161291f565b60408051601f1981840301815291815260008581526005602052908120919250906107619061073c84611635565b60405160200161074d92919061285e565b604051602081830303815290604052611635565b9050806040516020016107749190612ac5565b60405160208183030381529060405292505050919050565b6107946117a8565b6001600160a01b0316856001600160a01b031614806107ba57506107ba8561037f6117a8565b6108215760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610428565b61082e85858585856117ad565b5050505050565b6060815183511461089a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610428565b600083516001600160401b038111156108c357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108ec578160200160208202803683370190505b50905060005b845181101561098e5761095385828151811061091e57634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061094657634e487b7160e01b600052603260045260246000fd5b60200260200101516103c0565b82828151811061097357634e487b7160e01b600052603260045260246000fd5b602090810291909101015261098781612eaa565b90506108f2565b509392505050565b60005b81811015610a675760008383838181106109c357634e487b7160e01b600052603260045260246000fd5b90506020020135905060075481106109ed5760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600701546001600160a01b03163314610a265760405162461bcd60e51b815260040161042890612cb9565b60009081526005602052604090206007810180546001600160a01b031990811690915560089091018054909116905580610a5f81612eaa565b915050610999565b505050565b60008086118015610a815750600160801b8611155b610abe5760405162461bcd60e51b815260206004820152600e60248201526d62616420646966666963756c747960901b6044820152606401610428565b600085118015610ad15750620f42408511155b610b115760405162461bcd60e51b81526020600482015260116024820152706261642067656d7320706572206d696e6560781b6044820152606401610428565b6127108410158015610b2857506402540be4008411155b610b655760405162461bcd60e51b815260206004820152600e60248201526d3130b21036bab63a34b83634b2b960911b6044820152606401610428565b6001600160a01b038216610ba95760405162461bcd60e51b815260206004820152600b60248201526a3130b21036b0b730b3b2b960a91b6044820152606401610428565b610c238a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b90819084018382808284376000920191909152508b92508a915089905088886119a9565b9a9950505050505050505050565b60026004541415610c845760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610428565b60026004556007548310610caa5760405162461bcd60e51b815260040161042890612d71565b6000838152600560205260409020600601546001600160a01b03163314610d055760405162461bcd60e51b815260206004820152600f60248201526e3737ba1033b2b69031b930b33a32b960891b6044820152606401610428565b60008215610d135782610d26565b6000848152600560205260409020600401545b905061062582858360405180602001604052806000815250611600565b600560205260009081526040902080548190610d5e90612e43565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8a90612e43565b8015610dd75780601f10610dac57610100808354040283529160200191610dd7565b820191906000526020600020905b815481529060010190602001808311610dba57829003601f168201915b505050505090806001018054610dec90612e43565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1890612e43565b8015610e655780601f10610e3a57610100808354040283529160200191610e65565b820191906000526020600020905b815481529060010190602001808311610e4857829003601f168201915b50505060028401546003850154600486015460058701546006880154600789015460089099015497989497939650919450926001600160a01b0391821692908216911689565b816001600160a01b0316610ebd6117a8565b6001600160a01b03161415610f265760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610428565b8060016000610f336117a8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f776117a8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fb3911515815260200190565b60405180910390a35050565b60005b81811015610a67576000838383818110610fec57634e487b7160e01b600052603260045260246000fd5b90506020020135905060075481106110165760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600801546001600160a01b031633146110755760405162461bcd60e51b81526020600482015260136024820152723737ba103832b73234b7339036b0b730b3b2b960691b6044820152606401610428565b60009081526005602052604090206008810180546001600160a01b03199081169091556007909101805490911633179055806110b081612eaa565b915050610fc2565b60005b828110156111845760008484838181106110e557634e487b7160e01b600052603260045260246000fd5b905060200201359050600754811061110f5760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600701546001600160a01b031633146111485760405162461bcd60e51b815260040161042890612cb9565b600090815260056020526040902060060180546001600160a01b0319166001600160a01b0384161790558061117c81612eaa565b9150506110bb565b50505050565b60075482106111ab5760405162461bcd60e51b815260040161042890612d71565b6000828152600560205260409020600701546001600160a01b03163314806111ec57506000828152600560205260409020600601546001600160a01b031633145b6112275760405162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b6044820152606401610428565b60009182526005602052604090912060020155565b60005b8281101561118457600084848381811061126957634e487b7160e01b600052603260045260246000fd5b90506020020135905060075481106112935760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600701546001600160a01b031633146112cc5760405162461bcd60e51b815260040161042890612cb9565b600090815260056020526040902060080180546001600160a01b0319166001600160a01b0384161790558061130081612eaa565b91505061123f565b60075484106113295760405162461bcd60e51b815260040161042890612d71565b6000848152600560205260409020600701546001600160a01b031633146113625760405162461bcd60e51b815260040161042890612cb9565b6000831180156113765750600160801b8311155b6113b35760405162461bcd60e51b815260206004820152600e60248201526d62616420646966666963756c747960901b6044820152606401610428565b61271082101580156113ca57506402540be4008211155b6114075760405162461bcd60e51b815260206004820152600e60248201526d3130b21036bab63a34b83634b2b960911b6044820152606401610428565b60008111801561141a5750620f42408111155b61145a5760405162461bcd60e51b81526020600482015260116024820152706261642067656d7320706572206d696e6560781b6044820152606401610428565b600093845260056020819052604090942060038101939093559282015560040155565b600060075483106114a05760405162461bcd60e51b815260040161042890612d71565b600083815260056020526040902060020154806114ec5760405162461bcd60e51b815260206004820152600a6024820152696e6f20656e74726f707960b01b6044820152606401610428565b3360008181526006602090815260409182902054825146818401528084019590955230606090811b6bffffffffffffffffffffffff199081168288015294901b9093166074850152608884019690965260a883019190915260c8808301949094528051808303909401845260e8909101905250805191012090565b61156f6117a8565b6001600160a01b0316856001600160a01b0316148061159557506115958561037f6117a8565b6115f35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610428565b61082e8585858585611b05565b61160c84848484611c36565b6000838152600360205260408120805484929061162a908490612dc0565b909155505050505050565b8051606090806116555750506040805160208101909152600081526104a6565b60006003611664836002612dc0565b61166e9190612dd8565b611679906004612df8565b90506000611688826020612dc0565b6001600160401b038111156116ad57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116d7576020820181803683370190505b5090506000604051806060016040528060408152602001612fb3604091399050600181016020830160005b86811015611763576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611702565b50600386066001811461177d576002811461178e5761179a565b613d3d60f01b60011983015261179a565b603d60f81b6000198301525b505050918152949350505050565b335b90565b815183511461180f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610428565b6001600160a01b0384166118355760405162461bcd60e51b815260040161042890612ce2565b600061183f6117a8565b905060005b845181101561194357600085828151811061186f57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061189b57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156118eb5760405162461bcd60e51b815260040161042890612d27565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611928908490612dc0565b925050819055505050508061193c90612eaa565b9050611844565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611993929190612bc0565b60405180910390a46106c0818787878787611d42565b60078054600091829190826119bd83612eaa565b9091555060408051610120810182528b815260208082018c90526000828401819052606083018c9052608083018b905260a083018a90526001600160a01b03808a1660c0850152881660e0840152610100830181905284815260058252929092208151805194955091939092611a37928492910190612054565b506020828101518051611a509260018501920190612054565b506040828101516002830155606083015160038301556080830151600483015560a0830151600583015560c08301516006830180546001600160a01b03199081166001600160a01b039384161790915560e0850151600785018054831691841691909117905561010090940151600890930180549094169216919091179091555181907f07eac9a0695a188fe9d6fd680bcbbbe39041fb114d5d7ac11252401391f7930790600090a298975050505050505050565b6001600160a01b038416611b2b5760405162461bcd60e51b815260040161042890612ce2565b6000611b356117a8565b9050611b4f818787611b4688611ead565b61082e88611ead565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611b905760405162461bcd60e51b815260040161042890612d27565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611bcd908490612dc0565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611c2d828888888888611f06565b50505050505050565b6001600160a01b038416611c965760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610428565b6000611ca06117a8565b9050611cb281600087611b4688611ead565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611ce2908490612dc0565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461082e81600087878787611f06565b6001600160a01b0384163b156106c05760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611d869089908990889088908890600401612b0a565b602060405180830381600087803b158015611da057600080fd5b505af1925050508015611dd0575060408051601f3d908101601f19168201909252611dcd91810190612591565b60015b611e7d57611ddc612ef1565b806308c379a01415611e165750611df1612f08565b80611dfc5750611e18565b8060405162461bcd60e51b81526004016104289190612bee565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610428565b6001600160e01b0319811663bc197c8160e01b14611c2d5760405162461bcd60e51b815260040161042890612c71565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611ef557634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b156106c05760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f4a9089908990889088908890600401612b68565b602060405180830381600087803b158015611f6457600080fd5b505af1925050508015611f94575060408051601f3d908101601f19168201909252611f9191810190612591565b60015b611fa057611ddc612ef1565b6001600160e01b0319811663f23a6e6160e01b14611c2d5760405162461bcd60e51b815260040161042890612c71565b828054611fdc90612e43565b90600052602060002090601f016020900481019282611ffe5760008555612044565b82601f106120175782800160ff19823516178555612044565b82800160010185558215612044579182015b82811115612044578235825591602001919060010190612029565b506120509291506120c8565b5090565b82805461206090612e43565b90600052602060002090601f0160209004810192826120825760008555612044565b82601f1061209b57805160ff1916838001178555612044565b82800160010185558215612044579182015b828111156120445782518255916020019190600101906120ad565b5b8082111561205057600081556001016120c9565b80356001600160a01b03811681146104a657600080fd5b60008083601f840112612105578182fd5b5081356001600160401b0381111561211b578182fd5b6020830191508360208260051b850101111561213657600080fd5b9250929050565b600082601f83011261214d578081fd5b8135602061215a82612d9d565b6040516121678282612e7e565b8381528281019150858301600585901b87018401881015612186578586fd5b855b858110156121a457813584529284019290840190600101612188565b5090979650505050505050565b600082601f8301126121c1578081fd5b81356001600160401b038111156121da576121da612edb565b6040516121f1601f8301601f191660200182612e7e565b818152846020838601011115612205578283fd5b816020850160208301379081016020019190915292915050565b60008083601f840112612230578182fd5b5081356001600160401b03811115612246578182fd5b60208301915083602082850101111561213657600080fd5b60006020828403121561226f578081fd5b612278826120dd565b9392505050565b60008060408385031215612291578081fd5b61229a836120dd565b91506122a8602084016120dd565b90509250929050565b600080600080600060a086880312156122c8578081fd5b6122d1866120dd565b94506122df602087016120dd565b935060408601356001600160401b03808211156122fa578283fd5b61230689838a0161213d565b9450606088013591508082111561231b578283fd5b61232789838a0161213d565b9350608088013591508082111561233c578283fd5b50612349888289016121b1565b9150509295509295909350565b600080600080600060a0868803121561236d578081fd5b612376866120dd565b9450612384602087016120dd565b9350604086013592506060860135915060808601356001600160401b038111156123ac578182fd5b612349888289016121b1565b600080604083850312156123ca578182fd5b6123d3836120dd565b9150602083013580151581146123e7578182fd5b809150509250929050565b60008060408385031215612404578182fd5b61240d836120dd565b946020939093013593505050565b6000806040838503121561242d578182fd5b82356001600160401b0380821115612443578384fd5b818501915085601f830112612456578384fd5b8135602061246382612d9d565b6040516124708282612e7e565b8381528281019150858301600585901b870184018b101561248f578889fd5b8896505b848710156124b8576124a4816120dd565b835260019690960195918301918301612493565b50965050860135925050808211156124ce578283fd5b506124db8582860161213d565b9150509250929050565b600080602083850312156124f7578182fd5b82356001600160401b0381111561250c578283fd5b612518858286016120f4565b90969095509350505050565b600080600060408486031215612538578081fd5b83356001600160401b0381111561254d578182fd5b612559868287016120f4565b909450925061256c9050602085016120dd565b90509250925092565b600060208284031215612586578081fd5b813561227881612f99565b6000602082840312156125a2578081fd5b815161227881612f99565b600080600080600080600080600060e08a8c0312156125ca578687fd5b89356001600160401b03808211156125e0578889fd5b6125ec8d838e0161221f565b909b50995060208c0135915080821115612604578889fd5b506126118c828d0161221f565b90985096505060408a0135945060608a0135935060808a0135925061263860a08b016120dd565b915061264660c08b016120dd565b90509295985092959850929598565b600060208284031215612666578081fd5b5035919050565b6000806040838503121561267f578182fd5b50508035926020909101359150565b6000806000806000606086880312156126a5578283fd5b8535945060208601356001600160401b03808211156126c2578485fd5b6126ce89838a0161221f565b909650945060408801359150808211156126e6578283fd5b506126f38882890161221f565b969995985093965092949392505050565b600080600060608486031215612718578081fd5b833592506020840135915061256c604085016120dd565b60008060008060808587031215612744578182fd5b5050823594602084013594506040840135936060013592509050565b6000815180845260208085019450808401835b8381101561278f57815187529582019590820190600101612773565b509495945050505050565b600081518084526127b2816020860160208601612e17565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806127e057607f831692505b602080841082141561280057634e487b7160e01b86526022600452602486fd5b818015612814576001811461282557612852565b60ff19861689528489019650612852565b60008881526020902060005b8681101561284a5781548b820152908501908301612831565b505084890196505b50505050505092915050565b6a3d90113730b6b2911d101160a91b8152600061287e600b8301856127c6565b6201116160ed1b81526f0113232b9b1b934b83a34b7b711101d160851b600382015275011283937bb30b1363c902930b9329023b2b6b99116160551b60138201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173602982015263194d8d0b60e21b6049820152835161290581604d840160208801612e17565b607d60f81b604d9290910191820152604e01949350505050565b60007f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323082527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208301527f6e594d696e206d656574222076696577426f783d22302030203335302033353060408301527f223e3c7374796c653e2e62617365207b2066696c6c3a2000000000000000000060608301526129c360778301856127c6565b7f3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a81527f20313470783b207d3c2f7374796c653e3c726563742077696474683d2231303060208201527f2522206865696768743d2231303025222066696c6c3d22776869746522202f3e60408201527f3c7465787420783d2231302220793d2232302220636c6173733d2262617365226060820152601f60f91b6080820152612a6f60818201856127c6565b7f3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173738152671e913130b9b2911f60c11b60208201526c1e17ba32bc3a1f1e17b9bb339f60991b602882015260350195945050505050565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000082528251612afd81601d850160208701612e17565b91909101601d0192915050565b6001600160a01b0386811682528516602082015260a060408201819052600090612b3690830186612760565b8281036060840152612b488186612760565b90508281036080840152612b5c818561279a565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612ba29083018461279a565b979650505050505050565b6000602082526122786020830184612760565b600060408252612bd36040830185612760565b8281036020840152612be58185612760565b95945050505050565b600060208252612278602083018461279a565b6000610120808352612c158184018d61279a565b90508281036020840152612c29818c61279a565b604084019a909a5250506060810196909652608086019490945260a08501929092526001600160a01b0390811660c085015290811660e0840152166101009091015292915050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6020808252600f908201526e3737ba1033b2b69036b0b730b3b2b960891b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526012908201527119d95b481ada5b99081b9bdd08195e1a5cdd60721b604082015260600190565b60006001600160401b03821115612db657612db6612edb565b5060051b60200190565b60008219821115612dd357612dd3612ec5565b500190565b600082612df357634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612e1257612e12612ec5565b500290565b60005b83811015612e32578181015183820152602001612e1a565b838111156111845750506000910152565b600181811c90821680612e5757607f821691505b60208210811415612e7857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b0381118282101715612ea357612ea3612edb565b6040525050565b6000600019821415612ebe57612ebe612ec5565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156117aa57600481823e5160e01c90565b600060443d1015612f18576117aa565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612f495750505050506117aa565b8285019150815181811115612f63575050505050506117aa565b843d8701016020828501011115612f7f575050505050506117aa565b612f8e60208286010187612e7e565b509094505050505090565b6001600160e01b031981168114612faf57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201a3b2b16a3de220322c3945b63c8fa15cf5479ea07647827c1301e9dd87eb24c64736f6c63430008030033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101575760003560e01c80638797b196116100c3578063b88c1afb1161007c578063b88c1afb14610318578063bb03bfdd1461032b578063bd85b0391461033e578063be71abe11461035e578063e985e9c514610371578063f242432a146103ad57610157565b80638797b19614610291578063a1f0406d146102a4578063a22cb465146102cc578063a41b41d2146102df578063ad1e8b37146102f2578063b314782c1461030557610157565b80634e1273f4116101155780634e1273f4146102005780634f558e79146102205780635b8bbc24146102425780635d4b60aa1461024b578063626bc15b1461025e57806370ae92d21461027157610157565b8062fdd58e1461015c57806301ffc9a714610182578063071e9503146101a5578063089b1367146101ba5780630e89341c146101cd5780632eb2c2d6146101ed575b600080fd5b61016f61016a3660046123f2565b6103c0565b6040519081526020015b60405180910390f35b610195610190366004612575565b610457565b6040519015158152602001610179565b6101b86101b336600461266d565b6104ab565b005b6101b86101c836600461268e565b610630565b6101e06101db366004612655565b6106c8565b6040516101799190612bee565b6101b86101fb3660046122b1565b61078c565b61021361020e36600461241b565b610835565b6040516101799190612bad565b61019561022e366004612655565b600090815260036020526040902054151590565b61016f60075481565b6101b86102593660046124e5565b610996565b61016f61026c3660046125ad565b610a6c565b61016f61027f36600461225e565b60066020526000908152604090205481565b6101b861029f366004612704565b610c31565b6102b76102b2366004612655565b610d43565b60405161017999989796959493929190612c01565b6101b86102da3660046123b8565b610eab565b6101b86102ed3660046124e5565b610fbf565b6101b8610300366004612524565b6110b8565b6101b861031336600461266d565b61118a565b6101b8610326366004612524565b61123c565b6101b861033936600461272f565b611308565b61016f61034c366004612655565b60009081526003602052604090205490565b61016f61036c36600461266d565b61147d565b61019561037f36600461227f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6101b86103bb366004612356565b611567565b60006001600160a01b0383166104315760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061048857506001600160e01b031982166303a24d0760e21b145b806104a357506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b600260045414156104fe5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610428565b6002600455600061050f838361147d565b33600090815260066020526040812080549293509061052d83612eaa565b919050555060075483106105535760405162461bcd60e51b815260040161042890612d71565b60008381526005602052604090206003015461057181600019612dd8565b8211156105b75760405162461bcd60e51b81526020600482015260146024820152730e6c2d8e840dcdee840cededec840cadcdeeaced60631b6044820152606401610428565b60008481526005602081905260409091200154612710906105d89083612df8565b6105e29190612dd8565b6105ed906001612dc0565b600085815260056020908152604080832060038101949094556004909301548351918201909352908152610625913391879190611600565b505060016004555050565b60075485106106515760405162461bcd60e51b815260040161042890612d71565b6000858152600560205260409020600701546001600160a01b0316331461068a5760405162461bcd60e51b815260040161042890612cb9565b60008581526005602052604090206106a3908585611fd0565b5060008581526005602052604090206106c0906001018383611fd0565b505050505050565b606060075482106106eb5760405162461bcd60e51b815260040161042890612d71565b6000828152600560209081526040808320905161070e926001830192910161291f565b60408051601f1981840301815291815260008581526005602052908120919250906107619061073c84611635565b60405160200161074d92919061285e565b604051602081830303815290604052611635565b9050806040516020016107749190612ac5565b60405160208183030381529060405292505050919050565b6107946117a8565b6001600160a01b0316856001600160a01b031614806107ba57506107ba8561037f6117a8565b6108215760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610428565b61082e85858585856117ad565b5050505050565b6060815183511461089a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610428565b600083516001600160401b038111156108c357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108ec578160200160208202803683370190505b50905060005b845181101561098e5761095385828151811061091e57634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061094657634e487b7160e01b600052603260045260246000fd5b60200260200101516103c0565b82828151811061097357634e487b7160e01b600052603260045260246000fd5b602090810291909101015261098781612eaa565b90506108f2565b509392505050565b60005b81811015610a675760008383838181106109c357634e487b7160e01b600052603260045260246000fd5b90506020020135905060075481106109ed5760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600701546001600160a01b03163314610a265760405162461bcd60e51b815260040161042890612cb9565b60009081526005602052604090206007810180546001600160a01b031990811690915560089091018054909116905580610a5f81612eaa565b915050610999565b505050565b60008086118015610a815750600160801b8611155b610abe5760405162461bcd60e51b815260206004820152600e60248201526d62616420646966666963756c747960901b6044820152606401610428565b600085118015610ad15750620f42408511155b610b115760405162461bcd60e51b81526020600482015260116024820152706261642067656d7320706572206d696e6560781b6044820152606401610428565b6127108410158015610b2857506402540be4008411155b610b655760405162461bcd60e51b815260206004820152600e60248201526d3130b21036bab63a34b83634b2b960911b6044820152606401610428565b6001600160a01b038216610ba95760405162461bcd60e51b815260206004820152600b60248201526a3130b21036b0b730b3b2b960a91b6044820152606401610428565b610c238a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b90819084018382808284376000920191909152508b92508a915089905088886119a9565b9a9950505050505050505050565b60026004541415610c845760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610428565b60026004556007548310610caa5760405162461bcd60e51b815260040161042890612d71565b6000838152600560205260409020600601546001600160a01b03163314610d055760405162461bcd60e51b815260206004820152600f60248201526e3737ba1033b2b69031b930b33a32b960891b6044820152606401610428565b60008215610d135782610d26565b6000848152600560205260409020600401545b905061062582858360405180602001604052806000815250611600565b600560205260009081526040902080548190610d5e90612e43565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8a90612e43565b8015610dd75780601f10610dac57610100808354040283529160200191610dd7565b820191906000526020600020905b815481529060010190602001808311610dba57829003601f168201915b505050505090806001018054610dec90612e43565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1890612e43565b8015610e655780601f10610e3a57610100808354040283529160200191610e65565b820191906000526020600020905b815481529060010190602001808311610e4857829003601f168201915b50505060028401546003850154600486015460058701546006880154600789015460089099015497989497939650919450926001600160a01b0391821692908216911689565b816001600160a01b0316610ebd6117a8565b6001600160a01b03161415610f265760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610428565b8060016000610f336117a8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f776117a8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fb3911515815260200190565b60405180910390a35050565b60005b81811015610a67576000838383818110610fec57634e487b7160e01b600052603260045260246000fd5b90506020020135905060075481106110165760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600801546001600160a01b031633146110755760405162461bcd60e51b81526020600482015260136024820152723737ba103832b73234b7339036b0b730b3b2b960691b6044820152606401610428565b60009081526005602052604090206008810180546001600160a01b03199081169091556007909101805490911633179055806110b081612eaa565b915050610fc2565b60005b828110156111845760008484838181106110e557634e487b7160e01b600052603260045260246000fd5b905060200201359050600754811061110f5760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600701546001600160a01b031633146111485760405162461bcd60e51b815260040161042890612cb9565b600090815260056020526040902060060180546001600160a01b0319166001600160a01b0384161790558061117c81612eaa565b9150506110bb565b50505050565b60075482106111ab5760405162461bcd60e51b815260040161042890612d71565b6000828152600560205260409020600701546001600160a01b03163314806111ec57506000828152600560205260409020600601546001600160a01b031633145b6112275760405162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b6044820152606401610428565b60009182526005602052604090912060020155565b60005b8281101561118457600084848381811061126957634e487b7160e01b600052603260045260246000fd5b90506020020135905060075481106112935760405162461bcd60e51b815260040161042890612d71565b6000818152600560205260409020600701546001600160a01b031633146112cc5760405162461bcd60e51b815260040161042890612cb9565b600090815260056020526040902060080180546001600160a01b0319166001600160a01b0384161790558061130081612eaa565b91505061123f565b60075484106113295760405162461bcd60e51b815260040161042890612d71565b6000848152600560205260409020600701546001600160a01b031633146113625760405162461bcd60e51b815260040161042890612cb9565b6000831180156113765750600160801b8311155b6113b35760405162461bcd60e51b815260206004820152600e60248201526d62616420646966666963756c747960901b6044820152606401610428565b61271082101580156113ca57506402540be4008211155b6114075760405162461bcd60e51b815260206004820152600e60248201526d3130b21036bab63a34b83634b2b960911b6044820152606401610428565b60008111801561141a5750620f42408111155b61145a5760405162461bcd60e51b81526020600482015260116024820152706261642067656d7320706572206d696e6560781b6044820152606401610428565b600093845260056020819052604090942060038101939093559282015560040155565b600060075483106114a05760405162461bcd60e51b815260040161042890612d71565b600083815260056020526040902060020154806114ec5760405162461bcd60e51b815260206004820152600a6024820152696e6f20656e74726f707960b01b6044820152606401610428565b3360008181526006602090815260409182902054825146818401528084019590955230606090811b6bffffffffffffffffffffffff199081168288015294901b9093166074850152608884019690965260a883019190915260c8808301949094528051808303909401845260e8909101905250805191012090565b61156f6117a8565b6001600160a01b0316856001600160a01b0316148061159557506115958561037f6117a8565b6115f35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610428565b61082e8585858585611b05565b61160c84848484611c36565b6000838152600360205260408120805484929061162a908490612dc0565b909155505050505050565b8051606090806116555750506040805160208101909152600081526104a6565b60006003611664836002612dc0565b61166e9190612dd8565b611679906004612df8565b90506000611688826020612dc0565b6001600160401b038111156116ad57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116d7576020820181803683370190505b5090506000604051806060016040528060408152602001612fb3604091399050600181016020830160005b86811015611763576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611702565b50600386066001811461177d576002811461178e5761179a565b613d3d60f01b60011983015261179a565b603d60f81b6000198301525b505050918152949350505050565b335b90565b815183511461180f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610428565b6001600160a01b0384166118355760405162461bcd60e51b815260040161042890612ce2565b600061183f6117a8565b905060005b845181101561194357600085828151811061186f57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061189b57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156118eb5760405162461bcd60e51b815260040161042890612d27565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611928908490612dc0565b925050819055505050508061193c90612eaa565b9050611844565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611993929190612bc0565b60405180910390a46106c0818787878787611d42565b60078054600091829190826119bd83612eaa565b9091555060408051610120810182528b815260208082018c90526000828401819052606083018c9052608083018b905260a083018a90526001600160a01b03808a1660c0850152881660e0840152610100830181905284815260058252929092208151805194955091939092611a37928492910190612054565b506020828101518051611a509260018501920190612054565b506040828101516002830155606083015160038301556080830151600483015560a0830151600583015560c08301516006830180546001600160a01b03199081166001600160a01b039384161790915560e0850151600785018054831691841691909117905561010090940151600890930180549094169216919091179091555181907f07eac9a0695a188fe9d6fd680bcbbbe39041fb114d5d7ac11252401391f7930790600090a298975050505050505050565b6001600160a01b038416611b2b5760405162461bcd60e51b815260040161042890612ce2565b6000611b356117a8565b9050611b4f818787611b4688611ead565b61082e88611ead565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611b905760405162461bcd60e51b815260040161042890612d27565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611bcd908490612dc0565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611c2d828888888888611f06565b50505050505050565b6001600160a01b038416611c965760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610428565b6000611ca06117a8565b9050611cb281600087611b4688611ead565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611ce2908490612dc0565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461082e81600087878787611f06565b6001600160a01b0384163b156106c05760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611d869089908990889088908890600401612b0a565b602060405180830381600087803b158015611da057600080fd5b505af1925050508015611dd0575060408051601f3d908101601f19168201909252611dcd91810190612591565b60015b611e7d57611ddc612ef1565b806308c379a01415611e165750611df1612f08565b80611dfc5750611e18565b8060405162461bcd60e51b81526004016104289190612bee565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610428565b6001600160e01b0319811663bc197c8160e01b14611c2d5760405162461bcd60e51b815260040161042890612c71565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611ef557634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b156106c05760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f4a9089908990889088908890600401612b68565b602060405180830381600087803b158015611f6457600080fd5b505af1925050508015611f94575060408051601f3d908101601f19168201909252611f9191810190612591565b60015b611fa057611ddc612ef1565b6001600160e01b0319811663f23a6e6160e01b14611c2d5760405162461bcd60e51b815260040161042890612c71565b828054611fdc90612e43565b90600052602060002090601f016020900481019282611ffe5760008555612044565b82601f106120175782800160ff19823516178555612044565b82800160010185558215612044579182015b82811115612044578235825591602001919060010190612029565b506120509291506120c8565b5090565b82805461206090612e43565b90600052602060002090601f0160209004810192826120825760008555612044565b82601f1061209b57805160ff1916838001178555612044565b82800160010185558215612044579182015b828111156120445782518255916020019190600101906120ad565b5b8082111561205057600081556001016120c9565b80356001600160a01b03811681146104a657600080fd5b60008083601f840112612105578182fd5b5081356001600160401b0381111561211b578182fd5b6020830191508360208260051b850101111561213657600080fd5b9250929050565b600082601f83011261214d578081fd5b8135602061215a82612d9d565b6040516121678282612e7e565b8381528281019150858301600585901b87018401881015612186578586fd5b855b858110156121a457813584529284019290840190600101612188565b5090979650505050505050565b600082601f8301126121c1578081fd5b81356001600160401b038111156121da576121da612edb565b6040516121f1601f8301601f191660200182612e7e565b818152846020838601011115612205578283fd5b816020850160208301379081016020019190915292915050565b60008083601f840112612230578182fd5b5081356001600160401b03811115612246578182fd5b60208301915083602082850101111561213657600080fd5b60006020828403121561226f578081fd5b612278826120dd565b9392505050565b60008060408385031215612291578081fd5b61229a836120dd565b91506122a8602084016120dd565b90509250929050565b600080600080600060a086880312156122c8578081fd5b6122d1866120dd565b94506122df602087016120dd565b935060408601356001600160401b03808211156122fa578283fd5b61230689838a0161213d565b9450606088013591508082111561231b578283fd5b61232789838a0161213d565b9350608088013591508082111561233c578283fd5b50612349888289016121b1565b9150509295509295909350565b600080600080600060a0868803121561236d578081fd5b612376866120dd565b9450612384602087016120dd565b9350604086013592506060860135915060808601356001600160401b038111156123ac578182fd5b612349888289016121b1565b600080604083850312156123ca578182fd5b6123d3836120dd565b9150602083013580151581146123e7578182fd5b809150509250929050565b60008060408385031215612404578182fd5b61240d836120dd565b946020939093013593505050565b6000806040838503121561242d578182fd5b82356001600160401b0380821115612443578384fd5b818501915085601f830112612456578384fd5b8135602061246382612d9d565b6040516124708282612e7e565b8381528281019150858301600585901b870184018b101561248f578889fd5b8896505b848710156124b8576124a4816120dd565b835260019690960195918301918301612493565b50965050860135925050808211156124ce578283fd5b506124db8582860161213d565b9150509250929050565b600080602083850312156124f7578182fd5b82356001600160401b0381111561250c578283fd5b612518858286016120f4565b90969095509350505050565b600080600060408486031215612538578081fd5b83356001600160401b0381111561254d578182fd5b612559868287016120f4565b909450925061256c9050602085016120dd565b90509250925092565b600060208284031215612586578081fd5b813561227881612f99565b6000602082840312156125a2578081fd5b815161227881612f99565b600080600080600080600080600060e08a8c0312156125ca578687fd5b89356001600160401b03808211156125e0578889fd5b6125ec8d838e0161221f565b909b50995060208c0135915080821115612604578889fd5b506126118c828d0161221f565b90985096505060408a0135945060608a0135935060808a0135925061263860a08b016120dd565b915061264660c08b016120dd565b90509295985092959850929598565b600060208284031215612666578081fd5b5035919050565b6000806040838503121561267f578182fd5b50508035926020909101359150565b6000806000806000606086880312156126a5578283fd5b8535945060208601356001600160401b03808211156126c2578485fd5b6126ce89838a0161221f565b909650945060408801359150808211156126e6578283fd5b506126f38882890161221f565b969995985093965092949392505050565b600080600060608486031215612718578081fd5b833592506020840135915061256c604085016120dd565b60008060008060808587031215612744578182fd5b5050823594602084013594506040840135936060013592509050565b6000815180845260208085019450808401835b8381101561278f57815187529582019590820190600101612773565b509495945050505050565b600081518084526127b2816020860160208601612e17565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806127e057607f831692505b602080841082141561280057634e487b7160e01b86526022600452602486fd5b818015612814576001811461282557612852565b60ff19861689528489019650612852565b60008881526020902060005b8681101561284a5781548b820152908501908301612831565b505084890196505b50505050505092915050565b6a3d90113730b6b2911d101160a91b8152600061287e600b8301856127c6565b6201116160ed1b81526f0113232b9b1b934b83a34b7b711101d160851b600382015275011283937bb30b1363c902930b9329023b2b6b99116160551b60138201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173602982015263194d8d0b60e21b6049820152835161290581604d840160208801612e17565b607d60f81b604d9290910191820152604e01949350505050565b60007f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323082527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208301527f6e594d696e206d656574222076696577426f783d22302030203335302033353060408301527f223e3c7374796c653e2e62617365207b2066696c6c3a2000000000000000000060608301526129c360778301856127c6565b7f3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a81527f20313470783b207d3c2f7374796c653e3c726563742077696474683d2231303060208201527f2522206865696768743d2231303025222066696c6c3d22776869746522202f3e60408201527f3c7465787420783d2231302220793d2232302220636c6173733d2262617365226060820152601f60f91b6080820152612a6f60818201856127c6565b7f3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173738152671e913130b9b2911f60c11b60208201526c1e17ba32bc3a1f1e17b9bb339f60991b602882015260350195945050505050565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000082528251612afd81601d850160208701612e17565b91909101601d0192915050565b6001600160a01b0386811682528516602082015260a060408201819052600090612b3690830186612760565b8281036060840152612b488186612760565b90508281036080840152612b5c818561279a565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612ba29083018461279a565b979650505050505050565b6000602082526122786020830184612760565b600060408252612bd36040830185612760565b8281036020840152612be58185612760565b95945050505050565b600060208252612278602083018461279a565b6000610120808352612c158184018d61279a565b90508281036020840152612c29818c61279a565b604084019a909a5250506060810196909652608086019490945260a08501929092526001600160a01b0390811660c085015290811660e0840152166101009091015292915050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6020808252600f908201526e3737ba1033b2b69036b0b730b3b2b960891b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526012908201527119d95b481ada5b99081b9bdd08195e1a5cdd60721b604082015260600190565b60006001600160401b03821115612db657612db6612edb565b5060051b60200190565b60008219821115612dd357612dd3612ec5565b500190565b600082612df357634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612e1257612e12612ec5565b500290565b60005b83811015612e32578181015183820152602001612e1a565b838111156111845750506000910152565b600181811c90821680612e5757607f821691505b60208210811415612e7857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b0381118282101715612ea357612ea3612edb565b6040525050565b6000600019821415612ebe57612ebe612ec5565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156117aa57600481823e5160e01c90565b600060443d1015612f18576117aa565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612f495750505050506117aa565b8285019150815181811115612f63575050505050506117aa565b843d8701016020828501011115612f7f575050505050506117aa565b612f8e60208286010187612e7e565b509094505050505090565b6001600160e01b031981168114612faf57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201a3b2b16a3de220322c3945b63c8fa15cf5479ea07647827c1301e9dd87eb24c64736f6c63430008030033

Deployed Bytecode Sourcemap

39807:7769:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24078:231;;;;;;:::i;:::-;;:::i;:::-;;;29535:25:1;;;29523:2;29508:18;24078:231:0;;;;;;;;23101:310;;;;;;:::i;:::-;;:::i;:::-;;;19500:14:1;;19493:22;19475:41;;19463:2;19448:18;23101:310:0;19430:92:1;41438:416:0;;;;;;:::i;:::-;;:::i;:::-;;42280:294;;;;;;:::i;:::-;;:::i;46604:969::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;26173:442::-;;;;;;:::i;:::-;;:::i;24475:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;38185:122::-;;;;;;:::i;:::-;38242:4;38063:16;;;:12;:16;;;;;;-1:-1:-1;;;38185:122:0;40608:20;;;;;;43330:365;;;;;;:::i;:::-;;:::i;40762:577::-;;;;;;:::i;:::-;;:::i;40566:37::-;;;;;;:::i;:::-;;;;;;;;;;;;;;45079:327;;;;;;:::i;:::-;;:::i;40529:32::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;25072:311::-;;;;;;:::i;:::-;;:::i;44597:374::-;;;;;;:::i;:::-;;:::i;43774:330::-;;;;;;:::i;:::-;;:::i;41941:254::-;;;;;;:::i;:::-;;:::i;44197:329::-;;;;;;:::i;:::-;;:::i;42664:593::-;;;;;;:::i;:::-;;:::i;37974:113::-;;;;;;:::i;:::-;38036:7;38063:16;;;:12;:16;;;;;;;37974:113;45515:432;;;;;;:::i;:::-;;:::i;25455:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25578:27:0;;;25554:4;25578:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;25455:168;25695:401;;;;;;:::i;:::-;;:::i;24078:231::-;24164:7;-1:-1:-1;;;;;24192:21:0;;24184:77;;;;-1:-1:-1;;;24184:77:0;;21758:2:1;24184:77:0;;;21740:21:1;21797:2;21777:18;;;21770:30;21836:34;21816:18;;;21809:62;-1:-1:-1;;;21887:18:1;;;21880:41;21938:19;;24184:77:0;;;;;;;;;-1:-1:-1;24279:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;24279:22:0;;;;;;;;;;;;24078:231::o;23101:310::-;23203:4;-1:-1:-1;;;;;;23240:41:0;;-1:-1:-1;;;23240:41:0;;:110;;-1:-1:-1;;;;;;;23298:52:0;;-1:-1:-1;;;23298:52:0;23240:110;:163;;;-1:-1:-1;;;;;;;;;;14999:40:0;;;23367:36;23220:183;;23101:310;;;;:::o;41438:416::-;13186:1;13782:7;;:19;;13774:63;;;;-1:-1:-1;;;13774:63:0;;29231:2:1;13774:63:0;;;29213:21:1;29270:2;29250:18;;;29243:30;29309:33;29289:18;;;29282:61;29360:18;;13774:63:0;29203:181:1;13774:63:0;13186:1;13915:7;:18;41503:8:::1;41514:16;41519:4:::0;41525;41514::::1;:16::i;:::-;41543:10;41537:17;::::0;;;:5:::1;:17;::::0;;;;:19;;41503:27;;-1:-1:-1;41537:17:0;:19:::1;::::0;::::1;:::i;:::-;;;;;;41578:8;;41571:4;:15;41563:46;;;;-1:-1:-1::0;;;41563:46:0::1;;;;;;;:::i;:::-;41616:9;41628:10:::0;;;:4:::1;:10;::::0;;;;:21:::1;;::::0;41671::::1;41628::::0;-1:-1:-1;;41671:21:0::1;:::i;:::-;41664:3;:28;;41656:61;;;::::0;-1:-1:-1;;;41656:61:0;;26904:2:1;41656:61:0::1;::::0;::::1;26886:21:1::0;26943:2;26923:18;;;26916:30;-1:-1:-1;;;26962:18:1;;;26955:50;27022:18;;41656:61:0::1;26876:170:1::0;41656:61:0::1;41756:10;::::0;;;:4:::1;:10;::::0;;;;;;;:21:::1;::::0;41781:5:::1;::::0;41749:28:::1;::::0;:4;:28:::1;:::i;:::-;41748:38;;;;:::i;:::-;:42;::::0;41789:1:::1;41748:42;:::i;:::-;41724:10;::::0;;;:4:::1;:10;::::0;;;;;;;:21:::1;::::0;::::1;:66:::0;;;;41821:22:::1;::::0;;::::1;::::0;41797:51;;;;::::1;::::0;;;;;;::::1;::::0;41803:10:::1;::::0;41729:4;;41821:22;41797:5:::1;:51::i;:::-;-1:-1:-1::0;;13142:1:0;14094:7;:22;-1:-1:-1;;41438:416:0:o;42280:294::-;42410:8;;42403:4;:15;42395:46;;;;-1:-1:-1;;;42395:46:0;;;;;;;:::i;:::-;42456:10;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;42456:18:0;42478:10;42456:32;42448:60;;;;-1:-1:-1;;;42448:60:0;;;;;;;:::i;:::-;42515:10;;;;:4;:10;;;;;:22;;42533:4;;42515:22;:::i;:::-;-1:-1:-1;42544:10:0;;;;:4;:10;;;;;:24;;:16;;42563:5;;42544:24;:::i;:::-;;42280:294;;;;;:::o;46604:969::-;46658:13;46695:8;;46688:4;:15;46680:46;;;;-1:-1:-1;;;46680:46:0;;;;;;;:::i;:::-;46733:20;46922:10;;;:4;:10;;;;;;;;46763:429;;;;46922:16;;;;:10;46763:429;;:::i;:::-;;;;-1:-1:-1;;46763:429:0;;;;;;;;;47200:18;47295:10;;;:4;46763:429;47295:10;;;;46763:429;;-1:-1:-1;47200:18:0;47221:269;;47440:28;46763:429;47440:13;:28::i;:::-;47248:239;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47221:13;:269::i;:::-;47200:290;;47561:4;47511:55;;;;;;;;:::i;:::-;;;;;;;;;;;;;47497:70;;;;46604:969;;;:::o;26173:442::-;26414:12;:10;:12::i;:::-;-1:-1:-1;;;;;26406:20:0;:4;-1:-1:-1;;;;;26406:20:0;;:60;;;;26430:36;26447:4;26453:12;:10;:12::i;26430:36::-;26384:160;;;;-1:-1:-1;;;26384:160:0;;24017:2:1;26384:160:0;;;23999:21:1;24056:2;24036:18;;;24029:30;24095:34;24075:18;;;24068:62;-1:-1:-1;;;24146:18:1;;;24139:48;24204:19;;26384:160:0;23989:240:1;26384:160:0;26555:52;26578:4;26584:2;26588:3;26593:7;26602:4;26555:22;:52::i;:::-;26173:442;;;;;:::o;24475:524::-;24631:16;24692:3;:10;24673:8;:15;:29;24665:83;;;;-1:-1:-1;;;24665:83:0;;27663:2:1;24665:83:0;;;27645:21:1;27702:2;27682:18;;;27675:30;27741:34;27721:18;;;27714:62;-1:-1:-1;;;27792:18:1;;;27785:39;27841:19;;24665:83:0;27635:231:1;24665:83:0;24761:30;24808:8;:15;-1:-1:-1;;;;;24794:30:0;;;;;-1:-1:-1;;;24794:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24794:30:0;;24761:63;;24842:9;24837:122;24861:8;:15;24857:1;:19;24837:122;;;24917:30;24927:8;24936:1;24927:11;;;;;;-1:-1:-1;;;24927:11:0;;;;;;;;;;;;;;;24940:3;24944:1;24940:6;;;;;;-1:-1:-1;;;24940:6:0;;;;;;;;;;;;;;;24917:9;:30::i;:::-;24898:13;24912:1;24898:16;;;;;;-1:-1:-1;;;24898:16:0;;;;;;;;;;;;;;;;;;:49;24878:3;;;:::i;:::-;;;24837:122;;;-1:-1:-1;24978:13:0;24475:524;-1:-1:-1;;;24475:524:0:o;43330:365::-;43399:8;43394:296;43413:18;;;43394:296;;;43449:9;43461:5;;43467:3;43461:10;;;;;-1:-1:-1;;;43461:10:0;;;;;;;;;;;;;;;43449:22;;43495:8;;43488:4;:15;43480:46;;;;-1:-1:-1;;;43480:46:0;;;;;;;:::i;:::-;43543:10;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;43543:18:0;43565:10;43543:32;43535:60;;;;-1:-1:-1;;;43535:60:0;;;;;;;:::i;:::-;43633:1;43604:10;;;:4;:10;;;;;:18;;;:31;;-1:-1:-1;;;;;;43604:31:0;;;;;;43644:25;;;;:38;;;;;;;43433:5;;;;:::i;:::-;;;;43394:296;;;;43330:365;;:::o;40762:577::-;40967:4;41001:1;40988:10;:14;:38;;;;;-1:-1:-1;;;41006:10:0;:20;;40988:38;40980:65;;;;-1:-1:-1;;;40980:65:0;;24436:2:1;40980:65:0;;;24418:21:1;24475:2;24455:18;;;24448:30;-1:-1:-1;;;24494:18:1;;;24487:44;24548:18;;40980:65:0;24408:164:1;40980:65:0;41074:1;41060:11;:15;:37;;;;;41094:3;41079:11;:18;;41060:37;41052:67;;;;-1:-1:-1;;;41052:67:0;;25531:2:1;41052:67:0;;;25513:21:1;25570:2;25550:18;;;25543:30;-1:-1:-1;;;25589:18:1;;;25582:47;25646:18;;41052:67:0;25503:167:1;41052:67:0;41148:3;41134:10;:17;;:39;;;;;41169:4;41155:10;:18;;41134:39;41126:66;;;;-1:-1:-1;;;41126:66:0;;26561:2:1;41126:66:0;;;26543:21:1;26600:2;26580:18;;;26573:30;-1:-1:-1;;;26619:18:1;;;26612:44;26673:18;;41126:66:0;26533:164:1;41126:66:0;-1:-1:-1;;;;;41207:21:0;;41199:45;;;;-1:-1:-1;;;41199:45:0;;26221:2:1;41199:45:0;;;26203:21:1;26260:2;26240:18;;;26233:30;-1:-1:-1;;;26279:18:1;;;26272:41;26330:18;;41199:45:0;26193:161:1;41199:45:0;41258:75;41266:4;;41258:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41258:75:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41272:5:0;;-1:-1:-1;41272:5:0;;;;41258:75;;41272:5;;;;41258:75;;;;;;;;;-1:-1:-1;41279:10:0;;-1:-1:-1;41291:11:0;;-1:-1:-1;41304:10:0;;-1:-1:-1;41316:7:0;41325;41258;:75::i;:::-;41251:82;40762:577;-1:-1:-1;;;;;;;;;;40762:577:0:o;45079:327::-;13186:1;13782:7;;:19;;13774:63;;;;-1:-1:-1;;;13774:63:0;;29231:2:1;13774:63:0;;;29213:21:1;29270:2;29250:18;;;29243:30;29309:33;29289:18;;;29282:61;29360:18;;13774:63:0;29203:181:1;13774:63:0;13186:1;13915:7;:18;45194:8:::1;::::0;45187:15;::::1;45179:46;;;;-1:-1:-1::0;;;45179:46:0::1;;;;;;;:::i;:::-;45240:10;::::0;;;:4:::1;:10;::::0;;;;:18:::1;;::::0;-1:-1:-1;;;;;45240:18:0::1;45262:10;45240:32;45232:60;;;::::0;-1:-1:-1;;;45232:60:0;;25877:2:1;45232:60:0::1;::::0;::::1;25859:21:1::0;25916:2;25896:18;;;25889:30;-1:-1:-1;;;25935:18:1;;;25928:45;25990:18;;45232:60:0::1;25849:165:1::0;45232:60:0::1;45299:15;45317:11:::0;;:45:::1;;45356:6;45317:45;;;45331:10;::::0;;;:4:::1;:10;::::0;;;;:22:::1;;::::0;45317:45:::1;45299:63;;45369:31;45375:2;45379:4;45385:10;45369:31;;;;;;;;;;;::::0;:5:::1;:31::i;40529:32::-:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40529:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40529:32:0;;-1:-1:-1;40529:32:0;-1:-1:-1;;;;;40529:32:0;;;;;;;;;;:::o;25072:311::-;25191:8;-1:-1:-1;;;;;25175:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;25175:24:0;;;25167:78;;;;-1:-1:-1;;;25167:78:0;;27253:2:1;25167:78:0;;;27235:21:1;27292:2;27272:18;;;27265:30;27331:34;27311:18;;;27304:62;-1:-1:-1;;;27382:18:1;;;27375:39;27431:19;;25167:78:0;27225:231:1;25167:78:0;25303:8;25258:18;:32;25277:12;:10;:12::i;:::-;-1:-1:-1;;;;;25258:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;25258:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;25258:53:0;;;;;;;;;;;25342:12;:10;:12::i;:::-;-1:-1:-1;;;;;25327:48:0;;25366:8;25327:48;;;;19500:14:1;19493:22;19475:41;;19463:2;19448:18;;19430:92;25327:48:0;;;;;;;;25072:311;;:::o;44597:374::-;44664:8;44659:307;44678:18;;;44659:307;;;44714:9;44726:5;;44732:3;44726:10;;;;;-1:-1:-1;;;44726:10:0;;;;;;;;;;;;;;;44714:22;;44760:8;;44753:4;:15;44745:46;;;;-1:-1:-1;;;44745:46:0;;;;;;;:::i;:::-;44808:10;;;;:4;:10;;;;;:25;;;-1:-1:-1;;;;;44808:25:0;44837:10;44808:39;44800:71;;;;-1:-1:-1;;;44800:71:0;;23263:2:1;44800:71:0;;;23245:21:1;23302:2;23282:18;;;23275:30;-1:-1:-1;;;23321:18:1;;;23314:49;23380:18;;44800:71:0;23235:169:1;44800:71:0;44916:1;44880:10;;;:4;:10;;;;;:25;;;:38;;-1:-1:-1;;;;;;44880:38:0;;;;;;44927:18;;;;:31;;;;;44948:10;44927:31;;;44698:5;;;;:::i;:::-;;;;44659:307;;43774:330;43858:8;43853:246;43872:18;;;43853:246;;;43908:9;43920:5;;43926:3;43920:10;;;;;-1:-1:-1;;;43920:10:0;;;;;;;;;;;;;;;43908:22;;43954:8;;43947:4;:15;43939:46;;;;-1:-1:-1;;;43939:46:0;;;;;;;:::i;:::-;44002:10;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;44002:18:0;44024:10;44002:32;43994:60;;;;-1:-1:-1;;;43994:60:0;;;;;;;:::i;:::-;44063:10;;;;:4;:10;;;;;:18;;:28;;-1:-1:-1;;;;;;44063:28:0;-1:-1:-1;;;;;44063:28:0;;;;;43892:5;;;;:::i;:::-;;;;43853:246;;;;43774:330;;;:::o;41941:254::-;42023:8;;42016:4;:15;42008:46;;;;-1:-1:-1;;;42008:46:0;;;;;;;:::i;:::-;42069:10;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;42069:18:0;42091:10;42069:32;;:68;;-1:-1:-1;42105:10:0;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;42105:18:0;42127:10;42105:32;42069:68;42061:93;;;;-1:-1:-1;;;42061:93:0;;25190:2:1;42061:93:0;;;25172:21:1;25229:2;25209:18;;;25202:30;-1:-1:-1;;;25248:18:1;;;25241:42;25300:18;;42061:93:0;25162:162:1;42061:93:0;42161:10;;;;:4;:10;;;;;;:18;;:28;41941:254::o;44197:329::-;44278:8;44273:248;44292:18;;;44273:248;;;44328:9;44340:5;;44346:3;44340:10;;;;;-1:-1:-1;;;44340:10:0;;;;;;;;;;;;;;;44328:22;;44374:8;;44367:4;:15;44359:46;;;;-1:-1:-1;;;44359:46:0;;;;;;;:::i;:::-;44422:10;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;44422:18:0;44444:10;44422:32;44414:60;;;;-1:-1:-1;;;44414:60:0;;;;;;;:::i;:::-;44483:10;;;;:4;:10;;;;;:25;;:30;;-1:-1:-1;;;;;;44483:30:0;-1:-1:-1;;;;;44483:30:0;;;;;44312:5;;;;:::i;:::-;;;;44273:248;;42664:593;42809:8;;42802:4;:15;42794:46;;;;-1:-1:-1;;;42794:46:0;;;;;;;:::i;:::-;42855:10;;;;:4;:10;;;;;:18;;;-1:-1:-1;;;;;42855:18:0;42877:10;42855:32;42847:60;;;;-1:-1:-1;;;42847:60:0;;;;;;;:::i;:::-;42935:1;42922:10;:14;:38;;;;;-1:-1:-1;;;42940:10:0;:20;;42922:38;42914:65;;;;-1:-1:-1;;;42914:65:0;;24436:2:1;42914:65:0;;;24418:21:1;24475:2;24455:18;;;24448:30;-1:-1:-1;;;24494:18:1;;;24487:44;24548:18;;42914:65:0;24408:164:1;42914:65:0;43008:3;42994:10;:17;;:39;;;;;43029:4;43015:10;:18;;42994:39;42986:66;;;;-1:-1:-1;;;42986:66:0;;26561:2:1;42986:66:0;;;26543:21:1;26600:2;26580:18;;;26573:30;-1:-1:-1;;;26619:18:1;;;26612:44;26673:18;;42986:66:0;26533:164:1;42986:66:0;43081:1;43067:11;:15;:37;;;;;43101:3;43086:11;:18;;43067:37;43059:67;;;;-1:-1:-1;;;43059:67:0;;25531:2:1;43059:67:0;;;25513:21:1;25570:2;25550:18;;;25543:30;-1:-1:-1;;;25589:18:1;;;25582:47;25646:18;;43059:67:0;25503:167:1;43059:67:0;43133:10;;;;:4;:10;;;;;;;;:21;;;:34;;;;43174:21;;;:34;43215:22;;:36;42664:593::o;45515:432::-;45572:4;45600:8;;45593:4;:15;45585:46;;;;-1:-1:-1;;;45585:46:0;;;;;;;:::i;:::-;45638:15;45656:10;;;:4;:10;;;;;:18;;;45689:21;45681:44;;;;-1:-1:-1;;;45681:44:0;;22514:2:1;45681:44:0;;;22496:21:1;22553:2;22533:18;;;22526:30;-1:-1:-1;;;22572:18:1;;;22565:40;22622:18;;45681:44:0;22486:160:1;45681:44:0;45837:10;45732:17;45869;;;:5;:17;;;;;;;;;;45752:154;;45777:13;45752:154;;;16833:19:1;16868:12;;;16861:28;;;;45823:4:0;16977:2:1;16973:15;;;-1:-1:-1;;16969:24:1;;;16955:12;;;16948:46;17028:15;;;17024:24;;;17010:12;;;17003:46;17065:13;;;17058:29;;;;17103:13;;;17096:29;;;;17141:13;;;;17134:29;;;;45752:154:0;;;;;;;;;;17179:13:1;;;;45752:154:0;;-1:-1:-1;45925:15:0;;;;;;45515:432::o;25695:401::-;25911:12;:10;:12::i;:::-;-1:-1:-1;;;;;25903:20:0;:4;-1:-1:-1;;;;;25903:20:0;;:60;;;;25927:36;25944:4;25950:12;:10;:12::i;25927:36::-;25881:151;;;;-1:-1:-1;;;25881:151:0;;22853:2:1;25881:151:0;;;22835:21:1;22892:2;22872:18;;;22865:30;22931:34;22911:18;;;22904:62;-1:-1:-1;;;22982:18:1;;;22975:39;23031:19;;25881:151:0;22825:231:1;25881:151:0;26043:45;26061:4;26067:2;26071;26075:6;26083:4;26043:17;:45::i;38367:242::-;38526:38;38538:7;38547:2;38551:6;38559:4;38526:11;:38::i;:::-;38575:16;;;;:12;:16;;;;;:26;;38595:6;;38575:16;:26;;38595:6;;38575:26;:::i;:::-;;;;-1:-1:-1;;;;;;38367:242:0:o;411:1345::-;502:11;;469:13;;524:8;520:23;;-1:-1:-1;;534:9:0;;;;;;;;;-1:-1:-1;534:9:0;;;;520:23;585:15;620:1;609:7;:3;615:1;609:7;:::i;:::-;608:13;;;;:::i;:::-;603:19;;:1;:19;:::i;:::-;585:37;-1:-1:-1;670:19:0;702:15;585:37;715:2;702:15;:::i;:::-;-1:-1:-1;;;;;692:26:0;;;;;-1:-1:-1;;;692:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;692:26:0;;670:48;;725:18;746:5;;;;;;;;;;;;;;;;;725:26;;803:1;796:5;792:13;842:2;834:6;830:15;877:1;853:649;894:3;891:1;888:10;853:649;;;935:1;970:12;;;;;964:19;1055:4;1043:2;1039:14;;;;;1021:40;;1015:47;1148:2;1144:14;;;1140:25;;1126:40;;1120:47;1261:1;1257:13;;;1253:24;;1239:39;;1233:46;1365:16;;;;1351:31;;1345:38;1083:1;1079:11;;;1169:4;1116:58;;;1107:68;1192:11;;1229:57;;;1220:67;;;;1304:11;;1341:49;;1332:59;1412:3;1408:13;1431:22;;1491:1;1476:17;;;;928:9;853:649;;;857:30;1526:1;1521:3;1517:11;1541:1;1536:70;;;;1619:1;1614:68;;;;1510:172;;1536:70;-1:-1:-1;;;;;1561:17:0;;1554:43;1536:70;;1614:68;-1:-1:-1;;;;;1639:17:0;;1632:41;1510:172;-1:-1:-1;;;1690:26:0;;;;411:1345;-1:-1:-1;;;;411:1345:0:o;10439:98::-;10519:10;10439:98;;:::o;28257:1074::-;28484:7;:14;28470:3;:10;:28;28462:81;;;;-1:-1:-1;;;28462:81:0;;28420:2:1;28462:81:0;;;28402:21:1;28459:2;28439:18;;;28432:30;28498:34;28478:18;;;28471:62;-1:-1:-1;;;28549:18:1;;;28542:38;28597:19;;28462:81:0;28392:230:1;28462:81:0;-1:-1:-1;;;;;28562:16:0;;28554:66;;;;-1:-1:-1;;;28554:66:0;;;;;;;:::i;:::-;28633:16;28652:12;:10;:12::i;:::-;28633:31;;28755:9;28750:421;28774:3;:10;28770:1;:14;28750:421;;;28806:10;28819:3;28823:1;28819:6;;;;;;-1:-1:-1;;;28819:6:0;;;;;;;;;;;;;;;28806:19;;28840:14;28857:7;28865:1;28857:10;;;;;;-1:-1:-1;;;28857:10:0;;;;;;;;;;;;;;;;;;;;28884:19;28906:13;;;;;;;;;;-1:-1:-1;;;;;28906:19:0;;;;;;;;;;;;28857:10;;-1:-1:-1;28948:21:0;;;;28940:76;;;;-1:-1:-1;;;28940:76:0;;;;;;;:::i;:::-;29060:9;:13;;;;;;;;;;;-1:-1:-1;;;;;29060:19:0;;;;;;;;;;29082:20;;;29060:42;;29132:17;;;;;;;:27;;29082:20;;29060:9;29132:27;;29082:20;;29132:27;:::i;:::-;;;;;;;;28750:421;;;28786:3;;;;:::i;:::-;;;28750:421;;;;29218:2;-1:-1:-1;;;;;29188:47:0;29212:4;-1:-1:-1;;;;;29188:47:0;29202:8;-1:-1:-1;;;;;29188:47:0;;29222:3;29227:7;29188:47;;;;;;;:::i;:::-;;;;;;;;29248:75;29284:8;29294:4;29300:2;29304:3;29309:7;29318:4;29248:35;:75::i;46011:565::-;46238:8;:10;;46213:4;;;;46238:10;46213:4;46238:10;;;:::i;:::-;;;;-1:-1:-1;46268:260:0;;;;;;;;;;;;;;;;;;-1:-1:-1;46268:260:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46268:260:0;;;;;;;;;;;;;;;;;;;46255:10;;;:4;:10;;;;;;:273;;;;46226:22;;-1:-1:-1;46268:260:0;;46255:10;;:273;;:10;;:273;;;;:::i;:::-;-1:-1:-1;46255:273:0;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;46255:273:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46255:273:0;;;-1:-1:-1;;;;;46255:273:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46540:12;46547:4;;46540:12;;-1:-1:-1;;46540:12:0;46566:4;46011:565;-1:-1:-1;;;;;;;;46011:565:0:o;27079:820::-;-1:-1:-1;;;;;27267:16:0;;27259:66;;;;-1:-1:-1;;;27259:66:0;;;;;;;:::i;:::-;27338:16;27357:12;:10;:12::i;:::-;27338:31;;27382:96;27403:8;27413:4;27419:2;27423:21;27441:2;27423:17;:21::i;:::-;27446:25;27464:6;27446:17;:25::i;27382:96::-;27491:19;27513:13;;;;;;;;;;;-1:-1:-1;;;;;27513:19:0;;;;;;;;;;27551:21;;;;27543:76;;;;-1:-1:-1;;;27543:76:0;;;;;;;:::i;:::-;27655:9;:13;;;;;;;;;;;-1:-1:-1;;;;;27655:19:0;;;;;;;;;;27677:20;;;27655:42;;27719:17;;;;;;;:27;;27677:20;;27655:9;27719:27;;27677:20;;27719:27;:::i;:::-;;;;-1:-1:-1;;27764:46:0;;;29745:25:1;;;29801:2;29786:18;;29779:34;;;-1:-1:-1;;;;;27764:46:0;;;;;;;;;;;;;;29718:18:1;27764:46:0;;;;;;;27823:68;27854:8;27864:4;27870:2;27874;27878:6;27886:4;27823:30;:68::i;:::-;27079:820;;;;;;;:::o;30664:599::-;-1:-1:-1;;;;;30822:21:0;;30814:67;;;;-1:-1:-1;;;30814:67:0;;28829:2:1;30814:67:0;;;28811:21:1;28868:2;28848:18;;;28841:30;28907:34;28887:18;;;28880:62;-1:-1:-1;;;28958:18:1;;;28951:31;28999:19;;30814:67:0;28801:223:1;30814:67:0;30894:16;30913:12;:10;:12::i;:::-;30894:31;;30938:107;30959:8;30977:1;30981:7;30990:21;31008:2;30990:17;:21::i;30938:107::-;31058:9;:13;;;;;;;;;;;-1:-1:-1;;;;;31058:22:0;;;;;;;;;:32;;31084:6;;31058:9;:32;;31084:6;;31058:32;:::i;:::-;;;;-1:-1:-1;;31106:57:0;;;29745:25:1;;;29801:2;29786:18;;29779:34;;;-1:-1:-1;;;;;31106:57:0;;;;31139:1;;31106:57;;;;;;29718:18:1;31106:57:0;;;;;;;31176:79;31207:8;31225:1;31229:7;31238:2;31242:6;31250:4;31176:30;:79::i;36346:813::-;-1:-1:-1;;;;;36586:13:0;;2829:20;2877:8;36582:570;;36622:79;;-1:-1:-1;;;36622:79:0;;-1:-1:-1;;;;;36622:43:0;;;;;:79;;36666:8;;36676:4;;36682:3;;36687:7;;36696:4;;36622:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36622:79:0;;;;;;;;-1:-1:-1;;36622:79:0;;;;;;;;;;;;:::i;:::-;;;36618:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;37014:6;37007:14;;-1:-1:-1;;;37007:14:0;;;;;;;;:::i;36618:523::-;;;37063:62;;-1:-1:-1;;;37063:62:0;;20928:2:1;37063:62:0;;;20910:21:1;20967:2;20947:18;;;20940:30;21006:34;20986:18;;;20979:62;-1:-1:-1;;;21057:18:1;;;21050:50;21117:19;;37063:62:0;20900:242:1;36618:523:0;-1:-1:-1;;;;;;36783:60:0;;-1:-1:-1;;;36783:60:0;36779:159;;36868:50;;-1:-1:-1;;;36868:50:0;;;;;;;:::i;37167:198::-;37287:16;;;37301:1;37287:16;;;;;;;;;37233;;37262:22;;37287:16;;;;;;;;;;;;-1:-1:-1;37287:16:0;37262:41;;37325:7;37314:5;37320:1;37314:8;;;;;;-1:-1:-1;;;37314:8:0;;;;;;;;;;;;;;;;;;:18;37352:5;37167:198;-1:-1:-1;;37167:198:0:o;35594:744::-;-1:-1:-1;;;;;35809:13:0;;2829:20;2877:8;35805:526;;35845:72;;-1:-1:-1;;;35845:72:0;;-1:-1:-1;;;;;35845:38:0;;;;;:72;;35884:8;;35894:4;;35900:2;;35904:6;;35912:4;;35845:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35845:72:0;;;;;;;;-1:-1:-1;;35845:72:0;;;;;;;;;;;;:::i;:::-;;;35841:479;;;;:::i;:::-;-1:-1:-1;;;;;;35967:55:0;;-1:-1:-1;;;35967:55:0;35963:154;;36047:50;;-1:-1:-1;;;36047:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:395;;;319:3;312:4;304:6;300:17;296:27;286:2;;344:8;334;327:26;286:2;-1:-1:-1;374:20:1;;-1:-1:-1;;;;;406:30:1;;403:2;;;456:8;446;439:26;403:2;500:4;492:6;488:17;476:29;;560:3;553:4;543:6;540:1;536:14;528:6;524:27;520:38;517:47;514:2;;;577:1;574;567:12;514:2;276:311;;;;;:::o;592:755::-;;699:3;692:4;684:6;680:17;676:27;666:2;;721:5;714;707:20;666:2;761:6;748:20;787:4;810:43;850:2;810:43;:::i;:::-;882:2;876:9;894:31;922:2;914:6;894:31;:::i;:::-;960:18;;;994:15;;;;-1:-1:-1;1029:15:1;;;1079:1;1075:10;;;1063:23;;1059:32;;1056:41;-1:-1:-1;1053:2:1;;;1114:5;1107;1100:20;1053:2;1140:5;1154:163;1168:2;1165:1;1162:9;1154:163;;;1225:17;;1213:30;;1263:12;;;;1295;;;;1186:1;1179:9;1154:163;;;-1:-1:-1;1335:6:1;;656:691;-1:-1:-1;;;;;;;656:691:1:o;1352:575::-;;1447:3;1440:4;1432:6;1428:17;1424:27;1414:2;;1469:5;1462;1455:20;1414:2;1509:6;1496:20;-1:-1:-1;;;;;1531:2:1;1528:26;1525:2;;;1557:18;;:::i;:::-;1606:2;1600:9;1618:67;1673:2;1654:13;;-1:-1:-1;;1650:27:1;1679:4;1646:38;1600:9;1618:67;:::i;:::-;1709:2;1701:6;1694:18;1755:3;1748:4;1743:2;1735:6;1731:15;1727:26;1724:35;1721:2;;;1776:5;1769;1762:20;1721:2;1844;1837:4;1829:6;1825:17;1818:4;1810:6;1806:17;1793:54;1867:15;;;1884:4;1863:26;1856:41;;;;1871:6;1404:523;-1:-1:-1;;1404:523:1:o;1932:376::-;;;2048:3;2041:4;2033:6;2029:17;2025:27;2015:2;;2073:8;2063;2056:26;2015:2;-1:-1:-1;2103:20:1;;-1:-1:-1;;;;;2135:30:1;;2132:2;;;2185:8;2175;2168:26;2132:2;2229:4;2221:6;2217:17;2205:29;;2281:3;2274:4;2265:6;2257;2253:19;2249:30;2246:39;2243:2;;;2298:1;2295;2288:12;2313:196;;2425:2;2413:9;2404:7;2400:23;2396:32;2393:2;;;2446:6;2438;2431:22;2393:2;2474:29;2493:9;2474:29;:::i;:::-;2464:39;2383:126;-1:-1:-1;;;2383:126:1:o;2514:270::-;;;2643:2;2631:9;2622:7;2618:23;2614:32;2611:2;;;2664:6;2656;2649:22;2611:2;2692:29;2711:9;2692:29;:::i;:::-;2682:39;;2740:38;2774:2;2763:9;2759:18;2740:38;:::i;:::-;2730:48;;2601:183;;;;;:::o;2789:983::-;;;;;;3028:3;3016:9;3007:7;3003:23;2999:33;2996:2;;;3050:6;3042;3035:22;2996:2;3078:29;3097:9;3078:29;:::i;:::-;3068:39;;3126:38;3160:2;3149:9;3145:18;3126:38;:::i;:::-;3116:48;;3215:2;3204:9;3200:18;3187:32;-1:-1:-1;;;;;3279:2:1;3271:6;3268:14;3265:2;;;3300:6;3292;3285:22;3265:2;3328:61;3381:7;3372:6;3361:9;3357:22;3328:61;:::i;:::-;3318:71;;3442:2;3431:9;3427:18;3414:32;3398:48;;3471:2;3461:8;3458:16;3455:2;;;3492:6;3484;3477:22;3455:2;3520:63;3575:7;3564:8;3553:9;3549:24;3520:63;:::i;:::-;3510:73;;3636:3;3625:9;3621:19;3608:33;3592:49;;3666:2;3656:8;3653:16;3650:2;;;3687:6;3679;3672:22;3650:2;;3715:51;3758:7;3747:8;3736:9;3732:24;3715:51;:::i;:::-;3705:61;;;2986:786;;;;;;;;:::o;3777:626::-;;;;;;3966:3;3954:9;3945:7;3941:23;3937:33;3934:2;;;3988:6;3980;3973:22;3934:2;4016:29;4035:9;4016:29;:::i;:::-;4006:39;;4064:38;4098:2;4087:9;4083:18;4064:38;:::i;:::-;4054:48;;4149:2;4138:9;4134:18;4121:32;4111:42;;4200:2;4189:9;4185:18;4172:32;4162:42;;4255:3;4244:9;4240:19;4227:33;-1:-1:-1;;;;;4275:6:1;4272:30;4269:2;;;4320:6;4312;4305:22;4269:2;4348:49;4389:7;4380:6;4369:9;4365:22;4348:49;:::i;4408:367::-;;;4534:2;4522:9;4513:7;4509:23;4505:32;4502:2;;;4555:6;4547;4540:22;4502:2;4583:29;4602:9;4583:29;:::i;:::-;4573:39;;4662:2;4651:9;4647:18;4634:32;4709:5;4702:13;4695:21;4688:5;4685:32;4675:2;;4736:6;4728;4721:22;4675:2;4764:5;4754:15;;;4492:283;;;;;:::o;4780:264::-;;;4909:2;4897:9;4888:7;4884:23;4880:32;4877:2;;;4930:6;4922;4915:22;4877:2;4958:29;4977:9;4958:29;:::i;:::-;4948:39;5034:2;5019:18;;;;5006:32;;-1:-1:-1;;;4867:177:1:o;5049:1274::-;;;5228:2;5216:9;5207:7;5203:23;5199:32;5196:2;;;5249:6;5241;5234:22;5196:2;5294:9;5281:23;-1:-1:-1;;;;;5364:2:1;5356:6;5353:14;5350:2;;;5385:6;5377;5370:22;5350:2;5428:6;5417:9;5413:22;5403:32;;5473:7;5466:4;5462:2;5458:13;5454:27;5444:2;;5500:6;5492;5485:22;5444:2;5541;5528:16;5563:4;5586:43;5626:2;5586:43;:::i;:::-;5658:2;5652:9;5670:31;5698:2;5690:6;5670:31;:::i;:::-;5736:18;;;5770:15;;;;-1:-1:-1;5805:11:1;;;5847:1;5843:10;;;5835:19;;5831:28;;5828:41;-1:-1:-1;5825:2:1;;;5887:6;5879;5872:22;5825:2;5914:6;5905:15;;5929:169;5943:2;5940:1;5937:9;5929:169;;;6000:23;6019:3;6000:23;:::i;:::-;5988:36;;5961:1;5954:9;;;;;6044:12;;;;6076;;5929:169;;;-1:-1:-1;6117:6:1;-1:-1:-1;;6161:18:1;;6148:32;;-1:-1:-1;;6192:16:1;;;6189:2;;;6226:6;6218;6211:22;6189:2;;6254:63;6309:7;6298:8;6287:9;6283:24;6254:63;:::i;:::-;6244:73;;;5186:1137;;;;;:::o;6328:457::-;;;6475:2;6463:9;6454:7;6450:23;6446:32;6443:2;;;6496:6;6488;6481:22;6443:2;6541:9;6528:23;-1:-1:-1;;;;;6566:6:1;6563:30;6560:2;;;6611:6;6603;6596:22;6560:2;6655:70;6717:7;6708:6;6697:9;6693:22;6655:70;:::i;:::-;6744:8;;6629:96;;-1:-1:-1;6433:352:1;-1:-1:-1;;;;6433:352:1:o;6790:531::-;;;;6954:2;6942:9;6933:7;6929:23;6925:32;6922:2;;;6975:6;6967;6960:22;6922:2;7020:9;7007:23;-1:-1:-1;;;;;7045:6:1;7042:30;7039:2;;;7090:6;7082;7075:22;7039:2;7134:70;7196:7;7187:6;7176:9;7172:22;7134:70;:::i;:::-;7223:8;;-1:-1:-1;7108:96:1;-1:-1:-1;7277:38:1;;-1:-1:-1;7311:2:1;7296:18;;7277:38;:::i;:::-;7267:48;;6912:409;;;;;:::o;7326:255::-;;7437:2;7425:9;7416:7;7412:23;7408:32;7405:2;;;7458:6;7450;7443:22;7405:2;7502:9;7489:23;7521:30;7545:5;7521:30;:::i;7586:259::-;;7708:2;7696:9;7687:7;7683:23;7679:32;7676:2;;;7729:6;7721;7714:22;7676:2;7766:9;7760:16;7785:30;7809:5;7785:30;:::i;7850:1107::-;;;;;;;;;;8104:3;8092:9;8083:7;8079:23;8075:33;8072:2;;;8126:6;8118;8111:22;8072:2;8171:9;8158:23;-1:-1:-1;;;;;8241:2:1;8233:6;8230:14;8227:2;;;8262:6;8254;8247:22;8227:2;8306:59;8357:7;8348:6;8337:9;8333:22;8306:59;:::i;:::-;8384:8;;-1:-1:-1;8280:85:1;-1:-1:-1;8472:2:1;8457:18;;8444:32;;-1:-1:-1;8488:16:1;;;8485:2;;;8522:6;8514;8507:22;8485:2;;8566:61;8619:7;8608:8;8597:9;8593:24;8566:61;:::i;:::-;8646:8;;-1:-1:-1;8540:87:1;-1:-1:-1;;8728:2:1;8713:18;;8700:32;;-1:-1:-1;8779:2:1;8764:18;;8751:32;;-1:-1:-1;8830:3:1;8815:19;;8802:33;;-1:-1:-1;8854:39:1;8888:3;8873:19;;8854:39;:::i;:::-;8844:49;;8912:39;8946:3;8935:9;8931:19;8912:39;:::i;:::-;8902:49;;8062:895;;;;;;;;;;;:::o;8962:190::-;;9074:2;9062:9;9053:7;9049:23;9045:32;9042:2;;;9095:6;9087;9080:22;9042:2;-1:-1:-1;9123:23:1;;9032:120;-1:-1:-1;9032:120:1:o;9157:258::-;;;9286:2;9274:9;9265:7;9261:23;9257:32;9254:2;;;9307:6;9299;9292:22;9254:2;-1:-1:-1;;9335:23:1;;;9405:2;9390:18;;;9377:32;;-1:-1:-1;9244:171:1:o;9420:819::-;;;;;;9606:2;9594:9;9585:7;9581:23;9577:32;9574:2;;;9627:6;9619;9612:22;9574:2;9668:9;9655:23;9645:33;;9729:2;9718:9;9714:18;9701:32;-1:-1:-1;;;;;9793:2:1;9785:6;9782:14;9779:2;;;9814:6;9806;9799:22;9779:2;9858:59;9909:7;9900:6;9889:9;9885:22;9858:59;:::i;:::-;9936:8;;-1:-1:-1;9832:85:1;-1:-1:-1;10024:2:1;10009:18;;9996:32;;-1:-1:-1;10040:16:1;;;10037:2;;;10074:6;10066;10059:22;10037:2;;10118:61;10171:7;10160:8;10149:9;10145:24;10118:61;:::i;:::-;9564:675;;;;-1:-1:-1;9564:675:1;;-1:-1:-1;10198:8:1;;10092:87;9564:675;-1:-1:-1;;;9564:675:1:o;10507:332::-;;;;10653:2;10641:9;10632:7;10628:23;10624:32;10621:2;;;10674:6;10666;10659:22;10621:2;10715:9;10702:23;10692:33;;10772:2;10761:9;10757:18;10744:32;10734:42;;10795:38;10829:2;10818:9;10814:18;10795:38;:::i;10844:395::-;;;;;11007:3;10995:9;10986:7;10982:23;10978:33;10975:2;;;11029:6;11021;11014:22;10975:2;-1:-1:-1;;11057:23:1;;;11127:2;11112:18;;11099:32;;-1:-1:-1;11178:2:1;11163:18;;11150:32;;11229:2;11214:18;11201:32;;-1:-1:-1;10965:274:1;-1:-1:-1;10965:274:1:o;11244:437::-;;11335:5;11329:12;11362:6;11357:3;11350:19;11388:4;11417:2;11412:3;11408:12;11401:19;;11454:2;11447:5;11443:14;11475:3;11487:169;11501:6;11498:1;11495:13;11487:169;;;11562:13;;11550:26;;11596:12;;;;11631:15;;;;11523:1;11516:9;11487:169;;;-1:-1:-1;11672:3:1;;11305:376;-1:-1:-1;;;;;11305:376:1:o;11686:257::-;;11765:5;11759:12;11792:6;11787:3;11780:19;11808:63;11864:6;11857:4;11852:3;11848:14;11841:4;11834:5;11830:16;11808:63;:::i;:::-;11925:2;11904:15;-1:-1:-1;;11900:29:1;11891:39;;;;11932:4;11887:50;;11735:208;-1:-1:-1;;11735:208:1:o;11948:979::-;12033:12;;11948:979;;12090:1;12110:18;;;;12163;;;;12190:2;;12244:4;12236:6;12232:17;12222:27;;12190:2;12270;12318;12310:6;12307:14;12287:18;12284:38;12281:2;;;-1:-1:-1;;;12345:33:1;;12401:4;12398:1;12391:15;12431:4;12352:3;12419:17;12281:2;12462:18;12489:104;;;;12607:1;12602:319;;;;12455:466;;12489:104;-1:-1:-1;;12522:24:1;;12510:37;;12567:16;;;;-1:-1:-1;12489:104:1;;12602:319;30012:127;30078:17;;;30128:4;30112:21;;12696:1;12710:165;12724:6;12721:1;12718:13;12710:165;;;12802:14;;12789:11;;;12782:35;12845:16;;;;12739:10;;12710:165;;;12714:3;;12904:6;12899:3;12895:16;12888:23;;12455:466;;;;;;;12006:921;;;;:::o;12932:1443::-;-1:-1:-1;;;13732:47:1;;12932:1443;13798:47;13841:2;13832:12;;13824:6;13798:47;:::i;:::-;-1:-1:-1;;;13854:27:1;;-1:-1:-1;;;13905:1:1;13897:10;;13890:64;-1:-1:-1;;;13978:2:1;13970:11;;13963:76;14068:66;14063:2;14055:11;;14048:87;-1:-1:-1;;;14159:2:1;14151:11;;14144:27;14194:13;;14216:59;14194:13;14263:2;14255:11;;14250:2;14238:15;;14216:59;:::i;:::-;-1:-1:-1;;;14333:2:1;14294:15;;;;14325:11;;;14318:24;14366:2;14358:11;;13722:653;-1:-1:-1;;;;13722:653:1:o;14380:1698::-;;14987:66;14982:3;14975:79;15084:66;15079:2;15074:3;15070:12;15063:88;15181:66;15176:2;15171:3;15167:12;15160:88;15278:66;15273:2;15268:3;15264:12;15257:88;15364:48;15407:3;15402;15398:13;15390:6;15364:48;:::i;:::-;15432:34;15428:2;15421:46;15496:66;15491:2;15487;15483:11;15476:87;15592:66;15587:2;15583;15579:11;15572:87;15688:66;15683:2;15679;15675:11;15668:87;-1:-1:-1;;;15779:3:1;15775:2;15771:12;15764:25;15808:47;15850:3;15846:2;15842:12;15834:6;15808:47;:::i;:::-;15875:66;15864:78;;-1:-1:-1;;;15966:2:1;15958:11;;15951:49;-1:-1:-1;;;16024:2:1;16016:11;;16009:36;16069:2;16061:11;;14965:1113;-1:-1:-1;;;;;14965:1113:1:o;16083:448::-;;16345:31;16340:3;16333:44;16406:6;16400:13;16422:62;16477:6;16472:2;16467:3;16463:12;16456:4;16448:6;16444:17;16422:62;:::i;:::-;16504:16;;;;16522:2;16500:25;;16323:208;-1:-1:-1;;16323:208:1:o;17203:826::-;-1:-1:-1;;;;;17600:15:1;;;17582:34;;17652:15;;17647:2;17632:18;;17625:43;17562:3;17699:2;17684:18;;17677:31;;;17203:826;;17731:57;;17768:19;;17760:6;17731:57;:::i;:::-;17836:9;17828:6;17824:22;17819:2;17808:9;17804:18;17797:50;17870:44;17907:6;17899;17870:44;:::i;:::-;17856:58;;17963:9;17955:6;17951:22;17945:3;17934:9;17930:19;17923:51;17991:32;18016:6;18008;17991:32;:::i;:::-;17983:40;17534:495;-1:-1:-1;;;;;;;;17534:495:1:o;18034:560::-;-1:-1:-1;;;;;18331:15:1;;;18313:34;;18383:15;;18378:2;18363:18;;18356:43;18430:2;18415:18;;18408:34;;;18473:2;18458:18;;18451:34;;;18293:3;18516;18501:19;;18494:32;;;18034:560;;18543:45;;18568:19;;18560:6;18543:45;:::i;:::-;18535:53;18265:329;-1:-1:-1;;;;;;;18265:329:1:o;18599:261::-;;18778:2;18767:9;18760:21;18798:56;18850:2;18839:9;18835:18;18827:6;18798:56;:::i;18865:465::-;;19122:2;19111:9;19104:21;19148:56;19200:2;19189:9;19185:18;19177:6;19148:56;:::i;:::-;19252:9;19244:6;19240:22;19235:2;19224:9;19220:18;19213:50;19280:44;19317:6;19309;19280:44;:::i;:::-;19272:52;19094:236;-1:-1:-1;;;;;19094:236:1:o;19527:219::-;;19676:2;19665:9;19658:21;19696:44;19736:2;19725:9;19721:18;19713:6;19696:44;:::i;19751:970::-;;20136:3;20166:2;20155:9;20148:21;20192:44;20232:2;20221:9;20217:18;20209:6;20192:44;:::i;:::-;20178:58;;20284:9;20276:6;20272:22;20267:2;20256:9;20252:18;20245:50;20312:32;20337:6;20329;20312:32;:::i;:::-;20375:2;20360:18;;20353:34;;;;-1:-1:-1;;20418:2:1;20403:18;;20396:34;;;;20461:3;20446:19;;20439:35;;;;20505:3;20490:19;;20483:35;;;;-1:-1:-1;;;;;20593:15:1;;;20587:3;20572:19;;20565:44;20646:15;;;20640:3;20625:19;;20618:44;20699:15;20693:3;20678:19;;;20671:44;20304:40;20116:605;-1:-1:-1;;20116:605:1:o;21147:404::-;21349:2;21331:21;;;21388:2;21368:18;;;21361:30;21427:34;21422:2;21407:18;;21400:62;-1:-1:-1;;;21493:2:1;21478:18;;21471:38;21541:3;21526:19;;21321:230::o;21968:339::-;22170:2;22152:21;;;22209:2;22189:18;;;22182:30;-1:-1:-1;;;22243:2:1;22228:18;;22221:45;22298:2;22283:18;;22142:165::o;23409:401::-;23611:2;23593:21;;;23650:2;23630:18;;;23623:30;23689:34;23684:2;23669:18;;23662:62;-1:-1:-1;;;23755:2:1;23740:18;;23733:35;23800:3;23785:19;;23583:227::o;24577:406::-;24779:2;24761:21;;;24818:2;24798:18;;;24791:30;24857:34;24852:2;24837:18;;24830:62;-1:-1:-1;;;24923:2:1;24908:18;;24901:40;24973:3;24958:19;;24751:232::o;27871:342::-;28073:2;28055:21;;;28112:2;28092:18;;;28085:30;-1:-1:-1;;;28146:2:1;28131:18;;28124:48;28204:2;28189:18;;28045:168::o;29824:183::-;;-1:-1:-1;;;;;29909:6:1;29906:30;29903:2;;;29939:18;;:::i;:::-;-1:-1:-1;29984:1:1;29980:14;29996:4;29976:25;;29893:114::o;30144:128::-;;30215:1;30211:6;30208:1;30205:13;30202:2;;;30221:18;;:::i;:::-;-1:-1:-1;30257:9:1;;30192:80::o;30277:217::-;;30343:1;30333:2;;-1:-1:-1;;;30368:31:1;;30422:4;30419:1;30412:15;30450:4;30375:1;30440:15;30333:2;-1:-1:-1;30479:9:1;;30323:171::o;30499:168::-;;30605:1;30601;30597:6;30593:14;30590:1;30587:21;30582:1;30575:9;30568:17;30564:45;30561:2;;;30612:18;;:::i;:::-;-1:-1:-1;30652:9:1;;30551:116::o;30672:258::-;30744:1;30754:113;30768:6;30765:1;30762:13;30754:113;;;30844:11;;;30838:18;30825:11;;;30818:39;30790:2;30783:10;30754:113;;;30885:6;30882:1;30879:13;30876:2;;;-1:-1:-1;;30920:1:1;30902:16;;30895:27;30725:205::o;30935:380::-;31014:1;31010:12;;;;31057;;;31078:2;;31132:4;31124:6;31120:17;31110:27;;31078:2;31185;31177:6;31174:14;31154:18;31151:38;31148:2;;;31231:10;31226:3;31222:20;31219:1;31212:31;31266:4;31263:1;31256:15;31294:4;31291:1;31284:15;31148:2;;30990:325;;;:::o;31320:249::-;31430:2;31411:13;;-1:-1:-1;;31407:27:1;31395:40;;-1:-1:-1;;;;;31450:34:1;;31486:22;;;31447:62;31444:2;;;31512:18;;:::i;:::-;31548:2;31541:22;-1:-1:-1;;31367:202:1:o;31574:135::-;;-1:-1:-1;;31634:17:1;;31631:2;;;31654:18;;:::i;:::-;-1:-1:-1;31701:1:1;31690:13;;31621:88::o;31714:127::-;31775:10;31770:3;31766:20;31763:1;31756:31;31806:4;31803:1;31796:15;31830:4;31827:1;31820:15;31846:127;31907:10;31902:3;31898:20;31895:1;31888:31;31938:4;31935:1;31928:15;31962:4;31959:1;31952:15;31978:185;;32055:1;32037:16;32034:23;32031:2;;;32105:1;32100:3;32095;32080:27;32136:10;32131:3;32127:20;32021:142;:::o;32168:671::-;;32249:4;32231:16;32228:26;32225:2;;;32257:5;;32225:2;32291;32285:9;-1:-1:-1;;32356:16:1;32352:25;;32349:1;32285:9;32328:50;32407:4;32401:11;32431:16;-1:-1:-1;;;;;32537:2:1;32530:4;32522:6;32518:17;32515:25;32510:2;32502:6;32499:14;32496:45;32493:2;;;32544:5;;;;;;;32493:2;32581:6;32575:4;32571:17;32560:28;;32617:3;32611:10;32644:2;32636:6;32633:14;32630:2;;;32650:5;;;;;;;;32630:2;32734;32715:16;32709:4;32705:27;32701:36;32694:4;32685:6;32680:3;32676:16;32672:27;32669:69;32666:2;;;32741:5;;;;;;;;32666:2;32757:57;32808:4;32799:6;32791;32787:19;32783:30;32777:4;32757:57;:::i;:::-;-1:-1:-1;32830:3:1;;-1:-1:-1;;;;;32215:624:1;:::o;32844:131::-;-1:-1:-1;;;;;;32918:32:1;;32908:43;;32898:2;;32965:1;32962;32955:12;32898:2;32888:87;:::o

Swarm Source

ipfs://1a3b2b16a3de220322c3945b63c8fa15cf5479ea07647827c1301e9dd87eb24c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Provably Rare Gems are ERC-1155 tokens for gemstones for use in the metaverse.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.