Documentation ¶
Index ¶
- type Config
- type ContractDeployer
- type Option
- func WithDebugEnabled(b bool) Option
- func WithDockerImage(s string) Option
- func WithFaucetFunds(f string) Option
- func WithHocPKString(s string) Option
- func WithL1HTTPURL(s string) Option
- func WithL1PrivateKey(s string) Option
- func WithL2Host(s string) Option
- func WithL2PrivateKey(s string) Option
- func WithL2WSPort(i int) Option
- func WithManagementContractAddress(s string) Option
- func WithMessageBusContractAddress(s string) Option
- func WithPocPKString(s string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds the properties that configure the package
type ContractDeployer ¶
type ContractDeployer struct {
// contains filtered or unexported fields
}
func NewDockerContractDeployer ¶
func NewDockerContractDeployer(cfg *Config) (*ContractDeployer, error)
func (*ContractDeployer) GetID ¶
func (n *ContractDeployer) GetID() string
func (*ContractDeployer) PrintLogs ¶
func (n *ContractDeployer) PrintLogs(cli *client.Client)
func (*ContractDeployer) Start ¶
func (n *ContractDeployer) Start() error
func (*ContractDeployer) WaitForFinish ¶
func (n *ContractDeployer) WaitForFinish() error
type Option ¶
type Option = func(c *Config)
Option is a function that applies configs to a Config Object
func WithDebugEnabled ¶ added in v0.21.0
func WithDockerImage ¶
func WithFaucetFunds ¶
func WithHocPKString ¶
func WithL1HTTPURL ¶
func WithL1PrivateKey ¶
func WithL2Host ¶
func WithL2PrivateKey ¶
func WithL2WSPort ¶
func WithPocPKString ¶
Click to show internal directories.
Click to hide internal directories.