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 { // DeployPortals deploys portals to all chains. DeployPortals(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 portal contracts.
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.