Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateWalletUseCase ¶
type CreateWalletUseCase interface {
Execute(ctx context.Context, address *common.Address, keystoreBytes []byte, label string) error
}
func NewCreateWalletUseCase ¶
func NewCreateWalletUseCase(config *config.Configuration, logger *slog.Logger, repo domain.WalletRepository) CreateWalletUseCase
type GetWalletUseCase ¶
type GetWalletUseCase interface {
Execute(ctx context.Context, address *common.Address) (*domain.Wallet, error)
}
func NewGetWalletUseCase ¶
func NewGetWalletUseCase(config *config.Configuration, logger *slog.Logger, repo domain.WalletRepository) GetWalletUseCase
type ListAllAddressesWalletUseCase ¶
type ListAllAddressesWalletUseCase interface {
Execute(ctx context.Context) ([]*common.Address, error)
}
func NewListAllAddressesWalletUseCase ¶
func NewListAllAddressesWalletUseCase(logger *slog.Logger, repo domain.WalletRepository) ListAllAddressesWalletUseCase
type ListAllWalletUseCase ¶
func NewListAllWalletUseCase ¶
func NewListAllWalletUseCase(config *config.Configuration, logger *slog.Logger, repo domain.WalletRepository) ListAllWalletUseCase
type WalletDecryptKeyUseCase ¶
type WalletDecryptKeyUseCase interface {
Execute(ctx context.Context, mnemonic *sstring.SecureString, path string) (*accounts.Account, *hdwallet.Wallet, error)
}
func NewWalletDecryptKeyUseCase ¶
func NewWalletDecryptKeyUseCase( config *config.Configuration, logger *slog.Logger, keystore hdkeystore.KeystoreAdapter, repo domain.WalletRepository, ) WalletDecryptKeyUseCase
type WalletEncryptKeyUseCase ¶
type WalletEncryptKeyUseCase interface {
Execute(ctx context.Context, mnemonic *sstring.SecureString, path string) (*accounts.Account, *hdwallet.Wallet, error)
}
func NewWalletEncryptKeyUseCase ¶
func NewWalletEncryptKeyUseCase( config *config.Configuration, logger *slog.Logger, keystore hdkeystore.KeystoreAdapter, repo domain.WalletRepository, ) WalletEncryptKeyUseCase
Click to show internal directories.
Click to hide internal directories.