feeTypes[6] and feeTypes[7] total basis points is 2000. But in the fee distribution calculation it divided by 10000 instead of 2000. So it caused fee distribution is not work as mentioned ratio.
feeTypes[6] , total basis point is = 500+500+1000 = 2000. same as feeTypes[7].
In case of feeTypes[6] and feeTypes[7] , when calculating shares , it is divided by BASIS_POINTS , instead of dividing by 2000. So this makes shares[0], shares[1],shares[2] become less value compared to actual one it should be. Eventually remaining funds(round off error and this 2000 division) is added to shares[3] which makes higher than expected .
This caused some funds should go to veRAACShare is send to treasuryShare. veRAAC holders loss some portion of fees generating from Buy/Sell Swap Tax and NFT Royalty Fees.
Manual Review
feeTypes[6] and feeTypes[7] change basis point as total becomes 10000.
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.