Documentation ¶
Index ¶
- Constants
- func DialEthClientWithTimeout(ctx context.Context, url string) (*ethclient.Client, error)
- func DialRollupClientWithTimeout(ctx context.Context, url string) (*sources.RollupClient, error)
- func NewCallOptsWithSender(ctx context.Context, sender common.Address) *bind.CallOpts
- func NewSimpleCallOpts(ctx context.Context) *bind.CallOpts
- func NewSimpleTxOpts(ctx context.Context, from common.Address, signerFn crypto.SignerFn) *bind.TransactOpts
- func NewSimpleWatchOpts(ctx context.Context) *bind.WatchOpts
- func ParseAddress(address string) (common.Address, error)
- type InterruptChan
Constants ¶
View Source
const ( // DefaultDialTimeout is default duration the service will wait on // startup to make a connection to either the L1 or L2 backends. DefaultDialTimeout = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func DialEthClientWithTimeout ¶
DialEthClientWithTimeout attempts to dial the L1 provider using the provided URL. If the dial doesn't complete within defaultDialTimeout seconds, this method will return an error.
func DialRollupClientWithTimeout ¶
DialRollupClientWithTimeout attempts to dial the RPC provider using the provided URL. If the dial doesn't complete within defaultDialTimeout seconds, this method will return an error.
func NewCallOptsWithSender ¶
func NewSimpleTxOpts ¶
func NewSimpleWatchOpts ¶ added in v0.3.0
Types ¶
type InterruptChan ¶
func WaitInterrupt ¶
func WaitInterrupt() InterruptChan
Directories ¶
Path | Synopsis |
---|---|
chain-ops
|
|
clock
Package clock provides an abstraction for time to enable testing of functionality that uses time as an input.
|
Package clock provides an abstraction for time to enable testing of functionality that uses time as an input. |
tls
This file contains CLI and env TLS configurations that can be used by clients or servers
|
This file contains CLI and env TLS configurations that can be used by clients or servers |
tls/certman
Package certman provides live reloading of the certificate and key files used by the standard library http.Server.
|
Package certman provides live reloading of the certificate and key files used by the standard library http.Server. |
signer
|
|
Click to show internal directories.
Click to hide internal directories.