Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployInfo ¶
DeployInfo contains the deployed portal address and height.
type Manager ¶
type Manager interface { // DeployPublicPortals deploys portals to public chains, like arb-goerli. DeployPublicPortals(ctx context.Context, valSetID uint64, validators []bindings.Validator) error // DeployInfo returns the deployed network information by chain ID. // Note that the private chains has to be deterministic, since this is called before deploying private portals. DeployInfo() map[uint64]DeployInfo // DeployPrivatePortals deploys portals to private (docker) chains. DeployPrivatePortals(ctx context.Context, valSetID uint64, validators []bindings.Validator) error // Portals returns the deployed portals from both public and private chains. Portals() map[uint64]Portal }
Manager abstract logic to deploy and bootstrap a network. TODO(corver): No need to split public vs private portal deploys anymore.
func NewManager ¶
type Portal ¶
type Portal struct { Chain types.EVMChain DeployInfo DeployInfo Contract *bindings.OmniPortal }
Portal contains all deployed portal information and state.
Click to show internal directories.
Click to hide internal directories.