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(), ...) + var InitTokens = sdk.TokensFromConsensusPower(200, sdk.DefaultPowerReduction) + func TestParams() types.Params + type MockAccountKeeper struct + func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper + func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder + func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI + func (m *MockAccountKeeper) IterateAccounts(ctx context.Context, process func(types.AccountI) bool) + type MockAccountKeeperMockRecorder struct + func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call + func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, process interface{}) *gomock.Call + type MockBankKeeper struct + func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper + func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder + func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin + func (m *MockBankKeeper) LockedCoins(ctx context.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins + type MockBankKeeperMockRecorder struct + func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call + type MockParamSubspace struct + func NewMockParamSubspace(ctrl *gomock.Controller) *MockParamSubspace + func (m *MockParamSubspace) EXPECT() *MockParamSubspaceMockRecorder + func (m *MockParamSubspace) Get(ctx types.Context, key []byte, ptr interface{}) + func (m *MockParamSubspace) GetParamSet(ctx types.Context, ps types0.ParamSet) + func (m *MockParamSubspace) HasKeyTable() bool + func (m *MockParamSubspace) SetParamSet(ctx types.Context, ps types0.ParamSet) + func (m *MockParamSubspace) WithKeyTable(table types0.KeyTable) types0.Subspace + type MockParamSubspaceMockRecorder struct + func (mr *MockParamSubspaceMockRecorder) Get(ctx, key, ptr interface{}) *gomock.Call + func (mr *MockParamSubspaceMockRecorder) GetParamSet(ctx, ps interface{}) *gomock.Call + func (mr *MockParamSubspaceMockRecorder) HasKeyTable() *gomock.Call + func (mr *MockParamSubspaceMockRecorder) SetParamSet(ctx, ps interface{}) *gomock.Call + func (mr *MockParamSubspaceMockRecorder) WithKeyTable(table 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) AfterValidatorBeginUnbonding(ctx context.Context, consAddr types.ConsAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) AfterValidatorBonded(ctx context.Context, consAddr types.ConsAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) AfterValidatorCreated(ctx context.Context, valAddr types.ValAddress) error + func (m *MockStakingHooks) AfterValidatorRemoved(ctx context.Context, consAddr types.ConsAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) BeforeDelegationCreated(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) BeforeDelegationRemoved(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) BeforeDelegationSharesModified(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) error + func (m *MockStakingHooks) BeforeValidatorModified(ctx context.Context, valAddr types.ValAddress) error + func (m *MockStakingHooks) BeforeValidatorSlashed(ctx context.Context, valAddr types.ValAddress, fraction math.LegacyDec) error + func (m *MockStakingHooks) EXPECT() *MockStakingHooksMockRecorder + type MockStakingHooksMockRecorder struct + func (mr *MockStakingHooksMockRecorder) AfterDelegationModified(ctx, delAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) AfterValidatorBeginUnbonding(ctx, consAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) AfterValidatorBonded(ctx, consAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) AfterValidatorCreated(ctx, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) AfterValidatorRemoved(ctx, consAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) BeforeDelegationCreated(ctx, delAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) BeforeDelegationRemoved(ctx, delAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) BeforeDelegationSharesModified(ctx, delAddr, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) BeforeValidatorModified(ctx, valAddr interface{}) *gomock.Call + func (mr *MockStakingHooksMockRecorder) BeforeValidatorSlashed(ctx, valAddr, fraction 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) (types1.DelegationI, error) + func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder + func (m *MockStakingKeeper) GetAllValidators(ctx context.Context) ([]types1.Validator, error) + func (m *MockStakingKeeper) IsValidatorJailed(ctx context.Context, addr types.ConsAddress) (bool, error) + func (m *MockStakingKeeper) IterateValidators(arg0 context.Context, arg1 func(int64, types1.ValidatorI) bool) error + func (m *MockStakingKeeper) Jail(arg0 context.Context, arg1 types.ConsAddress) error + func (m *MockStakingKeeper) MaxValidators(arg0 context.Context) (uint32, error) + func (m *MockStakingKeeper) Slash(arg0 context.Context, arg1 types.ConsAddress, arg2, arg3 int64, ...) (math.Int, error) + func (m *MockStakingKeeper) SlashWithInfractionReason(arg0 context.Context, arg1 types.ConsAddress, arg2, arg3 int64, ...) (math.Int, error) + func (m *MockStakingKeeper) Unjail(arg0 context.Context, arg1 types.ConsAddress) error + func (m *MockStakingKeeper) Validator(arg0 context.Context, arg1 types.ValAddress) (types1.ValidatorI, error) + func (m *MockStakingKeeper) ValidatorAddressCodec() address.Codec + func (m *MockStakingKeeper) ValidatorByConsAddr(arg0 context.Context, arg1 types.ConsAddress) (types1.ValidatorI, error) + type MockStakingKeeperMockRecorder struct + func (mr *MockStakingKeeperMockRecorder) ConsensusAddressCodec() *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Delegation(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) GetAllValidators(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) IsValidatorJailed(ctx, addr interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) IterateValidators(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Jail(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) MaxValidators(arg0 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Slash(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) SlashWithInfractionReason(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) Unjail(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