simulation

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMintProposal = "op_weight_mint_proposal"
)

nolint

Variables

This section is empty.

Functions

func GenerateGenesisState added in v0.0.5

func GenerateGenesisState(simState *module.SimulationState)

GenerateGenesisState creates a randomized GenState of the module

func NewDecodeStore added in v0.0.5

func NewDecodeStore(cdc codec.BinaryCodec) func(kvA, kvB kv.Pair) string

func ParamChanges added in v0.0.5

func ParamChanges(r *rand.Rand) []simtypes.ParamChange

func ProposalContents added in v0.0.5

func SimulateMintProposalContent added in v0.0.5

func SimulateMintProposalContent() simtypes.ContentSimulatorFn

func SimulateMsgBurn added in v0.0.5

func SimulateMsgBurn(
	k keeper.Keeper,
	ak types.AccountKeeper,
	bk bankkeeper.Keeper,
) simtypes.Operation

func SimulateMsgConvertSCR2SP added in v0.0.5

func SimulateMsgConvertSCR2SP(
	k keeper.Keeper,
	ak types.AccountKeeper,
	bk bankkeeper.Keeper,
) simtypes.Operation

func SimulateMsgMintGas added in v0.0.8

func SimulateMsgMintGas(
	k keeper.Keeper,
	ak types.AccountKeeper,
	bk bankkeeper.Keeper,
) simtypes.Operation

func SimulateMsgStopSPWithdrawal added in v0.0.5

func SimulateMsgStopSPWithdrawal(
	k keeper.Keeper,
	ak types.AccountKeeper,
	bk bankkeeper.Keeper,
) simtypes.Operation

func SimulateMsgWithdrawSP added in v0.0.5

func SimulateMsgWithdrawSP(
	k keeper.Keeper,
	ak types.AccountKeeper,
	bk bankkeeper.Keeper,
) simtypes.Operation

func WeightedOperations added in v0.0.5

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