coreblocklog

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScName        = "blocklog"
	ScDescription = "Core block log contract"
	HScName       = wasmlib.ScHname(0xf538ef2b)
)
View Source
const (
	ParamBlockIndex    = wasmlib.Key("n")
	ParamContractHname = wasmlib.Key("h")
	ParamFromBlock     = wasmlib.Key("f")
	ParamRequestID     = wasmlib.Key("u")
	ParamToBlock       = wasmlib.Key("t")
)
View Source
const (
	ResultBlockIndex             = wasmlib.Key("n")
	ResultBlockInfo              = wasmlib.Key("i")
	ResultEvent                  = wasmlib.Key("e")
	ResultGoverningAddress       = wasmlib.Key("g")
	ResultRequestID              = wasmlib.Key("u")
	ResultRequestIndex           = wasmlib.Key("r")
	ResultRequestProcessed       = wasmlib.Key("p")
	ResultRequestRecord          = wasmlib.Key("d")
	ResultStateControllerAddress = wasmlib.Key("s")
)
View Source
const (
	ViewControlAddresses           = "controlAddresses"
	ViewGetBlockInfo               = "getBlockInfo"
	ViewGetEventsForBlock          = "getEventsForBlock"
	ViewGetEventsForContract       = "getEventsForContract"
	ViewGetEventsForRequest        = "getEventsForRequest"
	ViewGetLatestBlockInfo         = "getLatestBlockInfo"
	ViewGetRequestIDsForBlock      = "getRequestIDsForBlock"
	ViewGetRequestReceipt          = "getRequestReceipt"
	ViewGetRequestReceiptsForBlock = "getRequestReceiptsForBlock"
	ViewIsRequestProcessed         = "isRequestProcessed"
)
View Source
const (
	HViewControlAddresses           = wasmlib.ScHname(0x796bd223)
	HViewGetBlockInfo               = wasmlib.ScHname(0xbe89f9b3)
	HViewGetEventsForBlock          = wasmlib.ScHname(0x36232798)
	HViewGetEventsForContract       = wasmlib.ScHname(0x682a1922)
	HViewGetEventsForRequest        = wasmlib.ScHname(0x4f8d68e4)
	HViewGetLatestBlockInfo         = wasmlib.ScHname(0x084a1760)
	HViewGetRequestIDsForBlock      = wasmlib.ScHname(0x5a20327a)
	HViewGetRequestReceipt          = wasmlib.ScHname(0xb7f9534f)
	HViewGetRequestReceiptsForBlock = wasmlib.ScHname(0x77e3beef)
	HViewIsRequestProcessed         = wasmlib.ScHname(0xd57d50a9)
)

Variables

This section is empty.

Functions

func OnLoad

func OnLoad()

Types

type ArrayOfImmutableBytes

type ArrayOfImmutableBytes struct {
	// contains filtered or unexported fields
}

func (ArrayOfImmutableBytes) GetBytes

func (ArrayOfImmutableBytes) Length

func (a ArrayOfImmutableBytes) Length() int32

type ArrayOfImmutableRequestID

type ArrayOfImmutableRequestID struct {
	// contains filtered or unexported fields
}

func (ArrayOfImmutableRequestID) GetRequestID

func (ArrayOfImmutableRequestID) Length

func (a ArrayOfImmutableRequestID) Length() int32

type ArrayOfMutableBytes

type ArrayOfMutableBytes struct {
	// contains filtered or unexported fields
}

func (ArrayOfMutableBytes) Clear

func (a ArrayOfMutableBytes) Clear()

func (ArrayOfMutableBytes) GetBytes

func (a ArrayOfMutableBytes) GetBytes(index int32) wasmlib.ScMutableBytes

func (ArrayOfMutableBytes) Length

func (a ArrayOfMutableBytes) Length() int32

type ArrayOfMutableRequestID

type ArrayOfMutableRequestID struct {
	// contains filtered or unexported fields
}

func (ArrayOfMutableRequestID) Clear

func (a ArrayOfMutableRequestID) Clear()

func (ArrayOfMutableRequestID) GetRequestID

func (ArrayOfMutableRequestID) Length

func (a ArrayOfMutableRequestID) Length() int32

type ControlAddressesCall

type ControlAddressesCall struct {
	Func    *wasmlib.ScView
	Results ImmutableControlAddressesResults
}

type Funcs

type Funcs struct{}
var ScFuncs Funcs

func (Funcs) ControlAddresses

func (sc Funcs) ControlAddresses(ctx wasmlib.ScViewCallContext) *ControlAddressesCall

func (Funcs) GetBlockInfo

func (sc Funcs) GetBlockInfo(ctx wasmlib.ScViewCallContext) *GetBlockInfoCall

func (Funcs) GetEventsForBlock

func (sc Funcs) GetEventsForBlock(ctx wasmlib.ScViewCallContext) *GetEventsForBlockCall

