Documentation ¶
Index ¶
- Constants
- Variables
- func RandnNFTID(r *rand.Rand, min, max int) string
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgBurnNFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgEditNFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgIssueDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func SimulateMsgMintNFT(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 SimulateMsgTransferNFT(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 ( OpWeightMsgIssueDenom = "op_weight_msg_issue_denom" // #nosec OpWeightMsgMintNFT = "op_weight_msg_mint_nft" // #nosec OpWeightMsgEditNFT = "op_weight_msg_edit_nft_tokenData" // #nosec OpWeightMsgTransferNFT = "op_weight_msg_transfer_nft" // #nosec OpWeightMsgBurnNFT = "op_weight_msg_transfer_burn_nft" // #nosec OpWeightMsgTransferDenom = "op_weight_msg_transfer_denom" // #nosec )
Simulation operation weights constants
Variables ¶
View Source
var ( TypeMsgIssueDenom = sdk.MsgTypeURL(&types.MsgIssueDenom{}) TypeMsgMintNFT = sdk.MsgTypeURL(&types.MsgMintNFT{}) TypeMsgEditNFT = sdk.MsgTypeURL(&types.MsgEditNFT{}) TypeMsgTransferNFT = sdk.MsgTypeURL(&types.MsgTransferNFT{}) TypeMsgBurnNFT = sdk.MsgTypeURL(&types.MsgBurnNFT{}) TypeMsgTransferDenom = sdk.MsgTypeURL(&types.MsgTransferDenom{}) )
authz message types
Functions ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for nft
func SimulateMsgBurnNFT ¶
func SimulateMsgBurnNFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgBurnNFT simulates a burn of an existing NFT
func SimulateMsgEditNFT ¶
func SimulateMsgEditNFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgEditNFT simulates an edit tokenData transaction
func SimulateMsgIssueDenom ¶
func SimulateMsgIssueDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgIssueDenom simulates issue an denom
func SimulateMsgMintNFT ¶
func SimulateMsgMintNFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgMintNFT simulates a mint of an NFT
func SimulateMsgTransferDenom ¶
func SimulateMsgTransferDenom(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgTransferDenom simulates the transfer of an denom
func SimulateMsgTransferNFT ¶
func SimulateMsgTransferNFT(k keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateMsgTransferNFT simulates the transfer of an NFT
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.