WalletServiceImpl class
- Inheritance
-
- Object
- WalletService
- WalletServiceImpl
- Annotations
-
- @LazySingleton(as: WalletService)
Constructors
- WalletServiceImpl.new({required WalletUsecase walletUsecase, required WalletHistoryUsecase historyUsecase, required WalletBalanceUsecase balanceUsecase})
Properties
- balanceUsecase → WalletBalanceUsecase
-
Path to deliver information from
web3
final - hashCode → int
-
The hash code for this object.
no setterinherited
- historyUsecase → WalletHistoryUsecase
-
Path to deliver information from
polygonAPI
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- walletUsecase → WalletUsecase
-
Path to create new wallet
final
Methods
-
createWallet(
{required int words}) → Future< Either< Failure, WalletEntity> > -
Create new ETH wallet
override
-
getBalance(
{required String address}) → Future< Either< Failure, WalletBalanceEntity> > -
Get balance WORK tokens of given wallet
address
override -
getTransactions(
{required String address}) → Future< Either< Failure, WalletTransactionsEntity> > -
Get history of transactions for given
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