Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinMarketCap ¶
type CoinMarketCap struct { APIURL string `toml:"api_url"` APIKeyPath Path `toml:"api_key_path"` CacheExpiry Duration `toml:"cache_expiry"` }
func (CoinMarketCap) NewQuoter ¶
func (c CoinMarketCap) NewQuoter() (coinmarketcap.Quoter, error)
type Config ¶
type Config struct { Pipeline Pipeline `toml:"pipeline"` CoinMarketCap CoinMarketCap `toml:"coinmarketcap"` Eth *Eth `toml:"eth"` ZkSyncEra *ZkSyncEra `toml:"zksync-era"` }
func (*Config) NewAuditors ¶
type Duration ¶
func (*Duration) UnmarshalText ¶
type Eth ¶
type Eth struct { NodeAddress string `toml:"node_address"` SpenderKeyPath Path `toml:"spender_key_path"` ERC20ContractAddress common.Address `toml:"erc20_contract_address"` ChainID int `toml:"chain_id"` Owner *common.Address `toml:"owner"` MaxGas *big.Int `toml:"max_gas"` GasTipCap *big.Int `toml:"gas_tip_cap"` }
type ZkSyncEra ¶
type ZkSyncEra struct { NodeAddress string `toml:"node_address"` SpenderKeyPath Path `toml:"spender_key_path"` ERC20ContractAddress common.Address `toml:"erc20_contract_address"` ChainID int `toml:"chain_id"` MaxFee *big.Int `toml:"max_fee"` PaymasterAddress *common.Address `toml:"paymaster_address"` PaymasterPayload HexString `toml:"paymaster_payload"` }
func (ZkSyncEra) NewAuditor ¶
Click to show internal directories.
Click to hide internal directories.