Documentation ¶
Index ¶
- Constants
- func FindAccount(accs []simtypes.Account, address string) (simtypes.Account, bool)
- func ProposalMsgs() []simtypes.WeightedProposalMsg
- func SimulateMsgCreateCampaign(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgDeleteCampaign(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgUpdateCampaign(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgUpdateParams(_ *rand.Rand, _ sdk.Context, _ []simtypes.Account) sdk.Msg
Constants ¶
View Source
const ( DefaultWeightMsgUpdateParams int = 100 OpWeightMsgUpdateParams = "op_weight_msg_update_params" //#nosec )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func FindAccount ¶
FindAccount find a specific address from an account list
func ProposalMsgs ¶ added in v1.4.5
func ProposalMsgs() []simtypes.WeightedProposalMsg
ProposalMsgs defines the module weighted proposals' contents
func SimulateMsgCreateCampaign ¶
func SimulateMsgCreateCampaign( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgDeleteCampaign ¶
func SimulateMsgDeleteCampaign( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgUpdateCampaign ¶
func SimulateMsgUpdateCampaign( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.