Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
func (*Bridge) InitFromCli ¶
type Config ¶
type Config struct { // address configs SrcBridgeAddress common.Address DestBridgeAddress common.Address // private key BridgePrivateKey *ecdsa.PrivateKey // processing configs Confirmations uint64 ConfirmationsTimeout uint64 EnableTaikoL2 bool // backoff configs BackoffRetryInterval uint64 BackOffMaxRetrys uint64 // rpc configs SrcRPCUrl string DestRPCUrl string ETHClientTimeout uint64 // BridgeMessage BridgeMessageValue *big.Int }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
Click to show internal directories.
Click to hide internal directories.