You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vulnerability arises from the fact that all fee collected is attributed to the feeCollector while depositors earn nothing. This amounts to lost revenue for depositors who actually provided all the tokens being lent out:
Attack Scenario
Describe how the vulnerability can be exploited.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)
Provide flashloan fee sharing functionality that will also benefit depositors. This will also be an incentive for IBT token holders to use the protocol.
The text was updated successfully, but these errors were encountered:
Github username: --
Twitter username: --
Submission hash (on-chain): 0x5a5fa1c1a324a46705aac71c0fdee4745d9bed7bdcc5fd0e9a8d4c8c4ef8821f
Severity: high
Description:
Description
When a borrower borrows tokens from the protocol, they're lent IBT tokens that the PrincipalToken contract has:
These tokens actually come from depositors via deposit:
or via depositIBT:
The vulnerability arises from the fact that all fee collected is attributed to the feeCollector while depositors earn nothing. This amounts to lost revenue for depositors who actually provided all the tokens being lent out:
Attack Scenario
Describe how the vulnerability can be exploited.
Attachments
Provide flashloan fee sharing functionality that will also benefit depositors. This will also be an incentive for IBT token holders to use the protocol.
The text was updated successfully, but these errors were encountered: