ETH Price: $2,665.43 (+1.71%)

Token

oSnipe Genesis Pass (SNIPE)
 

Overview

Max Total Supply

178 SNIPE

Holders

65

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mdzdn.eth
0xd48090757d93ccbb72caca56390fa28b6e3a5efa
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
oSnipeGenesis

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

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

import "./ERC1155Guardable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

// 157 123 156 151 160 145 //

/// @author Quit (twitter: @0xQuit)
/// @title oSnipe Genesis Pass (twitter: @oSnipeNFT)
contract oSnipeGenesis is ERC1155Guardable, Ownable {
  using Math for uint;
  using Strings for uint256;

  string public constant name = "oSnipe Genesis Pass";
  string public constant symbol = "SNIPE";

  uint256 private constant SNIPER_PRICE = 0.5 ether;
  uint256 private constant OBSERVER_PRICE = 0.03 ether;
  uint256 private constant PURVEYOR_PRICE = 3 ether;
  uint256 private constant SNIPER_ID = 0;
  uint256 private constant PURVEYOR_ID = 1;
  uint256 private constant OBSERVER_ID = 2;
  uint256 private constant COMMITTED_SNIPER_ID = 10;
  uint256 private constant COMMITTED_PURVEYOR_ID = 11;

  uint256 public constant MAX_SNIPERS_SUPPLY = 488;
  uint256 public constant MAX_OBSERVERS_PER_COMMITTED = 10;
  bytes32 public merkleRoot;
  uint256 public numSnipersMinted;

  mapping(address => uint256) observersMinted;

  constructor(string memory _uri, bytes32 _root) ERC1155(_uri) { 
    _mintSnipers(owner(), 13);
    _mint(owner(), PURVEYOR_ID, 1, "");
    _mint(owner(), OBSERVER_ID, 100, "");
    merkleRoot = _root;
  }

  error CannotTransferCommittedToken();
  error NotEnoughTokens();
  error AlreadyClaimed();
  error InvalidProof(bytes32[] proof);
  error WrongValueSent();
  error SaleIsPaused();
  error BurnExceedsMinted();
  error TooManyOutstandingObservers(uint256 numberOfObservers, uint256 numberAllowed);

  mapping(address => bool) public alreadyClaimed;
  mapping(address => bool) public alreadyMinted;

  bool public saleIsActive = false;

  /// @notice Sets a new root for free claim verification
  /// @param _root The root to set
  function setMerkleRoot(bytes32 _root) public onlyOwner {
    merkleRoot = _root;
  }

  /// @notice Sets the base metadata URI
  /// @param newuri The new URI
  function setURI(string memory newuri) public onlyOwner {
    _setURI(newuri);
  }

  /// @notice Returns the URI for a given token ID
  /// @param tokenId The ID to return URI for
  /// @return TokenURI
  function uri(uint256 tokenId) public view override returns (string memory) {
    return string(abi.encodePacked(super.uri(tokenId), tokenId.toString(), ".json"));
  }

  /// @notice Flips public sale state
  function flipSaleState() external onlyOwner {
    saleIsActive = !saleIsActive;
  }

  /// @notice Allows one free claim for each addresses included in the merkle tree
  /// @param _proof The merkle proof to claim with
  function claimSniper(bytes32[] calldata _proof) public {
    if (alreadyClaimed[msg.sender]) revert AlreadyClaimed();

    bytes32 leaf = keccak256((abi.encodePacked(msg.sender)));

    if (!MerkleProof.verify(_proof, merkleRoot, leaf)) {
      revert InvalidProof(_proof);
    }

    alreadyClaimed[msg.sender] = true;
    _mintSnipers(msg.sender, 1);
  }

  /// @notice Public function for purchasing Sniper's. Max one per address. Sale must be active.
  /// @dev must send SNIPER_PRICE
  function mintSnipers() public payable {
    if (!saleIsActive) revert SaleIsPaused();
    if (msg.value != SNIPER_PRICE) revert WrongValueSent();
    if (alreadyMinted[msg.sender]) revert AlreadyClaimed();

    alreadyMinted[msg.sender] = true;
    _mintSnipers(msg.sender, 1);
  }

  /**
  * @notice Mints Observer Passes. A sniper can pay to mint up to `MAX_OBSERVERS_PER_COMMITTED` Observers for each Sniper or Purveyor
  * they own. By minting Observers, a Sniper or Purveyor becomes committed. Committed Sniper/Purveyor tokens are untransferrable.
  * In order to uncommit a token, the Observers must be retrieved and redeemed (burned). They do not have to be the same Observers
  * as initially minted, just the same amount.
  * Note that if you have multiple Sniper/Purveyor Passes, you may transfer them as long as you don't fall below a 1:10 ratio of Sniper/Purveyors to Observers.
  * Note that Snipers are committed first, followed by Purveyors if necessary.
  */
  /// @param amount The number of observers to mint.
  /// @dev Must send `OBSERVER_PRICE` * `amount`.
  function mintObservers(uint256 amount) public payable {
    if (msg.value != amount * OBSERVER_PRICE) revert WrongValueSent();

    uint256 newBalance = observersMinted[msg.sender] + amount;

    if (newBalance > maxObserversPermitted(_committedTokenBalance(msg.sender))) {
      uint256 maxObserversPossible = maxObserversPermitted(_uncommittedTokenBalance(msg.sender))
                                    + maxObserversPermitted(_committedTokenBalance(msg.sender))
                                    - observersMinted[msg.sender];

      if (newBalance > maxObserversPossible) {
        revert TooManyOutstandingObservers(newBalance, maxObserversPermitted(_committedTokenBalance(msg.sender)));
      }

      uint256 observerDelta = amount - (maxObserversPermitted(_committedTokenBalance(msg.sender)) - observersMinted[msg.sender]);
      uint256 toBeCommitted = observerDelta.ceilDiv(10);

      if (balanceOf(msg.sender, SNIPER_ID) >= toBeCommitted) {
        _burn(msg.sender, SNIPER_ID, toBeCommitted);
        _mint(msg.sender, COMMITTED_SNIPER_ID, toBeCommitted, "");
      } else {
        uint256[] memory ids = new uint256[](2);
        ids[0] = SNIPER_ID;
        ids[1] = PURVEYOR_ID;

        uint256[] memory amounts = new uint256[](2);
        amounts[0] = balanceOf(msg.sender, SNIPER_ID);
        amounts[1] = toBeCommitted - amounts[0];

        _burnBatch(msg.sender, ids, amounts);

        unchecked { ids[0] += 10; }
        unchecked { ids[1] += 10; }

        _mintBatch(msg.sender, ids, amounts, "");
      }
    }

    observersMinted[msg.sender] = newBalance;

    _mint(msg.sender, OBSERVER_ID, amount, "");
  }

  /**
  * @notice Redeems Observer Passes and uncommits as many committed NFTs as possible without
  * falling below the maximum allowed ratio of `MAX_OBSERVERS_PER_COMMITTED` per Sniper/Purveyor.
  * Note Purveyors are uncommitted first, followed by Snipers.
  */
  /// @param amount The number of Observers to redeem (burn).
  function redeemObservers(uint256 amount) external {
    if (observersMinted[msg.sender] < amount) revert BurnExceedsMinted();
    
    unchecked { observersMinted[msg.sender] -= amount; }

    _burn(msg.sender, OBSERVER_ID, amount);
    uint256 observerDelta = maxObserversPermitted(_committedTokenBalance(msg.sender)) - balanceOf(msg.sender, OBSERVER_ID);
    uint256 toBeUncommitted = observerDelta / 10;
    
    if (balanceOf(msg.sender, COMMITTED_PURVEYOR_ID) >= toBeUncommitted) {
      _burn(msg.sender, COMMITTED_PURVEYOR_ID, toBeUncommitted);
      _mint(msg.sender, PURVEYOR_ID, toBeUncommitted, "");
    } else {
      uint256[] memory ids = new uint256[](2);
      ids[0] = COMMITTED_PURVEYOR_ID;
      ids[1] = COMMITTED_SNIPER_ID;

      uint256[] memory amounts = new uint256[](2);
      amounts[0] = balanceOf(msg.sender, COMMITTED_PURVEYOR_ID);
      amounts[1] = toBeUncommitted - amounts[0];

      _burnBatch(msg.sender, ids, amounts);

      unchecked { ids[0] -= 10; }
      unchecked { ids[1] -= 10; }

      _mintBatch(msg.sender, ids, amounts, "");
    }
  }

  /// @notice Burns a Sniper's Pass to upgrade to a Purveyor
  /// @dev Must send `PURVEYOR_PRICE`.
  function burnForPurveyor(uint256 amount) external payable {
    if (msg.value != PURVEYOR_PRICE * amount) revert WrongValueSent();

    _burn(msg.sender, SNIPER_ID, amount);
    _mint(msg.sender, PURVEYOR_ID, amount, "");
  }

  /// @notice Overrides ERC1155 safeTransferFrom. Prevents transfers of committed tokens.
  /// @dev See {IERC1155-safeTransferFrom}.
  function safeTransferFrom(
    address from,
    address to,
    uint256 id,
    uint256 amount,
    bytes memory data
  ) public override {
    if (id == COMMITTED_SNIPER_ID || id == COMMITTED_PURVEYOR_ID) {
      revert CannotTransferCommittedToken();
    }
    super.safeTransferFrom(from, to, id, amount, data);
  }

  /// @notice Overrides ERC1155 safeBatchTransferFrom. Prevents transfers that include committed tokens.
  /// @dev See {IERC1155-safeBatchTransferFrom}.
  function safeBatchTransferFrom(
      address from,
      address to,
      uint256[] memory ids,
      uint256[] memory amounts,
      bytes memory data
  ) public override {
      for (uint256 i = 0; i < ids.length; i++ ) {
        if (ids[i] == COMMITTED_PURVEYOR_ID || ids[i] == COMMITTED_SNIPER_ID) {
          revert CannotTransferCommittedToken();
        }
      }

      super.safeBatchTransferFrom(from, to, ids, amounts, data);
  }

  /// @notice Withdraws full contract balance to owner
  function withdraw() external onlyOwner {
    (bool success, ) = msg.sender.call{value: address(this).balance}("");
    if (!success) revert WrongValueSent();
  }

  /// @param committedTokenBalance The balance of committed tokens used to calculate max Observers
  /// @notice Used to determine hypothetical maximums
  /// @return maximum The maximum Observers for a given balance
  function maxObserversPermitted(uint256 committedTokenBalance) internal pure returns (uint) {
    return committedTokenBalance * MAX_OBSERVERS_PER_COMMITTED;
  }

  /// @notice Returns the balance of committed Snipers and Purveyors for a given user
  /// @param user Address of the user to query for
  /// @return balances The number of committed tokens held by a user
  function _committedTokenBalance(address user) internal view returns (uint256) {
    return balanceOf(user, COMMITTED_SNIPER_ID) + balanceOf(user, COMMITTED_PURVEYOR_ID);
  }

  /// @notice Returns the balance of uncommitted Snipers and Purveyors for a given user
  /// @param user Address of the user to query for
  /// @return balances The number of uncommitted tokens held by a user
  function _uncommittedTokenBalance(address user) internal view returns (uint256) {
    return balanceOf(user, SNIPER_ID) + balanceOf(user, PURVEYOR_ID);
  }

  /// @notice Mints a new Sniper's Pass
  /// @param to The address to mint to
  /// @param amount The number of Sniper's Passes to mint
  /// @dev Must not surpass max Sniper's Pass supply of 488
  function _mintSnipers(address to, uint256 amount) internal {
    if (numSnipersMinted + amount > MAX_SNIPERS_SUPPLY) revert NotEnoughTokens();

    unchecked { numSnipersMinted += amount; }
    _mint(to, SNIPER_ID, amount, "");
  }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    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 3 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`.
        // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`.
        // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`.
        // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a
        // good first aproximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1;
        uint256 x = a;
        if (x >> 128 > 0) {
            x >>= 128;
            result <<= 64;
        }
        if (x >> 64 > 0) {
            x >>= 64;
            result <<= 32;
        }
        if (x >> 32 > 0) {
            x >>= 32;
            result <<= 16;
        }
        if (x >> 16 > 0) {
            x >>= 16;
            result <<= 8;
        }
        if (x >> 8 > 0) {
            x >>= 8;
            result <<= 4;
        }
        if (x >> 4 > 0) {
            x >>= 4;
            result <<= 2;
        }
        if (x >> 2 > 0) {
            result <<= 1;
        }

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        uint256 result = sqrt(a);
        if (rounding == Rounding.Up && result * result < a) {
            result += 1;
        }
        return result;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 16 : ERC1155Guardable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "./IERC1155Guardable.sol";

/**
 * @dev Contract module which provides added security functionality, where
 * where an account can assign a guardian to protect their NFTs. While a guardian
 * is assigned, setApprovalForAll is locked. New approvals cannot be set. There can
 * only ever be one guardian per account, and setting a new guardian will overwrite
 * any existing one.
 *
 * Existing approvals can still be leveraged as normal, and it is expected that this
 * functionality be used after a user has set the approvals they want to set. Approvals
 * can still be removed while a guardian is set.
 * 
 * Setting a guardian has no effect on transfers, so users can move assets to a new wallet
 * to effectively "clear" guardians if a guardian is maliciously set, or keys to a guardian
 * are lost.
 *
 * It is not recommended to use _lockToSelf, as removing this lock would be easily added to
 * a malicious workflow, whereas removing a traditional lock from a guardian account would
 * be sufficiently prohibitive.
 *
 * This is less effective at guarding than ERC721Guardable because of the existence of
 * safeBatchTransferFrom, so it is important to remain careful.
 */

abstract contract ERC1155Guardable is ERC1155Supply, IERC1155Guardable {
  mapping(address => address) private locks;

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, IERC165) returns (bool) {
    return interfaceId == type(IERC1155Guardable).interfaceId || super.supportsInterface(interfaceId);
  }

  function setGuardian(address guardian) public {
    if (msg.sender == guardian || guardian == address(0)) {
      revert InvalidGuardian();
    }

    locks[msg.sender] = guardian;
    emit GuardianAdded(msg.sender, guardian);
  }

  function guardianOf(address tokenOwner) public view returns (address) {
    return locks[tokenOwner];
  }

  function removeGuardianOf(address tokenOwner) external {
    if (msg.sender != guardianOf(tokenOwner)) {
      revert CallerGuardianMismatch(msg.sender, guardianOf(tokenOwner));
    }
    delete locks[tokenOwner];
    emit GuardianRemoved(tokenOwner);
  }

  function setApprovalForAll(address operator, bool approved) public override(ERC1155, IERC1155Guardable) {
    if (locks[msg.sender] != address(0) && approved) {
      revert TokenIsLocked();
    }

    super.setApprovalForAll(operator, approved);
  }

  function _lockToSelf() internal virtual {
    locks[msg.sender] = msg.sender;
    emit GuardianAdded(msg.sender, msg.sender);
  }
}

