package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev
# Functions
AllInvariants runs all invariants of the staking module.
No description provided by the author
No description provided by the author
DelegatorSharesInvariant checks whether all the delegator shares which persist in the delegator object add up to the correct total delegator shares amount stored in each validator.
ModuleAccountInvariants checks that the bonded and notBonded ModuleAccounts pools reflects the tokens actively bonded and not bonded.
NewKeeper creates a new staking Keeper instance.
NewMigrator returns a new Migrator.
NewMsgServerImpl returns an implementation of the bank MsgServer interface for the provided Keeper.
creates a querier for staking REST endpoints.
NonNegativePowerInvariant checks that all stored validators have >= 0 power.
PositiveDelegationInvariant checks that all stored delegations have > 0 shares.
RandomValidator returns a random validator given access to the keeper and ctx.
No description provided by the author
RegisterInvariants registers all staking invariants.
update validator for testing.
does a certain by-power index record exist.