ETH Price: $3,472.30 (+2.39%)
Gas: 6.72 Gwei

Token

OpenCrates ()
 

Overview

Max Total Supply

4,703

Holders

195

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
camallen.eth
0x0C1B9933856E423ce3687c77534eD9a24a0a609C
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:
OpenCrates

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : supernovas.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";

interface CratesInterface {

    function balanceOf(address account,uint256 id) external view returns (uint256);
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;
}

contract OpenCrates is VRFConsumerBaseV2, ERC1155Supply, Ownable   {
    address constant public CratesAddress = 0xC50F11281b0821E5a9AD3DD77C33Eaf82d3094f4;
    address constant public BurnAddress = 0x000000000000000000000000000000000000dEaD;
    bool public saleIsActive = false;
    string private _baseTokenURI;
    uint private acumulate_0;
    uint private seed;

    // Chainlink VRF variables
    VRFCoordinatorV2Interface private immutable i_vrfCoordinator;
    uint64 private immutable i_subscriptionId; // get subscription ID from vrf.chain.link
    bytes32 private immutable i_keyHash;
    uint16 private constant REQUEST_CONFIRMATIONS = 3;
    uint32 private immutable i_callbackGasLimit;
    uint32 private constant NUM_WORDS = 1;

    event seedRequested(uint256 indexed requestId);

    constructor(string memory _uri, address vrfCoordinatorV2Address, uint64 subId, bytes32 keyHash, uint32 callbackGasLimit, uint _seed)

    VRFConsumerBaseV2(vrfCoordinatorV2Address)
    ERC1155(_uri)
    {
        setURI(_uri);
        seed = _seed;
        // VRF variables
        i_vrfCoordinator = VRFCoordinatorV2Interface(vrfCoordinatorV2Address);
        i_subscriptionId = subId;
        i_keyHash = keyHash;
        i_callbackGasLimit = callbackGasLimit;
    }

    function setSeed()  public returns (uint256 requestId) {
        requestId = i_vrfCoordinator.requestRandomWords(
            i_keyHash, //
            i_subscriptionId,
            REQUEST_CONFIRMATIONS,
            i_callbackGasLimit,
            NUM_WORDS
        );

        // emit an event
        emit seedRequested(requestId);
    }

    function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords)
        internal
        override
    {
        require(requestId > 0);
        seed = randomWords[0] % 100;
    }

    function uri(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId)));
    }

    function setURI(string memory newuri) public onlyOwner {
        _baseTokenURI = newuri;
    }

    function setSaleState(bool newState) public onlyOwner {
        saleIsActive = newState;
    }

    function totalAvailable(address ownwer) external view returns (uint) {
        uint value = CratesInterface(CratesAddress).balanceOf(ownwer,77);
        return value;
    }

    function mint(uint numberOfTokens) public  {
        require(saleIsActive, "Sale must be active to mint Tokens");
        uint value = CratesInterface(CratesAddress).balanceOf(msg.sender,77);
        require(numberOfTokens <= value, "Value is not correct");
        CratesInterface(CratesAddress).safeTransferFrom(msg.sender,BurnAddress,77,numberOfTokens,"0x");
        uint _seed = seed;
        seed+=1;
        for (uint i = 0; i < numberOfTokens; i++) {
              uint8 number = uint8(uint256(keccak256(abi.encodePacked(blockhash(block.timestamp),_seed)))%127)+1;
              _seed+=number;
              uint8 number2 = uint8(uint256(keccak256(abi.encodePacked(blockhash(block.number - 1),_seed)))%99);
              if (number < 8) {
                  if (totalSupply(number) > 6 || number2 > 20) {
                       number =number+71;
                  }
              } else if (number < 32) {
                  if (totalSupply(number) > 23 || number2 > 50) {
                       number =number+71;
                  }
              } else if (number < 72) {
                   if (totalSupply(number) > 49 || number2 > 90) {
                       number =number+56;
                   }
              }
              _mint(msg.sender, number, 1, "");
        }


    }

}

File 2 of 15 : VRFCoordinatorV2Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;

  /*
   * @notice Check to see if there exists a request commitment consumers
   * for all consumers and keyhashes for a given sub.
   * @param subId - ID of the subscription
   * @return true if there exists at least one unfulfilled request for the subscription, false
   * otherwise.
   */
  function pendingRequestExists(uint64 subId) external view returns (bool);
}

File 3 of 15 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

File 4 of 15 : 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 5 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 or 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 or 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 6 of 15 : 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 7 of 15 : 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 8 of 15 : 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;
}

