embedded

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultUpgrader = new(Upgrader)

Functions

func Upgrade added in v1.16.1

func Upgrade(host *script.Host, input UpgradeOPChainInput) error

func UpgradeSuperchainConfig

func UpgradeSuperchainConfig(host *script.Host, input UpgradeSuperchainConfigInput) error

Types

type OPChainConfig added in v1.16.1

type OPChainConfig struct {
	SystemConfigProxy  common.Address `json:"systemConfigProxy"`
	CannonPrestate     common.Hash    `json:"cannonPrestate"`
	CannonKonaPrestate common.Hash    `json:"cannonKonaPrestate"`
}

type UpgradeOPChain added in v1.16.1

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

type UpgradeOPChainInput added in v1.16.1

type UpgradeOPChainInput struct {
	Prank               common.Address  `json:"prank"`
	Opcm                common.Address  `json:"opcm"`
	EncodedChainConfigs []OPChainConfig `evm:"-" json:"chainConfigs"`
}

func (*UpgradeOPChainInput) OpChainConfigs added in v1.16.1

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

type UpgradeSuperchainConfigInput

type UpgradeSuperchainConfigInput struct {
	Prank            common.Address `json:"prank"`
	Opcm             common.Address `json:"opcm"`
	SuperchainConfig common.Address `json:"superchainConfig"`
}

type UpgradeSuperchainConfigScript

type UpgradeSuperchainConfigScript script.DeployScriptWithoutOutput[UpgradeSuperchainConfigInput]

func NewUpgradeSuperchainConfigScript

func NewUpgradeSuperchainConfigScript(host *script.Host) (UpgradeSuperchainConfigScript, error)

NewDeployImplementationsScript loads and validates the DeployImplementations script contract

type Upgrader

type Upgrader struct{}

func (*Upgrader) ArtifactsURL

func (u *Upgrader) ArtifactsURL() string

func (*Upgrader) Upgrade

func (u *Upgrader) Upgrade(host *script.Host, input json.RawMessage) error

func (*Upgrader) UpgradeSuperchainConfig

func (u *Upgrader) UpgradeSuperchainConfig(host *script.Host, input json.RawMessage) error

Jump to

Keyboard shortcuts

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