simulation

package
v3.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const MsgUpdateClassIssuers = 33
View Source
const OpWeightMsgAddClassCreator = "op_weight_msg_add_class_creator" //nolint:gosec
View Source
const OpWeightMsgAddCreditType = "op_weight_msg_add_credit_type" //nolint:gosec
View Source
const OpWeightMsgBridge = "op_weight_msg_bridge" //nolint:gosec
View Source
const OpWeightMsgCancel = "op_weight_msg_cancel" //nolint:gosec
View Source
const OpWeightMsgCreateBatch = "op_weight_msg_create_batch" //nolint:gosec
View Source
const OpWeightMsgCreateClass = "op_weight_msg_create_class" //nolint:gosec
View Source
const OpWeightMsgCreateProject = "op_weight_msg_create_project" //nolint:gosec
View Source
const OpWeightMsgMintBatchCredits = "op_weight_msg_mint_batch_credits" //nolint:gosec
View Source
const OpWeightMsgRemoveClassCreator = "op_weight_msg_remove_class_creator" //nolint:gosec
View Source
const OpWeightMsgRetire = "op_weight_msg_retire" //nolint:gosec
View Source
const OpWeightMsgSealBatch = "op_weight_msg_seal_batch" //nolint:gosec
View Source
const OpWeightMsgSend = "op_weight_msg_send" //nolint:gosec
View Source
const OpWeightMsgSetClassCreatorAllowlist = "op_weight_msg_set_class_creator_allowlist" //nolint:gosec
View Source
const OpWeightMsgUpdateBatchMetadata = "op_weight_msg_update_batch_metadata" //nolint:gosec
View Source
const OpWeightMsgUpdateClassAdmin = "op_weight_msg_update_class_admin" //nolint:gosec
View Source
const OpWeightMsgUpdateClassFee = "op_weight_msg_update_class_fee" //nolint:gosec
View Source
const OpWeightMsgUpdateClassIssuers = "op_weight_msg_update_class_issuers" //nolint:gosec
View Source
const OpWeightMsgUpdateClassMetadata = "op_weight_msg_update_class_metadata" //nolint:gosec
View Source
const OpWeightMsgUpdateProjectAdmin = "op_weight_msg_update_project_admin" //nolint:gosec
View Source
const OpWeightMsgUpdateProjectMetadata = "op_weight_msg_update_project_metadata" //nolint:gosec
View Source
const WeightAddClassCreator = 33
View Source
const WeightAddCreditType = 33
View Source
const WeightBridge = 33
View Source
const WeightCancel = 30
View Source
const WeightCreateBatch = 50
View Source
const WeightCreateClass = 10
View Source
const WeightCreateProject = 20
View Source
const WeightMintBatchCredits = 33
View Source
const WeightRemoveClassCreator = 33
View Source
const WeightRetire = 80
View Source
const WeightSealBatch = 33
View Source
const WeightSend = 100
View Source
const WeightSetClassCreatorAllowlist = 33
View Source
const WeightUpdateBatchMetadata = 30
View Source
const WeightUpdateClass = 30
View Source
const WeightUpdateClassFee = 33
View Source
const WeightUpdateClassMetadata = 33
View Source
const WeightUpdateProjectAdmin = 30
View Source
const WeightUpdateProjectMetadata = 30

Variables

View Source
var TypeMsgAddClassCreator = sdk.MsgTypeURL(&types.MsgAddClassCreator{})
View Source
var TypeMsgAddCreditType = sdk.MsgTypeURL(&types.MsgAddCreditType{})
View Source
var TypeMsgBridge = sdk.MsgTypeURL(&types.MsgBridge{})
View Source
var TypeMsgCancel = sdk.MsgTypeURL(&types.MsgCancel{})
View Source
var TypeMsgCreateBatch = sdk.MsgTypeURL(&types.MsgCreateBatch{})
View Source
var TypeMsgCreateClass = sdk.MsgTypeURL(&types.MsgCreateClass{})
View Source
var TypeMsgCreateProject = sdk.MsgTypeURL(&types.MsgCreateProject{})
View Source
var TypeMsgMintBatchCredits = sdk.MsgTypeURL(&types.MsgMintBatchCredits{})
View Source
var TypeMsgRemoveClassCreator = sdk.MsgTypeURL(&types.MsgRemoveClassCreator{})
View Source
var TypeMsgRetire = sdk.MsgTypeURL(&types.MsgRetire{})
View Source
var TypeMsgSealBatch = sdk.MsgTypeURL(&types.MsgSealBatch{})
View Source
var TypeMsgSend = sdk.MsgTypeURL(&types.MsgSend{})
View Source
var TypeMsgSetClassCreatorAllowlist = sdk.MsgTypeURL(&types.MsgSetClassCreatorAllowlist{})
View Source
var TypeMsgUpdateBatchMetadata = sdk.MsgTypeURL(&types.MsgUpdateBatchMetadata{})
View Source
var TypeMsgUpdateClassAdmin = sdk.MsgTypeURL(&types.MsgUpdateClassAdmin{})
View Source
var TypeMsgUpdateClassFee = sdk.MsgTypeURL(&types.MsgUpdateClassFee{})
View Source
var TypeMsgUpdateClassIssuers = sdk.MsgTypeURL(&types.MsgUpdateClassIssuers{})
View Source
var TypeMsgUpdateClassMetadata = sdk.MsgTypeURL(&types.MsgUpdateClassMetadata{})
View Source
var TypeMsgUpdateProjectAdmin = sdk.MsgTypeURL(&types.MsgUpdateProjectAdmin{})
View Source
var TypeMsgUpdateProjectMetadata = sdk.MsgTypeURL(&types.MsgUpdateProjectMetadata{})

Functions

func SimulateMsgAddClassCreator

func SimulateMsgAddClassCreator(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, govk ecocredit.GovKeeper,
	qryClient types.QueryServer, authority sdk.AccAddress) simtypes.Operation

SimulateMsgAddClassCreator generates a MsgAddClassCreator with random values.

func SimulateMsgAddCreditType

func SimulateMsgAddCreditType(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, govk ecocredit.GovKeeper,
	qryClient types.QueryServer, authority sdk.AccAddress) simtypes.Operation

SimulateMsgAddCreditType generates a MsgAddCreditType with random values.

func SimulateMsgBridge

func SimulateMsgBridge(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient types.QueryServer) simtypes.Operation

SimulateMsgBridge generates a MsgBridge with random values.

func SimulateMsgCancel

func SimulateMsgCancel(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgCancel generates a MsgCancel with random values.

func SimulateMsgCreateBatch

func SimulateMsgCreateBatch(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgCreateBatch generates a MsgCreateBatch with random values.

func SimulateMsgCreateClass

func SimulateMsgCreateClass(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgCreateClass generates a MsgCreateClass with random values.

func SimulateMsgCreateProject

func SimulateMsgCreateProject(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgCreateProject generates a MsgCreateProject with random values.

func SimulateMsgMintBatchCredits

func SimulateMsgMintBatchCredits(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient types.QueryServer) simtypes.Operation

SimulateMsgMintBatchCredits generates a MsgMintBatchCredits with random values.

func SimulateMsgRemoveClassCreator

func SimulateMsgRemoveClassCreator(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, govk ecocredit.GovKeeper,
	qryClient types.QueryServer, authority sdk.AccAddress) simtypes.Operation

SimulateMsgRemoveClassCreator generates a MsgRemoveClassCreator with random values.

func SimulateMsgRetire

func SimulateMsgRetire(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgRetire generates a MsgRetire with random values.

func SimulateMsgSealBatch

func SimulateMsgSealBatch(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient types.QueryServer) simtypes.Operation

SimulateMsgSealBatch generates a MsgSealBatch with random values.

func SimulateMsgSend

func SimulateMsgSend(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgSend generates a MsgSend with random values.

func SimulateMsgSetClassCreatorAllowlist

func SimulateMsgSetClassCreatorAllowlist(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, govk ecocredit.GovKeeper,
	_ types.QueryServer, authority sdk.AccAddress) simtypes.Operation

SimulateMsgSetClassCreatorAllowlist generates a MsgSetClassCreatorAllowlist with random values.

func SimulateMsgUpdateBatchMetadata

func SimulateMsgUpdateBatchMetadata(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient types.QueryServer) simtypes.Operation

SimulateMsgUpdateBatchMetadata generates a MsgUpdateBatchMetadata with random values.

func SimulateMsgUpdateClassAdmin

func SimulateMsgUpdateClassAdmin(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgUpdateClassAdmin generates a MsgUpdateClassAdmin with random values

func SimulateMsgUpdateClassFee

func SimulateMsgUpdateClassFee(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, govk ecocredit.GovKeeper,
	_ types.QueryServer, authority sdk.AccAddress) simtypes.Operation

SimulateMsgUpdateClassFee generates a MsgToggleClassAllowlist with random values.

func SimulateMsgUpdateClassIssuers

func SimulateMsgUpdateClassIssuers(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgUpdateClassIssuers generates a MsgUpdateClassMetaData with random values

func SimulateMsgUpdateClassMetadata

func SimulateMsgUpdateClassMetadata(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer) simtypes.Operation

SimulateMsgUpdateClassMetadata generates a MsgUpdateClassMetadata with random metadata

func SimulateMsgUpdateProjectAdmin

func SimulateMsgUpdateProjectAdmin(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient types.QueryServer) simtypes.Operation

SimulateMsgUpdateProjectAdmin generates a MsgUpdateProjectAdmin with random values.

func SimulateMsgUpdateProjectMetadata

func SimulateMsgUpdateProjectMetadata(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient types.QueryServer) simtypes.Operation

SimulateMsgUpdateProjectMetadata generates a MsgUpdateProjectMetadata with random values.

func WeightedOperations

func WeightedOperations(
	appParams simtypes.AppParams, cdc codec.JSONCodec,
	ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	govk ecocredit.GovKeeper,
	qryClient types.QueryServer, _ baskettypes.QueryServer,
	_ markettypes.QueryServer, authority sdk.AccAddress) simulation.WeightedOperations

WeightedOperations returns all the operations from the module with their respective weights

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL