VaultFeeMode

Documentation for eth_defi.vault.fee.VaultFeeMode Python class.

class VaultFeeMode

Bases: enum.Enum

How vault protocol account its fees.

  • Externalised fees: fees are deducted from the redemption amount when user withdraws.

  • Internalised fees: fees are baked into the share price (asset amount) and continuously taken from the profit. There are no fees on withdraw.

Attributes summary

internalised_skimming

internalised_minting

externalised

feeless

Methods summary

is_internalised()

Are the fees internalised in the share price?

is_internalised()

Are the fees internalised in the share price?

Return type

bool