simulation

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMsgCreateVault = "op_weight_msg_create_vault"
	OpWeightMsgSwapIn      = "op_weight_msg_swap_in"
)
View Source
const (
	DefaultWeightMsgCreateVault = 5
	DefaultWeightMsgSwapIn      = 95
)
View Source
const (
	RequiredMarkerAttribute = "kyc.jackthecat.vault"
)

Variables

This section is empty.

Functions

func AddAttribute

func AddAttribute(ctx context.Context, acc sdk.AccAddress, attr string, nk namekeeper.Keeper, ak attrkeeper.Keeper) error

func CreateMarker

func CreateMarker(ctx context.Context, coin sdk.Coin, admin sdk.AccAddress, keeper markerkeeper.Keeper) error

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for the vault module

func SimulateMsgCreateVault

func SimulateMsgCreateVault(k keeper.Keeper) simtypes.Operation

func SimulateMsgSwapIn

func SimulateMsgSwapIn(k keeper.Keeper) simtypes.Operation

func SimulateMsgSwapOut

func SimulateMsgSwapOut(k keeper.Keeper) simtypes.Operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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