DydxFlashLoanAbstraction._requestFlashLoan
performs external calls in a potentially-unbounded loop.
Depending on changes made to DyDx's SoloMargin
, this may render this flash loan provider prohibitively expensive.
In the worst case, changes to SoloMargin
could make it impossible to execute this code due to the block gas limit.
Reconsider or bound the loop
- ConsenSys Audit Growth DeFi Finding 6.2
- Denial-of-Service
- Unbounded Loop
- Gas Exhaustion
- Reconsider Logic or Bound Loop