Documentation ¶
Index ¶
- Constants
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgBurnMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
- func SimulateMsgEditMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
- func SimulateMsgIssueDenom(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
- func SimulateMsgMintMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
- func SimulateMsgTransferDenom(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
- func SimulateMsgTransferMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, k keeper.Keeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgIssueDenom = "op_weight_msg_issue_denom" OpWeightMsgMintMT = "op_weight_msg_mint_mt" OpWeightMsgEditMT = "op_weight_msg_edit_mt_tokenData" OpWeightMsgTransferMT = "op_weight_msg_transfer_mt" OpWeightMsgBurnMT = "op_weight_msg_transfer_burn_mt" OpWeightMsgTransferDenom = "op_weight_msg_transfer_denom" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func NewDecodeStore ¶
DecodeStore unmarshals the KVPair's Value to the corresponding gov type
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for mt.
func SimulateMsgBurnMT ¶
func SimulateMsgBurnMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
SimulateMsgBurnMT simulates a burn of an existing MT
func SimulateMsgEditMT ¶
func SimulateMsgEditMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
SimulateMsgEditMT simulates an edit tokenData transaction
func SimulateMsgIssueDenom ¶
func SimulateMsgIssueDenom(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
SimulateMsgIssueDenom simulates issue an denom
func SimulateMsgMintMT ¶
func SimulateMsgMintMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
SimulateMsgMintMT simulates mint an MT
func SimulateMsgTransferDenom ¶
func SimulateMsgTransferDenom(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
SimulateMsgTransferDenom simulates the transfer of a Denom
func SimulateMsgTransferMT ¶
func SimulateMsgTransferMT(k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper) simtypes.Operation
SimulateMsgTransferMT simulates the transfer of an MT
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, k keeper.Keeper, ak mt.AccountKeeper, bk mt.BankKeeper, ) 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.