VaultRoutingState#
API documentation for tradeexecutor.ethereum.vault.vault_routing.VaultRoutingState Python class in Trading Strategy framework.
- class VaultRoutingState[source]#
Bases:
RoutingState
Capture trade executor state what we need for one strategy cycle of ERC-4626 deposits and redeems.
Not much to do here - Enso swaps are stateless (no approves needed)
- __init__(tx_builder, strategy_universe)[source]#
- Parameters:
tx_builder (TransactionBuilder) –
strategy_universe (TradingStrategyUniverse) –
Methods
__init__
(tx_builder, strategy_universe)get_reserve_asset
()Attributes
- __init__(tx_builder, strategy_universe)[source]#
- Parameters:
tx_builder (TransactionBuilder) –
strategy_universe (TradingStrategyUniverse) –