Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InteropMigration ¶
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 Migrate ¶
func Migrate(host *script.Host, input InteropMigrationInput) (InteropMigrationOutput, error)
func (*InteropMigrationOutput) CheckOutput ¶
func (output *InteropMigrationOutput) CheckOutput(input common.Address) error
Click to show internal directories.
Click to hide internal directories.