Documentation ¶
Index ¶
- func AddrForNetwork(network netconf.ID) (common.Address, bool)
- func Deploy(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (common.Address, *ethtypes.Receipt, error)
- func DeployIfNeeded(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (common.Address, *ethtypes.Receipt, error)
- func IsDeployed(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (bool, common.Address, error)
- type DeploymentConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddrForNetwork ¶ added in v0.1.2
func Deploy ¶
func Deploy(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (common.Address, *ethtypes.Receipt, error)
Deploy deploys a new Create3 factory contract and returns the address and receipt. It only allows deployments to explicitly supported chains.
Types ¶
type DeploymentConfig ¶ added in v0.1.2
func (DeploymentConfig) Validate ¶ added in v0.1.2
func (cfg DeploymentConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.