Documentation ¶
Index ¶
- Constants
- Variables
- func NewStoreDecoder(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string
- func RandomGenesisPlan(r *rand.Rand, items types.GenesisPlans) types.GenesisPlan
- func RandomGenesisPlans(r *rand.Rand) types.GenesisPlans
- func RandomPlan(r *rand.Rand, items types.Plans) types.Plan
- func RandomPlans(r *rand.Rand) types.Plans
- func RandomizedGenesisState(state *module.SimulationState) types.GenesisState
- func SimulateMsgAddNodeRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func SimulateMsgAddRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func SimulateMsgRemoveNodeRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func SimulateMsgSetStatusRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func WeightedOperations(params simulationtypes.AppParams, cdc codec.JSONMarshaler, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( MaxPlanId = 1 << 18 MaxPlans = 1 << 10 MaxPlanPriceAmount = 1 << 10 MaxPlanValidity = 1 << 18 MaxPlanBytes = math.MaxInt64 )
Variables ¶
View Source
var ( OperationWeightMsgAddRequest = "op_weight_" + types.TypeMsgAddRequest OperationWeightMsgSetStatusRequest = "op_weight_" + types.TypeMsgSetStatusRequest OperationWeightMsgAddNodeRequest = "op_weight_" + types.TypeMsgAddNodeRequest OperationWeightMsgRemoveNodeRequest = "op_weight_" + types.TypeMsgRemoveNodeRequest )
Functions ¶
func NewStoreDecoder ¶ added in v0.8.0
func RandomGenesisPlan ¶ added in v0.8.0
func RandomGenesisPlan(r *rand.Rand, items types.GenesisPlans) types.GenesisPlan
func RandomGenesisPlans ¶ added in v0.8.0
func RandomGenesisPlans(r *rand.Rand) types.GenesisPlans
func RandomizedGenesisState ¶ added in v0.4.0
func RandomizedGenesisState(state *module.SimulationState) types.GenesisState
func SimulateMsgAddNodeRequest ¶ added in v0.8.0
func SimulateMsgAddNodeRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func SimulateMsgAddRequest ¶ added in v0.8.0
func SimulateMsgAddRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func SimulateMsgRemoveNodeRequest ¶ added in v0.8.0
func SimulateMsgRemoveNodeRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func SimulateMsgSetStatusRequest ¶ added in v0.8.0
func SimulateMsgSetStatusRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func WeightedOperations ¶ added in v0.4.0
func WeightedOperations( params simulationtypes.AppParams, cdc codec.JSONMarshaler, ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper, ) simulation.WeightedOperations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.