Provider
Provider smart contracts wrap the unique logic and arguments to interact with each lending-borrowing protocol in a common interface. Provider smart contracts are stateless contracts.
Fuji defines a provider as any protocol with a lending-borrowing market that allows users to interact with the following main 4 functions: deposit, withdraw, borrow and payback.
Fuji core integrates the following providers:
Compound V2 and V3
Compound is an algorithmic, autonomous interest rate protocol built for developers, to unlock a universe of open financial applications.
Aave V2 and V3
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers. Depositors provide liquidity to the market to earn a passive income, while borrowers are able to borrow in an overcollateralized (perpetually) or undercollateralized (one-block liquidity) fashion.
Forks and other lending markets including: Geist, Hundred, DForce, WePiggy
Interface
The IProvider.sol
defines the provider interface that the vault contracts use to make external calls to the lending-borrowing protocols.
Last updated