Platform: Code4rena
Start Date: 14/10/2022
Pot Size: $100,000 USDC
Total HM: 12
Participants: 75
Period: 9 days
Judge: GalloDaSballo
Total Solo HM: 1
Id: 171
League: ETH
Rank: 51/75
Findings: 1
Award: $0.97
🌟 Selected for report: 0
🚀 Solo Findings: 0
0.9728 USDC - $0.97
Judge has assessed an item in Issue #323 as M risk. The relevant finding follows:
L00: _beforeTokenTransfer function called with wrong params in LBToken https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd803fc2abc9c5f57db93/src/LBToken.sol#L237
Line 237 seems to be a copy pasta mistake from line 209 in LBToken.sol. On line 237 when burning tokens, to should be zero, and amount of from's tokens of token type id will be burned, so it should be:
_beforeTokenTransfer(_account, address(0), _id, _amount); See the comments for the _beforeTokenTransfer function lines 310-315 in LBToken.sol.
#0 - c4-judge
2022-11-14T23:09:38Z
GalloDaSballo marked the issue as duplicate of #108
#1 - Simon-Busch
2022-12-05T06:35:55Z
Marked this issue as Satisfactory as requested by @GalloDaSballo