TopUpConfig

Documentation for eth_defi.lifi.top_up.TopUpConfig Python class.

class TopUpConfig

Bases: object

Configuration for cross-chain gas top-up.

Read from environment variables via read_top_up_config().

Attributes summary

private_key

source_chain_id

source_chain_name

target_chain_ids

min_gas_usd

top_up_usd

dry_run

source_token_choice

source_token_address

Methods summary

__init__(private_key, source_chain_id, ...)

__init__(private_key, source_chain_id, source_chain_name, target_chain_ids, min_gas_usd, top_up_usd, dry_run, source_token_choice, source_token_address)
Parameters
Return type

None