Contract 0x0e41d5329126966100298246e1d42ede3a662cd8

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa60655590a7ccb796853493992f8493f76dc98232af79aa4dc095608e1f95c46Pillage204341582022-09-29 17:09:333 hrs 26 mins ago0xba55a4ff5e6b79d66a410aeb82f7e9c48e53a7bd IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0x1962186baaaeca33b665b24e1d534b7f44be125ecc9bb168479a4b50caf42b9dPillage204155942022-09-29 6:34:2814 hrs 1 min ago0x6047314dbd7579e3e3f4d7877181780f8e27d938 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.004212511531 26.3254
0xda94bb4b37f62773e9b6b8c6161bb44753d0019be79d3d9e7e077d7912927c33Pillage204155892022-09-29 6:34:1814 hrs 1 min ago0x6047314dbd7579e3e3f4d7877181780f8e27d938 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0xddb3ff54531818629439cc8ebd2bef424fe9aec4992fe9ebcb2ce8e6530a32efPillage204155622022-09-29 6:33:2414 hrs 2 mins ago0xfe45e6abaf8a47e033a21ce750df00f067af33b1 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0xa679109be2244207c392f3fe34cc1d1a085f5e572ef4f70bf2ce20e1c3065653Pillage204155522022-09-29 6:33:0314 hrs 3 mins ago0x6aeeeec29d374e5e80f09264f3cabba4528bfc11 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0xcc8e61326d066ed4a515997d2f050b8a14bede4c599869ecb5447697c5d4690aPillage204067272022-09-29 1:30:5719 hrs 5 mins ago0xe10985548e2b45724f2304428fb0b8f644c45206 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.004313955652 26.959358399
0xbb09f4727c39b1b20ee66d504ed1d2ec3f4b9e2a108fa6e82e72fb007ded746fPillage203665542022-09-28 2:32:551 day 18 hrs ago0xc61a6f30ba0f5a3396966ccd3711782445ff5a85 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0x39505cc80eae055e3c5a9bcf00188d659457706fe9abc7493ae1b58d59fce0ddSet Approval For...203654592022-09-28 1:55:271 day 18 hrs ago0x410c26f2614ae78ddda5d140e7a95ac4aa343629 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.000696791 26.5
0x52abbcec8533734d0acb7f22c40e7667bf03678c22703bb2e79c58f9a2b40e9aSet Approval For...203654422022-09-28 1:54:531 day 18 hrs ago0x410c26f2614ae78ddda5d140e7a95ac4aa343629 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.001224141 26.5
0xc8f60e5b87fab0ba5a05838ec68ff4ba1ac557b70aea6ad0e0b2fea0023f36e7Pillage203650752022-09-28 1:42:091 day 18 hrs ago0x6047314dbd7579e3e3f4d7877181780f8e27d938 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.004266749371 26.664350483
0x3a31ece7c0ee523473e02496ee099dbb230331a7781b7122f24c15daeef5cbb8Pillage203650642022-09-28 1:41:471 day 18 hrs ago0x6047314dbd7579e3e3f4d7877181780f8e27d938 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.004274986207 26.71582524
0x0b7e7a738bf41997075938a6db7bb096673d87a8cad02c55706eae194c418bb1Pillage203650472022-09-28 1:41:101 day 18 hrs ago0xfe45e6abaf8a47e033a21ce750df00f067af33b1 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0x0150f0ba09f9824a2496b564df66a5c37a575fb130ab61f8eb806b878d61671bPillage203650402022-09-28 1:40:561 day 18 hrs ago0x6aeeeec29d374e5e80f09264f3cabba4528bfc11 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0x871750741886a7664b2ff00805cb661a603d775785c78e99ba499804f9b10d18Pillage203584452022-09-27 21:53:391 day 22 hrs ago0xe10985548e2b45724f2304428fb0b8f644c45206 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042510096 26.56598737
0x75327d6a02d6363e7074fec373b0499b0de8943be410c91d1ecaf8546968d9adPillage203577762022-09-27 21:30:351 day 23 hrs ago0xba109916a5f1381845d6fc4a2758c1abd196ff93 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0x404f31543c536feb016965cc711a9edba29bce52c47bfe80a8efcbe9e7865120Pillage203577552022-09-27 21:29:531 day 23 hrs ago0xba109916a5f1381845d6fc4a2758c1abd196ff93 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0x1e31d0062365eaec5633079ac6a6556b328b24cfc533744ed7da18991b9cf35cSet Approval For...203510102022-09-27 17:39:252 days 2 hrs ago0xeeb072ecbe68bd123888a60cafd4c8c4fa02c65b IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.001224141 26.5
0x4d4aa40f67251d4dfb10b085ce7f63ddec4df6ddcb015ce18a2ead383ea5e757Set Approval For...203510072022-09-27 17:39:192 days 2 hrs ago0xeeb072ecbe68bd123888a60cafd4c8c4fa02c65b IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.000696791 26.5
0xbc2d0b72d11fc6ceb1e9ffc1f3681760cc63a232ed74ff94af2ce1c0e6d76176Pillage203243622022-09-27 2:27:052 days 18 hrs ago0xc61a6f30ba0f5a3396966ccd3711782445ff5a85 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0x0c554445c604acb4e7204cd268ae93bd9300189b6f8a170bd579a0cf5a69e079Pillage203238102022-09-27 2:08:112 days 18 hrs ago0xba55a4ff5e6b79d66a410aeb82f7e9c48e53a7bd IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0x7046edcb7f19dc3e3cf422548838f10dd189fee1235bfd092723ac53c00d9330Pillage203156422022-09-26 21:28:032 days 23 hrs ago0xe10985548e2b45724f2304428fb0b8f644c45206 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0x16dfd304967b6138f9f849c91612ee2efba72d314ea24e8953ec8f4b012e2923Pillage203087862022-09-26 17:32:153 days 3 hrs ago0xe561fdbceaa225ccfa080bcd4d84382e27f6d9d9 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00422604897 26.41
0xf761af24f68600d7b2b30f2ed57f02ce1172bc1245771fc6ea79e69be322f9eePillage203084842022-09-26 17:21:523 days 3 hrs ago0xba109916a5f1381845d6fc4a2758c1abd196ff93 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0xf1b10b45188782935dd627902a7d64936c5391fb6db6940283649f7dc590604fPillage203084662022-09-26 17:21:113 days 3 hrs ago0xba109916a5f1381845d6fc4a2758c1abd196ff93 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.0042404505 26.5
0x1c2f7b39c4a2401b79d368aff44bdd92a727676df6e5e3621d325cf742a1644aPillage202738792022-09-25 21:23:123 days 23 hrs ago0xe10985548e2b45724f2304428fb0b8f644c45206 IN  0x0e41d5329126966100298246e1d42ede3a662cd80 AVAX0.00431085798 26.94
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HorribleanzPillageV2

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2022-08-04
*/

// SPDX-License-Identifier: MIT
// Horribleanz Pillage v2 by xrpant for Smolrun

// File: @chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol
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: @chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol


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: @chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol


pragma solidity ^0.8.0;

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);

  function approve(address spender, uint256 value) external returns (bool success);

  function balanceOf(address owner) external view returns (uint256 balance);

  function decimals() external view returns (uint8 decimalPlaces);

  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

  function increaseApproval(address spender, uint256 subtractedValue) external;

  function name() external view returns (string memory tokenName);

  function symbol() external view returns (string memory tokenSymbol);

  function totalSupply() external view returns (uint256 totalTokensIssued);

  function transfer(address to, uint256 value) external returns (bool success);

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  ) external returns (bool success);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool success);
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/IERC1155.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/ERC1155.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;







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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;


