Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- Variables
- func NewEmergencyGroupBuilder(pk ugov.WithEmergencyGroup) ugov.EmergencyGroupBuilder
- func NewParamsBuilder(pk ugov.ParamsKeeper) ugov.ParamsKeeperBuilder
- func NewSimpleEmergencyGroup() ugov.WithEmergencyGroup
- func NewSimpleEmergencyGroupBuilder() ugov.EmergencyGroupBuilder
- type MockKeeper
- func (m *MockKeeper) EXPECT() *MockKeeperMockRecorder
- func (m *MockKeeper) EmergencyGroup() types.AccAddress
- func (m *MockKeeper) ExportGenesis() *ugov.GenesisState
- func (m *MockKeeper) InflationCycleEnd() time.Time
- func (m *MockKeeper) InflationParams() ugov.InflationParams
- func (m *MockKeeper) InitGenesis(gs *ugov.GenesisState) error
- func (m *MockKeeper) MinGasPrice() types.DecCoin
- func (m *MockKeeper) SetEmergencyGroup(p types.AccAddress)
- func (m *MockKeeper) SetInflationCycleEnd(startTime time.Time) error
- func (m *MockKeeper) SetInflationParams(lp ugov.InflationParams) error
- func (m *MockKeeper) SetMinGasPrice(p types.DecCoin) error
- type MockKeeperMockRecorder
- func (mr *MockKeeperMockRecorder) EmergencyGroup() *gomock.Call
- func (mr *MockKeeperMockRecorder) ExportGenesis() *gomock.Call
- func (mr *MockKeeperMockRecorder) InflationCycleEnd() *gomock.Call
- func (mr *MockKeeperMockRecorder) InflationParams() *gomock.Call
- func (mr *MockKeeperMockRecorder) InitGenesis(gs interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) MinGasPrice() *gomock.Call
- func (mr *MockKeeperMockRecorder) SetEmergencyGroup(p interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) SetInflationCycleEnd(startTime interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) SetInflationParams(lp interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) SetMinGasPrice(p interface{}) *gomock.Call
- type MockParamsKeeper
- func (m *MockParamsKeeper) EXPECT() *MockParamsKeeperMockRecorder
- func (m *MockParamsKeeper) InflationCycleEnd() time.Time
- func (m *MockParamsKeeper) InflationParams() ugov.InflationParams
- func (m *MockParamsKeeper) MinGasPrice() types.DecCoin
- func (m *MockParamsKeeper) SetEmergencyGroup(p types.AccAddress)
- func (m *MockParamsKeeper) SetInflationCycleEnd(startTime time.Time) error
- func (m *MockParamsKeeper) SetInflationParams(lp ugov.InflationParams) error
- func (m *MockParamsKeeper) SetMinGasPrice(p types.DecCoin) error
- type MockParamsKeeperMockRecorder
- func (mr *MockParamsKeeperMockRecorder) InflationCycleEnd() *gomock.Call
- func (mr *MockParamsKeeperMockRecorder) InflationParams() *gomock.Call
- func (mr *MockParamsKeeperMockRecorder) MinGasPrice() *gomock.Call
- func (mr *MockParamsKeeperMockRecorder) SetEmergencyGroup(p interface{}) *gomock.Call
- func (mr *MockParamsKeeperMockRecorder) SetInflationCycleEnd(startTime interface{}) *gomock.Call
- func (mr *MockParamsKeeperMockRecorder) SetInflationParams(lp interface{}) *gomock.Call
- func (mr *MockParamsKeeperMockRecorder) SetMinGasPrice(p interface{}) *gomock.Call
- type MockWithEmergencyGroup
- type MockWithEmergencyGroupMockRecorder
Constants ¶
This section is empty.
Variables ¶
var SimpleEmergencyGroupAddr = accs.GenerateAddr("ugov emergency group")
Functions ¶
func NewEmergencyGroupBuilder ¶
func NewEmergencyGroupBuilder(pk ugov.WithEmergencyGroup) ugov.EmergencyGroupBuilder
NewEmergencyGroupBuilder creates a WithEmergencyGroup builder function
func NewParamsBuilder ¶
func NewParamsBuilder(pk ugov.ParamsKeeper) ugov.ParamsKeeperBuilder
NewParamsBuilder creates a ParamsKeeper builder function
func NewSimpleEmergencyGroup ¶
func NewSimpleEmergencyGroup() ugov.WithEmergencyGroup
func NewSimpleEmergencyGroupBuilder ¶
func NewSimpleEmergencyGroupBuilder() ugov.EmergencyGroupBuilder
NewSimpleEmergencyGroupBuilder creates a EmergencyGroupBuilder builder function
Types ¶
type MockKeeper ¶
type MockKeeper struct {
// contains filtered or unexported fields
}
MockKeeper is a mock of Keeper interface.
func NewMockKeeper ¶
func NewMockKeeper(ctrl *gomock.Controller) *MockKeeper
NewMockKeeper creates a new mock instance.
func (*MockKeeper) EXPECT ¶
func (m *MockKeeper) EXPECT() *MockKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeeper) EmergencyGroup ¶
func (m *MockKeeper) EmergencyGroup() types.AccAddress
EmergencyGroup mocks base method.
func (*MockKeeper) ExportGenesis ¶
func (m *MockKeeper) ExportGenesis() *ugov.GenesisState
ExportGenesis mocks base method.
func (*MockKeeper) InflationCycleEnd ¶
func (m *MockKeeper) InflationCycleEnd() time.Time
InflationCycleEnd mocks base method.
func (*MockKeeper) InflationParams ¶
func (m *MockKeeper) InflationParams() ugov.InflationParams
InflationParams mocks base method.
func (*MockKeeper) InitGenesis ¶
func (m *MockKeeper) InitGenesis(gs *ugov.GenesisState) error
InitGenesis mocks base method.
func (*MockKeeper) MinGasPrice ¶
func (m *MockKeeper) MinGasPrice() types.DecCoin
MinGasPrice mocks base method.
func (*MockKeeper) SetEmergencyGroup ¶
func (m *MockKeeper) SetEmergencyGroup(p types.AccAddress)
SetEmergencyGroup mocks base method.
func (*MockKeeper) SetInflationCycleEnd ¶
func (m *MockKeeper) SetInflationCycleEnd(startTime time.Time) error
SetInflationCycleEnd mocks base method.
func (*MockKeeper) SetInflationParams ¶
func (m *MockKeeper) SetInflationParams(lp ugov.InflationParams) error
SetInflationParams mocks base method.
func (*MockKeeper) SetMinGasPrice ¶
func (m *MockKeeper) SetMinGasPrice(p types.DecCoin) error
SetMinGasPrice mocks base method.
type MockKeeperMockRecorder ¶
type MockKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockKeeperMockRecorder is the mock recorder for MockKeeper.
func (*MockKeeperMockRecorder) EmergencyGroup ¶
func (mr *MockKeeperMockRecorder) EmergencyGroup() *gomock.Call
EmergencyGroup indicates an expected call of EmergencyGroup.
func (*MockKeeperMockRecorder) ExportGenesis ¶
func (mr *MockKeeperMockRecorder) ExportGenesis() *gomock.Call
ExportGenesis indicates an expected call of ExportGenesis.
func (*MockKeeperMockRecorder) InflationCycleEnd ¶
func (mr *MockKeeperMockRecorder) InflationCycleEnd() *gomock.Call
InflationCycleEnd indicates an expected call of InflationCycleEnd.
func (*MockKeeperMockRecorder) InflationParams ¶
func (mr *MockKeeperMockRecorder) InflationParams() *gomock.Call
InflationParams indicates an expected call of InflationParams.
func (*MockKeeperMockRecorder) InitGenesis ¶
func (mr *MockKeeperMockRecorder) InitGenesis(gs interface{}) *gomock.Call
InitGenesis indicates an expected call of InitGenesis.
func (*MockKeeperMockRecorder) MinGasPrice ¶
func (mr *MockKeeperMockRecorder) MinGasPrice() *gomock.Call
MinGasPrice indicates an expected call of MinGasPrice.
func (*MockKeeperMockRecorder) SetEmergencyGroup ¶
func (mr *MockKeeperMockRecorder) SetEmergencyGroup(p interface{}) *gomock.Call
SetEmergencyGroup indicates an expected call of SetEmergencyGroup.
func (*MockKeeperMockRecorder) SetInflationCycleEnd ¶
func (mr *MockKeeperMockRecorder) SetInflationCycleEnd(startTime interface{}) *gomock.Call
SetInflationCycleEnd indicates an expected call of SetInflationCycleEnd.
func (*MockKeeperMockRecorder) SetInflationParams ¶
func (mr *MockKeeperMockRecorder) SetInflationParams(lp interface{}) *gomock.Call
SetInflationParams indicates an expected call of SetInflationParams.
func (*MockKeeperMockRecorder) SetMinGasPrice ¶
func (mr *MockKeeperMockRecorder) SetMinGasPrice(p interface{}) *gomock.Call
SetMinGasPrice indicates an expected call of SetMinGasPrice.
type MockParamsKeeper ¶
type MockParamsKeeper struct {
// contains filtered or unexported fields
}
MockParamsKeeper is a mock of ParamsKeeper interface.
func NewMockParamsKeeper ¶
func NewMockParamsKeeper(ctrl *gomock.Controller) *MockParamsKeeper
NewMockParamsKeeper creates a new mock instance.
func (*MockParamsKeeper) EXPECT ¶
func (m *MockParamsKeeper) EXPECT() *MockParamsKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockParamsKeeper) InflationCycleEnd ¶
func (m *MockParamsKeeper) InflationCycleEnd() time.Time
InflationCycleEnd mocks base method.
func (*MockParamsKeeper) InflationParams ¶
func (m *MockParamsKeeper) InflationParams() ugov.InflationParams
InflationParams mocks base method.
func (*MockParamsKeeper) MinGasPrice ¶
func (m *MockParamsKeeper) MinGasPrice() types.DecCoin
MinGasPrice mocks base method.
func (*MockParamsKeeper) SetEmergencyGroup ¶
func (m *MockParamsKeeper) SetEmergencyGroup(p types.AccAddress)
SetEmergencyGroup mocks base method.
func (*MockParamsKeeper) SetInflationCycleEnd ¶
func (m *MockParamsKeeper) SetInflationCycleEnd(startTime time.Time) error
SetInflationCycleEnd mocks base method.
func (*MockParamsKeeper) SetInflationParams ¶
func (m *MockParamsKeeper) SetInflationParams(lp ugov.InflationParams) error
SetInflationParams mocks base method.
func (*MockParamsKeeper) SetMinGasPrice ¶
func (m *MockParamsKeeper) SetMinGasPrice(p types.DecCoin) error
SetMinGasPrice mocks base method.
type MockParamsKeeperMockRecorder ¶
type MockParamsKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockParamsKeeperMockRecorder is the mock recorder for MockParamsKeeper.
func (*MockParamsKeeperMockRecorder) InflationCycleEnd ¶
func (mr *MockParamsKeeperMockRecorder) InflationCycleEnd() *gomock.Call
InflationCycleEnd indicates an expected call of InflationCycleEnd.
func (*MockParamsKeeperMockRecorder) InflationParams ¶
func (mr *MockParamsKeeperMockRecorder) InflationParams() *gomock.Call
InflationParams indicates an expected call of InflationParams.
func (*MockParamsKeeperMockRecorder) MinGasPrice ¶
func (mr *MockParamsKeeperMockRecorder) MinGasPrice() *gomock.Call
MinGasPrice indicates an expected call of MinGasPrice.
func (*MockParamsKeeperMockRecorder) SetEmergencyGroup ¶
func (mr *MockParamsKeeperMockRecorder) SetEmergencyGroup(p interface{}) *gomock.Call
SetEmergencyGroup indicates an expected call of SetEmergencyGroup.
func (*MockParamsKeeperMockRecorder) SetInflationCycleEnd ¶
func (mr *MockParamsKeeperMockRecorder) SetInflationCycleEnd(startTime interface{}) *gomock.Call
SetInflationCycleEnd indicates an expected call of SetInflationCycleEnd.
func (*MockParamsKeeperMockRecorder) SetInflationParams ¶
func (mr *MockParamsKeeperMockRecorder) SetInflationParams(lp interface{}) *gomock.Call
SetInflationParams indicates an expected call of SetInflationParams.
func (*MockParamsKeeperMockRecorder) SetMinGasPrice ¶
func (mr *MockParamsKeeperMockRecorder) SetMinGasPrice(p interface{}) *gomock.Call
SetMinGasPrice indicates an expected call of SetMinGasPrice.
type MockWithEmergencyGroup ¶
type MockWithEmergencyGroup struct {
// contains filtered or unexported fields
}
MockWithEmergencyGroup is a mock of WithEmergencyGroup interface.
func NewMockWithEmergencyGroup ¶
func NewMockWithEmergencyGroup(ctrl *gomock.Controller) *MockWithEmergencyGroup
NewMockWithEmergencyGroup creates a new mock instance.
func (*MockWithEmergencyGroup) EXPECT ¶
func (m *MockWithEmergencyGroup) EXPECT() *MockWithEmergencyGroupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWithEmergencyGroup) EmergencyGroup ¶
func (m *MockWithEmergencyGroup) EmergencyGroup() types.AccAddress
EmergencyGroup mocks base method.
type MockWithEmergencyGroupMockRecorder ¶
type MockWithEmergencyGroupMockRecorder struct {
// contains filtered or unexported fields
}
MockWithEmergencyGroupMockRecorder is the mock recorder for MockWithEmergencyGroup.
func (*MockWithEmergencyGroupMockRecorder) EmergencyGroup ¶
func (mr *MockWithEmergencyGroupMockRecorder) EmergencyGroup() *gomock.Call
EmergencyGroup indicates an expected call of EmergencyGroup.