SmartVaultV3#swap
sends swapFee
to the protocol
, which, according to README, is LiquidationPoolManager
. However, unlike the fees from EUROs mints/burns which are distributed via distributeFees
, there's no such function in LPM to distribute fees collected from swaps, so they will stay in LPM.
Users and protocol treasury do not receive fees from swaps.
Implement a separate function similar to distributeFees
that would distribute fees from swaps, or include the logic directly into distributeFees
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.