ETH Price: $2,615.02 (-1.75%)

Contract

0x4e3De613F7174C69c12ba47862c4601Ef2b12603
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040153543192022-08-16 19:52:30776 days ago1660679550IN
 Create: RumClub
0 ETH0.1006439719.20561195

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RumClub

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : TheRumClub.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol';
import '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol';
import '@openzeppelin/contracts-upgradeable/utils/cryptography/ECDSAUpgradeable.sol';
import '@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol';
import '@openzeppelin/contracts-upgradeable/token/ERC1155/extensions/ERC1155SupplyUpgradeable.sol';
import '@openzeppelin/contracts-upgradeable/token/ERC1155/extensions/ERC1155URIStorageUpgradeable.sol';
import '@openzeppelin/contracts-upgradeable/token/ERC1155/extensions/ERC1155BurnableUpgradeable.sol';
import '@openzeppelin/contracts-upgradeable/token/ERC1155/extensions/ERC1155PausableUpgradeable.sol';

interface IBAPC {
  function balanceOf(address owner) external view returns (uint256);
}

/**
 * @dev {ERC1155} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 *
 * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._
 */
contract RumClub is
  Initializable,
  ContextUpgradeable,
  OwnableUpgradeable,
  ERC1155SupplyUpgradeable,
  // ERC1155URIStorageUpgradeable,
  ERC1155BurnableUpgradeable,
  ERC1155PausableUpgradeable
{
  uint256 public constant MAX_SUPPLY = 5700;
  uint256 public constant MAX_BARREL_SUPPLY = 12;

  uint256 public constant PRICE_SMALL_PORTION = 0.024 ether;
  uint256 public constant PRICE_LARGE_PORTION = 0.038 ether;

  address private _verifier;
  IBAPC private _bapc;

  mapping(address => uint256) public minters;

  function initialize(
    IBAPC bapc_,
    address verifier_,
    string memory uri_
  ) public virtual initializer {
    __RumClub_init(bapc_, verifier_, uri_);
  }

  /**
   * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that
   * deploys the contract.
   */
  function __RumClub_init(
    IBAPC bapc_,
    address verifier_,
    string memory uri_
  ) internal onlyInitializing {
    __Ownable_init();
    __ERC1155_init_unchained(uri_);
    __ERC1155Supply_init_unchained();
    __ERC1155Pausable_init_unchained();
    __ERC1155Burnable_init_unchained();

    __RumClub_init_unchained(bapc_, verifier_);
  }

  function __RumClub_init_unchained(IBAPC bapc, address verifier)
    internal
    onlyInitializing
  {
    _verifier = verifier;
    _bapc = bapc;
  }

  function _recoverSigner(bytes32 hash, bytes memory signature)
    internal
    pure
    returns (address)
  {
    return
      ECDSAUpgradeable.recover(
        ECDSAUpgradeable.toEthSignedMessageHash(hash),
        signature
      );
  }

  function _mintPortions(
    uint256 p1,
    uint256 p2,
    uint256 p3
  ) internal {
    address wallet = _msgSender();

    require(_bapc.balanceOf(wallet) >= (p1 + p2), 'BAPC: Not enough BAPC');
    require(p3 <= 1, 'BAPC: invalid p3 amount');

    uint256 p1Supply = totalSupply(1);
    uint256 p2Supply = totalSupply(2);
    uint256 p3Supply = totalSupply(3);

    if (p3Supply + p3 > MAX_BARREL_SUPPLY) {
      p3 = 0;
    } else if (p3 > 0) {
      if (p2 > 0) {
        p2 -= 1;
      } else {
        p1 -= 1;
      }
    }

    require(
      p1Supply + p2Supply + p3Supply + p1 + p2 + p3 <= MAX_SUPPLY,
      'BAPC: max supply exceeded'
    );

    uint256[] memory ids = new uint256[](3);
    uint256[] memory amounts = new uint256[](3);

    uint256 index = 0;
    if (p1 > 0) {
      ids[index] = 1;
      amounts[index] = p1;
      index += 1;
    }
    if (p2 > 0) {
      ids[index] = 2;
      amounts[index] = p2;
      index += 1;
    }
    if (p3 > 0) {
      ids[index] = 3;
      amounts[index] = p3;
      index += 1;
    }

    uint256[] memory ids_filled = new uint256[](index);
    uint256[] memory amounts_filled = new uint256[](index);

    for (uint256 i = 0; i < index; i++) {
      ids_filled[i] = ids[i];
      amounts_filled[i] = amounts[i];
    }

    _mintBatch(wallet, ids_filled, amounts_filled, '');

    minters[wallet] += (p1 + p2 + p3);
  }

  function exchangeRum(
    uint256 amount,
    uint256 timestamp,
    bytes memory sig
  ) external {
    address wallet = _msgSender();

    require(amount <= balanceOf(wallet, 1), 'BAPC: Not enough small portions');

    bytes32 hash = keccak256(abi.encodePacked(wallet, amount, timestamp));
    require(_verifier == _recoverSigner(hash, sig), 'BAPC: invalid signature');

    _burn(wallet, 1, amount);
    _mint(wallet, 4, amount, '');
  }

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

  function _beforeTokenTransfer(
    address operator,
    address from,
    address to,
    uint256[] memory ids,
    uint256[] memory amounts,
    bytes memory data
  )
    internal
    virtual
    override(
      ERC1155Upgradeable,
      ERC1155SupplyUpgradeable,
      ERC1155PausableUpgradeable
    )
  {
    super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
  }

  function name() public pure returns (string memory) {
    return 'RumClub';
  }

  /**
   * Only Owner
   */

  /**
   * @dev Pauses all token transfers.
   *
   * See {ERC1155Pausable} and {Pausable-_pause}.
   *
   * Requirements:
   *
   * - the caller must have the `PAUSER_ROLE`.
   */
  function pause() public virtual onlyOwner {
    _pause();
  }

  /**
   * @dev Unpauses all token transfers.
   *
   * See {ERC1155Pausable} and {Pausable-_unpause}.
   *
   * Requirements:
   *
   * - the caller must have the `PAUSER_ROLE`.
   */
  function unpause() public virtual onlyOwner {
    _unpause();
  }

  function mintReserved(
    uint256 p1,
    uint256 p2,
    uint256 p3
  ) external onlyOwner {
    _mintPortions(p1, p2, p3);
  }

  function setVerifier(address verifier_) external onlyOwner {
    _verifier = verifier_;
  }

  function withdraw(uint256 amount) public onlyOwner {
    (bool success, ) = _msgSender().call{value: amount}('');
    require(success, 'Withdraw failed');
  }

  function withdrawAll() external onlyOwner {
    withdraw(address(this).balance);
  }

  function setURI(string memory newuri) external onlyOwner {
    _setURI(newuri);
  }

  /**
   * @dev This empty reserved space is put in place to allow future versions to add new
   * variables without shifting down storage in the inheritance chain.
   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
   */
  uint256[50] private __gap;
}

File 2 of 18 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

File 3 of 18 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 4 of 18 : ECDSAUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../StringsUpgradeable.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 5 of 18 : ERC1155Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155Upgradeable.sol";
import "./IERC1155ReceiverUpgradeable.sol";
import "./extensions/IERC1155MetadataURIUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC1155Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC1155Upgradeable, IERC1155MetadataURIUpgradeable {
    using AddressUpgradeable 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}.
     */
    function __ERC1155_init(string memory uri_) internal onlyInitializing {
        __ERC1155_init_unchained(uri_);
    }

    function __ERC1155_init_unchained(string memory uri_) internal onlyInitializing {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) {
        return
            interfaceId == type(IERC1155Upgradeable).interfaceId ||
            interfaceId == type(IERC1155MetadataURIUpgradeable).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: address zero is not a valid owner");
        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 token 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: caller is not token 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

        _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);

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 _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);

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

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

        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);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * 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);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {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 `ids` and `amounts` 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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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 IERC1155ReceiverUpgradeable(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155ReceiverUpgradeable.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 IERC1155ReceiverUpgradeable(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155ReceiverUpgradeable.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;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[47] private __gap;
}

File 6 of 18 : ERC1155SupplyUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155Upgradeable.sol";
import "../../../proxy/utils/Initializable.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 ERC1155SupplyUpgradeable is Initializable, ERC1155Upgradeable {
    function __ERC1155Supply_init() internal onlyInitializing {
    }

    function __ERC1155Supply_init_unchained() internal onlyInitializing {
    }
    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 ERC1155SupplyUpgradeable.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) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 7 of 18 : ERC1155URIStorageUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155URIStorage.sol)

pragma solidity ^0.8.0;

import "../../../utils/StringsUpgradeable.sol";
import "../ERC1155Upgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev ERC1155 token with storage based token URI management.
 * Inspired by the ERC721URIStorage extension
 *
 * _Available since v4.6._
 */
abstract contract ERC1155URIStorageUpgradeable is Initializable, ERC1155Upgradeable {
    function __ERC1155URIStorage_init() internal onlyInitializing {
        __ERC1155URIStorage_init_unchained();
    }

    function __ERC1155URIStorage_init_unchained() internal onlyInitializing {
        _baseURI = "";
    }
    using StringsUpgradeable for uint256;

    // Optional base URI
    string private _baseURI;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the concatenation of the `_baseURI`
     * and the token-specific uri if the latter is set
     *
     * This enables the following behaviors:
     *
     * - if `_tokenURIs[tokenId]` is set, then the result is the concatenation
     *   of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI`
     *   is empty per default);
     *
     * - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()`
     *   which in most cases will contain `ERC1155._uri`;
     *
     * - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a
     *   uri value set, then the result is empty.
     */
    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        string memory tokenURI = _tokenURIs[tokenId];

        // If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked).
        return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId);
    }

    /**
     * @dev Sets `tokenURI` as the tokenURI of `tokenId`.
     */
    function _setURI(uint256 tokenId, string memory tokenURI) internal virtual {
        _tokenURIs[tokenId] = tokenURI;
        emit URI(uri(tokenId), tokenId);
    }

    /**
     * @dev Sets `baseURI` as the `_baseURI` for all tokens
     */
    function _setBaseURI(string memory baseURI) internal virtual {
        _baseURI = baseURI;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[48] private __gap;
}

File 8 of 18 : ERC1155BurnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155Upgradeable.sol";
import "../../../proxy/utils/Initializable.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 ERC1155BurnableUpgradeable is Initializable, ERC1155Upgradeable {
    function __ERC1155Burnable_init() internal onlyInitializing {
    }

    function __ERC1155Burnable_init_unchained() internal onlyInitializing {
    }
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token 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 token owner nor approved"
        );

        _burnBatch(account, ids, values);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 9 of 18 : ERC1155PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC1155Upgradeable.sol";
