Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mock_types is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI
- func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, name string) types0.ModuleAccountI
- func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress
- func (m *MockAccountKeeper) SetModuleAccount(arg0 types.Context, arg1 types0.ModuleAccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 interface{}) *gomock.Call
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins
- func (m *MockBankKeeper) GetDenomMetaData(ctx types.Context, denom string) (types1.Metadata, bool)
- func (m *MockBankKeeper) GetSupply(ctx types.Context, denom string) types.Coin
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
- type MockChannelKeeper
- func (m *MockChannelKeeper) EXPECT() *MockChannelKeeperMockRecorder
- func (m *MockChannelKeeper) GetChannel(ctx types.Context, portID, channelID string) (types7.Channel, bool)
- func (m *MockChannelKeeper) GetChannelClientState(ctx types.Context, portID, channelID string) (string, exported.ClientState, error)
- type MockChannelKeeperMockRecorder
- type MockDelegationI
- type MockDelegationIMockRecorder
- type MockDistributionKeeper
- type MockDistributionKeeperMockRecorder
- type MockGravityKeeper
- type MockGravityKeeperMockRecorder
- type MockIBCModule
- func (m *MockIBCModule) EXPECT() *MockIBCModuleMockRecorder
- func (m *MockIBCModule) OnAcknowledgementPacket(ctx types.Context, packet types2.Packet, acknowledgement []byte, ...) error
- func (m *MockIBCModule) OnChanCloseConfirm(ctx types.Context, portID, channelID string) error
- func (m *MockIBCModule) OnChanCloseInit(ctx types.Context, portID, channelID string) error
- func (m *MockIBCModule) OnChanOpenAck(ctx types.Context, ...) error
- func (m *MockIBCModule) OnChanOpenConfirm(ctx types.Context, portID, channelID string) error
- func (m *MockIBCModule) OnChanOpenInit(ctx types.Context, order types2.Order, connectionHops []string, ...) (string, error)
- func (m *MockIBCModule) OnChanOpenTry(ctx types.Context, order types2.Order, connectionHops []string, ...) (string, error)
- func (m *MockIBCModule) OnRecvPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) exported.Acknowledgement
- func (m *MockIBCModule) OnTimeoutPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) error
- type MockIBCModuleMockRecorder
- func (mr *MockIBCModuleMockRecorder) OnAcknowledgementPacket(ctx, packet, acknowledgement, relayer interface{}) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnChanCloseConfirm(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnChanCloseInit(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnChanOpenAck(ctx, portID, channelID, counterpartyChannelID, counterpartyVersion interface{}) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnChanOpenConfirm(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnChanOpenInit(...) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnChanOpenTry(...) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnRecvPacket(ctx, packet, relayer interface{}) *gomock.Call
- func (mr *MockIBCModuleMockRecorder) OnTimeoutPacket(ctx, packet, relayer interface{}) *gomock.Call
- type MockICS4Wrapper
- func (m *MockICS4Wrapper) EXPECT() *MockICS4WrapperMockRecorder
- func (m *MockICS4Wrapper) GetAppVersion(ctx types.Context, portID, channelID string) (string, bool)
- func (m *MockICS4Wrapper) SendPacket(ctx types.Context, chanCap *types2.Capability, ...) (uint64, error)
- func (m *MockICS4Wrapper) WriteAcknowledgement(ctx types.Context, chanCap *types2.Capability, packet exported.PacketI, ...) error
- type MockICS4WrapperMockRecorder
- type MockMiddleware
- func (m *MockMiddleware) EXPECT() *MockMiddlewareMockRecorder
- func (m *MockMiddleware) GetAppVersion(ctx types.Context, portID, channelID string) (string, bool)
- func (m *MockMiddleware) OnAcknowledgementPacket(ctx types.Context, packet types2.Packet, acknowledgement []byte, ...) error
- func (m *MockMiddleware) OnChanCloseConfirm(ctx types.Context, portID, channelID string) error
- func (m *MockMiddleware) OnChanCloseInit(ctx types.Context, portID, channelID string) error
- func (m *MockMiddleware) OnChanOpenAck(ctx types.Context, ...) error
- func (m *MockMiddleware) OnChanOpenConfirm(ctx types.Context, portID, channelID string) error
- func (m *MockMiddleware) OnChanOpenInit(ctx types.Context, order types2.Order, connectionHops []string, ...) (string, error)
- func (m *MockMiddleware) OnChanOpenTry(ctx types.Context, order types2.Order, connectionHops []string, ...) (string, error)
- func (m *MockMiddleware) OnRecvPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) exported.Acknowledgement
- func (m *MockMiddleware) OnTimeoutPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) error
- func (m *MockMiddleware) SendPacket(ctx types.Context, chanCap *types0.Capability, ...) (uint64, error)
- func (m *MockMiddleware) WriteAcknowledgement(ctx types.Context, chanCap *types0.Capability, packet exported.PacketI, ...) error
- type MockMiddlewareMockRecorder
- func (mr *MockMiddlewareMockRecorder) GetAppVersion(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnAcknowledgementPacket(ctx, packet, acknowledgement, relayer interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnChanCloseConfirm(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnChanCloseInit(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnChanOpenAck(ctx, portID, channelID, counterpartyChannelID, counterpartyVersion interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnChanOpenConfirm(ctx, portID, channelID interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnChanOpenInit(...) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnChanOpenTry(...) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnRecvPacket(ctx, packet, relayer interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) OnTimeoutPacket(ctx, packet, relayer interface{}) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) SendPacket(...) *gomock.Call
- func (mr *MockMiddlewareMockRecorder) WriteAcknowledgement(ctx, chanCap, packet, ack interface{}) *gomock.Call
- type MockPubsubKeeper
- func (m *MockPubsubKeeper) DeleteDefaultSubscription(ctx types.Context, subscriptionID string)
- func (m *MockPubsubKeeper) EXPECT() *MockPubsubKeeperMockRecorder
- func (m *MockPubsubKeeper) GetPublisher(ctx types.Context, publisherDomain string) (types8.Publisher, bool)
- func (m *MockPubsubKeeper) SetDefaultSubscription(ctx types.Context, defaultSubscription types8.DefaultSubscription)
- type MockPubsubKeeperMockRecorder
- func (mr *MockPubsubKeeperMockRecorder) DeleteDefaultSubscription(ctx, subscriptionID interface{}) *gomock.Call
- func (mr *MockPubsubKeeperMockRecorder) GetPublisher(ctx, publisherDomain interface{}) *gomock.Call
- func (mr *MockPubsubKeeperMockRecorder) SetDefaultSubscription(ctx, defaultSubscription interface{}) *gomock.Call
- type MockStakingKeeper
- func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
- func (m *MockStakingKeeper) GetBondedValidatorsByPower(ctx types.Context) []types4.Validator
- func (m *MockStakingKeeper) GetLastTotalPower(ctx types.Context) math.Int
- func (m *MockStakingKeeper) GetLastValidatorPower(ctx types.Context, operator types.ValAddress) int64
- func (m *MockStakingKeeper) IterateBondedValidatorsByPower(arg0 types.Context, arg1 func(int64, types4.ValidatorI) bool)
- func (m *MockStakingKeeper) IterateLastValidators(arg0 types.Context, arg1 func(int64, types4.ValidatorI) bool)
- func (m *MockStakingKeeper) IterateValidators(arg0 types.Context, arg1 func(int64, types4.ValidatorI) bool)
- func (m *MockStakingKeeper) Jail(arg0 types.Context, arg1 types.ConsAddress)
- func (m *MockStakingKeeper) PowerReduction(ctx types.Context) math.Int
- func (m *MockStakingKeeper) Slash(arg0 types.Context, arg1 types.ConsAddress, arg2, arg3 int64, arg4 types.Dec) math.Int
- func (m *MockStakingKeeper) Validator(arg0 types.Context, arg1 types.ValAddress) types4.ValidatorI
- func (m *MockStakingKeeper) ValidatorByConsAddr(arg0 types.Context, arg1 types.ConsAddress) types4.ValidatorI
- type MockStakingKeeperMockRecorder
- func (mr *MockStakingKeeperMockRecorder) GetBondedValidatorsByPower(ctx interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) GetLastTotalPower(ctx interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) GetLastValidatorPower(ctx, operator interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) IterateLastValidators(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) IterateValidators(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) Jail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) PowerReduction(ctx interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) Slash(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) Validator(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStakingKeeperMockRecorder) ValidatorByConsAddr(arg0, arg1 interface{}) *gomock.Call
- type MockTransferKeeper
- type MockTransferKeeperMockRecorder
- type MockValidatorI
- func (m *MockValidatorI) ConsPubKey() (types.PubKey, error)
- func (m *MockValidatorI) EXPECT() *MockValidatorIMockRecorder
- func (m *MockValidatorI) GetBondedTokens() types0.Int
- func (m *MockValidatorI) GetCommission() types0.Dec
- func (m *MockValidatorI) GetConsAddr() (types0.ConsAddress, error)
- func (m *MockValidatorI) GetConsensusPower(arg0 types0.Int) int64
- func (m *MockValidatorI) GetDelegatorShares() types0.Dec
- func (m *MockValidatorI) GetMinSelfDelegation() types0.Int
- func (m *MockValidatorI) GetMoniker() string
- func (m *MockValidatorI) GetOperator() types0.ValAddress
- func (m *MockValidatorI) GetStatus() types1.BondStatus
- func (m *MockValidatorI) GetTokens() types0.Int
- func (m *MockValidatorI) IsBonded() bool
- func (m *MockValidatorI) IsJailed() bool
- func (m *MockValidatorI) IsUnbonded() bool
- func (m *MockValidatorI) IsUnbonding() bool
- func (m *MockValidatorI) SharesFromTokens(amt types0.Int) (types0.Dec, error)
- func (m *MockValidatorI) SharesFromTokensTruncated(amt types0.Int) (types0.Dec, error)
- func (m *MockValidatorI) TmConsPublicKey() (crypto.PublicKey, error)
- func (m *MockValidatorI) TokensFromShares(arg0 types0.Dec) types0.Dec
- func (m *MockValidatorI) TokensFromSharesRoundUp(arg0 types0.Dec) types0.Dec
- func (m *MockValidatorI) TokensFromSharesTruncated(arg0 types0.Dec) types0.Dec
- type MockValidatorIMockRecorder
- func (mr *MockValidatorIMockRecorder) ConsPubKey() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetBondedTokens() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetCommission() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetConsAddr() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetConsensusPower(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetDelegatorShares() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetMinSelfDelegation() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetMoniker() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetOperator() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetStatus() *gomock.Call
- func (mr *MockValidatorIMockRecorder) GetTokens() *gomock.Call
- func (mr *MockValidatorIMockRecorder) IsBonded() *gomock.Call
- func (mr *MockValidatorIMockRecorder) IsJailed() *gomock.Call
- func (mr *MockValidatorIMockRecorder) IsUnbonded() *gomock.Call
- func (mr *MockValidatorIMockRecorder) IsUnbonding() *gomock.Call
- func (mr *MockValidatorIMockRecorder) SharesFromTokens(amt interface{}) *gomock.Call
- func (mr *MockValidatorIMockRecorder) SharesFromTokensTruncated(amt interface{}) *gomock.Call
- func (mr *MockValidatorIMockRecorder) TmConsPublicKey() *gomock.Call
- func (mr *MockValidatorIMockRecorder) TokensFromShares(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorIMockRecorder) TokensFromSharesRoundUp(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorIMockRecorder) TokensFromSharesTruncated(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountKeeper ¶
type MockAccountKeeper struct {
// contains filtered or unexported fields
}
MockAccountKeeper is a mock of AccountKeeper interface.
func NewMockAccountKeeper ¶
func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper
NewMockAccountKeeper creates a new mock instance.
func (*MockAccountKeeper) EXPECT ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) GetAccount ¶
func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, name string) types0.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) SetModuleAccount ¶
func (m *MockAccountKeeper) SetModuleAccount(arg0 types.Context, arg1 types0.ModuleAccountI)
SetModuleAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
func (*MockAccountKeeperMockRecorder) SetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 interface{}) *gomock.Call
SetModuleAccount indicates an expected call of SetModuleAccount.
type MockBankKeeper ¶
type MockBankKeeper struct {
// contains filtered or unexported fields
}
MockBankKeeper is a mock of BankKeeper interface.
func NewMockBankKeeper ¶
func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper
NewMockBankKeeper creates a new mock instance.
func (*MockBankKeeper) EXPECT ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) GetAllBalances ¶
func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) GetDenomMetaData ¶
GetDenomMetaData mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToModule ¶
func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) GetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
GetDenomMetaData indicates an expected call of GetDenomMetaData.
func (*MockBankKeeperMockRecorder) GetSupply ¶
func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom interface{}) *gomock.Call
GetSupply indicates an expected call of GetSupply.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.
type MockChannelKeeper ¶
type MockChannelKeeper struct {
// contains filtered or unexported fields
}
MockChannelKeeper is a mock of ChannelKeeper interface.
func NewMockChannelKeeper ¶
func NewMockChannelKeeper(ctrl *gomock.Controller) *MockChannelKeeper
NewMockChannelKeeper creates a new mock instance.
func (*MockChannelKeeper) EXPECT ¶
func (m *MockChannelKeeper) EXPECT() *MockChannelKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChannelKeeper) GetChannel ¶
func (m *MockChannelKeeper) GetChannel(ctx types.Context, portID, channelID string) (types7.Channel, bool)
GetChannel mocks base method.
func (*MockChannelKeeper) GetChannelClientState ¶
func (m *MockChannelKeeper) GetChannelClientState(ctx types.Context, portID, channelID string) (string, exported.ClientState, error)
GetChannelClientState mocks base method.
type MockChannelKeeperMockRecorder ¶
type MockChannelKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockChannelKeeperMockRecorder is the mock recorder for MockChannelKeeper.
func (*MockChannelKeeperMockRecorder) GetChannel ¶
func (mr *MockChannelKeeperMockRecorder) GetChannel(ctx, portID, channelID interface{}) *gomock.Call
GetChannel indicates an expected call of GetChannel.
func (*MockChannelKeeperMockRecorder) GetChannelClientState ¶
func (mr *MockChannelKeeperMockRecorder) GetChannelClientState(ctx, portID, channelID interface{}) *gomock.Call
GetChannelClientState indicates an expected call of GetChannelClientState.
type MockDelegationI ¶
type MockDelegationI struct {
// contains filtered or unexported fields
}
MockDelegationI is a mock of DelegationI interface.
func NewMockDelegationI ¶
func NewMockDelegationI(ctrl *gomock.Controller) *MockDelegationI
NewMockDelegationI creates a new mock instance.
func (*MockDelegationI) EXPECT ¶
func (m *MockDelegationI) EXPECT() *MockDelegationIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDelegationI) GetDelegatorAddr ¶
func (m *MockDelegationI) GetDelegatorAddr() types0.AccAddress
GetDelegatorAddr mocks base method.
func (*MockDelegationI) GetShares ¶
func (m *MockDelegationI) GetShares() types0.Dec
GetShares mocks base method.
func (*MockDelegationI) GetValidatorAddr ¶
func (m *MockDelegationI) GetValidatorAddr() types0.ValAddress
GetValidatorAddr mocks base method.
type MockDelegationIMockRecorder ¶
type MockDelegationIMockRecorder struct {
// contains filtered or unexported fields
}
MockDelegationIMockRecorder is the mock recorder for MockDelegationI.
func (*MockDelegationIMockRecorder) GetDelegatorAddr ¶
func (mr *MockDelegationIMockRecorder) GetDelegatorAddr() *gomock.Call
GetDelegatorAddr indicates an expected call of GetDelegatorAddr.
func (*MockDelegationIMockRecorder) GetShares ¶
func (mr *MockDelegationIMockRecorder) GetShares() *gomock.Call
GetShares indicates an expected call of GetShares.
func (*MockDelegationIMockRecorder) GetValidatorAddr ¶
func (mr *MockDelegationIMockRecorder) GetValidatorAddr() *gomock.Call
GetValidatorAddr indicates an expected call of GetValidatorAddr.
type MockDistributionKeeper ¶
type MockDistributionKeeper struct {
// contains filtered or unexported fields
}
MockDistributionKeeper is a mock of DistributionKeeper interface.
func NewMockDistributionKeeper ¶
func NewMockDistributionKeeper(ctrl *gomock.Controller) *MockDistributionKeeper
NewMockDistributionKeeper creates a new mock instance.
func (*MockDistributionKeeper) EXPECT ¶
func (m *MockDistributionKeeper) EXPECT() *MockDistributionKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDistributionKeeper) GetFeePool ¶
func (m *MockDistributionKeeper) GetFeePool(ctx types.Context) types3.FeePool
GetFeePool mocks base method.
func (*MockDistributionKeeper) SetFeePool ¶
func (m *MockDistributionKeeper) SetFeePool(ctx types.Context, feePool types3.FeePool)
SetFeePool mocks base method.
type MockDistributionKeeperMockRecorder ¶
type MockDistributionKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockDistributionKeeperMockRecorder is the mock recorder for MockDistributionKeeper.
func (*MockDistributionKeeperMockRecorder) GetFeePool ¶
func (mr *MockDistributionKeeperMockRecorder) GetFeePool(ctx interface{}) *gomock.Call
GetFeePool indicates an expected call of GetFeePool.
func (*MockDistributionKeeperMockRecorder) SetFeePool ¶
func (mr *MockDistributionKeeperMockRecorder) SetFeePool(ctx, feePool interface{}) *gomock.Call
SetFeePool indicates an expected call of SetFeePool.
type MockGravityKeeper ¶
type MockGravityKeeper struct {
// contains filtered or unexported fields
}
MockGravityKeeper is a mock of GravityKeeper interface.
func NewMockGravityKeeper ¶
func NewMockGravityKeeper(ctrl *gomock.Controller) *MockGravityKeeper
NewMockGravityKeeper creates a new mock instance.
func (*MockGravityKeeper) EXPECT ¶
func (m *MockGravityKeeper) EXPECT() *MockGravityKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGravityKeeper) GetOrchestratorValidatorAddress ¶
func (m *MockGravityKeeper) GetOrchestratorValidatorAddress(ctx types.Context, orchAddr types.AccAddress) types.ValAddress
GetOrchestratorValidatorAddress mocks base method.
type MockGravityKeeperMockRecorder ¶
type MockGravityKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockGravityKeeperMockRecorder is the mock recorder for MockGravityKeeper.
func (*MockGravityKeeperMockRecorder) GetOrchestratorValidatorAddress ¶
func (mr *MockGravityKeeperMockRecorder) GetOrchestratorValidatorAddress(ctx, orchAddr interface{}) *gomock.Call
GetOrchestratorValidatorAddress indicates an expected call of GetOrchestratorValidatorAddress.
type MockIBCModule ¶
type MockIBCModule struct {
// contains filtered or unexported fields
}
MockIBCModule is a mock of IBCModule interface.
func NewMockIBCModule ¶
func NewMockIBCModule(ctrl *gomock.Controller) *MockIBCModule
NewMockIBCModule creates a new mock instance.
func (*MockIBCModule) EXPECT ¶
func (m *MockIBCModule) EXPECT() *MockIBCModuleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBCModule) OnAcknowledgementPacket ¶
func (m *MockIBCModule) OnAcknowledgementPacket(ctx types.Context, packet types2.Packet, acknowledgement []byte, relayer types.AccAddress) error
OnAcknowledgementPacket mocks base method.
func (*MockIBCModule) OnChanCloseConfirm ¶
func (m *MockIBCModule) OnChanCloseConfirm(ctx types.Context, portID, channelID string) error
OnChanCloseConfirm mocks base method.
func (*MockIBCModule) OnChanCloseInit ¶
func (m *MockIBCModule) OnChanCloseInit(ctx types.Context, portID, channelID string) error
OnChanCloseInit mocks base method.
func (*MockIBCModule) OnChanOpenAck ¶
func (m *MockIBCModule) OnChanOpenAck(ctx types.Context, portID, channelID, counterpartyChannelID, counterpartyVersion string) error
OnChanOpenAck mocks base method.
func (*MockIBCModule) OnChanOpenConfirm ¶
func (m *MockIBCModule) OnChanOpenConfirm(ctx types.Context, portID, channelID string) error
OnChanOpenConfirm mocks base method.
func (*MockIBCModule) OnChanOpenInit ¶
func (m *MockIBCModule) OnChanOpenInit(ctx types.Context, order types2.Order, connectionHops []string, portID, channelID string, channelCap *types0.Capability, counterparty types2.Counterparty, version string) (string, error)
OnChanOpenInit mocks base method.
func (*MockIBCModule) OnChanOpenTry ¶
func (m *MockIBCModule) OnChanOpenTry(ctx types.Context, order types2.Order, connectionHops []string, portID, channelID string, channelCap *types0.Capability, counterparty types2.Counterparty, counterpartyVersion string) (string, error)
OnChanOpenTry mocks base method.
func (*MockIBCModule) OnRecvPacket ¶
func (m *MockIBCModule) OnRecvPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) exported.Acknowledgement
OnRecvPacket mocks base method.
func (*MockIBCModule) OnTimeoutPacket ¶
func (m *MockIBCModule) OnTimeoutPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) error
OnTimeoutPacket mocks base method.
type MockIBCModuleMockRecorder ¶
type MockIBCModuleMockRecorder struct {
// contains filtered or unexported fields
}
MockIBCModuleMockRecorder is the mock recorder for MockIBCModule.
func (*MockIBCModuleMockRecorder) OnAcknowledgementPacket ¶
func (mr *MockIBCModuleMockRecorder) OnAcknowledgementPacket(ctx, packet, acknowledgement, relayer interface{}) *gomock.Call
OnAcknowledgementPacket indicates an expected call of OnAcknowledgementPacket.
func (*MockIBCModuleMockRecorder) OnChanCloseConfirm ¶
func (mr *MockIBCModuleMockRecorder) OnChanCloseConfirm(ctx, portID, channelID interface{}) *gomock.Call
OnChanCloseConfirm indicates an expected call of OnChanCloseConfirm.
func (*MockIBCModuleMockRecorder) OnChanCloseInit ¶
func (mr *MockIBCModuleMockRecorder) OnChanCloseInit(ctx, portID, channelID interface{}) *gomock.Call
OnChanCloseInit indicates an expected call of OnChanCloseInit.
func (*MockIBCModuleMockRecorder) OnChanOpenAck ¶
func (mr *MockIBCModuleMockRecorder) OnChanOpenAck(ctx, portID, channelID, counterpartyChannelID, counterpartyVersion interface{}) *gomock.Call
OnChanOpenAck indicates an expected call of OnChanOpenAck.
func (*MockIBCModuleMockRecorder) OnChanOpenConfirm ¶
func (mr *MockIBCModuleMockRecorder) OnChanOpenConfirm(ctx, portID, channelID interface{}) *gomock.Call
OnChanOpenConfirm indicates an expected call of OnChanOpenConfirm.
func (*MockIBCModuleMockRecorder) OnChanOpenInit ¶
func (mr *MockIBCModuleMockRecorder) OnChanOpenInit(ctx, order, connectionHops, portID, channelID, channelCap, counterparty, version interface{}) *gomock.Call
OnChanOpenInit indicates an expected call of OnChanOpenInit.
func (*MockIBCModuleMockRecorder) OnChanOpenTry ¶
func (mr *MockIBCModuleMockRecorder) OnChanOpenTry(ctx, order, connectionHops, portID, channelID, channelCap, counterparty, counterpartyVersion interface{}) *gomock.Call
OnChanOpenTry indicates an expected call of OnChanOpenTry.
func (*MockIBCModuleMockRecorder) OnRecvPacket ¶
func (mr *MockIBCModuleMockRecorder) OnRecvPacket(ctx, packet, relayer interface{}) *gomock.Call
OnRecvPacket indicates an expected call of OnRecvPacket.
func (*MockIBCModuleMockRecorder) OnTimeoutPacket ¶
func (mr *MockIBCModuleMockRecorder) OnTimeoutPacket(ctx, packet, relayer interface{}) *gomock.Call
OnTimeoutPacket indicates an expected call of OnTimeoutPacket.
type MockICS4Wrapper ¶
type MockICS4Wrapper struct {
// contains filtered or unexported fields
}
MockICS4Wrapper is a mock of ICS4Wrapper interface.
func NewMockICS4Wrapper ¶
func NewMockICS4Wrapper(ctrl *gomock.Controller) *MockICS4Wrapper
NewMockICS4Wrapper creates a new mock instance.
func (*MockICS4Wrapper) EXPECT ¶
func (m *MockICS4Wrapper) EXPECT() *MockICS4WrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockICS4Wrapper) GetAppVersion ¶
GetAppVersion mocks base method.
func (*MockICS4Wrapper) SendPacket ¶
func (m *MockICS4Wrapper) SendPacket(ctx types.Context, chanCap *types2.Capability, sourcePort, sourceChannel string, timeoutHeight types6.Height, timeoutTimestamp uint64, data []byte) (uint64, error)
SendPacket mocks base method.
func (*MockICS4Wrapper) WriteAcknowledgement ¶
func (m *MockICS4Wrapper) WriteAcknowledgement(ctx types.Context, chanCap *types2.Capability, packet exported.PacketI, acknowledgement exported.Acknowledgement) error
WriteAcknowledgement mocks base method.
type MockICS4WrapperMockRecorder ¶
type MockICS4WrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockICS4WrapperMockRecorder is the mock recorder for MockICS4Wrapper.
func (*MockICS4WrapperMockRecorder) GetAppVersion ¶
func (mr *MockICS4WrapperMockRecorder) GetAppVersion(ctx, portID, channelID interface{}) *gomock.Call
GetAppVersion indicates an expected call of GetAppVersion.
func (*MockICS4WrapperMockRecorder) SendPacket ¶
func (mr *MockICS4WrapperMockRecorder) SendPacket(ctx, chanCap, sourcePort, sourceChannel, timeoutHeight, timeoutTimestamp, data interface{}) *gomock.Call
SendPacket indicates an expected call of SendPacket.
func (*MockICS4WrapperMockRecorder) WriteAcknowledgement ¶
func (mr *MockICS4WrapperMockRecorder) WriteAcknowledgement(ctx, chanCap, packet, acknowledgement interface{}) *gomock.Call
WriteAcknowledgement indicates an expected call of WriteAcknowledgement.
type MockMiddleware ¶
type MockMiddleware struct {
// contains filtered or unexported fields
}
MockMiddleware is a mock of Middleware interface.
func NewMockMiddleware ¶
func NewMockMiddleware(ctrl *gomock.Controller) *MockMiddleware
NewMockMiddleware creates a new mock instance.
func (*MockMiddleware) EXPECT ¶
func (m *MockMiddleware) EXPECT() *MockMiddlewareMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMiddleware) GetAppVersion ¶
GetAppVersion mocks base method.
func (*MockMiddleware) OnAcknowledgementPacket ¶
func (m *MockMiddleware) OnAcknowledgementPacket(ctx types.Context, packet types2.Packet, acknowledgement []byte, relayer types.AccAddress) error
OnAcknowledgementPacket mocks base method.
func (*MockMiddleware) OnChanCloseConfirm ¶
func (m *MockMiddleware) OnChanCloseConfirm(ctx types.Context, portID, channelID string) error
OnChanCloseConfirm mocks base method.
func (*MockMiddleware) OnChanCloseInit ¶
func (m *MockMiddleware) OnChanCloseInit(ctx types.Context, portID, channelID string) error
OnChanCloseInit mocks base method.
func (*MockMiddleware) OnChanOpenAck ¶
func (m *MockMiddleware) OnChanOpenAck(ctx types.Context, portID, channelID, counterpartyChannelID, counterpartyVersion string) error
OnChanOpenAck mocks base method.
func (*MockMiddleware) OnChanOpenConfirm ¶
func (m *MockMiddleware) OnChanOpenConfirm(ctx types.Context, portID, channelID string) error
OnChanOpenConfirm mocks base method.
func (*MockMiddleware) OnChanOpenInit ¶
func (m *MockMiddleware) OnChanOpenInit(ctx types.Context, order types2.Order, connectionHops []string, portID, channelID string, channelCap *types0.Capability, counterparty types2.Counterparty, version string) (string, error)
OnChanOpenInit mocks base method.
func (*MockMiddleware) OnChanOpenTry ¶
func (m *MockMiddleware) OnChanOpenTry(ctx types.Context, order types2.Order, connectionHops []string, portID, channelID string, channelCap *types0.Capability, counterparty types2.Counterparty, counterpartyVersion string) (string, error)
OnChanOpenTry mocks base method.
func (*MockMiddleware) OnRecvPacket ¶
func (m *MockMiddleware) OnRecvPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) exported.Acknowledgement
OnRecvPacket mocks base method.
func (*MockMiddleware) OnTimeoutPacket ¶
func (m *MockMiddleware) OnTimeoutPacket(ctx types.Context, packet types2.Packet, relayer types.AccAddress) error
OnTimeoutPacket mocks base method.
func (*MockMiddleware) SendPacket ¶
func (m *MockMiddleware) SendPacket(ctx types.Context, chanCap *types0.Capability, sourcePort, sourceChannel string, timeoutHeight types1.Height, timeoutTimestamp uint64, data []byte) (uint64, error)
SendPacket mocks base method.
func (*MockMiddleware) WriteAcknowledgement ¶
func (m *MockMiddleware) WriteAcknowledgement(ctx types.Context, chanCap *types0.Capability, packet exported.PacketI, ack exported.Acknowledgement) error
WriteAcknowledgement mocks base method.
type MockMiddlewareMockRecorder ¶
type MockMiddlewareMockRecorder struct {
// contains filtered or unexported fields
}
MockMiddlewareMockRecorder is the mock recorder for MockMiddleware.
func (*MockMiddlewareMockRecorder) GetAppVersion ¶
func (mr *MockMiddlewareMockRecorder) GetAppVersion(ctx, portID, channelID interface{}) *gomock.Call
GetAppVersion indicates an expected call of GetAppVersion.
func (*MockMiddlewareMockRecorder) OnAcknowledgementPacket ¶
func (mr *MockMiddlewareMockRecorder) OnAcknowledgementPacket(ctx, packet, acknowledgement, relayer interface{}) *gomock.Call
OnAcknowledgementPacket indicates an expected call of OnAcknowledgementPacket.
func (*MockMiddlewareMockRecorder) OnChanCloseConfirm ¶
func (mr *MockMiddlewareMockRecorder) OnChanCloseConfirm(ctx, portID, channelID interface{}) *gomock.Call
OnChanCloseConfirm indicates an expected call of OnChanCloseConfirm.
func (*MockMiddlewareMockRecorder) OnChanCloseInit ¶
func (mr *MockMiddlewareMockRecorder) OnChanCloseInit(ctx, portID, channelID interface{}) *gomock.Call
OnChanCloseInit indicates an expected call of OnChanCloseInit.
func (*MockMiddlewareMockRecorder) OnChanOpenAck ¶
func (mr *MockMiddlewareMockRecorder) OnChanOpenAck(ctx, portID, channelID, counterpartyChannelID, counterpartyVersion interface{}) *gomock.Call
OnChanOpenAck indicates an expected call of OnChanOpenAck.
func (*MockMiddlewareMockRecorder) OnChanOpenConfirm ¶
func (mr *MockMiddlewareMockRecorder) OnChanOpenConfirm(ctx, portID, channelID interface{}) *gomock.Call
OnChanOpenConfirm indicates an expected call of OnChanOpenConfirm.
func (*MockMiddlewareMockRecorder) OnChanOpenInit ¶
func (mr *MockMiddlewareMockRecorder) OnChanOpenInit(ctx, order, connectionHops, portID, channelID, channelCap, counterparty, version interface{}) *gomock.Call
OnChanOpenInit indicates an expected call of OnChanOpenInit.
func (*MockMiddlewareMockRecorder) OnChanOpenTry ¶
func (mr *MockMiddlewareMockRecorder) OnChanOpenTry(ctx, order, connectionHops, portID, channelID, channelCap, counterparty, counterpartyVersion interface{}) *gomock.Call
OnChanOpenTry indicates an expected call of OnChanOpenTry.
func (*MockMiddlewareMockRecorder) OnRecvPacket ¶
func (mr *MockMiddlewareMockRecorder) OnRecvPacket(ctx, packet, relayer interface{}) *gomock.Call
OnRecvPacket indicates an expected call of OnRecvPacket.
func (*MockMiddlewareMockRecorder) OnTimeoutPacket ¶
func (mr *MockMiddlewareMockRecorder) OnTimeoutPacket(ctx, packet, relayer interface{}) *gomock.Call
OnTimeoutPacket indicates an expected call of OnTimeoutPacket.
func (*MockMiddlewareMockRecorder) SendPacket ¶
func (mr *MockMiddlewareMockRecorder) SendPacket(ctx, chanCap, sourcePort, sourceChannel, timeoutHeight, timeoutTimestamp, data interface{}) *gomock.Call
SendPacket indicates an expected call of SendPacket.
func (*MockMiddlewareMockRecorder) WriteAcknowledgement ¶
func (mr *MockMiddlewareMockRecorder) WriteAcknowledgement(ctx, chanCap, packet, ack interface{}) *gomock.Call
WriteAcknowledgement indicates an expected call of WriteAcknowledgement.
type MockPubsubKeeper ¶
type MockPubsubKeeper struct {
// contains filtered or unexported fields
}
MockPubsubKeeper is a mock of PubsubKeeper interface.
func NewMockPubsubKeeper ¶
func NewMockPubsubKeeper(ctrl *gomock.Controller) *MockPubsubKeeper
NewMockPubsubKeeper creates a new mock instance.
func (*MockPubsubKeeper) DeleteDefaultSubscription ¶
func (m *MockPubsubKeeper) DeleteDefaultSubscription(ctx types.Context, subscriptionID string)
DeleteDefaultSubscription mocks base method.
func (*MockPubsubKeeper) EXPECT ¶
func (m *MockPubsubKeeper) EXPECT() *MockPubsubKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPubsubKeeper) GetPublisher ¶
func (m *MockPubsubKeeper) GetPublisher(ctx types.Context, publisherDomain string) (types8.Publisher, bool)
GetPublisher mocks base method.
func (*MockPubsubKeeper) SetDefaultSubscription ¶
func (m *MockPubsubKeeper) SetDefaultSubscription(ctx types.Context, defaultSubscription types8.DefaultSubscription)
SetDefaultSubscription mocks base method.
type MockPubsubKeeperMockRecorder ¶
type MockPubsubKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockPubsubKeeperMockRecorder is the mock recorder for MockPubsubKeeper.
func (*MockPubsubKeeperMockRecorder) DeleteDefaultSubscription ¶
func (mr *MockPubsubKeeperMockRecorder) DeleteDefaultSubscription(ctx, subscriptionID interface{}) *gomock.Call
DeleteDefaultSubscription indicates an expected call of DeleteDefaultSubscription.
func (*MockPubsubKeeperMockRecorder) GetPublisher ¶
func (mr *MockPubsubKeeperMockRecorder) GetPublisher(ctx, publisherDomain interface{}) *gomock.Call
GetPublisher indicates an expected call of GetPublisher.
func (*MockPubsubKeeperMockRecorder) SetDefaultSubscription ¶
func (mr *MockPubsubKeeperMockRecorder) SetDefaultSubscription(ctx, defaultSubscription interface{}) *gomock.Call
SetDefaultSubscription indicates an expected call of SetDefaultSubscription.
type MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
MockStakingKeeper is a mock of StakingKeeper interface.
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
NewMockStakingKeeper creates a new mock instance.
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingKeeper) GetBondedValidatorsByPower ¶
func (m *MockStakingKeeper) GetBondedValidatorsByPower(ctx types.Context) []types4.Validator
GetBondedValidatorsByPower mocks base method.
func (*MockStakingKeeper) GetLastTotalPower ¶
func (m *MockStakingKeeper) GetLastTotalPower(ctx types.Context) math.Int
GetLastTotalPower mocks base method.
func (*MockStakingKeeper) GetLastValidatorPower ¶
func (m *MockStakingKeeper) GetLastValidatorPower(ctx types.Context, operator types.ValAddress) int64
GetLastValidatorPower mocks base method.
func (*MockStakingKeeper) IterateBondedValidatorsByPower ¶
func (m *MockStakingKeeper) IterateBondedValidatorsByPower(arg0 types.Context, arg1 func(int64, types4.ValidatorI) bool)
IterateBondedValidatorsByPower mocks base method.
func (*MockStakingKeeper) IterateLastValidators ¶
func (m *MockStakingKeeper) IterateLastValidators(arg0 types.Context, arg1 func(int64, types4.ValidatorI) bool)
IterateLastValidators mocks base method.
func (*MockStakingKeeper) IterateValidators ¶
func (m *MockStakingKeeper) IterateValidators(arg0 types.Context, arg1 func(int64, types4.ValidatorI) bool)
IterateValidators mocks base method.
func (*MockStakingKeeper) Jail ¶
func (m *MockStakingKeeper) Jail(arg0 types.Context, arg1 types.ConsAddress)
Jail mocks base method.
func (*MockStakingKeeper) PowerReduction ¶
func (m *MockStakingKeeper) PowerReduction(ctx types.Context) math.Int
PowerReduction mocks base method.
func (*MockStakingKeeper) Slash ¶
func (m *MockStakingKeeper) Slash(arg0 types.Context, arg1 types.ConsAddress, arg2, arg3 int64, arg4 types.Dec) math.Int
Slash mocks base method.
func (*MockStakingKeeper) Validator ¶
func (m *MockStakingKeeper) Validator(arg0 types.Context, arg1 types.ValAddress) types4.ValidatorI
Validator mocks base method.
func (*MockStakingKeeper) ValidatorByConsAddr ¶
func (m *MockStakingKeeper) ValidatorByConsAddr(arg0 types.Context, arg1 types.ConsAddress) types4.ValidatorI
ValidatorByConsAddr mocks base method.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) GetBondedValidatorsByPower ¶
func (mr *MockStakingKeeperMockRecorder) GetBondedValidatorsByPower(ctx interface{}) *gomock.Call
GetBondedValidatorsByPower indicates an expected call of GetBondedValidatorsByPower.
func (*MockStakingKeeperMockRecorder) GetLastTotalPower ¶
func (mr *MockStakingKeeperMockRecorder) GetLastTotalPower(ctx interface{}) *gomock.Call
GetLastTotalPower indicates an expected call of GetLastTotalPower.
func (*MockStakingKeeperMockRecorder) GetLastValidatorPower ¶
func (mr *MockStakingKeeperMockRecorder) GetLastValidatorPower(ctx, operator interface{}) *gomock.Call
GetLastValidatorPower indicates an expected call of GetLastValidatorPower.
func (*MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower ¶
func (mr *MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower(arg0, arg1 interface{}) *gomock.Call
IterateBondedValidatorsByPower indicates an expected call of IterateBondedValidatorsByPower.
func (*MockStakingKeeperMockRecorder) IterateLastValidators ¶
func (mr *MockStakingKeeperMockRecorder) IterateLastValidators(arg0, arg1 interface{}) *gomock.Call
IterateLastValidators indicates an expected call of IterateLastValidators.
func (*MockStakingKeeperMockRecorder) IterateValidators ¶
func (mr *MockStakingKeeperMockRecorder) IterateValidators(arg0, arg1 interface{}) *gomock.Call
IterateValidators indicates an expected call of IterateValidators.
func (*MockStakingKeeperMockRecorder) Jail ¶
func (mr *MockStakingKeeperMockRecorder) Jail(arg0, arg1 interface{}) *gomock.Call
Jail indicates an expected call of Jail.
func (*MockStakingKeeperMockRecorder) PowerReduction ¶
func (mr *MockStakingKeeperMockRecorder) PowerReduction(ctx interface{}) *gomock.Call
PowerReduction indicates an expected call of PowerReduction.
func (*MockStakingKeeperMockRecorder) Slash ¶
func (mr *MockStakingKeeperMockRecorder) Slash(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Slash indicates an expected call of Slash.
func (*MockStakingKeeperMockRecorder) Validator ¶
func (mr *MockStakingKeeperMockRecorder) Validator(arg0, arg1 interface{}) *gomock.Call
Validator indicates an expected call of Validator.
func (*MockStakingKeeperMockRecorder) ValidatorByConsAddr ¶
func (mr *MockStakingKeeperMockRecorder) ValidatorByConsAddr(arg0, arg1 interface{}) *gomock.Call
ValidatorByConsAddr indicates an expected call of ValidatorByConsAddr.
type MockTransferKeeper ¶
type MockTransferKeeper struct {
// contains filtered or unexported fields
}
MockTransferKeeper is a mock of TransferKeeper interface.
func NewMockTransferKeeper ¶
func NewMockTransferKeeper(ctrl *gomock.Controller) *MockTransferKeeper
NewMockTransferKeeper creates a new mock instance.
func (*MockTransferKeeper) EXPECT ¶
func (m *MockTransferKeeper) EXPECT() *MockTransferKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransferKeeper) Transfer ¶
func (m *MockTransferKeeper) Transfer(goCtx context.Context, msg *types5.MsgTransfer) (*types5.MsgTransferResponse, error)
Transfer mocks base method.
type MockTransferKeeperMockRecorder ¶
type MockTransferKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockTransferKeeperMockRecorder is the mock recorder for MockTransferKeeper.
func (*MockTransferKeeperMockRecorder) Transfer ¶
func (mr *MockTransferKeeperMockRecorder) Transfer(goCtx, msg interface{}) *gomock.Call
Transfer indicates an expected call of Transfer.
type MockValidatorI ¶
type MockValidatorI struct {
// contains filtered or unexported fields
}
MockValidatorI is a mock of ValidatorI interface.
func NewMockValidatorI ¶
func NewMockValidatorI(ctrl *gomock.Controller) *MockValidatorI
NewMockValidatorI creates a new mock instance.
func (*MockValidatorI) ConsPubKey ¶
func (m *MockValidatorI) ConsPubKey() (types.PubKey, error)
ConsPubKey mocks base method.
func (*MockValidatorI) EXPECT ¶
func (m *MockValidatorI) EXPECT() *MockValidatorIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidatorI) GetBondedTokens ¶
func (m *MockValidatorI) GetBondedTokens() types0.Int
GetBondedTokens mocks base method.
func (*MockValidatorI) GetCommission ¶
func (m *MockValidatorI) GetCommission() types0.Dec
GetCommission mocks base method.
func (*MockValidatorI) GetConsAddr ¶
func (m *MockValidatorI) GetConsAddr() (types0.ConsAddress, error)
GetConsAddr mocks base method.
func (*MockValidatorI) GetConsensusPower ¶
func (m *MockValidatorI) GetConsensusPower(arg0 types0.Int) int64
GetConsensusPower mocks base method.
func (*MockValidatorI) GetDelegatorShares ¶
func (m *MockValidatorI) GetDelegatorShares() types0.Dec
GetDelegatorShares mocks base method.
func (*MockValidatorI) GetMinSelfDelegation ¶
func (m *MockValidatorI) GetMinSelfDelegation() types0.Int
GetMinSelfDelegation mocks base method.
func (*MockValidatorI) GetMoniker ¶
func (m *MockValidatorI) GetMoniker() string
GetMoniker mocks base method.
func (*MockValidatorI) GetOperator ¶
func (m *MockValidatorI) GetOperator() types0.ValAddress
GetOperator mocks base method.
func (*MockValidatorI) GetStatus ¶
func (m *MockValidatorI) GetStatus() types1.BondStatus
GetStatus mocks base method.
func (*MockValidatorI) GetTokens ¶
func (m *MockValidatorI) GetTokens() types0.Int
GetTokens mocks base method.
func (*MockValidatorI) IsBonded ¶
func (m *MockValidatorI) IsBonded() bool
IsBonded mocks base method.
func (*MockValidatorI) IsJailed ¶
func (m *MockValidatorI) IsJailed() bool
IsJailed mocks base method.
func (*MockValidatorI) IsUnbonded ¶
func (m *MockValidatorI) IsUnbonded() bool
IsUnbonded mocks base method.
func (*MockValidatorI) IsUnbonding ¶
func (m *MockValidatorI) IsUnbonding() bool
IsUnbonding mocks base method.
func (*MockValidatorI) SharesFromTokens ¶
SharesFromTokens mocks base method.
func (*MockValidatorI) SharesFromTokensTruncated ¶
SharesFromTokensTruncated mocks base method.
func (*MockValidatorI) TmConsPublicKey ¶
func (m *MockValidatorI) TmConsPublicKey() (crypto.PublicKey, error)
TmConsPublicKey mocks base method.
func (*MockValidatorI) TokensFromShares ¶
func (m *MockValidatorI) TokensFromShares(arg0 types0.Dec) types0.Dec
TokensFromShares mocks base method.
func (*MockValidatorI) TokensFromSharesRoundUp ¶
func (m *MockValidatorI) TokensFromSharesRoundUp(arg0 types0.Dec) types0.Dec
TokensFromSharesRoundUp mocks base method.
func (*MockValidatorI) TokensFromSharesTruncated ¶
func (m *MockValidatorI) TokensFromSharesTruncated(arg0 types0.Dec) types0.Dec
TokensFromSharesTruncated mocks base method.
type MockValidatorIMockRecorder ¶
type MockValidatorIMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorIMockRecorder is the mock recorder for MockValidatorI.
func (*MockValidatorIMockRecorder) ConsPubKey ¶
func (mr *MockValidatorIMockRecorder) ConsPubKey() *gomock.Call
ConsPubKey indicates an expected call of ConsPubKey.
func (*MockValidatorIMockRecorder) GetBondedTokens ¶
func (mr *MockValidatorIMockRecorder) GetBondedTokens() *gomock.Call
GetBondedTokens indicates an expected call of GetBondedTokens.
func (*MockValidatorIMockRecorder) GetCommission ¶
func (mr *MockValidatorIMockRecorder) GetCommission() *gomock.Call
GetCommission indicates an expected call of GetCommission.
func (*MockValidatorIMockRecorder) GetConsAddr ¶
func (mr *MockValidatorIMockRecorder) GetConsAddr() *gomock.Call
GetConsAddr indicates an expected call of GetConsAddr.
func (*MockValidatorIMockRecorder) GetConsensusPower ¶
func (mr *MockValidatorIMockRecorder) GetConsensusPower(arg0 interface{}) *gomock.Call
GetConsensusPower indicates an expected call of GetConsensusPower.
func (*MockValidatorIMockRecorder) GetDelegatorShares ¶
func (mr *MockValidatorIMockRecorder) GetDelegatorShares() *gomock.Call
GetDelegatorShares indicates an expected call of GetDelegatorShares.
func (*MockValidatorIMockRecorder) GetMinSelfDelegation ¶
func (mr *MockValidatorIMockRecorder) GetMinSelfDelegation() *gomock.Call
GetMinSelfDelegation indicates an expected call of GetMinSelfDelegation.
func (*MockValidatorIMockRecorder) GetMoniker ¶
func (mr *MockValidatorIMockRecorder) GetMoniker() *gomock.Call
GetMoniker indicates an expected call of GetMoniker.
func (*MockValidatorIMockRecorder) GetOperator ¶
func (mr *MockValidatorIMockRecorder) GetOperator() *gomock.Call
GetOperator indicates an expected call of GetOperator.
func (*MockValidatorIMockRecorder) GetStatus ¶
func (mr *MockValidatorIMockRecorder) GetStatus() *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockValidatorIMockRecorder) GetTokens ¶
func (mr *MockValidatorIMockRecorder) GetTokens() *gomock.Call
GetTokens indicates an expected call of GetTokens.
func (*MockValidatorIMockRecorder) IsBonded ¶
func (mr *MockValidatorIMockRecorder) IsBonded() *gomock.Call
IsBonded indicates an expected call of IsBonded.
func (*MockValidatorIMockRecorder) IsJailed ¶
func (mr *MockValidatorIMockRecorder) IsJailed() *gomock.Call
IsJailed indicates an expected call of IsJailed.
func (*MockValidatorIMockRecorder) IsUnbonded ¶
func (mr *MockValidatorIMockRecorder) IsUnbonded() *gomock.Call
IsUnbonded indicates an expected call of IsUnbonded.
func (*MockValidatorIMockRecorder) IsUnbonding ¶
func (mr *MockValidatorIMockRecorder) IsUnbonding() *gomock.Call
IsUnbonding indicates an expected call of IsUnbonding.
func (*MockValidatorIMockRecorder) SharesFromTokens ¶
func (mr *MockValidatorIMockRecorder) SharesFromTokens(amt interface{}) *gomock.Call
SharesFromTokens indicates an expected call of SharesFromTokens.
func (*MockValidatorIMockRecorder) SharesFromTokensTruncated ¶
func (mr *MockValidatorIMockRecorder) SharesFromTokensTruncated(amt interface{}) *gomock.Call
SharesFromTokensTruncated indicates an expected call of SharesFromTokensTruncated.
func (*MockValidatorIMockRecorder) TmConsPublicKey ¶
func (mr *MockValidatorIMockRecorder) TmConsPublicKey() *gomock.Call
TmConsPublicKey indicates an expected call of TmConsPublicKey.
func (*MockValidatorIMockRecorder) TokensFromShares ¶
func (mr *MockValidatorIMockRecorder) TokensFromShares(arg0 interface{}) *gomock.Call
TokensFromShares indicates an expected call of TokensFromShares.
func (*MockValidatorIMockRecorder) TokensFromSharesRoundUp ¶
func (mr *MockValidatorIMockRecorder) TokensFromSharesRoundUp(arg0 interface{}) *gomock.Call
TokensFromSharesRoundUp indicates an expected call of TokensFromSharesRoundUp.
func (*MockValidatorIMockRecorder) TokensFromSharesTruncated ¶
func (mr *MockValidatorIMockRecorder) TokensFromSharesTruncated(arg0 interface{}) *gomock.Call
TokensFromSharesTruncated indicates an expected call of TokensFromSharesTruncated.