Documentation ¶
Index ¶
- Constants
- Variables
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func RandomizedGenState(simState *module.SimulationState, ac address.Codec)
- func SimulateMsgSend(_ *codec.ProtoCodec, txCfg client.TxConfig, ak nft.AccountKeeper, ...) simtypes.Operation
- func WeightedOperations(registry cdctypes.InterfaceRegistry, appParams simtypes.AppParams, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( // OpWeightMsgSend Simulation operation weights constants OpWeightMsgSend = "op_weight_msg_send" // WeightSend nft operations weights WeightSend = 100 )
Variables ¶
View Source
var TypeMsgSend = sdk.MsgTypeURL(&nft.MsgSend{})
Functions ¶
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding nft type.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState, ac address.Codec)
RandomizedGenState generates a random GenesisState for nft.
func SimulateMsgSend ¶
func SimulateMsgSend( _ *codec.ProtoCodec, txCfg client.TxConfig, ak nft.AccountKeeper, bk nft.BankKeeper, k keeper.Keeper, ) simtypes.Operation
SimulateMsgSend generates a MsgSend with random values.
func WeightedOperations ¶
func WeightedOperations( registry cdctypes.InterfaceRegistry, appParams simtypes.AppParams, _ codec.JSONCodec, txCfg client.TxConfig, ak nft.AccountKeeper, bk nft.BankKeeper, 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.