import "../../../security/PausableUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155PausableUpgradeable is Initializable, ERC1155Upgradeable, PausableUpgradeable {
    function __ERC1155Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __ERC1155Pausable_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    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);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 10 of 18 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 18 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 12 of 18 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 13 of 18 : IERC1155Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165Upgradeable.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 IERC1155Upgradeable is IERC165Upgradeable {
    /**
     * @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 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 14 of 18 : IERC1155ReceiverUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155Upgradeable.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 IERC1155MetadataURIUpgradeable is IERC1155Upgradeable {
    /**
     * @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 16 of 18 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal onlyInitializing {
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 17 of 18 : IERC165Upgradeable.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 IERC165Upgradeable {
    /**
     * @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 18 of 18 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @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.
     */
    function __Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _paused = false;
    }

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        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());
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":"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":"MAX_BARREL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_LARGE_PORTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_SMALL_PORTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"exchangeRum","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":"contract IBAPC","name":"bapc_","type":"address"},{"internalType":"address","name":"verifier_","type":"address"},{"internalType":"string","name":"uri_","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"p1","type":"uint256"},{"internalType":"uint256","name":"p2","type":"uint256"},{"internalType":"uint256","name":"p3","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"verifier_","type":"address"}],"name":"setVerifier","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"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50615e5180620000216000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c806368b98c4b1161010f578063a22cb465116100a2578063f242432a11610071578063f242432a1461052f578063f2fde38b1461054b578063f46eccc414610567578063f5298aca14610597576101e4565b8063a22cb46514610497578063bd85b039146104b3578063d8e41744146104e3578063e985e9c5146104ff576101e4565b8063853828b6116100de578063853828b6146104355780638caef1e71461043f5780638da5cb5b1461045b5780639274f3a714610479576101e4565b806368b98c4b146103e75780636b20c45414610405578063715018a6146104215780638456cb591461042b576101e4565b80632eb2c2d6116101875780634e1273f4116101565780634e1273f41461034d5780634f558e791461037d5780635437988d146103ad5780635c975abb146103c9576101e4565b80632eb2c2d6146102ed57806332cb6b0c146103095780633f4ba83a146103275780634571e3a614610331576101e4565b806306fdde03116101c357806306fdde03146102655780630e89341c146102835780631305d3c9146102b35780632e1a7d4d146102d1576101e4565b8062fdd58e146101e957806301ffc9a71461021957806302fe530514610249575b600080fd5b61020360048036038101906101fe919061398b565b6105b3565b60405161021091906139da565b60405180910390f35b610233600480360381019061022e9190613a4d565b61067c565b6040516102409190613a95565b60405180910390f35b610263600480360381019061025e9190613bf6565b61068e565b005b61026d6106a2565b60405161027a9190613cc7565b60405180910390f35b61029d60048036038101906102989190613ce9565b6106df565b6040516102aa9190613cc7565b60405180910390f35b6102bb610773565b6040516102c891906139da565b60405180910390f35b6102eb60048036038101906102e69190613ce9565b61077e565b005b61030760048036038101906103029190613e7f565b61083d565b005b6103116108de565b60405161031e91906139da565b60405180910390f35b61032f6108e4565b005b61034b60048036038101906103469190613f8c565b6108f6565b005b610367600480360381019061036291906140be565b610a3a565b60405161037491906141f4565b60405180910390f35b61039760048036038101906103929190613ce9565b610b53565b6040516103a49190613a95565b60405180910390f35b6103c760048036038101906103c29190614216565b610b67565b005b6103d1610bb4565b6040516103de9190613a95565b60405180910390f35b6103ef610bcc565b6040516103fc91906139da565b60405180910390f35b61041f600480360381019061041a9190614243565b610bd1565b005b610429610c6e565b005b610433610c82565b005b61043d610c94565b005b610459600480360381019061045491906142ce565b610ca7565b005b610463610df8565b604051610470919061434c565b60405180910390f35b610481610e22565b60405161048e91906139da565b60405180910390f35b6104b160048036038101906104ac9190614393565b610e2d565b005b6104cd60048036038101906104c89190613ce9565b610e43565b6040516104da91906139da565b60405180910390f35b6104fd60048036038101906104f891906143d3565b610e60565b005b61051960048036038101906105149190614426565b610e78565b6040516105269190613a95565b60405180910390f35b61054960048036038101906105449190614466565b610f0c565b005b61056560048036038101906105609190614216565b610fad565b005b610581600480360381019061057c9190614216565b611030565b60405161058e91906139da565b60405180910390f35b6105b160048036038101906105ac91906144fd565b611049565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061a906145c2565b60405180910390fd5b6097600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000610687826110e6565b9050919050565b6106966111c8565b61069f81611246565b50565b60606040518060400160405280600781526020017f52756d436c756200000000000000000000000000000000000000000000000000815250905090565b6060609980546106ee90614611565b80601f016020809104026020016040519081016040528092919081815260200182805461071a90614611565b80156107675780601f1061073c57610100808354040283529160200191610767565b820191906000526020600020905b81548152906001019060200180831161074a57829003601f168201915b50505050509050919050565b668700cc7577000081565b6107866111c8565b6000610790611259565b73ffffffffffffffffffffffffffffffffffffffff16826040516107b390614673565b60006040518083038185875af1925050503d80600081146107f0576040519150601f19603f3d011682016040523d82523d6000602084013e6107f5565b606091505b5050905080610839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610830906146d4565b60405180910390fd5b5050565b610845611259565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061088b575061088a85610885611259565b610e78565b5b6108ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c190614766565b60405180910390fd5b6108d78585858585611261565b5050505050565b61164481565b6108ec6111c8565b6108f4611585565b565b60008060019054906101000a900460ff161590508080156109275750600160008054906101000a900460ff1660ff16105b806109545750610936306115e9565b1580156109535750600160008054906101000a900460ff1660ff16145b5b610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098a906147f8565b60405180910390fd5b60016000806101000a81548160ff021916908360ff16021790555080156109d0576001600060016101000a81548160ff0219169083151502179055505b6109db84848461160c565b8015610a345760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610a2b919061486a565b60405180910390a15b50505050565b60608151835114610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906148f7565b60405180910390fd5b6000835167ffffffffffffffff811115610a9d57610a9c613acb565b5b604051908082528060200260200182016040528015610acb5781602001602082028036833780820191505090505b50905060005b8451811015610b4857610b18858281518110610af057610aef614917565b5b6020026020010151858381518110610b0b57610b0a614917565b5b60200260200101516105b3565b828281518110610b2b57610b2a614917565b5b60200260200101818152505080610b4190614975565b9050610ad1565b508091505092915050565b600080610b5f83610e43565b119050919050565b610b6f6111c8565b8061019160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061012d60009054906101000a900460ff16905090565b600c81565b610bd9611259565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610c1f5750610c1e83610c19611259565b610e78565b5b610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590614766565b60405180910390fd5b610c69838383611693565b505050565b610c766111c8565b610c806000611963565b565b610c8a6111c8565b610c92611a29565b565b610c9c6111c8565b610ca54761077e565b565b6000610cb1611259565b9050610cbe8160016105b3565b841115610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790614a09565b60405180910390fd5b6000818585604051602001610d1793929190614a92565b604051602081830303815290604052805190602001209050610d398184611a8d565b73ffffffffffffffffffffffffffffffffffffffff1661019160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090614b1b565b60405180910390fd5b610dd582600187611aa9565b610df18260048760405180602001604052806000815250611cf1565b5050505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b665543df729c000081565b610e3f610e38611259565b8383611ea2565b5050565b600060c96000838152602001908152602001600020549050919050565b610e686111c8565b610e7383838361200e565b505050565b6000609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f14611259565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f5a5750610f5985610f54611259565b610e78565b5b610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090614766565b60405180910390fd5b610fa685858585856125b1565b5050505050565b610fb56111c8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614bad565b60405180910390fd5b61102d81611963565b50565b6101936020528060005260406000206000915090505481565b611051611259565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611097575061109683611091611259565b610e78565b5b6110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90614766565b60405180910390fd5b6110e1838383611aa9565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111b157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806111c157506111c08261284f565b5b9050919050565b6111d0611259565b73ffffffffffffffffffffffffffffffffffffffff166111ee610df8565b73ffffffffffffffffffffffffffffffffffffffff1614611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90614c19565b60405180910390fd5b565b80609990816112559190614ddb565b5050565b600033905090565b81518351146112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c90614f1f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90614fb1565b60405180910390fd5b600061131e611259565b905061132e8187878787876128b9565b60005b84518110156114e257600085828151811061134f5761134e614917565b5b60200260200101519050600085838151811061136e5761136d614917565b5b6020026020010151905060006097600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790615043565b60405180910390fd5b8181036097600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816097600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114c79190615063565b92505081905550505050806114db90614975565b9050611331565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115599291906150b9565b60405180910390a461156f8187878787876128cf565b61157d8187878787876128d7565b505050505050565b61158d612aae565b600061012d60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6115d2611259565b6040516115df919061434c565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff1661165b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165290615162565b60405180910390fd5b611663612af7565b61166c81612b50565b611674612bab565b61167c612bfc565b611684612c4d565b61168e8383612c9e565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f9906151f4565b60405180910390fd5b8051825114611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614f1f565b60405180910390fd5b6000611750611259565b9050611770818560008686604051806020016040528060008152506128b9565b60005b83518110156118bf57600084828151811061179157611790614917565b5b6020026020010151905060008483815181106117b0576117af614917565b5b6020026020010151905060006097600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184990615286565b60405180910390fd5b8181036097600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806118b790614975565b915050611773565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516119379291906150b9565b60405180910390a461195d818560008686604051806020016040528060008152506128cf565b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a31612d75565b600161012d60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a76611259565b604051611a83919061434c565b60405180910390a1565b6000611aa1611a9b84612dbf565b83612def565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f906151f4565b60405180910390fd5b6000611b22611259565b90506000611b2f84612e16565b90506000611b3c84612e16565b9050611b5c838760008585604051806020016040528060008152506128b9565b60006097600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90615286565b60405180910390fd5b8481036097600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611cc29291906152a6565b60405180910390a4611ce8848860008686604051806020016040528060008152506128cf565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790615341565b60405180910390fd5b6000611d6a611259565b90506000611d7785612e16565b90506000611d8485612e16565b9050611d95836000898585896128b9565b846097600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df59190615063565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611e739291906152a6565b60405180910390a4611e8a836000898585896128cf565b611e9983600089898989612e90565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f07906153d3565b60405180910390fd5b80609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120019190613a95565b60405180910390a3505050565b6000612018611259565b905082846120269190615063565b61019260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401612082919061434c565b602060405180830381865afa15801561209f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c39190615408565b1015612104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb90615481565b60405180910390fd5b6001821115612148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213f906154ed565b60405180910390fd5b60006121546001610e43565b905060006121626002610e43565b905060006121706003610e43565b9050600c85826121809190615063565b111561218f57600094506121c7565b60008511156121c65760008611156121b5576001866121ae919061550d565b95506121c5565b6001876121c2919061550d565b96505b5b5b6116448587898486886121da9190615063565b6121e49190615063565b6121ee9190615063565b6121f89190615063565b6122029190615063565b1115612243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223a9061558d565b60405180910390fd5b6000600367ffffffffffffffff8111156122605761225f613acb565b5b60405190808252806020026020018201604052801561228e5781602001602082028036833780820191505090505b5090506000600367ffffffffffffffff8111156122ae576122ad613acb565b5b6040519080825280602002602001820160405280156122dc5781602001602082028036833780820191505090505b5090506000808a111561233a5760018382815181106122fe576122fd614917565b5b6020026020010181815250508982828151811061231e5761231d614917565b5b6020026020010181815250506001816123379190615063565b90505b600089111561239457600283828151811061235857612357614917565b5b6020026020010181815250508882828151811061237857612377614917565b5b6020026020010181815250506001816123919190615063565b90505b60008811156123ee5760038382815181106123b2576123b1614917565b5b602002602001018181525050878282815181106123d2576123d1614917565b5b6020026020010181815250506001816123eb9190615063565b90505b60008167ffffffffffffffff81111561240a57612409613acb565b5b6040519080825280602002602001820160405280156124385781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561245757612456613acb565b5b6040519080825280602002602001820160405280156124855781602001602082028036833780820191505090505b50905060005b8381101561251a578581815181106124a6576124a5614917565b5b60200260200101518382815181106124c1576124c0614917565b5b6020026020010181815250508481815181106124e0576124df614917565b5b60200260200101518282815181106124fb576124fa614917565b5b602002602001018181525050808061251290614975565b91505061248b565b5061253689838360405180602001604052806000815250613067565b898b8d6125439190615063565b61254d9190615063565b61019360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259c9190615063565b92505081905550505050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261790614fb1565b60405180910390fd5b600061262a611259565b9050600061263785612e16565b9050600061264485612e16565b90506126548389898585896128b9565b60006097600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390615043565b60405180910390fd5b8581036097600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856097600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a39190615063565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516128209291906152a6565b60405180910390a4612836848a8a86868a6128cf565b612844848a8a8a8a8a612e90565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128c7868686868686613294565b505050505050565b505050505050565b6128f68473ffffffffffffffffffffffffffffffffffffffff166115e9565b15612aa6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161293c959493929190615602565b6020604051808303816000875af192505050801561297857506040513d601f19601f82011682018060405250810190612975919061567f565b60015b612a1d576129846156b9565b806308c379a0036129e057506129986156db565b806129a357506129e2565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d79190613cc7565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a14906157dd565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9b9061586f565b60405180910390fd5b505b505050505050565b612ab6610bb4565b612af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aec906158db565b60405180910390fd5b565b600060019054906101000a900460ff16612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90615162565b60405180910390fd5b612b4e6132f2565b565b600060019054906101000a900460ff16612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690615162565b60405180910390fd5b612ba881611246565b50565b600060019054906101000a900460ff16612bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf190615162565b60405180910390fd5b565b600060019054906101000a900460ff16612c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4290615162565b60405180910390fd5b565b600060019054906101000a900460ff16612c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9390615162565b60405180910390fd5b565b600060019054906101000a900460ff16612ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce490615162565b60405180910390fd5b8061019160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508161019260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b612d7d610bb4565b15612dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db490615947565b60405180910390fd5b565b600081604051602001612dd291906159e9565b604051602081830303815290604052805190602001209050919050565b6000806000612dfe8585613353565b91509150612e0b816133d4565b819250505092915050565b60606000600167ffffffffffffffff811115612e3557612e34613acb565b5b604051908082528060200260200182016040528015612e635781602001602082028036833780820191505090505b5090508281600081518110612e7b57612e7a614917565b5b60200260200101818152505080915050919050565b612eaf8473ffffffffffffffffffffffffffffffffffffffff166115e9565b1561305f578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612ef5959493929190615a0f565b6020604051808303816000875af1925050508015612f3157506040513d601f19601f82011682018060405250810190612f2e919061567f565b60015b612fd657612f3d6156b9565b806308c379a003612f995750612f516156db565b80612f5c5750612f9b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f909190613cc7565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcd906157dd565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461305d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130549061586f565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd90615341565b60405180910390fd5b815183511461311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190614f1f565b60405180910390fd5b6000613124611259565b9050613135816000878787876128b9565b60005b84518110156131ef5783818151811061315457613153614917565b5b60200260200101516097600087848151811061317357613172614917565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131d59190615063565b9250508190555080806131e790614975565b915050613138565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516132679291906150b9565b60405180910390a461327e816000878787876128cf565b61328d816000878787876128d7565b5050505050565b6132a28686868686866135a0565b6132aa610bb4565b156132ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e190615adb565b60405180910390fd5b505050505050565b600060019054906101000a900460ff16613341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333890615162565b60405180910390fd5b61335161334c611259565b611963565b565b60008060418351036133945760008060006020860151925060408601519150606086015160001a905061338887828585613770565b945094505050506133cd565b60408351036133c45760008060208501519150604085015190506133b986838361387c565b9350935050506133cd565b60006002915091505b9250929050565b600060048111156133e8576133e7615afb565b5b8160048111156133fb576133fa615afb565b5b031561359d576001600481111561341557613414615afb565b5b81600481111561342857613427615afb565b5b03613468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345f90615b76565b60405180910390fd5b6002600481111561347c5761347b615afb565b5b81600481111561348f5761348e615afb565b5b036134cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c690615be2565b60405180910390fd5b600360048111156134e3576134e2615afb565b5b8160048111156134f6576134f5615afb565b5b03613536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352d90615c74565b60405180910390fd5b60048081111561354957613548615afb565b5b81600481111561355c5761355b615afb565b5b0361359c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359390615d06565b60405180910390fd5b5b50565b6135ae8686868686866138db565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361365f5760005b835181101561365d5782818151811061360157613600614917565b5b602002602001015160c960008684815181106136205761361f614917565b5b6020026020010151815260200190815260200160002060008282546136459190615063565b925050819055508061365690614975565b90506135e5565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036137685760005b83518110156137665760008482815181106136b4576136b3614917565b5b6020026020010151905060008483815181106136d3576136d2614917565b5b60200260200101519050600060c9600084815260200190815260200160002054905081811015613738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372f90615d98565b60405180910390fd5b81810360c96000858152602001908152602001600020819055505050508061375f90614975565b9050613696565b505b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156137ab576000600391509150613873565b601b8560ff16141580156137c35750601c8560ff1614155b156137d5576000600491509150613873565b6000600187878787604051600081526020016040526040516137fa9493929190615dd6565b6020604051602081039080840390855afa15801561381c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361386a57600060019250925050613873565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6138bf9190615063565b90506138cd87828885613770565b935093505050935093915050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613922826138f7565b9050919050565b61393281613917565b811461393d57600080fd5b50565b60008135905061394f81613929565b92915050565b6000819050919050565b61396881613955565b811461397357600080fd5b50565b6000813590506139858161395f565b92915050565b600080604083850312156139a2576139a16138ed565b5b60006139b085828601613940565b92505060206139c185828601613976565b9150509250929050565b6139d481613955565b82525050565b60006020820190506139ef60008301846139cb565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a2a816139f5565b8114613a3557600080fd5b50565b600081359050613a4781613a21565b92915050565b600060208284031215613a6357613a626138ed565b5b6000613a7184828501613a38565b91505092915050565b60008115159050919050565b613a8f81613a7a565b82525050565b6000602082019050613aaa6000830184613a86565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0382613aba565b810181811067ffffffffffffffff82111715613b2257613b21613acb565b5b80604052505050565b6000613b356138e3565b9050613b418282613afa565b919050565b600067ffffffffffffffff821115613b6157613b60613acb565b5b613b6a82613aba565b9050602081019050919050565b82818337600083830152505050565b6000613b99613b9484613b46565b613b2b565b905082815260208101848484011115613bb557613bb4613ab5565b5b613bc0848285613b77565b509392505050565b600082601f830112613bdd57613bdc613ab0565b5b8135613bed848260208601613b86565b91505092915050565b600060208284031215613c0c57613c0b6138ed565b5b600082013567ffffffffffffffff811115613c2a57613c296138f2565b5b613c3684828501613bc8565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c79578082015181840152602081019050613c5e565b83811115613c88576000848401525b50505050565b6000613c9982613c3f565b613ca38185613c4a565b9350613cb3818560208601613c5b565b613cbc81613aba565b840191505092915050565b60006020820190508181036000830152613ce18184613c8e565b905092915050565b600060208284031215613cff57613cfe6138ed565b5b6000613d0d84828501613976565b91505092915050565b600067ffffffffffffffff821115613d3157613d30613acb565b5b602082029050602081019050919050565b600080fd5b6000613d5a613d5584613d16565b613b2b565b90508083825260208201905060208402830185811115613d7d57613d7c613d42565b5b835b81811015613da65780613d928882613976565b845260208401935050602081019050613d7f565b5050509392505050565b600082601f830112613dc557613dc4613ab0565b5b8135613dd5848260208601613d47565b91505092915050565b600067ffffffffffffffff821115613df957613df8613acb565b5b613e0282613aba565b9050602081019050919050565b6000613e22613e1d84613dde565b613b2b565b905082815260208101848484011115613e3e57613e3d613ab5565b5b613e49848285613b77565b509392505050565b600082601f830112613e6657613e65613ab0565b5b8135613e76848260208601613e0f565b91505092915050565b600080600080600060a08688031215613e9b57613e9a6138ed565b5b6000613ea988828901613940565b9550506020613eba88828901613940565b945050604086013567ffffffffffffffff811115613edb57613eda6138f2565b5b613ee788828901613db0565b935050606086013567ffffffffffffffff811115613f0857613f076138f2565b5b613f1488828901613db0565b925050608086013567ffffffffffffffff811115613f3557613f346138f2565b5b613f4188828901613e51565b9150509295509295909350565b6000613f5982613917565b9050919050565b613f6981613f4e565b8114613f7457600080fd5b50565b600081359050613f8681613f60565b92915050565b600080600060608486031215613fa557613fa46138ed565b5b6000613fb386828701613f77565b9350506020613fc486828701613940565b925050604084013567ffffffffffffffff811115613fe557613fe46138f2565b5b613ff186828701613bc8565b9150509250925092565b600067ffffffffffffffff82111561401657614015613acb565b5b602082029050602081019050919050565b600061403a61403584613ffb565b613b2b565b9050808382526020820190506020840283018581111561405d5761405c613d42565b5b835b8181101561408657806140728882613940565b84526020840193505060208101905061405f565b5050509392505050565b600082601f8301126140a5576140a4613ab0565b5b81356140b5848260208601614027565b91505092915050565b600080604083850312156140d5576140d46138ed565b5b600083013567ffffffffffffffff8111156140f3576140f26138f2565b5b6140ff85828601614090565b925050602083013567ffffffffffffffff8111156141205761411f6138f2565b5b61412c85828601613db0565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61416b81613955565b82525050565b600061417d8383614162565b60208301905092915050565b6000602082019050919050565b60006141a182614136565b6141ab8185614141565b93506141b683614152565b8060005b838110156141e75781516141ce8882614171565b97506141d983614189565b9250506001810190506141ba565b5085935050505092915050565b6000602082019050818103600083015261420e8184614196565b905092915050565b60006020828403121561422c5761422b6138ed565b5b600061423a84828501613940565b91505092915050565b60008060006060848603121561425c5761425b6138ed565b5b600061426a86828701613940565b935050602084013567ffffffffffffffff81111561428b5761428a6138f2565b5b61429786828701613db0565b925050604084013567ffffffffffffffff8111156142b8576142b76138f2565b5b6142c486828701613db0565b9150509250925092565b6000806000606084860312156142e7576142e66138ed565b5b60006142f586828701613976565b935050602061430686828701613976565b925050604084013567ffffffffffffffff811115614327576143266138f2565b5b61433386828701613e51565b9150509250925092565b61434681613917565b82525050565b6000602082019050614361600083018461433d565b92915050565b61437081613a7a565b811461437b57600080fd5b50565b60008135905061438d81614367565b92915050565b600080604083850312156143aa576143a96138ed565b5b60006143b885828601613940565b92505060206143c98582860161437e565b9150509250929050565b6000806000606084860312156143ec576143eb6138ed565b5b60006143fa86828701613976565b935050602061440b86828701613976565b925050604061441c86828701613976565b9150509250925092565b6000806040838503121561443d5761443c6138ed565b5b600061444b85828601613940565b925050602061445c85828601613940565b9150509250929050565b600080600080600060a08688031215614482576144816138ed565b5b600061449088828901613940565b95505060206144a188828901613940565b94505060406144b288828901613976565b93505060606144c388828901613976565b925050608086013567ffffffffffffffff8111156144e4576144e36138f2565b5b6144f088828901613e51565b9150509295509295909350565b600080600060608486031215614516576145156138ed565b5b600061452486828701613940565b935050602061453586828701613976565b925050604061454686828701613976565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006145ac602a83613c4a565b91506145b782614550565b604082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061462957607f821691505b60208210810361463c5761463b6145e2565b5b50919050565b600081905092915050565b50565b600061465d600083614642565b91506146688261464d565b600082019050919050565b600061467e82614650565b9150819050919050565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b60006146be600f83613c4a565b91506146c982614688565b602082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614750602f83613c4a565b915061475b826146f4565b604082019050919050565b6000602082019050818103600083015261477f81614743565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006147e2602e83613c4a565b91506147ed82614786565b604082019050919050565b60006020820190508181036000830152614811816147d5565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b600061485461484f61484a84614818565b61482f565b614822565b9050919050565b61486481614839565b82525050565b600060208201905061487f600083018461485b565b92915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006148e1602983613c4a565b91506148ec82614885565b604082019050919050565b60006020820190508181036000830152614910816148d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061498082613955565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036149b2576149b1614946565b5b600182019050919050565b7f424150433a204e6f7420656e6f75676820736d616c6c20706f7274696f6e7300600082015250565b60006149f3601f83613c4a565b91506149fe826149bd565b602082019050919050565b60006020820190508181036000830152614a22816149e6565b9050919050565b60008160601b9050919050565b6000614a4182614a29565b9050919050565b6000614a5382614a36565b9050919050565b614a6b614a6682613917565b614a48565b82525050565b6000819050919050565b614a8c614a8782613955565b614a71565b82525050565b6000614a9e8286614a5a565b601482019150614aae8285614a7b565b602082019150614abe8284614a7b565b602082019150819050949350505050565b7f424150433a20696e76616c6964207369676e6174757265000000000000000000600082015250565b6000614b05601783613c4a565b9150614b1082614acf565b602082019050919050565b60006020820190508181036000830152614b3481614af8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b97602683613c4a565b9150614ba282614b3b565b604082019050919050565b60006020820190508181036000830152614bc681614b8a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c03602083613c4a565b9150614c0e82614bcd565b602082019050919050565b60006020820190508181036000830152614c3281614bf6565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614c9b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614c5e565b614ca58683614c5e565b95508019841693508086168417925050509392505050565b6000614cd8614cd3614cce84613955565b61482f565b613955565b9050919050565b6000819050919050565b614cf283614cbd565b614d06614cfe82614cdf565b848454614c6b565b825550505050565b600090565b614d1b614d0e565b614d26818484614ce9565b505050565b5b81811015614d4a57614d3f600082614d13565b600181019050614d2c565b5050565b601f821115614d8f57614d6081614c39565b614d6984614c4e565b81016020851015614d78578190505b614d8c614d8485614c4e565b830182614d2b565b50505b505050565b600082821c905092915050565b6000614db260001984600802614d94565b1980831691505092915050565b6000614dcb8383614da1565b9150826002028217905092915050565b614de482613c3f565b67ffffffffffffffff811115614dfd57614dfc613acb565b5b614e078254614611565b614e12828285614d4e565b600060209050601f831160018114614e455760008415614e33578287015190505b614e3d8582614dbf565b865550614ea5565b601f198416614e5386614c39565b60005b82811015614e7b57848901518255600182019150602085019450602081019050614e56565b86831015614e985784890151614e94601f891682614da1565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614f09602883613c4a565b9150614f1482614ead565b604082019050919050565b60006020820190508181036000830152614f3881614efc565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614f9b602583613c4a565b9150614fa682614f3f565b604082019050919050565b60006020820190508181036000830152614fca81614f8e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061502d602a83613c4a565b915061503882614fd1565b604082019050919050565b6000602082019050818103600083015261505c81615020565b9050919050565b600061506e82613955565b915061507983613955565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150ae576150ad614946565b5b828201905092915050565b600060408201905081810360008301526150d38185614196565b905081810360208301526150e78184614196565b90509392505050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061514c602b83613c4a565b9150615157826150f0565b604082019050919050565b6000602082019050818103600083015261517b8161513f565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006151de602383613c4a565b91506151e982615182565b604082019050919050565b6000602082019050818103600083015261520d816151d1565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615270602483613c4a565b915061527b82615214565b604082019050919050565b6000602082019050818103600083015261529f81615263565b9050919050565b60006040820190506152bb60008301856139cb565b6152c860208301846139cb565b9392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061532b602183613c4a565b9150615336826152cf565b604082019050919050565b6000602082019050818103600083015261535a8161531e565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006153bd602983613c4a565b91506153c882615361565b604082019050919050565b600060208201905081810360008301526153ec816153b0565b9050919050565b6000815190506154028161395f565b92915050565b60006020828403121561541e5761541d6138ed565b5b600061542c848285016153f3565b91505092915050565b7f424150433a204e6f7420656e6f75676820424150430000000000000000000000600082015250565b600061546b601583613c4a565b915061547682615435565b602082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b7f424150433a20696e76616c696420703320616d6f756e74000000000000000000600082015250565b60006154d7601783613c4a565b91506154e2826154a1565b602082019050919050565b60006020820190508181036000830152615506816154ca565b9050919050565b600061551882613955565b915061552383613955565b92508282101561553657615535614946565b5b828203905092915050565b7f424150433a206d617820737570706c7920657863656564656400000000000000600082015250565b6000615577601983613c4a565b915061558282615541565b602082019050919050565b600060208201905081810360008301526155a68161556a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155d4826155ad565b6155de81856155b8565b93506155ee818560208601613c5b565b6155f781613aba565b840191505092915050565b600060a082019050615617600083018861433d565b615624602083018761433d565b81810360408301526156368186614196565b9050818103606083015261564a8185614196565b9050818103608083015261565e81846155c9565b90509695505050505050565b60008151905061567981613a21565b92915050565b600060208284031215615695576156946138ed565b5b60006156a38482850161566a565b91505092915050565b60008160e01c9050919050565b600060033d11156156d85760046000803e6156d56000516156ac565b90505b90565b600060443d10615768576156ed6138e3565b60043d036004823e80513d602482011167ffffffffffffffff82111715615715575050615768565b808201805167ffffffffffffffff8111156157335750505050615768565b80602083010160043d038501811115615750575050505050615768565b61575f82602001850186613afa565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006157c7603483613c4a565b91506157d28261576b565b604082019050919050565b600060208201905081810360008301526157f6816157ba565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615859602883613c4a565b9150615864826157fd565b604082019050919050565b600060208201905081810360008301526158888161584c565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006158c5601483613c4a565b91506158d08261588f565b602082019050919050565b600060208201905081810360008301526158f4816158b8565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615931601083613c4a565b915061593c826158fb565b602082019050919050565b6000602082019050818103600083015261596081615924565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006159a8601c83615967565b91506159b382615972565b601c82019050919050565b6000819050919050565b6000819050919050565b6159e36159de826159be565b6159c8565b82525050565b60006159f48261599b565b9150615a0082846159d2565b60208201915081905092915050565b600060a082019050615a24600083018861433d565b615a31602083018761433d565b615a3e60408301866139cb565b615a4b60608301856139cb565b8181036080830152615a5d81846155c9565b90509695505050505050565b7f455243313135355061757361626c653a20746f6b656e207472616e736665722060008201527f7768696c65207061757365640000000000000000000000000000000000000000602082015250565b6000615ac5602c83613c4a565b9150615ad082615a69565b604082019050919050565b60006020820190508181036000830152615af481615ab8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615b60601883613c4a565b9150615b6b82615b2a565b602082019050919050565b60006020820190508181036000830152615b8f81615b53565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615bcc601f83613c4a565b9150615bd782615b96565b602082019050919050565b60006020820190508181036000830152615bfb81615bbf565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c5e602283613c4a565b9150615c6982615c02565b604082019050919050565b60006020820190508181036000830152615c8d81615c51565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615cf0602283613c4a565b9150615cfb82615c94565b604082019050919050565b60006020820190508181036000830152615d1f81615ce3565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000615d82602883613c4a565b9150615d8d82615d26565b604082019050919050565b60006020820190508181036000830152615db181615d75565b9050919050565b615dc1816159be565b82525050565b615dd081614822565b82525050565b6000608082019050615deb6000830187615db8565b615df86020830186615dc7565b615e056040830185615db8565b615e126060830184615db8565b9594505050505056fea2646970667358221220956bf71f8888c5271c6638874ff64a770e0a707bdd1b5482530c1ece527a178f64736f6c634300080f0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c806368b98c4b1161010f578063a22cb465116100a2578063f242432a11610071578063f242432a1461052f578063f2fde38b1461054b578063f46eccc414610567578063f5298aca14610597576101e4565b8063a22cb46514610497578063bd85b039146104b3578063d8e41744146104e3578063e985e9c5146104ff576101e4565b8063853828b6116100de578063853828b6146104355780638caef1e71461043f5780638da5cb5b1461045b5780639274f3a714610479576101e4565b806368b98c4b146103e75780636b20c45414610405578063715018a6146104215780638456cb591461042b576101e4565b80632eb2c2d6116101875780634e1273f4116101565780634e1273f41461034d5780634f558e791461037d5780635437988d146103ad5780635c975abb146103c9576101e4565b80632eb2c2d6146102ed57806332cb6b0c146103095780633f4ba83a146103275780634571e3a614610331576101e4565b806306fdde03116101c357806306fdde03146102655780630e89341c146102835780631305d3c9146102b35780632e1a7d4d146102d1576101e4565b8062fdd58e146101e957806301ffc9a71461021957806302fe530514610249575b600080fd5b61020360048036038101906101fe919061398b565b6105b3565b60405161021091906139da565b60405180910390f35b610233600480360381019061022e9190613a4d565b61067c565b6040516102409190613a95565b60405180910390f35b610263600480360381019061025e9190613bf6565b61068e565b005b61026d6106a2565b60405161027a9190613cc7565b60405180910390f35b61029d60048036038101906102989190613ce9565b6106df565b6040516102aa9190613cc7565b60405180910390f35b6102bb610773565b6040516102c891906139da565b60405180910390f35b6102eb60048036038101906102e69190613ce9565b61077e565b005b61030760048036038101906103029190613e7f565b61083d565b005b6103116108de565b60405161031e91906139da565b60405180910390f35b61032f6108e4565b005b61034b60048036038101906103469190613f8c565b6108f6565b005b610367600480360381019061036291906140be565b610a3a565b60405161037491906141f4565b60405180910390f35b61039760048036038101906103929190613ce9565b610b53565b6040516103a49190613a95565b60405180910390f35b6103c760048036038101906103c29190614216565b610b67565b005b6103d1610bb4565b6040516103de9190613a95565b60405180910390f35b6103ef610bcc565b6040516103fc91906139da565b60405180910390f35b61041f600480360381019061041a9190614243565b610bd1565b005b610429610c6e565b005b610433610c82565b005b61043d610c94565b005b610459600480360381019061045491906142ce565b610ca7565b005b610463610df8565b604051610470919061434c565b60405180910390f35b610481610e22565b60405161048e91906139da565b60405180910390f35b6104b160048036038101906104ac9190614393565b610e2d565b005b6104cd60048036038101906104c89190613ce9565b610e43565b6040516104da91906139da565b60405180910390f35b6104fd60048036038101906104f891906143d3565b610e60565b005b61051960048036038101906105149190614426565b610e78565b6040516105269190613a95565b60405180910390f35b61054960048036038101906105449190614466565b610f0c565b005b61056560048036038101906105609190614216565b610fad565b005b610581600480360381019061057c9190614216565b611030565b60405161058e91906139da565b60405180910390f35b6105b160048036038101906105ac91906144fd565b611049565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061a906145c2565b60405180910390fd5b6097600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000610687826110e6565b9050919050565b6106966111c8565b61069f81611246565b50565b60606040518060400160405280600781526020017f52756d436c756200000000000000000000000000000000000000000000000000815250905090565b6060609980546106ee90614611565b80601f016020809104026020016040519081016040528092919081815260200182805461071a90614611565b80156107675780601f1061073c57610100808354040283529160200191610767565b820191906000526020600020905b81548152906001019060200180831161074a57829003601f168201915b50505050509050919050565b668700cc7577000081565b6107866111c8565b6000610790611259565b73ffffffffffffffffffffffffffffffffffffffff16826040516107b390614673565b60006040518083038185875af1925050503d80600081146107f0576040519150601f19603f3d011682016040523d82523d6000602084013e6107f5565b606091505b5050905080610839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610830906146d4565b60405180910390fd5b5050565b610845611259565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061088b575061088a85610885611259565b610e78565b5b6108ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c190614766565b60405180910390fd5b6108d78585858585611261565b5050505050565b61164481565b6108ec6111c8565b6108f4611585565b565b60008060019054906101000a900460ff161590508080156109275750600160008054906101000a900460ff1660ff16105b806109545750610936306115e9565b1580156109535750600160008054906101000a900460ff1660ff16145b5b610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098a906147f8565b60405180910390fd5b60016000806101000a81548160ff021916908360ff16021790555080156109d0576001600060016101000a81548160ff0219169083151502179055505b6109db84848461160c565b8015610a345760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051610a2b919061486a565b60405180910390a15b50505050565b60608151835114610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906148f7565b60405180910390fd5b6000835167ffffffffffffffff811115610a9d57610a9c613acb565b5b604051908082528060200260200182016040528015610acb5781602001602082028036833780820191505090505b50905060005b8451811015610b4857610b18858281518110610af057610aef614917565b5b6020026020010151858381518110610b0b57610b0a614917565b5b60200260200101516105b3565b828281518110610b2b57610b2a614917565b5b60200260200101818152505080610b4190614975565b9050610ad1565b508091505092915050565b600080610b5f83610e43565b119050919050565b610b6f6111c8565b8061019160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061012d60009054906101000a900460ff16905090565b600c81565b610bd9611259565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610c1f5750610c1e83610c19611259565b610e78565b5b610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590614766565b60405180910390fd5b610c69838383611693565b505050565b610c766111c8565b610c806000611963565b565b610c8a6111c8565b610c92611a29565b565b610c9c6111c8565b610ca54761077e565b565b6000610cb1611259565b9050610cbe8160016105b3565b841115610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790614a09565b60405180910390fd5b6000818585604051602001610d1793929190614a92565b604051602081830303815290604052805190602001209050610d398184611a8d565b73ffffffffffffffffffffffffffffffffffffffff1661019160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090614b1b565b60405180910390fd5b610dd582600187611aa9565b610df18260048760405180602001604052806000815250611cf1565b5050505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b665543df729c000081565b610e3f610e38611259565b8383611ea2565b5050565b600060c96000838152602001908152602001600020549050919050565b610e686111c8565b610e7383838361200e565b505050565b6000609860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f14611259565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f5a5750610f5985610f54611259565b610e78565b5b610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090614766565b60405180910390fd5b610fa685858585856125b1565b5050505050565b610fb56111c8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614bad565b60405180910390fd5b61102d81611963565b50565b6101936020528060005260406000206000915090505481565b611051611259565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611097575061109683611091611259565b610e78565b5b6110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90614766565b60405180910390fd5b6110e1838383611aa9565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111b157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806111c157506111c08261284f565b5b9050919050565b6111d0611259565b73ffffffffffffffffffffffffffffffffffffffff166111ee610df8565b73ffffffffffffffffffffffffffffffffffffffff1614611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90614c19565b60405180910390fd5b565b80609990816112559190614ddb565b5050565b600033905090565b81518351146112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c90614f1f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90614fb1565b60405180910390fd5b600061131e611259565b905061132e8187878787876128b9565b60005b84518110156114e257600085828151811061134f5761134e614917565b5b60200260200101519050600085838151811061136e5761136d614917565b5b6020026020010151905060006097600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790615043565b60405180910390fd5b8181036097600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816097600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114c79190615063565b92505081905550505050806114db90614975565b9050611331565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115599291906150b9565b60405180910390a461156f8187878787876128cf565b61157d8187878787876128d7565b505050505050565b61158d612aae565b600061012d60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6115d2611259565b6040516115df919061434c565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff1661165b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165290615162565b60405180910390fd5b611663612af7565b61166c81612b50565b611674612bab565b61167c612bfc565b611684612c4d565b61168e8383612c9e565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f9906151f4565b60405180910390fd5b8051825114611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614f1f565b60405180910390fd5b6000611750611259565b9050611770818560008686604051806020016040528060008152506128b9565b60005b83518110156118bf57600084828151811061179157611790614917565b5b6020026020010151905060008483815181106117b0576117af614917565b5b6020026020010151905060006097600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184990615286565b60405180910390fd5b8181036097600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806118b790614975565b915050611773565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516119379291906150b9565b60405180910390a461195d818560008686604051806020016040528060008152506128cf565b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a31612d75565b600161012d60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a76611259565b604051611a83919061434c565b60405180910390a1565b6000611aa1611a9b84612dbf565b83612def565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f906151f4565b60405180910390fd5b6000611b22611259565b90506000611b2f84612e16565b90506000611b3c84612e16565b9050611b5c838760008585604051806020016040528060008152506128b9565b60006097600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90615286565b60405180910390fd5b8481036097600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611cc29291906152a6565b60405180910390a4611ce8848860008686604051806020016040528060008152506128cf565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790615341565b60405180910390fd5b6000611d6a611259565b90506000611d7785612e16565b90506000611d8485612e16565b9050611d95836000898585896128b9565b846097600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df59190615063565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611e739291906152a6565b60405180910390a4611e8a836000898585896128cf565b611e9983600089898989612e90565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f07906153d3565b60405180910390fd5b80609860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120019190613a95565b60405180910390a3505050565b6000612018611259565b905082846120269190615063565b61019260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401612082919061434c565b602060405180830381865afa15801561209f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c39190615408565b1015612104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb90615481565b60405180910390fd5b6001821115612148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213f906154ed565b60405180910390fd5b60006121546001610e43565b905060006121626002610e43565b905060006121706003610e43565b9050600c85826121809190615063565b111561218f57600094506121c7565b60008511156121c65760008611156121b5576001866121ae919061550d565b95506121c5565b6001876121c2919061550d565b96505b5b5b6116448587898486886121da9190615063565b6121e49190615063565b6121ee9190615063565b6121f89190615063565b6122029190615063565b1115612243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223a9061558d565b60405180910390fd5b6000600367ffffffffffffffff8111156122605761225f613acb565b5b60405190808252806020026020018201604052801561228e5781602001602082028036833780820191505090505b5090506000600367ffffffffffffffff8111156122ae576122ad613acb565b5b6040519080825280602002602001820160405280156122dc5781602001602082028036833780820191505090505b5090506000808a111561233a5760018382815181106122fe576122fd614917565b5b6020026020010181815250508982828151811061231e5761231d614917565b5b6020026020010181815250506001816123379190615063565b90505b600089111561239457600283828151811061235857612357614917565b5b6020026020010181815250508882828151811061237857612377614917565b5b6020026020010181815250506001816123919190615063565b90505b60008811156123ee5760038382815181106123b2576123b1614917565b5b602002602001018181525050878282815181106123d2576123d1614917565b5b6020026020010181815250506001816123eb9190615063565b90505b60008167ffffffffffffffff81111561240a57612409613acb565b5b6040519080825280602002602001820160405280156124385781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561245757612456613acb565b5b6040519080825280602002602001820160405280156124855781602001602082028036833780820191505090505b50905060005b8381101561251a578581815181106124a6576124a5614917565b5b60200260200101518382815181106124c1576124c0614917565b5b6020026020010181815250508481815181106124e0576124df614917565b5b60200260200101518282815181106124fb576124fa614917565b5b602002602001018181525050808061251290614975565b91505061248b565b5061253689838360405180602001604052806000815250613067565b898b8d6125439190615063565b61254d9190615063565b61019360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259c9190615063565b92505081905550505050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261790614fb1565b60405180910390fd5b600061262a611259565b9050600061263785612e16565b9050600061264485612e16565b90506126548389898585896128b9565b60006097600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390615043565b60405180910390fd5b8581036097600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856097600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a39190615063565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516128209291906152a6565b60405180910390a4612836848a8a86868a6128cf565b612844848a8a8a8a8a612e90565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128c7868686868686613294565b505050505050565b505050505050565b6128f68473ffffffffffffffffffffffffffffffffffffffff166115e9565b15612aa6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161293c959493929190615602565b6020604051808303816000875af192505050801561297857506040513d601f19601f82011682018060405250810190612975919061567f565b60015b612a1d576129846156b9565b806308c379a0036129e057506129986156db565b806129a357506129e2565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d79190613cc7565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a14906157dd565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9b9061586f565b60405180910390fd5b505b505050505050565b612ab6610bb4565b612af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aec906158db565b60405180910390fd5b565b600060019054906101000a900460ff16612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90615162565b60405180910390fd5b612b4e6132f2565b565b600060019054906101000a900460ff16612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690615162565b60405180910390fd5b612ba881611246565b50565b600060019054906101000a900460ff16612bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf190615162565b60405180910390fd5b565b600060019054906101000a900460ff16612c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4290615162565b60405180910390fd5b565b600060019054906101000a900460ff16612c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9390615162565b60405180910390fd5b565b600060019054906101000a900460ff16612ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce490615162565b60405180910390fd5b8061019160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508161019260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b612d7d610bb4565b15612dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db490615947565b60405180910390fd5b565b600081604051602001612dd291906159e9565b604051602081830303815290604052805190602001209050919050565b6000806000612dfe8585613353565b91509150612e0b816133d4565b819250505092915050565b60606000600167ffffffffffffffff811115612e3557612e34613acb565b5b604051908082528060200260200182016040528015612e635781602001602082028036833780820191505090505b5090508281600081518110612e7b57612e7a614917565b5b60200260200101818152505080915050919050565b612eaf8473ffffffffffffffffffffffffffffffffffffffff166115e9565b1561305f578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612ef5959493929190615a0f565b6020604051808303816000875af1925050508015612f3157506040513d601f19601f82011682018060405250810190612f2e919061567f565b60015b612fd657612f3d6156b9565b806308c379a003612f995750612f516156db565b80612f5c5750612f9b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f909190613cc7565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcd906157dd565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461305d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130549061586f565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd90615341565b60405180910390fd5b815183511461311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190614f1f565b60405180910390fd5b6000613124611259565b9050613135816000878787876128b9565b60005b84518110156131ef5783818151811061315457613153614917565b5b60200260200101516097600087848151811061317357613172614917565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131d59190615063565b9250508190555080806131e790614975565b915050613138565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516132679291906150b9565b60405180910390a461327e816000878787876128cf565b61328d816000878787876128d7565b5050505050565b6132a28686868686866135a0565b6132aa610bb4565b156132ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e190615adb565b60405180910390fd5b505050505050565b600060019054906101000a900460ff16613341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333890615162565b60405180910390fd5b61335161334c611259565b611963565b565b60008060418351036133945760008060006020860151925060408601519150606086015160001a905061338887828585613770565b945094505050506133cd565b60408351036133c45760008060208501519150604085015190506133b986838361387c565b9350935050506133cd565b60006002915091505b9250929050565b600060048111156133e8576133e7615afb565b5b8160048111156133fb576133fa615afb565b5b031561359d576001600481111561341557613414615afb565b5b81600481111561342857613427615afb565b5b03613468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345f90615b76565b60405180910390fd5b6002600481111561347c5761347b615afb565b5b81600481111561348f5761348e615afb565b5b036134cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c690615be2565b60405180910390fd5b600360048111156134e3576134e2615afb565b5b8160048111156134f6576134f5615afb565b5b03613536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352d90615c74565b60405180910390fd5b60048081111561354957613548615afb565b5b81600481111561355c5761355b615afb565b5b0361359c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359390615d06565b60405180910390fd5b5b50565b6135ae8686868686866138db565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361365f5760005b835181101561365d5782818151811061360157613600614917565b5b602002602001015160c960008684815181106136205761361f614917565b5b6020026020010151815260200190815260200160002060008282546136459190615063565b925050819055508061365690614975565b90506135e5565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036137685760005b83518110156137665760008482815181106136b4576136b3614917565b5b6020026020010151905060008483815181106136d3576136d2614917565b5b60200260200101519050600060c9600084815260200190815260200160002054905081811015613738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372f90615d98565b60405180910390fd5b81810360c96000858152602001908152602001600020819055505050508061375f90614975565b9050613696565b505b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156137ab576000600391509150613873565b601b8560ff16141580156137c35750601c8560ff1614155b156137d5576000600491509150613873565b6000600187878787604051600081526020016040526040516137fa9493929190615dd6565b6020604051602081039080840390855afa15801561381c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361386a57600060019250925050613873565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6138bf9190615063565b90506138cd87828885613770565b935093505050935093915050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613922826138f7565b9050919050565b61393281613917565b811461393d57600080fd5b50565b60008135905061394f81613929565b92915050565b6000819050919050565b61396881613955565b811461397357600080fd5b50565b6000813590506139858161395f565b92915050565b600080604083850312156139a2576139a16138ed565b5b60006139b085828601613940565b92505060206139c185828601613976565b9150509250929050565b6139d481613955565b82525050565b60006020820190506139ef60008301846139cb565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a2a816139f5565b8114613a3557600080fd5b50565b600081359050613a4781613a21565b92915050565b600060208284031215613a6357613a626138ed565b5b6000613a7184828501613a38565b91505092915050565b60008115159050919050565b613a8f81613a7a565b82525050565b6000602082019050613aaa6000830184613a86565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0382613aba565b810181811067ffffffffffffffff82111715613b2257613b21613acb565b5b80604052505050565b6000613b356138e3565b9050613b418282613afa565b919050565b600067ffffffffffffffff821115613b6157613b60613acb565b5b613b6a82613aba565b9050602081019050919050565b82818337600083830152505050565b6000613b99613b9484613b46565b613b2b565b905082815260208101848484011115613bb557613bb4613ab5565b5b613bc0848285613b77565b509392505050565b600082601f830112613bdd57613bdc613ab0565b5b8135613bed848260208601613b86565b91505092915050565b600060208284031215613c0c57613c0b6138ed565b5b600082013567ffffffffffffffff811115613c2a57613c296138f2565b5b613c3684828501613bc8565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c79578082015181840152602081019050613c5e565b83811115613c88576000848401525b50505050565b6000613c9982613c3f565b613ca38185613c4a565b9350613cb3818560208601613c5b565b613cbc81613aba565b840191505092915050565b60006020820190508181036000830152613ce18184613c8e565b905092915050565b600060208284031215613cff57613cfe6138ed565b5b6000613d0d84828501613976565b91505092915050565b600067ffffffffffffffff821115613d3157613d30613acb565b5b602082029050602081019050919050565b600080fd5b6000613d5a613d5584613d16565b613b2b565b90508083825260208201905060208402830185811115613d7d57613d7c613d42565b5b835b81811015613da65780613d928882613976565b845260208401935050602081019050613d7f565b5050509392505050565b600082601f830112613dc557613dc4613ab0565b5b8135613dd5848260208601613d47565b91505092915050565b600067ffffffffffffffff821115613df957613df8613acb565b5b613e0282613aba565b9050602081019050919050565b6000613e22613e1d84613dde565b613b2b565b905082815260208101848484011115613e3e57613e3d613ab5565b5b613e49848285613b77565b509392505050565b600082601f830112613e6657613e65613ab0565b5b8135613e76848260208601613e0f565b91505092915050565b600080600080600060a08688031215613e9b57613e9a6138ed565b5b6000613ea988828901613940565b9550506020613eba88828901613940565b945050604086013567ffffffffffffffff811115613edb57613eda6138f2565b5b613ee788828901613db0565b935050606086013567ffffffffffffffff811115613f0857613f076138f2565b5b613f1488828901613db0565b925050608086013567ffffffffffffffff811115613f3557613f346138f2565b5b613f4188828901613e51565b9150509295509295909350565b6000613f5982613917565b9050919050565b613f6981613f4e565b8114613f7457600080fd5b50565b600081359050613f8681613f60565b92915050565b600080600060608486031215613fa557613fa46138ed565b5b6000613fb386828701613f77565b9350506020613fc486828701613940565b925050604084013567ffffffffffffffff811115613fe557613fe46138f2565b5b613ff186828701613bc8565b9150509250925092565b600067ffffffffffffffff82111561401657614015613acb565b5b602082029050602081019050919050565b600061403a61403584613ffb565b613b2b565b9050808382526020820190506020840283018581111561405d5761405c613d42565b5b835b8181101561408657806140728882613940565b84526020840193505060208101905061405f565b5050509392505050565b600082601f8301126140a5576140a4613ab0565b5b81356140b5848260208601614027565b91505092915050565b600080604083850312156140d5576140d46138ed565b5b600083013567ffffffffffffffff8111156140f3576140f26138f2565b5b6140ff85828601614090565b925050602083013567ffffffffffffffff8111156141205761411f6138f2565b5b61412c85828601613db0565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61416b81613955565b82525050565b600061417d8383614162565b60208301905092915050565b6000602082019050919050565b60006141a182614136565b6141ab8185614141565b93506141b683614152565b8060005b838110156141e75781516141ce8882614171565b97506141d983614189565b9250506001810190506141ba565b5085935050505092915050565b6000602082019050818103600083015261420e8184614196565b905092915050565b60006020828403121561422c5761422b6138ed565b5b600061423a84828501613940565b91505092915050565b60008060006060848603121561425c5761425b6138ed565b5b600061426a86828701613940565b935050602084013567ffffffffffffffff81111561428b5761428a6138f2565b5b61429786828701613db0565b925050604084013567ffffffffffffffff8111156142b8576142b76138f2565b5b6142c486828701613db0565b9150509250925092565b6000806000606084860312156142e7576142e66138ed565b5b60006142f586828701613976565b935050602061430686828701613976565b925050604084013567ffffffffffffffff811115614327576143266138f2565b5b61433386828701613e51565b9150509250925092565b61434681613917565b82525050565b6000602082019050614361600083018461433d565b92915050565b61437081613a7a565b811461437b57600080fd5b50565b60008135905061438d81614367565b92915050565b600080604083850312156143aa576143a96138ed565b5b60006143b885828601613940565b92505060206143c98582860161437e565b9150509250929050565b6000806000606084860312156143ec576143eb6138ed565b5b60006143fa86828701613976565b935050602061440b86828701613976565b925050604061441c86828701613976565b9150509250925092565b6000806040838503121561443d5761443c6138ed565b5b600061444b85828601613940565b925050602061445c85828601613940565b9150509250929050565b600080600080600060a08688031215614482576144816138ed565b5b600061449088828901613940565b95505060206144a188828901613940565b94505060406144b288828901613976565b93505060606144c388828901613976565b925050608086013567ffffffffffffffff8111156144e4576144e36138f2565b5b6144f088828901613e51565b9150509295509295909350565b600080600060608486031215614516576145156138ed565b5b600061452486828701613940565b935050602061453586828701613976565b925050604061454686828701613976565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006145ac602a83613c4a565b91506145b782614550565b604082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061462957607f821691505b60208210810361463c5761463b6145e2565b5b50919050565b600081905092915050565b50565b600061465d600083614642565b91506146688261464d565b600082019050919050565b600061467e82614650565b9150819050919050565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b60006146be600f83613c4a565b91506146c982614688565b602082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614750602f83613c4a565b915061475b826146f4565b604082019050919050565b6000602082019050818103600083015261477f81614743565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006147e2602e83613c4a565b91506147ed82614786565b604082019050919050565b60006020820190508181036000830152614811816147d5565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b600061485461484f61484a84614818565b61482f565b614822565b9050919050565b61486481614839565b82525050565b600060208201905061487f600083018461485b565b92915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006148e1602983613c4a565b91506148ec82614885565b604082019050919050565b60006020820190508181036000830152614910816148d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061498082613955565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036149b2576149b1614946565b5b600182019050919050565b7f424150433a204e6f7420656e6f75676820736d616c6c20706f7274696f6e7300600082015250565b60006149f3601f83613c4a565b91506149fe826149bd565b602082019050919050565b60006020820190508181036000830152614a22816149e6565b9050919050565b60008160601b9050919050565b6000614a4182614a29565b9050919050565b6000614a5382614a36565b9050919050565b614a6b614a6682613917565b614a48565b82525050565b6000819050919050565b614a8c614a8782613955565b614a71565b82525050565b6000614a9e8286614a5a565b601482019150614aae8285614a7b565b602082019150614abe8284614a7b565b602082019150819050949350505050565b7f424150433a20696e76616c6964207369676e6174757265000000000000000000600082015250565b6000614b05601783613c4a565b9150614b1082614acf565b602082019050919050565b60006020820190508181036000830152614b3481614af8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b97602683613c4a565b9150614ba282614b3b565b604082019050919050565b60006020820190508181036000830152614bc681614b8a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c03602083613c4a565b9150614c0e82614bcd565b602082019050919050565b60006020820190508181036000830152614c3281614bf6565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614c9b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614c5e565b614ca58683614c5e565b95508019841693508086168417925050509392505050565b6000614cd8614cd3614cce84613955565b61482f565b613955565b9050919050565b6000819050919050565b614cf283614cbd565b614d06614cfe82614cdf565b848454614c6b565b825550505050565b600090565b614d1b614d0e565b614d26818484614ce9565b505050565b5b81811015614d4a57614d3f600082614d13565b600181019050614d2c565b5050565b601f821115614d8f57614d6081614c39565b614d6984614c4e565b81016020851015614d78578190505b614d8c614d8485614c4e565b830182614d2b565b50505b505050565b600082821c905092915050565b6000614db260001984600802614d94565b1980831691505092915050565b6000614dcb8383614da1565b9150826002028217905092915050565b614de482613c3f565b67ffffffffffffffff811115614dfd57614dfc613acb565b5b614e078254614611565b614e12828285614d4e565b600060209050601f831160018114614e455760008415614e33578287015190505b614e3d8582614dbf565b865550614ea5565b601f198416614e5386614c39565b60005b82811015614e7b57848901518255600182019150602085019450602081019050614e56565b86831015614e985784890151614e94601f891682614da1565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614f09602883613c4a565b9150614f1482614ead565b604082019050919050565b60006020820190508181036000830152614f3881614efc565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614f9b602583613c4a565b9150614fa682614f3f565b604082019050919050565b60006020820190508181036000830152614fca81614f8e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061502d602a83613c4a565b915061503882614fd1565b604082019050919050565b6000602082019050818103600083015261505c81615020565b9050919050565b600061506e82613955565b915061507983613955565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150ae576150ad614946565b5b828201905092915050565b600060408201905081810360008301526150d38185614196565b905081810360208301526150e78184614196565b90509392505050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061514c602b83613c4a565b9150615157826150f0565b604082019050919050565b6000602082019050818103600083015261517b8161513f565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006151de602383613c4a565b91506151e982615182565b604082019050919050565b6000602082019050818103600083015261520d816151d1565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615270602483613c4a565b915061527b82615214565b604082019050919050565b6000602082019050818103600083015261529f81615263565b9050919050565b60006040820190506152bb60008301856139cb565b6152c860208301846139cb565b9392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061532b602183613c4a565b9150615336826152cf565b604082019050919050565b6000602082019050818103600083015261535a8161531e565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006153bd602983613c4a565b91506153c882615361565b604082019050919050565b600060208201905081810360008301526153ec816153b0565b9050919050565b6000815190506154028161395f565b92915050565b60006020828403121561541e5761541d6138ed565b5b600061542c848285016153f3565b91505092915050565b7f424150433a204e6f7420656e6f75676820424150430000000000000000000000600082015250565b600061546b601583613c4a565b915061547682615435565b602082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b7f424150433a20696e76616c696420703320616d6f756e74000000000000000000600082015250565b60006154d7601783613c4a565b91506154e2826154a1565b602082019050919050565b60006020820190508181036000830152615506816154ca565b9050919050565b600061551882613955565b915061552383613955565b92508282101561553657615535614946565b5b828203905092915050565b7f424150433a206d617820737570706c7920657863656564656400000000000000600082015250565b6000615577601983613c4a565b915061558282615541565b602082019050919050565b600060208201905081810360008301526155a68161556a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155d4826155ad565b6155de81856155b8565b93506155ee818560208601613c5b565b6155f781613aba565b840191505092915050565b600060a082019050615617600083018861433d565b615624602083018761433d565b81810360408301526156368186614196565b9050818103606083015261564a8185614196565b9050818103608083015261565e81846155c9565b90509695505050505050565b60008151905061567981613a21565b92915050565b600060208284031215615695576156946138ed565b5b60006156a38482850161566a565b91505092915050565b60008160e01c9050919050565b600060033d11156156d85760046000803e6156d56000516156ac565b90505b90565b600060443d10615768576156ed6138e3565b60043d036004823e80513d602482011167ffffffffffffffff82111715615715575050615768565b808201805167ffffffffffffffff8111156157335750505050615768565b80602083010160043d038501811115615750575050505050615768565b61575f82602001850186613afa565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006157c7603483613c4a565b91506157d28261576b565b604082019050919050565b600060208201905081810360008301526157f6816157ba565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615859602883613c4a565b9150615864826157fd565b604082019050919050565b600060208201905081810360008301526158888161584c565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006158c5601483613c4a565b91506158d08261588f565b602082019050919050565b600060208201905081810360008301526158f4816158b8565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615931601083613c4a565b915061593c826158fb565b602082019050919050565b6000602082019050818103600083015261596081615924565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006159a8601c83615967565b91506159b382615972565b601c82019050919050565b6000819050919050565b6000819050919050565b6159e36159de826159be565b6159c8565b82525050565b60006159f48261599b565b9150615a0082846159d2565b60208201915081905092915050565b600060a082019050615a24600083018861433d565b615a31602083018761433d565b615a3e60408301866139cb565b615a4b60608301856139cb565b8181036080830152615a5d81846155c9565b90509695505050505050565b7f455243313135355061757361626c653a20746f6b656e207472616e736665722060008201527f7768696c65207061757365640000000000000000000000000000000000000000602082015250565b6000615ac5602c83613c4a565b9150615ad082615a69565b604082019050919050565b60006020820190508181036000830152615af481615ab8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615b60601883613c4a565b9150615b6b82615b2a565b602082019050919050565b60006020820190508181036000830152615b8f81615b53565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615bcc601f83613c4a565b9150615bd782615b96565b602082019050919050565b60006020820190508181036000830152615bfb81615bbf565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c5e602283613c4a565b9150615c6982615c02565b604082019050919050565b60006020820190508181036000830152615c8d81615c51565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615cf0602283613c4a565b9150615cfb82615c94565b604082019050919050565b60006020820190508181036000830152615d1f81615ce3565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000615d82602883613c4a565b9150615d8d82615d26565b604082019050919050565b60006020820190508181036000830152615db181615d75565b9050919050565b615dc1816159be565b82525050565b615dd081614822565b82525050565b6000608082019050615deb6000830187615db8565b615df86020830186615dc7565b615e056040830185615db8565b615e126060830184615db8565b9594505050505056fea2646970667358221220956bf71f8888c5271c6638874ff64a770e0a707bdd1b5482530c1ece527a178f64736f6c634300080f0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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