Skip to content

Latest commit

 

History

History
200 lines (186 loc) · 6.79 KB

File metadata and controls

200 lines (186 loc) · 6.79 KB

Vault Delegate (VaultDelegate.sol)

View Source: contracts/core/delegates/VaultDelegate.sol

↗ Extends: VaultDelegateWithFlashLoan

VaultDelegate

Liquidity providers can earn fees by adding stablecoin liquidity to any cover contract. The cover pool is collectively owned by liquidity providers where fees automatically get accumulated and compounded.

Fees:

  • Cover fees paid in stablecoin get added to the liquidity pool.
  • The protocol supplies a small portion of idle assets to third-party lending protocols.
  • Flash loan interest also gets added back to the pool.
  • Cover creators can donate a small portion of their revenue as a reassurance fund to protect liquidity providers. This assists liquidity providers in the event of an exploit by preventing pool depletion.

Functions

function (IStore store) public nonpayable VaultDelegateBase 

Arguments

Name Type Description
store IStore
Source Code
constructor(IStore store) VaultDelegateBase(store) {}

Contracts