Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, data GenesisState)
InitGenesis - store genesis parameters
Types ¶
type GenesisState ¶
type GenesisState struct {
ComplaintRetrospect time.Duration `json:"complaint_retrospect"`
ArbitrationTimelimit time.Duration `json:"arbitration_timelimit"`
}
GenesisState - all arbitration state that must be provided at genesis
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
get raw genesis raw message for testing
func DefaultGenesisStateForTest ¶
func DefaultGenesisStateForTest() GenesisState
get raw genesis raw message for testing
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context) GenesisState
ExportGenesis - output genesis parameters
func NewGenesisState ¶
func NewGenesisState(complaintRetrospect, arbitrationTimelimit time.Duration) GenesisState
Click to show internal directories.
Click to hide internal directories.