simulation

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMsgCreateFeed = "op_weight_msg_create_feed"
	OpWeightMsgPauseFeed  = "op_weight_msg_pause_feed"
	OpWeightMsgStartFeed  = "op_weight_msg_start_feed"
	OpWeightMsgEditFeed   = "op_weight_msg_edit_feed"
)

Variables

This section is empty.

Functions

func GenAggregateFunc

func GenAggregateFunc(r *rand.Rand) string

func GenFeed

func GenFeed(k keeper.Keeper, r *rand.Rand, ctx sdk.Context) types.Feed

func GenProviders

func GenProviders(r *rand.Rand, accs []simtypes.Account) (providers []string)

func GenServiceBindingsAndProviders

func GenServiceBindingsAndProviders(
	ctx sdk.Context,
	serviceName, owner string,
	sk types.ServiceKeeper,
	accs []simtypes.Account,
	r *rand.Rand,
	bk types.BankKeeper,
) (providers []string)

func GenServiceDefinition

func GenServiceDefinition(
	r *rand.Rand,
	sk types.ServiceKeeper,
	accs []simtypes.Account,
	ctx sdk.Context,
) (string, string, error)

func NewDecodeStore

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

NewDecodeStore unmarshals the KVPair's Value to the corresponding slashing type

Types

This section is empty.

Jump to

Keyboard shortcuts

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