Documentation ¶
Index ¶
- Constants
- func DecodeStore(cdc *codec.Codec, kvA, kvB tmkv.Pair) string
- func SimulateMsgExecuteAuthorized(ak authkeeper.AccountKeeper, bk bank.Keeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgGrantAuthorization(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgRevokeAuthorization(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
- func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, ak authkeeper.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgGrantAuthorization = "op_weight_msg_grant_authorization" OpWeightRevokeAuthorization = "op_weight_msg_revoke_authorization" OpWeightExecAuthorized = "op_weight_msg_execute_authorized" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func DecodeStore ¶
DecodeStore unmarshals the KVPair's Value to the corresponding distribution type
func SimulateMsgExecuteAuthorized ¶
func SimulateMsgExecuteAuthorized(ak authkeeper.AccountKeeper, bk bank.Keeper, k keeper.Keeper) simulation.Operation
SimulateMsgExecuteAuthorized generates a MsgExecuteAuthorized with random values. nolint: funlen
func SimulateMsgGrantAuthorization ¶
func SimulateMsgGrantAuthorization(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgGrantAuthorization generates a MsgGrantAuthorization with random values. nolint: funlen
func SimulateMsgRevokeAuthorization ¶
func SimulateMsgRevokeAuthorization(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgRevokeAuthorization generates a MsgRevokeAuthorization with random values. nolint: funlen
func WeightedOperations ¶
func WeightedOperations( appParams simulation.AppParams, cdc *codec.Codec, ak authkeeper.AccountKeeper, bk bank.Keeper, k keeper.Keeper, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.