Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PausePortal ¶ added in v0.2.0
func PausePortal(ctx context.Context, def app.Definition, cfg PortalAdminConfig) error
PausePortal pauses the portal contracts on a network. Only single chain is supported.
func UnpausePortal ¶ added in v0.2.0
func UnpausePortal(ctx context.Context, def app.Definition, cfg PortalAdminConfig) error
UnpausePortal unpauses the portal contracts on a network. Only single chain is supported.
func UpgradePortal ¶
func UpgradePortal(ctx context.Context, def app.Definition, cfg PortalAdminConfig) error
UpgradePortal upgrades the portal contracts on a network. Only single chain is supported.
Types ¶
type PortalAdminConfig ¶ added in v0.2.0
type PortalAdminConfig struct {
Chain string // Name of chain to run admin command on, use "all" to run on all chains
}
func DefaultPortalAdminConfig ¶ added in v0.2.0
func DefaultPortalAdminConfig() PortalAdminConfig
func (PortalAdminConfig) Validate ¶ added in v0.2.0
func (cfg PortalAdminConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.