interop

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 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 InteropMigration

type InteropMigration struct {
	Run func(input common.Address)
}

type InteropMigrationInput

type InteropMigrationInput struct {
	Prank common.Address `json:"prank"`
	Opcm  common.Address `json:"opcm"`

	UsePermissionlessGame          bool           `json:"usePermissionlessGame"`
	StartingAnchorRoot             common.Hash    `json:"startingAnchorRoot"`
	StartingAnchorL2SequenceNumber *big.Int       `json:"startingAnchorL2SequenceNumber"`
	Proposer                       common.Address `json:"proposer"`
	Challenger                     common.Address `json:"challenger"`
	MaxGameDepth                   uint64         `json:"maxGameDepth"`
	SplitDepth                     uint64         `json:"splitDepth"`
	InitBond                       *big.Int       `json:"initBond"`
	ClockExtension                 uint64         `json:"clockExtension"`
	MaxClockDuration               uint64         `json:"maxClockDuration"`

	EncodedChainConfigs []OPChainConfig `evm:"-" json:"chainConfigs"`
}

func (*InteropMigrationInput) OpChainConfigs

func (u *InteropMigrationInput) OpChainConfigs() ([]byte, error)

type InteropMigrationOutput

type InteropMigrationOutput struct {
	DisputeGameFactory common.Address `json:"disputeGameFactory"`
}

func (*InteropMigrationOutput) CheckOutput

func (output *InteropMigrationOutput) CheckOutput(input common.Address) error

type OPChainConfig

type OPChainConfig struct {
	SystemConfigProxy common.Address `json:"systemConfigProxy"`
	ProxyAdmin        common.Address `json:"proxyAdmin"`
	AbsolutePrestate  common.Hash    `json:"absolutePrestate"`
}

Jump to

Keyboard shortcuts

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