diff --git a/lib/models/ordinal.dart b/lib/models/ordinal.dart index 9c4e15392..1feb98b9d 100644 --- a/lib/models/ordinal.dart +++ b/lib/models/ordinal.dart @@ -1,13 +1,26 @@ +enum OrdCollection { + punks, + moonbirds, +} + class Ordinal { final String name; final String inscription; 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({ required this.name, required this.inscription, required this.rank, + required this.collection, + required this.utxoTXID, + required this.utxoVOUT, }); }