simulation

package
v0.0.1-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMsgPayout                  = "op_weight_msg_manifest_payout"            // nolint: gosec
	OpWeightMsgBurnHeldBalance         = "op_weight_msg_manifest_burn_held_balance" // nolint: gosec
	DefaultWeightMsgPayoutStakeholders = 100
	DefaultWeightMsgBurnHeldBalance    = 100
)

Variables

This section is empty.

Functions

func ProposalMsgs

func ProposalMsgs() []simtypes.WeightedProposalMsg

ProposalMsgs defines the module weighted proposals' contents

func SimulateMsgBurnHeldBalance

func SimulateMsgBurnHeldBalance(txGen client.TxConfig, k keeper.Keeper) simtypes.Operation

func SimulateMsgPayout

func SimulateMsgPayout(txGen client.TxConfig, k keeper.Keeper) simtypes.Operation

func WeightedOperations

func WeightedOperations(appParams simtypes.AppParams,
	_ codec.JSONCodec,
	txGen client.TxConfig,
	k keeper.Keeper,
) []simtypes.WeightedOperation

WeightedOperations returns the all the gov module operations 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