Versions in this module Expand all Collapse all v0 v0.4.4 Dec 19, 2024 Changes in this version + type MockAccountKeeper struct + func NewMockAccountKeeper(ctrl *gomock.Controller) *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 + type MockAccountKeeperMockRecorder struct + 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 + type MockBankKeeper struct + func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper + func (m *MockBankKeeper) BurnCoins(ctx types.Context, moduleName string, amt types.Coins) error + func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder + func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin + func (m *MockBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error + 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 struct + func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt 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 MockDistributionKeeper struct + func NewMockDistributionKeeper(ctrl *gomock.Controller) *MockDistributionKeeper + func (m *MockDistributionKeeper) EXPECT() *MockDistributionKeeperMockRecorder + func (m *MockDistributionKeeper) WithdrawDelegationRewards(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types.Coins, error) + type MockDistributionKeeperMockRecorder struct + func (mr *MockDistributionKeeperMockRecorder) WithdrawDelegationRewards(ctx, delAddr, valAddr interface{}) *gomock.Call + type MockStakingKeeper struct + func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper + func (m *MockStakingKeeper) BeginRedelegation(ctx types.Context, delAddr types.AccAddress, ...) (time.Time, error) + func (m *MockStakingKeeper) BondDenom(ctx types.Context) string + func (m *MockStakingKeeper) Delegate(ctx types.Context, delAddr types.AccAddress, bondAmt math.Int, ...) (math.LegacyDec, error) + func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder + func (m *MockStakingKeeper) GetDelegation(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types1.Delegation, bool) + func (m *MockStakingKeeper) GetDelegatorBonded(ctx types.Context, delegator types.AccAddress) math.Int + func (m *MockStakingKeeper) GetValidator(ctx types.Context, addr types.ValAddress) (types1.Validator, bool) + func (m *MockStakingKeeper) RemoveRedelegation(ctx types.Context, red types1.Redelegation) + func (m *MockStakingKeeper) RemoveValidatorTokens(ctx types.Context, validator types1.Validator, tokensToRemove math.Int) types1.Validator + func (m *MockStakingKeeper) RemoveValidatorTokensAndShares(ctx types.Context, validator types1.Validator, sharesToRemove math.LegacyDec) (types1.Validator, math.Int) + func (m *MockStakingKeeper) TotalBondedTokens(ctx types.Context) math.Int + func (m *MockStakingKeeper) Unbond(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress, ...) (math.Int, error) + func (m *MockStakingKeeper) UnbondingTime(ctx types.Context) time.Duration + func (m *MockStakingKeeper) ValidateUnbondAmount(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress, ...) (math.LegacyDec, error) + type MockStakingKeeperMockRecorder struct + func (mr *MockStakingKeeperMockRecorder) BeginRedelegation(ctx, delAddr, valSrcAddr, valDstAddr, sharesAmount interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) BondDenom(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Delegate(ctx, delAddr, bondAmt, tokenSrc, validator, subtractAccount interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetDelegation(ctx, delAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetDelegatorBonded(ctx, delegator interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) RemoveRedelegation(ctx, red interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) RemoveValidatorTokens(ctx, validator, tokensToRemove interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) RemoveValidatorTokensAndShares(ctx, validator, sharesToRemove interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) TotalBondedTokens(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Unbond(ctx, delAddr, valAddr, shares interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) UnbondingTime(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) ValidateUnbondAmount(ctx, delAddr, valAddr, amt interface{}) *gomock.Call