convert_aera_tvl_fee_to_annual_management_fee

Documentation for eth_defi.erc_4626.vault_protocol.aera.vault.convert_aera_tvl_fee_to_annual_management_fee function.

convert_aera_tvl_fee_to_annual_management_fee(raw_fee_per_second)

Convert the raw Aera V2 TVL fee to an annual management fee.

Aera V2 exposes its TVL fee as a per-second 18-decimal fixed point value. The vault protocol abstraction reports management fees as annual fractions, so 10**9 maps to 0.031536 or 3.1536% per year.

Parameters

raw_fee_per_second (int) – Aera V2 fee() value.

Returns

Annual management fee as a fraction.

Return type

float