mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
rough outline for isar schema class
This commit is contained in:
parent
895903b9ca
commit
c435c378e0
1 changed files with 14 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue