Documentation ¶
Index ¶
- Constants
- func CLIFlags() []cli.Flag
- func GenerateWorld(ctx context.Context, logger log.Logger, monorepoArtifacts *foundry.ArtifactsFS, ...) (*interopgen.WorldDeployment, *interopgen.WorldOutput, error)
- func SupersimDevOperatorKeys(chainID *big.Int) func(SupersimDevOperatorRole) SupersimDevOperatorKey
- type CLIConfig
- type DeployL2PeripheryContractsScript
- type SupersimDevOperatorKey
- type SupersimDevOperatorRole
Constants ¶
View Source
const ( MonorepoArtifactsUrlFlag = "monorepo-artifacts" PeripheryArtifactsUrlFlag = "periphery-artifacts" OutDirFlag = "outdir" )
View Source
const ( // PeripheryContractsDeployerRole is the role of the account that deploys the periphery contracts to the L2 PeripheryContractsDeployerRole = 0 // AutoRelayerSenderRole is the sender of the interop.autorelayer transactions AutoRelayerSenderRole = 1 )
Variables ¶
This section is empty.
Functions ¶
func GenerateWorld ¶
func GenerateWorld(ctx context.Context, logger log.Logger, monorepoArtifacts *foundry.ArtifactsFS, peripheryArtifacts *foundry.ArtifactsFS) (*interopgen.WorldDeployment, *interopgen.WorldOutput, error)
func SupersimDevOperatorKeys ¶
func SupersimDevOperatorKeys(chainID *big.Int) func(SupersimDevOperatorRole) SupersimDevOperatorKey
SupersimDevOperatorKeys is a helper method to not repeat chainID on every operator role
Types ¶
type CLIConfig ¶
type CLIConfig struct { MonorepoArtifactsURL *url.URL PeripheryArtifactsURL *url.URL Outdir string }
func ParseCLIConfig ¶
type DeployL2PeripheryContractsScript ¶
type DeployL2PeripheryContractsScript struct {
Run func() error
}
type SupersimDevOperatorKey ¶
type SupersimDevOperatorKey struct { ChainID *big.Int Role SupersimDevOperatorRole }
SupersimDevOperatorKey is an account specific to an OperationRole of a given OP-Stack chain.
func (SupersimDevOperatorKey) HDPath ¶
func (k SupersimDevOperatorKey) HDPath() string
func (SupersimDevOperatorKey) String ¶
func (k SupersimDevOperatorKey) String() string
type SupersimDevOperatorRole ¶
type SupersimDevOperatorRole uint64
SupersimDevOperatorRole identifies an account for setup and admin tasks run by Supersim These roles don't exist in production OP-Stack chains
func (SupersimDevOperatorRole) Key ¶
func (role SupersimDevOperatorRole) Key(chainID *big.Int) devkeys.Key
func (SupersimDevOperatorRole) String ¶
func (role SupersimDevOperatorRole) String() string
Click to show internal directories.
Click to hide internal directories.