Documentation ¶
Index ¶
- Constants
- Variables
- func CreateSnapshotClient(endpoint string) (*websocket.PoolConn, *metadata.Instant, func())
- func HRMPWatermark(blockHash string) (int, error)
- func ParseAttempted(event Event, index int) (bool, error)
- type Block
- type BlockData
- type Dmp
- type Enum
- type Event
- type EventParam
- type ExtrinsicIndex
- type Hrmp
- type ITracker
- type InboundDownwardMessage
- type Inclusion
- type Outcome
- type Ump
Constants ¶
View Source
const ( Parachain = "parachain" Relaychain = "relaychain" Solo = "solo" )
Variables ¶
View Source
var ( NotfoundXcmMessageErr = errors.New("not found xcm message") InvalidDestParaId = errors.New("invalid dest para id") )
Functions ¶
func CreateSnapshotClient ¶
func HRMPWatermark ¶
Types ¶
type Event ¶
type Event struct { ExtrinsicIdx int `json:"extrinsic_idx" ` ModuleId string `json:"module_id" ` EventId string `json:"event_id" ` Params []EventParam `json:"params"` }
type EventParam ¶
type ExtrinsicIndex ¶
type InboundDownwardMessage ¶
func DownwardMessageQueues ¶
func DownwardMessageQueues(paraId uint, blockHash string) ([]InboundDownwardMessage, error)
type Inclusion ¶
type Inclusion struct { Descriptor struct { ParaHead string `json:"para_head"` } `json:"descriptor"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.