Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeStore(cdc *codec.Codec, kvA, kvB kv.Pair) string
- func ParamChanges(r *rand.Rand) []simulation.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgClaimReward(ak auth.AccountKeeper, sk types.SupplyKeeper, k keeper.Keeper) simulation.Operation
- func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, ak auth.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const (
OpWeightMsgClaimReward = "op_weight_msg_claim_reward"
)
Simulation operation weights constants
Variables ¶
View Source
var ( CollateralDenoms = []string{} RewardDenom = "ukava" MaxTotalAssetReward = sdk.NewInt(1000000000) )
Functions ¶
func DecodeStore ¶
DecodeStore unmarshals the KVPair's Value to the module's corresponding type
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simulation.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for incentive module
func SimulateMsgClaimReward ¶
func SimulateMsgClaimReward(ak auth.AccountKeeper, sk types.SupplyKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgClaimReward generates a MsgClaimReward
func WeightedOperations ¶
func WeightedOperations( appParams simulation.AppParams, cdc *codec.Codec, ak auth.AccountKeeper, sk types.SupplyKeeper, 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.