func (Funcs) GetEventsForContract

func (sc Funcs) GetEventsForContract(ctx wasmlib.ScViewCallContext) *GetEventsForContractCall

func (Funcs) GetEventsForRequest

func (sc Funcs) GetEventsForRequest(ctx wasmlib.ScViewCallContext) *GetEventsForRequestCall

func (Funcs) GetLatestBlockInfo

func (sc Funcs) GetLatestBlockInfo(ctx wasmlib.ScViewCallContext) *GetLatestBlockInfoCall

func (Funcs) GetRequestIDsForBlock

func (sc Funcs) GetRequestIDsForBlock(ctx wasmlib.ScViewCallContext) *GetRequestIDsForBlockCall

func (Funcs) GetRequestReceipt

func (sc Funcs) GetRequestReceipt(ctx wasmlib.ScViewCallContext) *GetRequestReceiptCall

func (Funcs) GetRequestReceiptsForBlock

func (sc Funcs) GetRequestReceiptsForBlock(ctx wasmlib.ScViewCallContext) *GetRequestReceiptsForBlockCall

func (Funcs) IsRequestProcessed

func (sc Funcs) IsRequestProcessed(ctx wasmlib.ScViewCallContext) *IsRequestProcessedCall

type GetBlockInfoCall

type GetBlockInfoCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetBlockInfoParams
	Results ImmutableGetBlockInfoResults
}

type GetEventsForBlockCall

type GetEventsForBlockCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetEventsForBlockParams
	Results ImmutableGetEventsForBlockResults
}

type GetEventsForContractCall

type GetEventsForContractCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetEventsForContractParams
	Results ImmutableGetEventsForContractResults
}

type GetEventsForRequestCall

type GetEventsForRequestCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetEventsForRequestParams
	Results ImmutableGetEventsForRequestResults
}

type GetLatestBlockInfoCall

type GetLatestBlockInfoCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetLatestBlockInfoResults
}

type GetRequestIDsForBlockCall

type GetRequestIDsForBlockCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetRequestIDsForBlockParams
	Results ImmutableGetRequestIDsForBlockResults
}

type GetRequestReceiptCall

type GetRequestReceiptCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetRequestReceiptParams
	Results ImmutableGetRequestReceiptResults
}

type ImmutableControlAddressesResults

type ImmutableControlAddressesResults struct {
	// contains filtered or unexported fields
}

func (ImmutableControlAddressesResults) BlockIndex

func (ImmutableControlAddressesResults) GoverningAddress

func (ImmutableControlAddressesResults) StateControllerAddress

func (s ImmutableControlAddressesResults) StateControllerAddress() wasmlib.ScImmutableAddress

type ImmutableGetBlockInfoParams

type ImmutableGetBlockInfoParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetBlockInfoParams) BlockIndex

type ImmutableGetBlockInfoResults

type ImmutableGetBlockInfoResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetBlockInfoResults) BlockInfo

type ImmutableGetEventsForBlockParams

type ImmutableGetEventsForBlockParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetEventsForBlockParams) BlockIndex

type ImmutableGetEventsForBlockResults

type ImmutableGetEventsForBlockResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetEventsForBlockResults) Event

type ImmutableGetEventsForContractParams

type ImmutableGetEventsForContractParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetEventsForContractParams) ContractHname

func (ImmutableGetEventsForContractParams) FromBlock

func (ImmutableGetEventsForContractParams) ToBlock

type ImmutableGetEventsForContractResults

type ImmutableGetEventsForContractResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetEventsForContractResults) Event

type ImmutableGetEventsForRequestParams

type ImmutableGetEventsForRequestParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetEventsForRequestParams) RequestID

type ImmutableGetEventsForRequestResults

type ImmutableGetEventsForRequestResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetEventsForRequestResults) Event

type ImmutableGetLatestBlockInfoResults

type ImmutableGetLatestBlockInfoResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetLatestBlockInfoResults) BlockIndex

func (ImmutableGetLatestBlockInfoResults) BlockInfo

type ImmutableGetRequestIDsForBlockParams

type ImmutableGetRequestIDsForBlockParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetRequestIDsForBlockParams) BlockIndex

type ImmutableGetRequestIDsForBlockResults

type ImmutableGetRequestIDsForBlockResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetRequestIDsForBlockResults) RequestID

type ImmutableGetRequestReceiptParams

type ImmutableGetRequestReceiptParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetRequestReceiptParams) RequestID

type ImmutableGetRequestReceiptResults

type ImmutableGetRequestReceiptResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetRequestReceiptResults) BlockIndex

func (ImmutableGetRequestReceiptResults) RequestIndex

func (ImmutableGetRequestReceiptResults) RequestRecord

type ImmutableGetRequestReceiptsForBlockParams

type ImmutableGetRequestReceiptsForBlockParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetRequestReceiptsForBlockParams) BlockIndex

type ImmutableGetRequestReceiptsForBlockResults

type ImmutableGetRequestReceiptsForBlockResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetRequestReceiptsForBlockResults) RequestRecord

type ImmutableIsRequestProcessedParams

type ImmutableIsRequestProcessedParams struct {
	// contains filtered or unexported fields
}

func (ImmutableIsRequestProcessedParams) RequestID

type ImmutableIsRequestProcessedResults

type ImmutableIsRequestProcessedResults struct {
	// contains filtered or unexported fields
}

func (ImmutableIsRequestProcessedResults) RequestProcessed

type IsRequestProcessedCall

type IsRequestProcessedCall struct {
	Func    *wasmlib.ScView
	Params  MutableIsRequestProcessedParams
	Results ImmutableIsRequestProcessedResults
}

type MutableControlAddressesResults

type MutableControlAddressesResults struct {
	// contains filtered or unexported fields
}

func (MutableControlAddressesResults) BlockIndex

func (MutableControlAddressesResults) GoverningAddress

func (MutableControlAddressesResults) StateControllerAddress

func (s MutableControlAddressesResults) StateControllerAddress() wasmlib.ScMutableAddress

type MutableGetBlockInfoParams

type MutableGetBlockInfoParams struct {
	// contains filtered or unexported fields
}

func (MutableGetBlockInfoParams) BlockIndex

type MutableGetBlockInfoResults

type MutableGetBlockInfoResults struct {
	// contains filtered or unexported fields
}

func (MutableGetBlockInfoResults) BlockInfo

type MutableGetEventsForBlockParams

type MutableGetEventsForBlockParams struct {
	// contains filtered or unexported fields
}

func (MutableGetEventsForBlockParams) BlockIndex

type MutableGetEventsForBlockResults

type MutableGetEventsForBlockResults struct {
	// contains filtered or unexported fields
}

func (MutableGetEventsForBlockResults) Event

type MutableGetEventsForContractParams

type MutableGetEventsForContractParams struct {
	// contains filtered or unexported fields
}

func (MutableGetEventsForContractParams) ContractHname

func (MutableGetEventsForContractParams) FromBlock

func (MutableGetEventsForContractParams) ToBlock

type MutableGetEventsForContractResults

type MutableGetEventsForContractResults struct {
	// contains filtered or unexported fields
}

func (MutableGetEventsForContractResults) Event

type MutableGetEventsForRequestParams

type MutableGetEventsForRequestParams struct {
	// contains filtered or unexported fields
}

func (MutableGetEventsForRequestParams) RequestID

type MutableGetEventsForRequestResults

type MutableGetEventsForRequestResults struct {
	// contains filtered or unexported fields
}

func (MutableGetEventsForRequestResults) Event

type MutableGetLatestBlockInfoResults

type MutableGetLatestBlockInfoResults struct {
	// contains filtered or unexported fields
}

func (MutableGetLatestBlockInfoResults) BlockIndex

func (MutableGetLatestBlockInfoResults) BlockInfo

type MutableGetRequestIDsForBlockParams

type MutableGetRequestIDsForBlockParams struct {
	// contains filtered or unexported fields
}

func (MutableGetRequestIDsForBlockParams) BlockIndex

type MutableGetRequestIDsForBlockResults

type MutableGetRequestIDsForBlockResults struct {
	// contains filtered or unexported fields
}

func (MutableGetRequestIDsForBlockResults) RequestID

type MutableGetRequestReceiptParams

type MutableGetRequestReceiptParams struct {
	// contains filtered or unexported fields
}

func (MutableGetRequestReceiptParams) RequestID

type MutableGetRequestReceiptResults

type MutableGetRequestReceiptResults struct {
	// contains filtered or unexported fields
}

func (MutableGetRequestReceiptResults) BlockIndex

func (MutableGetRequestReceiptResults) RequestIndex

func (MutableGetRequestReceiptResults) RequestRecord

type MutableGetRequestReceiptsForBlockParams

type MutableGetRequestReceiptsForBlockParams struct {
	// contains filtered or unexported fields
}

func (MutableGetRequestReceiptsForBlockParams) BlockIndex

type MutableGetRequestReceiptsForBlockResults

type MutableGetRequestReceiptsForBlockResults struct {
	// contains filtered or unexported fields
}

func (MutableGetRequestReceiptsForBlockResults) RequestRecord

type MutableIsRequestProcessedParams

type MutableIsRequestProcessedParams struct {
	// contains filtered or unexported fields
}

func (MutableIsRequestProcessedParams) RequestID

type MutableIsRequestProcessedResults

type MutableIsRequestProcessedResults struct {
	// contains filtered or unexported fields
}

func (MutableIsRequestProcessedResults) RequestProcessed

Jump to

Keyboard shortcuts

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