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