Documentation ¶
Index ¶
- Constants
- func DecodeStore(cdc *codec.Codec, kvA, kvB tmkv.Pair) string
- func GenerateAContract(r *rand.Rand) types.Contract
- func GenerateAContractMeta(r *rand.Rand) types.ContractMeta
- func GenerateAMetadata(r *rand.Rand) types.Metadata
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgCall(k keeper.Keeper) simulation.Operation
- func SimulateMsgDeploy(k keeper.Keeper) simulation.Operation
- func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, k keeper.Keeper) simulation.WeightedOperations
Constants ¶
const ( OpWeightMsgCall = "op_weight_msg_call" OpWeightMsgDeploy = "op_weight_msg_deploy" )
Variables ¶
This section is empty.
Functions ¶
func DecodeStore ¶
DecodeStore unmarshals the KVPair's value to the corresponding type of cvm module.
func GenerateAContract ¶
GenerateAContract returns a Contract object with all of its fields randomized.
func GenerateAContractMeta ¶
func GenerateAContractMeta(r *rand.Rand) types.ContractMeta
GenerateAContractMeta returns a ContractMeta object with all of its fields randomized.
func GenerateAMetadata ¶
GenerateAMetadata returns a Metadata object with all of its fields randomized.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState creates a random genesis state for module simulation.
func SimulateMsgCall ¶
func SimulateMsgCall(k keeper.Keeper) simulation.Operation
SimulateMsgCall creates a message operation of MsgCall with randomized field values.
func SimulateMsgDeploy ¶
func SimulateMsgDeploy(k keeper.Keeper) simulation.Operation
SimulateMsgDeploy creates a massage operation of MsgDeploy with randomized field values.
func WeightedOperations ¶
func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, k keeper.Keeper) simulation.WeightedOperations
WeightedOperations creates an operation with a weight for each type of message generators.
Types ¶
This section is empty.