types

package
v0.0.205 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package types contains the database types for the Executor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractType added in v0.0.184

type ContractType int

ContractType is the type of contract.

const (
	// OriginContract is a contract that dispatches messages on any chain.
	OriginContract ContractType = iota + 1 // OriginContract
	// DestinationContract is a contract that receives messages on a specific chain.
	DestinationContract // DestinationContract
	// LightInboxContract is a TODO.
	LightInboxContract // LightInboxContract
	// InboxContract is a TODO.
	InboxContract // InboxContract
	// Other is any other contract.
	Other // Other
)

func (ContractType) String added in v0.0.184

func (i ContractType) String() string

type MessageStatusType added in v0.0.184

type MessageStatusType int

MessageStatusType is the type for message statuses on the Destination.

const (
	// None is if the message has not been processed.
	None MessageStatusType = iota // None
	// Failed is if the message failed to be processed.
	Failed // Failed
	// Success is if the message was processed successfully.
	Success // Success
)

func (MessageStatusType) String added in v0.0.184

func (i MessageStatusType) String() string

Jump to

Keyboard shortcuts

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