corecontracts

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRequestReceipt

func GetRequestReceipt(e echo.Context, c interfaces.ChainService) error

func MapGovChainInfoResponse

func MapGovChainInfoResponse(chainInfo *isc.ChainInfo) models.GovChainInfoResponse

func NewCoreContractsController

func NewCoreContractsController(chainService interfaces.ChainService) interfaces.APIController

Types

type Blob

type Blob struct {
	Hash string `json:"hash" swagger:"required"`
	Size uint32 `json:"size" swagger:"required,min(1)"`
}

type BlobInfoResponse

type BlobInfoResponse struct {
	Fields map[string]uint32 `json:"fields" swagger:"required,min(1)"`
}

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"`
}

Jump to

Keyboard shortcuts

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