Versions in this module Expand all Collapse all v0 v0.0.4 Jul 18, 2024 v0.0.3 Jul 18, 2024 Changes in this version + var AppConfig = configurator.NewAppConfig(configurator.AuthModule(), configurator.BankModule(), ...) + func CallCreateValidatorHooks(ctx sdk.Context, k keeper.Keeper, addr sdk.AccAddress, valAddr sdk.ValAddress) error + func CreateValidator(pk cryptotypes.PubKey, stake math.Int) (stakingtypes.Validator, error) + func Delegate(ctx sdk.Context, distrKeeper keeper.Keeper, delegator sdk.AccAddress, ...) (newShares math.LegacyDec, updatedDel stakingtypes.Delegation, err error) + func SlashValidator(ctx sdk.Context, consAddr sdk.ConsAddress, infractionHeight int64, power int64, ...) math.Int + type MockAccountKeeper struct + func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper + func (m *MockAccountKeeper) AddressCodec() address.Codec + func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder + func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI + func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types.ModuleAccountI + func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress + func (m *MockAccountKeeper) SetModuleAccount(arg0 context.Context, arg1 types.ModuleAccountI) + type MockAccountKeeperMockRecorder struct + func (mr *MockAccountKeeperMockRecorder) AddressCodec() *gomock.Call + 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 struct + func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper + func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool + func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder + func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error + func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error + func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types.Coins) error + func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins + type MockBankKeeperMockRecorder struct + func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr 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 + func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call + type MockStakingHooks struct + func NewMockStakingHooks(ctrl *gomock.Controller) *MockStakingHooks + func (m *MockStakingHooks) AfterDelegationModified(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) AfterValidatorCreated(ctx context.Context, valAddr types.ValAddress) error + func (m *MockStakingHooks) EXPECT() *MockStakingHooksMockRecorder + type MockStakingHooksMockRecorder struct + func (mr *MockStakingHooksMockRecorder) AfterDelegationModified(ctx, delAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) AfterValidatorCreated(ctx, valAddr interface{}) *gomock.Call + type MockStakingKeeper struct + func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper + func (m *MockStakingKeeper) ConsensusAddressCodec() address.Codec + func (m *MockStakingKeeper) Delegation(arg0 context.Context, arg1 types.AccAddress, arg2 types.ValAddress) (types0.DelegationI, error) + func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder + func (m *MockStakingKeeper) GetAllDelegatorDelegations(ctx context.Context, delegator types.AccAddress) ([]types0.Delegation, error) + func (m *MockStakingKeeper) GetAllSDKDelegations(ctx context.Context) ([]types0.Delegation, error) + func (m *MockStakingKeeper) GetAllValidators(ctx context.Context) ([]types0.Validator, error) + func (m *MockStakingKeeper) IterateDelegations(ctx context.Context, delegator types.AccAddress, ...) error + func (m *MockStakingKeeper) IterateValidators(arg0 context.Context, arg1 func(int64, types0.ValidatorI) bool) error + func (m *MockStakingKeeper) Validator(arg0 context.Context, arg1 types.ValAddress) (types0.ValidatorI, error) + func (m *MockStakingKeeper) ValidatorAddressCodec() address.Codec + func (m *MockStakingKeeper) ValidatorByConsAddr(arg0 context.Context, arg1 types.ConsAddress) (types0.ValidatorI, error) + type MockStakingKeeperMockRecorder struct + func (mr *MockStakingKeeperMockRecorder) ConsensusAddressCodec() *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Delegation(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetAllDelegatorDelegations(ctx, delegator interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetAllSDKDelegations(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetAllValidators(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) IterateDelegations(ctx, delegator, fn interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) IterateValidators(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Validator(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) ValidatorAddressCodec() *gomock.Call + func (mr *MockStakingKeeperMockRecorder) ValidatorByConsAddr(arg0, arg1 interface{}) *gomock.Call