model

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DestinationInfo

type DestinationInfo struct {
	ContractAddress *string        `json:"contractAddress,omitempty"`
	BlockNumber     *int           `json:"blockNumber,omitempty"`
	TxHash          *string        `json:"txHash,omitempty"`
	TxIndex         *int           `json:"txIndex,omitempty"`
	MessageHash     *string        `json:"messageHash,omitempty"`
	ChainID         *int           `json:"chainID,omitempty"`
	RemoteDomain    *int           `json:"remoteDomain,omitempty"`
	Success         *bool          `json:"success,omitempty"`
	MessageStatus   *MessageStatus `json:"messageStatus,omitempty"`
	OriginInfo      []*OriginInfo  `json:"originInfo,omitempty"`
}

DestinationInfo provides granular information on an execution event.

type MessageStateLastSeen

type MessageStateLastSeen string
const (
	MessageStateLastSeenOrigin      MessageStateLastSeen = "ORIGIN"
	MessageStateLastSeenDestination MessageStateLastSeen = "DESTINATION"
	MessageStateLastSeenUnknown     MessageStateLastSeen = "UNKNOWN"
)

func (MessageStateLastSeen) IsValid

func (e MessageStateLastSeen) IsValid() bool

func (MessageStateLastSeen) MarshalGQL

func (e MessageStateLastSeen) MarshalGQL(w io.Writer)

func (MessageStateLastSeen) String

func (e MessageStateLastSeen) String() string

func (*MessageStateLastSeen) UnmarshalGQL

func (e *MessageStateLastSeen) UnmarshalGQL(v interface{}) error

type MessageStatus

type MessageStatus struct {
	MessageHash       *string               `json:"messageHash,omitempty"`
	LastSeen          *MessageStateLastSeen `json:"lastSeen,omitempty"`
	OriginTxHash      *string               `json:"originTxHash,omitempty"`
	DestinationTxHash *string               `json:"destinationTxHash,omitempty"`
	OriginInfo        []*OriginInfo         `json:"originInfo,omitempty"`
	DestinationInfo   []*DestinationInfo    `json:"destinationInfo,omitempty"`
}

MessageStatus gives the status of a message.

type OriginInfo

type OriginInfo struct {
	MessageHash        *string            `json:"messageHash,omitempty"`
	ContractAddress    *string            `json:"contractAddress,omitempty"`
	BlockNumber        *int               `json:"blockNumber,omitempty"`
	OriginTxHash       *string            `json:"originTxHash,omitempty"`
	Sender             *string            `json:"sender,omitempty"`
	Recipient          *string            `json:"recipient,omitempty"`
	OriginChainID      *int               `json:"originChainID,omitempty"`
	DestinationChainID *int               `json:"destinationChainID,omitempty"`
	Nonce              *int               `json:"nonce,omitempty"`
	Message            *string            `json:"message,omitempty"`
	OptimisticSeconds  *int               `json:"optimisticSeconds,omitempty"`
	MessageFlag        *int               `json:"messageFlag,omitempty"`
	SummitTip          *string            `json:"summitTip,omitempty"`
	AttestationTip     *string            `json:"attestationTip,omitempty"`
	ExecutionTip       *string            `json:"executionTip,omitempty"`
	DeliveryTip        *string            `json:"deliveryTip,omitempty"`
	Version            *int               `json:"version,omitempty"`
	GasLimit           *int               `json:"gasLimit,omitempty"`
	GasDrop            *string            `json:"gasDrop,omitempty"`
	MessageStatus      *MessageStatus     `json:"messageStatus,omitempty"`
	DestinationInfo    []*DestinationInfo `json:"destinationInfo,omitempty"`
}

OriginInfo provides granular information on an origin sent event.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL