simulation

package
v3.0.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeMsgCreateDidDocument            = sdk.MsgTypeURL(&did.MsgCreateDidDocument{})
	TypeMsgUpdateDidDocument            = sdk.MsgTypeURL(&did.MsgUpdateDidDocument{})
	TypeMsgAddVerification              = sdk.MsgTypeURL(&did.MsgAddVerification{})
	TypeMsgRevokeVerification           = sdk.MsgTypeURL(&did.MsgRevokeVerification{})
	TypeMsgSetVerificationRelationships = sdk.MsgTypeURL(&did.MsgSetVerificationRelationships{})
	TypeMsgAddService                   = sdk.MsgTypeURL(&did.MsgAddService{})
	TypeMsgDeleteService                = sdk.MsgTypeURL(&did.MsgDeleteService{})
	TypeMsgAddController                = sdk.MsgTypeURL(&did.MsgAddController{})
	TypeMsgDeleteController             = sdk.MsgTypeURL(&did.MsgDeleteController{})
)

Functions

func NewDecodeStore

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

NewDecodeStore returns a decoder function closure that umarshals the KVPair's Value to the corresponding did type.

func SimulateMsgAddController

func SimulateMsgAddController(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgAddController simulates a MsgAddController message

func SimulateMsgAddService

func SimulateMsgAddService(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgAddService simulates a MsgAddService message

func SimulateMsgAddVerification

func SimulateMsgAddVerification(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgAddVerification simulates a MsgAddVerification message

func SimulateMsgCreateDidDocument

func SimulateMsgCreateDidDocument(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgCreateDidDocument simulates a MsgCreateDidDocument message

func SimulateMsgDeleteController

func SimulateMsgDeleteController(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgDeleteController simulates a MsgDeleteController message

func SimulateMsgDeleteService

func SimulateMsgDeleteService(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgDeleteService simulates a MsgDeleteService message

func SimulateMsgRevokeVerification

func SimulateMsgRevokeVerification(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgRevokeVerification simulates a MsgRevokeVerification message

func SimulateMsgSetVerificationRelationships

func SimulateMsgSetVerificationRelationships(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgSetVerificationRelationships simulates a MsgSetVerificationRelationships message

func SimulateMsgUpdateDidDocument

func SimulateMsgUpdateDidDocument(k keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) simtypes.Operation

SimulateMsgUpdateDidDocument simulates a MsgUpdateDidDocument message

func WeightedOperations

func WeightedOperations(simState module.SimulationState, didKeeper keeper.Keeper, bk did.BankKeeper, ak did.AccountKeeper) []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