Skip to content

Commit

Permalink
Report for issue #7 updated by adeolu
Browse files Browse the repository at this point in the history
  • Loading branch information
c4-bot-10 committed Apr 29, 2024
1 parent 1da5800 commit 3eb092b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/adeolu-Q.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://github.com/code-423n4/2024-04-lavarage/blob/9e8295b542fb71b2ba9b4693e256

if borrow_amount for one position is `199`, this will mean fee will be `199 * 5 / 1000 = 995 /1000 = 0 `

user decides to make 2000 borrow positions, each borrowing the small amount 199. This means user has sucessfully borrowed a value of `398000` via the protocol without paying any fees.
user decides to make 2000 borrow positions (in batch calls), each borrowing the small amount 199. This means user has sucessfully borrowed a value of `398000` via the protocol without paying any fees.

if it intended for strict fees payment for every position opened then the borrow function should revert if fee calc returns 0.

Expand Down

0 comments on commit 3eb092b

Please sign in to comment.