MCPcopy
hub / github.com/canopy-network/canopy / ParamSpace

Interface ParamSpace

fsm/gov_params.go:33–37  ·  view source on GitHub ↗

ParamSpace is a distinct, isolated category within the overarching Params structure

Source from the content-addressed store, hash-verified

31
32// ParamSpace is a distinct, isolated category within the overarching Params structure
33type ParamSpace interface {
34 Check() lib.ErrorI
35 SetString(paramName string, value string) lib.ErrorI // SetString() update a string parameter in the structure
36 SetUint64(paramName string, value uint64) lib.ErrorI // SetUint64() update a uint64 parameter in the structure
37}
38
39// DefaultParams() returns the developer set params
40func DefaultParams() *Params {

Callers 13

CheckMethod · 0.65
messageFromTxJSONFunction · 0.65
ethDataToMsgFunction · 0.65
CheckMessageMethod · 0.65
ValidateGenesisStateMethod · 0.65
UpdateParamMethod · 0.95
UpdateParamMethod · 0.95
Uint64ToBigFloatFunction · 0.65
SqrtProductUint64Function · 0.65
SafeMulDivFunction · 0.65
SafeComputeDYFunction · 0.65

Implementers 4

ConsensusParamsfsm/gov.pb.go
ValidatorParamsfsm/gov.pb.go
FeeParamsfsm/gov.pb.go
GovernanceParamsfsm/gov.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected