Documentation
¶
Index ¶
- Constants
- Variables
- func MsgSendFactory(k keeper.Keeper) simsx.SimMsgFactoryFn[*nft.MsgSend]
- 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 )
will be removed in the future
Variables ¶
View Source
var TypeMsgSend = sdk.MsgTypeURL(&nft.MsgSend{})
will be removed in the future
Functions ¶
func MsgSendFactory ¶ added in v0.2.0
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. migrate to the msg factories instead, this method will be removed in the future
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 migrate to the msg factories instead, this method will be removed in the future
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.