Documentation ¶
Index ¶
- Constants
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func RandID(r *rand.Rand, prefix string, n int) string
- func RandMetadata(r *rand.Rand) types.Metadata
- func RandRoyaltyShare(r *rand.Rand) sdk.Dec
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgBurnONFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgCreateDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgMintONFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgTransferDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgTransferONFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgUpdateDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, k keeper.Keeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgCreateDenom = "op_weight_msg_create_denom" OpWeightMsgMintONFT = "op_weight_msg_mint_onft" OpWeightMsgEditONFT = "op_weight_msg_edit_onft" OpWeightMsgTransferONFT = "op_weight_msg_transfer_onft" OpWeightMsgBurnONFT = "op_weight_msg_burn_onft" OpWeightMsgTransferDenom = "op_weight_msg_transfer_denom" OpWeightMsgUpdateDenom = "op_weight_msg_update_denom" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for nft
func SimulateMsgBurnONFT ¶
func SimulateMsgBurnONFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgBurnONFT simulates a burn onft transaction
func SimulateMsgCreateDenom ¶
func SimulateMsgCreateDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgCreateDenom simulates create denom msg
func SimulateMsgMintONFT ¶
func SimulateMsgMintONFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgMintONFT simulates a mint onft transaction
func SimulateMsgTransferDenom ¶
func SimulateMsgTransferDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgTransferDenom simulates a transfer denom transaction
func SimulateMsgTransferONFT ¶
func SimulateMsgTransferONFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgTransferONFT simulates the transfer of an nft
func SimulateMsgUpdateDenom ¶
func SimulateMsgUpdateDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgUpdateDenom simulates a update denom transaction
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, k keeper.Keeper, ak types.AccountKeeper, bk types.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.