Documentation ¶
Index ¶
- func AllInvariants(ck bank.Keeper, k stake.Keeper, f auth.FeeCollectionKeeper, ...) simulation.Invariant
- func PositivePowerInvariant(k stake.Keeper) simulation.Invariant
- func Setup(mapp *mock.App, k stake.Keeper) simulation.RandSetup
- func SimulateMsgBeginRedelegate(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
- func SimulateMsgBeginUnbonding(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
- func SimulateMsgCreateValidator(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
- func SimulateMsgDelegate(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
- func SimulateMsgEditValidator(k stake.Keeper) simulation.Operation
- func SupplyInvariants(ck bank.Keeper, k stake.Keeper, f auth.FeeCollectionKeeper, ...) simulation.Invariant
- func ValidatorSetInvariant(k stake.Keeper) simulation.Invariant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllInvariants ¶
func AllInvariants(ck bank.Keeper, k stake.Keeper, f auth.FeeCollectionKeeper, d distribution.Keeper, am auth.AccountKeeper) simulation.Invariant
AllInvariants runs all invariants of the stake module. Currently: total supply, positive power
func PositivePowerInvariant ¶
func PositivePowerInvariant(k stake.Keeper) simulation.Invariant
PositivePowerInvariant checks that all stored validators have > 0 power.
func SimulateMsgBeginRedelegate ¶
func SimulateMsgBeginRedelegate(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
SimulateMsgBeginRedelegate
func SimulateMsgBeginUnbonding ¶
func SimulateMsgBeginUnbonding(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
SimulateMsgBeginUnbonding
func SimulateMsgCreateValidator ¶
func SimulateMsgCreateValidator(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
SimulateMsgCreateValidator
func SimulateMsgDelegate ¶
func SimulateMsgDelegate(m auth.AccountKeeper, k stake.Keeper) simulation.Operation
SimulateMsgDelegate
func SimulateMsgEditValidator ¶
func SimulateMsgEditValidator(k stake.Keeper) simulation.Operation
SimulateMsgEditValidator
func SupplyInvariants ¶
func SupplyInvariants(ck bank.Keeper, k stake.Keeper, f auth.FeeCollectionKeeper, d distribution.Keeper, am auth.AccountKeeper) simulation.Invariant
SupplyInvariants checks that the total supply reflects all held loose tokens, bonded tokens, and unbonding delegations nolint: unparam
func ValidatorSetInvariant ¶
func ValidatorSetInvariant(k stake.Keeper) simulation.Invariant
ValidatorSetInvariant checks equivalence of Tendermint validator set and SDK validator set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.