-
Add a basic system for underwriting flashloans. Support ETH and ERC20, and perhaps ERC1155 and ERC721.
-
### Concerns:
**1. Potential Out of Gas Error**
- We currently iterate over each comptroller (which is a cluster by Venus where tokens can be borrowed, e.g. General, DeFi, etc.).
- For each com…
-
### Motivation
Write a library that implements a flashloan on a contract. Can be a flash mint (contract mints its own asset) or flash loan (contract loans out tokens (of any asset ID) from its balanc…
-
# Lines of code
https://github.com/code-423n4/2024-05-bakerfi/blob/main/contracts/core/strategies/StrategyLeverage.sol#L397-L399
# Vulnerability details
## Proof of Concept
`StrategyLeverage.harve…
-
# Lines of code
https://github.com/Tapioca-DAO/tapioca-bar-audit/blob/2286f80f928f41c8bc189d0657d74ba83286c668/contracts/usd0/USDO.sol#L90
https://github.com/Tapioca-DAO/tapioca-bar-audit/blob/2286f8…
-
bughuntoor
High
# User can sandwich their own position close to get back all of their position fees
## Summary
User can sandwich their own position close to get back all of their position fees
## …
-
DefiTraders does not seems to support FlashLoans from bZx.
bZx support FlashLoan as shown on bZx: https://github.com/bZxNetwork/flashloan-sample
Many DeFi attacks using FlashLoan has been done u…
-
Defi-Crawler does not seems to identify flashloan uses from DyDx.
I was looking at this paper only focusing on Aave, because defi-crawler support only this:
https://python.plainenglish.io/flashloa…
-
-
# Handle
@cmichelio
# Vulnerability details
## Vulnerability Details
`ERC20FlashMintUpgradeable.flashLoan` does not check for an overflow when adding the fees to the flashloan amount.
The functio…