Versions in this module Expand all Collapse all v0 v0.0.3 Jan 7, 2025 v0.0.2 Jan 1, 2025 Changes in this version + type IWallet interface + Address func() string + Balance func() int64 + BondTransaction func(pubKey, toAddress, memo string, amt amount.Amount) (string, error) + TransferTransaction func(toAddress, memo string, amt amount.Amount) (string, error) + type MockIWallet struct + func NewMockIWallet(ctrl *gomock.Controller) *MockIWallet + func (m *MockIWallet) Address() string + func (m *MockIWallet) Balance() int64 + func (m *MockIWallet) BondTransaction(pubKey, toAddress, memo string, amt amount.Amount) (string, error) + func (m *MockIWallet) EXPECT() *MockIWalletMockRecorder + func (m *MockIWallet) TransferTransaction(toAddress, memo string, amt amount.Amount) (string, error) + type MockIWalletMockRecorder struct + func (mr *MockIWalletMockRecorder) Address() *gomock.Call + func (mr *MockIWalletMockRecorder) Balance() *gomock.Call + func (mr *MockIWalletMockRecorder) BondTransaction(pubKey, toAddress, memo, amt any) *gomock.Call + func (mr *MockIWalletMockRecorder) TransferTransaction(toAddress, memo, amt any) *gomock.Call + type Wallet struct + func Open(cfg *config.Wallet) (*Wallet, error) + func (w *Wallet) Address() string + func (w *Wallet) Balance() int64 + func (w *Wallet) BondTransaction(pubKey, toAddress, memo string, amt amount.Amount) (string, error) + func (w *Wallet) TransferTransaction(toAddress, memo string, amt amount.Amount) (string, error)