contracts

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spectre

type Spectre struct {
	coreContracts.Contract
}

func NewSpectreContract

func NewSpectreContract(
	address common.Address,
	transactor transactor.Transactor,
) *Spectre

func (*Spectre) Rotate

func (c *Spectre) Rotate(
	domainID uint8,
	rotateProof []byte,
	stepInput message.SyncStepInput,
	stepProof []byte,
	opts transactor.TransactOptions,
) (*common.Hash, error)

func (*Spectre) Step

func (c *Spectre) Step(
	domainID uint8,
	stepInput message.SyncStepInput,
	stepProof []byte,
	stateRoot [32]byte,
	stateRootProof [][]byte,
	opts transactor.TransactOptions,
) (*common.Hash, error)

Jump to

Keyboard shortcuts

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