rough outline for isar schema class

This commit is contained in:
julian 2023-07-19 15:37:11 -06:00
parent 895903b9ca
commit c435c378e0

View file

@ -1,13 +1,26 @@
enum OrdCollection {
punks,
moonbirds,
}
class Ordinal { class Ordinal {
final String name; final String name;
final String inscription; final String inscription;
final String rank; final String rank;
final OrdCollection collection;
// TODO: make a proper class instead of this placeholder // following two are used to look up the UTXO object in isar combined w/ walletId
final String utxoTXID;
final int utxoVOUT;
// TODO: make a proper Isar class instead of this placeholder
Ordinal({ Ordinal({
required this.name, required this.name,
required this.inscription, required this.inscription,
required this.rank, required this.rank,
required this.collection,
required this.utxoTXID,
required this.utxoVOUT,
}); });
} }