Documentation ¶
Index ¶
- func AllInvariants(d distr.Keeper, stk types.StakingKeeper) sdk.Invariant
- func CanWithdrawInvariant(k distr.Keeper, sk types.StakingKeeper) sdk.Invariant
- func NonNegativeOutstandingInvariant(k distr.Keeper) sdk.Invariant
- func ReferenceCountInvariant(k distr.Keeper, sk types.StakingKeeper) sdk.Invariant
- func SimulateMsgSetWithdrawAddress(m auth.AccountKeeper, k distribution.Keeper) simulation.Operation
- func SimulateMsgWithdrawDelegatorReward(m auth.AccountKeeper, k distribution.Keeper) simulation.Operation
- func SimulateMsgWithdrawValidatorCommission(m auth.AccountKeeper, k distribution.Keeper) simulation.Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllInvariants ¶
AllInvariants runs all invariants of the distribution module
func CanWithdrawInvariant ¶ added in v0.27.0
CanWithdrawInvariant checks that current rewards can be completely withdrawn
func NonNegativeOutstandingInvariant ¶ added in v0.30.0
NonNegativeOutstandingInvariant checks that outstanding unwithdrawn fees are never negative
func ReferenceCountInvariant ¶ added in v0.30.0
ReferenceCountInvariant checks that the number of historical rewards records is correct
func SimulateMsgSetWithdrawAddress ¶
func SimulateMsgSetWithdrawAddress(m auth.AccountKeeper, k distribution.Keeper) simulation.Operation
SimulateMsgSetWithdrawAddress
func SimulateMsgWithdrawDelegatorReward ¶
func SimulateMsgWithdrawDelegatorReward(m auth.AccountKeeper, k distribution.Keeper) simulation.Operation
SimulateMsgWithdrawDelegatorReward
func SimulateMsgWithdrawValidatorCommission ¶ added in v0.30.0
func SimulateMsgWithdrawValidatorCommission(m auth.AccountKeeper, k distribution.Keeper) simulation.Operation
SimulateMsgWithdrawValidatorCommission
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.