File 7 of 16 : IERC1155Guardable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IERC1155Guardable is IERC165 {
  // Interface ID 0xb043e146

  error TokenIsLocked();
  error CallerGuardianMismatch(address caller, address guardian);
  error InvalidGuardian();

  event GuardianAdded(address indexed addressGuarded, address indexed guardian);
  event GuardianRemoved(address indexed addressGuarded);

  function setGuardian(address guardian) external;

  function removeGuardianOf(address tokenOwner) external;

  function setApprovalForAll(address operator, bool approved) external;

  function guardianOf(address tokenOwner) external view returns (address);
}

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

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

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                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;
                }
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: 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 IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

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

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

        return array;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 16 : Address.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 Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 15 of 16 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * 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 16 of 16 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must 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;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"BurnExceedsMinted","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"address","name":"guardian","type":"address"}],"name":"CallerGuardianMismatch","type":"error"},{"inputs":[],"name":"CannotTransferCommittedToken","type":"error"},{"inputs":[],"name":"InvalidGuardian","type":"error"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"NotEnoughTokens","type":"error"},{"inputs":[],"name":"SaleIsPaused","type":"error"},{"inputs":[],"name":"TokenIsLocked","type":"error"},{"inputs":[{"internalType":"uint256","name":"numberOfObservers","type":"uint256"},{"internalType":"uint256","name":"numberAllowed","type":"uint256"}],"name":"TooManyOutstandingObservers","type":"error"},{"inputs":[],"name":"WrongValueSent","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addressGuarded","type":"address"},{"indexed":true,"internalType":"address","name":"guardian","type":"address"}],"name":"GuardianAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addressGuarded","type":"address"}],"name":"GuardianRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_OBSERVERS_PER_COMMITTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SNIPERS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"burnForPurveyor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"claimSniper","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":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"guardianOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintObservers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintSnipers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numSnipersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeemObservers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"removeGuardianOf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"guardian","type":"address"}],"name":"setGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162006e5d38038062006e5d833981810160405281019062000052919062000b08565b8162000064816200011d60201b60201c565b5062000085620000796200013260201b60201c565b6200013a60201b60201c565b620000a7620000996200020060201b60201c565b600d6200022a60201b60201c565b620000da620000bb6200020060201b60201c565b60018060405180602001604052806000815250620002ae60201b60201c565b6200010e620000ee6200020060201b60201c565b6002606460405180602001604052806000815250620002ae60201b60201c565b806006819055505050620014fc565b80600290816200012e919062000db9565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101e8816007546200023d919062000ecf565b111562000276576040517f22bbb43c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760008282540192505081905550620002aa8260008360405180602001604052806000815250620002ae60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160362000320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003179062000f91565b60405180910390fd5b6000620003326200013260201b60201c565b9050600062000347856200049560201b60201c565b905060006200035c856200049560201b60201c565b905062000375836000898585896200051660201b60201c565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003d6919062000ecf565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516200045692919062000fc4565b60405180910390a462000475836000898585896200070e60201b60201c565b6200048c836000898989896200071660201b60201c565b50505050505050565b60606000600167ffffffffffffffff811115620004b757620004b662000969565b5b604051908082528060200260200182016040528015620004e65781602001602082028036833780820191505090505b509050828160008151811062000501576200050062000ff1565b5b60200260200101818152505080915050919050565b620005318686868686866200090f60201b62001de91760201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603620005ef5760005b8351811015620005ed5782818151811062000589576200058862000ff1565b5b602002602001015160036000868481518110620005ab57620005aa62000ff1565b5b602002602001015181526020019081526020016000206000828254620005d2919062000ecf565b9250508190555080620005e59062001020565b905062000569565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603620007065760005b83518110156200070457600084828151811062000649576200064862000ff1565b5b6020026020010151905060008483815181106200066b576200066a62000ff1565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015620006d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006ca90620010e3565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080620006fc9062001020565b905062000627565b505b505050505050565b505050505050565b620007428473ffffffffffffffffffffffffffffffffffffffff166200091760201b62001df11760201c565b1562000907578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016200078b959493929190620011a7565b6020604051808303816000875af1925050508015620007ca57506040513d601f19601f82011682018060405250810190620007c7919062001268565b60015b6200087b57620007d9620012a7565b806308c379a0036200083c5750620007f0620012cc565b80620007fd57506200083e565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008339190620013a8565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008729062001442565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161462000905576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008fc90620014da565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620009a38262000958565b810181811067ffffffffffffffff82111715620009c557620009c462000969565b5b80604052505050565b6000620009da6200093a565b9050620009e8828262000998565b919050565b600067ffffffffffffffff82111562000a0b5762000a0a62000969565b5b62000a168262000958565b9050602081019050919050565b60005b8381101562000a4357808201518184015260208101905062000a26565b60008484015250505050565b600062000a6662000a6084620009ed565b620009ce565b90508281526020810184848401111562000a855762000a8462000953565b5b62000a9284828562000a23565b509392505050565b600082601f83011262000ab25762000ab16200094e565b5b815162000ac484826020860162000a4f565b91505092915050565b6000819050919050565b62000ae28162000acd565b811462000aee57600080fd5b50565b60008151905062000b028162000ad7565b92915050565b6000806040838503121562000b225762000b2162000944565b5b600083015167ffffffffffffffff81111562000b435762000b4262000949565b5b62000b518582860162000a9a565b925050602062000b648582860162000af1565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000bc157607f821691505b60208210810362000bd75762000bd662000b79565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000c417fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000c02565b62000c4d868362000c02565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000c9a62000c9462000c8e8462000c65565b62000c6f565b62000c65565b9050919050565b6000819050919050565b62000cb68362000c79565b62000cce62000cc58262000ca1565b84845462000c0f565b825550505050565b600090565b62000ce562000cd6565b62000cf281848462000cab565b505050565b5b8181101562000d1a5762000d0e60008262000cdb565b60018101905062000cf8565b5050565b601f82111562000d695762000d338162000bdd565b62000d3e8462000bf2565b8101602085101562000d4e578190505b62000d6662000d5d8562000bf2565b83018262000cf7565b50505b505050565b600082821c905092915050565b600062000d8e6000198460080262000d6e565b1980831691505092915050565b600062000da9838362000d7b565b9150826002028217905092915050565b62000dc48262000b6e565b67ffffffffffffffff81111562000de05762000ddf62000969565b5b62000dec825462000ba8565b62000df982828562000d1e565b600060209050601f83116001811462000e31576000841562000e1c578287015190505b62000e28858262000d9b565b86555062000e98565b601f19841662000e418662000bdd565b60005b8281101562000e6b5784890151825560018201915060208501945060208101905062000e44565b8683101562000e8b578489015162000e87601f89168262000d7b565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000edc8262000c65565b915062000ee98362000c65565b925082820190508082111562000f045762000f0362000ea0565b5b92915050565b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062000f7960218362000f0a565b915062000f868262000f1b565b604082019050919050565b6000602082019050818103600083015262000fac8162000f6a565b9050919050565b62000fbe8162000c65565b82525050565b600060408201905062000fdb600083018562000fb3565b62000fea602083018462000fb3565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006200102d8262000c65565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362001062576200106162000ea0565b5b600182019050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000620010cb60288362000f0a565b9150620010d8826200106d565b604082019050919050565b60006020820190508181036000830152620010fe81620010bc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620011328262001105565b9050919050565b620011448162001125565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001173826200114a565b6200117f818562001155565b93506200119181856020860162000a23565b6200119c8162000958565b840191505092915050565b600060a082019050620011be600083018862001139565b620011cd602083018762001139565b620011dc604083018662000fb3565b620011eb606083018562000fb3565b8181036080830152620011ff818462001166565b90509695505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62001242816200120b565b81146200124e57600080fd5b50565b600081519050620012628162001237565b92915050565b60006020828403121562001281576200128062000944565b5b6000620012918482850162001251565b91505092915050565b60008160e01c9050919050565b600060033d1115620012c95760046000803e620012c66000516200129a565b90505b90565b600060443d106200136457620012e16200093a565b60043d036004823e80513d602482011167ffffffffffffffff821117156200130b57505062001364565b808201805167ffffffffffffffff8111156200132b575050505062001364565b80602083010160043d0385018111156200134a57505050505062001364565b6200135b8260200185018662000998565b82955050505050505b90565b6000620013748262000b6e565b62001380818562000f0a565b93506200139281856020860162000a23565b6200139d8162000958565b840191505092915050565b60006020820190508181036000830152620013c4818462001367565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006200142a60348362000f0a565b91506200143782620013cc565b604082019050919050565b600060208201905081810360008301526200145d816200141b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000620014c260288362000f0a565b9150620014cf8262001464565b604082019050919050565b60006020820190508181036000830152620014f581620014b3565b9050919050565b615951806200150c6000396000f3fe6080604052600436106101f85760003560e01c80637cb647591161010d578063bd85b039116100a0578063e985e9c51161006f578063e985e9c5146106e1578063eb8d24441461071e578063f242432a14610749578063f2fde38b14610772578063f54b893b1461079b576101f8565b8063bd85b03914610653578063c86ecb5014610690578063d1135216146106bb578063d7cd9a93146106c5576101f8565b8063a22cb465116100dc578063a22cb46514610599578063a5cfd763146105c2578063a63d5713146105ed578063acd52e8d14610616576101f8565b80637cb64759146104f15780638a0dac4a1461051a5780638da5cb5b1461054357806395d89b411461056e576101f8565b80632eb2c2d61161019057806334b7d7e41161015f57806334b7d7e4146104205780633ccfd60b146104495780634e1273f4146104605780634f558e791461049d578063715018a6146104da576101f8565b80632eb2c2d6146103995780632eb4a7ab146103c25780633339c480146103ed57806334918dfd14610409576101f8565b80630828efd6116101cc5780630828efd6146102cb5780630a398b88146102f65780630e89341c14610333578063286e620c14610370576101f8565b8062fdd58e146101fd57806301ffc9a71461023a57806302fe53051461027757806306fdde03146102a0575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f9190613c98565b6107d8565b6040516102319190613ce7565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190613d5a565b6108a0565b60405161026e9190613da2565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190613f03565b61091a565b005b3480156102ac57600080fd5b506102b561092e565b6040516102c29190613fcb565b60405180910390f35b3480156102d757600080fd5b506102e0610967565b6040516102ed9190613ce7565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190613fed565b61096d565b60405161032a9190613da2565b60405180910390f35b34801561033f57600080fd5b5061035a6004803603810190610355919061401a565b61098d565b6040516103679190613fcb565b60405180910390f35b34801561037c57600080fd5b50610397600480360381019061039291906140a7565b6109c8565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190614258565b610b70565b005b3480156103ce57600080fd5b506103d7610c1e565b6040516103e49190614340565b60405180910390f35b6104076004803603810190610402919061401a565b610c24565b005b34801561041557600080fd5b5061041e610c9b565b005b34801561042c57600080fd5b5061044760048036038101906104429190613fed565b610ccf565b005b34801561045557600080fd5b5061045e610df9565b005b34801561046c57600080fd5b506104876004803603810190610482919061441e565b610ea7565b6040516104949190614554565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf919061401a565b610fc0565b6040516104d19190613da2565b60405180910390f35b3480156104e657600080fd5b506104ef610fd4565b005b3480156104fd57600080fd5b50610518600480360381019061051391906145a2565b610fe8565b005b34801561052657600080fd5b50610541600480360381019061053c9190613fed565b610ffa565b005b34801561054f57600080fd5b50610558611172565b60405161056591906145de565b60405180910390f35b34801561057a57600080fd5b5061058361119c565b6040516105909190613fcb565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190614625565b6111d5565b005b3480156105ce57600080fd5b506105d76112b3565b6040516105e49190613ce7565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f919061401a565b6112b8565b005b34801561062257600080fd5b5061063d60048036038101906106389190613fed565b6115d3565b60405161064a91906145de565b60405180910390f35b34801561065f57600080fd5b5061067a6004803603810190610675919061401a565b61163c565b6040516106879190613ce7565b60405180910390f35b34801561069c57600080fd5b506106a5611659565b6040516106b29190613ce7565b60405180910390f35b6106c361165f565b005b6106df60048036038101906106da919061401a565b6117cf565b005b3480156106ed57600080fd5b5061070860048036038101906107039190614665565b611c45565b6040516107159190613da2565b60405180910390f35b34801561072a57600080fd5b50610733611cd9565b6040516107409190613da2565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b91906146a5565b611cec565b005b34801561077e57600080fd5b5061079960048036038101906107949190613fed565b611d46565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613fed565b611dc9565b6040516107cf9190613da2565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083f906147ae565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fb043e146000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610913575061091282611e14565b5b9050919050565b610922611ef6565b61092b81611f74565b50565b6040518060400160405280601381526020017f6f536e6970652047656e6573697320506173730000000000000000000000000081525081565b60075481565b600a6020528060005260406000206000915054906101000a900460ff1681565b606061099882611f87565b6109a18361201b565b6040516020016109b2929190614856565b6040516020818303038152906040529050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a4c576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600033604051602001610a5f91906148cd565b604051602081830303815290604052805190602001209050610ac5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506006548361217b565b610b085782826040517f0c7c8d7f000000000000000000000000000000000000000000000000000000008152600401610aff929190614963565b60405180910390fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610b6b336001612192565b505050565b60005b8351811015610c0957600b848281518110610b9157610b90614987565b5b60200260200101511480610bbf5750600a848281518110610bb557610bb4614987565b5b6020026020010151145b15610bf6576040517f83c6534700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8080610c01906149e5565b915050610b73565b50610c17858585858561220b565b5050505050565b60065481565b806729a2241af62c0000610c389190614a2d565b3414610c70576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c7c336000836122ac565b610c9833600183604051806020016040528060008152506124f2565b50565b610ca3611ef6565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b610cd8816115d3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d515733610d14826115d3565b6040517fe6364b8e000000000000000000000000000000000000000000000000000000008152600401610d48929190614a87565b60405180910390fd5b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558073ffffffffffffffffffffffffffffffffffffffff167fb8107d0c6b40be480ce3172ee66ba6d64b71f6b1685a851340036e6e2e3e3c5260405160405180910390a250565b610e01611ef6565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610e2790614ae1565b60006040518083038185875af1925050503d8060008114610e64576040519150601f19603f3d011682016040523d82523d6000602084013e610e69565b606091505b5050905080610ea4576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60608151835114610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490614b68565b60405180910390fd5b6000835167ffffffffffffffff811115610f0a57610f09613dd8565b5b604051908082528060200260200182016040528015610f385781602001602082028036833780820191505090505b50905060005b8451811015610fb557610f85858281518110610f5d57610f5c614987565b5b6020026020010151858381518110610f7857610f77614987565b5b60200260200101516107d8565b828281518110610f9857610f97614987565b5b60200260200101818152505080610fae906149e5565b9050610f3e565b508091505092915050565b600080610fcc8361163c565b119050919050565b610fdc611ef6565b610fe660006126a2565b565b610ff0611ef6565b8060068190555050565b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110605750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15611097576040517fa6c1146b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fbc3292102fa77e083913064b282926717cdfaede4d35f553d66366c0a3da755a60405160405180910390a350565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600581526020017f534e49504500000000000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff16600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561126e5750805b156112a5576040517fc066bae700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112af8282612768565b5050565b600a81565b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611331576040517fe92d68b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555061138a336002836122ac565b60006113973360026107d8565b6113a86113a33361277e565b6127a7565b6113b29190614b88565b90506000600a826113c39190614beb565b9050806113d133600b6107d8565b10611403576113e233600b836122ac565b6113fe33600183604051806020016040528060008152506124f2565b6115ce565b6000600267ffffffffffffffff8111156114205761141f613dd8565b5b60405190808252806020026020018201604052801561144e5781602001602082028036833780820191505090505b509050600b8160008151811061146757611466614987565b5b602002602001018181525050600a8160018151811061148957611488614987565b5b6020026020010181815250506000600267ffffffffffffffff8111156114b2576114b1613dd8565b5b6040519080825280602002602001820160405280156114e05781602001602082028036833780820191505090505b5090506114ee33600b6107d8565b8160008151811061150257611501614987565b5b6020026020010181815250508060008151811061152257611521614987565b5b6020026020010151836115359190614b88565b8160018151811061154957611548614987565b5b6020026020010181815250506115603383836127bd565b600a8260008151811061157657611575614987565b5b602002602001018181510391508181525050600a8260018151811061159e5761159d614987565b5b6020026020010181815103915081815250506115cb33838360405180602001604052806000815250612a8b565b50505b505050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600060036000838152602001908152602001600020549050919050565b6101e881565b600b60009054906101000a900460ff166116a5576040517f71cc92d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6706f05b59d3b2000034146116e6576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561176a576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117cd336001612192565b565b666a94d74f430000816117e29190614a2d565b341461181a576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118679190614c1c565b905061187a6118753361277e565b6127a7565b811115611be1576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118d46118cf3361277e565b6127a7565b6118e56118e033612cb7565b6127a7565b6118ef9190614c1c565b6118f99190614b88565b90508082111561195257816119156119103361277e565b6127a7565b6040517f6dcdb11f000000000000000000000000000000000000000000000000000000008152600401611949929190614c50565b60405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a56119a03361277e565b6127a7565b6119af9190614b88565b846119ba9190614b88565b905060006119d2600a83612ce090919063ffffffff16565b9050806119e03360006107d8565b10611a12576119f1336000836122ac565b611a0d33600a83604051806020016040528060008152506124f2565b611bdd565b6000600267ffffffffffffffff811115611a2f57611a2e613dd8565b5b604051908082528060200260200182016040528015611a5d5781602001602082028036833780820191505090505b509050600081600081518110611a7657611a75614987565b5b602002602001018181525050600181600181518110611a9857611a97614987565b5b6020026020010181815250506000600267ffffffffffffffff811115611ac157611ac0613dd8565b5b604051908082528060200260200182016040528015611aef5781602001602082028036833780820191505090505b509050611afd3360006107d8565b81600081518110611b1157611b10614987565b5b60200260200101818152505080600081518110611b3157611b30614987565b5b602002602001015183611b449190614b88565b81600181518110611b5857611b57614987565b5b602002602001018181525050611b6f3383836127bd565b600a82600081518110611b8557611b84614987565b5b602002602001018181510191508181525050600a82600181518110611bad57611bac614987565b5b602002602001018181510191508181525050611bda33838360405180602001604052806000815250612a8b565b50505b5050505b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c4133600284604051806020016040528060008152506124f2565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900460ff1681565b600a831480611cfb5750600b83145b15611d32576040517f83c6534700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d3f8585858585612d1d565b5050505050565b611d4e611ef6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db490614ceb565b60405180910390fd5b611dc6816126a2565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611edf57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611eef5750611eee82612dbe565b5b9050919050565b611efe612e28565b73ffffffffffffffffffffffffffffffffffffffff16611f1c611172565b73ffffffffffffffffffffffffffffffffffffffff1614611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614d57565b60405180910390fd5b565b8060029081611f839190614f83565b5050565b606060028054611f9690614da6565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc290614da6565b801561200f5780601f10611fe45761010080835404028352916020019161200f565b820191906000526020600020905b815481529060010190602001808311611ff257829003601f168201915b50505050509050919050565b606060008203612062576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612176565b600082905060005b6000821461209457808061207d906149e5565b915050600a8261208d9190614beb565b915061206a565b60008167ffffffffffffffff8111156120b0576120af613dd8565b5b6040519080825280601f01601f1916602001820160405280156120e25781602001600182028036833780820191505090505b5090505b6000851461216f576001826120fb9190614b88565b9150600a8561210a9190615055565b60306121169190614c1c565b60f81b81838151811061212c5761212b614987565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121689190614beb565b94506120e6565b8093505050505b919050565b6000826121888584612e30565b1490509392505050565b6101e8816007546121a39190614c1c565b11156121db576040517f22bbb43c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000828254019250508190555061220782600083604051806020016040528060008152506124f2565b5050565b612213612e28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612259575061225885612253612e28565b611c45565b5b612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f906150f8565b60405180910390fd5b6122a58585858585612e86565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361231b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123129061518a565b60405180910390fd5b6000612325612e28565b90506000612332846131a7565b9050600061233f846131a7565b905061235f83876000858560405180602001604052806000815250613221565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156123f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ed9061521c565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516124c3929190614c50565b60405180910390a46124e9848860008686604051806020016040528060008152506133f1565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612561576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612558906152ae565b60405180910390fd5b600061256b612e28565b90506000612578856131a7565b90506000612585856131a7565b905061259683600089858589613221565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f59190614c1c565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612673929190614c50565b60405180910390a461268a836000898585896133f1565b612699836000898989896133f9565b50505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61277a612773612e28565b83836135d0565b5050565b600061278b82600b6107d8565b61279683600a6107d8565b6127a09190614c1c565b9050919050565b6000600a826127b69190614a2d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361282c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128239061518a565b60405180910390fd5b8051825114612870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286790615340565b60405180910390fd5b600061287a612e28565b905061289a81856000868660405180602001604052806000815250613221565b60005b83518110156129e75760008482815181106128bb576128ba614987565b5b6020026020010151905060008483815181106128da576128d9614987565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561297b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129729061521c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806129df906149e5565b91505061289d565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612a5f929190615360565b60405180910390a4612a85818560008686604051806020016040528060008152506133f1565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af1906152ae565b60405180910390fd5b8151835114612b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3590615340565b60405180910390fd5b6000612b48612e28565b9050612b5981600087878787613221565b60005b8451811015612c1257838181518110612b7857612b77614987565b5b6020026020010151600080878481518110612b9657612b95614987565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bf89190614c1c565b925050819055508080612c0a906149e5565b915050612b5c565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612c8a929190615360565b60405180910390a4612ca1816000878787876133f1565b612cb08160008787878761373c565b5050505050565b6000612cc48260016107d8565b612ccf8360006107d8565b612cd99190614c1c565b9050919050565b6000808314612d1257600182600185612cf99190614b88565b612d039190614beb565b612d0d9190614c1c565b612d15565b60005b905092915050565b612d25612e28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612d6b5750612d6a85612d65612e28565b611c45565b5b612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da1906150f8565b60405180910390fd5b612db78585858585613913565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008082905060005b8451811015612e7b57612e6682868381518110612e5957612e58614987565b5b6020026020010151613bae565b91508080612e73906149e5565b915050612e39565b508091505092915050565b8151835114612eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec190615340565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3090615409565b60405180910390fd5b6000612f43612e28565b9050612f53818787878787613221565b60005b8451811015613104576000858281518110612f7457612f73614987565b5b602002602001015190506000858381518110612f9357612f92614987565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b9061549b565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130e99190614c1c565b92505081905550505050806130fd906149e5565b9050612f56565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161317b929190615360565b60405180910390a46131918187878787876133f1565b61319f81878787878761373c565b505050505050565b60606000600167ffffffffffffffff8111156131c6576131c5613dd8565b5b6040519080825280602002602001820160405280156131f45781602001602082028036833780820191505090505b509050828160008151811061320c5761320b614987565b5b60200260200101818152505080915050919050565b61322f868686868686611de9565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036132e05760005b83518110156132de5782818151811061328257613281614987565b5b6020026020010151600360008684815181106132a1576132a0614987565b5b6020026020010151815260200190815260200160002060008282546132c69190614c1c565b92505081905550806132d7906149e5565b9050613266565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036133e95760005b83518110156133e757600084828151811061333557613334614987565b5b60200260200101519050600084838151811061335457613353614987565b5b60200260200101519050600060036000848152602001908152602001600020549050818110156133b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b09061552d565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806133e0906149e5565b9050613317565b505b505050505050565b505050505050565b6134188473ffffffffffffffffffffffffffffffffffffffff16611df1565b156135c8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161345e9594939291906155a2565b6020604051808303816000875af192505050801561349a57506040513d601f19601f820116820180604052508101906134979190615611565b60015b61353f576134a661564b565b806308c379a00361350257506134ba61566d565b806134c55750613504565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f99190613fcb565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135369061576f565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bd90615801565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361363e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363590615893565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161372f9190613da2565b60405180910390a3505050565b61375b8473ffffffffffffffffffffffffffffffffffffffff16611df1565b1561390b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016137a19594939291906158b3565b6020604051808303816000875af19250505080156137dd57506040513d601f19601f820116820180604052508101906137da9190615611565b60015b613882576137e961564b565b806308c379a00361384557506137fd61566d565b806138085750613847565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383c9190613fcb565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138799061576f565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390090615801565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161397990615409565b60405180910390fd5b600061398c612e28565b90506000613999856131a7565b905060006139a6856131a7565b90506139b6838989858589613221565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015613a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a449061549b565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b029190614c1c565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051613b7f929190614c50565b60405180910390a4613b95848a8a86868a6133f1565b613ba3848a8a8a8a8a6133f9565b505050505050505050565b6000818310613bc657613bc18284613bd9565b613bd1565b613bd08383613bd9565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c2f82613c04565b9050919050565b613c3f81613c24565b8114613c4a57600080fd5b50565b600081359050613c5c81613c36565b92915050565b6000819050919050565b613c7581613c62565b8114613c8057600080fd5b50565b600081359050613c9281613c6c565b92915050565b60008060408385031215613caf57613cae613bfa565b5b6000613cbd85828601613c4d565b9250506020613cce85828601613c83565b9150509250929050565b613ce181613c62565b82525050565b6000602082019050613cfc6000830184613cd8565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d3781613d02565b8114613d4257600080fd5b50565b600081359050613d5481613d2e565b92915050565b600060208284031215613d7057613d6f613bfa565b5b6000613d7e84828501613d45565b91505092915050565b60008115159050919050565b613d9c81613d87565b82525050565b6000602082019050613db76000830184613d93565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e1082613dc7565b810181811067ffffffffffffffff82111715613e2f57613e2e613dd8565b5b80604052505050565b6000613e42613bf0565b9050613e4e8282613e07565b919050565b600067ffffffffffffffff821115613e6e57613e6d613dd8565b5b613e7782613dc7565b9050602081019050919050565b82818337600083830152505050565b6000613ea6613ea184613e53565b613e38565b905082815260208101848484011115613ec257613ec1613dc2565b5b613ecd848285613e84565b509392505050565b600082601f830112613eea57613ee9613dbd565b5b8135613efa848260208601613e93565b91505092915050565b600060208284031215613f1957613f18613bfa565b5b600082013567ffffffffffffffff811115613f3757613f36613bff565b5b613f4384828501613ed5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f86578082015181840152602081019050613f6b565b60008484015250505050565b6000613f9d82613f4c565b613fa78185613f57565b9350613fb7818560208601613f68565b613fc081613dc7565b840191505092915050565b60006020820190508181036000830152613fe58184613f92565b905092915050565b60006020828403121561400357614002613bfa565b5b600061401184828501613c4d565b91505092915050565b6000602082840312156140305761402f613bfa565b5b600061403e84828501613c83565b91505092915050565b600080fd5b600080fd5b60008083601f84011261406757614066613dbd565b5b8235905067ffffffffffffffff81111561408457614083614047565b5b6020830191508360208202830111156140a05761409f61404c565b5b9250929050565b600080602083850312156140be576140bd613bfa565b5b600083013567ffffffffffffffff8111156140dc576140db613bff565b5b6140e885828601614051565b92509250509250929050565b600067ffffffffffffffff82111561410f5761410e613dd8565b5b602082029050602081019050919050565b600061413361412e846140f4565b613e38565b905080838252602082019050602084028301858111156141565761415561404c565b5b835b8181101561417f578061416b8882613c83565b845260208401935050602081019050614158565b5050509392505050565b600082601f83011261419e5761419d613dbd565b5b81356141ae848260208601614120565b91505092915050565b600067ffffffffffffffff8211156141d2576141d1613dd8565b5b6141db82613dc7565b9050602081019050919050565b60006141fb6141f6846141b7565b613e38565b90508281526020810184848401111561421757614216613dc2565b5b614222848285613e84565b509392505050565b600082601f83011261423f5761423e613dbd565b5b813561424f8482602086016141e8565b91505092915050565b600080600080600060a0868803121561427457614273613bfa565b5b600061428288828901613c4d565b955050602061429388828901613c4d565b945050604086013567ffffffffffffffff8111156142b4576142b3613bff565b5b6142c088828901614189565b935050606086013567ffffffffffffffff8111156142e1576142e0613bff565b5b6142ed88828901614189565b925050608086013567ffffffffffffffff81111561430e5761430d613bff565b5b61431a8882890161422a565b9150509295509295909350565b6000819050919050565b61433a81614327565b82525050565b60006020820190506143556000830184614331565b92915050565b600067ffffffffffffffff82111561437657614375613dd8565b5b602082029050602081019050919050565b600061439a6143958461435b565b613e38565b905080838252602082019050602084028301858111156143bd576143bc61404c565b5b835b818110156143e657806143d28882613c4d565b8452602084019350506020810190506143bf565b5050509392505050565b600082601f83011261440557614404613dbd565b5b8135614415848260208601614387565b91505092915050565b6000806040838503121561443557614434613bfa565b5b600083013567ffffffffffffffff81111561445357614452613bff565b5b61445f858286016143f0565b925050602083013567ffffffffffffffff8111156144805761447f613bff565b5b61448c85828601614189565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144cb81613c62565b82525050565b60006144dd83836144c2565b60208301905092915050565b6000602082019050919050565b600061450182614496565b61450b81856144a1565b9350614516836144b2565b8060005b8381101561454757815161452e88826144d1565b9750614539836144e9565b92505060018101905061451a565b5085935050505092915050565b6000602082019050818103600083015261456e81846144f6565b905092915050565b61457f81614327565b811461458a57600080fd5b50565b60008135905061459c81614576565b92915050565b6000602082840312156145b8576145b7613bfa565b5b60006145c68482850161458d565b91505092915050565b6145d881613c24565b82525050565b60006020820190506145f360008301846145cf565b92915050565b61460281613d87565b811461460d57600080fd5b50565b60008135905061461f816145f9565b92915050565b6000806040838503121561463c5761463b613bfa565b5b600061464a85828601613c4d565b925050602061465b85828601614610565b9150509250929050565b6000806040838503121561467c5761467b613bfa565b5b600061468a85828601613c4d565b925050602061469b85828601613c4d565b9150509250929050565b600080600080600060a086880312156146c1576146c0613bfa565b5b60006146cf88828901613c4d565b95505060206146e088828901613c4d565b94505060406146f188828901613c83565b935050606061470288828901613c83565b925050608086013567ffffffffffffffff81111561472357614722613bff565b5b61472f8882890161422a565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614798602a83613f57565b91506147a38261473c565b604082019050919050565b600060208201905081810360008301526147c78161478b565b9050919050565b600081905092915050565b60006147e482613f4c565b6147ee81856147ce565b93506147fe818560208601613f68565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006148406005836147ce565b915061484b8261480a565b600582019050919050565b600061486282856147d9565b915061486e82846147d9565b915061487982614833565b91508190509392505050565b60008160601b9050919050565b600061489d82614885565b9050919050565b60006148af82614892565b9050919050565b6148c76148c282613c24565b6148a4565b82525050565b60006148d982846148b6565b60148201915081905092915050565b600082825260208201905092915050565b600080fd5b82818337505050565b600061491383856148e8565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614946576149456148f9565b5b6020830292506149578385846148fe565b82840190509392505050565b6000602082019050818103600083015261497e818486614907565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149f082613c62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a2257614a216149b6565b5b600182019050919050565b6000614a3882613c62565b9150614a4383613c62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a7c57614a7b6149b6565b5b828202905092915050565b6000604082019050614a9c60008301856145cf565b614aa960208301846145cf565b9392505050565b600081905092915050565b50565b6000614acb600083614ab0565b9150614ad682614abb565b600082019050919050565b6000614aec82614abe565b9150819050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614b52602983613f57565b9150614b5d82614af6565b604082019050919050565b60006020820190508181036000830152614b8181614b45565b9050919050565b6000614b9382613c62565b9150614b9e83613c62565b9250828203905081811115614bb657614bb56149b6565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bf682613c62565b9150614c0183613c62565b925082614c1157614c10614bbc565b5b828204905092915050565b6000614c2782613c62565b9150614c3283613c62565b9250828201905080821115614c4a57614c496149b6565b5b92915050565b6000604082019050614c656000830185613cd8565b614c726020830184613cd8565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cd5602683613f57565b9150614ce082614c79565b604082019050919050565b60006020820190508181036000830152614d0481614cc8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d41602083613f57565b9150614d4c82614d0b565b602082019050919050565b60006020820190508181036000830152614d7081614d34565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614dbe57607f821691505b602082108103614dd157614dd0614d77565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614e397fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614dfc565b614e438683614dfc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614e80614e7b614e7684613c62565b614e5b565b613c62565b9050919050565b6000819050919050565b614e9a83614e65565b614eae614ea682614e87565b848454614e09565b825550505050565b600090565b614ec3614eb6565b614ece818484614e91565b505050565b5b81811015614ef257614ee7600082614ebb565b600181019050614ed4565b5050565b601f821115614f3757614f0881614dd7565b614f1184614dec565b81016020851015614f20578190505b614f34614f2c85614dec565b830182614ed3565b50505b505050565b600082821c905092915050565b6000614f5a60001984600802614f3c565b1980831691505092915050565b6000614f738383614f49565b9150826002028217905092915050565b614f8c82613f4c565b67ffffffffffffffff811115614fa557614fa4613dd8565b5b614faf8254614da6565b614fba828285614ef6565b600060209050601f831160018114614fed5760008415614fdb578287015190505b614fe58582614f67565b86555061504d565b601f198416614ffb86614dd7565b60005b8281101561502357848901518255600182019150602085019450602081019050614ffe565b86831015615040578489015161503c601f891682614f49565b8355505b6001600288020188555050505b505050505050565b600061506082613c62565b915061506b83613c62565b92508261507b5761507a614bbc565b5b828206905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006150e2602f83613f57565b91506150ed82615086565b604082019050919050565b60006020820190508181036000830152615111816150d5565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615174602383613f57565b915061517f82615118565b604082019050919050565b600060208201905081810360008301526151a381615167565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615206602483613f57565b9150615211826151aa565b604082019050919050565b60006020820190508181036000830152615235816151f9565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615298602183613f57565b91506152a38261523c565b604082019050919050565b600060208201905081810360008301526152c78161528b565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061532a602883613f57565b9150615335826152ce565b604082019050919050565b600060208201905081810360008301526153598161531d565b9050919050565b6000604082019050818103600083015261537a81856144f6565b9050818103602083015261538e81846144f6565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006153f3602583613f57565b91506153fe82615397565b604082019050919050565b60006020820190508181036000830152615422816153e6565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615485602a83613f57565b915061549082615429565b604082019050919050565b600060208201905081810360008301526154b481615478565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000615517602883613f57565b9150615522826154bb565b604082019050919050565b600060208201905081810360008301526155468161550a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155748261554d565b61557e8185615558565b935061558e818560208601613f68565b61559781613dc7565b840191505092915050565b600060a0820190506155b760008301886145cf565b6155c460208301876145cf565b6155d16040830186613cd8565b6155de6060830185613cd8565b81810360808301526155f08184615569565b90509695505050505050565b60008151905061560b81613d2e565b92915050565b60006020828403121561562757615626613bfa565b5b6000615635848285016155fc565b91505092915050565b60008160e01c9050919050565b600060033d111561566a5760046000803e61566760005161563e565b90505b90565b600060443d106156fa5761567f613bf0565b60043d036004823e80513d602482011167ffffffffffffffff821117156156a75750506156fa565b808201805167ffffffffffffffff8111156156c557505050506156fa565b80602083010160043d0385018111156156e25750505050506156fa565b6156f182602001850186613e07565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615759603483613f57565b9150615764826156fd565b604082019050919050565b600060208201905081810360008301526157888161574c565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006157eb602883613f57565b91506157f68261578f565b604082019050919050565b6000602082019050818103600083015261581a816157de565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061587d602983613f57565b915061588882615821565b604082019050919050565b600060208201905081810360008301526158ac81615870565b9050919050565b600060a0820190506158c860008301886145cf565b6158d560208301876145cf565b81810360408301526158e781866144f6565b905081810360608301526158fb81856144f6565b9050818103608083015261590f8184615569565b9050969550505050505056fea2646970667358221220c96df9558f4d745fdbc5274eca9bbfe7a3a526c8fb0528c6a545b618b7a6754a64736f6c63430008100033000000000000000000000000000000000000000000000000000000000000004061dcecd46e407fc1df80e8d0ac568ed93dae35c0a674227c85ea55fac72104500000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574c4845787938724e344554427a383938696f426179664e684a4c5941596e4e3555574555596235314332502f00000000000000000000

