@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
27 lines • 836 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NFTTransaction = exports.Transaction = void 0;
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;
}
}
exports.Transaction = Transaction;
class NFTTransaction extends Transaction {
nft;
constructor(accountToDebit, accountToCredit, nft, speed, memoTag) {
super(accountToDebit, accountToCredit, "0", speed, memoTag);
this.nft = nft;
}
}
exports.NFTTransaction = NFTTransaction;
//# sourceMappingURL=Transaction.js.map