package
0.11.0
Repository: https://github.com/omni-network/omni.git
Documentation: pkg.go.dev

# Packages

nolint:revive // unexported option type is fine.
Package provider is the implementation of the Provider interface.

# Functions

AttestationRoot returns the attestation root of the provided block submissionHeader and message root.
BindFlags binds the xchain evm rpc flag.
ConfRef returns a Ref with the provided confirmation level.
DecodeXSubmit decodes the xsubmit function call data.
EncodeXSubmit returns the abi encoding of the xsubmit function call.
FuzzyConfLevels returns a list of all fuzzy confirmation levels.
HeightRef returns a Ref with the provided confirmation level.
No description provided by the author
NewMsgTree returns the merkle root of the provided messages to be submitted.
No description provided by the author
SubmissionToBinding converts a go xchain submission to a solidity binding submission.

# Constants

BroadcastChainID is the chain ID used by broadcast messages.
final.
latest.
unknown.
No description provided by the author
No description provided by the author
No description provided by the author
ShardBroadcast0 is the default broadcast shard.
ShardFinalized0 is the default finalized confirmation level shard.
ShardLatest0 is the default latest confirmation level shard.

# Variables

FinalizedRef references the latest confirmation level.
LatestRef references the latest confirmation level.

# Structs

Attestation containing quorum votes by the validator set of a cross-chain Block.
AttestHeader uniquely identifies an attestation that require quorum vote.
Block is a deterministic representation of the omni cross-chain properties of a source chain EVM block.
BlockHeader uniquely identifies a cross chain block.
ChainVersion defines a version of a source chain; either some draft (fuzzy) version or finalized.
EmitCursor is a cursor that tracks the progress of a cross-chain stream on source portal contracts.
EventLogsReq is the request to fetch EVM event logs.
Msg is a cross-chain message.
MsgID uniquely identifies a cross-chain message.
MsgTree is a merkle tree of all the messages in a cross-chain block.
ProviderRequest is the request struct for fetching cross-chain blocks.
Receipt is a cross-chain message receipt, the result of applying the Msg on the destination chain.
Ref specifies which block to query for cursors.
SigTuple is a validator signature and address.
StreamID uniquely identifies a cross-chain stream.
Submission is a cross-chain submission of a set of messages and their proofs.
SubmitCursor is a cursor that tracks the progress of a cross-chain stream on destination portal contracts.
Vote by a validator for a cross-chain Block.

# Interfaces

Provider abstracts fetching cross chain data from any supported chain.

# Type aliases

ConfLevel defines a xblock confirmation level.
No description provided by the author
ProviderCallback is the callback function signature that will be called with every finalized.
No description provided by the author
No description provided by the author
Signature65 is a 65 byte Ethereum signature [R || S || V] format.