TokenWalletTransactionsStorage class abstract

Interface that lets TokenWalletRepository handles transactions during wallet lifetime. This interface is used to store transactions or wallet info in cash storage.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFoundTransactions({required int networkId, required String group, required Address owner, required Address rootTokenContract, required List<TransactionWithData<TokenWalletTransaction?>> transaction}) Future<void>
Add list of found transactions to list of transactions. This method calls when TonWallet.onTransactionsFoundStream emits new data.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateTokenWalletDetails({required int networkId, required String group, required Address owner, required Address rootTokenContract, required Symbol symbol, required BigInt balance, required ContractState contractState, TokenWalletVersion? version}) Future<void>
Put information about ton wallet to cash storage. This callback calls, when TokenWallet.onBalanceChanged triggered some action. To identify wallet, use networkId, group, owner and rootTokenContract.

Operators

operator ==(Object other) bool
The equality operator.
inherited