Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockModule
- func (m *MockModule) AccountAddress(arg0 context.Context) (state.Address, error)
- func (m *MockModule) Balance(arg0 context.Context) (*types.Coin, error)
- func (m *MockModule) BalanceForAddress(arg0 context.Context, arg1 state.Address) (*types.Coin, error)
- func (m *MockModule) BeginRedelegate(arg0 context.Context, arg1, arg2 types.ValAddress, arg3 math.Int, ...) (*types.TxResponse, error)
- func (m *MockModule) CancelUnbondingDelegation(arg0 context.Context, arg1 types.ValAddress, arg2, arg3 math.Int, ...) (*types.TxResponse, error)
- func (m *MockModule) Delegate(arg0 context.Context, arg1 types.ValAddress, arg2 math.Int, ...) (*types.TxResponse, error)
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) GrantFee(arg0 context.Context, arg1 types.AccAddress, arg2 math.Int, ...) (*types.TxResponse, error)
- func (m *MockModule) QueryDelegation(arg0 context.Context, arg1 types.ValAddress) (*types0.QueryDelegationResponse, error)
- func (m *MockModule) QueryRedelegations(arg0 context.Context, arg1, arg2 types.ValAddress) (*types0.QueryRedelegationsResponse, error)
- func (m *MockModule) QueryUnbonding(arg0 context.Context, arg1 types.ValAddress) (*types0.QueryUnbondingDelegationResponse, error)
- func (m *MockModule) RevokeGrantFee(arg0 context.Context, arg1 types.AccAddress, arg2 *state.TxConfig) (*types.TxResponse, error)
- func (m *MockModule) SubmitPayForBlob(arg0 context.Context, arg1 []*share.Blob, arg2 *state.TxConfig) (*types.TxResponse, error)
- func (m *MockModule) Transfer(arg0 context.Context, arg1 types.AccAddress, arg2 math.Int, ...) (*types.TxResponse, error)
- func (m *MockModule) Undelegate(arg0 context.Context, arg1 types.ValAddress, arg2 math.Int, ...) (*types.TxResponse, error)
- type MockModuleMockRecorder
- func (mr *MockModuleMockRecorder) AccountAddress(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Balance(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) BalanceForAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) BeginRedelegate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) CancelUnbondingDelegation(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Delegate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GrantFee(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) QueryDelegation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) QueryRedelegations(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) QueryUnbonding(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) RevokeGrantFee(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) SubmitPayForBlob(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Transfer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Undelegate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
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 ¶
AccountAddress mocks base method.
func (*MockModule) BalanceForAddress ¶
func (m *MockModule) BalanceForAddress(arg0 context.Context, arg1 state.Address) (*types.Coin, error)
BalanceForAddress mocks base method.
func (*MockModule) BeginRedelegate ¶
func (m *MockModule) BeginRedelegate(arg0 context.Context, arg1, arg2 types.ValAddress, arg3 math.Int, arg4 *state.TxConfig) (*types.TxResponse, error)
BeginRedelegate mocks base method.
func (*MockModule) CancelUnbondingDelegation ¶
func (m *MockModule) CancelUnbondingDelegation(arg0 context.Context, arg1 types.ValAddress, arg2, arg3 math.Int, arg4 *state.TxConfig) (*types.TxResponse, error)
CancelUnbondingDelegation mocks base method.
func (*MockModule) Delegate ¶
func (m *MockModule) Delegate(arg0 context.Context, arg1 types.ValAddress, arg2 math.Int, arg3 *state.TxConfig) (*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) GrantFee ¶ added in v0.14.0
func (m *MockModule) GrantFee(arg0 context.Context, arg1 types.AccAddress, arg2 math.Int, arg3 *state.TxConfig) (*types.TxResponse, error)
GrantFee 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 ¶
func (m *MockModule) QueryUnbonding(arg0 context.Context, arg1 types.ValAddress) (*types0.QueryUnbondingDelegationResponse, error)
QueryUnbonding mocks base method.
func (*MockModule) RevokeGrantFee ¶ added in v0.14.0
func (m *MockModule) RevokeGrantFee(arg0 context.Context, arg1 types.AccAddress, arg2 *state.TxConfig) (*types.TxResponse, error)
RevokeGrantFee mocks base method.
func (*MockModule) SubmitPayForBlob ¶ added in v0.7.0
func (m *MockModule) SubmitPayForBlob(arg0 context.Context, arg1 []*share.Blob, arg2 *state.TxConfig) (*types.TxResponse, error)
SubmitPayForBlob mocks base method.
func (*MockModule) Transfer ¶
func (m *MockModule) Transfer(arg0 context.Context, arg1 types.AccAddress, arg2 math.Int, arg3 *state.TxConfig) (*types.TxResponse, error)
Transfer mocks base method.
func (*MockModule) Undelegate ¶
func (m *MockModule) Undelegate(arg0 context.Context, arg1 types.ValAddress, arg2 math.Int, arg3 *state.TxConfig) (*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 interface{}) *gomock.Call
BeginRedelegate indicates an expected call of BeginRedelegate.
func (*MockModuleMockRecorder) CancelUnbondingDelegation ¶
func (mr *MockModuleMockRecorder) CancelUnbondingDelegation(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CancelUnbondingDelegation indicates an expected call of CancelUnbondingDelegation.
func (*MockModuleMockRecorder) Delegate ¶
func (mr *MockModuleMockRecorder) Delegate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Delegate indicates an expected call of Delegate.
func (*MockModuleMockRecorder) GrantFee ¶ added in v0.14.0
func (mr *MockModuleMockRecorder) GrantFee(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GrantFee indicates an expected call of GrantFee.
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) RevokeGrantFee ¶ added in v0.14.0
func (mr *MockModuleMockRecorder) RevokeGrantFee(arg0, arg1, arg2 interface{}) *gomock.Call
RevokeGrantFee indicates an expected call of RevokeGrantFee.
func (*MockModuleMockRecorder) SubmitPayForBlob ¶ added in v0.11.0
func (mr *MockModuleMockRecorder) SubmitPayForBlob(arg0, arg1, arg2 interface{}) *gomock.Call
SubmitPayForBlob indicates an expected call of SubmitPayForBlob.
func (*MockModuleMockRecorder) Transfer ¶
func (mr *MockModuleMockRecorder) Transfer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Transfer indicates an expected call of Transfer.
func (*MockModuleMockRecorder) Undelegate ¶
func (mr *MockModuleMockRecorder) Undelegate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Undelegate indicates an expected call of Undelegate.