Documentation ¶
Overview ¶
Package wallet is a generated GoMock package.
Index ¶
- type IWallet
- type 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIWallet ¶
type MockIWallet struct {
// contains filtered or unexported fields
}
MockIWallet is a mock of IWallet interface.
func NewMockIWallet ¶
func NewMockIWallet(ctrl *gomock.Controller) *MockIWallet
NewMockIWallet creates a new mock instance.
func (*MockIWallet) BondTransaction ¶
func (m *MockIWallet) BondTransaction(pubKey, toAddress, memo string, amt amount.Amount) (string, error)
BondTransaction mocks base method.
func (*MockIWallet) EXPECT ¶
func (m *MockIWallet) EXPECT() *MockIWalletMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIWallet) TransferTransaction ¶
func (m *MockIWallet) TransferTransaction(toAddress, memo string, amt amount.Amount) (string, error)
TransferTransaction mocks base method.
type MockIWalletMockRecorder ¶
type MockIWalletMockRecorder struct {
// contains filtered or unexported fields
}
MockIWalletMockRecorder is the mock recorder for MockIWallet.
func (*MockIWalletMockRecorder) Address ¶
func (mr *MockIWalletMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address.
func (*MockIWalletMockRecorder) Balance ¶
func (mr *MockIWalletMockRecorder) Balance() *gomock.Call
Balance indicates an expected call of Balance.
func (*MockIWalletMockRecorder) BondTransaction ¶
func (mr *MockIWalletMockRecorder) BondTransaction(pubKey, toAddress, memo, amt any) *gomock.Call
BondTransaction indicates an expected call of BondTransaction.
func (*MockIWalletMockRecorder) TransferTransaction ¶
func (mr *MockIWalletMockRecorder) TransferTransaction(toAddress, memo, amt any) *gomock.Call
TransferTransaction indicates an expected call of TransferTransaction.
type Wallet ¶
func (*Wallet) BondTransaction ¶
Click to show internal directories.
Click to hide internal directories.