parse_arcadia_pools
Documentation for eth_defi.erc_4626.vault_protocol.arcadia.offchain_metadata.parse_arcadia_pools function.
- parse_arcadia_pools(chain_id, payload)
Index all tranches in one complete pool response.
An empty array is a valid chain without pools. Invalid identity fields or malformed record shapes reject the response rather than caching bad data.
- Parameters
- Returns
Lowercase tranche-address index for this chain.
- Raises
ValueError – If the response does not contain valid pool records.
- Return type
dict[eth_typing.evm.HexAddress, eth_defi.erc_4626.vault_protocol.arcadia.offchain_metadata.ArcadiaVaultMetadata]