events

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: LGPL-2.1 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateRootSubmittedSig = "StateRootSubmitted(uint8,uint256,bytes32)"
	DepositSig            = "Deposit(uint8,uint8,bytes32,uint64,address,bytes)"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Deposit

type Deposit struct {
	// ID of chain deposit will be bridged to
	DestinationDomainID uint8
	// SecurityModel that defines the destination verifiers
	SecurityModel uint8
	// ResourceID used to find address of handler to be used for deposit
	ResourceID [32]byte
	// Nonce of deposit
	DepositNonce uint64
	// Address of sender (msg.sender: user)
	SenderAddress common.Address
	// Deposit data
	Data []byte
}

type StateRootSubmitted

type StateRootSubmitted struct {
	// ID of chain from which the state root is from
	SourceDomainID uint8
	// Finalized beacon slot belonging to the state root
	Slot *big.Int
	// Execution state root
	StateRoot [32]byte
}

Jump to

Keyboard shortcuts

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