types

package
v0.0.126 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 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 DBAttestation added in v0.0.63

type DBAttestation struct {
	// ChainID is the chain ID of the chain that the attestation is for.
	ChainID *uint32
	// Destination is the destination chain id of the attestation.
	Destination *uint32
	// Nonce is the nonce of the attestation.
	Nonce *uint32
	// Root is the root of the attestation.
	Root *common.Hash
	// DestinationBlockNumber is the block number of the attestation as it was submitted on the destination.
	DestinationBlockNumber *uint64
	// DestinationBlockTime is the block time of the attestation as it was submitted on the destination.
	DestinationBlockTime *uint64
}

DBAttestation is the executor type for interacting with the database representation of an attestation.

type DBMessage

type DBMessage struct {
	// ChainID is the chain ID of the chain that the message is for.
	ChainID *uint32
	// Destination is the destination chain id of the message.
	Destination *uint32
	// Nonce is the nonce of the message.
	Nonce *uint32
	// Message is the message.
	Message *[]byte
	// BlockNumber is the block number of the message.
	BlockNumber *uint64
	// Executed is if the message has been executed.
	Executed *bool
	// MinimumTimeSet is if the MinimumTime field has been set from an Attestation.
	MinimumTimeSet *bool
	// MinimumTime is the minimum time that the message can be executed.
	MinimumTime *uint64
}

DBMessage is the executor type for interacting with the database representation of a message.

Jump to

Keyboard shortcuts

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