package
0.0.0-20250102200348-1af27c7ab573
Repository: https://github.com/smartcontractkit/chainlink-ccip.git
Documentation: pkg.go.dev

# Functions

DecodeObservation from a byte slice into an Observation.
DecodeOutcome decodes the outcome from JSON.
GetEncodedMsgAndTokenDataSizes calculates the encoded sizes of messages and their token data counterpart.
No description provided by the author
NewErrorTokenData returns a TokenData object with Ready set to false and the provided error.
No description provided by the author
NewNoopTokenData returns a TokenData object with Ready set to true and empty data.
NewObservation constructs an Observation object.
NewOutcome creates a new Outcome with the pending commit reports and the chain reports sorted.
NewSuccessTokenData returns a TokenData object with Ready set to true and the provided data.
NotReadyToken returns a TokenData object with Ready set to false.
NotSupportedTokenData returns a TokenData object with Supported set to false.
TokenDataHash returns a hash of the token data.

# Constants

Filter is the final step, any additional destination data is collected to complete the execution report.
GetCommitReports is the first step, it is used to select commit reports from the destination chain.
GetMessages is the second step, given a set of commit reports it fetches the associated messages.
Initialized is used to indicate that there was nothing to do except initialize contract addresses.
Unknown is the zero value, this allows a "Next" state transition for uninitialized values (i.e.

# Structs

CommitData is the data that is committed to the chain.
No description provided by the author
Observation is the observation of the ExecutePlugin.
Outcome is the outcome of the ExecutePlugin.
TokenData is the token data for a single token in a message.

# Type aliases

CommitObservations contain the commit plugin report data organized by the source chain selector.
No description provided by the author
No description provided by the author
MessageObservations contain messages for commit plugin reports organized by source chain selector and sequence number.
NonceObservations contain the latest nonce for senders in the previously observed messages.
No description provided by the author
TokenDataObservations contain token data for messages organized by source chain selector and sequence number.