File 9 of 15 : 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 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 11 of 15 : 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 12 of 15 : 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 15 : 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 14 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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. If 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)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 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) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"vrfCoordinatorV2Address","type":"address"},{"internalType":"uint64","name":"subId","type":"uint64"},{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint32","name":"callbackGasLimit","type":"uint32"},{"internalType":"uint256","name":"_seed","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","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":"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"seedRequested","type":"event"},{"inputs":[],"name":"BurnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CratesAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","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":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSeed","outputs":[{"internalType":"uint256","name":"requestId","type":"uint256"}],"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":[{"internalType":"address","name":"ownwer","type":"address"}],"name":"totalAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

6101206040526000600460146101000a81548160ff0219169083151502179055503480156200002d57600080fd5b5060405162004900380380620049008339818101604052810190620000539190620004cb565b85858073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050506200009e816200015960201b60201c565b50620000bf620000b36200017560201b60201c565b6200017d60201b60201c565b620000d0866200024360201b60201c565b806007819055508473ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508367ffffffffffffffff1660c08167ffffffffffffffff1660c01b815250508260e081815250508163ffffffff166101008163ffffffff1660e01b815250505050505050506200087b565b8060029080519060200190620001719291906200032a565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002536200026f60201b60201c565b80600590805190602001906200026b9291906200032a565b5050565b6200027f6200017560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a56200030060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002fe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f590620005ad565b60405180910390fd5b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200033890620006e1565b90600052602060002090601f0160209004810192826200035c5760008555620003a8565b82601f106200037757805160ff1916838001178555620003a8565b82800160010185558215620003a8579182015b82811115620003a75782518255916020019190600101906200038a565b5b509050620003b79190620003bb565b5090565b5b80821115620003d6576000816000905550600101620003bc565b5090565b6000620003f1620003eb84620005f8565b620005cf565b90508281526020810184848401111562000410576200040f620007b0565b5b6200041d848285620006ab565b509392505050565b6000815190506200043681620007f9565b92915050565b6000815190506200044d8162000813565b92915050565b600082601f8301126200046b576200046a620007ab565b5b81516200047d848260208601620003da565b91505092915050565b60008151905062000497816200082d565b92915050565b600081519050620004ae8162000847565b92915050565b600081519050620004c58162000861565b92915050565b60008060008060008060c08789031215620004eb57620004ea620007ba565b5b600087015167ffffffffffffffff8111156200050c576200050b620007b5565b5b6200051a89828a0162000453565b96505060206200052d89828a0162000425565b95505060406200054089828a01620004b4565b94505060606200055389828a016200043c565b93505060806200056689828a016200049d565b92505060a06200057989828a0162000486565b9150509295509295509295565b6000620005956020836200062e565b9150620005a282620007d0565b602082019050919050565b60006020820190508181036000830152620005c88162000586565b9050919050565b6000620005db620005ee565b9050620005e9828262000717565b919050565b6000604051905090565b600067ffffffffffffffff8211156200061657620006156200077c565b5b6200062182620007bf565b9050602081019050919050565b600082825260208201905092915050565b60006200064c826200065d565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b60005b83811015620006cb578082015181840152602081019050620006ae565b83811115620006db576000848401525b50505050565b60006002820490506001821680620006fa57607f821691505b602082108114156200071157620007106200074d565b5b50919050565b6200072282620007bf565b810181811067ffffffffffffffff821117156200074457620007436200077c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000804816200063f565b81146200081057600080fd5b50565b6200081e8162000653565b81146200082a57600080fd5b50565b62000838816200067d565b81146200084457600080fd5b50565b620008528162000687565b81146200085e57600080fd5b50565b6200086c8162000697565b81146200087857600080fd5b50565b60805160601c60a05160601c60c05160c01c60e0516101005160e01c61402d620008d360003960006108440152600061080001526000610821015260006107c401526000818161066101526106b5015261402d6000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c80638da5cb5b116100b8578063c4e370951161007c578063c4e3709514610386578063cabcc718146103a2578063e985e9c5146103c0578063eb8d2444146103f0578063f242432a1461040e578063f2fde38b1461042a57610141565b80638da5cb5b146102d0578063a0712d68146102ee578063a22cb4651461030a578063b683674f14610326578063bd85b0391461035657610141565b80631fe543e31161010a5780631fe543e3146102105780632eb2c2d61461022c57806343083f0e146102485780634e1273f4146102665780634f558e7914610296578063715018a6146102c657610141565b8062fdd58e1461014657806301ffc9a71461017657806302fe5305146101a6578063078d1cc6146101c25780630e89341c146101e0575b600080fd5b610160600480360381019061015b9190612971565b610446565b60405161016d91906134cc565b60405180910390f35b610190600480360381019061018b9190612a56565b61050f565b60405161019d919061325c565b60405180910390f35b6101c060048036038101906101bb9190612ab0565b6105f1565b005b6101ca610613565b6040516101d7919061307c565b60405180910390f35b6101fa60048036038101906101f59190612af9565b61062b565b60405161020791906132ca565b60405180910390f35b61022a60048036038101906102259190612b53565b61065f565b005b610246600480360381019061024191906127cb565b61071f565b005b6102506107c0565b60405161025d91906134cc565b60405180910390f35b610280600480360381019061027b91906129b1565b610909565b60405161028d9190613203565b60405180910390f35b6102b060048036038101906102ab9190612af9565b610a22565b6040516102bd919061325c565b60405180910390f35b6102ce610a36565b005b6102d8610a4a565b6040516102e5919061307c565b60405180910390f35b61030860048036038101906103039190612af9565b610a74565b005b610324600480360381019061031f9190612931565b610e01565b005b610340600480360381019061033b919061275e565b610e17565b60405161034d91906134cc565b60405180910390f35b610370600480360381019061036b9190612af9565b610ec4565b60405161037d91906134cc565b60405180910390f35b6103a0600480360381019061039b9190612a29565b610ee1565b005b6103aa610f06565b6040516103b7919061307c565b60405180910390f35b6103da60048036038101906103d5919061278b565b610f0c565b6040516103e7919061325c565b60405180910390f35b6103f8610fa0565b604051610405919061325c565b60405180910390f35b6104286004803603810190610423919061289a565b610fb3565b005b610444600480360381019061043f919061275e565b611054565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ae9061332c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105da57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105ea57506105e9826110d8565b5b9050919050565b6105f9611142565b806005908051906020019061060f929190612421565b5050565b73c50f11281b0821e5a9ad3dd77c33eaf82d3094f481565b60606005610638836111c0565b604051602001610649929190613058565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071157337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610708929190613097565b60405180910390fd5b61071b8282611298565b5050565b6107276112d7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061076d575061076c856107676112d7565b610f0c565b5b6107ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a39061334c565b60405180910390fd5b6107b985858585856112df565b5050505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635d3b1d307f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000060037f000000000000000000000000000000000000000000000000000000000000000060016040518663ffffffff1660e01b8152600401610885959493929190613277565b602060405180830381600087803b15801561089f57600080fd5b505af11580156108b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d79190612b26565b9050807f6bb1cbf87288f31787699e371a3f036987b3f31415dd06459b1a9dc8ff4d58e260405160405180910390a290565b6060815183511461094f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109469061344c565b60405180910390fd5b6000835167ffffffffffffffff81111561096c5761096b6139ff565b5b60405190808252806020026020018201604052801561099a5781602001602082028036833780820191505090505b50905060005b8451811015610a17576109e78582815181106109bf576109be6139d0565b5b60200260200101518583815181106109da576109d96139d0565b5b6020026020010151610446565b8282815181106109fa576109f96139d0565b5b60200260200101818152505080610a10906138b5565b90506109a0565b508091505092915050565b600080610a2e83610ec4565b119050919050565b610a3e611142565b610a486000611601565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460149054906101000a900460ff16610ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aba9061336c565b60405180910390fd5b600073c50f11281b0821e5a9ad3dd77c33eaf82d3094f473ffffffffffffffffffffffffffffffffffffffff1662fdd58e33604d6040518363ffffffff1660e01b8152600401610b149291906131da565b60206040518083038186803b158015610b2c57600080fd5b505afa158015610b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b649190612b26565b905080821115610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba0906133ac565b60405180910390fd5b73c50f11281b0821e5a9ad3dd77c33eaf82d3094f473ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead604d866040518563ffffffff1660e01b8152600401610bff9493929190613128565b600060405180830381600087803b158015610c1957600080fd5b505af1158015610c2d573d6000803e3d6000fd5b5050505060006007549050600160076000828254610c4b9190613680565b9250508190555060005b83811015610dfb5760006001607f424085604051602001610c7792919061302c565b6040516020818303038152906040528051906020012060001c610c9a9190613912565b610ca491906136d6565b90508060ff1683610cb59190613680565b925060006063600143610cc8919061370d565b4085604051602001610cdb92919061302c565b6040516020818303038152906040528051906020012060001c610cfe9190613912565b905060088260ff161015610d43576006610d1a8360ff16610ec4565b1180610d29575060148160ff16115b15610d3e57604782610d3b91906136d6565b91505b610dc7565b60208260ff161015610d86576017610d5d8360ff16610ec4565b1180610d6c575060328160ff16115b15610d8157604782610d7e91906136d6565b91505b610dc6565b60488260ff161015610dc5576031610da08360ff16610ec4565b1180610daf5750605a8160ff16115b15610dc457603882610dc191906136d6565b91505b5b5b5b610de6338360ff166001604051806020016040528060008152506116c7565b50508080610df3906138b5565b915050610c55565b50505050565b610e13610e0c6112d7565b8383611878565b5050565b60008073c50f11281b0821e5a9ad3dd77c33eaf82d3094f473ffffffffffffffffffffffffffffffffffffffff1662fdd58e84604d6040518363ffffffff1660e01b8152600401610e699291906131da565b60206040518083038186803b158015610e8157600080fd5b505afa158015610e95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb99190612b26565b905080915050919050565b600060036000838152602001908152602001600020549050919050565b610ee9611142565b80600460146101000a81548160ff02191690831515021790555050565b61dead81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600460149054906101000a900460ff1681565b610fbb6112d7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611001575061100085610ffb6112d7565b610f0c565b5b611040576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110379061334c565b60405180910390fd5b61104d85858585856119e5565b5050505050565b61105c611142565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c39061330c565b60405180910390fd5b6110d581611601565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61114a6112d7565b73ffffffffffffffffffffffffffffffffffffffff16611168610a4a565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b5906133ec565b60405180910390fd5b565b6060600060016111cf84611c81565b01905060008167ffffffffffffffff8111156111ee576111ed6139ff565b5b6040519080825280601f01601f1916602001820160405280156112205781602001600182028036833780820191505090505b509050600082602001820190505b60011561128d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161127757611276613972565b5b04945060008514156112885761128d565b61122e565b819350505050919050565b600082116112a557600080fd5b6064816000815181106112bb576112ba6139d0565b5b60200260200101516112cd9190613912565b6007819055505050565b600033905090565b8151835114611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a9061346c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a9061338c565b60405180910390fd5b600061139d6112d7565b90506113ad818787878787611dd4565b60005b845181101561155e5760008582815181106113ce576113cd6139d0565b5b6020026020010151905060008583815181106113ed576113ec6139d0565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561148e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611485906133cc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115439190613680565b9250508190555050505080611557906138b5565b90506113b0565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115d5929190613225565b60405180910390a46115eb818787878787611fa6565b6115f9818787878787611fae565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172e9061348c565b60405180910390fd5b60006117416112d7565b9050600061174e85612195565b9050600061175b85612195565b905061176c83600089858589611dd4565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117cb9190613680565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516118499291906134e7565b60405180910390a461186083600089858589611fa6565b61186f8360008989898961220f565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de9061342c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119d8919061325c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c9061338c565b60405180910390fd5b6000611a5f6112d7565b90506000611a6c85612195565b90506000611a7985612195565b9050611a89838989858589611dd4565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b17906133cc565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bd59190613680565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611c529291906134e7565b60405180910390a4611c68848a8a86868a611fa6565b611c76848a8a8a8a8a61220f565b505050505050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611cdf577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611cd557611cd4613972565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611d1c576d04ee2d6d415b85acef81000000008381611d1257611d11613972565b5b0492506020810190505b662386f26fc100008310611d4b57662386f26fc100008381611d4157611d40613972565b5b0492506010810190505b6305f5e1008310611d74576305f5e1008381611d6a57611d69613972565b5b0492506008810190505b6127108310611d99576127108381611d8f57611d8e613972565b5b0492506004810190505b60648310611dbc5760648381611db257611db1613972565b5b0492506002810190505b600a8310611dcb576001810190505b80915050919050565b611de28686868686866123f6565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611e945760005b8351811015611e9257828181518110611e3657611e356139d0565b5b602002602001015160036000868481518110611e5557611e546139d0565b5b602002602001015181526020019081526020016000206000828254611e7a9190613680565b9250508190555080611e8b906138b5565b9050611e1a565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f9e5760005b8351811015611f9c576000848281518110611eea57611ee96139d0565b5b602002602001015190506000848381518110611f0957611f086139d0565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f659061340c565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080611f95906138b5565b9050611ecc565b505b505050505050565b505050505050565b611fcd8473ffffffffffffffffffffffffffffffffffffffff166123fe565b1561218d578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120139594939291906130c0565b602060405180830381600087803b15801561202d57600080fd5b505af192505050801561205e57506040513d601f19601f8201168201806040525081019061205b9190612a83565b60015b6121045761206a613a2e565b806308c379a014156120c7575061207f613f05565b8061208a57506120c9565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be91906132ca565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb906134ac565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461218b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612182906132ec565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156121b4576121b36139ff565b5b6040519080825280602002602001820160405280156121e25781602001602082028036833780820191505090505b50905082816000815181106121fa576121f96139d0565b5b60200260200101818152505080915050919050565b61222e8473ffffffffffffffffffffffffffffffffffffffff166123fe565b156123ee578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612274959493929190613180565b602060405180830381600087803b15801561228e57600080fd5b505af19250505080156122bf57506040513d601f19601f820116820180604052508101906122bc9190612a83565b60015b612365576122cb613a2e565b806308c379a0141561232857506122e0613f05565b806122eb575061232a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f91906132ca565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c906134ac565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e3906132ec565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461242d90613852565b90600052602060002090601f01602090048101928261244f5760008555612496565b82601f1061246857805160ff1916838001178555612496565b82800160010185558215612496579182015b8281111561249557825182559160200191906001019061247a565b5b5090506124a391906124a7565b5090565b5b808211156124c05760008160009055506001016124a8565b5090565b60006124d76124d284613535565b613510565b905080838252602082019050828560208602820111156124fa576124f9613a55565b5b60005b8581101561252a57816125108882612628565b8452602084019350602083019250506001810190506124fd565b5050509392505050565b600061254761254284613561565b613510565b9050808382526020820190508285602086028201111561256a57612569613a55565b5b60005b8581101561259a57816125808882612734565b84526020840193506020830192505060018101905061256d565b5050509392505050565b60006125b76125b28461358d565b613510565b9050828152602081018484840111156125d3576125d2613a5a565b5b6125de848285613810565b509392505050565b60006125f96125f4846135be565b613510565b90508281526020810184848401111561261557612614613a5a565b5b612620848285613810565b509392505050565b60008135905061263781613f9b565b92915050565b600082601f83011261265257612651613a50565b5b81356126628482602086016124c4565b91505092915050565b600082601f8301126126805761267f613a50565b5b8135612690848260208601612534565b91505092915050565b6000813590506126a881613fb2565b92915050565b6000813590506126bd81613fc9565b92915050565b6000815190506126d281613fc9565b92915050565b600082601f8301126126ed576126ec613a50565b5b81356126fd8482602086016125a4565b91505092915050565b600082601f83011261271b5761271a613a50565b5b813561272b8482602086016125e6565b91505092915050565b60008135905061274381613fe0565b92915050565b60008151905061275881613fe0565b92915050565b60006020828403121561277457612773613a64565b5b600061278284828501612628565b91505092915050565b600080604083850312156127a2576127a1613a64565b5b60006127b085828601612628565b92505060206127c185828601612628565b9150509250929050565b600080600080600060a086880312156127e7576127e6613a64565b5b60006127f588828901612628565b955050602061280688828901612628565b945050604086013567ffffffffffffffff81111561282757612826613a5f565b5b6128338882890161266b565b935050606086013567ffffffffffffffff81111561285457612853613a5f565b5b6128608882890161266b565b925050608086013567ffffffffffffffff81111561288157612880613a5f565b5b61288d888289016126d8565b9150509295509295909350565b600080600080600060a086880312156128b6576128b5613a64565b5b60006128c488828901612628565b95505060206128d588828901612628565b94505060406128e688828901612734565b93505060606128f788828901612734565b925050608086013567ffffffffffffffff81111561291857612917613a5f565b5b612924888289016126d8565b9150509295509295909350565b6000806040838503121561294857612947613a64565b5b600061295685828601612628565b925050602061296785828601612699565b9150509250929050565b6000806040838503121561298857612987613a64565b5b600061299685828601612628565b92505060206129a785828601612734565b9150509250929050565b600080604083850312156129c8576129c7613a64565b5b600083013567ffffffffffffffff8111156129e6576129e5613a5f565b5b6129f28582860161263d565b925050602083013567ffffffffffffffff811115612a1357612a12613a5f565b5b612a1f8582860161266b565b9150509250929050565b600060208284031215612a3f57612a3e613a64565b5b6000612a4d84828501612699565b91505092915050565b600060208284031215612a6c57612a6b613a64565b5b6000612a7a848285016126ae565b91505092915050565b600060208284031215612a9957612a98613a64565b5b6000612aa7848285016126c3565b91505092915050565b600060208284031215612ac657612ac5613a64565b5b600082013567ffffffffffffffff811115612ae457612ae3613a5f565b5b612af084828501612706565b91505092915050565b600060208284031215612b0f57612b0e613a64565b5b6000612b1d84828501612734565b91505092915050565b600060208284031215612b3c57612b3b613a64565b5b6000612b4a84828501612749565b91505092915050565b60008060408385031215612b6a57612b69613a64565b5b6000612b7885828601612734565b925050602083013567ffffffffffffffff811115612b9957612b98613a5f565b5b612ba58582860161266b565b9150509250929050565b6000612bbb8383612fd9565b60208301905092915050565b612bd081613741565b82525050565b6000612be182613614565b612beb8185613642565b9350612bf6836135ef565b8060005b83811015612c27578151612c0e8882612baf565b9750612c1983613635565b925050600181019050612bfa565b5085935050505092915050565b612c3d81613753565b82525050565b612c4c8161375f565b82525050565b612c63612c5e8261375f565b6138fe565b82525050565b6000612c748261361f565b612c7e8185613653565b9350612c8e81856020860161381f565b612c9781613a69565b840191505092915050565b612cab816137fe565b82525050565b6000612cbc8261362a565b612cc68185613664565b9350612cd681856020860161381f565b612cdf81613a69565b840191505092915050565b6000612cf58261362a565b612cff8185613675565b9350612d0f81856020860161381f565b80840191505092915050565b60008154612d2881613852565b612d328186613675565b94506001821660008114612d4d5760018114612d5e57612d91565b60ff19831686528186019350612d91565b612d67856135ff565b60005b83811015612d8957815481890152600182019150602081019050612d6a565b838801955050505b50505092915050565b6000612da7602883613664565b9150612db282613a87565b604082019050919050565b6000612dca602683613664565b9150612dd582613ad6565b604082019050919050565b6000612ded600283613653565b9150612df882613b25565b602082019050919050565b6000612e10602a83613664565b9150612e1b82613b4e565b604082019050919050565b6000612e33602e83613664565b9150612e3e82613b9d565b604082019050919050565b6000612e56602283613664565b9150612e6182613bec565b604082019050919050565b6000612e79602583613664565b9150612e8482613c3b565b604082019050919050565b6000612e9c601483613664565b9150612ea782613c8a565b602082019050919050565b6000612ebf602a83613664565b9150612eca82613cb3565b604082019050919050565b6000612ee2602083613664565b9150612eed82613d02565b602082019050919050565b6000612f05602883613664565b9150612f1082613d2b565b604082019050919050565b6000612f28602983613664565b9150612f3382613d7a565b604082019050919050565b6000612f4b602983613664565b9150612f5682613dc9565b604082019050919050565b6000612f6e602883613664565b9150612f7982613e18565b604082019050919050565b6000612f91602183613664565b9150612f9c82613e67565b604082019050919050565b6000612fb4603483613664565b9150612fbf82613eb6565b604082019050919050565b612fd381613795565b82525050565b612fe2816137c3565b82525050565b612ff1816137c3565b82525050565b613008613003826137c3565b613908565b82525050565b613017816137cd565b82525050565b613026816137dd565b82525050565b60006130388285612c52565b6020820191506130488284612ff7565b6020820191508190509392505050565b60006130648285612d1b565b91506130708284612cea565b91508190509392505050565b60006020820190506130916000830184612bc7565b92915050565b60006040820190506130ac6000830185612bc7565b6130b96020830184612bc7565b9392505050565b600060a0820190506130d56000830188612bc7565b6130e26020830187612bc7565b81810360408301526130f48186612bd6565b905081810360608301526131088185612bd6565b9050818103608083015261311c8184612c69565b90509695505050505050565b600060a08201905061313d6000830187612bc7565b61314a6020830186612bc7565b6131576040830185612ca2565b6131646060830184612fe8565b818103608083015261317581612de0565b905095945050505050565b600060a0820190506131956000830188612bc7565b6131a26020830187612bc7565b6131af6040830186612fe8565b6131bc6060830185612fe8565b81810360808301526131ce8184612c69565b90509695505050505050565b60006040820190506131ef6000830185612bc7565b6131fc6020830184612ca2565b9392505050565b6000602082019050818103600083015261321d8184612bd6565b905092915050565b6000604082019050818103600083015261323f8185612bd6565b905081810360208301526132538184612bd6565b90509392505050565b60006020820190506132716000830184612c34565b92915050565b600060a08201905061328c6000830188612c43565b613299602083018761301d565b6132a66040830186612fca565b6132b3606083018561300e565b6132c0608083018461300e565b9695505050505050565b600060208201905081810360008301526132e48184612cb1565b905092915050565b6000602082019050818103600083015261330581612d9a565b9050919050565b6000602082019050818103600083015261332581612dbd565b9050919050565b6000602082019050818103600083015261334581612e03565b9050919050565b6000602082019050818103600083015261336581612e26565b9050919050565b6000602082019050818103600083015261338581612e49565b9050919050565b600060208201905081810360008301526133a581612e6c565b9050919050565b600060208201905081810360008301526133c581612e8f565b9050919050565b600060208201905081810360008301526133e581612eb2565b9050919050565b6000602082019050818103600083015261340581612ed5565b9050919050565b6000602082019050818103600083015261342581612ef8565b9050919050565b6000602082019050818103600083015261344581612f1b565b9050919050565b6000602082019050818103600083015261346581612f3e565b9050919050565b6000602082019050818103600083015261348581612f61565b9050919050565b600060208201905081810360008301526134a581612f84565b9050919050565b600060208201905081810360008301526134c581612fa7565b9050919050565b60006020820190506134e16000830184612fe8565b92915050565b60006040820190506134fc6000830185612fe8565b6135096020830184612fe8565b9392505050565b600061351a61352b565b90506135268282613884565b919050565b6000604051905090565b600067ffffffffffffffff8211156135505761354f6139ff565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561357c5761357b6139ff565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135a8576135a76139ff565b5b6135b182613a69565b9050602081019050919050565b600067ffffffffffffffff8211156135d9576135d86139ff565b5b6135e282613a69565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061368b826137c3565b9150613696836137c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136cb576136ca613943565b5b828201905092915050565b60006136e1826137f1565b91506136ec836137f1565b92508260ff0382111561370257613701613943565b5b828201905092915050565b6000613718826137c3565b9150613723836137c3565b92508282101561373657613735613943565b5b828203905092915050565b600061374c826137a3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b6000613809826137c3565b9050919050565b82818337600083830152505050565b60005b8381101561383d578082015181840152602081019050613822565b8381111561384c576000848401525b50505050565b6000600282049050600182168061386a57607f821691505b6020821081141561387e5761387d6139a1565b5b50919050565b61388d82613a69565b810181811067ffffffffffffffff821117156138ac576138ab6139ff565b5b80604052505050565b60006138c0826137c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138f3576138f2613943565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061391d826137c3565b9150613928836137c3565b92508261393857613937613972565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613a4d5760046000803e613a4a600051613a7a565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f56616c7565206973206e6f7420636f7272656374000000000000000000000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600060443d1015613f1557613f98565b613f1d61352b565b60043d036004823e80513d602482011167ffffffffffffffff82111715613f45575050613f98565b808201805167ffffffffffffffff811115613f635750505050613f98565b80602083010160043d038501811115613f80575050505050613f98565b613f8f82602001850186613884565b82955050505050505b90565b613fa481613741565b8114613faf57600080fd5b50565b613fbb81613753565b8114613fc657600080fd5b50565b613fd281613769565b8114613fdd57600080fd5b50565b613fe9816137c3565b8114613ff457600080fd5b5056fea2646970667358221220ebb4a6d839037f418e099735acad834a094b2247534d4edf1d0e5bda7521eac064736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990900000000000000000000000000000000000000000000000000000000000002639fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f647973746f70756e6b732e6d7970696e6174612e636c6f75642f697066732f3030302f000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101415760003560e01c80638da5cb5b116100b8578063c4e370951161007c578063c4e3709514610386578063cabcc718146103a2578063e985e9c5146103c0578063eb8d2444146103f0578063f242432a1461040e578063f2fde38b1461042a57610141565b80638da5cb5b146102d0578063a0712d68146102ee578063a22cb4651461030a578063b683674f14610326578063bd85b0391461035657610141565b80631fe543e31161010a5780631fe543e3146102105780632eb2c2d61461022c57806343083f0e146102485780634e1273f4146102665780634f558e7914610296578063715018a6146102c657610141565b8062fdd58e1461014657806301ffc9a71461017657806302fe5305146101a6578063078d1cc6146101c25780630e89341c146101e0575b600080fd5b610160600480360381019061015b9190612971565b610446565b60405161016d91906134cc565b60405180910390f35b610190600480360381019061018b9190612a56565b61050f565b60405161019d919061325c565b60405180910390f35b6101c060048036038101906101bb9190612ab0565b6105f1565b005b6101ca610613565b6040516101d7919061307c565b60405180910390f35b6101fa60048036038101906101f59190612af9565b61062b565b60405161020791906132ca565b60405180910390f35b61022a60048036038101906102259190612b53565b61065f565b005b610246600480360381019061024191906127cb565b61071f565b005b6102506107c0565b60405161025d91906134cc565b60405180910390f35b610280600480360381019061027b91906129b1565b610909565b60405161028d9190613203565b60405180910390f35b6102b060048036038101906102ab9190612af9565b610a22565b6040516102bd919061325c565b60405180910390f35b6102ce610a36565b005b6102d8610a4a565b6040516102e5919061307c565b60405180910390f35b61030860048036038101906103039190612af9565b610a74565b005b610324600480360381019061031f9190612931565b610e01565b005b610340600480360381019061033b919061275e565b610e17565b60405161034d91906134cc565b60405180910390f35b610370600480360381019061036b9190612af9565b610ec4565b60405161037d91906134cc565b60405180910390f35b6103a0600480360381019061039b9190612a29565b610ee1565b005b6103aa610f06565b6040516103b7919061307c565b60405180910390f35b6103da60048036038101906103d5919061278b565b610f0c565b6040516103e7919061325c565b60405180910390f35b6103f8610fa0565b604051610405919061325c565b60405180910390f35b6104286004803603810190610423919061289a565b610fb3565b005b610444600480360381019061043f919061275e565b611054565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ae9061332c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105da57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105ea57506105e9826110d8565b5b9050919050565b6105f9611142565b806005908051906020019061060f929190612421565b5050565b73c50f11281b0821e5a9ad3dd77c33eaf82d3094f481565b60606005610638836111c0565b604051602001610649929190613058565b6040516020818303038152906040529050919050565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071157337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610708929190613097565b60405180910390fd5b61071b8282611298565b5050565b6107276112d7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061076d575061076c856107676112d7565b610f0c565b5b6107ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a39061334c565b60405180910390fd5b6107b985858585856112df565b5050505050565b60007f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff16635d3b1d307f9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded868057f000000000000000000000000000000000000000000000000000000000000026360037f000000000000000000000000000000000000000000000000000000000007a12060016040518663ffffffff1660e01b8152600401610885959493929190613277565b602060405180830381600087803b15801561089f57600080fd5b505af11580156108b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d79190612b26565b9050807f6bb1cbf87288f31787699e371a3f036987b3f31415dd06459b1a9dc8ff4d58e260405160405180910390a290565b6060815183511461094f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109469061344c565b60405180910390fd5b6000835167ffffffffffffffff81111561096c5761096b6139ff565b5b60405190808252806020026020018201604052801561099a5781602001602082028036833780820191505090505b50905060005b8451811015610a17576109e78582815181106109bf576109be6139d0565b5b60200260200101518583815181106109da576109d96139d0565b5b6020026020010151610446565b8282815181106109fa576109f96139d0565b5b60200260200101818152505080610a10906138b5565b90506109a0565b508091505092915050565b600080610a2e83610ec4565b119050919050565b610a3e611142565b610a486000611601565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460149054906101000a900460ff16610ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aba9061336c565b60405180910390fd5b600073c50f11281b0821e5a9ad3dd77c33eaf82d3094f473ffffffffffffffffffffffffffffffffffffffff1662fdd58e33604d6040518363ffffffff1660e01b8152600401610b149291906131da565b60206040518083038186803b158015610b2c57600080fd5b505afa158015610b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b649190612b26565b905080821115610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba0906133ac565b60405180910390fd5b73c50f11281b0821e5a9ad3dd77c33eaf82d3094f473ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead604d866040518563ffffffff1660e01b8152600401610bff9493929190613128565b600060405180830381600087803b158015610c1957600080fd5b505af1158015610c2d573d6000803e3d6000fd5b5050505060006007549050600160076000828254610c4b9190613680565b9250508190555060005b83811015610dfb5760006001607f424085604051602001610c7792919061302c565b6040516020818303038152906040528051906020012060001c610c9a9190613912565b610ca491906136d6565b90508060ff1683610cb59190613680565b925060006063600143610cc8919061370d565b4085604051602001610cdb92919061302c565b6040516020818303038152906040528051906020012060001c610cfe9190613912565b905060088260ff161015610d43576006610d1a8360ff16610ec4565b1180610d29575060148160ff16115b15610d3e57604782610d3b91906136d6565b91505b610dc7565b60208260ff161015610d86576017610d5d8360ff16610ec4565b1180610d6c575060328160ff16115b15610d8157604782610d7e91906136d6565b91505b610dc6565b60488260ff161015610dc5576031610da08360ff16610ec4565b1180610daf5750605a8160ff16115b15610dc457603882610dc191906136d6565b91505b5b5b5b610de6338360ff166001604051806020016040528060008152506116c7565b50508080610df3906138b5565b915050610c55565b50505050565b610e13610e0c6112d7565b8383611878565b5050565b60008073c50f11281b0821e5a9ad3dd77c33eaf82d3094f473ffffffffffffffffffffffffffffffffffffffff1662fdd58e84604d6040518363ffffffff1660e01b8152600401610e699291906131da565b60206040518083038186803b158015610e8157600080fd5b505afa158015610e95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb99190612b26565b905080915050919050565b600060036000838152602001908152602001600020549050919050565b610ee9611142565b80600460146101000a81548160ff02191690831515021790555050565b61dead81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600460149054906101000a900460ff1681565b610fbb6112d7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611001575061100085610ffb6112d7565b610f0c565b5b611040576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110379061334c565b60405180910390fd5b61104d85858585856119e5565b5050505050565b61105c611142565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c39061330c565b60405180910390fd5b6110d581611601565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61114a6112d7565b73ffffffffffffffffffffffffffffffffffffffff16611168610a4a565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b5906133ec565b60405180910390fd5b565b6060600060016111cf84611c81565b01905060008167ffffffffffffffff8111156111ee576111ed6139ff565b5b6040519080825280601f01601f1916602001820160405280156112205781602001600182028036833780820191505090505b509050600082602001820190505b60011561128d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161127757611276613972565b5b04945060008514156112885761128d565b61122e565b819350505050919050565b600082116112a557600080fd5b6064816000815181106112bb576112ba6139d0565b5b60200260200101516112cd9190613912565b6007819055505050565b600033905090565b8151835114611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a9061346c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a9061338c565b60405180910390fd5b600061139d6112d7565b90506113ad818787878787611dd4565b60005b845181101561155e5760008582815181106113ce576113cd6139d0565b5b6020026020010151905060008583815181106113ed576113ec6139d0565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561148e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611485906133cc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115439190613680565b9250508190555050505080611557906138b5565b90506113b0565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115d5929190613225565b60405180910390a46115eb818787878787611fa6565b6115f9818787878787611fae565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172e9061348c565b60405180910390fd5b60006117416112d7565b9050600061174e85612195565b9050600061175b85612195565b905061176c83600089858589611dd4565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117cb9190613680565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516118499291906134e7565b60405180910390a461186083600089858589611fa6565b61186f8360008989898961220f565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de9061342c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119d8919061325c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c9061338c565b60405180910390fd5b6000611a5f6112d7565b90506000611a6c85612195565b90506000611a7985612195565b9050611a89838989858589611dd4565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b17906133cc565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bd59190613680565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611c529291906134e7565b60405180910390a4611c68848a8a86868a611fa6565b611c76848a8a8a8a8a61220f565b505050505050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611cdf577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611cd557611cd4613972565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611d1c576d04ee2d6d415b85acef81000000008381611d1257611d11613972565b5b0492506020810190505b662386f26fc100008310611d4b57662386f26fc100008381611d4157611d40613972565b5b0492506010810190505b6305f5e1008310611d74576305f5e1008381611d6a57611d69613972565b5b0492506008810190505b6127108310611d99576127108381611d8f57611d8e613972565b5b0492506004810190505b60648310611dbc5760648381611db257611db1613972565b5b0492506002810190505b600a8310611dcb576001810190505b80915050919050565b611de28686868686866123f6565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611e945760005b8351811015611e9257828181518110611e3657611e356139d0565b5b602002602001015160036000868481518110611e5557611e546139d0565b5b602002602001015181526020019081526020016000206000828254611e7a9190613680565b9250508190555080611e8b906138b5565b9050611e1a565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f9e5760005b8351811015611f9c576000848281518110611eea57611ee96139d0565b5b602002602001015190506000848381518110611f0957611f086139d0565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f659061340c565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080611f95906138b5565b9050611ecc565b505b505050505050565b505050505050565b611fcd8473ffffffffffffffffffffffffffffffffffffffff166123fe565b1561218d578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016120139594939291906130c0565b602060405180830381600087803b15801561202d57600080fd5b505af192505050801561205e57506040513d601f19601f8201168201806040525081019061205b9190612a83565b60015b6121045761206a613a2e565b806308c379a014156120c7575061207f613f05565b8061208a57506120c9565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be91906132ca565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb906134ac565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461218b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612182906132ec565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156121b4576121b36139ff565b5b6040519080825280602002602001820160405280156121e25781602001602082028036833780820191505090505b50905082816000815181106121fa576121f96139d0565b5b60200260200101818152505080915050919050565b61222e8473ffffffffffffffffffffffffffffffffffffffff166123fe565b156123ee578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612274959493929190613180565b602060405180830381600087803b15801561228e57600080fd5b505af19250505080156122bf57506040513d601f19601f820116820180604052508101906122bc9190612a83565b60015b612365576122cb613a2e565b806308c379a0141561232857506122e0613f05565b806122eb575061232a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f91906132ca565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c906134ac565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e3906132ec565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461242d90613852565b90600052602060002090601f01602090048101928261244f5760008555612496565b82601f1061246857805160ff1916838001178555612496565b82800160010185558215612496579182015b8281111561249557825182559160200191906001019061247a565b5b5090506124a391906124a7565b5090565b5b808211156124c05760008160009055506001016124a8565b5090565b60006124d76124d284613535565b613510565b905080838252602082019050828560208602820111156124fa576124f9613a55565b5b60005b8581101561252a57816125108882612628565b8452602084019350602083019250506001810190506124fd565b5050509392505050565b600061254761254284613561565b613510565b9050808382526020820190508285602086028201111561256a57612569613a55565b5b60005b8581101561259a57816125808882612734565b84526020840193506020830192505060018101905061256d565b5050509392505050565b60006125b76125b28461358d565b613510565b9050828152602081018484840111156125d3576125d2613a5a565b5b6125de848285613810565b509392505050565b60006125f96125f4846135be565b613510565b90508281526020810184848401111561261557612614613a5a565b5b612620848285613810565b509392505050565b60008135905061263781613f9b565b92915050565b600082601f83011261265257612651613a50565b5b81356126628482602086016124c4565b91505092915050565b600082601f8301126126805761267f613a50565b5b8135612690848260208601612534565b91505092915050565b6000813590506126a881613fb2565b92915050565b6000813590506126bd81613fc9565b92915050565b6000815190506126d281613fc9565b92915050565b600082601f8301126126ed576126ec613a50565b5b81356126fd8482602086016125a4565b91505092915050565b600082601f83011261271b5761271a613a50565b5b813561272b8482602086016125e6565b91505092915050565b60008135905061274381613fe0565b92915050565b60008151905061275881613fe0565b92915050565b60006020828403121561277457612773613a64565b5b600061278284828501612628565b91505092915050565b600080604083850312156127a2576127a1613a64565b5b60006127b085828601612628565b92505060206127c185828601612628565b9150509250929050565b600080600080600060a086880312156127e7576127e6613a64565b5b60006127f588828901612628565b955050602061280688828901612628565b945050604086013567ffffffffffffffff81111561282757612826613a5f565b5b6128338882890161266b565b935050606086013567ffffffffffffffff81111561285457612853613a5f565b5b6128608882890161266b565b925050608086013567ffffffffffffffff81111561288157612880613a5f565b5b61288d888289016126d8565b9150509295509295909350565b600080600080600060a086880312156128b6576128b5613a64565b5b60006128c488828901612628565b95505060206128d588828901612628565b94505060406128e688828901612734565b93505060606128f788828901612734565b925050608086013567ffffffffffffffff81111561291857612917613a5f565b5b612924888289016126d8565b9150509295509295909350565b6000806040838503121561294857612947613a64565b5b600061295685828601612628565b925050602061296785828601612699565b9150509250929050565b6000806040838503121561298857612987613a64565b5b600061299685828601612628565b92505060206129a785828601612734565b9150509250929050565b600080604083850312156129c8576129c7613a64565b5b600083013567ffffffffffffffff8111156129e6576129e5613a5f565b5b6129f28582860161263d565b925050602083013567ffffffffffffffff811115612a1357612a12613a5f565b5b612a1f8582860161266b565b9150509250929050565b600060208284031215612a3f57612a3e613a64565b5b6000612a4d84828501612699565b91505092915050565b600060208284031215612a6c57612a6b613a64565b5b6000612a7a848285016126ae565b91505092915050565b600060208284031215612a9957612a98613a64565b5b6000612aa7848285016126c3565b91505092915050565b600060208284031215612ac657612ac5613a64565b5b600082013567ffffffffffffffff811115612ae457612ae3613a5f565b5b612af084828501612706565b91505092915050565b600060208284031215612b0f57612b0e613a64565b5b6000612b1d84828501612734565b91505092915050565b600060208284031215612b3c57612b3b613a64565b5b6000612b4a84828501612749565b91505092915050565b60008060408385031215612b6a57612b69613a64565b5b6000612b7885828601612734565b925050602083013567ffffffffffffffff811115612b9957612b98613a5f565b5b612ba58582860161266b565b9150509250929050565b6000612bbb8383612fd9565b60208301905092915050565b612bd081613741565b82525050565b6000612be182613614565b612beb8185613642565b9350612bf6836135ef565b8060005b83811015612c27578151612c0e8882612baf565b9750612c1983613635565b925050600181019050612bfa565b5085935050505092915050565b612c3d81613753565b82525050565b612c4c8161375f565b82525050565b612c63612c5e8261375f565b6138fe565b82525050565b6000612c748261361f565b612c7e8185613653565b9350612c8e81856020860161381f565b612c9781613a69565b840191505092915050565b612cab816137fe565b82525050565b6000612cbc8261362a565b612cc68185613664565b9350612cd681856020860161381f565b612cdf81613a69565b840191505092915050565b6000612cf58261362a565b612cff8185613675565b9350612d0f81856020860161381f565b80840191505092915050565b60008154612d2881613852565b612d328186613675565b94506001821660008114612d4d5760018114612d5e57612d91565b60ff19831686528186019350612d91565b612d67856135ff565b60005b83811015612d8957815481890152600182019150602081019050612d6a565b838801955050505b50505092915050565b6000612da7602883613664565b9150612db282613a87565b604082019050919050565b6000612dca602683613664565b9150612dd582613ad6565b604082019050919050565b6000612ded600283613653565b9150612df882613b25565b602082019050919050565b6000612e10602a83613664565b9150612e1b82613b4e565b604082019050919050565b6000612e33602e83613664565b9150612e3e82613b9d565b604082019050919050565b6000612e56602283613664565b9150612e6182613bec565b604082019050919050565b6000612e79602583613664565b9150612e8482613c3b565b604082019050919050565b6000612e9c601483613664565b9150612ea782613c8a565b602082019050919050565b6000612ebf602a83613664565b9150612eca82613cb3565b604082019050919050565b6000612ee2602083613664565b9150612eed82613d02565b602082019050919050565b6000612f05602883613664565b9150612f1082613d2b565b604082019050919050565b6000612f28602983613664565b9150612f3382613d7a565b604082019050919050565b6000612f4b602983613664565b9150612f5682613dc9565b604082019050919050565b6000612f6e602883613664565b9150612f7982613e18565b604082019050919050565b6000612f91602183613664565b9150612f9c82613e67565b604082019050919050565b6000612fb4603483613664565b9150612fbf82613eb6565b604082019050919050565b612fd381613795565b82525050565b612fe2816137c3565b82525050565b612ff1816137c3565b82525050565b613008613003826137c3565b613908565b82525050565b613017816137cd565b82525050565b613026816137dd565b82525050565b60006130388285612c52565b6020820191506130488284612ff7565b6020820191508190509392505050565b60006130648285612d1b565b91506130708284612cea565b91508190509392505050565b60006020820190506130916000830184612bc7565b92915050565b60006040820190506130ac6000830185612bc7565b6130b96020830184612bc7565b9392505050565b600060a0820190506130d56000830188612bc7565b6130e26020830187612bc7565b81810360408301526130f48186612bd6565b905081810360608301526131088185612bd6565b9050818103608083015261311c8184612c69565b90509695505050505050565b600060a08201905061313d6000830187612bc7565b61314a6020830186612bc7565b6131576040830185612ca2565b6131646060830184612fe8565b818103608083015261317581612de0565b905095945050505050565b600060a0820190506131956000830188612bc7565b6131a26020830187612bc7565b6131af6040830186612fe8565b6131bc6060830185612fe8565b81810360808301526131ce8184612c69565b90509695505050505050565b60006040820190506131ef6000830185612bc7565b6131fc6020830184612ca2565b9392505050565b6000602082019050818103600083015261321d8184612bd6565b905092915050565b6000604082019050818103600083015261323f8185612bd6565b905081810360208301526132538184612bd6565b90509392505050565b60006020820190506132716000830184612c34565b92915050565b600060a08201905061328c6000830188612c43565b613299602083018761301d565b6132a66040830186612fca565b6132b3606083018561300e565b6132c0608083018461300e565b9695505050505050565b600060208201905081810360008301526132e48184612cb1565b905092915050565b6000602082019050818103600083015261330581612d9a565b9050919050565b6000602082019050818103600083015261332581612dbd565b9050919050565b6000602082019050818103600083015261334581612e03565b9050919050565b6000602082019050818103600083015261336581612e26565b9050919050565b6000602082019050818103600083015261338581612e49565b9050919050565b600060208201905081810360008301526133a581612e6c565b9050919050565b600060208201905081810360008301526133c581612e8f565b9050919050565b600060208201905081810360008301526133e581612eb2565b9050919050565b6000602082019050818103600083015261340581612ed5565b9050919050565b6000602082019050818103600083015261342581612ef8565b9050919050565b6000602082019050818103600083015261344581612f1b565b9050919050565b6000602082019050818103600083015261346581612f3e565b9050919050565b6000602082019050818103600083015261348581612f61565b9050919050565b600060208201905081810360008301526134a581612f84565b9050919050565b600060208201905081810360008301526134c581612fa7565b9050919050565b60006020820190506134e16000830184612fe8565b92915050565b60006040820190506134fc6000830185612fe8565b6135096020830184612fe8565b9392505050565b600061351a61352b565b90506135268282613884565b919050565b6000604051905090565b600067ffffffffffffffff8211156135505761354f6139ff565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561357c5761357b6139ff565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135a8576135a76139ff565b5b6135b182613a69565b9050602081019050919050565b600067ffffffffffffffff8211156135d9576135d86139ff565b5b6135e282613a69565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061368b826137c3565b9150613696836137c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136cb576136ca613943565b5b828201905092915050565b60006136e1826137f1565b91506136ec836137f1565b92508260ff0382111561370257613701613943565b5b828201905092915050565b6000613718826137c3565b9150613723836137c3565b92508282101561373657613735613943565b5b828203905092915050565b600061374c826137a3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b6000613809826137c3565b9050919050565b82818337600083830152505050565b60005b8381101561383d578082015181840152602081019050613822565b8381111561384c576000848401525b50505050565b6000600282049050600182168061386a57607f821691505b6020821081141561387e5761387d6139a1565b5b50919050565b61388d82613a69565b810181811067ffffffffffffffff821117156138ac576138ab6139ff565b5b80604052505050565b60006138c0826137c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138f3576138f2613943565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061391d826137c3565b9150613928836137c3565b92508261393857613937613972565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613a4d5760046000803e613a4a600051613a7a565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f56616c7565206973206e6f7420636f7272656374000000000000000000000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600060443d1015613f1557613f98565b613f1d61352b565b60043d036004823e80513d602482011167ffffffffffffffff82111715613f45575050613f98565b808201805167ffffffffffffffff811115613f635750505050613f98565b80602083010160043d038501811115613f80575050505050613f98565b613f8f82602001850186613884565b82955050505050505b90565b613fa481613741565b8114613faf57600080fd5b50565b613fbb81613753565b8114613fc657600080fd5b50565b613fd281613769565b8114613fdd57600080fd5b50565b613fe9816137c3565b8114613ff457600080fd5b5056fea2646970667358221220ebb4a6d839037f418e099735acad834a094b2247534d4edf1d0e5bda7521eac064736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990900000000000000000000000000000000000000000000000000000000000002639fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f647973746f70756e6b732e6d7970696e6174612e636c6f75642f697066732f3030302f000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): https://dystopunks.mypinata.cloud/ipfs/000/
Arg [1] : vrfCoordinatorV2Address (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [2] : subId (uint64): 611
Arg [3] : keyHash (bytes32): 0x9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805
Arg [4] : callbackGasLimit (uint32): 500000
Arg [5] : _seed (uint256): 7

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000263
Arg [3] : 9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805
Arg [4] : 000000000000000000000000000000000000000000000000000000000007a120
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [7] : 68747470733a2f2f647973746f70756e6b732e6d7970696e6174612e636c6f75
Arg [8] : 642f697066732f3030302f000000000000000000000000000000000000000000


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.