Documentation ¶
Index ¶
- Constants
- func DecodeStore(cdc *codec.Codec, kvA, kvB tmkv.Pair) string
- func GenArbitrationTimeLimit(r *rand.Rand) time.Duration
- func GenComplaintRetrospect(r *rand.Rand) time.Duration
- func GenMaxRequestTimeout(r *rand.Rand) int64
- func GenMinDepositMultiple(r *rand.Rand) int64
- func GenServiceFeeTax(r *rand.Rand) sdk.Dec
- func GenSlashFraction(r *rand.Rand) sdk.Dec
- func GenTxSizeLimit(r *rand.Rand) uint64
- func ParamChanges(r *rand.Rand) []simulation.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
Constants ¶
const ( MaxRequestTimeout = "max_request_timeout" MinDepositMultiple = "min_deposit_multiple" ServiceFeeTax = "service_fee_tax" SlashFraction = "slash_fraction" ComplaintRetrospect = "complaint_retrospect" ArbitrationTimeLimit = "arbitration_time_limit" TxSizeLimit = "tx_size_limit" )
Simulation parameter constants
Variables ¶
This section is empty.
Functions ¶
func DecodeStore ¶
DecodeStore unmarshals the KVPair's Value to the corresponding service type
func GenArbitrationTimeLimit ¶
GenArbitrationTimeLimit returns the randomized ArbitrationTimeLimit
func GenComplaintRetrospect ¶
GenComplaintRetrospect returns the randomized ComplaintRetrospect
func GenMaxRequestTimeout ¶
GenMaxRequestTimeout returns the randomized MaxRequestTimeout
func GenMinDepositMultiple ¶
GenMinDepositMultiple returns the randomized MinDepositMultiple
func GenServiceFeeTax ¶
GenServiceFeeTax returns the randomized ServiceFeeTax
func GenSlashFraction ¶
GenSlashFraction returns the randomized SlashFraction
func GenTxSizeLimit ¶
GenTxSizeLimit returns the randomized TxSizeLimit
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simulation.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for service
Types ¶
This section is empty.