Documentation ¶
Index ¶
- Constants
- func ProposalMsgs() []simtypes.WeightedProposalMsg
- func SimulateMsgCommunityPoolSpend(r *rand.Rand, _ []simtypes.Account, cdc coreaddress.Codec) (sdk.Msg, error)
- func SimulateMsgFundCommunityPool(txConfig client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, ...) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, txConfig client.TxConfig, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgFundCommunityPool = "op_weight_msg_fund_community_pool" DefaultWeightMsgFundCommunityPool int = 50 )
Simulation operation weights constants
View Source
const ( OpWeightMsgCommunityPoolSpend = "op_weight_msg_community_pool_spend" DefaultWeightMsgCommunityPoolSpend int = 50 )
Variables ¶
This section is empty.
Functions ¶
func ProposalMsgs ¶
func ProposalMsgs() []simtypes.WeightedProposalMsg
func SimulateMsgCommunityPoolSpend ¶
func SimulateMsgFundCommunityPool ¶
func SimulateMsgFundCommunityPool(txConfig client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgFundCommunityPool simulates MsgFundCommunityPool execution where a random account sends a random amount of its funds to the community pool.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, txConfig client.TxConfig, 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.
Click to show internal directories.
Click to hide internal directories.