package
0.0.2
Repository: https://github.com/goplugin/plugin-ccip.git
Documentation: pkg.go.dev

# Functions

DecodeObservation from a byte slice into an Observation.
DecodeOutcome decodes the outcome from JSON.
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.
No description provided by the author
No description provided by the author
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

No description provided by the author
CCIPMessageFeeUSD18Calculator calculates the fees (paid at source) of a set of messages in USD18s.
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.
StaticMessageExecCostUSD18Calculator returns a static cost for all messages.
StaticMessageFeeUSD18Calculator returns a static fee for all messages.
TokenData is the token data for a single token in a message.
ZeroMessageExecCostUSD18Calculator returns a cost of 0 for all messages.
ZeroMessageFeeUSD18Calculator returns a fee of 0 for all messages.

# Interfaces

CostlyMessageObserver observes messages that are too costly to execute.
MessageExecCostUSD18Calculator Calculates the execution cost of a set of messages in USD18s.
MessageFeeE18USDCalculator Calculates the fees (paid at source) of a set of messages in USD18s.

# Type aliases

CommitObservations contain the commit plugin report data organized by the source chain selector.
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.