@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
22 lines • 642 B
JavaScript
export class Transaction {
accountToDebit;
accountToCredit;
amount;
speed;
memoTag;
constructor(accountToDebit, accountToCredit, amount, speed, memoTag) {
this.accountToDebit = accountToDebit;
this.accountToCredit = accountToCredit;
this.amount = amount;
this.speed = speed;
this.memoTag = memoTag;
}
}
export class NFTTransaction extends Transaction {
nft;
constructor(accountToDebit, accountToCredit, nft, speed, memoTag) {
super(accountToDebit, accountToCredit, "0", speed, memoTag);
this.nft = nft;
}
}
//# sourceMappingURL=Transaction.js.map