VaultSpec
Documentation for eth_defi.vault.base.VaultSpec Python class.
- class VaultSpec[source]
Unique id for a vault.
Each vault can be identified by smart contract address by one of the contracts, related to its deployment. Usually this contract is vault contract itself.
We need both chain and address to specify vault we mean.
Attributes summary
Ethereum chain id
Vault smart contract address or whatever is the primary address for unravelling a vault deployment for a vault protocol
Methods summary
__init__
(chain_id, vault_address)- vault_address: eth_typing.evm.HexAddress
Vault smart contract address or whatever is the primary address for unravelling a vault deployment for a vault protocol
- __init__(chain_id, vault_address)
- Parameters
chain_id (int) –
vault_address (eth_typing.evm.HexAddress) –
- Return type
None