events

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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 is used to distringuish between block header oracles
	// on the destination network that verify this deposit
	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
	// Additional data to be passed to specified handler
	Data []byte
}

Deposit struct holds event data raised by Deposit event on-chain

type EventSig

type EventSig string
const (
	DepositSig           EventSig = "Deposit(uint8,uint8,bytes32,uint64,address,bytes)"
	MessageDispatchedSig EventSig = "MessageDispatched(uint256,(uint256,uint256,uint256,address,address,bytes,address[],address[]))"
)

func (EventSig) GetTopic

func (es EventSig) GetTopic() common.Hash

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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