Deployed Bytecode

0x6080604052600436106101f85760003560e01c80637cb647591161010d578063bd85b039116100a0578063e985e9c51161006f578063e985e9c5146106e1578063eb8d24441461071e578063f242432a14610749578063f2fde38b14610772578063f54b893b1461079b576101f8565b8063bd85b03914610653578063c86ecb5014610690578063d1135216146106bb578063d7cd9a93146106c5576101f8565b8063a22cb465116100dc578063a22cb46514610599578063a5cfd763146105c2578063a63d5713146105ed578063acd52e8d14610616576101f8565b80637cb64759146104f15780638a0dac4a1461051a5780638da5cb5b1461054357806395d89b411461056e576101f8565b80632eb2c2d61161019057806334b7d7e41161015f57806334b7d7e4146104205780633ccfd60b146104495780634e1273f4146104605780634f558e791461049d578063715018a6146104da576101f8565b80632eb2c2d6146103995780632eb4a7ab146103c25780633339c480146103ed57806334918dfd14610409576101f8565b80630828efd6116101cc5780630828efd6146102cb5780630a398b88146102f65780630e89341c14610333578063286e620c14610370576101f8565b8062fdd58e146101fd57806301ffc9a71461023a57806302fe53051461027757806306fdde03146102a0575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f9190613c98565b6107d8565b6040516102319190613ce7565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190613d5a565b6108a0565b60405161026e9190613da2565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190613f03565b61091a565b005b3480156102ac57600080fd5b506102b561092e565b6040516102c29190613fcb565b60405180910390f35b3480156102d757600080fd5b506102e0610967565b6040516102ed9190613ce7565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190613fed565b61096d565b60405161032a9190613da2565b60405180910390f35b34801561033f57600080fd5b5061035a6004803603810190610355919061401a565b61098d565b6040516103679190613fcb565b60405180910390f35b34801561037c57600080fd5b50610397600480360381019061039291906140a7565b6109c8565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190614258565b610b70565b005b3480156103ce57600080fd5b506103d7610c1e565b6040516103e49190614340565b60405180910390f35b6104076004803603810190610402919061401a565b610c24565b005b34801561041557600080fd5b5061041e610c9b565b005b34801561042c57600080fd5b5061044760048036038101906104429190613fed565b610ccf565b005b34801561045557600080fd5b5061045e610df9565b005b34801561046c57600080fd5b506104876004803603810190610482919061441e565b610ea7565b6040516104949190614554565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf919061401a565b610fc0565b6040516104d19190613da2565b60405180910390f35b3480156104e657600080fd5b506104ef610fd4565b005b3480156104fd57600080fd5b50610518600480360381019061051391906145a2565b610fe8565b005b34801561052657600080fd5b50610541600480360381019061053c9190613fed565b610ffa565b005b34801561054f57600080fd5b50610558611172565b60405161056591906145de565b60405180910390f35b34801561057a57600080fd5b5061058361119c565b6040516105909190613fcb565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190614625565b6111d5565b005b3480156105ce57600080fd5b506105d76112b3565b6040516105e49190613ce7565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f919061401a565b6112b8565b005b34801561062257600080fd5b5061063d60048036038101906106389190613fed565b6115d3565b60405161064a91906145de565b60405180910390f35b34801561065f57600080fd5b5061067a6004803603810190610675919061401a565b61163c565b6040516106879190613ce7565b60405180910390f35b34801561069c57600080fd5b506106a5611659565b6040516106b29190613ce7565b60405180910390f35b6106c361165f565b005b6106df60048036038101906106da919061401a565b6117cf565b005b3480156106ed57600080fd5b5061070860048036038101906107039190614665565b611c45565b6040516107159190613da2565b60405180910390f35b34801561072a57600080fd5b50610733611cd9565b6040516107409190613da2565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b91906146a5565b611cec565b005b34801561077e57600080fd5b5061079960048036038101906107949190613fed565b611d46565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613fed565b611dc9565b6040516107cf9190613da2565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083f906147ae565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fb043e146000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610913575061091282611e14565b5b9050919050565b610922611ef6565b61092b81611f74565b50565b6040518060400160405280601381526020017f6f536e6970652047656e6573697320506173730000000000000000000000000081525081565b60075481565b600a6020528060005260406000206000915054906101000a900460ff1681565b606061099882611f87565b6109a18361201b565b6040516020016109b2929190614856565b6040516020818303038152906040529050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a4c576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600033604051602001610a5f91906148cd565b604051602081830303815290604052805190602001209050610ac5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506006548361217b565b610b085782826040517f0c7c8d7f000000000000000000000000000000000000000000000000000000008152600401610aff929190614963565b60405180910390fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610b6b336001612192565b505050565b60005b8351811015610c0957600b848281518110610b9157610b90614987565b5b60200260200101511480610bbf5750600a848281518110610bb557610bb4614987565b5b6020026020010151145b15610bf6576040517f83c6534700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8080610c01906149e5565b915050610b73565b50610c17858585858561220b565b5050505050565b60065481565b806729a2241af62c0000610c389190614a2d565b3414610c70576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c7c336000836122ac565b610c9833600183604051806020016040528060008152506124f2565b50565b610ca3611ef6565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b610cd8816115d3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d515733610d14826115d3565b6040517fe6364b8e000000000000000000000000000000000000000000000000000000008152600401610d48929190614a87565b60405180910390fd5b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558073ffffffffffffffffffffffffffffffffffffffff167fb8107d0c6b40be480ce3172ee66ba6d64b71f6b1685a851340036e6e2e3e3c5260405160405180910390a250565b610e01611ef6565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610e2790614ae1565b60006040518083038185875af1925050503d8060008114610e64576040519150601f19603f3d011682016040523d82523d6000602084013e610e69565b606091505b5050905080610ea4576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60608151835114610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490614b68565b60405180910390fd5b6000835167ffffffffffffffff811115610f0a57610f09613dd8565b5b604051908082528060200260200182016040528015610f385781602001602082028036833780820191505090505b50905060005b8451811015610fb557610f85858281518110610f5d57610f5c614987565b5b6020026020010151858381518110610f7857610f77614987565b5b60200260200101516107d8565b828281518110610f9857610f97614987565b5b60200260200101818152505080610fae906149e5565b9050610f3e565b508091505092915050565b600080610fcc8361163c565b119050919050565b610fdc611ef6565b610fe660006126a2565b565b610ff0611ef6565b8060068190555050565b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110605750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15611097576040517fa6c1146b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fbc3292102fa77e083913064b282926717cdfaede4d35f553d66366c0a3da755a60405160405180910390a350565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600581526020017f534e49504500000000000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff16600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561126e5750805b156112a5576040517fc066bae700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112af8282612768565b5050565b600a81565b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611331576040517fe92d68b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555061138a336002836122ac565b60006113973360026107d8565b6113a86113a33361277e565b6127a7565b6113b29190614b88565b90506000600a826113c39190614beb565b9050806113d133600b6107d8565b10611403576113e233600b836122ac565b6113fe33600183604051806020016040528060008152506124f2565b6115ce565b6000600267ffffffffffffffff8111156114205761141f613dd8565b5b60405190808252806020026020018201604052801561144e5781602001602082028036833780820191505090505b509050600b8160008151811061146757611466614987565b5b602002602001018181525050600a8160018151811061148957611488614987565b5b6020026020010181815250506000600267ffffffffffffffff8111156114b2576114b1613dd8565b5b6040519080825280602002602001820160405280156114e05781602001602082028036833780820191505090505b5090506114ee33600b6107d8565b8160008151811061150257611501614987565b5b6020026020010181815250508060008151811061152257611521614987565b5b6020026020010151836115359190614b88565b8160018151811061154957611548614987565b5b6020026020010181815250506115603383836127bd565b600a8260008151811061157657611575614987565b5b602002602001018181510391508181525050600a8260018151811061159e5761159d614987565b5b6020026020010181815103915081815250506115cb33838360405180602001604052806000815250612a8b565b50505b505050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600060036000838152602001908152602001600020549050919050565b6101e881565b600b60009054906101000a900460ff166116a5576040517f71cc92d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6706f05b59d3b2000034146116e6576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561176a576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117cd336001612192565b565b666a94d74f430000816117e29190614a2d565b341461181a576040517f2f4613eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118679190614c1c565b905061187a6118753361277e565b6127a7565b811115611be1576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118d46118cf3361277e565b6127a7565b6118e56118e033612cb7565b6127a7565b6118ef9190614c1c565b6118f99190614b88565b90508082111561195257816119156119103361277e565b6127a7565b6040517f6dcdb11f000000000000000000000000000000000000000000000000000000008152600401611949929190614c50565b60405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a56119a03361277e565b6127a7565b6119af9190614b88565b846119ba9190614b88565b905060006119d2600a83612ce090919063ffffffff16565b9050806119e03360006107d8565b10611a12576119f1336000836122ac565b611a0d33600a83604051806020016040528060008152506124f2565b611bdd565b6000600267ffffffffffffffff811115611a2f57611a2e613dd8565b5b604051908082528060200260200182016040528015611a5d5781602001602082028036833780820191505090505b509050600081600081518110611a7657611a75614987565b5b602002602001018181525050600181600181518110611a9857611a97614987565b5b6020026020010181815250506000600267ffffffffffffffff811115611ac157611ac0613dd8565b5b604051908082528060200260200182016040528015611aef5781602001602082028036833780820191505090505b509050611afd3360006107d8565b81600081518110611b1157611b10614987565b5b60200260200101818152505080600081518110611b3157611b30614987565b5b602002602001015183611b449190614b88565b81600181518110611b5857611b57614987565b5b602002602001018181525050611b6f3383836127bd565b600a82600081518110611b8557611b84614987565b5b602002602001018181510191508181525050600a82600181518110611bad57611bac614987565b5b602002602001018181510191508181525050611bda33838360405180602001604052806000815250612a8b565b50505b5050505b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c4133600284604051806020016040528060008152506124f2565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900460ff1681565b600a831480611cfb5750600b83145b15611d32576040517f83c6534700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d3f8585858585612d1d565b5050505050565b611d4e611ef6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db490614ceb565b60405180910390fd5b611dc6816126a2565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611edf57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611eef5750611eee82612dbe565b5b9050919050565b611efe612e28565b73ffffffffffffffffffffffffffffffffffffffff16611f1c611172565b73ffffffffffffffffffffffffffffffffffffffff1614611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614d57565b60405180910390fd5b565b8060029081611f839190614f83565b5050565b606060028054611f9690614da6565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc290614da6565b801561200f5780601f10611fe45761010080835404028352916020019161200f565b820191906000526020600020905b815481529060010190602001808311611ff257829003601f168201915b50505050509050919050565b606060008203612062576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612176565b600082905060005b6000821461209457808061207d906149e5565b915050600a8261208d9190614beb565b915061206a565b60008167ffffffffffffffff8111156120b0576120af613dd8565b5b6040519080825280601f01601f1916602001820160405280156120e25781602001600182028036833780820191505090505b5090505b6000851461216f576001826120fb9190614b88565b9150600a8561210a9190615055565b60306121169190614c1c565b60f81b81838151811061212c5761212b614987565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121689190614beb565b94506120e6565b8093505050505b919050565b6000826121888584612e30565b1490509392505050565b6101e8816007546121a39190614c1c565b11156121db576040517f22bbb43c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000828254019250508190555061220782600083604051806020016040528060008152506124f2565b5050565b612213612e28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612259575061225885612253612e28565b611c45565b5b612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f906150f8565b60405180910390fd5b6122a58585858585612e86565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361231b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123129061518a565b60405180910390fd5b6000612325612e28565b90506000612332846131a7565b9050600061233f846131a7565b905061235f83876000858560405180602001604052806000815250613221565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156123f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ed9061521c565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516124c3929190614c50565b60405180910390a46124e9848860008686604051806020016040528060008152506133f1565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612561576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612558906152ae565b60405180910390fd5b600061256b612e28565b90506000612578856131a7565b90506000612585856131a7565b905061259683600089858589613221565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f59190614c1c565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612673929190614c50565b60405180910390a461268a836000898585896133f1565b612699836000898989896133f9565b50505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61277a612773612e28565b83836135d0565b5050565b600061278b82600b6107d8565b61279683600a6107d8565b6127a09190614c1c565b9050919050565b6000600a826127b69190614a2d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361282c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128239061518a565b60405180910390fd5b8051825114612870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286790615340565b60405180910390fd5b600061287a612e28565b905061289a81856000868660405180602001604052806000815250613221565b60005b83518110156129e75760008482815181106128bb576128ba614987565b5b6020026020010151905060008483815181106128da576128d9614987565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561297b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129729061521c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806129df906149e5565b91505061289d565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612a5f929190615360565b60405180910390a4612a85818560008686604051806020016040528060008152506133f1565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af1906152ae565b60405180910390fd5b8151835114612b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3590615340565b60405180910390fd5b6000612b48612e28565b9050612b5981600087878787613221565b60005b8451811015612c1257838181518110612b7857612b77614987565b5b6020026020010151600080878481518110612b9657612b95614987565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bf89190614c1c565b925050819055508080612c0a906149e5565b915050612b5c565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612c8a929190615360565b60405180910390a4612ca1816000878787876133f1565b612cb08160008787878761373c565b5050505050565b6000612cc48260016107d8565b612ccf8360006107d8565b612cd99190614c1c565b9050919050565b6000808314612d1257600182600185612cf99190614b88565b612d039190614beb565b612d0d9190614c1c565b612d15565b60005b905092915050565b612d25612e28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612d6b5750612d6a85612d65612e28565b611c45565b5b612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da1906150f8565b60405180910390fd5b612db78585858585613913565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008082905060005b8451811015612e7b57612e6682868381518110612e5957612e58614987565b5b6020026020010151613bae565b91508080612e73906149e5565b915050612e39565b508091505092915050565b8151835114612eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec190615340565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3090615409565b60405180910390fd5b6000612f43612e28565b9050612f53818787878787613221565b60005b8451811015613104576000858281518110612f7457612f73614987565b5b602002602001015190506000858381518110612f9357612f92614987565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b9061549b565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130e99190614c1c565b92505081905550505050806130fd906149e5565b9050612f56565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161317b929190615360565b60405180910390a46131918187878787876133f1565b61319f81878787878761373c565b505050505050565b60606000600167ffffffffffffffff8111156131c6576131c5613dd8565b5b6040519080825280602002602001820160405280156131f45781602001602082028036833780820191505090505b509050828160008151811061320c5761320b614987565b5b60200260200101818152505080915050919050565b61322f868686868686611de9565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036132e05760005b83518110156132de5782818151811061328257613281614987565b5b6020026020010151600360008684815181106132a1576132a0614987565b5b6020026020010151815260200190815260200160002060008282546132c69190614c1c565b92505081905550806132d7906149e5565b9050613266565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036133e95760005b83518110156133e757600084828151811061333557613334614987565b5b60200260200101519050600084838151811061335457613353614987565b5b60200260200101519050600060036000848152602001908152602001600020549050818110156133b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b09061552d565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806133e0906149e5565b9050613317565b505b505050505050565b505050505050565b6134188473ffffffffffffffffffffffffffffffffffffffff16611df1565b156135c8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161345e9594939291906155a2565b6020604051808303816000875af192505050801561349a57506040513d601f19601f820116820180604052508101906134979190615611565b60015b61353f576134a661564b565b806308c379a00361350257506134ba61566d565b806134c55750613504565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f99190613fcb565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135369061576f565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bd90615801565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361363e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363590615893565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161372f9190613da2565b60405180910390a3505050565b61375b8473ffffffffffffffffffffffffffffffffffffffff16611df1565b1561390b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016137a19594939291906158b3565b6020604051808303816000875af19250505080156137dd57506040513d601f19601f820116820180604052508101906137da9190615611565b60015b613882576137e961564b565b806308c379a00361384557506137fd61566d565b806138085750613847565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383c9190613fcb565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138799061576f565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390090615801565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161397990615409565b60405180910390fd5b600061398c612e28565b90506000613999856131a7565b905060006139a6856131a7565b90506139b6838989858589613221565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015613a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a449061549b565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b029190614c1c565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051613b7f929190614c50565b60405180910390a4613b95848a8a86868a6133f1565b613ba3848a8a8a8a8a6133f9565b505050505050505050565b6000818310613bc657613bc18284613bd9565b613bd1565b613bd08383613bd9565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c2f82613c04565b9050919050565b613c3f81613c24565b8114613c4a57600080fd5b50565b600081359050613c5c81613c36565b92915050565b6000819050919050565b613c7581613c62565b8114613c8057600080fd5b50565b600081359050613c9281613c6c565b92915050565b60008060408385031215613caf57613cae613bfa565b5b6000613cbd85828601613c4d565b9250506020613cce85828601613c83565b9150509250929050565b613ce181613c62565b82525050565b6000602082019050613cfc6000830184613cd8565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d3781613d02565b8114613d4257600080fd5b50565b600081359050613d5481613d2e565b92915050565b600060208284031215613d7057613d6f613bfa565b5b6000613d7e84828501613d45565b91505092915050565b60008115159050919050565b613d9c81613d87565b82525050565b6000602082019050613db76000830184613d93565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e1082613dc7565b810181811067ffffffffffffffff82111715613e2f57613e2e613dd8565b5b80604052505050565b6000613e42613bf0565b9050613e4e8282613e07565b919050565b600067ffffffffffffffff821115613e6e57613e6d613dd8565b5b613e7782613dc7565b9050602081019050919050565b82818337600083830152505050565b6000613ea6613ea184613e53565b613e38565b905082815260208101848484011115613ec257613ec1613dc2565b5b613ecd848285613e84565b509392505050565b600082601f830112613eea57613ee9613dbd565b5b8135613efa848260208601613e93565b91505092915050565b600060208284031215613f1957613f18613bfa565b5b600082013567ffffffffffffffff811115613f3757613f36613bff565b5b613f4384828501613ed5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f86578082015181840152602081019050613f6b565b60008484015250505050565b6000613f9d82613f4c565b613fa78185613f57565b9350613fb7818560208601613f68565b613fc081613dc7565b840191505092915050565b60006020820190508181036000830152613fe58184613f92565b905092915050565b60006020828403121561400357614002613bfa565b5b600061401184828501613c4d565b91505092915050565b6000602082840312156140305761402f613bfa565b5b600061403e84828501613c83565b91505092915050565b600080fd5b600080fd5b60008083601f84011261406757614066613dbd565b5b8235905067ffffffffffffffff81111561408457614083614047565b5b6020830191508360208202830111156140a05761409f61404c565b5b9250929050565b600080602083850312156140be576140bd613bfa565b5b600083013567ffffffffffffffff8111156140dc576140db613bff565b5b6140e885828601614051565b92509250509250929050565b600067ffffffffffffffff82111561410f5761410e613dd8565b5b602082029050602081019050919050565b600061413361412e846140f4565b613e38565b905080838252602082019050602084028301858111156141565761415561404c565b5b835b8181101561417f578061416b8882613c83565b845260208401935050602081019050614158565b5050509392505050565b600082601f83011261419e5761419d613dbd565b5b81356141ae848260208601614120565b91505092915050565b600067ffffffffffffffff8211156141d2576141d1613dd8565b5b6141db82613dc7565b9050602081019050919050565b60006141fb6141f6846141b7565b613e38565b90508281526020810184848401111561421757614216613dc2565b5b614222848285613e84565b509392505050565b600082601f83011261423f5761423e613dbd565b5b813561424f8482602086016141e8565b91505092915050565b600080600080600060a0868803121561427457614273613bfa565b5b600061428288828901613c4d565b955050602061429388828901613c4d565b945050604086013567ffffffffffffffff8111156142b4576142b3613bff565b5b6142c088828901614189565b935050606086013567ffffffffffffffff8111156142e1576142e0613bff565b5b6142ed88828901614189565b925050608086013567ffffffffffffffff81111561430e5761430d613bff565b5b61431a8882890161422a565b9150509295509295909350565b6000819050919050565b61433a81614327565b82525050565b60006020820190506143556000830184614331565b92915050565b600067ffffffffffffffff82111561437657614375613dd8565b5b602082029050602081019050919050565b600061439a6143958461435b565b613e38565b905080838252602082019050602084028301858111156143bd576143bc61404c565b5b835b818110156143e657806143d28882613c4d565b8452602084019350506020810190506143bf565b5050509392505050565b600082601f83011261440557614404613dbd565b5b8135614415848260208601614387565b91505092915050565b6000806040838503121561443557614434613bfa565b5b600083013567ffffffffffffffff81111561445357614452613bff565b5b61445f858286016143f0565b925050602083013567ffffffffffffffff8111156144805761447f613bff565b5b61448c85828601614189565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144cb81613c62565b82525050565b60006144dd83836144c2565b60208301905092915050565b6000602082019050919050565b600061450182614496565b61450b81856144a1565b9350614516836144b2565b8060005b8381101561454757815161452e88826144d1565b9750614539836144e9565b92505060018101905061451a565b5085935050505092915050565b6000602082019050818103600083015261456e81846144f6565b905092915050565b61457f81614327565b811461458a57600080fd5b50565b60008135905061459c81614576565b92915050565b6000602082840312156145b8576145b7613bfa565b5b60006145c68482850161458d565b91505092915050565b6145d881613c24565b82525050565b60006020820190506145f360008301846145cf565b92915050565b61460281613d87565b811461460d57600080fd5b50565b60008135905061461f816145f9565b92915050565b6000806040838503121561463c5761463b613bfa565b5b600061464a85828601613c4d565b925050602061465b85828601614610565b9150509250929050565b6000806040838503121561467c5761467b613bfa565b5b600061468a85828601613c4d565b925050602061469b85828601613c4d565b9150509250929050565b600080600080600060a086880312156146c1576146c0613bfa565b5b60006146cf88828901613c4d565b95505060206146e088828901613c4d565b94505060406146f188828901613c83565b935050606061470288828901613c83565b925050608086013567ffffffffffffffff81111561472357614722613bff565b5b61472f8882890161422a565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614798602a83613f57565b91506147a38261473c565b604082019050919050565b600060208201905081810360008301526147c78161478b565b9050919050565b600081905092915050565b60006147e482613f4c565b6147ee81856147ce565b93506147fe818560208601613f68565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006148406005836147ce565b915061484b8261480a565b600582019050919050565b600061486282856147d9565b915061486e82846147d9565b915061487982614833565b91508190509392505050565b60008160601b9050919050565b600061489d82614885565b9050919050565b60006148af82614892565b9050919050565b6148c76148c282613c24565b6148a4565b82525050565b60006148d982846148b6565b60148201915081905092915050565b600082825260208201905092915050565b600080fd5b82818337505050565b600061491383856148e8565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614946576149456148f9565b5b6020830292506149578385846148fe565b82840190509392505050565b6000602082019050818103600083015261497e818486614907565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149f082613c62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a2257614a216149b6565b5b600182019050919050565b6000614a3882613c62565b9150614a4383613c62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a7c57614a7b6149b6565b5b828202905092915050565b6000604082019050614a9c60008301856145cf565b614aa960208301846145cf565b9392505050565b600081905092915050565b50565b6000614acb600083614ab0565b9150614ad682614abb565b600082019050919050565b6000614aec82614abe565b9150819050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614b52602983613f57565b9150614b5d82614af6565b604082019050919050565b60006020820190508181036000830152614b8181614b45565b9050919050565b6000614b9382613c62565b9150614b9e83613c62565b9250828203905081811115614bb657614bb56149b6565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bf682613c62565b9150614c0183613c62565b925082614c1157614c10614bbc565b5b828204905092915050565b6000614c2782613c62565b9150614c3283613c62565b9250828201905080821115614c4a57614c496149b6565b5b92915050565b6000604082019050614c656000830185613cd8565b614c726020830184613cd8565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cd5602683613f57565b9150614ce082614c79565b604082019050919050565b60006020820190508181036000830152614d0481614cc8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d41602083613f57565b9150614d4c82614d0b565b602082019050919050565b60006020820190508181036000830152614d7081614d34565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614dbe57607f821691505b602082108103614dd157614dd0614d77565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614e397fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614dfc565b614e438683614dfc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614e80614e7b614e7684613c62565b614e5b565b613c62565b9050919050565b6000819050919050565b614e9a83614e65565b614eae614ea682614e87565b848454614e09565b825550505050565b600090565b614ec3614eb6565b614ece818484614e91565b505050565b5b81811015614ef257614ee7600082614ebb565b600181019050614ed4565b5050565b601f821115614f3757614f0881614dd7565b614f1184614dec565b81016020851015614f20578190505b614f34614f2c85614dec565b830182614ed3565b50505b505050565b600082821c905092915050565b6000614f5a60001984600802614f3c565b1980831691505092915050565b6000614f738383614f49565b9150826002028217905092915050565b614f8c82613f4c565b67ffffffffffffffff811115614fa557614fa4613dd8565b5b614faf8254614da6565b614fba828285614ef6565b600060209050601f831160018114614fed5760008415614fdb578287015190505b614fe58582614f67565b86555061504d565b601f198416614ffb86614dd7565b60005b8281101561502357848901518255600182019150602085019450602081019050614ffe565b86831015615040578489015161503c601f891682614f49565b8355505b6001600288020188555050505b505050505050565b600061506082613c62565b915061506b83613c62565b92508261507b5761507a614bbc565b5b828206905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006150e2602f83613f57565b91506150ed82615086565b604082019050919050565b60006020820190508181036000830152615111816150d5565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615174602383613f57565b915061517f82615118565b604082019050919050565b600060208201905081810360008301526151a381615167565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615206602483613f57565b9150615211826151aa565b604082019050919050565b60006020820190508181036000830152615235816151f9565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615298602183613f57565b91506152a38261523c565b604082019050919050565b600060208201905081810360008301526152c78161528b565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061532a602883613f57565b9150615335826152ce565b604082019050919050565b600060208201905081810360008301526153598161531d565b9050919050565b6000604082019050818103600083015261537a81856144f6565b9050818103602083015261538e81846144f6565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006153f3602583613f57565b91506153fe82615397565b604082019050919050565b60006020820190508181036000830152615422816153e6565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615485602a83613f57565b915061549082615429565b604082019050919050565b600060208201905081810360008301526154b481615478565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000615517602883613f57565b9150615522826154bb565b604082019050919050565b600060208201905081810360008301526155468161550a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155748261554d565b61557e8185615558565b935061558e818560208601613f68565b61559781613dc7565b840191505092915050565b600060a0820190506155b760008301886145cf565b6155c460208301876145cf565b6155d16040830186613cd8565b6155de6060830185613cd8565b81810360808301526155f08184615569565b90509695505050505050565b60008151905061560b81613d2e565b92915050565b60006020828403121561562757615626613bfa565b5b6000615635848285016155fc565b91505092915050565b60008160e01c9050919050565b600060033d111561566a5760046000803e61566760005161563e565b90505b90565b600060443d106156fa5761567f613bf0565b60043d036004823e80513d602482011167ffffffffffffffff821117156156a75750506156fa565b808201805167ffffffffffffffff8111156156c557505050506156fa565b80602083010160043d0385018111156156e25750505050506156fa565b6156f182602001850186613e07565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615759603483613f57565b9150615764826156fd565b604082019050919050565b600060208201905081810360008301526157888161574c565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006157eb602883613f57565b91506157f68261578f565b604082019050919050565b6000602082019050818103600083015261581a816157de565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061587d602983613f57565b915061588882615821565b604082019050919050565b600060208201905081810360008301526158ac81615870565b9050919050565b600060a0820190506158c860008301886145cf565b6158d560208301876145cf565b81810360408301526158e781866144f6565b905081810360608301526158fb81856144f6565b9050818103608083015261590f8184615569565b9050969550505050505056fea2646970667358221220c96df9558f4d745fdbc5274eca9bbfe7a3a526c8fb0528c6a545b618b7a6754a64736f6c63430008100033

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

000000000000000000000000000000000000000000000000000000000000004061dcecd46e407fc1df80e8d0ac568ed93dae35c0a674227c85ea55fac72104500000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574c4845787938724e344554427a383938696f426179664e684a4c5941596e4e3555574555596235314332502f00000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmWLHExy8rN4ETBz898ioBayfNhJLYAYnN5UWEUYb51C2P/
Arg [1] : _root (bytes32): 0x61dcecd46e407fc1df80e8d0ac568ed93dae35c0a674227c85ea55fac7210450

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 61dcecd46e407fc1df80e8d0ac568ed93dae35c0a674227c85ea55fac7210450
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d574c4845787938724e344554427a383938696f42617966
Arg [4] : 4e684a4c5941596e4e3555574555596235314332502f00000000000000000000


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

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