Documentation ¶
Index ¶
- Constants
- func OnLoad()
- type ArrayOfImmutableBytes
- type ArrayOfImmutableRequestID
- type ArrayOfMutableBytes
- type ArrayOfMutableRequestID
- type ControlAddressesCall
- type Funcs
- func (sc Funcs) ControlAddresses(ctx wasmlib.ScViewCallContext) *ControlAddressesCall
- func (sc Funcs) GetBlockInfo(ctx wasmlib.ScViewCallContext) *GetBlockInfoCall
- func (sc Funcs) GetEventsForBlock(ctx wasmlib.ScViewCallContext) *GetEventsForBlockCall
- func (sc Funcs) GetEventsForContract(ctx wasmlib.ScViewCallContext) *GetEventsForContractCall
- func (sc Funcs) GetEventsForRequest(ctx wasmlib.ScViewCallContext) *GetEventsForRequestCall
- func (sc Funcs) GetLatestBlockInfo(ctx wasmlib.ScViewCallContext) *GetLatestBlockInfoCall
- func (sc Funcs) GetRequestIDsForBlock(ctx wasmlib.ScViewCallContext) *GetRequestIDsForBlockCall
- func (sc Funcs) GetRequestReceipt(ctx wasmlib.ScViewCallContext) *GetRequestReceiptCall
- func (sc Funcs) GetRequestReceiptsForBlock(ctx wasmlib.ScViewCallContext) *GetRequestReceiptsForBlockCall
- func (sc Funcs) IsRequestProcessed(ctx wasmlib.ScViewCallContext) *IsRequestProcessedCall
- type GetBlockInfoCall
- type GetEventsForBlockCall
- type GetEventsForContractCall
- type GetEventsForRequestCall
- type GetLatestBlockInfoCall
- type GetRequestIDsForBlockCall
- type GetRequestReceiptCall
- type GetRequestReceiptsForBlockCall
- type ImmutableControlAddressesResults
- type ImmutableGetBlockInfoParams
- type ImmutableGetBlockInfoResults
- type ImmutableGetEventsForBlockParams
- type ImmutableGetEventsForBlockResults
- type ImmutableGetEventsForContractParams
- type ImmutableGetEventsForContractResults
- type ImmutableGetEventsForRequestParams
- type ImmutableGetEventsForRequestResults
- type ImmutableGetLatestBlockInfoResults
- type ImmutableGetRequestIDsForBlockParams
- type ImmutableGetRequestIDsForBlockResults
- type ImmutableGetRequestReceiptParams
- type ImmutableGetRequestReceiptResults
- type ImmutableGetRequestReceiptsForBlockParams
- type ImmutableGetRequestReceiptsForBlockResults
- type ImmutableIsRequestProcessedParams
- type ImmutableIsRequestProcessedResults
- type IsRequestProcessedCall
- type MutableControlAddressesResults
- type MutableGetBlockInfoParams
- type MutableGetBlockInfoResults
- type MutableGetEventsForBlockParams
- type MutableGetEventsForBlockResults
- type MutableGetEventsForContractParams
- type MutableGetEventsForContractResults
- type MutableGetEventsForRequestParams
- type MutableGetEventsForRequestResults
- type MutableGetLatestBlockInfoResults
- type MutableGetRequestIDsForBlockParams
- type MutableGetRequestIDsForBlockResults
- type MutableGetRequestReceiptParams
- type MutableGetRequestReceiptResults
- type MutableGetRequestReceiptsForBlockParams
- type MutableGetRequestReceiptsForBlockResults
- type MutableIsRequestProcessedParams
- type MutableIsRequestProcessedResults
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 ¶
Types ¶
type ArrayOfImmutableBytes ¶
type ArrayOfImmutableBytes struct {
// contains filtered or unexported fields
}
func (ArrayOfImmutableBytes) GetBytes ¶
func (a ArrayOfImmutableBytes) GetBytes(index int32) wasmlib.ScImmutableBytes
func (ArrayOfImmutableBytes) Length ¶
func (a ArrayOfImmutableBytes) Length() int32
type ArrayOfImmutableRequestID ¶
type ArrayOfImmutableRequestID struct {
// contains filtered or unexported fields
}
func (ArrayOfImmutableRequestID) GetRequestID ¶
func (a ArrayOfImmutableRequestID) GetRequestID(index int32) wasmlib.ScImmutableRequestID
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 (a ArrayOfMutableRequestID) GetRequestID(index int32) wasmlib.ScMutableRequestID
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 GetRequestReceiptsForBlockCall ¶
type GetRequestReceiptsForBlockCall struct { Func *wasmlib.ScView Params MutableGetRequestReceiptsForBlockParams Results ImmutableGetRequestReceiptsForBlockResults }
type ImmutableControlAddressesResults ¶
type ImmutableControlAddressesResults struct {
// contains filtered or unexported fields
}
func (ImmutableControlAddressesResults) BlockIndex ¶
func (s ImmutableControlAddressesResults) BlockIndex() wasmlib.ScImmutableInt32
func (ImmutableControlAddressesResults) GoverningAddress ¶
func (s ImmutableControlAddressesResults) GoverningAddress() wasmlib.ScImmutableAddress
func (ImmutableControlAddressesResults) StateControllerAddress ¶
func (s ImmutableControlAddressesResults) StateControllerAddress() wasmlib.ScImmutableAddress
type ImmutableGetBlockInfoParams ¶
type ImmutableGetBlockInfoParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetBlockInfoParams) BlockIndex ¶
func (s ImmutableGetBlockInfoParams) BlockIndex() wasmlib.ScImmutableInt32
type ImmutableGetBlockInfoResults ¶
type ImmutableGetBlockInfoResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetBlockInfoResults) BlockInfo ¶
func (s ImmutableGetBlockInfoResults) BlockInfo() wasmlib.ScImmutableBytes
type ImmutableGetEventsForBlockParams ¶
type ImmutableGetEventsForBlockParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetEventsForBlockParams) BlockIndex ¶
func (s ImmutableGetEventsForBlockParams) BlockIndex() wasmlib.ScImmutableInt32
type ImmutableGetEventsForBlockResults ¶
type ImmutableGetEventsForBlockResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetEventsForBlockResults) Event ¶
func (s ImmutableGetEventsForBlockResults) Event() ArrayOfImmutableBytes
type ImmutableGetEventsForContractParams ¶
type ImmutableGetEventsForContractParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetEventsForContractParams) ContractHname ¶
func (s ImmutableGetEventsForContractParams) ContractHname() wasmlib.ScImmutableHname
func (ImmutableGetEventsForContractParams) FromBlock ¶
func (s ImmutableGetEventsForContractParams) FromBlock() wasmlib.ScImmutableInt32
func (ImmutableGetEventsForContractParams) ToBlock ¶
func (s ImmutableGetEventsForContractParams) ToBlock() wasmlib.ScImmutableInt32
type ImmutableGetEventsForContractResults ¶
type ImmutableGetEventsForContractResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetEventsForContractResults) Event ¶
func (s ImmutableGetEventsForContractResults) Event() ArrayOfImmutableBytes
type ImmutableGetEventsForRequestParams ¶
type ImmutableGetEventsForRequestParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetEventsForRequestParams) RequestID ¶
func (s ImmutableGetEventsForRequestParams) RequestID() wasmlib.ScImmutableRequestID
type ImmutableGetEventsForRequestResults ¶
type ImmutableGetEventsForRequestResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetEventsForRequestResults) Event ¶
func (s ImmutableGetEventsForRequestResults) Event() ArrayOfImmutableBytes
type ImmutableGetLatestBlockInfoResults ¶
type ImmutableGetLatestBlockInfoResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetLatestBlockInfoResults) BlockIndex ¶
func (s ImmutableGetLatestBlockInfoResults) BlockIndex() wasmlib.ScImmutableInt32
func (ImmutableGetLatestBlockInfoResults) BlockInfo ¶
func (s ImmutableGetLatestBlockInfoResults) BlockInfo() wasmlib.ScImmutableBytes
type ImmutableGetRequestIDsForBlockParams ¶
type ImmutableGetRequestIDsForBlockParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetRequestIDsForBlockParams) BlockIndex ¶
func (s ImmutableGetRequestIDsForBlockParams) BlockIndex() wasmlib.ScImmutableInt32
type ImmutableGetRequestIDsForBlockResults ¶
type ImmutableGetRequestIDsForBlockResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetRequestIDsForBlockResults) RequestID ¶
func (s ImmutableGetRequestIDsForBlockResults) RequestID() ArrayOfImmutableRequestID
type ImmutableGetRequestReceiptParams ¶
type ImmutableGetRequestReceiptParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetRequestReceiptParams) RequestID ¶
func (s ImmutableGetRequestReceiptParams) RequestID() wasmlib.ScImmutableRequestID
type ImmutableGetRequestReceiptResults ¶
type ImmutableGetRequestReceiptResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetRequestReceiptResults) BlockIndex ¶
func (s ImmutableGetRequestReceiptResults) BlockIndex() wasmlib.ScImmutableInt32
func (ImmutableGetRequestReceiptResults) RequestIndex ¶
func (s ImmutableGetRequestReceiptResults) RequestIndex() wasmlib.ScImmutableInt16
func (ImmutableGetRequestReceiptResults) RequestRecord ¶
func (s ImmutableGetRequestReceiptResults) RequestRecord() wasmlib.ScImmutableBytes
type ImmutableGetRequestReceiptsForBlockParams ¶
type ImmutableGetRequestReceiptsForBlockParams struct {
// contains filtered or unexported fields
}
func (ImmutableGetRequestReceiptsForBlockParams) BlockIndex ¶
func (s ImmutableGetRequestReceiptsForBlockParams) BlockIndex() wasmlib.ScImmutableInt32
type ImmutableGetRequestReceiptsForBlockResults ¶
type ImmutableGetRequestReceiptsForBlockResults struct {
// contains filtered or unexported fields
}
func (ImmutableGetRequestReceiptsForBlockResults) RequestRecord ¶
func (s ImmutableGetRequestReceiptsForBlockResults) RequestRecord() ArrayOfImmutableBytes
type ImmutableIsRequestProcessedParams ¶
type ImmutableIsRequestProcessedParams struct {
// contains filtered or unexported fields
}
func (ImmutableIsRequestProcessedParams) RequestID ¶
func (s ImmutableIsRequestProcessedParams) RequestID() wasmlib.ScImmutableRequestID
type ImmutableIsRequestProcessedResults ¶
type ImmutableIsRequestProcessedResults struct {
// contains filtered or unexported fields
}
func (ImmutableIsRequestProcessedResults) RequestProcessed ¶
func (s ImmutableIsRequestProcessedResults) RequestProcessed() wasmlib.ScImmutableString
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 (s MutableControlAddressesResults) BlockIndex() wasmlib.ScMutableInt32
func (MutableControlAddressesResults) GoverningAddress ¶
func (s MutableControlAddressesResults) GoverningAddress() wasmlib.ScMutableAddress
func (MutableControlAddressesResults) StateControllerAddress ¶
func (s MutableControlAddressesResults) StateControllerAddress() wasmlib.ScMutableAddress
type MutableGetBlockInfoParams ¶
type MutableGetBlockInfoParams struct {
// contains filtered or unexported fields
}
func (MutableGetBlockInfoParams) BlockIndex ¶
func (s MutableGetBlockInfoParams) BlockIndex() wasmlib.ScMutableInt32
type MutableGetBlockInfoResults ¶
type MutableGetBlockInfoResults struct {
// contains filtered or unexported fields
}
func (MutableGetBlockInfoResults) BlockInfo ¶
func (s MutableGetBlockInfoResults) BlockInfo() wasmlib.ScMutableBytes
type MutableGetEventsForBlockParams ¶
type MutableGetEventsForBlockParams struct {
// contains filtered or unexported fields
}
func (MutableGetEventsForBlockParams) BlockIndex ¶
func (s MutableGetEventsForBlockParams) BlockIndex() wasmlib.ScMutableInt32
type MutableGetEventsForBlockResults ¶
type MutableGetEventsForBlockResults struct {
// contains filtered or unexported fields
}
func (MutableGetEventsForBlockResults) Event ¶
func (s MutableGetEventsForBlockResults) Event() ArrayOfMutableBytes
type MutableGetEventsForContractParams ¶
type MutableGetEventsForContractParams struct {
// contains filtered or unexported fields
}
func (MutableGetEventsForContractParams) ContractHname ¶
func (s MutableGetEventsForContractParams) ContractHname() wasmlib.ScMutableHname
func (MutableGetEventsForContractParams) FromBlock ¶
func (s MutableGetEventsForContractParams) FromBlock() wasmlib.ScMutableInt32
func (MutableGetEventsForContractParams) ToBlock ¶
func (s MutableGetEventsForContractParams) ToBlock() wasmlib.ScMutableInt32
type MutableGetEventsForContractResults ¶
type MutableGetEventsForContractResults struct {
// contains filtered or unexported fields
}
func (MutableGetEventsForContractResults) Event ¶
func (s MutableGetEventsForContractResults) Event() ArrayOfMutableBytes
type MutableGetEventsForRequestParams ¶
type MutableGetEventsForRequestParams struct {
// contains filtered or unexported fields
}
func (MutableGetEventsForRequestParams) RequestID ¶
func (s MutableGetEventsForRequestParams) RequestID() wasmlib.ScMutableRequestID
type MutableGetEventsForRequestResults ¶
type MutableGetEventsForRequestResults struct {
// contains filtered or unexported fields
}
func (MutableGetEventsForRequestResults) Event ¶
func (s MutableGetEventsForRequestResults) Event() ArrayOfMutableBytes
type MutableGetLatestBlockInfoResults ¶
type MutableGetLatestBlockInfoResults struct {
// contains filtered or unexported fields
}
func (MutableGetLatestBlockInfoResults) BlockIndex ¶
func (s MutableGetLatestBlockInfoResults) BlockIndex() wasmlib.ScMutableInt32
func (MutableGetLatestBlockInfoResults) BlockInfo ¶
func (s MutableGetLatestBlockInfoResults) BlockInfo() wasmlib.ScMutableBytes
type MutableGetRequestIDsForBlockParams ¶
type MutableGetRequestIDsForBlockParams struct {
// contains filtered or unexported fields
}
func (MutableGetRequestIDsForBlockParams) BlockIndex ¶
func (s MutableGetRequestIDsForBlockParams) BlockIndex() wasmlib.ScMutableInt32
type MutableGetRequestIDsForBlockResults ¶
type MutableGetRequestIDsForBlockResults struct {
// contains filtered or unexported fields
}
func (MutableGetRequestIDsForBlockResults) RequestID ¶
func (s MutableGetRequestIDsForBlockResults) RequestID() ArrayOfMutableRequestID
type MutableGetRequestReceiptParams ¶
type MutableGetRequestReceiptParams struct {
// contains filtered or unexported fields
}
func (MutableGetRequestReceiptParams) RequestID ¶
func (s MutableGetRequestReceiptParams) RequestID() wasmlib.ScMutableRequestID
type MutableGetRequestReceiptResults ¶
type MutableGetRequestReceiptResults struct {
// contains filtered or unexported fields
}
func (MutableGetRequestReceiptResults) BlockIndex ¶
func (s MutableGetRequestReceiptResults) BlockIndex() wasmlib.ScMutableInt32
func (MutableGetRequestReceiptResults) RequestIndex ¶
func (s MutableGetRequestReceiptResults) RequestIndex() wasmlib.ScMutableInt16
func (MutableGetRequestReceiptResults) RequestRecord ¶
func (s MutableGetRequestReceiptResults) RequestRecord() wasmlib.ScMutableBytes
type MutableGetRequestReceiptsForBlockParams ¶
type MutableGetRequestReceiptsForBlockParams struct {
// contains filtered or unexported fields
}
func (MutableGetRequestReceiptsForBlockParams) BlockIndex ¶
func (s MutableGetRequestReceiptsForBlockParams) BlockIndex() wasmlib.ScMutableInt32
type MutableGetRequestReceiptsForBlockResults ¶
type MutableGetRequestReceiptsForBlockResults struct {
// contains filtered or unexported fields
}
func (MutableGetRequestReceiptsForBlockResults) RequestRecord ¶
func (s MutableGetRequestReceiptsForBlockResults) RequestRecord() ArrayOfMutableBytes
type MutableIsRequestProcessedParams ¶
type MutableIsRequestProcessedParams struct {
// contains filtered or unexported fields
}
func (MutableIsRequestProcessedParams) RequestID ¶
func (s MutableIsRequestProcessedParams) RequestID() wasmlib.ScMutableRequestID
type MutableIsRequestProcessedResults ¶
type MutableIsRequestProcessedResults struct {
// contains filtered or unexported fields
}
func (MutableIsRequestProcessedResults) RequestProcessed ¶
func (s MutableIsRequestProcessedResults) RequestProcessed() wasmlib.ScMutableString
Click to show internal directories.
Click to hide internal directories.