Last active
June 30, 2022 03:59
-
-
Save Ashar2shahid/1231c156af629d917ef621d99a17ae30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract Quantumon is ERC721, RrpRequesterV0, Ownable { | |
using Strings for uint256; | |
uint256[9958] public ids; //Array to store the Quantomon Id - This is different from the tokenId | |
uint256 private index; // Track the next TokenId to be minted | |
string private _baseURIextended; // The Extended baseUrl for ERC721 | |
mapping(uint256 => string) private _tokenURIs; //Mapping a custom URI to a tokenId | |
address public airnode; //The address of the QRNG airnode | |
bytes32 public endpointIdUint256; // The endpointId of the airnode to fetch a single random number | |
address public sponsorWallet; // The address of the sponsorWallet that will be making the fullfillment transaction | |
// Mapping that maps the requestId for a random number to the fullfillment status of that request | |
mapping(bytes32 => bool) public expectingRequestWithIdToBeFulfilled; | |
//Mapping that maps the requestId to the address that made the request | |
mapping(bytes32 => address) requestToSender; | |
constructor(address _airnodeRrp) | |
RrpRequesterV0(_airnodeRrp) | |
ERC721("QUANTUMON", "QUANTUMON") | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment