Vault framework

A generic high-level Python framework to integrate different vault providers.

  • Provide an abstract base class and toolkit to interact with Ethereum vault providers from Python applications

  • The main use case is automated trading with vault-managed capital

  • For more details see eth_defi.vault.base.VaultBase

  • See also ERC-4626 specific implementation eth_defi.vault.erc_4626.

eth_defi.vault.base

Generic Vault adapter base classes.

eth_defi.vault.risk

Vault risk classification.

eth_defi.vault.fee

Vault fee modes.

eth_defi.vault.deposit_redeem

Abstraction over different deposit/redeem flows of vaults.

eth_defi.vault.vaultdb

Describe vault database pickle format.

eth_defi.vault.valuation

Net asset valuation calculations for token portfolios and vaults.

eth_defi.vault.historical

Read historical state of vaults.

eth_defi.vault.lower_case_dict

Ethereum address headache tools.

eth_defi.vault.mass_buyer

Create token buy lists for testing.