Documentation
¶
Index ¶
Constants ¶
View Source
const AVS_NAME = "TriggerX"
View Source
const SEM_VER = "0.0.1"
Variables ¶
View Source
var ( ConfigFileFlag = cli.StringFlag{ Name: "config", Required: true, Usage: "Load configuration from `FILE`", } TriggerXDeploymentFileFlag = cli.StringFlag{ Name: "triggerx-deployment", Required: true, Usage: "Load triggerx contract addresses from `FILE`", } EcdsaPrivateKeyFlag = cli.StringFlag{ Name: "ecdsa-private-key", Usage: "Ethereum private key", Required: true, EnvVar: "ECDSA_PRIVATE_KEY", } BlsPrivateKeyFlag = cli.StringFlag{ Name: "bls-private-key", Usage: "BLS private key", Required: true, EnvVar: "BLS_PRIVATE_KEY", } )
View Source
var Flags []cli.Flag
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EcdsaPrivateKey *ecdsa.PrivateKey // Keeper node's private key - used for signing transactions BlsPrivateKey *bls.PrivateKey // BLS private key - used for signing BLS messages Logger sdklogging.Logger EigenMetricsIpPortAddress string // Needed for Communication: EthHttpRpcUrl string // Ethereum HTTP RPC URL EthWsRpcUrl string // Ethereum WebSocket RPC URL EthHttpClient ethclient.Client // Ethereum HTTP client EthWsClient ethclient.Client // Ethereum WebSocket client SignerFn signerv2.SignerFn `json:"-"` TxMgr txmgr.TxManager // Transaction manager // Contracts OperatorStateRetrieverAddr common.Address // Operator state retriever address TriggerXServiceManagerAddr common.Address // TriggerX service manager address // DB API address DBApiIpPortAddr string // DB API IP port address }
type ConfigRaw ¶
type ConfigRaw struct { Environment sdklogging.LogLevel `yaml:"environment"` EthRpcUrl string `yaml:"eth_rpc_url"` EthWsUrl string `yaml:"eth_ws_url"` DBApiIpPortAddr string `yaml:"db_api_ip_port_addr"` // DB API IP port address }
type TriggerXContractsRaw ¶
type TriggerXDeploymentRaw ¶
type TriggerXDeploymentRaw struct {
Addresses TriggerXContractsRaw `json:"addresses"`
}
Click to show internal directories.
Click to hide internal directories.