weweswap / contracts

smart contracts
MIT License
1 stars 4 forks source link

ADD: Protocol Fee Switch #9

Closed jpthor closed 3 months ago

jpthor commented 3 months ago

All pools under WEWESwap management, pay the protocolFee to the WEWE LM contract.

This fee is set at 10basispoints, by the LM Factory Owner.

When bot does LMContract.collectFees() then the protocolFee is swept and sent to WEWE LM Contract location (set in LM Factory). So LM Factory knows where the WEWE LM is.

So the WEWE LM Contract will always earn the most USDC fees.