Documentation ¶
Index ¶
- func MapGovChainInfoResponse(chainInfo *governance.ChainInfo) models.GovChainInfoResponse
- func MapRequestReceiptResponse(vmService interfaces.VMService, chainID isc.ChainID, ...) (*models.RequestReceiptResponse, error)
- func NewCoreContractsController(vmService interfaces.VMService) interfaces.APIController
- type Blob
- type BlobInfoResponse
- type BlobListResponse
- type BlobValueResponse
- type Controller
- type ErrorMessageFormatResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapGovChainInfoResponse ¶
func MapGovChainInfoResponse(chainInfo *governance.ChainInfo) models.GovChainInfoResponse
func MapRequestReceiptResponse ¶
func MapRequestReceiptResponse(vmService interfaces.VMService, chainID isc.ChainID, receipt *blocklog.RequestReceipt) (*models.RequestReceiptResponse, error)
func NewCoreContractsController ¶
func NewCoreContractsController(vmService interfaces.VMService) interfaces.APIController
Types ¶
type BlobInfoResponse ¶
type BlobListResponse ¶
type BlobListResponse struct {
Blobs []Blob
}
type BlobValueResponse ¶
type BlobValueResponse struct {
ValueData string `json:"valueData" swagger:"required,desc(The blob data (Hex))"`
}
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Name ¶
func (c *Controller) Name() string
func (*Controller) RegisterAdmin ¶
func (c *Controller) RegisterAdmin(adminAPI echoswagger.ApiGroup, mocker interfaces.Mocker)
func (*Controller) RegisterPublic ¶
func (c *Controller) RegisterPublic(publicAPI echoswagger.ApiGroup, mocker interfaces.Mocker)
type ErrorMessageFormatResponse ¶
type ErrorMessageFormatResponse struct {
MessageFormat string `json:"messageFormat" swagger:"required"`
}
Click to show internal directories.
Click to hide internal directories.