Why have we modified the code of Deposit Fee?
Recently, many young de-fi applications could exploit your entire capital by setting a 100% deposit fees.
Typical other de-fi apps contract:
So we had no choice but to modify the code of panther to eliminate this possibility of exploitation.
All our farms are protected by a 4% maximum deposit fees. This amount is hard coded in our masterchef contract and can't be changed:
The number 10000 stands for 100%, and the number 400 stands for 4%.
With our Deposit Shield, it's impossible to change the deposit fees for more than usual 4%.