serviceparams

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMaxRequestTimeout

func GetMaxRequestTimeout(ctx sdk.Context) int64

func GetMinDepositMultiple added in v0.8.0

func GetMinDepositMultiple(ctx sdk.Context) int64

func SetMaxRequestTimeout

func SetMaxRequestTimeout(ctx sdk.Context, i int64)

func SetMinProviderDeposit

func SetMinProviderDeposit(ctx sdk.Context, i int64)

Types

type MaxRequestTimeoutParam

type MaxRequestTimeoutParam struct {
	Value int64
	// contains filtered or unexported fields
}
var MaxRequestTimeoutParameter MaxRequestTimeoutParam

func (*MaxRequestTimeoutParam) GetStoreKey

func (param *MaxRequestTimeoutParam) GetStoreKey() []byte

func (*MaxRequestTimeoutParam) GetValueFromRawData added in v0.8.0

func (param *MaxRequestTimeoutParam) GetValueFromRawData(cdc *codec.Codec, res []byte) interface{}

func (*MaxRequestTimeoutParam) InitGenesis

func (param *MaxRequestTimeoutParam) InitGenesis(genesisState interface{})

func (*MaxRequestTimeoutParam) LoadValue

func (param *MaxRequestTimeoutParam) LoadValue(ctx sdk.Context) bool

func (*MaxRequestTimeoutParam) SaveValue

func (param *MaxRequestTimeoutParam) SaveValue(ctx sdk.Context)

func (*MaxRequestTimeoutParam) SetReadWriter

func (param *MaxRequestTimeoutParam) SetReadWriter(paramSpace params.Subspace)

func (*MaxRequestTimeoutParam) ToJson added in v0.8.0

func (param *MaxRequestTimeoutParam) ToJson(jsonStr string) string

func (*MaxRequestTimeoutParam) Update added in v0.8.0

func (param *MaxRequestTimeoutParam) Update(ctx sdk.Context, jsonStr string)

func (*MaxRequestTimeoutParam) Valid added in v0.8.0

func (param *MaxRequestTimeoutParam) Valid(jsonStr string) sdk.Error

type MinDepositMultipleParam added in v0.8.0

type MinDepositMultipleParam struct {
	Value int64
	// contains filtered or unexported fields
}
var MinDepositMultipleParameter MinDepositMultipleParam

func (*MinDepositMultipleParam) GetStoreKey added in v0.8.0

func (param *MinDepositMultipleParam) GetStoreKey() []byte

func (*MinDepositMultipleParam) GetValueFromRawData added in v0.8.0

func (param *MinDepositMultipleParam) GetValueFromRawData(cdc *codec.Codec, res []byte) interface{}

func (*MinDepositMultipleParam) InitGenesis added in v0.8.0

func (param *MinDepositMultipleParam) InitGenesis(genesisState interface{})

func (*MinDepositMultipleParam) LoadValue added in v0.8.0

func (param *MinDepositMultipleParam) LoadValue(ctx sdk.Context) bool

func (*MinDepositMultipleParam) SaveValue added in v0.8.0

func (param *MinDepositMultipleParam) SaveValue(ctx sdk.Context)

func (*MinDepositMultipleParam) SetReadWriter added in v0.8.0

func (param *MinDepositMultipleParam) SetReadWriter(paramSpace params.Subspace)

func (*MinDepositMultipleParam) ToJson added in v0.8.0

func (param *MinDepositMultipleParam) ToJson(jsonStr string) string

func (*MinDepositMultipleParam) Update added in v0.8.0

func (param *MinDepositMultipleParam) Update(ctx sdk.Context, jsonStr string)

func (*MinDepositMultipleParam) Valid added in v0.8.0

func (param *MinDepositMultipleParam) Valid(jsonStr string) sdk.Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL