Documentation ¶
Index ¶
- Constants
- func NewDecodeStore(cdc codec.Marshaler) func(kvA, kvB tmkv.Pair) string
- func SimulateMsgBindService(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgDefineService(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgDisableServiceBinding(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgEnableServiceBinding(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgRefundServiceDeposit(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgSetWithdrawAddress(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgUpdateServiceBinding(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc *codec.Codec, ak types.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
const ( OpWeightMsgDefineService = "op_weight_msg_define_service" OpWeightMsgBindService = "op_weight_msg_bind_service" OpWeightMsgUpdateServiceBinding = "op_weight_msg_update_service_binding" OpWeightMsgSetWithdrawAddress = "op_weight_msg_set_withdraw_address" OpWeightMsgDisableServiceBinding = "op_weight_msg_disable_service_binding" OpWeightMsgEnableServiceBinding = "op_weight_msg_enable_service_binding" OpWeightMsgRefundServiceDeposit = "op_weight_msg_refund_service_deposit" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func NewDecodeStore ¶
NewDecodeStore unmarshals the KVPair's Value to the corresponding service type
func SimulateMsgBindService ¶
func SimulateMsgBindService(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgBindService generates a MsgBindService with random values.
func SimulateMsgDefineService ¶
func SimulateMsgDefineService(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgDefineService generates a MsgDefineService with random values.
func SimulateMsgDisableServiceBinding ¶
func SimulateMsgDisableServiceBinding(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgDisableServiceBinding generates a MsgDisableServiceBinding with random values.
func SimulateMsgEnableServiceBinding ¶
func SimulateMsgEnableServiceBinding(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgEnableServiceBinding generates a MsgEnableServiceBinding with random values.
func SimulateMsgRefundServiceDeposit ¶
func SimulateMsgRefundServiceDeposit(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgRefundServiceDeposit generates a MsgRefundServiceDeposit with random values.
func SimulateMsgSetWithdrawAddress ¶
func SimulateMsgSetWithdrawAddress(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgSetWithdrawAddress generates a MsgSetWithdrawAddress with random values.
func SimulateMsgUpdateServiceBinding ¶
func SimulateMsgUpdateServiceBinding(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgUpdateServiceBinding generates a MsgUpdateServiceBinding with random values.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc *codec.Codec, ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.