Documentation ¶
Index ¶
- Constants
- Variables
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgBurn(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
- func SimulateMsgChangeAdmin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
- func SimulateMsgCreateDenom(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
- func SimulateMsgMint(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
- func SimulateMsgSetDenomMetadata(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
- func WeightedOperations(appParams sdksimtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgCreateDenom = "op_weight_msg_create_denom" //nolint:gosec // not credentials OpWeightMsgMint = "op_weight_msg_mint" //nolint:gosec // not credentials OpWeightMsgBurn = "op_weight_msg_burn" //nolint:gosec // not credentials OpWeightMsgChangeAdmin = "op_weight_msg_change_admin" //nolint:gosec // not credentials OpWeightMsgSetDenomMetadata = "op_weight_msg_set_denom_metadata" //nolint:gosec // not credentials DefaultWeightMsgCreateDenom int = 50 DefaultWeightMsgMint int = 10 DefaultWeightMsgBurn int = 10 DefaultWeightMsgChangeAdmin int = 5 DefaultWeightMsgSetDenomMetadata int = 5 )
Variables ¶
View Source
var ( TypeMsgCreateDenom = sdk.MsgTypeURL(&types.MsgCreateDenom{}) TypeMsgMint = sdk.MsgTypeURL(&types.MsgMint{}) TypeMsgBurn = sdk.MsgTypeURL(&types.MsgBurn{}) TypeMsgChangeAdmin = sdk.MsgTypeURL(&types.MsgChangeAdmin{}) TypeMsgSetDenomMetadata = sdk.MsgTypeURL(&types.MsgSetDenomMetadata{}) )
Functions ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for tokenfactory.
func SimulateMsgBurn ¶
func SimulateMsgBurn(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
SimulateMsgBurn generates a MsgBurn with random values.
func SimulateMsgChangeAdmin ¶
func SimulateMsgChangeAdmin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
SimulateMsgChangeAdmin generates a MsgChangeAdmin with random values.
func SimulateMsgCreateDenom ¶
func SimulateMsgCreateDenom(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
SimulateMsgCreateDenom generates a MsgCreateDenom with random values.
func SimulateMsgMint ¶
func SimulateMsgMint(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
SimulateMsgMint generates a MsgMint with random values.
func SimulateMsgSetDenomMetadata ¶
func SimulateMsgSetDenomMetadata(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) sdksimtypes.Operation
SimulateMsgSetDenomMetadata generates a MsgSetDenomMetadata with random values.
func WeightedOperations ¶
func WeightedOperations( appParams sdksimtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simulation.WeightedOperations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.