ETH Price: $3,098.63 (-5.88%)
Gas: 6 Gwei

Token

Gen ()
 

Overview

Max Total Supply

784

Holders

607

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x74fefa98d126a21075733dbe78960baeba230d62
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DagenItems

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : DagenItems.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract DagenItems is ERC1155, Ownable, AccessControl, Pausable, ERC1155Burnable, ERC1155Supply {
  using SafeMath for uint256;

  string public name = "Gen";
  // allow for address to hold multiple gen, such as market
  mapping(address => bool) private _multiHolders;
  mapping(uint256 => uint256) public preset;

  bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

  constructor() ERC1155("https://dagen.io/gens/{id}.json") {
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _grantRole(PAUSER_ROLE, msg.sender);
    _grantRole(MINTER_ROLE, msg.sender);
  }

  function multiHolderEnable(address holder) external onlyRole(DEFAULT_ADMIN_ROLE) {
    _multiHolders[holder] = true;
  }

  function multiHolderDisable(address holder) external onlyRole(DEFAULT_ADMIN_ROLE) {
    _multiHolders[holder] = false;
  }

  /**
   * @notice Set up preset for limit token supply
   * @param ids: token ids
   * @param amounts: amount for each token
   */
  function setupPreset(uint256[] calldata ids, uint256[] calldata amounts)
    external
    onlyRole(DEFAULT_ADMIN_ROLE)
  {
    for (uint256 i = 0; i < ids.length; i++) {
      preset[ids[i]] = amounts[i];
    }
  }

  function setURI(string memory newuri) public onlyRole(DEFAULT_ADMIN_ROLE) {
    _setURI(newuri);
  }

  function pause() public onlyRole(PAUSER_ROLE) {
    _pause();
  }

  function unpause() public onlyRole(PAUSER_ROLE) {
    _unpause();
  }

  function mint(
    address account,
    uint256 id,
    uint256 amount,
    bytes memory data
  ) public onlyRole(MINTER_ROLE) {
    require(totalSupply(id) + amount <= preset[id], "exceed preset");
    _mint(account, id, amount, data);
  }

  function mintBatch(
    address to,
    uint256[] memory ids,
    uint256[] memory amounts,
    bytes memory data
  ) public onlyRole(MINTER_ROLE) {
    for (uint256 i = 0; i < ids.length; i++) {
      require(totalSupply(ids[i]) + amounts[i] <= preset[ids[i]], "exceed preset");
    }
    _mintBatch(to, ids, amounts, data);
  }

  /**
   * @notice Callback limit: not multiHolders could only hold one gen
   */
  function _beforeTokenTransfer(
    address operator,
    address from,
    address to,
    uint256[] memory ids,
    uint256[] memory amounts,
    bytes memory data
  ) internal override(ERC1155, ERC1155Supply) whenNotPaused {
    super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    if (to != address(0) && !_multiHolders[to]) {
      for (uint256 i = 0; i < ids.length; i++) {
        require(balanceOf(to, ids[i]) == 0, "already have");
      }
    }
  }

  // The following functions are overrides required by Solidity.

  function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC1155, AccessControl)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 3 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 6 of 17 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 7 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 9 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 10 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 14 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

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

