Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, storeName string)
Types ¶
type ReportDetail ¶
type ReportDetail struct { Reporter sdk.ValAddress `json:"reporter"` Value []types.RawDataReportWithID `json:"value"` Tx TxDetail `json:"tx,omitempty"` }
type RequestRESTInfo ¶
type RequestRESTInfo struct { ID types.RequestID `json:"id"` OracleScriptID types.OracleScriptID `json:"oracleScriptID"` Calldata []byte `json:"calldata"` RequestedValidators []sdk.ValAddress `json:"requestedValidators"` SufficientValidatorCount int64 `json:"sufficientValidatorCount"` ExpirationHeight int64 `json:"expirationHeight"` ResolveStatus types.ResolveStatus `json:"resolveStatus"` Requester sdk.AccAddress `json:"requester"` RequestTx TxDetail `json:"requestTx,omitempty"` RawDataRequests []types.RawDataRequestWithExternalID `json:"rawDataRequests"` Reports []ReportDetail `json:"reports"` Result types.Result `json:"result"` }
Click to show internal directories.
Click to hide internal directories.