AccountableFeeData
Documentation for eth_defi.erc_4626.vault_protocol.accountable.vault.AccountableFeeData Python class.
- class AccountableFeeData
Bases:
objectSnapshot all Accountable fee-manager terms for one vault.
Accountable has two deployed fee-manager interfaces. The legacy interface supports establishment and performance fees; the current interface also supports an annualised management fee and separate manager/protocol splits for management and performance charges. All percentages use the manager’s runtime
BASIS_POINTS()denominator, which is currently one million.Establishment and prepayment fees are loan terms paid by the borrower. They are included here for a complete native view, but are not ERC-4626 LP deposit or withdrawal fees.
minimum_depositis decimalised using the vault denomination token whileminimum_deposit_rawpreserves the effective maximum of the vault and strategy contract thresholds.Legacy fee manager: https://monadscan.com/address/0x4DE9B4d7b70d1680cD8E3A2C60717cBbe6014991#code
Current fee-manager implementation: https://monadscan.com/address/0x13f12a4F960FaEC311dB695C6Bb891ce28d668aE#code
Attributes summary
Block tag or number shared by every read in this snapshot.
ERC-4626 vault whose fee terms were read.
Accountable loan/strategy configured by the vault.
Fee-manager contract configured by the strategy.
Address receiving the protocol share of collected fees.
Address receiving the manager share of collected fees.
Runtime percentage denominator returned by
BASIS_POINTS().Whether the deployed fee manager supports annual management fees.
Borrower establishment fee in Accountable percentage units.
Annualised management fee in Accountable percentage units.
Performance fee in Accountable percentage units.
Manager share of the performance fee in Accountable percentage units.
Protocol share of the performance fee in Accountable percentage units.
Manager share of the management fee, or
Noneon the legacy ABI.Protocol share of the management fee, or
Noneon the legacy ABI.Borrower prepayment fee in Accountable percentage units.
Vault-level dust threshold returned by
MIN_AMOUNT_WEI(), if exposed.Strategy-level configured
loan.minDeposit, if exposed.Effective ERC-20 base-unit minimum accepted by
deposit().Human-readable minimum deposit in denomination-token units, if exposed.
Return the borrower establishment fee as a fraction.
Return the annualised management fee as a fraction.
Return the manager's share of management fees when supported.
Return the manager's share of performance fees as a fraction.
Return the performance fee as a fraction.
Return the borrower prepayment fee as a fraction.
Return the protocol's share of management fees when supported.
Return the protocol's share of performance fees as a fraction.
Methods summary
__init__(block_identifier, vault_address, ...)Map investor-facing Accountable fees to the shared fee schema.
- block_identifier: Union[Literal['latest', 'earliest', 'pending', 'safe', 'finalized'], eth_typing.evm.BlockNumber, eth_typing.evm.Hash32, eth_typing.encoding.HexStr, int]
Block tag or number shared by every read in this snapshot.
- vault_address: eth_typing.evm.HexAddress
ERC-4626 vault whose fee terms were read.
- strategy_address: eth_typing.evm.HexAddress
Accountable loan/strategy configured by the vault.
- fee_manager_address: eth_typing.evm.HexAddress
Fee-manager contract configured by the strategy.
- treasury_address: eth_typing.evm.HexAddress
Address receiving the protocol share of collected fees.
- manager_fee_recipient_address: eth_typing.evm.HexAddress
Address receiving the manager share of collected fees.
- basis_points: int
Runtime percentage denominator returned by
BASIS_POINTS().
- supports_management_fee: bool
Whether the deployed fee manager supports annual management fees.
- establishment_fee_raw: int
Borrower establishment fee in Accountable percentage units.
- management_fee_raw: int
Annualised management fee in Accountable percentage units.
Legacy fee managers structurally have no management fee, represented as zero together with
supports_management_fee=False.
- performance_fee_raw: int
Performance fee in Accountable percentage units.
- manager_performance_fee_split_raw: int
Manager share of the performance fee in Accountable percentage units.
- protocol_performance_fee_split_raw: int
Protocol share of the performance fee in Accountable percentage units.
- manager_management_fee_split_raw: Optional[int]
Manager share of the management fee, or
Noneon the legacy ABI.
- protocol_management_fee_split_raw: Optional[int]
Protocol share of the management fee, or
Noneon the legacy ABI.
- prepayment_fee_raw: int
Borrower prepayment fee in Accountable percentage units.
- vault_minimum_deposit_raw: Optional[int]
Vault-level dust threshold returned by
MIN_AMOUNT_WEI(), if exposed.
- strategy_minimum_deposit_raw: Optional[int]
Strategy-level configured
loan.minDeposit, if exposed.
- minimum_deposit_raw: Optional[int]
Effective ERC-20 base-unit minimum accepted by
deposit().This is the maximum of the vault and strategy thresholds when present.
- minimum_deposit: Optional[decimal.Decimal]
Human-readable minimum deposit in denomination-token units, if exposed.
- property establishment_fee: float
Return the borrower establishment fee as a fraction.
- property management_fee: float
Return the annualised management fee as a fraction.
- property performance_fee: float
Return the performance fee as a fraction.
- property manager_performance_fee_split: float
Return the manager’s share of performance fees as a fraction.
- property protocol_performance_fee_split: float
Return the protocol’s share of performance fees as a fraction.
- property manager_management_fee_split: Optional[float]
Return the manager’s share of management fees when supported.
- property protocol_management_fee_split: Optional[float]
Return the protocol’s share of management fees when supported.
- property prepayment_fee: float
Return the borrower prepayment fee as a fraction.
- as_generic_fee_data()
Map investor-facing Accountable fees to the shared fee schema.
Accountable deducts management and performance charges before updating the value backing vault shares, so both are internalised skimming fees. Establishment and prepayment charges apply to the underlying borrower, not an LP entering or leaving the ERC-4626 vault. Generic deposit and withdrawal fees are therefore known to be zero.
- Returns
Shared fee data suitable for vault metadata and comparisons.
- Return type
- __init__(block_identifier, vault_address, strategy_address, fee_manager_address, treasury_address, manager_fee_recipient_address, basis_points, supports_management_fee, establishment_fee_raw, management_fee_raw, performance_fee_raw, manager_performance_fee_split_raw, protocol_performance_fee_split_raw, manager_management_fee_split_raw, protocol_management_fee_split_raw, prepayment_fee_raw, vault_minimum_deposit_raw, strategy_minimum_deposit_raw, minimum_deposit_raw, minimum_deposit)
- Parameters
block_identifier (Union[Literal['latest', 'earliest', 'pending', 'safe', 'finalized'], eth_typing.evm.BlockNumber, eth_typing.evm.Hash32, eth_typing.encoding.HexStr, int]) –
vault_address (eth_typing.evm.HexAddress) –
strategy_address (eth_typing.evm.HexAddress) –
fee_manager_address (eth_typing.evm.HexAddress) –
treasury_address (eth_typing.evm.HexAddress) –
manager_fee_recipient_address (eth_typing.evm.HexAddress) –
basis_points (int) –
supports_management_fee (bool) –
establishment_fee_raw (int) –
management_fee_raw (int) –
performance_fee_raw (int) –
manager_performance_fee_split_raw (int) –
protocol_performance_fee_split_raw (int) –
prepayment_fee_raw (int) –
minimum_deposit (Optional[decimal.Decimal]) –
- Return type
None