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.
Constructors
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< transaction}) → Future<TokenWalletTransaction?> >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,ownerandrootTokenContract.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited