This file contains hidden or 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 |
This file contains hidden or 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 |
This file contains hidden or 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 |
This file contains hidden or 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
| //SPDX-License-Identifier: MIT | |
| pragma solidity 0.8.14; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@api3/airnode-protocol/contracts/rrp/requesters/RrpRequesterV0.sol"; | |
| contract RandomCharacter is ERC721, Ownable, RrpRequesterV0 { | |
| struct Character{ | |
| uint256 strenght; | |
| uint256 intelligence; |
This file contains hidden or 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
| //SPDX-License-Identifier: MIT | |
| pragma solidity 0.8.14; | |
| import "@api3/airnode-protocol/contracts/rrp/requesters/RrpRequesterV0.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| contract Quantumon is ERC721, RrpRequesterV0, Ownable { | |
| } |
This file contains hidden or 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 |
NewerOlder