Documentation ¶
Index ¶
- Constants
- Variables
- func NewStoreDecoder(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string
- func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange
- func RandomNode(r *rand.Rand, items types.Nodes) types.Node
- func RandomNodes(r *rand.Rand, accounts []simulationtypes.Account) types.Nodes
- func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState
- func SimulateMsgRegisterRequest(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 SimulateMsgUpdateRequest(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 ( MaxDepositAmount = 1 << 18 MaxInactiveDuration = 1 << 18 )
View Source
const ( MaxPriceAmount = 1 << 18 MaxRemoteURLLength = 48 )
Variables ¶
View Source
var ( OperationWeightMsgRegisterRequest = "op_weight_" + types.TypeMsgRegisterRequest OperationWeightMsgUpdateRequest = "op_weight_" + types.TypeMsgUpdateRequest OperationWeightMsgSetStatusRequest = "op_weight_" + types.TypeMsgSetStatusRequest )
Functions ¶
func NewStoreDecoder ¶ added in v0.8.0
func ParamChanges ¶ added in v0.8.0
func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange
func RandomNodes ¶ added in v0.8.0
func RandomizedGenesisState ¶ added in v0.4.0
func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState
func SimulateMsgRegisterRequest ¶ added in v0.8.0
func SimulateMsgRegisterRequest(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 SimulateMsgUpdateRequest ¶ added in v0.8.0
func SimulateMsgUpdateRequest(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.