WalletServiceImpl class

Inheritance
Annotations
  • @LazySingleton.new(as: WalletService)

Constructors

WalletServiceImpl({required BalanceUsecase balanceUsecase, required CreateWalletUsecase createWalletUsecase, required TransactionsUsecase transactionsUsecase})

Properties

balanceUsecase → BalanceUsecase
Path to deliver information from walletRepository
final
createWalletUsecase → CreateWalletUsecase
Path to deliver information from walletRepository
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transactionsUsecase → TransactionsUsecase
Path to deliver information from walletRepository
final

Methods

createWallet() → Future<Ed25519HDKeyPair>
Create wallet on solana
override
getBalance({required String address}) → Future<TokenAmount>
Get balance WORK tokens of given wallet address
override
getTransactions({required String address}) → Future<List<TransactionSignatureInformation>>
Get transaction from WORK tokens of given wallet address
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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