/**
 * @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: contracts/pillage.sol
pragma solidity ^0.8.7;

contract HorribleanzPillageV2 is ERC1155Supply, VRFConsumerBaseV2, Ownable, ReentrancyGuard {
    VRFCoordinatorV2Interface COORDINATOR;
    LinkTokenInterface LINKTOKEN;

    using Strings for uint256;

    string public baseURI = "https://spoils-metadata.smolrun.repl.co/api/uri/";
    string public baseExtension = ".json";
    string public name = "Pillage Spoils";
    string public symbol = "SPOIL";

    bool public paused = false;

    // Fuji coordinator. For other networks,
    // see https://docs.chain.link/docs/vrf-contracts/#configurations
    address vrfCoordinator = 0xd5D517aBE5cF79B7e95eC98dB0f0277788aFF634;
    address constant LINK_ADDRESS = 0x5947BB275c521040051D82396192181b413227A3;
    address constant BLNZ_ADDRESS = 0xd4d1980a11A23020B6f7F04D0D9f0feAF323CB35;

    address public subscriptionAddress = 0xc03B9483B53c5b000Fa073D3C4549E0aEE6e2E8e;

    // The gas lane to use, 200 GWEI.
    bytes32 keyHash = 0x83250c5584ffa93feb6ee082981c5ebe484c865196750b39835ad4f13780435d;

    uint256 public requestCounter = 0;
    uint256 public cooldown = 86400;

    // Your subscription ID.
    uint64 s_subscriptionId;

    // Depends on the number of requested values that you want sent to the
    // fulfillRandomWords() function. Storing each word costs about 20,000 gas,
    // so 100,000 is a safe default for this example contract. Test and adjust
    // this limit based on the network that you select, the size of the request,
    // and the processing of the callback request in the fulfillRandomWords()
    // function.
    uint32 callbackGasLimit = 200000;

    // For this example, retrieve 2 random values in one request.
    // Cannot exceed VRFCoordinatorV2.MAX_NUM_WORDS.
    uint32 numWords =  1;

    // The default is 3, but you can set this higher.
    uint16 requestConfirmations = 3;

    mapping(uint256 => address) requestToMintAddress;
    mapping(uint256 => uint256) requestToBlean;
    mapping(uint256 => uint256) s_requestIdToRequestIndex;
    mapping(uint256 => uint256) public tokenLastPillage;
    mapping(uint256 => uint8) public validDropTypes;

    uint256[] public oddsOfSpoils;

    event PillageResults(uint256 horriblean, uint256 spoilId);

    constructor(uint64 subscriptionId) VRFConsumerBaseV2(vrfCoordinator) ERC1155(baseURI) {
        COORDINATOR = VRFCoordinatorV2Interface(vrfCoordinator);
        LINKTOKEN = LinkTokenInterface(LINK_ADDRESS);
        s_subscriptionId = subscriptionId;
        validDropTypes[1] = 1;
        validDropTypes[2] = 1;
        validDropTypes[3] = 1;
        oddsOfSpoils = [40,80,50,0];
    }
    
    // VRF Functions
    function requestRandomWords() internal {
        uint256 requestId = COORDINATOR.requestRandomWords(
        keyHash,
        s_subscriptionId,
        requestConfirmations,
        callbackGasLimit,
        numWords
        );
        s_requestIdToRequestIndex[requestId] = requestCounter;
        requestCounter += 1;
    }

    function fulfillRandomWords(
        uint256 requestId,
        uint256[] memory randomWords
        ) internal override {
        uint256 requestNumber = s_requestIdToRequestIndex[requestId];
        address minter = requestToMintAddress[requestNumber];
        uint256 blean = requestToBlean[requestNumber];
        uint256 rand = randomWords[0] % 100;
        uint256 i = 1;
        bool minted = false;
        
        if (rand > oddsOfSpoils[0]) {
            while (i < oddsOfSpoils.length && !minted) {
                if (rand > oddsOfSpoils[i]) {
                    _mint(minter, i, 1, "");
                    minted = true;
                    emit PillageResults(blean, i);
                } 
                i += 1;
            } 
        } else {
            emit PillageResults(blean, 0);
        }
    }

    // Public Functions
    function pillage(uint256 blean) public nonReentrant {
        require(!paused, "Pillaging is paused!");
        IERC721 blnz = IERC721(BLNZ_ADDRESS);
        require(blnz.ownerOf(blean) == msg.sender, "That's not your blean!");
        require(tokenLastPillage[blean] + cooldown < block.timestamp, "That Blean is tired!");

        uint req = requestCounter;
        requestToMintAddress[req] = msg.sender;
        requestToBlean[req] = blean;
        tokenLastPillage[blean] = block.timestamp;
        requestRandomWords();
    }

    // View Functions
    function uri(uint256 typeId) public view override returns (string memory) {
        require(validDropTypes[typeId] == 1, "Invalid drop type!");
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, typeId.toString(), ".json"))
                : "";
    }

    // Admin Functions
    function setSub(address _newAddress) public onlyOwner {
        subscriptionAddress = _newAddress;
    }

    function setSubId(uint64 _newAmount) public onlyOwner {
        s_subscriptionId = _newAmount;
    }

    function setCallbackGasLimit(uint32 _newAmount) public onlyOwner {
        callbackGasLimit = _newAmount;
    }

    function setKeyHash(bytes32 _newKeyHash) public onlyOwner {
        keyHash = _newKeyHash;
    }

    function setCooldown(uint256 _newAmount) public onlyOwner {
        cooldown = _newAmount;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }

    function flipPaused() public onlyOwner {
        paused = !paused;
    }

    function replaceOdds(uint256[] calldata _newOdds) public onlyOwner {
        delete oddsOfSpoils;
        oddsOfSpoils = _newOdds;
    }

    function addDropType(uint256 id) public onlyOwner {
        validDropTypes[id] = 1;
    }

    function mintItem(uint256 id, uint256 amount, address to) public onlyOwner {
        _mint(to, id, amount, "");
    }

}

Contract ABI

[{"inputs":[{"internalType":"uint64","name":"subscriptionId","type":"uint64"}],"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":false,"internalType":"uint256","name":"horriblean","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"spoilId","type":"uint256"}],"name":"PillageResults","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"addDropType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cooldown","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":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oddsOfSpoils","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blean","type":"uint256"}],"name":"pillage","outputs":[],"stateMutability":"nonpayable","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":"uint256[]","name":"_newOdds","type":"uint256[]"}],"name":"replaceOdds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_newAmount","type":"uint32"}],"name":"setCallbackGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newKeyHash","type":"bytes32"}],"name":"setKeyHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setSub","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newAmount","type":"uint64"}],"name":"setSubId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"subscriptionAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenLastPillage","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":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validDropTypes","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]

610100604052603060a08181529062002d0f60c03980516200002a9160089160209091019062000408565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000599160099162000408565b5060408051808201909152600e8082526d50696c6c6167652053706f696c7360901b60209092019182526200009191600a9162000408565b506040805180820190915260058082526414d413d25360da1b6020909201918252620000c091600b9162000408565b50600c80546001600160a81b03191674d5d517abe5cf79b7e95ec98db0f0277788aff63400179055600d805473c03b9483b53c5b000fa073d3c4549e0aee6e2e8e6001600160a01b03199091161790557f83250c5584ffa93feb6ee082981c5ebe484c865196750b39835ad4f13780435d600e556000600f556201518060105560118054600160401b600160901b03191670030000000100030d4000000000000000001790553480156200017357600080fd5b5060405162002d3f38038062002d3f8339810160408190526200019691620004f1565b600c60019054906101000a90046001600160a01b031660088054620001bb9062000523565b80601f0160208091040260200160405190810160405280929190818152602001828054620001e99062000523565b80156200023a5780601f106200020e576101008083540402835291602001916200023a565b820191906000526020600020905b8154815290600101906020018083116200021c57829003601f168201915b505050505062000250816200039d60201b60201c565b506001600160a01b03166080526200026833620003b6565b60016005819055600c54600680546101009092046001600160a01b03166001600160a01b031992831617905560078054735947bb275c521040051d82396192181b413227a39216919091179055601180546001600160401b0319166001600160401b038416179055601660209081527f4c4dc693d7db52f85fe052106f4b4b920e78e8ef37dee82878a60ab8585faf49805460ff1990811684179091557fcaff291fe014adc6b72a172705750b4cabe8f8667664d2924a166caab28856488054821684179055600360009081527ff06d282f967055cb1eee17e04aa005b9682a620f4bbcfaee55ba78607a3d87ae80549092169093179055604080516080810182526028815260509281019290925260329082015260608101919091526200039590601790600462000497565b50506200055f565b8051620003b290600290602084019062000408565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620004169062000523565b90600052602060002090601f0160209004810192826200043a576000855562000485565b82601f106200045557805160ff191683800117855562000485565b8280016001018555821562000485579182015b828111156200048557825182559160200191906001019062000468565b5062000493929150620004da565b5090565b82805482825590600052602060002090810192821562000485579160200282015b8281111562000485578251829060ff16905591602001919060010190620004b8565b5b80821115620004935760008155600101620004db565b6000602082840312156200050457600080fd5b81516001600160401b03811681146200051c57600080fd5b9392505050565b600181811c908216806200053857607f821691505b6020821081036200055957634e487b7160e01b600052602260045260246000fd5b50919050565b60805161278d620005826000396000818161078d01526107cf015261278d6000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063a22cb465116100b8578063da3ef23f1161007c578063da3ef23f146104cf578063e985e9c5146104e2578063edd7a0291461051e578063f242432a14610531578063f2fde38b1461054457600080fd5b8063a22cb46514610461578063a4eb718c14610474578063bd85b03914610487578063be28b75b146104a7578063c6682862146104c757600080fd5b80638ea40588116100ff5780638ea40588146103f557806395d89b411461042a578063973a814e14610432578063985447101461043b5780639b6507f01461044e57600080fd5b8063715018a6146103c0578063787a08a6146103c85780638331485b146103d15780638da5cb5b146103e457600080fd5b80634e1273f4116101b357806355f804b31161018257806355f804b3146103725780635c3c2849146103855780635c975abb146103985780636742caaf146103a55780636c0360eb146103b857600080fd5b80634e1273f4146102f25780634f558e79146103125780634fc3f41a14610334578063508ca9f11461034757600080fd5b80631fe543e3116101fa5780631fe543e31461029c57806326ef7612146102b15780632eb2c2d6146102c4578063333171bb146102d75780633e2831fe146102df57600080fd5b8062fdd58e1461022b57806301ffc9a71461025157806306fdde03146102745780630e89341c14610289575b600080fd5b61023e610239366004611c36565b610557565b6040519081526020015b60405180910390f35b61026461025f366004611c78565b6105ed565b6040519015158152602001610248565b61027c61063f565b6040516102489190611cf8565b61027c610297366004611d0b565b6106cd565b6102af6102aa366004611dfa565b610782565b005b6102af6102bf366004611d0b565b61080a565b6102af6102d2366004611ebd565b61082d565b6102af610879565b6102af6102ed366004611f6a565b610895565b610305610300366004611f93565b6108c0565b6040516102489190612090565b610264610320366004611d0b565b600090815260036020526040902054151590565b6102af610342366004611d0b565b6109e9565b600d5461035a906001600160a01b031681565b6040516001600160a01b039091168152602001610248565b6102af6103803660046120a3565b6109f6565b6102af6103933660046120eb565b610a11565b600c546102649060ff1681565b61023e6103b3366004611d0b565b610a36565b61027c610a57565b6102af610a64565b61023e60105481565b6102af6103df36600461215f565b610a78565b6004546001600160a01b031661035a565b610418610403366004611d0b565b60166020526000908152604090205460ff1681565b60405160ff9091168152602001610248565b61027c610aa2565b61023e600f5481565b6102af610449366004611d0b565b610aaf565b6102af61045c36600461217c565b610abc565b6102af61046f3660046121b5565b610adf565b6102af6104823660046121f3565b610aea565b61023e610495366004611d0b565b60009081526003602052604090205490565b61023e6104b5366004611d0b565b60156020526000908152604090205481565b61027c610b1d565b6102af6104dd3660046120a3565b610b2a565b6102646104f0366004612219565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102af61052c366004611d0b565b610b45565b6102af61053f366004612247565b610d5b565b6102af61055236600461215f565b610da0565b60006001600160a01b0383166105c75760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061061e57506001600160e01b031982166303a24d0760e21b145b8061063957506301ffc9a760e01b6001600160e01b03198316145b92915050565b600a805461064c906122af565b80601f0160208091040260200160405190810160405280929190818152602001828054610678906122af565b80156106c55780601f1061069a576101008083540402835291602001916106c5565b820191906000526020600020905b8154815290600101906020018083116106a857829003601f168201915b505050505081565b60008181526016602052604090205460609060ff166001146107265760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642064726f7020747970652160701b60448201526064016105be565b600060088054610735906122af565b9050116107515760405180602001604052806000815250610639565b600861075c83610e19565b60405160200161076d929190612305565b60405160208183030381529060405292915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107fc5760405163073e64fd60e21b81523360048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660248201526044016105be565b6108068282610f21565b5050565b61081261109d565b6000908152601660205260409020805460ff19166001179055565b6001600160a01b038516331480610849575061084985336104f0565b6108655760405162461bcd60e51b81526004016105be906123bf565b61087285858585856110f7565b5050505050565b61088161109d565b600c805460ff19811660ff90911615179055565b61089d61109d565b6011805467ffffffffffffffff19166001600160401b0392909216919091179055565b606081518351146109255760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105be565b600083516001600160401b0381111561094057610940611d24565b604051908082528060200260200182016040528015610969578160200160208202803683370190505b50905060005b84518110156109e1576109b485828151811061098d5761098d61240e565b60200260200101518583815181106109a7576109a761240e565b6020026020010151610557565b8282815181106109c6576109c661240e565b60209081029190910101526109da8161243a565b905061096f565b509392505050565b6109f161109d565b601055565b6109fe61109d565b8051610806906008906020840190611b2f565b610a1961109d565b610a2560176000611bb3565b610a3160178383611bd1565b505050565b60178181548110610a4657600080fd5b600091825260209091200154905081565b6008805461064c906122af565b610a6c61109d565b610a7660006112e2565b565b610a8061109d565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600b805461064c906122af565b610ab761109d565b600e55565b610ac461109d565b610a3181848460405180602001604052806000815250611334565b610806338383611457565b610af261109d565b6011805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b6009805461064c906122af565b610b3261109d565b8051610806906009906020840190611b2f565b600260055403610b975760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105be565b6002600555600c5460ff1615610be65760405162461bcd60e51b815260206004820152601460248201527350696c6c6167696e67206973207061757365642160601b60448201526064016105be565b6040516331a9108f60e11b81526004810182905273d4d1980a11a23020b6f7f04d0d9f0feaf323cb359033908290636352211e90602401602060405180830381865afa158015610c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5e9190612453565b6001600160a01b031614610cad5760405162461bcd60e51b8152602060048201526016602482015275546861742773206e6f7420796f757220626c65616e2160501b60448201526064016105be565b6010546000838152601560205260409020544291610cca91612470565b10610d0e5760405162461bcd60e51b81526020600482015260146024820152735468617420426c65616e2069732074697265642160601b60448201526064016105be565b600f54600081815260126020908152604080832080546001600160a01b031916331790556013825280832086905585835260159091529020429055610d51611537565b5050600160055550565b6001600160a01b038516331480610d775750610d7785336104f0565b610d935760405162461bcd60e51b81526004016105be906123bf565b610872858585858561161d565b610da861109d565b6001600160a01b038116610e0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105be565b610e16816112e2565b50565b606081600003610e405750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e6a5780610e548161243a565b9150610e639050600a8361249e565b9150610e44565b6000816001600160401b03811115610e8457610e84611d24565b6040519080825280601f01601f191660200182016040528015610eae576020820181803683370190505b5090505b8415610f1957610ec36001836124b2565b9150610ed0600a866124c9565b610edb906030612470565b60f81b818381518110610ef057610ef061240e565b60200101906001600160f81b031916908160001a905350610f12600a8661249e565b9450610eb2565b949350505050565b6000828152601460209081526040808320548084526012835281842054601390935290832054845191936001600160a01b0390931692909160649086908390610f6c57610f6c61240e565b6020026020010151610f7e91906124c9565b905060006001905060006017600081548110610f9c57610f9c61240e565b9060005260206000200154831115611059575b60175482108015610fbe575080155b156110545760178281548110610fd657610fd661240e565b9060005260206000200154831115611042576110048583600160405180602001604052806000815250611334565b5060408051848152602081018390526001917fa32f7f0d93dd1d5bda383f2dbaae6822fa1ce9a31cb49e5cf68997cdf252b62a910160405180910390a15b61104d600183612470565b9150610faf565b611093565b60408051858152600060208201527fa32f7f0d93dd1d5bda383f2dbaae6822fa1ce9a31cb49e5cf68997cdf252b62a910160405180910390a15b5050505050505050565b6004546001600160a01b03163314610a765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105be565b81518351146111595760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016105be565b6001600160a01b03841661117f5760405162461bcd60e51b81526004016105be906124dd565b3361118e818787878787611755565b60005b84518110156112745760008582815181106111ae576111ae61240e565b6020026020010151905060008583815181106111cc576111cc61240e565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561121c5760405162461bcd60e51b81526004016105be90612522565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611259908490612470565b925050819055505050508061126d9061243a565b9050611191565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516112c492919061256c565b60405180910390a46112da8187878787876118ce565b505050505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166113945760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105be565b3360006113a085611a29565b905060006113ad85611a29565b90506113be83600089858589611755565b6000868152602081815260408083206001600160a01b038b168452909152812080548792906113ee908490612470565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461144e83600089898989611a74565b50505050505050565b816001600160a01b0316836001600160a01b0316036114ca5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105be565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600654600e546011546040516305d3b1d360e41b815260048101929092526001600160401b038116602483015261ffff600160801b820416604483015263ffffffff600160401b820481166064840152600160601b9091041660848201526000916001600160a01b031690635d3b1d309060a4016020604051808303816000875af11580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee9190612591565b600f8054600083815260146020526040812082905592935060019290611615908490612470565b909155505050565b6001600160a01b0384166116435760405162461bcd60e51b81526004016105be906124dd565b33600061164f85611a29565b9050600061165c85611a29565b905061166c838989858589611755565b6000868152602081815260408083206001600160a01b038c168452909152902054858110156116ad5760405162461bcd60e51b81526004016105be90612522565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906116ea908490612470565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461174a848a8a8a8a8a611a74565b505050505050505050565b6001600160a01b0385166117dc5760005b83518110156117da578281815181106117815761178161240e565b60200260200101516003600086848151811061179f5761179f61240e565b6020026020010151815260200190815260200160002060008282546117c49190612470565b909155506117d390508161243a565b9050611766565b505b6001600160a01b0384166112da5760005b835181101561144e57600084828151811061180a5761180a61240e565b6020026020010151905060008483815181106118285761182861240e565b60200260200101519050600060036000848152602001908152602001600020549050818110156118ab5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b60648201526084016105be565b600092835260036020526040909220910390556118c78161243a565b90506117ed565b6001600160a01b0384163b156112da5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061191290899089908890889088906004016125aa565b6020604051808303816000875af192505050801561194d575060408051601f3d908101601f1916820190925261194a91810190612608565b60015b6119f957611959612625565b806308c379a003611992575061196d612641565b806119785750611994565b8060405162461bcd60e51b81526004016105be9190611cf8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105be565b6001600160e01b0319811663bc197c8160e01b1461144e5760405162461bcd60e51b81526004016105be906126ca565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a6357611a6361240e565b602090810291909101015292915050565b6001600160a01b0384163b156112da5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ab89089908990889088908890600401612712565b6020604051808303816000875af1925050508015611af3575060408051601f3d908101601f19168201909252611af091810190612608565b60015b611aff57611959612625565b6001600160e01b0319811663f23a6e6160e01b1461144e5760405162461bcd60e51b81526004016105be906126ca565b828054611b3b906122af565b90600052602060002090601f016020900481019282611b5d5760008555611ba3565b82601f10611b7657805160ff1916838001178555611ba3565b82800160010185558215611ba3579182015b82811115611ba3578251825591602001919060010190611b88565b50611baf929150611c0c565b5090565b5080546000825590600052602060002090810190610e169190611c0c565b828054828255906000526020600020908101928215611ba3579160200282015b82811115611ba3578235825591602001919060010190611bf1565b5b80821115611baf5760008155600101611c0d565b6001600160a01b0381168114610e1657600080fd5b60008060408385031215611c4957600080fd5b8235611c5481611c21565b946020939093013593505050565b6001600160e01b031981168114610e1657600080fd5b600060208284031215611c8a57600080fd5b8135611c9581611c62565b9392505050565b60005b83811015611cb7578181015183820152602001611c9f565b83811115611cc6576000848401525b50505050565b60008151808452611ce4816020860160208601611c9c565b601f01601f19169290920160200192915050565b602081526000611c956020830184611ccc565b600060208284031215611d1d57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611d5f57611d5f611d24565b6040525050565b60006001600160401b03821115611d7f57611d7f611d24565b5060051b60200190565b600082601f830112611d9a57600080fd5b81356020611da782611d66565b604051611db48282611d3a565b83815260059390931b8501820192828101915086841115611dd457600080fd5b8286015b84811015611def5780358352918301918301611dd8565b509695505050505050565b60008060408385031215611e0d57600080fd5b8235915060208301356001600160401b03811115611e2a57600080fd5b611e3685828601611d89565b9150509250929050565b60006001600160401b03831115611e5957611e59611d24565b604051611e70601f8501601f191660200182611d3a565b809150838152848484011115611e8557600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611eae57600080fd5b611c9583833560208501611e40565b600080600080600060a08688031215611ed557600080fd5b8535611ee081611c21565b94506020860135611ef081611c21565b935060408601356001600160401b0380821115611f0c57600080fd5b611f1889838a01611d89565b94506060880135915080821115611f2e57600080fd5b611f3a89838a01611d89565b93506080880135915080821115611f5057600080fd5b50611f5d88828901611e9d565b9150509295509295909350565b600060208284031215611f7c57600080fd5b81356001600160401b0381168114611c9557600080fd5b60008060408385031215611fa657600080fd5b82356001600160401b0380821115611fbd57600080fd5b818501915085601f830112611fd157600080fd5b81356020611fde82611d66565b604051611feb8282611d3a565b83815260059390931b850182019282810191508984111561200b57600080fd5b948201945b8386101561203257853561202381611c21565b82529482019490820190612010565b9650508601359250508082111561204857600080fd5b50611e3685828601611d89565b600081518084526020808501945080840160005b8381101561208557815187529582019590820190600101612069565b509495945050505050565b602081526000611c956020830184612055565b6000602082840312156120b557600080fd5b81356001600160401b038111156120cb57600080fd5b8201601f810184136120dc57600080fd5b610f1984823560208401611e40565b600080602083850312156120fe57600080fd5b82356001600160401b038082111561211557600080fd5b818501915085601f83011261212957600080fd5b81358181111561213857600080fd5b8660208260051b850101111561214d57600080fd5b60209290920196919550909350505050565b60006020828403121561217157600080fd5b8135611c9581611c21565b60008060006060848603121561219157600080fd5b833592506020840135915060408401356121aa81611c21565b809150509250925092565b600080604083850312156121c857600080fd5b82356121d381611c21565b9150602083013580151581146121e857600080fd5b809150509250929050565b60006020828403121561220557600080fd5b813563ffffffff81168114611c9557600080fd5b6000806040838503121561222c57600080fd5b823561223781611c21565b915060208301356121e881611c21565b600080600080600060a0868803121561225f57600080fd5b853561226a81611c21565b9450602086013561227a81611c21565b9350604086013592506060860135915060808601356001600160401b038111156122a357600080fd5b611f5d88828901611e9d565b600181811c908216806122c357607f821691505b6020821081036122e357634e487b7160e01b600052602260045260246000fd5b50919050565b600081516122fb818560208601611c9c565b9290920192915050565b600080845481600182811c91508083168061232157607f831692505b6020808410820361234057634e487b7160e01b86526022600452602486fd5b818015612354576001811461236557612392565b60ff19861689528489019650612392565b60008b81526020902060005b8681101561238a5781548b820152908501908301612371565b505084890196505b5050505050506123b66123a582866122e9565b64173539b7b760d91b815260050190565b95945050505050565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161244c5761244c612424565b5060010190565b60006020828403121561246557600080fd5b8151611c9581611c21565b6000821982111561248357612483612424565b500190565b634e487b7160e01b600052601260045260246000fd5b6000826124ad576124ad612488565b500490565b6000828210156124c4576124c4612424565b500390565b6000826124d8576124d8612488565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061257f6040830185612055565b82810360208401526123b68185612055565b6000602082840312156125a357600080fd5b5051919050565b6001600160a01b0386811682528516602082015260a0604082018190526000906125d690830186612055565b82810360608401526125e88186612055565b905082810360808401526125fc8185611ccc565b98975050505050505050565b60006020828403121561261a57600080fd5b8151611c9581611c62565b600060033d111561263e5760046000803e5060005160e01c5b90565b600060443d101561264f5790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561267e57505050505090565b82850191508151818111156126965750505050505090565b843d87010160208285010111156126b05750505050505090565b6126bf60208286010187611d3a565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061274c90830184611ccc565b97965050505050505056fea26469706673582212206ad37255d1da1cbde8f6092a8754b549b749d64017c2fb331aed3882b876735d64736f6c634300080d003368747470733a2f2f73706f696c732d6d657461646174612e736d6f6c72756e2e7265706c2e636f2f6170692f7572692f0000000000000000000000000000000000000000000000000000000000000014

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

0000000000000000000000000000000000000000000000000000000000000014

-----Decoded View---------------
Arg [0] : subscriptionId (uint64): 20

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000014


Deployed ByteCode Sourcemap

69119:6076:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51447:230;;;;;;:::i;:::-;;:::i;:::-;;;616:25:1;;;604:2;589:18;51447:230:0;;;;;;;;50470:310;;;;;;:::i;:::-;;:::i;:::-;;;1203:14:1;;1196:22;1178:41;;1166:2;1151:18;50470:310:0;1038:187:1;69458:37:0;;;:::i;:::-;;;;;;;:::i;73596:310::-;;;;;;:::i;:::-;;:::i;6857:261::-;;;;;;:::i;:::-;;:::i;:::-;;74972:91;;;;;;:::i;:::-;;:::i;53391:439::-;;;;;;:::i;:::-;;:::i;74743:74::-;;;:::i;74052:102::-;;;;;;:::i;:::-;;:::i;51843:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;67925:122::-;;;;;;:::i;:::-;67982:4;67803:16;;;:12;:16;;;;;;-1:-1:-1;;;67925:122:0;74389:98;;;;;;:::i;:::-;;:::i;69931:79::-;;;;;-1:-1:-1;;;;;69931:79:0;;;;;;-1:-1:-1;;;;;8127:32:1;;;8109:51;;8097:2;8082:18;69931:79:0;7963:203:1;74495:104:0;;;;;;:::i;:::-;;:::i;74825:139::-;;;;;;:::i;:::-;;:::i;69541:26::-;;;;;;;;;71273:29;;;;;;:::i;:::-;;:::i;69333:74::-;;;:::i;25725:103::-;;;:::i;70191:31::-;;;;;;73938:106;;;;;;:::i;:::-;;:::i;25077:87::-;25150:6;;-1:-1:-1;;;;;25150:6:0;25077:87;;71217:47;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9670:4:1;9658:17;;;9640:36;;9628:2;9613:18;71217:47:0;9498:184:1;69502:30:0;;;:::i;70151:33::-;;;;;;74283:98;;;;;;:::i;:::-;;:::i;75071:119::-;;;;;;:::i;:::-;;:::i;52440:155::-;;;;;;:::i;:::-;;:::i;74162:113::-;;;;;;:::i;:::-;;:::i;67714:::-;;;;;;:::i;:::-;67776:7;67803:16;;;:12;:16;;;;;;;67714:113;71159:51;;;;;;:::i;:::-;;;;;;;;;;;;;;69414:37;;;:::i;74607:128::-;;;;;;:::i;:::-;;:::i;52667:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;52790:27:0;;;52766:4;52790:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;52667:168;73024:541;;;;;;:::i;:::-;;:::i;52907:407::-;;;;;;:::i;:::-;;:::i;25983:201::-;;;;;;:::i;:::-;;:::i;51447:230::-;51533:7;-1:-1:-1;;;;;51561:21:0;;51553:76;;;;-1:-1:-1;;;51553:76:0;;12296:2:1;51553:76:0;;;12278:21:1;12335:2;12315:18;;;12308:30;12374:34;12354:18;;;12347:62;-1:-1:-1;;;12425:18:1;;;12418:40;12475:19;;51553:76:0;;;;;;;;;-1:-1:-1;51647:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;51647:22:0;;;;;;;;;;;;51447:230::o;50470:310::-;50572:4;-1:-1:-1;;;;;;50609:41:0;;-1:-1:-1;;;50609:41:0;;:110;;-1:-1:-1;;;;;;;50667:52:0;;-1:-1:-1;;;50667:52:0;50609:110;:163;;;-1:-1:-1;;;;;;;;;;41860:40:0;;;50736:36;50589:183;50470:310;-1:-1:-1;;50470:310:0:o;69458:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;73596:310::-;73689:22;;;;:14;:22;;;;;;73655:13;;73689:22;;;:27;73681:58;;;;-1:-1:-1;;;73681:58:0;;13092:2:1;73681:58:0;;;13074:21:1;13131:2;13111:18;;;13104:30;-1:-1:-1;;;13150:18:1;;;13143:48;13208:18;;73681:58:0;12890:342:1;73681:58:0;73794:1;73776:7;73770:21;;;;;:::i;:::-;;;:25;:128;;;;;;;;;;;;;;;;;73839:7;73848:17;:6;:15;:17::i;:::-;73822:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73750:148;73596:310;-1:-1:-1;;73596:310:0:o;6857:261::-;6957:10;-1:-1:-1;;;;;6971:14:0;6957:28;;6953:111;;7003:53;;-1:-1:-1;;;7003:53:0;;7029:10;7003:53;;;15189:34:1;-1:-1:-1;;;;;7041:14:0;15259:15:1;15239:18;;;15232:43;15124:18;;7003:53:0;14977:304:1;6953:111:0;7070:42;7089:9;7100:11;7070:18;:42::i;:::-;6857:261;;:::o;74972:91::-;24963:13;:11;:13::i;:::-;75033:18:::1;::::0;;;:14:::1;:18;::::0;;;;:22;;-1:-1:-1;;75033:22:0::1;75054:1;75033:22;::::0;;74972:91::o;53391:439::-;-1:-1:-1;;;;;53624:20:0;;23708:10;53624:20;;:60;;-1:-1:-1;53648:36:0;53665:4;23708:10;52667:168;:::i;53648:36::-;53602:157;;;;-1:-1:-1;;;53602:157:0;;;;;;;:::i;:::-;53770:52;53793:4;53799:2;53803:3;53808:7;53817:4;53770:22;:52::i;:::-;53391:439;;;;;:::o;74743:74::-;24963:13;:11;:13::i;:::-;74803:6:::1;::::0;;-1:-1:-1;;74793:16:0;::::1;74803:6;::::0;;::::1;74802:7;74793:16;::::0;;74743:74::o;74052:102::-;24963:13;:11;:13::i;:::-;74117:16:::1;:29:::0;;-1:-1:-1;;74117:29:0::1;-1:-1:-1::0;;;;;74117:29:0;;;::::1;::::0;;;::::1;::::0;;74052:102::o;51843:524::-;51999:16;52060:3;:10;52041:8;:15;:29;52033:83;;;;-1:-1:-1;;;52033:83:0;;15904:2:1;52033:83:0;;;15886:21:1;15943:2;15923:18;;;15916:30;15982:34;15962:18;;;15955:62;-1:-1:-1;;;16033:18:1;;;16026:39;16082:19;;52033:83:0;15702:405:1;52033:83:0;52129:30;52176:8;:15;-1:-1:-1;;;;;52162:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52162:30:0;;52129:63;;52210:9;52205:122;52229:8;:15;52225:1;:19;52205:122;;;52285:30;52295:8;52304:1;52295:11;;;;;;;;:::i;:::-;;;;;;;52308:3;52312:1;52308:6;;;;;;;;:::i;:::-;;;;;;;52285:9;:30::i;:::-;52266:13;52280:1;52266:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;52246:3;;;:::i;:::-;;;52205:122;;;-1:-1:-1;52346:13:0;51843:524;-1:-1:-1;;;51843:524:0:o;74389:98::-;24963:13;:11;:13::i;:::-;74458:8:::1;:21:::0;74389:98::o;74495:104::-;24963:13;:11;:13::i;:::-;74570:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;74825:139::-:0;24963:13;:11;:13::i;:::-;74903:19:::1;74910:12;;74903:19;:::i;:::-;74933:23;:12;74948:8:::0;;74933:23:::1;:::i;:::-;;74825:139:::0;;:::o;71273:29::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71273:29:0;:::o;69333:74::-;;;;;;;:::i;25725:103::-;24963:13;:11;:13::i;:::-;25790:30:::1;25817:1;25790:18;:30::i;:::-;25725:103::o:0;73938:106::-;24963:13;:11;:13::i;:::-;74003:19:::1;:33:::0;;-1:-1:-1;;;;;;74003:33:0::1;-1:-1:-1::0;;;;;74003:33:0;;;::::1;::::0;;;::::1;::::0;;73938:106::o;69502:30::-;;;;;;;:::i;74283:98::-;24963:13;:11;:13::i;:::-;74352:7:::1;:21:::0;74283:98::o;75071:119::-;24963:13;:11;:13::i;:::-;75157:25:::1;75163:2;75167;75171:6;75157:25;;;;;;;;;;;::::0;:5:::1;:25::i;52440:155::-:0;52535:52;23708:10;52568:8;52578;52535:18;:52::i;74162:113::-;24963:13;:11;:13::i;:::-;74238:16:::1;:29:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;74238:29:0::1;-1:-1:-1::0;;74238:29:0;;::::1;::::0;;;::::1;::::0;;74162:113::o;69414:37::-;;;;;;;:::i;74607:128::-;24963:13;:11;:13::i;:::-;74694:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;73024:541::-:0;19123:1;19721:7;;:19;19713:63;;;;-1:-1:-1;;;19713:63:0;;16718:2:1;19713:63:0;;;16700:21:1;16757:2;16737:18;;;16730:30;16796:33;16776:18;;;16769:61;16847:18;;19713:63:0;16516:355:1;19713:63:0;19123:1;19854:7;:18;73096:6:::1;::::0;::::1;;73095:7;73087:40;;;::::0;-1:-1:-1;;;73087:40:0;;17078:2:1;73087:40:0::1;::::0;::::1;17060:21:1::0;17117:2;17097:18;;;17090:30;-1:-1:-1;;;17136:18:1;;;17129:50;17196:18;;73087:40:0::1;16876:344:1::0;73087:40:0::1;73193:19;::::0;-1:-1:-1;;;73193:19:0;;::::1;::::0;::::1;616:25:1::0;;;69880:42:0::1;::::0;73216:10:::1;::::0;69880:42;;73193:12:::1;::::0;589:18:1;;73193:19:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;73193:33:0::1;;73185:68;;;::::0;-1:-1:-1;;;73185:68:0;;17683:2:1;73185:68:0::1;::::0;::::1;17665:21:1::0;17722:2;17702:18;;;17695:30;-1:-1:-1;;;17741:18:1;;;17734:52;17803:18;;73185:68:0::1;17481:346:1::0;73185:68:0::1;73298:8;::::0;73272:23:::1;::::0;;;:16:::1;:23;::::0;;;;;73309:15:::1;::::0;73272:34:::1;::::0;::::1;:::i;:::-;:52;73264:85;;;::::0;-1:-1:-1;;;73264:85:0;;18167:2:1;73264:85:0::1;::::0;::::1;18149:21:1::0;18206:2;18186:18;;;18179:30;-1:-1:-1;;;18225:18:1;;;18218:50;18285:18;;73264:85:0::1;17965:344:1::0;73264:85:0::1;73373:14;::::0;73362:8:::1;73398:25:::0;;;:20:::1;:25;::::0;;;;;;;:38;;-1:-1:-1;;;;;;73398:38:0::1;73426:10;73398:38;::::0;;73447:14:::1;:19:::0;;;;;:27;;;73485:23;;;:16:::1;:23:::0;;;;;73511:15:::1;73485:41:::0;;73537:20:::1;:18;:20::i;:::-;-1:-1:-1::0;;19079:1:0;20033:7;:22;-1:-1:-1;73024:541:0:o;52907:407::-;-1:-1:-1;;;;;53115:20:0;;23708:10;53115:20;;:60;;-1:-1:-1;53139:36:0;53156:4;23708:10;52667:168;:::i;53139:36::-;53093:157;;;;-1:-1:-1;;;53093:157:0;;;;;;;:::i;:::-;53261:45;53279:4;53285:2;53289;53293:6;53301:4;53261:17;:45::i;25983:201::-;24963:13;:11;:13::i;:::-;-1:-1:-1;;;;;26072:22:0;::::1;26064:73;;;::::0;-1:-1:-1;;;26064:73:0;;18516:2:1;26064:73:0::1;::::0;::::1;18498:21:1::0;18555:2;18535:18;;;18528:30;18594:34;18574:18;;;18567:62;-1:-1:-1;;;18645:18:1;;;18638:36;18691:19;;26064:73:0::1;18314:402:1::0;26064:73:0::1;26148:28;26167:8;26148:18;:28::i;:::-;25983:201:::0;:::o;13779:723::-;13835:13;14056:5;14065:1;14056:10;14052:53;;-1:-1:-1;;14083:10:0;;;;;;;;;;;;-1:-1:-1;;;14083:10:0;;;;;13779:723::o;14052:53::-;14130:5;14115:12;14171:78;14178:9;;14171:78;;14204:8;;;;:::i;:::-;;-1:-1:-1;14227:10:0;;-1:-1:-1;14235:2:0;14227:10;;:::i;:::-;;;14171:78;;;14259:19;14291:6;-1:-1:-1;;;;;14281:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14281:17:0;;14259:39;;14309:154;14316:10;;14309:154;;14343:11;14353:1;14343:11;;:::i;:::-;;-1:-1:-1;14412:10:0;14420:2;14412:5;:10;:::i;:::-;14399:24;;:2;:24;:::i;:::-;14386:39;;14369:6;14376;14369:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;14369:56:0;;;;;;;;-1:-1:-1;14440:11:0;14449:2;14440:11;;:::i;:::-;;;14309:154;;;14487:6;13779:723;-1:-1:-1;;;;13779:723:0:o;72147:844::-;72282:21;72306:36;;;:25;:36;;;;;;;;;72370:35;;;:20;:35;;;;;;72432:14;:29;;;;;;;72487:14;;72306:36;;-1:-1:-1;;;;;72370:35:0;;;;72432:29;;72504:3;;72487:11;;72282:21;;72487:14;;;;:::i;:::-;;;;;;;:20;;;;:::i;:::-;72472:35;;72518:9;72530:1;72518:13;;72542:11;72593:12;72606:1;72593:15;;;;;;;;:::i;:::-;;;;;;;;;72586:4;:22;72582:402;;;72625:285;72636:12;:19;72632:23;;:34;;;;;72660:6;72659:7;72632:34;72625:285;;;72698:12;72711:1;72698:15;;;;;;;;:::i;:::-;;;;;;;;;72691:4;:22;72687:182;;;72738:23;72744:6;72752:1;72755;72738:23;;;;;;;;;;;;:5;:23::i;:::-;-1:-1:-1;72825:24:0;;;19399:25:1;;;19455:2;19440:18;;19433:34;;;72793:4:0;;72825:24;;19372:18:1;72825:24:0;;;;;;;72687:182;72888:6;72893:1;72888:6;;:::i;:::-;;;72625:285;;;72582:402;;;72948:24;;;19399:25:1;;;72970:1:0;19455:2:1;19440:18;;19433:34;72948:24:0;;19372:18:1;72948:24:0;;;;;;;72582:402;72271:720;;;;;;72147:844;;:::o;25242:132::-;25150:6;;-1:-1:-1;;;;;25150:6:0;23708:10;25306:23;25298:68;;;;-1:-1:-1;;;25298:68:0;;19941:2:1;25298:68:0;;;19923:21:1;;;19960:18;;;19953:30;20019:34;19999:18;;;19992:62;20071:18;;25298:68:0;19739:356:1;55626:1146:0;55853:7;:14;55839:3;:10;:28;55831:81;;;;-1:-1:-1;;;55831:81:0;;20302:2:1;55831:81:0;;;20284:21:1;20341:2;20321:18;;;20314:30;20380:34;20360:18;;;20353:62;-1:-1:-1;;;20431:18:1;;;20424:38;20479:19;;55831:81:0;20100:404:1;55831:81:0;-1:-1:-1;;;;;55931:16:0;;55923:66;;;;-1:-1:-1;;;55923:66:0;;;;;;;:::i;:::-;23708:10;56046:60;23708:10;56077:4;56083:2;56087:3;56092:7;56101:4;56046:20;:60::i;:::-;56124:9;56119:421;56143:3;:10;56139:1;:14;56119:421;;;56175:10;56188:3;56192:1;56188:6;;;;;;;;:::i;:::-;;;;;;;56175:19;;56209:14;56226:7;56234:1;56226:10;;;;;;;;:::i;:::-;;;;;;;;;;;;56253:19;56275:13;;;;;;;;;;-1:-1:-1;;;;;56275:19:0;;;;;;;;;;;;56226:10;;-1:-1:-1;56317:21:0;;;;56309:76;;;;-1:-1:-1;;;56309:76:0;;;;;;;:::i;:::-;56429:9;:13;;;;;;;;;;;-1:-1:-1;;;;;56429:19:0;;;;;;;;;;56451:20;;;56429:42;;56501:17;;;;;;;:27;;56451:20;;56429:9;56501:27;;56451:20;;56501:27;:::i;:::-;;;;;;;;56160:380;;;56155:3;;;;:::i;:::-;;;56119:421;;;;56587:2;-1:-1:-1;;;;;56557:47:0;56581:4;-1:-1:-1;;;;;56557:47:0;56571:8;-1:-1:-1;;;;;56557:47:0;;56591:3;56596:7;56557:47;;;;;;;:::i;:::-;;;;;;;;56689:75;56725:8;56735:4;56741:2;56745:3;56750:7;56759:4;56689:35;:75::i;:::-;55820:952;55626:1146;;;;;:::o;26344:191::-;26437:6;;;-1:-1:-1;;;;;26454:17:0;;;-1:-1:-1;;;;;;26454:17:0;;;;;;;26487:40;;26437:6;;;26454:17;26437:6;;26487:40;;26418:16;;26487:40;26407:128;26344:191;:::o;58090:729::-;-1:-1:-1;;;;;58243:16:0;;58235:62;;;;-1:-1:-1;;;58235:62:0;;21998:2:1;58235:62:0;;;21980:21:1;22037:2;22017:18;;;22010:30;22076:34;22056:18;;;22049:62;-1:-1:-1;;;22127:18:1;;;22120:31;22168:19;;58235:62:0;21796:397:1;58235:62:0;23708:10;58310:16;58375:21;58393:2;58375:17;:21::i;:::-;58352:44;;58407:24;58434:25;58452:6;58434:17;:25::i;:::-;58407:52;;58472:66;58493:8;58511:1;58515:2;58519:3;58524:7;58533:4;58472:20;:66::i;:::-;58551:9;:13;;;;;;;;;;;-1:-1:-1;;;;;58551:17:0;;;;;;;;;:27;;58572:6;;58551:9;:27;;58572:6;;58551:27;:::i;:::-;;;;-1:-1:-1;;58594:52:0;;;19399:25:1;;;19455:2;19440:18;;19433:34;;;-1:-1:-1;;;;;58594:52:0;;;;58627:1;;58594:52;;;;;;19372:18:1;58594:52:0;;;;;;;58737:74;58768:8;58786:1;58790:2;58794;58798:6;58806:4;58737:30;:74::i;:::-;58224:595;;;58090:729;;;;:::o;62503:331::-;62658:8;-1:-1:-1;;;;;62649:17:0;:5;-1:-1:-1;;;;;62649:17:0;;62641:71;;;;-1:-1:-1;;;62641:71:0;;22400:2:1;62641:71:0;;;22382:21:1;22439:2;22419:18;;;22412:30;22478:34;22458:18;;;22451:62;-1:-1:-1;;;22529:18:1;;;22522:39;22578:19;;62641:71:0;22198:405:1;62641:71:0;-1:-1:-1;;;;;62723:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;62723:46:0;;;;;;;;;;62785:41;;1178::1;;;62785::0;;1151:18:1;62785:41:0;;;;;;;62503:331;;;:::o;71804:335::-;71874:11;;71915:7;;71933:16;;71874:163;;-1:-1:-1;;;71874:163:0;;;;;22859:25:1;;;;-1:-1:-1;;;;;71933:16:0;;22900:18:1;;;22893:59;71960:20:0;-1:-1:-1;;;71960:20:0;;;22968:18:1;;;22961:47;71991:16:0;-1:-1:-1;;;71991:16:0;;;;23053:18:1;;;23046:43;-1:-1:-1;;;72018:8:0;;;;23105:19:1;;;23098:44;-1:-1:-1;;;;;;;71874:11:0;;:30;;22831:19:1;;71874:163:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72087:14;;;72048:36;;;;:25;:36;;;;;:53;;;71854:183;;-1:-1:-1;72130:1:0;;72048:36;72112:19;;72130:1;;72112:19;:::i;:::-;;;;-1:-1:-1;;;71804:335:0:o;54294:974::-;-1:-1:-1;;;;;54482:16:0;;54474:66;;;;-1:-1:-1;;;54474:66:0;;;;;;;:::i;:::-;23708:10;54553:16;54618:21;54636:2;54618:17;:21::i;:::-;54595:44;;54650:24;54677:25;54695:6;54677:17;:25::i;:::-;54650:52;;54715:60;54736:8;54746:4;54752:2;54756:3;54761:7;54770:4;54715:20;:60::i;:::-;54788:19;54810:13;;;;;;;;;;;-1:-1:-1;;;;;54810:19:0;;;;;;;;;;54848:21;;;;54840:76;;;;-1:-1:-1;;;54840:76:0;;;;;;;:::i;:::-;54952:9;:13;;;;;;;;;;;-1:-1:-1;;;;;54952:19:0;;;;;;;;;;54974:20;;;54952:42;;55016:17;;;;;;;:27;;54974:20;;54952:9;55016:27;;54974:20;;55016:27;:::i;:::-;;;;-1:-1:-1;;55061:46:0;;;19399:25:1;;;19455:2;19440:18;;19433:34;;;-1:-1:-1;;;;;55061:46:0;;;;;;;;;;;;;;19372:18:1;55061:46:0;;;;;;;55192:68;55223:8;55233:4;55239:2;55243;55247:6;55255:4;55192:30;:68::i;:::-;54463:805;;;;54294:974;;;;;:::o;68122:931::-;-1:-1:-1;;;;;68444:18:0;;68440:160;;68484:9;68479:110;68503:3;:10;68499:1;:14;68479:110;;;68563:7;68571:1;68563:10;;;;;;;;:::i;:::-;;;;;;;68539:12;:20;68552:3;68556:1;68552:6;;;;;;;;:::i;:::-;;;;;;;68539:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;68515:3:0;;-1:-1:-1;68515:3:0;;:::i;:::-;;;68479:110;;;;68440:160;-1:-1:-1;;;;;68616:16:0;;68612:434;;68654:9;68649:386;68673:3;:10;68669:1;:14;68649:386;;;68709:10;68722:3;68726:1;68722:6;;;;;;;;:::i;:::-;;;;;;;68709:19;;68747:14;68764:7;68772:1;68764:10;;;;;;;;:::i;:::-;;;;;;;68747:27;;68793:14;68810:12;:16;68823:2;68810:16;;;;;;;;;;;;68793:33;;68863:6;68853;:16;;68845:69;;;;-1:-1:-1;;;68845:69:0;;23544:2:1;68845:69:0;;;23526:21:1;23583:2;23563:18;;;23556:30;23622:34;23602:18;;;23595:62;-1:-1:-1;;;23673:18:1;;;23666:38;23721:19;;68845:69:0;23342:404:1;68845:69:0;68966:16;;;;:12;:16;;;;;;68985:15;;68966:34;;68685:3;;;:::i;:::-;;;68649:386;;65948:813;-1:-1:-1;;;;;66188:13:0;;28070:19;:23;66184:570;;66224:79;;-1:-1:-1;;;66224:79:0;;-1:-1:-1;;;;;66224:43:0;;;;;:79;;66268:8;;66278:4;;66284:3;;66289:7;;66298:4;;66224:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66224:79:0;;;;;;;;-1:-1:-1;;66224:79:0;;;;;;;;;;;;:::i;:::-;;;66220:523;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;66616:6;66609:14;;-1:-1:-1;;;66609:14:0;;;;;;;;:::i;66220:523::-;;;66665:62;;-1:-1:-1;;;66665:62:0;;25910:2:1;66665:62:0;;;25892:21:1;25949:2;25929:18;;;25922:30;25988:34;25968:18;;;25961:62;-1:-1:-1;;;26039:18:1;;;26032:50;26099:19;;66665:62:0;25708:416:1;66220:523:0;-1:-1:-1;;;;;;66385:60:0;;-1:-1:-1;;;66385:60:0;66381:159;;66470:50;;-1:-1:-1;;;66470:50:0;;;;;;;:::i;66769:198::-;66889:16;;;66903:1;66889:16;;;;;;;;;66835;;66864:22;;66889:16;;;;;;;;;;;;-1:-1:-1;66889:16:0;66864:41;;66927:7;66916:5;66922:1;66916:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;66954:5;66769:198;-1:-1:-1;;66769:198:0:o;65196:744::-;-1:-1:-1;;;;;65411:13:0;;28070:19;:23;65407:526;;65447:72;;-1:-1:-1;;;65447:72:0;;-1:-1:-1;;;;;65447:38:0;;;;;:72;;65486:8;;65496:4;;65502:2;;65506:6;;65514:4;;65447:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65447:72:0;;;;;;;;-1:-1:-1;;65447:72:0;;;;;;;;;;;;:::i;:::-;;;65443:479;;;;:::i;:::-;-1:-1:-1;;;;;;65569:55:0;;-1:-1:-1;;;65569:55:0;65565:154;;65649:50;;-1:-1:-1;;;65649:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:315;218:6;226;279:2;267:9;258:7;254:23;250:32;247:52;;;295:1;292;285:12;247:52;334:9;321:23;353:31;378:5;353:31;:::i;:::-;403:5;455:2;440:18;;;;427:32;;-1:-1:-1;;;150:315:1:o;652:131::-;-1:-1:-1;;;;;;726:32:1;;716:43;;706:71;;773:1;770;763:12;788:245;846:6;899:2;887:9;878:7;874:23;870:32;867:52;;;915:1;912;905:12;867:52;954:9;941:23;973:30;997:5;973:30;:::i;:::-;1022:5;788:245;-1:-1:-1;;;788:245:1:o;1230:258::-;1302:1;1312:113;1326:6;1323:1;1320:13;1312:113;;;1402:11;;;1396:18;1383:11;;;1376:39;1348:2;1341:10;1312:113;;;1443:6;1440:1;1437:13;1434:48;;;1478:1;1469:6;1464:3;1460:16;1453:27;1434:48;;1230:258;;;:::o;1493:269::-;1546:3;1584:5;1578:12;1611:6;1606:3;1599:19;1627:63;1683:6;1676:4;1671:3;1667:14;1660:4;1653:5;1649:16;1627:63;:::i;:::-;1744:2;1723:15;-1:-1:-1;;1719:29:1;1710:39;;;;1751:4;1706:50;;1493:269;-1:-1:-1;;1493:269:1:o;1767:231::-;1916:2;1905:9;1898:21;1879:4;1936:56;1988:2;1977:9;1973:18;1965:6;1936:56;:::i;2003:180::-;2062:6;2115:2;2103:9;2094:7;2090:23;2086:32;2083:52;;;2131:1;2128;2121:12;2083:52;-1:-1:-1;2154:23:1;;2003:180;-1:-1:-1;2003:180:1:o;2188:127::-;2249:10;2244:3;2240:20;2237:1;2230:31;2280:4;2277:1;2270:15;2304:4;2301:1;2294:15;2320:249;2430:2;2411:13;;-1:-1:-1;;2407:27:1;2395:40;;-1:-1:-1;;;;;2450:34:1;;2486:22;;;2447:62;2444:88;;;2512:18;;:::i;:::-;2548:2;2541:22;-1:-1:-1;;2320:249:1:o;2574:183::-;2634:4;-1:-1:-1;;;;;2659:6:1;2656:30;2653:56;;;2689:18;;:::i;:::-;-1:-1:-1;2734:1:1;2730:14;2746:4;2726:25;;2574:183::o;2762:724::-;2816:5;2869:3;2862:4;2854:6;2850:17;2846:27;2836:55;;2887:1;2884;2877:12;2836:55;2923:6;2910:20;2949:4;2972:43;3012:2;2972:43;:::i;:::-;3044:2;3038:9;3056:31;3084:2;3076:6;3056:31;:::i;:::-;3122:18;;;3214:1;3210:10;;;;3198:23;;3194:32;;;3156:15;;;;-1:-1:-1;3238:15:1;;;3235:35;;;3266:1;3263;3256:12;3235:35;3302:2;3294:6;3290:15;3314:142;3330:6;3325:3;3322:15;3314:142;;;3396:17;;3384:30;;3434:12;;;;3347;;3314:142;;;-1:-1:-1;3474:6:1;2762:724;-1:-1:-1;;;;;;2762:724:1:o;3491:416::-;3584:6;3592;3645:2;3633:9;3624:7;3620:23;3616:32;3613:52;;;3661:1;3658;3651:12;3613:52;3697:9;3684:23;3674:33;;3758:2;3747:9;3743:18;3730:32;-1:-1:-1;;;;;3777:6:1;3774:30;3771:50;;;3817:1;3814;3807:12;3771:50;3840:61;3893:7;3884:6;3873:9;3869:22;3840:61;:::i;:::-;3830:71;;;3491:416;;;;;:::o;3912:468::-;3976:5;-1:-1:-1;;;;;4002:6:1;3999:30;3996:56;;;4032:18;;:::i;:::-;4081:2;4075:9;4093:69;4150:2;4129:15;;-1:-1:-1;;4125:29:1;4156:4;4121:40;4075:9;4093:69;:::i;:::-;4180:6;4171:15;;4210:6;4202;4195:22;4250:3;4241:6;4236:3;4232:16;4229:25;4226:45;;;4267:1;4264;4257:12;4226:45;4317:6;4312:3;4305:4;4297:6;4293:17;4280:44;4372:1;4365:4;4356:6;4348;4344:19;4340:30;4333:41;;3912:468;;;;;:::o;4385:220::-;4427:5;4480:3;4473:4;4465:6;4461:17;4457:27;4447:55;;4498:1;4495;4488:12;4447:55;4520:79;4595:3;4586:6;4573:20;4566:4;4558:6;4554:17;4520:79;:::i;4610:1071::-;4764:6;4772;4780;4788;4796;4849:3;4837:9;4828:7;4824:23;4820:33;4817:53;;;4866:1;4863;4856:12;4817:53;4905:9;4892:23;4924:31;4949:5;4924:31;:::i;:::-;4974:5;-1:-1:-1;5031:2:1;5016:18;;5003:32;5044:33;5003:32;5044:33;:::i;:::-;5096:7;-1:-1:-1;5154:2:1;5139:18;;5126:32;-1:-1:-1;;;;;5207:14:1;;;5204:34;;;5234:1;5231;5224:12;5204:34;5257:61;5310:7;5301:6;5290:9;5286:22;5257:61;:::i;:::-;5247:71;;5371:2;5360:9;5356:18;5343:32;5327:48;;5400:2;5390:8;5387:16;5384:36;;;5416:1;5413;5406:12;5384:36;5439:63;5494:7;5483:8;5472:9;5468:24;5439:63;:::i;:::-;5429:73;;5555:3;5544:9;5540:19;5527:33;5511:49;;5585:2;5575:8;5572:16;5569:36;;;5601:1;5598;5591:12;5569:36;;5624:51;5667:7;5656:8;5645:9;5641:24;5624:51;:::i;:::-;5614:61;;;4610:1071;;;;;;;;:::o;5686:284::-;5744:6;5797:2;5785:9;5776:7;5772:23;5768:32;5765:52;;;5813:1;5810;5803:12;5765:52;5852:9;5839:23;-1:-1:-1;;;;;5895:5:1;5891:30;5884:5;5881:41;5871:69;;5936:1;5933;5926:12;5975:1277;6093:6;6101;6154:2;6142:9;6133:7;6129:23;6125:32;6122:52;;;6170:1;6167;6160:12;6122:52;6210:9;6197:23;-1:-1:-1;;;;;6280:2:1;6272:6;6269:14;6266:34;;;6296:1;6293;6286:12;6266:34;6334:6;6323:9;6319:22;6309:32;;6379:7;6372:4;6368:2;6364:13;6360:27;6350:55;;6401:1;6398;6391:12;6350:55;6437:2;6424:16;6459:4;6482:43;6522:2;6482:43;:::i;:::-;6554:2;6548:9;6566:31;6594:2;6586:6;6566:31;:::i;:::-;6632:18;;;6720:1;6716:10;;;;6708:19;;6704:28;;;6666:15;;;;-1:-1:-1;6744:19:1;;;6741:39;;;6776:1;6773;6766:12;6741:39;6800:11;;;;6820:217;6836:6;6831:3;6828:15;6820:217;;;6916:3;6903:17;6933:31;6958:5;6933:31;:::i;:::-;6977:18;;6853:12;;;;7015;;;;6820:217;;;7056:6;-1:-1:-1;;7100:18:1;;7087:32;;-1:-1:-1;;7131:16:1;;;7128:36;;;7160:1;7157;7150:12;7128:36;;7183:63;7238:7;7227:8;7216:9;7212:24;7183:63;:::i;7257:435::-;7310:3;7348:5;7342:12;7375:6;7370:3;7363:19;7401:4;7430:2;7425:3;7421:12;7414:19;;7467:2;7460:5;7456:14;7488:1;7498:169;7512:6;7509:1;7506:13;7498:169;;;7573:13;;7561:26;;7607:12;;;;7642:15;;;;7534:1;7527:9;7498:169;;;-1:-1:-1;7683:3:1;;7257:435;-1:-1:-1;;;;;7257:435:1:o;7697:261::-;7876:2;7865:9;7858:21;7839:4;7896:56;7948:2;7937:9;7933:18;7925:6;7896:56;:::i;8171:450::-;8240:6;8293:2;8281:9;8272:7;8268:23;8264:32;8261:52;;;8309:1;8306;8299:12;8261:52;8349:9;8336:23;-1:-1:-1;;;;;8374:6:1;8371:30;8368:50;;;8414:1;8411;8404:12;8368:50;8437:22;;8490:4;8482:13;;8478:27;-1:-1:-1;8468:55:1;;8519:1;8516;8509:12;8468:55;8542:73;8607:7;8602:2;8589:16;8584:2;8580;8576:11;8542:73;:::i;8626:615::-;8712:6;8720;8773:2;8761:9;8752:7;8748:23;8744:32;8741:52;;;8789:1;8786;8779:12;8741:52;8829:9;8816:23;-1:-1:-1;;;;;8899:2:1;8891:6;8888:14;8885:34;;;8915:1;8912;8905:12;8885:34;8953:6;8942:9;8938:22;8928:32;;8998:7;8991:4;8987:2;8983:13;8979:27;8969:55;;9020:1;9017;9010:12;8969:55;9060:2;9047:16;9086:2;9078:6;9075:14;9072:34;;;9102:1;9099;9092:12;9072:34;9155:7;9150:2;9140:6;9137:1;9133:14;9129:2;9125:23;9121:32;9118:45;9115:65;;;9176:1;9173;9166:12;9115:65;9207:2;9199:11;;;;;9229:6;;-1:-1:-1;8626:615:1;;-1:-1:-1;;;;8626:615:1:o;9246:247::-;9305:6;9358:2;9346:9;9337:7;9333:23;9329:32;9326:52;;;9374:1;9371;9364:12;9326:52;9413:9;9400:23;9432:31;9457:5;9432:31;:::i;9872:383::-;9949:6;9957;9965;10018:2;10006:9;9997:7;9993:23;9989:32;9986:52;;;10034:1;10031;10024:12;9986:52;10070:9;10057:23;10047:33;;10127:2;10116:9;10112:18;10099:32;10089:42;;10181:2;10170:9;10166:18;10153:32;10194:31;10219:5;10194:31;:::i;:::-;10244:5;10234:15;;;9872:383;;;;;:::o;10260:416::-;10325:6;10333;10386:2;10374:9;10365:7;10361:23;10357:32;10354:52;;;10402:1;10399;10392:12;10354:52;10441:9;10428:23;10460:31;10485:5;10460:31;:::i;:::-;10510:5;-1:-1:-1;10567:2:1;10552:18;;10539:32;10609:15;;10602:23;10590:36;;10580:64;;10640:1;10637;10630:12;10580:64;10663:7;10653:17;;;10260:416;;;;;:::o;10681:276::-;10739:6;10792:2;10780:9;10771:7;10767:23;10763:32;10760:52;;;10808:1;10805;10798:12;10760:52;10847:9;10834:23;10897:10;10890:5;10886:22;10879:5;10876:33;10866:61;;10923:1;10920;10913:12;10962:388;11030:6;11038;11091:2;11079:9;11070:7;11066:23;11062:32;11059:52;;;11107:1;11104;11097:12;11059:52;11146:9;11133:23;11165:31;11190:5;11165:31;:::i;:::-;11215:5;-1:-1:-1;11272:2:1;11257:18;;11244:32;11285:33;11244:32;11285:33;:::i;11355:734::-;11459:6;11467;11475;11483;11491;11544:3;11532:9;11523:7;11519:23;11515:33;11512:53;;;11561:1;11558;11551:12;11512:53;11600:9;11587:23;11619:31;11644:5;11619:31;:::i;:::-;11669:5;-1:-1:-1;11726:2:1;11711:18;;11698:32;11739:33;11698:32;11739:33;:::i;:::-;11791:7;-1:-1:-1;11845:2:1;11830:18;;11817:32;;-1:-1:-1;11896:2:1;11881:18;;11868:32;;-1:-1:-1;11951:3:1;11936:19;;11923:33;-1:-1:-1;;;;;11968:30:1;;11965:50;;;12011:1;12008;12001:12;11965:50;12034:49;12075:7;12066:6;12055:9;12051:22;12034:49;:::i;12505:380::-;12584:1;12580:12;;;;12627;;;12648:61;;12702:4;12694:6;12690:17;12680:27;;12648:61;12755:2;12747:6;12744:14;12724:18;12721:38;12718:161;;12801:10;12796:3;12792:20;12789:1;12782:31;12836:4;12833:1;12826:15;12864:4;12861:1;12854:15;12718:161;;12505:380;;;:::o;13363:185::-;13405:3;13443:5;13437:12;13458:52;13503:6;13498:3;13491:4;13484:5;13480:16;13458:52;:::i;:::-;13526:16;;;;;13363:185;-1:-1:-1;;13363:185:1:o;13671:1301::-;13948:3;13977:1;14010:6;14004:13;14040:3;14062:1;14090:9;14086:2;14082:18;14072:28;;14150:2;14139:9;14135:18;14172;14162:61;;14216:4;14208:6;14204:17;14194:27;;14162:61;14242:2;14290;14282:6;14279:14;14259:18;14256:38;14253:165;;-1:-1:-1;;;14317:33:1;;14373:4;14370:1;14363:15;14403:4;14324:3;14391:17;14253:165;14434:18;14461:104;;;;14579:1;14574:320;;;;14427:467;;14461:104;-1:-1:-1;;14494:24:1;;14482:37;;14539:16;;;;-1:-1:-1;14461:104:1;;14574:320;13310:1;13303:14;;;13347:4;13334:18;;14669:1;14683:165;14697:6;14694:1;14691:13;14683:165;;;14775:14;;14762:11;;;14755:35;14818:16;;;;14712:10;;14683:165;;;14687:3;;14877:6;14872:3;14868:16;14861:23;;14427:467;;;;;;;14910:56;14935:30;14961:3;14953:6;14935:30;:::i;:::-;-1:-1:-1;;;13613:20:1;;13658:1;13649:11;;13553:113;14910:56;14903:63;13671:1301;-1:-1:-1;;;;;13671:1301:1:o;15286:411::-;15488:2;15470:21;;;15527:2;15507:18;;;15500:30;15566:34;15561:2;15546:18;;15539:62;-1:-1:-1;;;15632:2:1;15617:18;;15610:45;15687:3;15672:19;;15286:411::o;16112:127::-;16173:10;16168:3;16164:20;16161:1;16154:31;16204:4;16201:1;16194:15;16228:4;16225:1;16218:15;16244:127;16305:10;16300:3;16296:20;16293:1;16286:31;16336:4;16333:1;16326:15;16360:4;16357:1;16350:15;16376:135;16415:3;16436:17;;;16433:43;;16456:18;;:::i;:::-;-1:-1:-1;16503:1:1;16492:13;;16376:135::o;17225:251::-;17295:6;17348:2;17336:9;17327:7;17323:23;17319:32;17316:52;;;17364:1;17361;17354:12;17316:52;17396:9;17390:16;17415:31;17440:5;17415:31;:::i;17832:128::-;17872:3;17903:1;17899:6;17896:1;17893:13;17890:39;;;17909:18;;:::i;:::-;-1:-1:-1;17945:9:1;;17832:128::o;18721:127::-;18782:10;18777:3;18773:20;18770:1;18763:31;18813:4;18810:1;18803:15;18837:4;18834:1;18827:15;18853:120;18893:1;18919;18909:35;;18924:18;;:::i;:::-;-1:-1:-1;18958:9:1;;18853:120::o;18978:125::-;19018:4;19046:1;19043;19040:8;19037:34;;;19051:18;;:::i;:::-;-1:-1:-1;19088:9:1;;18978:125::o;19108:112::-;19140:1;19166;19156:35;;19171:18;;:::i;:::-;-1:-1:-1;19205:9:1;;19108:112::o;20509:401::-;20711:2;20693:21;;;20750:2;20730:18;;;20723:30;20789:34;20784:2;20769:18;;20762:62;-1:-1:-1;;;20855:2:1;20840:18;;20833:35;20900:3;20885:19;;20509:401::o;20915:406::-;21117:2;21099:21;;;21156:2;21136:18;;;21129:30;21195:34;21190:2;21175:18;;21168:62;-1:-1:-1;;;21261:2:1;21246:18;;21239:40;21311:3;21296:19;;20915:406::o;21326:465::-;21583:2;21572:9;21565:21;21546:4;21609:56;21661:2;21650:9;21646:18;21638:6;21609:56;:::i;:::-;21713:9;21705:6;21701:22;21696:2;21685:9;21681:18;21674:50;21741:44;21778:6;21770;21741:44;:::i;23153:184::-;23223:6;23276:2;23264:9;23255:7;23251:23;23247:32;23244:52;;;23292:1;23289;23282:12;23244:52;-1:-1:-1;23315:16:1;;23153:184;-1:-1:-1;23153:184:1:o;23751:838::-;-1:-1:-1;;;;;24148:15:1;;;24130:34;;24200:15;;24195:2;24180:18;;24173:43;24110:3;24247:2;24232:18;;24225:31;;;24073:4;;24279:57;;24316:19;;24308:6;24279:57;:::i;:::-;24384:9;24376:6;24372:22;24367:2;24356:9;24352:18;24345:50;24418:44;24455:6;24447;24418:44;:::i;:::-;24404:58;;24511:9;24503:6;24499:22;24493:3;24482:9;24478:19;24471:51;24539:44;24576:6;24568;24539:44;:::i;:::-;24531:52;23751:838;-1:-1:-1;;;;;;;;23751:838:1:o;24594:249::-;24663:6;24716:2;24704:9;24695:7;24691:23;24687:32;24684:52;;;24732:1;24729;24722:12;24684:52;24764:9;24758:16;24783:30;24807:5;24783:30;:::i;24848:179::-;24883:3;24925:1;24907:16;24904:23;24901:120;;;24971:1;24968;24965;24950:23;-1:-1:-1;25008:1:1;25002:8;24997:3;24993:18;24901:120;24848:179;:::o;25032:671::-;25071:3;25113:4;25095:16;25092:26;25089:39;;;25032:671;:::o;25089:39::-;25155:2;25149:9;-1:-1:-1;;25220:16:1;25216:25;;25213:1;25149:9;25192:50;25271:4;25265:11;25295:16;-1:-1:-1;;;;;25401:2:1;25394:4;25386:6;25382:17;25379:25;25374:2;25366:6;25363:14;25360:45;25357:58;;;25408:5;;;;;25032:671;:::o;25357:58::-;25445:6;25439:4;25435:17;25424:28;;25481:3;25475:10;25508:2;25500:6;25497:14;25494:27;;;25514:5;;;;;;25032:671;:::o;25494:27::-;25598:2;25579:16;25573:4;25569:27;25565:36;25558:4;25549:6;25544:3;25540:16;25536:27;25533:69;25530:82;;;25605:5;;;;;;25032:671;:::o;25530:82::-;25621:57;25672:4;25663:6;25655;25651:19;25647:30;25641:4;25621:57;:::i;:::-;-1:-1:-1;25694:3:1;;25032:671;-1:-1:-1;;;;;25032:671:1:o;26129:404::-;26331:2;26313:21;;;26370:2;26350:18;;;26343:30;26409:34;26404:2;26389:18;;26382:62;-1:-1:-1;;;26475:2:1;26460:18;;26453:38;26523:3;26508:19;;26129:404::o;26538:572::-;-1:-1:-1;;;;;26835:15:1;;;26817:34;;26887:15;;26882:2;26867:18;;26860:43;26934:2;26919:18;;26912:34;;;26977:2;26962:18;;26955:34;;;26797:3;27020;27005:19;;26998:32;;;26760:4;;27047:57;;27084:19;;27076:6;27047:57;:::i;:::-;27039:65;26538:572;-1:-1:-1;;;;;;;26538:572:1:o

Swarm Source

ipfs://6ad37255d1da1cbde8f6092a8754b549b749d64017c2fb331aed3882b876735d
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.