numotrade / numo

🤖 Smart contract suite for Numo.
https://docs.numo.trade
Other
0 stars 0 forks source link

Swap fee for the protocol is stuck in the Pair contract #6

Open robertleifke opened 2 months ago

robertleifke commented 2 months ago

Description:

The protocol swap fee is calculated, is deducted from the reserves, and ends up floating in the Pair contract, with no respective accounting or functionality to distribute rewards to users. As a result, the protocol fee becomes stuck in the Pair contract without a way to take it out.