ETH Price: $2,972.79 (-4.22%)
Gas: 2 Gwei

Contract

0x26f9E26aF19ADd3dd85086ea2a8dc95100d8D77E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...163576212023-01-07 21:34:11545 days ago1673127251IN
0x26f9E26a...100d8D77E
0 ETH0.0013327916.76645316
Startopen Box157134562022-10-09 22:15:11635 days ago1665353711IN
0x26f9E26a...100d8D77E
0 ETH0.0046671828.65097925
Set Approval For...156928192022-10-07 1:04:23637 days ago1665104663IN
0x26f9E26a...100d8D77E
0 ETH0.000251175.12385828
Startopen Box156856252022-10-06 0:56:35638 days ago1665017795IN
0x26f9E26a...100d8D77E
0 ETH0.001758739.77084482
Startopen Box156827622022-10-05 15:21:35639 days ago1664983295IN
0x26f9E26a...100d8D77E
0 ETH0.0056870631.5951729
Startopen Box156816672022-10-05 11:40:59639 days ago1664970059IN
0x26f9E26a...100d8D77E
0 ETH0.002064811.47124822
Startopen Box156811002022-10-05 9:46:23639 days ago1664963183IN
0x26f9E26a...100d8D77E
0 ETH0.000853285.23815681
Startopen Box156810412022-10-05 9:34:35639 days ago1664962475IN
0x26f9E26a...100d8D77E
0 ETH0.001071255.95149672
Startopen Box156791142022-10-05 3:05:59639 days ago1664939159IN
0x26f9E26a...100d8D77E
0 ETH0.00132428.12903312
Startopen Box156785822022-10-05 1:18:23639 days ago1664932703IN
0x26f9E26a...100d8D77E
0 ETH0.001728429.60244144
Startopen Box156780352022-10-04 23:27:35640 days ago1664926055IN
0x26f9E26a...100d8D77E
0 ETH0.0018492611.35228356
Startopen Box156778132022-10-04 22:42:35640 days ago1664923355IN
0x26f9E26a...100d8D77E
0 ETH0.0018498310.27695847
Startopen Box156777462022-10-04 22:28:59640 days ago1664922539IN
0x26f9E26a...100d8D77E
0 ETH0.0019615612.04165981
Startopen Box156777402022-10-04 22:27:47640 days ago1664922467IN
0x26f9E26a...100d8D77E
0 ETH0.0016289810
Startopen Box156776512022-10-04 22:09:35640 days ago1664921375IN
0x26f9E26a...100d8D77E
0 ETH0.0024994115.34342431
Startopen Box156775632022-10-04 21:51:59640 days ago1664920319IN
0x26f9E26a...100d8D77E
0 ETH0.0038001321.11211489
Startopen Box156774442022-10-04 21:27:35640 days ago1664918855IN
0x26f9E26a...100d8D77E
0 ETH0.0028419415.78873329
Startopen Box156774332022-10-04 21:25:23640 days ago1664918723IN
0x26f9E26a...100d8D77E
0 ETH0.002740316.82219799
Startopen Box156703712022-10-03 21:41:11641 days ago1664833271IN
0x26f9E26a...100d8D77E
0 ETH0.0037592320.28333422
Startopen Box156495662022-09-30 23:54:23644 days ago1664582063IN
0x26f9E26a...100d8D77E
0 ETH0.001479968.22213442
Startopen Box156492862022-09-30 22:58:23644 days ago1664578703IN
0x26f9E26a...100d8D77E
0 ETH0.0018165610.09216444
Set Approval For...156488892022-09-30 21:38:11644 days ago1664573891IN
0x26f9E26a...100d8D77E
0 ETH0.0004041313.87779015
Set Approval For...156488882022-09-30 21:37:59644 days ago1664573879IN
0x26f9E26a...100d8D77E
0 ETH0.0006852213.97827563
Startopen Box156488572022-09-30 21:31:47644 days ago1664573507IN
0x26f9E26a...100d8D77E
0 ETH0.0022642212.57917582
Startopen Box156488392022-09-30 21:28:11644 days ago1664573291IN
0x26f9E26a...100d8D77E
0 ETH0.0022521512.51212622
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
B4LL3R

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : B4LL3R.sol
// SPDX-License-Identifier: MIT
         


pragma solidity ^0.8.16;

import "./IERC721ABurnable.sol";
import "./ERC721AQueryable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";

