mocks

package
v0.0.0-...-4e9d6c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockModule

type MockModule struct {
	// contains filtered or unexported fields
}

MockModule is a mock of Module interface.

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance.

func (*MockModule) AccountAddress

func (m *MockModule) AccountAddress(arg0 context.Context) (types.Address, error)

AccountAddress mocks base method.

func (*MockModule) Balance

func (m *MockModule) Balance(arg0 context.Context) (*types.Coin, error)

Balance mocks base method.

func (*MockModule) BalanceForAddress

func (m *MockModule) BalanceForAddress(arg0 context.Context, arg1 types.Address) (*types.Coin, error)

BalanceForAddress mocks base method.

func (*MockModule) BeginRedelegate

func (m *MockModule) BeginRedelegate(arg0 context.Context, arg1, arg2 types.ValAddress, arg3, arg4 math.Int, arg5 uint64) (*types.TxResponse, error)

BeginRedelegate mocks base method.

func (*MockModule) CancelUnbondingDelegation

func (m *MockModule) CancelUnbondingDelegation(arg0 context.Context, arg1 types.ValAddress, arg2, arg3, arg4 math.Int, arg5 uint64) (*types.TxResponse, error)

CancelUnbondingDelegation mocks base method.

func (*MockModule) Delegate

func (m *MockModule) Delegate(arg0 context.Context, arg1 types.ValAddress, arg2, arg3 math.Int, arg4 uint64) (*types.TxResponse, error)

Delegate mocks base method.

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModule) IsStopped

func (m *MockModule) IsStopped(arg0 context.Context) bool

IsStopped mocks base method.

func (*MockModule) QueryDelegation

func (m *MockModule) QueryDelegation(arg0 context.Context, arg1 types.ValAddress) (*types0.QueryDelegationResponse, error)

QueryDelegation mocks base method.

func (*MockModule) QueryRedelegations

func (m *MockModule) QueryRedelegations(arg0 context.Context, arg1, arg2 types.ValAddress) (*types0.QueryRedelegationsResponse, error)

QueryRedelegations mocks base method.

func (*MockModule) QueryUnbonding

QueryUnbonding mocks base method.

func (*MockModule) SubmitPayForBlob

func (m *MockModule) SubmitPayForBlob(arg0 context.Context, arg1 namespace.ID, arg2 []byte, arg3 math.Int, arg4 uint64) (*types.TxResponse, error)

SubmitPayForData mocks base method.

func (*MockModule) SubmitTx

func (m *MockModule) SubmitTx(arg0 context.Context, arg1 types1.Tx) (*types.TxResponse, error)

SubmitTx mocks base method.

func (*MockModule) Transfer

func (m *MockModule) Transfer(arg0 context.Context, arg1 types.AccAddress, arg2, arg3 math.Int, arg4 uint64) (*types.TxResponse, error)

Transfer mocks base method.

func (*MockModule) Undelegate

func (m *MockModule) Undelegate(arg0 context.Context, arg1 types.ValAddress, arg2, arg3 math.Int, arg4 uint64) (*types.TxResponse, error)

Undelegate mocks base method.

type MockModuleMockRecorder

type MockModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) AccountAddress

func (mr *MockModuleMockRecorder) AccountAddress(arg0 interface{}) *gomock.Call

AccountAddress indicates an expected call of AccountAddress.

func (*MockModuleMockRecorder) Balance

func (mr *MockModuleMockRecorder) Balance(arg0 interface{}) *gomock.Call

Balance indicates an expected call of Balance.

func (*MockModuleMockRecorder) BalanceForAddress

func (mr *MockModuleMockRecorder) BalanceForAddress(arg0, arg1 interface{}) *gomock.Call

BalanceForAddress indicates an expected call of BalanceForAddress.

func (*MockModuleMockRecorder) BeginRedelegate

func (mr *MockModuleMockRecorder) BeginRedelegate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

BeginRedelegate indicates an expected call of BeginRedelegate.

func (*MockModuleMockRecorder) CancelUnbondingDelegation

func (mr *MockModuleMockRecorder) CancelUnbondingDelegation(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CancelUnbondingDelegation indicates an expected call of CancelUnbondingDelegation.

func (*MockModuleMockRecorder) Delegate

func (mr *MockModuleMockRecorder) Delegate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Delegate indicates an expected call of Delegate.

func (*MockModuleMockRecorder) IsStopped

func (mr *MockModuleMockRecorder) IsStopped(arg0 interface{}) *gomock.Call

IsStopped indicates an expected call of IsStopped.

func (*MockModuleMockRecorder) QueryDelegation

func (mr *MockModuleMockRecorder) QueryDelegation(arg0, arg1 interface{}) *gomock.Call

QueryDelegation indicates an expected call of QueryDelegation.

func (*MockModuleMockRecorder) QueryRedelegations

func (mr *MockModuleMockRecorder) QueryRedelegations(arg0, arg1, arg2 interface{}) *gomock.Call

QueryRedelegations indicates an expected call of QueryRedelegations.

func (*MockModuleMockRecorder) QueryUnbonding

func (mr *MockModuleMockRecorder) QueryUnbonding(arg0, arg1 interface{}) *gomock.Call

QueryUnbonding indicates an expected call of QueryUnbonding.

func (*MockModuleMockRecorder) SubmitPayForData

func (mr *MockModuleMockRecorder) SubmitPayForData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SubmitPayForData indicates an expected call of SubmitPayForData.

func (*MockModuleMockRecorder) SubmitTx

func (mr *MockModuleMockRecorder) SubmitTx(arg0, arg1 interface{}) *gomock.Call

SubmitTx indicates an expected call of SubmitTx.

func (*MockModuleMockRecorder) Transfer

func (mr *MockModuleMockRecorder) Transfer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Transfer indicates an expected call of Transfer.

func (*MockModuleMockRecorder) Undelegate

func (mr *MockModuleMockRecorder) Undelegate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Undelegate indicates an expected call of Undelegate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL