simulation

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxInactiveDuration = 1 << 18
)
View Source
const (
	MaxSubscriptionDepositAmount = 1 << 18
)

Variables

View Source
var (
	OperationWeightMsgSubscribeToNodeRequest = "op_weight_" + types.TypeMsgSubscribeToNodeRequest
	OperationWeightMsgSubscribeToPlanRequest = "op_weight_" + types.TypeMsgSubscribeToPlanRequest
	OperationWeightMsgCancelRequest          = "op_weight_" + types.TypeMsgCancelRequest
	OperationWeightMsgAddQuotaRequest        = "op_weight_" + types.TypeMsgAddQuotaRequest
	OperationWeightMsgUpdateQuotaRequest     = "op_weight_" + types.TypeMsgUpdateQuotaRequest
)

Functions

func NewStoreDecoder added in v0.8.0

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

func ParamChanges added in v0.8.0

func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange

func RandomizedGenesisState added in v0.4.0

func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState

func SimulateMsgAddQuotaRequest added in v0.8.0

func SimulateMsgAddQuotaRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

func SimulateMsgCancelRequest added in v0.8.0

func SimulateMsgCancelRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

func SimulateMsgSubscribeToNodeRequest added in v0.8.0

func SimulateMsgSubscribeToNodeRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

func SimulateMsgSubscribeToPlanRequest added in v0.8.0

func SimulateMsgSubscribeToPlanRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

func SimulateMsgUpdateQuotaRequest added in v0.8.0

func SimulateMsgUpdateQuotaRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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