Explore the smart contracts for Aave. Aave is a London-based company offering an open-source, non-custodial protocol that utilizes liquidity pools to facilitate lending and borrowing of crypto assets. Its users earn interest with deposits, or they take out loans by using the deposits as collateral. Aave is also the creator of Lens Protocol, a Web3 social graph based on the Polygon proof-of-stake blockchain.
The following smart contract is a Solidity implementation of a ParaSwap liquidity swap adapter. It allows users to swap liquidity between two assets using ParaSwap's Augustus aggregator. The contract uses Aave's flash loan feature to provide liquidity for the swap and also supports permit signatures for ERC20 tokens. The contract is non-reentrant and uses SafeMath for arithmetic operations.
- Verified, Defi, Router