l1contracts

package
v0.0.0-...-412688d Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CTC

type CTC struct {
	Address common.Address
	Client  *ethclient.Client
}

CTC interacts with the OVM Canonical Transaction Chain contract

func (*CTC) GetTotalElements

func (ctc *CTC) GetTotalElements(ctx context.Context) (*big.Int, error)

type SCC

type SCC struct {
	Address common.Address
	Client  *ethclient.Client
}

SCC interacts with the OVM State Commitment Chain contract

func (*SCC) GetTotalElements

func (ctc *SCC) GetTotalElements(ctx context.Context) (*big.Int, error)

Jump to

Keyboard shortcuts

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