File 16 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"multiHolderDisable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"multiHolderEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"preset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setupPreset","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526040518060400160405280600381526020017f47656e00000000000000000000000000000000000000000000000000000000008152506007908051906020019062000051929190620003a9565b503480156200005f57600080fd5b506040518060400160405280601f81526020017f68747470733a2f2f646167656e2e696f2f67656e732f7b69647d2e6a736f6e00815250620000a7816200016260201b60201c565b50620000c8620000bc6200017e60201b60201c565b6200018660201b60201c565b6000600560006101000a81548160ff021916908315150217905550620000f86000801b336200024c60201b60201c565b6200012a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200024c60201b60201c565b6200015c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200024c60201b60201c565b620004bd565b80600290805190602001906200017a929190620003a9565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025e82826200033e60201b60201c565b6200033a5760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002df6200017e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003b79062000488565b90600052602060002090601f016020900481019282620003db576000855562000427565b82601f10620003f657805160ff191683800117855562000427565b8280016001018555821562000427579182015b828111156200042657825182559160200191906001019062000409565b5b5090506200043691906200043a565b5090565b5b80821115620004555760008160009055506001016200043b565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004a157607f821691505b602082108103620004b757620004b662000459565b5b50919050565b6152c980620004cd6000396000f3fe608060405234801561001057600080fd5b50600436106102055760003560e01c8063731133e91161011a578063bd85b039116100ad578063e63ab1e91161007c578063e63ab1e9146105be578063e985e9c5146105dc578063f242432a1461060c578063f2fde38b14610628578063f5298aca1461064457610205565b8063bd85b03914610538578063d539139314610568578063d547741f14610586578063e36775d9146105a257610205565b80639221d6cf116100e95780639221d6cf146104b257806393a34c05146104e2578063a217fddf146104fe578063a22cb4651461051c57610205565b8063731133e91461043e5780638456cb591461045a5780638da5cb5b1461046457806391d148541461048257610205565b80632f2ff15d1161019d5780634f558e791161016c5780634f558e79146103ae57806354547342146103de5780635c975abb146103fa5780636b20c45414610418578063715018a61461043457610205565b80632f2ff15d1461033c57806336568abe146103585780633f4ba83a146103745780634e1273f41461037e57610205565b80630e89341c116101d95780630e89341c146102a45780631f7fdffa146102d4578063248a9ca3146102f05780632eb2c2d61461032057610205565b8062fdd58e1461020a57806301ffc9a71461023a57806302fe53051461026a57806306fdde0314610286575b600080fd5b610224600480360381019061021f91906134a7565b610660565b60405161023191906134f6565b60405180910390f35b610254600480360381019061024f9190613569565b610728565b60405161026191906135b1565b60405180910390f35b610284600480360381019061027f9190613712565b61073a565b005b61028e61075c565b60405161029b91906137e3565b60405180910390f35b6102be60048036038101906102b99190613805565b6107ea565b6040516102cb91906137e3565b60405180910390f35b6102ee60048036038101906102e9919061399b565b61087e565b005b61030a60048036038101906103059190613a8c565b61099a565b6040516103179190613ac8565b60405180910390f35b61033a60048036038101906103359190613ae3565b6109ba565b005b61035660048036038101906103519190613bb2565b610a5b565b005b610372600480360381019061036d9190613bb2565b610a84565b005b61037c610b07565b005b61039860048036038101906103939190613cb5565b610b44565b6040516103a59190613deb565b60405180910390f35b6103c860048036038101906103c39190613805565b610c5d565b6040516103d591906135b1565b60405180910390f35b6103f860048036038101906103f39190613e68565b610c71565b005b610402610cf9565b60405161040f91906135b1565b60405180910390f35b610432600480360381019061042d9190613ee9565b610d10565b005b61043c610dad565b005b61045860048036038101906104539190613f74565b610e35565b005b610462610ee3565b005b61046c610f20565b6040516104799190614006565b60405180910390f35b61049c60048036038101906104979190613bb2565b610f4a565b6040516104a991906135b1565b60405180910390f35b6104cc60048036038101906104c79190613805565b610fb5565b6040516104d991906134f6565b60405180910390f35b6104fc60048036038101906104f79190614021565b610fcd565b005b61050661103e565b6040516105139190613ac8565b60405180910390f35b6105366004803603810190610531919061407a565b611045565b005b610552600480360381019061054d9190613805565b61105b565b60405161055f91906134f6565b60405180910390f35b610570611078565b60405161057d9190613ac8565b60405180910390f35b6105a0600480360381019061059b9190613bb2565b61109c565b005b6105bc60048036038101906105b79190614021565b6110c5565b005b6105c6611136565b6040516105d39190613ac8565b60405180910390f35b6105f660048036038101906105f191906140ba565b61115a565b60405161060391906135b1565b60405180910390f35b610626600480360381019061062191906140fa565b6111ee565b005b610642600480360381019061063d9190614021565b61128f565b005b61065e60048036038101906106599190614191565b611386565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c790614256565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061073382611423565b9050919050565b6000801b61074f8161074a61149d565b6114a5565b61075882611542565b5050565b60078054610769906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610795906142a5565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b505050505081565b6060600280546107f9906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610825906142a5565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108b0816108ab61149d565b6114a5565b60005b845181101561098657600960008683815181106108d3576108d26142d6565b5b60200260200101518152602001908152602001600020548482815181106108fd576108fc6142d6565b5b602002602001015161092887848151811061091b5761091a6142d6565b5b602002602001015161105b565b6109329190614334565b1115610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a906143d6565b60405180910390fd5b808061097e906143f6565b9150506108b3565b506109938585858561155c565b5050505050565b600060046000838152602001908152602001600020600101549050919050565b6109c261149d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a085750610a0785610a0261149d565b61115a565b5b610a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3e906144b0565b60405180910390fd5b610a548585858585611779565b5050505050565b610a648261099a565b610a7581610a7061149d565b6114a5565b610a7f8383611a8c565b505050565b610a8c61149d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af090614542565b60405180910390fd5b610b038282611b6d565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610b3981610b3461149d565b6114a5565b610b41611c4f565b50565b60608151835114610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906145d4565b60405180910390fd5b6000835167ffffffffffffffff811115610ba757610ba66135e7565b5b604051908082528060200260200182016040528015610bd55781602001602082028036833780820191505090505b50905060005b8451811015610c5257610c22858281518110610bfa57610bf96142d6565b5b6020026020010151858381518110610c1557610c146142d6565b5b6020026020010151610660565b828281518110610c3557610c346142d6565b5b60200260200101818152505080610c4b906143f6565b9050610bdb565b508091505092915050565b600080610c698361105b565b119050919050565b6000801b610c8681610c8161149d565b6114a5565b60005b85859050811015610cf157838382818110610ca757610ca66142d6565b5b9050602002013560096000888885818110610cc557610cc46142d6565b5b905060200201358152602001908152602001600020819055508080610ce9906143f6565b915050610c89565b505050505050565b6000600560009054906101000a900460ff16905090565b610d1861149d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d5e5750610d5d83610d5861149d565b61115a565b5b610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490614666565b60405180910390fd5b610da8838383611cf1565b505050565b610db561149d565b73ffffffffffffffffffffffffffffffffffffffff16610dd3610f20565b73ffffffffffffffffffffffffffffffffffffffff1614610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906146d2565b60405180910390fd5b610e336000611fa1565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e6781610e6261149d565b6114a5565b600960008581526020019081526020016000205483610e858661105b565b610e8f9190614334565b1115610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906143d6565b60405180910390fd5b610edc85858585612067565b5050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610f1581610f1061149d565b6114a5565b610f1d6121fc565b50565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60096020528060005260406000206000915090505481565b6000801b610fe281610fdd61149d565b6114a5565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000801b81565b61105761105061149d565b838361229f565b5050565b600060066000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6110a58261099a565b6110b6816110b161149d565b6114a5565b6110c08383611b6d565b505050565b6000801b6110da816110d561149d565b6114a5565b6001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111f661149d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061123c575061123b8561123661149d565b61115a565b5b61127b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127290614666565b60405180910390fd5b611288858585858561240b565b5050505050565b61129761149d565b73ffffffffffffffffffffffffffffffffffffffff166112b5610f20565b73ffffffffffffffffffffffffffffffffffffffff161461130b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611302906146d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361137a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137190614764565b60405180910390fd5b61138381611fa1565b50565b61138e61149d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806113d457506113d3836113ce61149d565b61115a565b5b611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90614666565b60405180910390fd5b61141e83838361268c565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114965750611495826128a8565b5b9050919050565b600033905090565b6114af8282610f4a565b61153e576114d48173ffffffffffffffffffffffffffffffffffffffff16601461298a565b6114e28360001c602061298a565b6040516020016114f3929190614858565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153591906137e3565b60405180910390fd5b5050565b806002908051906020019061155892919061335c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290614904565b60405180910390fd5b815183511461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690614996565b60405180910390fd5b600061161961149d565b905061162a81600087878787612bc6565b60005b84518110156116e357838181518110611649576116486142d6565b5b6020026020010151600080878481518110611667576116666142d6565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c99190614334565b9250508190555080806116db906143f6565b91505061162d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161175b9291906149b6565b60405180910390a461177281600087878787612d37565b5050505050565b81518351146117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490614996565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361182c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182390614a5f565b60405180910390fd5b600061183661149d565b9050611846818787878787612bc6565b60005b84518110156119f7576000858281518110611867576118666142d6565b5b602002602001015190506000858381518110611886576118856142d6565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191e90614af1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119dc9190614334565b92505081905550505050806119f0906143f6565b9050611849565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a6e9291906149b6565b60405180910390a4611a84818787878787612d37565b505050505050565b611a968282610f4a565b611b695760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b0e61149d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611b778282610f4a565b15611c4b5760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611bf061149d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611c57610cf9565b611c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8d90614b5d565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611cda61149d565b604051611ce79190614006565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790614bef565b60405180910390fd5b8051825114611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90614996565b60405180910390fd5b6000611dae61149d565b9050611dce81856000868660405180602001604052806000815250612bc6565b60005b8351811015611f1b576000848281518110611def57611dee6142d6565b5b602002602001015190506000848381518110611e0e57611e0d6142d6565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614c81565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611f13906143f6565b915050611dd1565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611f939291906149b6565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036120d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cd90614904565b60405180910390fd5b60006120e061149d565b9050612101816000876120f288612f0e565b6120fb88612f0e565b87612bc6565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121609190614334565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121de929190614ca1565b60405180910390a46121f581600087878787612f88565b5050505050565b612204610cf9565b15612244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223b90614d16565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861228861149d565b6040516122959190614006565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230490614da8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123fe91906135b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190614a5f565b60405180910390fd5b600061248461149d565b90506124a481878761249588612f0e565b61249e88612f0e565b87612bc6565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561253b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253290614af1565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f09190614334565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161266d929190614ca1565b60405180910390a4612683828888888888612f88565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036126fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f290614bef565b60405180910390fd5b600061270561149d565b90506127358185600061271787612f0e565b61272087612f0e565b60405180602001604052806000815250612bc6565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c390614c81565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612899929190614ca1565b60405180910390a45050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061298357506129828261315f565b5b9050919050565b60606000600283600261299d9190614dc8565b6129a79190614334565b67ffffffffffffffff8111156129c0576129bf6135e7565b5b6040519080825280601f01601f1916602001820160405280156129f25781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a2a57612a296142d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a8e57612a8d6142d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ace9190614dc8565b612ad89190614334565b90505b6001811115612b78577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b1a57612b196142d6565b5b1a60f81b828281518110612b3157612b306142d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b7190614e22565b9050612adb565b5060008414612bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb390614e97565b60405180910390fd5b8091505092915050565b612bce610cf9565b15612c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0590614d16565b60405180910390fd5b612c1c8686868686866131c9565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015612ca35750600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612d2f5760005b8351811015612d2d576000612cda86868481518110612ccd57612ccc6142d6565b5b6020026020010151610660565b14612d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1190614f03565b60405180910390fd5b8080612d25906143f6565b915050612cab565b505b505050505050565b612d568473ffffffffffffffffffffffffffffffffffffffff16613341565b15612f06578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d9c959493929190614f78565b6020604051808303816000875af1925050508015612dd857506040513d601f19601f82011682018060405250810190612dd59190614ff5565b60015b612e7d57612de461502f565b806308c379a003612e405750612df8615051565b80612e035750612e42565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3791906137e3565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7490615153565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efb906151e5565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612f2d57612f2c6135e7565b5b604051908082528060200260200182016040528015612f5b5781602001602082028036833780820191505090505b5090508281600081518110612f7357612f726142d6565b5b60200260200101818152505080915050919050565b612fa78473ffffffffffffffffffffffffffffffffffffffff16613341565b15613157578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fed959493929190615205565b6020604051808303816000875af192505050801561302957506040513d601f19601f820116820180604052508101906130269190614ff5565b60015b6130ce5761303561502f565b806308c379a0036130915750613049615051565b806130545750613093565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308891906137e3565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c590615153565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314c906151e5565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6131d7868686868686613354565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036132885760005b83518110156132865782818151811061322a576132296142d6565b5b602002602001015160066000868481518110613249576132486142d6565b5b60200260200101518152602001908152602001600020600082825461326e9190614334565b925050819055508061327f906143f6565b905061320e565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036133395760005b8351811015613337578281815181106132db576132da6142d6565b5b6020026020010151600660008684815181106132fa576132f96142d6565b5b60200260200101518152602001908152602001600020600082825461331f919061525f565b9250508190555080613330906143f6565b90506132bf565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b828054613368906142a5565b90600052602060002090601f01602090048101928261338a57600085556133d1565b82601f106133a357805160ff19168380011785556133d1565b828001600101855582156133d1579182015b828111156133d05782518255916020019190600101906133b5565b5b5090506133de91906133e2565b5090565b5b808211156133fb5760008160009055506001016133e3565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061343e82613413565b9050919050565b61344e81613433565b811461345957600080fd5b50565b60008135905061346b81613445565b92915050565b6000819050919050565b61348481613471565b811461348f57600080fd5b50565b6000813590506134a18161347b565b92915050565b600080604083850312156134be576134bd613409565b5b60006134cc8582860161345c565b92505060206134dd85828601613492565b9150509250929050565b6134f081613471565b82525050565b600060208201905061350b60008301846134e7565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61354681613511565b811461355157600080fd5b50565b6000813590506135638161353d565b92915050565b60006020828403121561357f5761357e613409565b5b600061358d84828501613554565b91505092915050565b60008115159050919050565b6135ab81613596565b82525050565b60006020820190506135c660008301846135a2565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61361f826135d6565b810181811067ffffffffffffffff8211171561363e5761363d6135e7565b5b80604052505050565b60006136516133ff565b905061365d8282613616565b919050565b600067ffffffffffffffff82111561367d5761367c6135e7565b5b613686826135d6565b9050602081019050919050565b82818337600083830152505050565b60006136b56136b084613662565b613647565b9050828152602081018484840111156136d1576136d06135d1565b5b6136dc848285613693565b509392505050565b600082601f8301126136f9576136f86135cc565b5b81356137098482602086016136a2565b91505092915050565b60006020828403121561372857613727613409565b5b600082013567ffffffffffffffff8111156137465761374561340e565b5b613752848285016136e4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561379557808201518184015260208101905061377a565b838111156137a4576000848401525b50505050565b60006137b58261375b565b6137bf8185613766565b93506137cf818560208601613777565b6137d8816135d6565b840191505092915050565b600060208201905081810360008301526137fd81846137aa565b905092915050565b60006020828403121561381b5761381a613409565b5b600061382984828501613492565b91505092915050565b600067ffffffffffffffff82111561384d5761384c6135e7565b5b602082029050602081019050919050565b600080fd5b600061387661387184613832565b613647565b905080838252602082019050602084028301858111156138995761389861385e565b5b835b818110156138c257806138ae8882613492565b84526020840193505060208101905061389b565b5050509392505050565b600082601f8301126138e1576138e06135cc565b5b81356138f1848260208601613863565b91505092915050565b600067ffffffffffffffff821115613915576139146135e7565b5b61391e826135d6565b9050602081019050919050565b600061393e613939846138fa565b613647565b90508281526020810184848401111561395a576139596135d1565b5b613965848285613693565b509392505050565b600082601f830112613982576139816135cc565b5b813561399284826020860161392b565b91505092915050565b600080600080608085870312156139b5576139b4613409565b5b60006139c38782880161345c565b945050602085013567ffffffffffffffff8111156139e4576139e361340e565b5b6139f0878288016138cc565b935050604085013567ffffffffffffffff811115613a1157613a1061340e565b5b613a1d878288016138cc565b925050606085013567ffffffffffffffff811115613a3e57613a3d61340e565b5b613a4a8782880161396d565b91505092959194509250565b6000819050919050565b613a6981613a56565b8114613a7457600080fd5b50565b600081359050613a8681613a60565b92915050565b600060208284031215613aa257613aa1613409565b5b6000613ab084828501613a77565b91505092915050565b613ac281613a56565b82525050565b6000602082019050613add6000830184613ab9565b92915050565b600080600080600060a08688031215613aff57613afe613409565b5b6000613b0d8882890161345c565b9550506020613b1e8882890161345c565b945050604086013567ffffffffffffffff811115613b3f57613b3e61340e565b5b613b4b888289016138cc565b935050606086013567ffffffffffffffff811115613b6c57613b6b61340e565b5b613b78888289016138cc565b925050608086013567ffffffffffffffff811115613b9957613b9861340e565b5b613ba58882890161396d565b9150509295509295909350565b60008060408385031215613bc957613bc8613409565b5b6000613bd785828601613a77565b9250506020613be88582860161345c565b9150509250929050565b600067ffffffffffffffff821115613c0d57613c0c6135e7565b5b602082029050602081019050919050565b6000613c31613c2c84613bf2565b613647565b90508083825260208201905060208402830185811115613c5457613c5361385e565b5b835b81811015613c7d5780613c69888261345c565b845260208401935050602081019050613c56565b5050509392505050565b600082601f830112613c9c57613c9b6135cc565b5b8135613cac848260208601613c1e565b91505092915050565b60008060408385031215613ccc57613ccb613409565b5b600083013567ffffffffffffffff811115613cea57613ce961340e565b5b613cf685828601613c87565b925050602083013567ffffffffffffffff811115613d1757613d1661340e565b5b613d23858286016138cc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d6281613471565b82525050565b6000613d748383613d59565b60208301905092915050565b6000602082019050919050565b6000613d9882613d2d565b613da28185613d38565b9350613dad83613d49565b8060005b83811015613dde578151613dc58882613d68565b9750613dd083613d80565b925050600181019050613db1565b5085935050505092915050565b60006020820190508181036000830152613e058184613d8d565b905092915050565b600080fd5b60008083601f840112613e2857613e276135cc565b5b8235905067ffffffffffffffff811115613e4557613e44613e0d565b5b602083019150836020820283011115613e6157613e6061385e565b5b9250929050565b60008060008060408587031215613e8257613e81613409565b5b600085013567ffffffffffffffff811115613ea057613e9f61340e565b5b613eac87828801613e12565b9450945050602085013567ffffffffffffffff811115613ecf57613ece61340e565b5b613edb87828801613e12565b925092505092959194509250565b600080600060608486031215613f0257613f01613409565b5b6000613f108682870161345c565b935050602084013567ffffffffffffffff811115613f3157613f3061340e565b5b613f3d868287016138cc565b925050604084013567ffffffffffffffff811115613f5e57613f5d61340e565b5b613f6a868287016138cc565b9150509250925092565b60008060008060808587031215613f8e57613f8d613409565b5b6000613f9c8782880161345c565b9450506020613fad87828801613492565b9350506040613fbe87828801613492565b925050606085013567ffffffffffffffff811115613fdf57613fde61340e565b5b613feb8782880161396d565b91505092959194509250565b61400081613433565b82525050565b600060208201905061401b6000830184613ff7565b92915050565b60006020828403121561403757614036613409565b5b60006140458482850161345c565b91505092915050565b61405781613596565b811461406257600080fd5b50565b6000813590506140748161404e565b92915050565b6000806040838503121561409157614090613409565b5b600061409f8582860161345c565b92505060206140b085828601614065565b9150509250929050565b600080604083850312156140d1576140d0613409565b5b60006140df8582860161345c565b92505060206140f08582860161345c565b9150509250929050565b600080600080600060a0868803121561411657614115613409565b5b60006141248882890161345c565b95505060206141358882890161345c565b945050604061414688828901613492565b935050606061415788828901613492565b925050608086013567ffffffffffffffff8111156141785761417761340e565b5b6141848882890161396d565b9150509295509295909350565b6000806000606084860312156141aa576141a9613409565b5b60006141b88682870161345c565b93505060206141c986828701613492565b92505060406141da86828701613492565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614240602b83613766565b915061424b826141e4565b604082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142bd57607f821691505b6020821081036142d0576142cf614276565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061433f82613471565b915061434a83613471565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561437f5761437e614305565b5b828201905092915050565b7f6578636565642070726573657400000000000000000000000000000000000000600082015250565b60006143c0600d83613766565b91506143cb8261438a565b602082019050919050565b600060208201905081810360008301526143ef816143b3565b9050919050565b600061440182613471565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361443357614432614305565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061449a603283613766565b91506144a58261443e565b604082019050919050565b600060208201905081810360008301526144c98161448d565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061452c602f83613766565b9150614537826144d0565b604082019050919050565b6000602082019050818103600083015261455b8161451f565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006145be602983613766565b91506145c982614562565b604082019050919050565b600060208201905081810360008301526145ed816145b1565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614650602983613766565b915061465b826145f4565b604082019050919050565b6000602082019050818103600083015261467f81614643565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146bc602083613766565b91506146c782614686565b602082019050919050565b600060208201905081810360008301526146eb816146af565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061474e602683613766565b9150614759826146f2565b604082019050919050565b6000602082019050818103600083015261477d81614741565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006147c5601783614784565b91506147d08261478f565b601782019050919050565b60006147e68261375b565b6147f08185614784565b9350614800818560208601613777565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614842601183614784565b915061484d8261480c565b601182019050919050565b6000614863826147b8565b915061486f82856147db565b915061487a82614835565b915061488682846147db565b91508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006148ee602183613766565b91506148f982614892565b604082019050919050565b6000602082019050818103600083015261491d816148e1565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614980602883613766565b915061498b82614924565b604082019050919050565b600060208201905081810360008301526149af81614973565b9050919050565b600060408201905081810360008301526149d08185613d8d565b905081810360208301526149e48184613d8d565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614a49602583613766565b9150614a54826149ed565b604082019050919050565b60006020820190508181036000830152614a7881614a3c565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614adb602a83613766565b9150614ae682614a7f565b604082019050919050565b60006020820190508181036000830152614b0a81614ace565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614b47601483613766565b9150614b5282614b11565b602082019050919050565b60006020820190508181036000830152614b7681614b3a565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614bd9602383613766565b9150614be482614b7d565b604082019050919050565b60006020820190508181036000830152614c0881614bcc565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614c6b602483613766565b9150614c7682614c0f565b604082019050919050565b60006020820190508181036000830152614c9a81614c5e565b9050919050565b6000604082019050614cb660008301856134e7565b614cc360208301846134e7565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614d00601083613766565b9150614d0b82614cca565b602082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614d92602983613766565b9150614d9d82614d36565b604082019050919050565b60006020820190508181036000830152614dc181614d85565b9050919050565b6000614dd382613471565b9150614dde83613471565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1757614e16614305565b5b828202905092915050565b6000614e2d82613471565b915060008203614e4057614e3f614305565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614e81602083613766565b9150614e8c82614e4b565b602082019050919050565b60006020820190508181036000830152614eb081614e74565b9050919050565b7f616c726561647920686176650000000000000000000000000000000000000000600082015250565b6000614eed600c83613766565b9150614ef882614eb7565b602082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f4a82614f23565b614f548185614f2e565b9350614f64818560208601613777565b614f6d816135d6565b840191505092915050565b600060a082019050614f8d6000830188613ff7565b614f9a6020830187613ff7565b8181036040830152614fac8186613d8d565b90508181036060830152614fc08185613d8d565b90508181036080830152614fd48184614f3f565b90509695505050505050565b600081519050614fef8161353d565b92915050565b60006020828403121561500b5761500a613409565b5b600061501984828501614fe0565b91505092915050565b60008160e01c9050919050565b600060033d111561504e5760046000803e61504b600051615022565b90505b90565b600060443d106150de576150636133ff565b60043d036004823e80513d602482011167ffffffffffffffff8211171561508b5750506150de565b808201805167ffffffffffffffff8111156150a957505050506150de565b80602083010160043d0385018111156150c65750505050506150de565b6150d582602001850186613616565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061513d603483613766565b9150615148826150e1565b604082019050919050565b6000602082019050818103600083015261516c81615130565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006151cf602883613766565b91506151da82615173565b604082019050919050565b600060208201905081810360008301526151fe816151c2565b9050919050565b600060a08201905061521a6000830188613ff7565b6152276020830187613ff7565b61523460408301866134e7565b61524160608301856134e7565b81810360808301526152538184614f3f565b90509695505050505050565b600061526a82613471565b915061527583613471565b92508282101561528857615287614305565b5b82820390509291505056fea2646970667358221220e713c224578a049feeb32dddb173d21a5c3a274e3415a7c2ed0d21543cf1bac864736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102055760003560e01c8063731133e91161011a578063bd85b039116100ad578063e63ab1e91161007c578063e63ab1e9146105be578063e985e9c5146105dc578063f242432a1461060c578063f2fde38b14610628578063f5298aca1461064457610205565b8063bd85b03914610538578063d539139314610568578063d547741f14610586578063e36775d9146105a257610205565b80639221d6cf116100e95780639221d6cf146104b257806393a34c05146104e2578063a217fddf146104fe578063a22cb4651461051c57610205565b8063731133e91461043e5780638456cb591461045a5780638da5cb5b1461046457806391d148541461048257610205565b80632f2ff15d1161019d5780634f558e791161016c5780634f558e79146103ae57806354547342146103de5780635c975abb146103fa5780636b20c45414610418578063715018a61461043457610205565b80632f2ff15d1461033c57806336568abe146103585780633f4ba83a146103745780634e1273f41461037e57610205565b80630e89341c116101d95780630e89341c146102a45780631f7fdffa146102d4578063248a9ca3146102f05780632eb2c2d61461032057610205565b8062fdd58e1461020a57806301ffc9a71461023a57806302fe53051461026a57806306fdde0314610286575b600080fd5b610224600480360381019061021f91906134a7565b610660565b60405161023191906134f6565b60405180910390f35b610254600480360381019061024f9190613569565b610728565b60405161026191906135b1565b60405180910390f35b610284600480360381019061027f9190613712565b61073a565b005b61028e61075c565b60405161029b91906137e3565b60405180910390f35b6102be60048036038101906102b99190613805565b6107ea565b6040516102cb91906137e3565b60405180910390f35b6102ee60048036038101906102e9919061399b565b61087e565b005b61030a60048036038101906103059190613a8c565b61099a565b6040516103179190613ac8565b60405180910390f35b61033a60048036038101906103359190613ae3565b6109ba565b005b61035660048036038101906103519190613bb2565b610a5b565b005b610372600480360381019061036d9190613bb2565b610a84565b005b61037c610b07565b005b61039860048036038101906103939190613cb5565b610b44565b6040516103a59190613deb565b60405180910390f35b6103c860048036038101906103c39190613805565b610c5d565b6040516103d591906135b1565b60405180910390f35b6103f860048036038101906103f39190613e68565b610c71565b005b610402610cf9565b60405161040f91906135b1565b60405180910390f35b610432600480360381019061042d9190613ee9565b610d10565b005b61043c610dad565b005b61045860048036038101906104539190613f74565b610e35565b005b610462610ee3565b005b61046c610f20565b6040516104799190614006565b60405180910390f35b61049c60048036038101906104979190613bb2565b610f4a565b6040516104a991906135b1565b60405180910390f35b6104cc60048036038101906104c79190613805565b610fb5565b6040516104d991906134f6565b60405180910390f35b6104fc60048036038101906104f79190614021565b610fcd565b005b61050661103e565b6040516105139190613ac8565b60405180910390f35b6105366004803603810190610531919061407a565b611045565b005b610552600480360381019061054d9190613805565b61105b565b60405161055f91906134f6565b60405180910390f35b610570611078565b60405161057d9190613ac8565b60405180910390f35b6105a0600480360381019061059b9190613bb2565b61109c565b005b6105bc60048036038101906105b79190614021565b6110c5565b005b6105c6611136565b6040516105d39190613ac8565b60405180910390f35b6105f660048036038101906105f191906140ba565b61115a565b60405161060391906135b1565b60405180910390f35b610626600480360381019061062191906140fa565b6111ee565b005b610642600480360381019061063d9190614021565b61128f565b005b61065e60048036038101906106599190614191565b611386565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c790614256565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061073382611423565b9050919050565b6000801b61074f8161074a61149d565b6114a5565b61075882611542565b5050565b60078054610769906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610795906142a5565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b505050505081565b6060600280546107f9906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610825906142a5565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108b0816108ab61149d565b6114a5565b60005b845181101561098657600960008683815181106108d3576108d26142d6565b5b60200260200101518152602001908152602001600020548482815181106108fd576108fc6142d6565b5b602002602001015161092887848151811061091b5761091a6142d6565b5b602002602001015161105b565b6109329190614334565b1115610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a906143d6565b60405180910390fd5b808061097e906143f6565b9150506108b3565b506109938585858561155c565b5050505050565b600060046000838152602001908152602001600020600101549050919050565b6109c261149d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a085750610a0785610a0261149d565b61115a565b5b610a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3e906144b0565b60405180910390fd5b610a548585858585611779565b5050505050565b610a648261099a565b610a7581610a7061149d565b6114a5565b610a7f8383611a8c565b505050565b610a8c61149d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af090614542565b60405180910390fd5b610b038282611b6d565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610b3981610b3461149d565b6114a5565b610b41611c4f565b50565b60608151835114610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906145d4565b60405180910390fd5b6000835167ffffffffffffffff811115610ba757610ba66135e7565b5b604051908082528060200260200182016040528015610bd55781602001602082028036833780820191505090505b50905060005b8451811015610c5257610c22858281518110610bfa57610bf96142d6565b5b6020026020010151858381518110610c1557610c146142d6565b5b6020026020010151610660565b828281518110610c3557610c346142d6565b5b60200260200101818152505080610c4b906143f6565b9050610bdb565b508091505092915050565b600080610c698361105b565b119050919050565b6000801b610c8681610c8161149d565b6114a5565b60005b85859050811015610cf157838382818110610ca757610ca66142d6565b5b9050602002013560096000888885818110610cc557610cc46142d6565b5b905060200201358152602001908152602001600020819055508080610ce9906143f6565b915050610c89565b505050505050565b6000600560009054906101000a900460ff16905090565b610d1861149d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d5e5750610d5d83610d5861149d565b61115a565b5b610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490614666565b60405180910390fd5b610da8838383611cf1565b505050565b610db561149d565b73ffffffffffffffffffffffffffffffffffffffff16610dd3610f20565b73ffffffffffffffffffffffffffffffffffffffff1614610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906146d2565b60405180910390fd5b610e336000611fa1565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e6781610e6261149d565b6114a5565b600960008581526020019081526020016000205483610e858661105b565b610e8f9190614334565b1115610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906143d6565b60405180910390fd5b610edc85858585612067565b5050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610f1581610f1061149d565b6114a5565b610f1d6121fc565b50565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60096020528060005260406000206000915090505481565b6000801b610fe281610fdd61149d565b6114a5565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000801b81565b61105761105061149d565b838361229f565b5050565b600060066000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6110a58261099a565b6110b6816110b161149d565b6114a5565b6110c08383611b6d565b505050565b6000801b6110da816110d561149d565b6114a5565b6001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111f661149d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061123c575061123b8561123661149d565b61115a565b5b61127b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127290614666565b60405180910390fd5b611288858585858561240b565b5050505050565b61129761149d565b73ffffffffffffffffffffffffffffffffffffffff166112b5610f20565b73ffffffffffffffffffffffffffffffffffffffff161461130b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611302906146d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361137a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137190614764565b60405180910390fd5b61138381611fa1565b50565b61138e61149d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806113d457506113d3836113ce61149d565b61115a565b5b611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90614666565b60405180910390fd5b61141e83838361268c565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114965750611495826128a8565b5b9050919050565b600033905090565b6114af8282610f4a565b61153e576114d48173ffffffffffffffffffffffffffffffffffffffff16601461298a565b6114e28360001c602061298a565b6040516020016114f3929190614858565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153591906137e3565b60405180910390fd5b5050565b806002908051906020019061155892919061335c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290614904565b60405180910390fd5b815183511461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690614996565b60405180910390fd5b600061161961149d565b905061162a81600087878787612bc6565b60005b84518110156116e357838181518110611649576116486142d6565b5b6020026020010151600080878481518110611667576116666142d6565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c99190614334565b9250508190555080806116db906143f6565b91505061162d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161175b9291906149b6565b60405180910390a461177281600087878787612d37565b5050505050565b81518351146117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490614996565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361182c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182390614a5f565b60405180910390fd5b600061183661149d565b9050611846818787878787612bc6565b60005b84518110156119f7576000858281518110611867576118666142d6565b5b602002602001015190506000858381518110611886576118856142d6565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191e90614af1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119dc9190614334565b92505081905550505050806119f0906143f6565b9050611849565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a6e9291906149b6565b60405180910390a4611a84818787878787612d37565b505050505050565b611a968282610f4a565b611b695760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b0e61149d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611b778282610f4a565b15611c4b5760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611bf061149d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611c57610cf9565b611c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8d90614b5d565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611cda61149d565b604051611ce79190614006565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790614bef565b60405180910390fd5b8051825114611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90614996565b60405180910390fd5b6000611dae61149d565b9050611dce81856000868660405180602001604052806000815250612bc6565b60005b8351811015611f1b576000848281518110611def57611dee6142d6565b5b602002602001015190506000848381518110611e0e57611e0d6142d6565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614c81565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611f13906143f6565b915050611dd1565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611f939291906149b6565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036120d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cd90614904565b60405180910390fd5b60006120e061149d565b9050612101816000876120f288612f0e565b6120fb88612f0e565b87612bc6565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121609190614334565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121de929190614ca1565b60405180910390a46121f581600087878787612f88565b5050505050565b612204610cf9565b15612244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223b90614d16565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861228861149d565b6040516122959190614006565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230490614da8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123fe91906135b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190614a5f565b60405180910390fd5b600061248461149d565b90506124a481878761249588612f0e565b61249e88612f0e565b87612bc6565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561253b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253290614af1565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f09190614334565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161266d929190614ca1565b60405180910390a4612683828888888888612f88565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036126fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f290614bef565b60405180910390fd5b600061270561149d565b90506127358185600061271787612f0e565b61272087612f0e565b60405180602001604052806000815250612bc6565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c390614c81565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612899929190614ca1565b60405180910390a45050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061298357506129828261315f565b5b9050919050565b60606000600283600261299d9190614dc8565b6129a79190614334565b67ffffffffffffffff8111156129c0576129bf6135e7565b5b6040519080825280601f01601f1916602001820160405280156129f25781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a2a57612a296142d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a8e57612a8d6142d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ace9190614dc8565b612ad89190614334565b90505b6001811115612b78577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b1a57612b196142d6565b5b1a60f81b828281518110612b3157612b306142d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b7190614e22565b9050612adb565b5060008414612bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb390614e97565b60405180910390fd5b8091505092915050565b612bce610cf9565b15612c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0590614d16565b60405180910390fd5b612c1c8686868686866131c9565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015612ca35750600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612d2f5760005b8351811015612d2d576000612cda86868481518110612ccd57612ccc6142d6565b5b6020026020010151610660565b14612d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1190614f03565b60405180910390fd5b8080612d25906143f6565b915050612cab565b505b505050505050565b612d568473ffffffffffffffffffffffffffffffffffffffff16613341565b15612f06578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d9c959493929190614f78565b6020604051808303816000875af1925050508015612dd857506040513d601f19601f82011682018060405250810190612dd59190614ff5565b60015b612e7d57612de461502f565b806308c379a003612e405750612df8615051565b80612e035750612e42565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3791906137e3565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7490615153565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efb906151e5565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612f2d57612f2c6135e7565b5b604051908082528060200260200182016040528015612f5b5781602001602082028036833780820191505090505b5090508281600081518110612f7357612f726142d6565b5b60200260200101818152505080915050919050565b612fa78473ffffffffffffffffffffffffffffffffffffffff16613341565b15613157578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fed959493929190615205565b6020604051808303816000875af192505050801561302957506040513d601f19601f820116820180604052508101906130269190614ff5565b60015b6130ce5761303561502f565b806308c379a0036130915750613049615051565b806130545750613093565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308891906137e3565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c590615153565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314c906151e5565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6131d7868686868686613354565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036132885760005b83518110156132865782818151811061322a576132296142d6565b5b602002602001015160066000868481518110613249576132486142d6565b5b60200260200101518152602001908152602001600020600082825461326e9190614334565b925050819055508061327f906143f6565b905061320e565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036133395760005b8351811015613337578281815181106132db576132da6142d6565b5b6020026020010151600660008684815181106132fa576132f96142d6565b5b60200260200101518152602001908152602001600020600082825461331f919061525f565b9250508190555080613330906143f6565b90506132bf565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b828054613368906142a5565b90600052602060002090601f01602090048101928261338a57600085556133d1565b82601f106133a357805160ff19168380011785556133d1565b828001600101855582156133d1579182015b828111156133d05782518255916020019190600101906133b5565b5b5090506133de91906133e2565b5090565b5b808211156133fb5760008160009055506001016133e3565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061343e82613413565b9050919050565b61344e81613433565b811461345957600080fd5b50565b60008135905061346b81613445565b92915050565b6000819050919050565b61348481613471565b811461348f57600080fd5b50565b6000813590506134a18161347b565b92915050565b600080604083850312156134be576134bd613409565b5b60006134cc8582860161345c565b92505060206134dd85828601613492565b9150509250929050565b6134f081613471565b82525050565b600060208201905061350b60008301846134e7565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61354681613511565b811461355157600080fd5b50565b6000813590506135638161353d565b92915050565b60006020828403121561357f5761357e613409565b5b600061358d84828501613554565b91505092915050565b60008115159050919050565b6135ab81613596565b82525050565b60006020820190506135c660008301846135a2565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61361f826135d6565b810181811067ffffffffffffffff8211171561363e5761363d6135e7565b5b80604052505050565b60006136516133ff565b905061365d8282613616565b919050565b600067ffffffffffffffff82111561367d5761367c6135e7565b5b613686826135d6565b9050602081019050919050565b82818337600083830152505050565b60006136b56136b084613662565b613647565b9050828152602081018484840111156136d1576136d06135d1565b5b6136dc848285613693565b509392505050565b600082601f8301126136f9576136f86135cc565b5b81356137098482602086016136a2565b91505092915050565b60006020828403121561372857613727613409565b5b600082013567ffffffffffffffff8111156137465761374561340e565b5b613752848285016136e4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561379557808201518184015260208101905061377a565b838111156137a4576000848401525b50505050565b60006137b58261375b565b6137bf8185613766565b93506137cf818560208601613777565b6137d8816135d6565b840191505092915050565b600060208201905081810360008301526137fd81846137aa565b905092915050565b60006020828403121561381b5761381a613409565b5b600061382984828501613492565b91505092915050565b600067ffffffffffffffff82111561384d5761384c6135e7565b5b602082029050602081019050919050565b600080fd5b600061387661387184613832565b613647565b905080838252602082019050602084028301858111156138995761389861385e565b5b835b818110156138c257806138ae8882613492565b84526020840193505060208101905061389b565b5050509392505050565b600082601f8301126138e1576138e06135cc565b5b81356138f1848260208601613863565b91505092915050565b600067ffffffffffffffff821115613915576139146135e7565b5b61391e826135d6565b9050602081019050919050565b600061393e613939846138fa565b613647565b90508281526020810184848401111561395a576139596135d1565b5b613965848285613693565b509392505050565b600082601f830112613982576139816135cc565b5b813561399284826020860161392b565b91505092915050565b600080600080608085870312156139b5576139b4613409565b5b60006139c38782880161345c565b945050602085013567ffffffffffffffff8111156139e4576139e361340e565b5b6139f0878288016138cc565b935050604085013567ffffffffffffffff811115613a1157613a1061340e565b5b613a1d878288016138cc565b925050606085013567ffffffffffffffff811115613a3e57613a3d61340e565b5b613a4a8782880161396d565b91505092959194509250565b6000819050919050565b613a6981613a56565b8114613a7457600080fd5b50565b600081359050613a8681613a60565b92915050565b600060208284031215613aa257613aa1613409565b5b6000613ab084828501613a77565b91505092915050565b613ac281613a56565b82525050565b6000602082019050613add6000830184613ab9565b92915050565b600080600080600060a08688031215613aff57613afe613409565b5b6000613b0d8882890161345c565b9550506020613b1e8882890161345c565b945050604086013567ffffffffffffffff811115613b3f57613b3e61340e565b5b613b4b888289016138cc565b935050606086013567ffffffffffffffff811115613b6c57613b6b61340e565b5b613b78888289016138cc565b925050608086013567ffffffffffffffff811115613b9957613b9861340e565b5b613ba58882890161396d565b9150509295509295909350565b60008060408385031215613bc957613bc8613409565b5b6000613bd785828601613a77565b9250506020613be88582860161345c565b9150509250929050565b600067ffffffffffffffff821115613c0d57613c0c6135e7565b5b602082029050602081019050919050565b6000613c31613c2c84613bf2565b613647565b90508083825260208201905060208402830185811115613c5457613c5361385e565b5b835b81811015613c7d5780613c69888261345c565b845260208401935050602081019050613c56565b5050509392505050565b600082601f830112613c9c57613c9b6135cc565b5b8135613cac848260208601613c1e565b91505092915050565b60008060408385031215613ccc57613ccb613409565b5b600083013567ffffffffffffffff811115613cea57613ce961340e565b5b613cf685828601613c87565b925050602083013567ffffffffffffffff811115613d1757613d1661340e565b5b613d23858286016138cc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d6281613471565b82525050565b6000613d748383613d59565b60208301905092915050565b6000602082019050919050565b6000613d9882613d2d565b613da28185613d38565b9350613dad83613d49565b8060005b83811015613dde578151613dc58882613d68565b9750613dd083613d80565b925050600181019050613db1565b5085935050505092915050565b60006020820190508181036000830152613e058184613d8d565b905092915050565b600080fd5b60008083601f840112613e2857613e276135cc565b5b8235905067ffffffffffffffff811115613e4557613e44613e0d565b5b602083019150836020820283011115613e6157613e6061385e565b5b9250929050565b60008060008060408587031215613e8257613e81613409565b5b600085013567ffffffffffffffff811115613ea057613e9f61340e565b5b613eac87828801613e12565b9450945050602085013567ffffffffffffffff811115613ecf57613ece61340e565b5b613edb87828801613e12565b925092505092959194509250565b600080600060608486031215613f0257613f01613409565b5b6000613f108682870161345c565b935050602084013567ffffffffffffffff811115613f3157613f3061340e565b5b613f3d868287016138cc565b925050604084013567ffffffffffffffff811115613f5e57613f5d61340e565b5b613f6a868287016138cc565b9150509250925092565b60008060008060808587031215613f8e57613f8d613409565b5b6000613f9c8782880161345c565b9450506020613fad87828801613492565b9350506040613fbe87828801613492565b925050606085013567ffffffffffffffff811115613fdf57613fde61340e565b5b613feb8782880161396d565b91505092959194509250565b61400081613433565b82525050565b600060208201905061401b6000830184613ff7565b92915050565b60006020828403121561403757614036613409565b5b60006140458482850161345c565b91505092915050565b61405781613596565b811461406257600080fd5b50565b6000813590506140748161404e565b92915050565b6000806040838503121561409157614090613409565b5b600061409f8582860161345c565b92505060206140b085828601614065565b9150509250929050565b600080604083850312156140d1576140d0613409565b5b60006140df8582860161345c565b92505060206140f08582860161345c565b9150509250929050565b600080600080600060a0868803121561411657614115613409565b5b60006141248882890161345c565b95505060206141358882890161345c565b945050604061414688828901613492565b935050606061415788828901613492565b925050608086013567ffffffffffffffff8111156141785761417761340e565b5b6141848882890161396d565b9150509295509295909350565b6000806000606084860312156141aa576141a9613409565b5b60006141b88682870161345c565b93505060206141c986828701613492565b92505060406141da86828701613492565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614240602b83613766565b915061424b826141e4565b604082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142bd57607f821691505b6020821081036142d0576142cf614276565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061433f82613471565b915061434a83613471565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561437f5761437e614305565b5b828201905092915050565b7f6578636565642070726573657400000000000000000000000000000000000000600082015250565b60006143c0600d83613766565b91506143cb8261438a565b602082019050919050565b600060208201905081810360008301526143ef816143b3565b9050919050565b600061440182613471565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361443357614432614305565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061449a603283613766565b91506144a58261443e565b604082019050919050565b600060208201905081810360008301526144c98161448d565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061452c602f83613766565b9150614537826144d0565b604082019050919050565b6000602082019050818103600083015261455b8161451f565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006145be602983613766565b91506145c982614562565b604082019050919050565b600060208201905081810360008301526145ed816145b1565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614650602983613766565b915061465b826145f4565b604082019050919050565b6000602082019050818103600083015261467f81614643565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146bc602083613766565b91506146c782614686565b602082019050919050565b600060208201905081810360008301526146eb816146af565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061474e602683613766565b9150614759826146f2565b604082019050919050565b6000602082019050818103600083015261477d81614741565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006147c5601783614784565b91506147d08261478f565b601782019050919050565b60006147e68261375b565b6147f08185614784565b9350614800818560208601613777565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614842601183614784565b915061484d8261480c565b601182019050919050565b6000614863826147b8565b915061486f82856147db565b915061487a82614835565b915061488682846147db565b91508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006148ee602183613766565b91506148f982614892565b604082019050919050565b6000602082019050818103600083015261491d816148e1565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614980602883613766565b915061498b82614924565b604082019050919050565b600060208201905081810360008301526149af81614973565b9050919050565b600060408201905081810360008301526149d08185613d8d565b905081810360208301526149e48184613d8d565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614a49602583613766565b9150614a54826149ed565b604082019050919050565b60006020820190508181036000830152614a7881614a3c565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614adb602a83613766565b9150614ae682614a7f565b604082019050919050565b60006020820190508181036000830152614b0a81614ace565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614b47601483613766565b9150614b5282614b11565b602082019050919050565b60006020820190508181036000830152614b7681614b3a565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614bd9602383613766565b9150614be482614b7d565b604082019050919050565b60006020820190508181036000830152614c0881614bcc565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614c6b602483613766565b9150614c7682614c0f565b604082019050919050565b60006020820190508181036000830152614c9a81614c5e565b9050919050565b6000604082019050614cb660008301856134e7565b614cc360208301846134e7565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614d00601083613766565b9150614d0b82614cca565b602082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614d92602983613766565b9150614d9d82614d36565b604082019050919050565b60006020820190508181036000830152614dc181614d85565b9050919050565b6000614dd382613471565b9150614dde83613471565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1757614e16614305565b5b828202905092915050565b6000614e2d82613471565b915060008203614e4057614e3f614305565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614e81602083613766565b9150614e8c82614e4b565b602082019050919050565b60006020820190508181036000830152614eb081614e74565b9050919050565b7f616c726561647920686176650000000000000000000000000000000000000000600082015250565b6000614eed600c83613766565b9150614ef882614eb7565b602082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f4a82614f23565b614f548185614f2e565b9350614f64818560208601613777565b614f6d816135d6565b840191505092915050565b600060a082019050614f8d6000830188613ff7565b614f9a6020830187613ff7565b8181036040830152614fac8186613d8d565b90508181036060830152614fc08185613d8d565b90508181036080830152614fd48184614f3f565b90509695505050505050565b600081519050614fef8161353d565b92915050565b60006020828403121561500b5761500a613409565b5b600061501984828501614fe0565b91505092915050565b60008160e01c9050919050565b600060033d111561504e5760046000803e61504b600051615022565b90505b90565b600060443d106150de576150636133ff565b60043d036004823e80513d602482011167ffffffffffffffff8211171561508b5750506150de565b808201805167ffffffffffffffff8111156150a957505050506150de565b80602083010160043d0385018111156150c65750505050506150de565b6150d582602001850186613616565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061513d603483613766565b9150615148826150e1565b604082019050919050565b6000602082019050818103600083015261516c81615130565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006151cf602883613766565b91506151da82615173565b604082019050919050565b600060208201905081810360008301526151fe816151c2565b9050919050565b600060a08201905061521a6000830188613ff7565b6152276020830187613ff7565b61523460408301866134e7565b61524160608301856134e7565b81810360808301526152538184614f3f565b90509695505050505050565b600061526a82613471565b915061527583613471565b92508282101561528857615287614305565b5b82820390509291505056fea2646970667358221220e713c224578a049feeb32dddb173d21a5c3a274e3415a7c2ed0d21543cf1bac864736f6c634300080d0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.