contract B4LL3R is Ownable, ReentrancyGuard, VRFConsumerBaseV2, ERC721AQueryable, IERC721ABurnable {
    event PermanentURI(string _value, uint256 indexed _id);

    VRFCoordinatorV2Interface private VRF_COORDINATOR;
    uint64 private _chainlinkSubscriptionId; //Set this with the setChainlinkSubscriptionID function
    bytes32 private _vrfKeyHash = 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef; //Gaslane for network - controls gas limits - https://docs.chain.link/docs/vrf/v2/subscription/supported-networks/
    address private constant VRF_COORDINATOR_ADDR = 0x271682DEB8C4E0901D1a1550aD2e64D568E69909; // Depends on chain being used - in this case : Ethereum
    uint32 private constant CHAINLINK_CALLBACK_GAS_LIMIT = 100000;
    uint16 private constant CHAINLINK_REQ_CONFIRMATIONS = 3;

    uint256 public constant MAX_SUPPLY = 250;
    
    // Holds the # of remaining tokens for each DNA
    mapping(uint256 => uint256) public dnaToRemainingSupply;


    // Holds the # of remaining tokens available for migration
    uint256 public remainingSupply = 250;

    mapping(uint256 => uint256) private _randomnessRequestIdToTokenId;

    // 0: Migration still in progress or token not minted
    // 1: Human
    // 2: Robot
    // 3: Demon
    // 4: Angel
    // 5: Reptile
    // 6: Undead
    // 7: Alien
    mapping(uint256 => uint256) public tokenIdToDna;

    bool public openBoxPaused;
    bool public contractPaused;

    string private _baseTokenURI;
    bool public baseURILocked;

    BoxContract private BOX;
    address private _burnAuthorizedContract;
    
    address private _admin;

    constructor(
        string memory baseTokenURI,
        address admin,
        address boxContract,
        uint64 chainlinkSubscriptionId)
    VRFConsumerBaseV2(VRF_COORDINATOR_ADDR)
    ERC721A("Jersey", "Jersey") {
        _chainlinkSubscriptionId = chainlinkSubscriptionId;
        _admin = admin;
        _baseTokenURI = baseTokenURI;
        openBoxPaused = false;

        VRF_COORDINATOR = VRFCoordinatorV2Interface(VRF_COORDINATOR_ADDR);
        BOX = BoxContract(boxContract);

        
        _initializeSupplies();

        _safeMint(msg.sender, 1);
        _setTokenMetadata(0, 1); // Human 
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "Caller is another contract");
        _;
    }
    
    modifier onlyOwnerOrAdmin() {
        require(msg.sender == owner() || msg.sender == _admin, "Not owner or admin");
        _;
    }

    function _initializeSupplies() private {
        dnaToRemainingSupply[1] = 64;

        dnaToRemainingSupply[2] = 50;

        dnaToRemainingSupply[3] = 40;

        dnaToRemainingSupply[4] = 40;

        dnaToRemainingSupply[5] = 28;

        dnaToRemainingSupply[6] = 18;

        dnaToRemainingSupply[7] = 10;
    }

    // Starts the migration process of given B4//3R Box.
    // Note that migration is asynchronous; the B4//3R Jersey will be minted but its metadata
    //will be assigned later (see `fulfillRandomWords`) when the on-chain randomness is produced.
    function startopenBox(uint256[] memory boxIds)
        external
        nonReentrant
        callerIsUser
    {
        require(!openBoxPaused && !contractPaused, "Box opening is paused");


        uint256 i;
        for (i = 0; i < boxIds.length;) {
            uint256 boxId = boxIds[i];
            // check if the msg sender is the owner
            require(BOX.ownerOf(boxId) == msg.sender, "You don't own the given Box");

            // burn Box
            BOX.burn(boxId);

            unchecked { i++; }
        }

        // mint Jersey
        uint256 firstJerseyId = _nextTokenId();
        _safeMint(msg.sender, boxIds.length);

        // request random metadata for Jersey
         i = firstJerseyId;
        unchecked {
            while (true) {
                if (i >= firstJerseyId + boxIds.length) { break; }
                
                _requestRandomMetadata(i);

                i++;
            }
        }

    }

    function _requestRandomMetadata(uint256 tokenId) private {
        // request a random number from Chainlink to give a random metadata to the token
        uint256 requestId = VRF_COORDINATOR.requestRandomWords(
            _vrfKeyHash,
            _chainlinkSubscriptionId,
            CHAINLINK_REQ_CONFIRMATIONS,
            CHAINLINK_CALLBACK_GAS_LIMIT,
            1);
        _randomnessRequestIdToTokenId[requestId] = tokenId;
    }

    // Will be used by an admin, only if Chainlink VRF request fails and needs a retry
    function retryopenBox(uint256 tokenId) external onlyOwnerOrAdmin {
        // request a random number from Chainlink to give a random DNA to the minted Jersey
        uint256 requestId = VRF_COORDINATOR.requestRandomWords(
            _vrfKeyHash,
            _chainlinkSubscriptionId,
            CHAINLINK_REQ_CONFIRMATIONS,
            CHAINLINK_CALLBACK_GAS_LIMIT,
            1);
        _randomnessRequestIdToTokenId[requestId] = tokenId;
    }

    // Called by Chainlink when requested randomness is ready
    function fulfillRandomWords(
        uint256 requestId,
        uint256[] memory randomWords
    ) internal override {
        uint256 tokenId = _randomnessRequestIdToTokenId[requestId];
        require(tokenId > 0, "Invalid request id");
 
        unchecked {
            uint256 rand = randomWords[0];
            uint256 randForDna = rand % remainingSupply;

            uint256 j = 0;
            for (uint256 dna = 1; dna < 8; dna++) {
                uint256 remDnaSupply = dnaToRemainingSupply[dna];
                if (remDnaSupply <= 0) {
                    // DNA is completely minted
                    continue;
                }

                j += remDnaSupply;
                if (randForDna < j) {

                    // assign the metadata
                    _setTokenMetadata(tokenId, dna);
                    break;
                }
            }
        }
    }

    function _setTokenMetadata(uint256 tokenId, uint256 dna) private {
        require(tokenIdToDna[tokenId] == 0, "Token already has a DNA");

        tokenIdToDna[tokenId] = dna;

        unchecked {
            if (dna > 0 && dna < 8) {
                // regular DNA, adjust supplies

                dnaToRemainingSupply[dna]--;

                remainingSupply--;
            }
        }
    }

    // Will be used by an admin, only if Chainlink VRF totally fails and we need to assign a metadata manually
    function setTokenMetadata(uint256 tokenId, uint256 dna) external onlyOwnerOrAdmin {
        _setTokenMetadata(tokenId, dna);
    }
    
    function getDna(uint256 tokenId) external view returns (uint256) {
        return tokenIdToDna[tokenId];
    }


    // Only the owner of the token and its approved operators, and the authorized contract
    // can call this function.
    function burn(uint256 tokenId) public virtual override {
        // Avoid unnecessary approvals for the authorized contract
        bool approvalCheck = msg.sender != _burnAuthorizedContract;
        _burn(tokenId, approvalCheck);
    }

    function pauseopenBox(bool paused) external onlyOwnerOrAdmin {
        openBoxPaused = paused;
    }

    function pauseContract(bool paused) external onlyOwnerOrAdmin {
        contractPaused = paused;
    }

    function _beforeTokenTransfers(
        address /* from */,
        address /* to */,
        uint256 /* startTokenId */,
        uint256 /* quantity */
    ) internal virtual override {
        require(!contractPaused, "Contract is paused");
    }

    // Locks base token URI forever and emits PermanentURI for marketplaces (e.g. OpenSea)
    function lockBaseURI() external onlyOwnerOrAdmin {
        baseURILocked = true;
        for (uint256 i = 0; i < _nextTokenId(); i++) {
            if (_exists(i)) {
                emit PermanentURI(tokenURI(i), i);
            }
        }
    }

    function ownerMint(address to, uint256 quantity) external onlyOwnerOrAdmin {
        require(_totalMinted() + quantity <= MAX_SUPPLY, "Quantity exceeds supply");

        uint256 firstJerseyId = _nextTokenId();
        _safeMint(to, quantity);
        
        for (uint256 i = firstJerseyId; i < firstJerseyId + quantity; i++) {
            _requestRandomMetadata(i);
        }
    }

    function setBaseURI(string calldata newBaseURI) external onlyOwnerOrAdmin {
        require(!baseURILocked, "Base URI is locked");
        _baseTokenURI = newBaseURI;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function totalMinted() external view returns (uint256) {
        return _totalMinted();
    }

    function setAdmin(address admin) external onlyOwner {
        _admin = admin;
    }
    
    function setBoxContract(address addr) external onlyOwnerOrAdmin {
        BOX = BoxContract(addr);
    }

    function setBurnAuthorizedContract(address authorizedContract) external onlyOwnerOrAdmin {
        _burnAuthorizedContract = authorizedContract;
    }
    
    function withdrawMoney(address to) external onlyOwnerOrAdmin {
        (bool success, ) = to.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    // Sets the Chainlink subscription id
    function setChainlinkSubscriptionId(uint64 id) external onlyOwnerOrAdmin {
        _chainlinkSubscriptionId = id;
    }

    // Marketplace blocklist functions
    mapping(address => bool) private _marketplaceBlocklist;

    function approve(address to, uint256 tokenId) public virtual override(ERC721A, IERC721A) {
        require(_marketplaceBlocklist[to] == false, "Marketplace is blocked");
        super.approve(to, tokenId);
    }

    function setApprovalForAll(address operator, bool approved) public virtual override(ERC721A, IERC721A) {
        require(_marketplaceBlocklist[operator] == false, "Marketplace is blocked");
        super.setApprovalForAll(operator, approved);
    }

    function blockMarketplace(address addr, bool blocked) public onlyOwnerOrAdmin {
        _marketplaceBlocklist[addr] = blocked;
    }

    // OpenSea metadata initialization
    function contractURI() public pure returns (string memory) {
        return "https://exhale.mypinata.cloud/ipfs/QmZwZyWCpJtueASnJEqJ2dPynL9NemQoCtmiCGtUtjBVyJ";
    }
}

interface BoxContract {
    function burn(uint256 tokenId) external;
    function ownerOf(uint256 tokenId) external view returns (address owner);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 5 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// 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 6 of 11 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 7 of 11 : IERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

File 8 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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`,
     * 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 be 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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` 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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 9 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    string public baseExtension = ".json";
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId), baseExtension)) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 10 of 11 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"boxContract","type":"address"},{"internalType":"uint64","name":"chainlinkSubscriptionId","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","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":"baseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"blocked","type":"bool"}],"name":"blockMarketplace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dnaToRemainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getDna","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openBoxPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"pauseopenBox","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":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"retryopenBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"setAdmin","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setBoxContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"authorizedContract","type":"address"}],"name":"setBurnAuthorizedContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"id","type":"uint64"}],"name":"setChainlinkSubscriptionId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"dna","type":"uint256"}],"name":"setTokenMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"boxIds","type":"uint256[]"}],"name":"startopenBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToDna","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600290816200004a919062000cf4565b507f8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef60001b600c5560fa600e553480156200008457600080fd5b5060405162006a8138038062006a818339818101604052810190620000aa919062000fe9565b6040518060400160405280600681526020017f4a657273657900000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4a6572736579000000000000000000000000000000000000000000000000000081525073271682deb8c4e0901d1a1550ad2e64d568e699096200014b6200013f6200033160201b60201c565b6200033960201b60201c565b600180819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050816005908162000198919062000cf4565b508060069081620001aa919062000cf4565b50620001bb620003fd60201b60201c565b600381905550505080600b60146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601290816200023e919062000cf4565b506000601160006101000a81548160ff02191690831515021790555073271682deb8c4e0901d1a1550ad2e64d568e69909600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003006200040260201b60201c565b62000313336001620004ba60201b60201c565b6200032760006001620004e060201b60201c565b50505050620012d1565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b6040600d600060018152602001908152602001600020819055506032600d600060028152602001908152602001600020819055506028600d600060038152602001908152602001600020819055506028600d60006004815260200190815260200160002081905550601c600d600060058152602001908152602001600020819055506012600d60006006815260200190815260200160002081905550600a600d60006007815260200190815260200160002081905550565b620004dc828260405180602001604052806000815250620005a460201b60201c565b5050565b600060106000848152602001908152602001600020541462000539576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200053090620010db565b60405180910390fd5b806010600084815260200190815260200160002081905550600081118015620005625750600881105b15620005a057600d60008281526020019081526020016000206000815480929190600190039190505550600e60008154809291906001900391905055505b5050565b620005b683836200065660201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620006515760006003549050600083820390505b6200060060008683806001019450866200083e60201b60201c565b62000637576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620005e55781600354146200064e57600080fd5b50505b505050565b600060035490506000820362000698576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620006ad60008483856200099f60201b60201c565b600160406001901b178202600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200073c836200071e6000866000620009f860201b60201c565b6200072f8562000a2860201b60201c565b1762000a3860201b60201c565b6007600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620007df57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620007a2565b50600082036200081b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600381905550505062000839600084838562000a6360201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200086c62000a6960201b60201c565b8786866040518563ffffffff1660e01b81526004016200089094939291906200117c565b6020604051808303816000875af1925050508015620008cf57506040513d601f19601f82011682018060405250810190620008cc91906200122d565b60015b6200094c573d806000811462000902576040519150601f19603f3d011682016040523d82523d6000602084013e62000907565b606091505b50600081510362000944576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b601160019054906101000a900460ff1615620009f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009e990620012af565b60405180910390fd5b50505050565b60008060e883901c905060e862000a1786868462000a7160201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000afc57607f821691505b60208210810362000b125762000b1162000ab4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000b7c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000b3d565b62000b88868362000b3d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000bd562000bcf62000bc98462000ba0565b62000baa565b62000ba0565b9050919050565b6000819050919050565b62000bf18362000bb4565b62000c0962000c008262000bdc565b84845462000b4a565b825550505050565b600090565b62000c2062000c11565b62000c2d81848462000be6565b505050565b5b8181101562000c555762000c4960008262000c16565b60018101905062000c33565b5050565b601f82111562000ca45762000c6e8162000b18565b62000c798462000b2d565b8101602085101562000c89578190505b62000ca162000c988562000b2d565b83018262000c32565b50505b505050565b600082821c905092915050565b600062000cc96000198460080262000ca9565b1980831691505092915050565b600062000ce4838362000cb6565b9150826002028217905092915050565b62000cff8262000a7a565b67ffffffffffffffff81111562000d1b5762000d1a62000a85565b5b62000d27825462000ae3565b62000d3482828562000c59565b600060209050601f83116001811462000d6c576000841562000d57578287015190505b62000d63858262000cd6565b86555062000dd3565b601f19841662000d7c8662000b18565b60005b8281101562000da65784890151825560018201915060208501945060208101905062000d7f565b8683101562000dc6578489015162000dc2601f89168262000cb6565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000e158262000df9565b810181811067ffffffffffffffff8211171562000e375762000e3662000a85565b5b80604052505050565b600062000e4c62000ddb565b905062000e5a828262000e0a565b919050565b600067ffffffffffffffff82111562000e7d5762000e7c62000a85565b5b62000e888262000df9565b9050602081019050919050565b60005b8381101562000eb557808201518184015260208101905062000e98565b60008484015250505050565b600062000ed862000ed28462000e5f565b62000e40565b90508281526020810184848401111562000ef75762000ef662000df4565b5b62000f0484828562000e95565b509392505050565b600082601f83011262000f245762000f2362000def565b5b815162000f3684826020860162000ec1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000f6c8262000f3f565b9050919050565b62000f7e8162000f5f565b811462000f8a57600080fd5b50565b60008151905062000f9e8162000f73565b92915050565b600067ffffffffffffffff82169050919050565b62000fc38162000fa4565b811462000fcf57600080fd5b50565b60008151905062000fe38162000fb8565b92915050565b6000806000806080858703121562001006576200100562000de5565b5b600085015167ffffffffffffffff81111562001027576200102662000dea565b5b620010358782880162000f0c565b9450506020620010488782880162000f8d565b93505060406200105b8782880162000f8d565b92505060606200106e8782880162000fd2565b91505092959194509250565b600082825260208201905092915050565b7f546f6b656e20616c726561647920686173206120444e41000000000000000000600082015250565b6000620010c36017836200107a565b9150620010d0826200108b565b602082019050919050565b60006020820190508181036000830152620010f681620010b4565b9050919050565b620011088162000f5f565b82525050565b620011198162000ba0565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001148826200111f565b6200115481856200112a565b93506200116681856020860162000e95565b620011718162000df9565b840191505092915050565b6000608082019050620011936000830187620010fd565b620011a26020830186620010fd565b620011b160408301856200110e565b8181036060830152620011c581846200113b565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200120781620011d0565b81146200121357600080fd5b50565b6000815190506200122781620011fc565b92915050565b60006020828403121562001246576200124562000de5565b5b6000620012568482850162001216565b91505092915050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000620012976012836200107a565b9150620012a4826200125f565b602082019050919050565b60006020820190508181036000830152620012ca8162001288565b9050919050565b60805161578d620012f460003960008181610d500152610da4015261578d6000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c80636352211e11610167578063a2309ff8116100ce578063da0239a611610087578063da0239a614610809578063e272b89214610827578063e8a3d48514610843578063e985e9c514610861578063f2fde38b14610891578063f68b0c12146108ad576102a0565b8063a2309ff814610735578063b88d4fde14610753578063c23dc68f1461076f578063c66828621461079f578063c87b56dd146107bd578063ce65e36e146107ed576102a0565b80638a67456a116101205780638a67456a146106735780638da5cb5b1461069157806395d89b41146106af57806399a2557a146106cd578063a175ec94146106fd578063a22cb46514610719576102a0565b80636352211e146105a1578063692ad353146105d1578063704b6c02146105ed57806370a0823114610609578063715018a6146106395780638462151c14610643576102a0565b806338df9bde1161020b5780634c310bfe116101c45780634c310bfe146104f557806353df5c7c1461051157806355f804b31461051b578063561cfe4f146105375780635bbb2177146105535780635d148e5c14610583576102a0565b806338df9bde14610425578063422627c31461045557806342842e0e1461048557806342966c68146104a157806346b800ff146104bd578063484b973c146104d9576102a0565b806318160ddd1161025d57806318160ddd146103795780631f0e330b146103975780631fe543e3146103b357806323b872dd146103cf5780632f971029146103eb57806332cb6b0c14610407576102a0565b806301ffc9a7146102a557806306147de2146102d557806306fdde03146102f3578063081812fc14610311578063095ea7b31461034157806317a97cd71461035d575b600080fd5b6102bf60048036038101906102ba9190613d5c565b6108dd565b6040516102cc9190613da4565b60405180910390f35b6102dd61096f565b6040516102ea9190613da4565b60405180910390f35b6102fb610982565b6040516103089190613e4f565b60405180910390f35b61032b60048036038101906103269190613ea7565b610a14565b6040516103389190613f15565b60405180910390f35b61035b60048036038101906103569190613f5c565b610a93565b005b61037760048036038101906103729190613f9c565b610b34565b005b610381610c0f565b60405161038e9190613feb565b60405180910390f35b6103b160048036038101906103ac9190614032565b610c26565b005b6103cd60048036038101906103c891906141ba565b610d4e565b005b6103e960048036038101906103e49190614216565b610e0e565b005b61040560048036038101906104009190614269565b611130565b005b61040f6112ad565b60405161041c9190613feb565b60405180910390f35b61043f600480360381019061043a9190613ea7565b6112b2565b60405161044c9190613feb565b60405180910390f35b61046f600480360381019061046a9190613ea7565b6112ca565b60405161047c9190613feb565b60405180910390f35b61049f600480360381019061049a9190614216565b6112e7565b005b6104bb60048036038101906104b69190613ea7565b611307565b005b6104d760048036038101906104d29190614269565b61136b565b005b6104f360048036038101906104ee9190613f5c565b61147c565b005b61050f600480360381019061050a9190614296565b6115f0565b005b610519611932565b005b6105356004803603810190610530919061433a565b611a91565b005b610551600480360381019061054c9190614387565b611bc4565b005b61056d6004803603810190610568919061440a565b611cae565b60405161057a91906145ba565b60405180910390f35b61058b611d71565b6040516105989190613da4565b60405180910390f35b6105bb60048036038101906105b69190613ea7565b611d84565b6040516105c89190613f15565b60405180910390f35b6105eb60048036038101906105e69190614608565b611d96565b005b61060760048036038101906106029190614269565b611e8f565b005b610623600480360381019061061e9190614269565b611edb565b6040516106309190613feb565b60405180910390f35b610641611f93565b005b61065d60048036038101906106589190614269565b611fa7565b60405161066a91906146f3565b60405180910390f35b61067b6120ea565b6040516106889190613da4565b60405180910390f35b6106996120fd565b6040516106a69190613f15565b60405180910390f35b6106b7612126565b6040516106c49190613e4f565b60405180910390f35b6106e760048036038101906106e29190614715565b6121b8565b6040516106f491906146f3565b60405180910390f35b61071760048036038101906107129190614269565b6123c4565b005b610733600480360381019061072e9190614032565b6124d5565b005b61073d612576565b60405161074a9190613feb565b60405180910390f35b61076d6004803603810190610768919061481d565b612585565b005b61078960048036038101906107849190613ea7565b6125f8565b60405161079691906148f5565b60405180910390f35b6107a7612662565b6040516107b49190613e4f565b60405180910390f35b6107d760048036038101906107d29190613ea7565b6126f0565b6040516107e49190613e4f565b60405180910390f35b61080760048036038101906108029190613ea7565b612791565b005b610811612941565b60405161081e9190613feb565b60405180910390f35b610841600480360381019061083c9190614387565b612947565b005b61084b612a31565b6040516108589190613e4f565b60405180910390f35b61087b60048036038101906108769190614910565b612a51565b6040516108889190613da4565b60405180910390f35b6108ab60048036038101906108a69190614269565b612ae5565b005b6108c760048036038101906108c29190613ea7565b612b68565b6040516108d49190613feb565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109685750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b601160009054906101000a900460ff1681565b6060600580546109919061497f565b80601f01602080910402602001604051908101604052809291908181526020018280546109bd9061497f565b8015610a0a5780601f106109df57610100808354040283529160200191610a0a565b820191906000526020600020905b8154815290600101906020018083116109ed57829003601f168201915b5050505050905090565b6000610a1f82612b80565b610a55576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60001515601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d906149fc565b60405180910390fd5b610b308282612bdf565b5050565b610b3c6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610bc25750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf890614a68565b60405180910390fd5b610c0b8282612d23565b5050565b6000610c19612de2565b6004546003540303905090565b610c2e6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cb45750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614a68565b60405180910390fd5b80601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e0057337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610df7929190614a88565b60405180910390fd5b610e0a8282612de7565b5050565b6000610e1982612ee5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e80576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e8c84612fb1565b91509150610ea28187610e9d612fd8565b612fe0565b610eee57610eb786610eb2612fd8565b612a51565b610eed576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f54576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f618686866001613024565b8015610f6c57600082555b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061103a8561101688888761307a565b7c0200000000000000000000000000000000000000000000000000000000176130a2565b600760008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036110c057600060018501905060006007600083815260200190815260200160002054036110be5760035481146110bd578360076000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461112886868660016130cd565b505050505050565b6111386120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111be5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614a68565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff164760405161122390614ae2565b60006040518083038185875af1925050503d8060008114611260576040519150601f19603f3d011682016040523d82523d6000602084013e611265565b606091505b50509050806112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090614b43565b60405180910390fd5b5050565b60fa81565b60106020528060005260406000206000915090505481565b600060106000838152602001908152602001600020549050919050565b61130283838360405180602001604052806000815250612585565b505050565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415905061136782826130d3565b5050565b6113736120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113f95750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f90614a68565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114846120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061150a5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090614a68565b60405180910390fd5b60fa81611554613325565b61155e9190614b92565b111561159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690614c12565b60405180910390fd5b60006115a9613338565b90506115b58383613342565b60008190505b82826115c79190614b92565b8110156115ea576115d781613360565b80806115e290614c32565b9150506115bb565b50505050565b600260015403611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90614cc6565b60405180910390fd5b60026001819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a290614d32565b60405180910390fd5b601160009054906101000a900460ff161580156116d55750601160019054906101000a900460ff16155b611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90614d9e565b60405180910390fd5b60005b81518110156118e357600082828151811061173557611734614dbe565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016117b19190613feb565b602060405180830381865afa1580156117ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f29190614e02565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f90614e7b565b60405180910390fd5b601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b81526004016118a39190613feb565b600060405180830381600087803b1580156118bd57600080fd5b505af11580156118d1573d6000803e3d6000fd5b50505050818060010192505050611717565b60006118ed613338565b90506118fa338451613342565b8091505b60011561192657825181018210156119265761191982613360565b81806001019250506118fe565b50506001808190555050565b61193a6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119c05750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f690614a68565b60405180910390fd5b6001601360006101000a81548160ff02191690831515021790555060005b611a25613338565b811015611a8e57611a3581612b80565b15611a7b57807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207611a65836126f0565b604051611a729190613e4f565b60405180910390a25b8080611a8690614c32565b915050611a1d565b50565b611a996120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b1f5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5590614a68565b60405180910390fd5b601360009054906101000a900460ff1615611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590614ee7565b60405180910390fd5b818160129182611bbf9291906150be565b505050565b611bcc6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c525750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8890614a68565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6060600083839050905060008167ffffffffffffffff811115611cd457611cd3614077565b5b604051908082528060200260200182016040528015611d0d57816020015b611cfa613ca1565b815260200190600190039081611cf25790505b50905060005b828114611d6557611d3c868683818110611d3057611d2f614dbe565b5b905060200201356125f8565b828281518110611d4f57611d4e614dbe565b5b6020026020010181905250806001019050611d13565b50809250505092915050565b601360009054906101000a900460ff1681565b6000611d8f82612ee5565b9050919050565b611d9e6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e245750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5a90614a68565b60405180910390fd5b80600b60146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b611e97613443565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f42576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611f9b613443565b611fa560006134c1565b565b60606000806000611fb785611edb565b905060008167ffffffffffffffff811115611fd557611fd4614077565b5b6040519080825280602002602001820160405280156120035781602001602082028036833780820191505090505b50905061200e613ca1565b6000612018612de2565b90505b8386146120dc5761202b81613585565b915081604001516120d157600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461207657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036120d057808387806001019850815181106120c3576120c2614dbe565b5b6020026020010181815250505b5b80600101905061201b565b508195505050505050919050565b601160019054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600680546121359061497f565b80601f01602080910402602001604051908101604052809291908181526020018280546121619061497f565b80156121ae5780601f10612183576101008083540402835291602001916121ae565b820191906000526020600020905b81548152906001019060200180831161219157829003601f168201915b5050505050905090565b60608183106121f3576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806121fe613338565b9050612208612de2565b85101561221a57612217612de2565b94505b80841115612226578093505b600061223187611edb565b90508486101561225457600086860390508181101561224e578091505b50612259565b600090505b60008167ffffffffffffffff81111561227557612274614077565b5b6040519080825280602002602001820160405280156122a35781602001602082028036833780820191505090505b509050600082036122ba57809450505050506123bd565b60006122c5886125f8565b9050600081604001516122da57816000015190505b60008990505b8881141580156122f05750848714155b156123af576122fe81613585565b925082604001516123a457600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461234957826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123a3578084888060010199508151811061239657612395614dbe565b5b6020026020010181815250505b5b8060010190506122e0565b508583528296505050505050505b9392505050565b6123cc6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124525750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248890614a68565b60405180910390fd5b80601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60001515601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f906149fc565b60405180910390fd5b61257282826135b0565b5050565b6000612580613325565b905090565b612590848484610e0e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125f2576125bb84848484613727565b6125f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612600613ca1565b612608613ca1565b612610612de2565b8310806126245750612620613338565b8310155b15612632578091505061265d565b61263b83613585565b9050806040015115612650578091505061265d565b61265983613877565b9150505b919050565b6002805461266f9061497f565b80601f016020809104026020016040519081016040528092919081815260200182805461269b9061497f565b80156126e85780601f106126bd576101008083540402835291602001916126e8565b820191906000526020600020905b8154815290600101906020018083116126cb57829003601f168201915b505050505081565b60606126fb82612b80565b612731576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061273b613897565b9050600081510361275b5760405180602001604052806000815250612789565b8061276584613929565b60026040516020016127799392919061524d565b6040516020818303038152906040525b915050919050565b6127996120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061281f5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61285e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285590614a68565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600c54600b60149054906101000a900467ffffffffffffffff166003620186a060016040518663ffffffff1660e01b81526004016128e095949392919061531d565b6020604051808303816000875af11580156128ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129239190615385565b905081600f6000838152602001908152602001600020819055505050565b600e5481565b61294f6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806129d55750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0b90614a68565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b606060405180608001604052806051815260200161570760519139905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612aed613443565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390615424565b60405180910390fd5b612b65816134c1565b50565b600d6020528060005260406000206000915090505481565b600081612b8b612de2565b11158015612b9a575060035482105b8015612bd8575060007c0100000000000000000000000000000000000000000000000000000000600760008581526020019081526020016000205416145b9050919050565b6000612bea82611d84565b90508073ffffffffffffffffffffffffffffffffffffffff16612c0b612fd8565b73ffffffffffffffffffffffffffffffffffffffff1614612c6e57612c3781612c32612fd8565b612a51565b612c6d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826009600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000601060008481526020019081526020016000205414612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7090615490565b60405180910390fd5b806010600084815260200190815260200160002081905550600081118015612da15750600881105b15612dde57600d60008281526020019081526020016000206000815480929190600190039190505550600e60008154809291906001900391905055505b5050565b600090565b6000600f600084815260200190815260200160002054905060008111612e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e39906154fc565b60405180910390fd5b600082600081518110612e5857612e57614dbe565b5b602002602001015190506000600e548281612e7657612e7561551c565b5b069050600080600190505b6008811015612edc576000600d600083815260200190815260200160002054905060008111612eb05750612ecf565b808301925082841015612ecd57612ec78683612d23565b50612edc565b505b8080600101915050612e81565b50505050505050565b60008082905080612ef4612de2565b11612f7a57600354811015612f795760006007600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f77575b60008103612f6d576007600083600190039350838152602001908152602001600020549050612f43565b8092505050612fac565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006009600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b601160019054906101000a900460ff1615613074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306b90615597565b60405180910390fd5b50505050565b60008060e883901c905060e8613091868684613970565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006130de83612ee5565b905060008190506000806130f186612fb1565b91509150841561315a5761310d8184613108612fd8565b612fe0565b613159576131228361311d612fd8565b612a51565b613158576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613168836000886001613024565b801561317357600082555b600160806001901b03600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061321b836131d88560008861307a565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176130a2565b600760008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036132a1576000600187019050600060076000838152602001908152602001600020540361329f57600354811461329e578460076000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461330b8360008860016130cd565b600460008154809291906001019190505550505050505050565b600061332f612de2565b60035403905090565b6000600354905090565b61335c828260405180602001604052806000815250613979565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600c54600b60149054906101000a900467ffffffffffffffff166003620186a060016040518663ffffffff1660e01b81526004016133e295949392919061531d565b6020604051808303816000875af1158015613401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134259190615385565b905081600f6000838152602001908152602001600020819055505050565b61344b613a17565b73ffffffffffffffffffffffffffffffffffffffff166134696120fd565b73ffffffffffffffffffffffffffffffffffffffff16146134bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b690615603565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61358d613ca1565b6135a96007600084815260200190815260200160002054613a1f565b9050919050565b6135b8612fd8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361361c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a6000613629612fd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166136d6612fd8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161371b9190613da4565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261374d612fd8565b8786866040518563ffffffff1660e01b815260040161376f9493929190615678565b6020604051808303816000875af19250505080156137ab57506040513d601f19601f820116820180604052508101906137a891906156d9565b60015b613824573d80600081146137db576040519150601f19603f3d011682016040523d82523d6000602084013e6137e0565b606091505b50600081510361381c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b61387f613ca1565b61389061388b83612ee5565b613a1f565b9050919050565b6060601280546138a69061497f565b80601f01602080910402602001604051908101604052809291908181526020018280546138d29061497f565b801561391f5780601f106138f45761010080835404028352916020019161391f565b820191906000526020600020905b81548152906001019060200180831161390257829003601f168201915b5050505050905090565b606060806040510190508060405280825b60011561395c57600183039250600a81066030018353600a810490508061393a575b508181036020830392508083525050919050565b60009392505050565b6139838383613ad5565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613a125760006003549050600083820390505b6139c46000868380600101945086613727565b6139fa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106139b1578160035414613a0f57600080fd5b50505b505050565b600033905090565b613a27613ca1565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000600354905060008203613b16576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b236000848385613024565b600160406001901b178202600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613b9a83613b8b600086600061307a565b613b9485613c91565b176130a2565b6007600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613c3b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613c00565b5060008203613c76576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806003819055505050613c8c60008483856130cd565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d3981613d04565b8114613d4457600080fd5b50565b600081359050613d5681613d30565b92915050565b600060208284031215613d7257613d71613cfa565b5b6000613d8084828501613d47565b91505092915050565b60008115159050919050565b613d9e81613d89565b82525050565b6000602082019050613db96000830184613d95565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613df9578082015181840152602081019050613dde565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e2182613dbf565b613e2b8185613dca565b9350613e3b818560208601613ddb565b613e4481613e05565b840191505092915050565b60006020820190508181036000830152613e698184613e16565b905092915050565b6000819050919050565b613e8481613e71565b8114613e8f57600080fd5b50565b600081359050613ea181613e7b565b92915050565b600060208284031215613ebd57613ebc613cfa565b5b6000613ecb84828501613e92565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613eff82613ed4565b9050919050565b613f0f81613ef4565b82525050565b6000602082019050613f2a6000830184613f06565b92915050565b613f3981613ef4565b8114613f4457600080fd5b50565b600081359050613f5681613f30565b92915050565b60008060408385031215613f7357613f72613cfa565b5b6000613f8185828601613f47565b9250506020613f9285828601613e92565b9150509250929050565b60008060408385031215613fb357613fb2613cfa565b5b6000613fc185828601613e92565b9250506020613fd285828601613e92565b9150509250929050565b613fe581613e71565b82525050565b60006020820190506140006000830184613fdc565b92915050565b61400f81613d89565b811461401a57600080fd5b50565b60008135905061402c81614006565b92915050565b6000806040838503121561404957614048613cfa565b5b600061405785828601613f47565b92505060206140688582860161401d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140af82613e05565b810181811067ffffffffffffffff821117156140ce576140cd614077565b5b80604052505050565b60006140e1613cf0565b90506140ed82826140a6565b919050565b600067ffffffffffffffff82111561410d5761410c614077565b5b602082029050602081019050919050565b600080fd5b6000614136614131846140f2565b6140d7565b905080838252602082019050602084028301858111156141595761415861411e565b5b835b81811015614182578061416e8882613e92565b84526020840193505060208101905061415b565b5050509392505050565b600082601f8301126141a1576141a0614072565b5b81356141b1848260208601614123565b91505092915050565b600080604083850312156141d1576141d0613cfa565b5b60006141df85828601613e92565b925050602083013567ffffffffffffffff811115614200576141ff613cff565b5b61420c8582860161418c565b9150509250929050565b60008060006060848603121561422f5761422e613cfa565b5b600061423d86828701613f47565b935050602061424e86828701613f47565b925050604061425f86828701613e92565b9150509250925092565b60006020828403121561427f5761427e613cfa565b5b600061428d84828501613f47565b91505092915050565b6000602082840312156142ac576142ab613cfa565b5b600082013567ffffffffffffffff8111156142ca576142c9613cff565b5b6142d68482850161418c565b91505092915050565b600080fd5b60008083601f8401126142fa576142f9614072565b5b8235905067ffffffffffffffff811115614317576143166142df565b5b6020830191508360018202830111156143335761433261411e565b5b9250929050565b6000806020838503121561435157614350613cfa565b5b600083013567ffffffffffffffff81111561436f5761436e613cff565b5b61437b858286016142e4565b92509250509250929050565b60006020828403121561439d5761439c613cfa565b5b60006143ab8482850161401d565b91505092915050565b60008083601f8401126143ca576143c9614072565b5b8235905067ffffffffffffffff8111156143e7576143e66142df565b5b6020830191508360208202830111156144035761440261411e565b5b9250929050565b6000806020838503121561442157614420613cfa565b5b600083013567ffffffffffffffff81111561443f5761443e613cff565b5b61444b858286016143b4565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61448c81613ef4565b82525050565b600067ffffffffffffffff82169050919050565b6144af81614492565b82525050565b6144be81613d89565b82525050565b600062ffffff82169050919050565b6144dc816144c4565b82525050565b6080820160008201516144f86000850182614483565b50602082015161450b60208501826144a6565b50604082015161451e60408501826144b5565b50606082015161453160608501826144d3565b50505050565b600061454383836144e2565b60808301905092915050565b6000602082019050919050565b600061456782614457565b6145718185614462565b935061457c83614473565b8060005b838110156145ad5781516145948882614537565b975061459f8361454f565b925050600181019050614580565b5085935050505092915050565b600060208201905081810360008301526145d4818461455c565b905092915050565b6145e581614492565b81146145f057600080fd5b50565b600081359050614602816145dc565b92915050565b60006020828403121561461e5761461d613cfa565b5b600061462c848285016145f3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61466a81613e71565b82525050565b600061467c8383614661565b60208301905092915050565b6000602082019050919050565b60006146a082614635565b6146aa8185614640565b93506146b583614651565b8060005b838110156146e65781516146cd8882614670565b97506146d883614688565b9250506001810190506146b9565b5085935050505092915050565b6000602082019050818103600083015261470d8184614695565b905092915050565b60008060006060848603121561472e5761472d613cfa565b5b600061473c86828701613f47565b935050602061474d86828701613e92565b925050604061475e86828701613e92565b9150509250925092565b600080fd5b600067ffffffffffffffff82111561478857614787614077565b5b61479182613e05565b9050602081019050919050565b82818337600083830152505050565b60006147c06147bb8461476d565b6140d7565b9050828152602081018484840111156147dc576147db614768565b5b6147e784828561479e565b509392505050565b600082601f83011261480457614803614072565b5b81356148148482602086016147ad565b91505092915050565b6000806000806080858703121561483757614836613cfa565b5b600061484587828801613f47565b945050602061485687828801613f47565b935050604061486787828801613e92565b925050606085013567ffffffffffffffff81111561488857614887613cff565b5b614894878288016147ef565b91505092959194509250565b6080820160008201516148b66000850182614483565b5060208201516148c960208501826144a6565b5060408201516148dc60408501826144b5565b5060608201516148ef60608501826144d3565b50505050565b600060808201905061490a60008301846148a0565b92915050565b6000806040838503121561492757614926613cfa565b5b600061493585828601613f47565b925050602061494685828601613f47565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061499757607f821691505b6020821081036149aa576149a9614950565b5b50919050565b7f4d61726b6574706c61636520697320626c6f636b656400000000000000000000600082015250565b60006149e6601683613dca565b91506149f1826149b0565b602082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b7f4e6f74206f776e6572206f722061646d696e0000000000000000000000000000600082015250565b6000614a52601283613dca565b9150614a5d82614a1c565b602082019050919050565b60006020820190508181036000830152614a8181614a45565b9050919050565b6000604082019050614a9d6000830185613f06565b614aaa6020830184613f06565b9392505050565b600081905092915050565b50565b6000614acc600083614ab1565b9150614ad782614abc565b600082019050919050565b6000614aed82614abf565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614b2d601083613dca565b9150614b3882614af7565b602082019050919050565b60006020820190508181036000830152614b5c81614b20565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b9d82613e71565b9150614ba883613e71565b9250828201905080821115614bc057614bbf614b63565b5b92915050565b7f5175616e74697479206578636565647320737570706c79000000000000000000600082015250565b6000614bfc601783613dca565b9150614c0782614bc6565b602082019050919050565b60006020820190508181036000830152614c2b81614bef565b9050919050565b6000614c3d82613e71565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c6f57614c6e614b63565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614cb0601f83613dca565b9150614cbb82614c7a565b602082019050919050565b60006020820190508181036000830152614cdf81614ca3565b9050919050565b7f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000600082015250565b6000614d1c601a83613dca565b9150614d2782614ce6565b602082019050919050565b60006020820190508181036000830152614d4b81614d0f565b9050919050565b7f426f78206f70656e696e67206973207061757365640000000000000000000000600082015250565b6000614d88601583613dca565b9150614d9382614d52565b602082019050919050565b60006020820190508181036000830152614db781614d7b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614dfc81613f30565b92915050565b600060208284031215614e1857614e17613cfa565b5b6000614e2684828501614ded565b91505092915050565b7f596f7520646f6e2774206f776e2074686520676976656e20426f780000000000600082015250565b6000614e65601b83613dca565b9150614e7082614e2f565b602082019050919050565b60006020820190508181036000830152614e9481614e58565b9050919050565b7f4261736520555249206973206c6f636b65640000000000000000000000000000600082015250565b6000614ed1601283613dca565b9150614edc82614e9b565b602082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614f747fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f37565b614f7e8683614f37565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614fbb614fb6614fb184613e71565b614f96565b613e71565b9050919050565b6000819050919050565b614fd583614fa0565b614fe9614fe182614fc2565b848454614f44565b825550505050565b600090565b614ffe614ff1565b615009818484614fcc565b505050565b5b8181101561502d57615022600082614ff6565b60018101905061500f565b5050565b601f8211156150725761504381614f12565b61504c84614f27565b8101602085101561505b578190505b61506f61506785614f27565b83018261500e565b50505b505050565b600082821c905092915050565b600061509560001984600802615077565b1980831691505092915050565b60006150ae8383615084565b9150826002028217905092915050565b6150c88383614f07565b67ffffffffffffffff8111156150e1576150e0614077565b5b6150eb825461497f565b6150f6828285615031565b6000601f8311600181146151255760008415615113578287013590505b61511d85826150a2565b865550615185565b601f19841661513386614f12565b60005b8281101561515b57848901358255600182019150602085019450602081019050615136565b868310156151785784890135615174601f891682615084565b8355505b6001600288020188555050505b50505050505050565b600081905092915050565b60006151a482613dbf565b6151ae818561518e565b93506151be818560208601613ddb565b80840191505092915050565b600081546151d78161497f565b6151e1818661518e565b945060018216600081146151fc576001811461521157615244565b60ff1983168652811515820286019350615244565b61521a85614f12565b60005b8381101561523c5781548189015260018201915060208101905061521d565b838801955050505b50505092915050565b60006152598286615199565b91506152658285615199565b915061527182846151ca565b9150819050949350505050565b6000819050919050565b6152918161527e565b82525050565b6152a081614492565b82525050565b600061ffff82169050919050565b6152bd816152a6565b82525050565b600063ffffffff82169050919050565b6152dc816152c3565b82525050565b6000819050919050565b60006153076153026152fd846152e2565b614f96565b6152c3565b9050919050565b615317816152ec565b82525050565b600060a0820190506153326000830188615288565b61533f6020830187615297565b61534c60408301866152b4565b61535960608301856152d3565b615366608083018461530e565b9695505050505050565b60008151905061537f81613e7b565b92915050565b60006020828403121561539b5761539a613cfa565b5b60006153a984828501615370565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061540e602683613dca565b9150615419826153b2565b604082019050919050565b6000602082019050818103600083015261543d81615401565b9050919050565b7f546f6b656e20616c726561647920686173206120444e41000000000000000000600082015250565b600061547a601783613dca565b915061548582615444565b602082019050919050565b600060208201905081810360008301526154a98161546d565b9050919050565b7f496e76616c696420726571756573742069640000000000000000000000000000600082015250565b60006154e6601283613dca565b91506154f1826154b0565b602082019050919050565b60006020820190508181036000830152615515816154d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000615581601283613dca565b915061558c8261554b565b602082019050919050565b600060208201905081810360008301526155b081615574565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155ed602083613dca565b91506155f8826155b7565b602082019050919050565b6000602082019050818103600083015261561c816155e0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061564a82615623565b615654818561562e565b9350615664818560208601613ddb565b61566d81613e05565b840191505092915050565b600060808201905061568d6000830187613f06565b61569a6020830186613f06565b6156a76040830185613fdc565b81810360608301526156b9818461563f565b905095945050505050565b6000815190506156d381613d30565b92915050565b6000602082840312156156ef576156ee613cfa565b5b60006156fd848285016156c4565b9150509291505056fe68747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f697066732f516d5a775a795743704a74756541536e4a45714a326450796e4c394e656d516f43746d6943477455746a4256794aa26469706673582212201827d946583239f4f1bd80fb9bb48b9c00705c5f7ef8543aa08dd351da7ce65464736f6c634300081000330000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a5d224b43eab837aa2ee9c6ed727f1613f301a5e000000000000000000000000d2e50f7ccf48cd0ec62d5d5af4dbeb8fb6dcd1f400000000000000000000000000000000000000000000000000000000000001a8000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f62616c6c65722d616c6368656d792d746573742e6865726f6b756170702e636f6d2f746f6b656e2f00000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102a05760003560e01c80636352211e11610167578063a2309ff8116100ce578063da0239a611610087578063da0239a614610809578063e272b89214610827578063e8a3d48514610843578063e985e9c514610861578063f2fde38b14610891578063f68b0c12146108ad576102a0565b8063a2309ff814610735578063b88d4fde14610753578063c23dc68f1461076f578063c66828621461079f578063c87b56dd146107bd578063ce65e36e146107ed576102a0565b80638a67456a116101205780638a67456a146106735780638da5cb5b1461069157806395d89b41146106af57806399a2557a146106cd578063a175ec94146106fd578063a22cb46514610719576102a0565b80636352211e146105a1578063692ad353146105d1578063704b6c02146105ed57806370a0823114610609578063715018a6146106395780638462151c14610643576102a0565b806338df9bde1161020b5780634c310bfe116101c45780634c310bfe146104f557806353df5c7c1461051157806355f804b31461051b578063561cfe4f146105375780635bbb2177146105535780635d148e5c14610583576102a0565b806338df9bde14610425578063422627c31461045557806342842e0e1461048557806342966c68146104a157806346b800ff146104bd578063484b973c146104d9576102a0565b806318160ddd1161025d57806318160ddd146103795780631f0e330b146103975780631fe543e3146103b357806323b872dd146103cf5780632f971029146103eb57806332cb6b0c14610407576102a0565b806301ffc9a7146102a557806306147de2146102d557806306fdde03146102f3578063081812fc14610311578063095ea7b31461034157806317a97cd71461035d575b600080fd5b6102bf60048036038101906102ba9190613d5c565b6108dd565b6040516102cc9190613da4565b60405180910390f35b6102dd61096f565b6040516102ea9190613da4565b60405180910390f35b6102fb610982565b6040516103089190613e4f565b60405180910390f35b61032b60048036038101906103269190613ea7565b610a14565b6040516103389190613f15565b60405180910390f35b61035b60048036038101906103569190613f5c565b610a93565b005b61037760048036038101906103729190613f9c565b610b34565b005b610381610c0f565b60405161038e9190613feb565b60405180910390f35b6103b160048036038101906103ac9190614032565b610c26565b005b6103cd60048036038101906103c891906141ba565b610d4e565b005b6103e960048036038101906103e49190614216565b610e0e565b005b61040560048036038101906104009190614269565b611130565b005b61040f6112ad565b60405161041c9190613feb565b60405180910390f35b61043f600480360381019061043a9190613ea7565b6112b2565b60405161044c9190613feb565b60405180910390f35b61046f600480360381019061046a9190613ea7565b6112ca565b60405161047c9190613feb565b60405180910390f35b61049f600480360381019061049a9190614216565b6112e7565b005b6104bb60048036038101906104b69190613ea7565b611307565b005b6104d760048036038101906104d29190614269565b61136b565b005b6104f360048036038101906104ee9190613f5c565b61147c565b005b61050f600480360381019061050a9190614296565b6115f0565b005b610519611932565b005b6105356004803603810190610530919061433a565b611a91565b005b610551600480360381019061054c9190614387565b611bc4565b005b61056d6004803603810190610568919061440a565b611cae565b60405161057a91906145ba565b60405180910390f35b61058b611d71565b6040516105989190613da4565b60405180910390f35b6105bb60048036038101906105b69190613ea7565b611d84565b6040516105c89190613f15565b60405180910390f35b6105eb60048036038101906105e69190614608565b611d96565b005b61060760048036038101906106029190614269565b611e8f565b005b610623600480360381019061061e9190614269565b611edb565b6040516106309190613feb565b60405180910390f35b610641611f93565b005b61065d60048036038101906106589190614269565b611fa7565b60405161066a91906146f3565b60405180910390f35b61067b6120ea565b6040516106889190613da4565b60405180910390f35b6106996120fd565b6040516106a69190613f15565b60405180910390f35b6106b7612126565b6040516106c49190613e4f565b60405180910390f35b6106e760048036038101906106e29190614715565b6121b8565b6040516106f491906146f3565b60405180910390f35b61071760048036038101906107129190614269565b6123c4565b005b610733600480360381019061072e9190614032565b6124d5565b005b61073d612576565b60405161074a9190613feb565b60405180910390f35b61076d6004803603810190610768919061481d565b612585565b005b61078960048036038101906107849190613ea7565b6125f8565b60405161079691906148f5565b60405180910390f35b6107a7612662565b6040516107b49190613e4f565b60405180910390f35b6107d760048036038101906107d29190613ea7565b6126f0565b6040516107e49190613e4f565b60405180910390f35b61080760048036038101906108029190613ea7565b612791565b005b610811612941565b60405161081e9190613feb565b60405180910390f35b610841600480360381019061083c9190614387565b612947565b005b61084b612a31565b6040516108589190613e4f565b60405180910390f35b61087b60048036038101906108769190614910565b612a51565b6040516108889190613da4565b60405180910390f35b6108ab60048036038101906108a69190614269565b612ae5565b005b6108c760048036038101906108c29190613ea7565b612b68565b6040516108d49190613feb565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109685750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b601160009054906101000a900460ff1681565b6060600580546109919061497f565b80601f01602080910402602001604051908101604052809291908181526020018280546109bd9061497f565b8015610a0a5780601f106109df57610100808354040283529160200191610a0a565b820191906000526020600020905b8154815290600101906020018083116109ed57829003601f168201915b5050505050905090565b6000610a1f82612b80565b610a55576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60001515601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d906149fc565b60405180910390fd5b610b308282612bdf565b5050565b610b3c6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610bc25750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf890614a68565b60405180910390fd5b610c0b8282612d23565b5050565b6000610c19612de2565b6004546003540303905090565b610c2e6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cb45750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614a68565b60405180910390fd5b80601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e0057337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610df7929190614a88565b60405180910390fd5b610e0a8282612de7565b5050565b6000610e1982612ee5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e80576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e8c84612fb1565b91509150610ea28187610e9d612fd8565b612fe0565b610eee57610eb786610eb2612fd8565b612a51565b610eed576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f54576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f618686866001613024565b8015610f6c57600082555b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061103a8561101688888761307a565b7c0200000000000000000000000000000000000000000000000000000000176130a2565b600760008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036110c057600060018501905060006007600083815260200190815260200160002054036110be5760035481146110bd578360076000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461112886868660016130cd565b505050505050565b6111386120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111be5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614a68565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff164760405161122390614ae2565b60006040518083038185875af1925050503d8060008114611260576040519150601f19603f3d011682016040523d82523d6000602084013e611265565b606091505b50509050806112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090614b43565b60405180910390fd5b5050565b60fa81565b60106020528060005260406000206000915090505481565b600060106000838152602001908152602001600020549050919050565b61130283838360405180602001604052806000815250612585565b505050565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415905061136782826130d3565b5050565b6113736120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113f95750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f90614a68565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114846120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061150a5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090614a68565b60405180910390fd5b60fa81611554613325565b61155e9190614b92565b111561159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690614c12565b60405180910390fd5b60006115a9613338565b90506115b58383613342565b60008190505b82826115c79190614b92565b8110156115ea576115d781613360565b80806115e290614c32565b9150506115bb565b50505050565b600260015403611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90614cc6565b60405180910390fd5b60026001819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a290614d32565b60405180910390fd5b601160009054906101000a900460ff161580156116d55750601160019054906101000a900460ff16155b611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90614d9e565b60405180910390fd5b60005b81518110156118e357600082828151811061173557611734614dbe565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016117b19190613feb565b602060405180830381865afa1580156117ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f29190614e02565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f90614e7b565b60405180910390fd5b601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b81526004016118a39190613feb565b600060405180830381600087803b1580156118bd57600080fd5b505af11580156118d1573d6000803e3d6000fd5b50505050818060010192505050611717565b60006118ed613338565b90506118fa338451613342565b8091505b60011561192657825181018210156119265761191982613360565b81806001019250506118fe565b50506001808190555050565b61193a6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119c05750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f690614a68565b60405180910390fd5b6001601360006101000a81548160ff02191690831515021790555060005b611a25613338565b811015611a8e57611a3581612b80565b15611a7b57807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207611a65836126f0565b604051611a729190613e4f565b60405180910390a25b8080611a8690614c32565b915050611a1d565b50565b611a996120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b1f5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5590614a68565b60405180910390fd5b601360009054906101000a900460ff1615611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590614ee7565b60405180910390fd5b818160129182611bbf9291906150be565b505050565b611bcc6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c525750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8890614a68565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6060600083839050905060008167ffffffffffffffff811115611cd457611cd3614077565b5b604051908082528060200260200182016040528015611d0d57816020015b611cfa613ca1565b815260200190600190039081611cf25790505b50905060005b828114611d6557611d3c868683818110611d3057611d2f614dbe565b5b905060200201356125f8565b828281518110611d4f57611d4e614dbe565b5b6020026020010181905250806001019050611d13565b50809250505092915050565b601360009054906101000a900460ff1681565b6000611d8f82612ee5565b9050919050565b611d9e6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e245750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5a90614a68565b60405180910390fd5b80600b60146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b611e97613443565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f42576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611f9b613443565b611fa560006134c1565b565b60606000806000611fb785611edb565b905060008167ffffffffffffffff811115611fd557611fd4614077565b5b6040519080825280602002602001820160405280156120035781602001602082028036833780820191505090505b50905061200e613ca1565b6000612018612de2565b90505b8386146120dc5761202b81613585565b915081604001516120d157600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461207657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036120d057808387806001019850815181106120c3576120c2614dbe565b5b6020026020010181815250505b5b80600101905061201b565b508195505050505050919050565b601160019054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600680546121359061497f565b80601f01602080910402602001604051908101604052809291908181526020018280546121619061497f565b80156121ae5780601f10612183576101008083540402835291602001916121ae565b820191906000526020600020905b81548152906001019060200180831161219157829003601f168201915b5050505050905090565b60608183106121f3576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806121fe613338565b9050612208612de2565b85101561221a57612217612de2565b94505b80841115612226578093505b600061223187611edb565b90508486101561225457600086860390508181101561224e578091505b50612259565b600090505b60008167ffffffffffffffff81111561227557612274614077565b5b6040519080825280602002602001820160405280156122a35781602001602082028036833780820191505090505b509050600082036122ba57809450505050506123bd565b60006122c5886125f8565b9050600081604001516122da57816000015190505b60008990505b8881141580156122f05750848714155b156123af576122fe81613585565b925082604001516123a457600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461234957826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123a3578084888060010199508151811061239657612395614dbe565b5b6020026020010181815250505b5b8060010190506122e0565b508583528296505050505050505b9392505050565b6123cc6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124525750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248890614a68565b60405180910390fd5b80601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60001515601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f906149fc565b60405180910390fd5b61257282826135b0565b5050565b6000612580613325565b905090565b612590848484610e0e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125f2576125bb84848484613727565b6125f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612600613ca1565b612608613ca1565b612610612de2565b8310806126245750612620613338565b8310155b15612632578091505061265d565b61263b83613585565b9050806040015115612650578091505061265d565b61265983613877565b9150505b919050565b6002805461266f9061497f565b80601f016020809104026020016040519081016040528092919081815260200182805461269b9061497f565b80156126e85780601f106126bd576101008083540402835291602001916126e8565b820191906000526020600020905b8154815290600101906020018083116126cb57829003601f168201915b505050505081565b60606126fb82612b80565b612731576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061273b613897565b9050600081510361275b5760405180602001604052806000815250612789565b8061276584613929565b60026040516020016127799392919061524d565b6040516020818303038152906040525b915050919050565b6127996120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061281f5750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61285e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285590614a68565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600c54600b60149054906101000a900467ffffffffffffffff166003620186a060016040518663ffffffff1660e01b81526004016128e095949392919061531d565b6020604051808303816000875af11580156128ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129239190615385565b905081600f6000838152602001908152602001600020819055505050565b600e5481565b61294f6120fd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806129d55750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0b90614a68565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b606060405180608001604052806051815260200161570760519139905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612aed613443565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390615424565b60405180910390fd5b612b65816134c1565b50565b600d6020528060005260406000206000915090505481565b600081612b8b612de2565b11158015612b9a575060035482105b8015612bd8575060007c0100000000000000000000000000000000000000000000000000000000600760008581526020019081526020016000205416145b9050919050565b6000612bea82611d84565b90508073ffffffffffffffffffffffffffffffffffffffff16612c0b612fd8565b73ffffffffffffffffffffffffffffffffffffffff1614612c6e57612c3781612c32612fd8565b612a51565b612c6d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826009600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000601060008481526020019081526020016000205414612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7090615490565b60405180910390fd5b806010600084815260200190815260200160002081905550600081118015612da15750600881105b15612dde57600d60008281526020019081526020016000206000815480929190600190039190505550600e60008154809291906001900391905055505b5050565b600090565b6000600f600084815260200190815260200160002054905060008111612e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e39906154fc565b60405180910390fd5b600082600081518110612e5857612e57614dbe565b5b602002602001015190506000600e548281612e7657612e7561551c565b5b069050600080600190505b6008811015612edc576000600d600083815260200190815260200160002054905060008111612eb05750612ecf565b808301925082841015612ecd57612ec78683612d23565b50612edc565b505b8080600101915050612e81565b50505050505050565b60008082905080612ef4612de2565b11612f7a57600354811015612f795760006007600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f77575b60008103612f6d576007600083600190039350838152602001908152602001600020549050612f43565b8092505050612fac565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006009600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b601160019054906101000a900460ff1615613074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306b90615597565b60405180910390fd5b50505050565b60008060e883901c905060e8613091868684613970565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006130de83612ee5565b905060008190506000806130f186612fb1565b91509150841561315a5761310d8184613108612fd8565b612fe0565b613159576131228361311d612fd8565b612a51565b613158576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613168836000886001613024565b801561317357600082555b600160806001901b03600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061321b836131d88560008861307a565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176130a2565b600760008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036132a1576000600187019050600060076000838152602001908152602001600020540361329f57600354811461329e578460076000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461330b8360008860016130cd565b600460008154809291906001019190505550505050505050565b600061332f612de2565b60035403905090565b6000600354905090565b61335c828260405180602001604052806000815250613979565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600c54600b60149054906101000a900467ffffffffffffffff166003620186a060016040518663ffffffff1660e01b81526004016133e295949392919061531d565b6020604051808303816000875af1158015613401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134259190615385565b905081600f6000838152602001908152602001600020819055505050565b61344b613a17565b73ffffffffffffffffffffffffffffffffffffffff166134696120fd565b73ffffffffffffffffffffffffffffffffffffffff16146134bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b690615603565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61358d613ca1565b6135a96007600084815260200190815260200160002054613a1f565b9050919050565b6135b8612fd8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361361c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a6000613629612fd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166136d6612fd8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161371b9190613da4565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261374d612fd8565b8786866040518563ffffffff1660e01b815260040161376f9493929190615678565b6020604051808303816000875af19250505080156137ab57506040513d601f19601f820116820180604052508101906137a891906156d9565b60015b613824573d80600081146137db576040519150601f19603f3d011682016040523d82523d6000602084013e6137e0565b606091505b50600081510361381c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b61387f613ca1565b61389061388b83612ee5565b613a1f565b9050919050565b6060601280546138a69061497f565b80601f01602080910402602001604051908101604052809291908181526020018280546138d29061497f565b801561391f5780601f106138f45761010080835404028352916020019161391f565b820191906000526020600020905b81548152906001019060200180831161390257829003601f168201915b5050505050905090565b606060806040510190508060405280825b60011561395c57600183039250600a81066030018353600a810490508061393a575b508181036020830392508083525050919050565b60009392505050565b6139838383613ad5565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613a125760006003549050600083820390505b6139c46000868380600101945086613727565b6139fa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106139b1578160035414613a0f57600080fd5b50505b505050565b600033905090565b613a27613ca1565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000600354905060008203613b16576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b236000848385613024565b600160406001901b178202600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613b9a83613b8b600086600061307a565b613b9485613c91565b176130a2565b6007600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613c3b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613c00565b5060008203613c76576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806003819055505050613c8c60008483856130cd565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d3981613d04565b8114613d4457600080fd5b50565b600081359050613d5681613d30565b92915050565b600060208284031215613d7257613d71613cfa565b5b6000613d8084828501613d47565b91505092915050565b60008115159050919050565b613d9e81613d89565b82525050565b6000602082019050613db96000830184613d95565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613df9578082015181840152602081019050613dde565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e2182613dbf565b613e2b8185613dca565b9350613e3b818560208601613ddb565b613e4481613e05565b840191505092915050565b60006020820190508181036000830152613e698184613e16565b905092915050565b6000819050919050565b613e8481613e71565b8114613e8f57600080fd5b50565b600081359050613ea181613e7b565b92915050565b600060208284031215613ebd57613ebc613cfa565b5b6000613ecb84828501613e92565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613eff82613ed4565b9050919050565b613f0f81613ef4565b82525050565b6000602082019050613f2a6000830184613f06565b92915050565b613f3981613ef4565b8114613f4457600080fd5b50565b600081359050613f5681613f30565b92915050565b60008060408385031215613f7357613f72613cfa565b5b6000613f8185828601613f47565b9250506020613f9285828601613e92565b9150509250929050565b60008060408385031215613fb357613fb2613cfa565b5b6000613fc185828601613e92565b9250506020613fd285828601613e92565b9150509250929050565b613fe581613e71565b82525050565b60006020820190506140006000830184613fdc565b92915050565b61400f81613d89565b811461401a57600080fd5b50565b60008135905061402c81614006565b92915050565b6000806040838503121561404957614048613cfa565b5b600061405785828601613f47565b92505060206140688582860161401d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140af82613e05565b810181811067ffffffffffffffff821117156140ce576140cd614077565b5b80604052505050565b60006140e1613cf0565b90506140ed82826140a6565b919050565b600067ffffffffffffffff82111561410d5761410c614077565b5b602082029050602081019050919050565b600080fd5b6000614136614131846140f2565b6140d7565b905080838252602082019050602084028301858111156141595761415861411e565b5b835b81811015614182578061416e8882613e92565b84526020840193505060208101905061415b565b5050509392505050565b600082601f8301126141a1576141a0614072565b5b81356141b1848260208601614123565b91505092915050565b600080604083850312156141d1576141d0613cfa565b5b60006141df85828601613e92565b925050602083013567ffffffffffffffff811115614200576141ff613cff565b5b61420c8582860161418c565b9150509250929050565b60008060006060848603121561422f5761422e613cfa565b5b600061423d86828701613f47565b935050602061424e86828701613f47565b925050604061425f86828701613e92565b9150509250925092565b60006020828403121561427f5761427e613cfa565b5b600061428d84828501613f47565b91505092915050565b6000602082840312156142ac576142ab613cfa565b5b600082013567ffffffffffffffff8111156142ca576142c9613cff565b5b6142d68482850161418c565b91505092915050565b600080fd5b60008083601f8401126142fa576142f9614072565b5b8235905067ffffffffffffffff811115614317576143166142df565b5b6020830191508360018202830111156143335761433261411e565b5b9250929050565b6000806020838503121561435157614350613cfa565b5b600083013567ffffffffffffffff81111561436f5761436e613cff565b5b61437b858286016142e4565b92509250509250929050565b60006020828403121561439d5761439c613cfa565b5b60006143ab8482850161401d565b91505092915050565b60008083601f8401126143ca576143c9614072565b5b8235905067ffffffffffffffff8111156143e7576143e66142df565b5b6020830191508360208202830111156144035761440261411e565b5b9250929050565b6000806020838503121561442157614420613cfa565b5b600083013567ffffffffffffffff81111561443f5761443e613cff565b5b61444b858286016143b4565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61448c81613ef4565b82525050565b600067ffffffffffffffff82169050919050565b6144af81614492565b82525050565b6144be81613d89565b82525050565b600062ffffff82169050919050565b6144dc816144c4565b82525050565b6080820160008201516144f86000850182614483565b50602082015161450b60208501826144a6565b50604082015161451e60408501826144b5565b50606082015161453160608501826144d3565b50505050565b600061454383836144e2565b60808301905092915050565b6000602082019050919050565b600061456782614457565b6145718185614462565b935061457c83614473565b8060005b838110156145ad5781516145948882614537565b975061459f8361454f565b925050600181019050614580565b5085935050505092915050565b600060208201905081810360008301526145d4818461455c565b905092915050565b6145e581614492565b81146145f057600080fd5b50565b600081359050614602816145dc565b92915050565b60006020828403121561461e5761461d613cfa565b5b600061462c848285016145f3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61466a81613e71565b82525050565b600061467c8383614661565b60208301905092915050565b6000602082019050919050565b60006146a082614635565b6146aa8185614640565b93506146b583614651565b8060005b838110156146e65781516146cd8882614670565b97506146d883614688565b9250506001810190506146b9565b5085935050505092915050565b6000602082019050818103600083015261470d8184614695565b905092915050565b60008060006060848603121561472e5761472d613cfa565b5b600061473c86828701613f47565b935050602061474d86828701613e92565b925050604061475e86828701613e92565b9150509250925092565b600080fd5b600067ffffffffffffffff82111561478857614787614077565b5b61479182613e05565b9050602081019050919050565b82818337600083830152505050565b60006147c06147bb8461476d565b6140d7565b9050828152602081018484840111156147dc576147db614768565b5b6147e784828561479e565b509392505050565b600082601f83011261480457614803614072565b5b81356148148482602086016147ad565b91505092915050565b6000806000806080858703121561483757614836613cfa565b5b600061484587828801613f47565b945050602061485687828801613f47565b935050604061486787828801613e92565b925050606085013567ffffffffffffffff81111561488857614887613cff565b5b614894878288016147ef565b91505092959194509250565b6080820160008201516148b66000850182614483565b5060208201516148c960208501826144a6565b5060408201516148dc60408501826144b5565b5060608201516148ef60608501826144d3565b50505050565b600060808201905061490a60008301846148a0565b92915050565b6000806040838503121561492757614926613cfa565b5b600061493585828601613f47565b925050602061494685828601613f47565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061499757607f821691505b6020821081036149aa576149a9614950565b5b50919050565b7f4d61726b6574706c61636520697320626c6f636b656400000000000000000000600082015250565b60006149e6601683613dca565b91506149f1826149b0565b602082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b7f4e6f74206f776e6572206f722061646d696e0000000000000000000000000000600082015250565b6000614a52601283613dca565b9150614a5d82614a1c565b602082019050919050565b60006020820190508181036000830152614a8181614a45565b9050919050565b6000604082019050614a9d6000830185613f06565b614aaa6020830184613f06565b9392505050565b600081905092915050565b50565b6000614acc600083614ab1565b9150614ad782614abc565b600082019050919050565b6000614aed82614abf565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614b2d601083613dca565b9150614b3882614af7565b602082019050919050565b60006020820190508181036000830152614b5c81614b20565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b9d82613e71565b9150614ba883613e71565b9250828201905080821115614bc057614bbf614b63565b5b92915050565b7f5175616e74697479206578636565647320737570706c79000000000000000000600082015250565b6000614bfc601783613dca565b9150614c0782614bc6565b602082019050919050565b60006020820190508181036000830152614c2b81614bef565b9050919050565b6000614c3d82613e71565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c6f57614c6e614b63565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614cb0601f83613dca565b9150614cbb82614c7a565b602082019050919050565b60006020820190508181036000830152614cdf81614ca3565b9050919050565b7f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000600082015250565b6000614d1c601a83613dca565b9150614d2782614ce6565b602082019050919050565b60006020820190508181036000830152614d4b81614d0f565b9050919050565b7f426f78206f70656e696e67206973207061757365640000000000000000000000600082015250565b6000614d88601583613dca565b9150614d9382614d52565b602082019050919050565b60006020820190508181036000830152614db781614d7b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614dfc81613f30565b92915050565b600060208284031215614e1857614e17613cfa565b5b6000614e2684828501614ded565b91505092915050565b7f596f7520646f6e2774206f776e2074686520676976656e20426f780000000000600082015250565b6000614e65601b83613dca565b9150614e7082614e2f565b602082019050919050565b60006020820190508181036000830152614e9481614e58565b9050919050565b7f4261736520555249206973206c6f636b65640000000000000000000000000000600082015250565b6000614ed1601283613dca565b9150614edc82614e9b565b602082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614f747fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f37565b614f7e8683614f37565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614fbb614fb6614fb184613e71565b614f96565b613e71565b9050919050565b6000819050919050565b614fd583614fa0565b614fe9614fe182614fc2565b848454614f44565b825550505050565b600090565b614ffe614ff1565b615009818484614fcc565b505050565b5b8181101561502d57615022600082614ff6565b60018101905061500f565b5050565b601f8211156150725761504381614f12565b61504c84614f27565b8101602085101561505b578190505b61506f61506785614f27565b83018261500e565b50505b505050565b600082821c905092915050565b600061509560001984600802615077565b1980831691505092915050565b60006150ae8383615084565b9150826002028217905092915050565b6150c88383614f07565b67ffffffffffffffff8111156150e1576150e0614077565b5b6150eb825461497f565b6150f6828285615031565b6000601f8311600181146151255760008415615113578287013590505b61511d85826150a2565b865550615185565b601f19841661513386614f12565b60005b8281101561515b57848901358255600182019150602085019450602081019050615136565b868310156151785784890135615174601f891682615084565b8355505b6001600288020188555050505b50505050505050565b600081905092915050565b60006151a482613dbf565b6151ae818561518e565b93506151be818560208601613ddb565b80840191505092915050565b600081546151d78161497f565b6151e1818661518e565b945060018216600081146151fc576001811461521157615244565b60ff1983168652811515820286019350615244565b61521a85614f12565b60005b8381101561523c5781548189015260018201915060208101905061521d565b838801955050505b50505092915050565b60006152598286615199565b91506152658285615199565b915061527182846151ca565b9150819050949350505050565b6000819050919050565b6152918161527e565b82525050565b6152a081614492565b82525050565b600061ffff82169050919050565b6152bd816152a6565b82525050565b600063ffffffff82169050919050565b6152dc816152c3565b82525050565b6000819050919050565b60006153076153026152fd846152e2565b614f96565b6152c3565b9050919050565b615317816152ec565b82525050565b600060a0820190506153326000830188615288565b61533f6020830187615297565b61534c60408301866152b4565b61535960608301856152d3565b615366608083018461530e565b9695505050505050565b60008151905061537f81613e7b565b92915050565b60006020828403121561539b5761539a613cfa565b5b60006153a984828501615370565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061540e602683613dca565b9150615419826153b2565b604082019050919050565b6000602082019050818103600083015261543d81615401565b9050919050565b7f546f6b656e20616c726561647920686173206120444e41000000000000000000600082015250565b600061547a601783613dca565b915061548582615444565b602082019050919050565b600060208201905081810360008301526154a98161546d565b9050919050565b7f496e76616c696420726571756573742069640000000000000000000000000000600082015250565b60006154e6601283613dca565b91506154f1826154b0565b602082019050919050565b60006020820190508181036000830152615515816154d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000615581601283613dca565b915061558c8261554b565b602082019050919050565b600060208201905081810360008301526155b081615574565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155ed602083613dca565b91506155f8826155b7565b602082019050919050565b6000602082019050818103600083015261561c816155e0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061564a82615623565b615654818561562e565b9350615664818560208601613ddb565b61566d81613e05565b840191505092915050565b600060808201905061568d6000830187613f06565b61569a6020830186613f06565b6156a76040830185613fdc565b81810360608301526156b9818461563f565b905095945050505050565b6000815190506156d381613d30565b92915050565b6000602082840312156156ef576156ee613cfa565b5b60006156fd848285016156c4565b9150509291505056fe68747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f697066732f516d5a775a795743704a74756541536e4a45714a326450796e4c394e656d516f43746d6943477455746a4256794aa26469706673582212201827d946583239f4f1bd80fb9bb48b9c00705c5f7ef8543aa08dd351da7ce65464736f6c63430008100033

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

0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a5d224b43eab837aa2ee9c6ed727f1613f301a5e000000000000000000000000d2e50f7ccf48cd0ec62d5d5af4dbeb8fb6dcd1f400000000000000000000000000000000000000000000000000000000000001a8000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f62616c6c65722d616c6368656d792d746573742e6865726f6b756170702e636f6d2f746f6b656e2f00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseTokenURI (string): https://baller-alchemy-test.herokuapp.com/token/
Arg [1] : admin (address): 0xA5D224B43EAB837aa2Ee9C6Ed727f1613f301A5E
Arg [2] : boxContract (address): 0xd2E50f7ccF48Cd0ec62d5d5aF4dBEb8Fb6DCD1F4
Arg [3] : chainlinkSubscriptionId (uint64): 424

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 000000000000000000000000a5d224b43eab837aa2ee9c6ed727f1613f301a5e
Arg [2] : 000000000000000000000000d2e50f7ccf48cd0ec62d5d5af4dbeb8fb6dcd1f4
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a8
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [5] : 68747470733a2f2f62616c6c65722d616c6368656d792d746573742e6865726f
Arg [6] : 6b756170702e636f6d2f746f6b656e2f00000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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