Platform: Code4rena
Start Date: 21/08/2023
Pot Size: $125,000 USDC
Total HM: 26
Participants: 189
Period: 16 days
Judge: GalloDaSballo
Total Solo HM: 3
Id: 278
League: ETH
Rank: 114/189
Findings: 1
Award: $45.32
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: juancito
Also found by: 0x3b, 0xmuxyz, 0xnev, ArmedGoose, Bauchibred, KrisApostolov, RED-LOTUS-REACH, Viktor_Cortess, ciphermarco, ginlee, ladboy233, mitko1111, nemveer
45.3151 USDC - $45.32
DeFi platforms must allow users to specify a slippage parameter: the minimum amount of tokens they want to provide during adding liquidity
https://github.com/code-423n4/2023-08-dopex/blob/eb4d4a201b3a75dd4bddc74a34e9c42c71d0d12f/contracts/reLP/ReLPContract.sol#L291-L292 0 is provided as slippage params which may lead to user loss of fund
Manual Review
Platforms should also provide a sensible default if the user doesn't specify a value, but user-specified slippage parameters must always override platform defaults.
Other
#0 - c4-pre-sort
2023-09-10T10:49:29Z
bytes032 marked the issue as low quality report
#1 - c4-pre-sort
2023-09-10T10:50:14Z
bytes032 marked the issue as duplicate of #1259
#2 - c4-pre-sort
2023-09-11T07:52:13Z
bytes032 marked the issue as sufficient quality report
#3 - c4-pre-sort
2023-09-11T07:53:15Z
bytes032 marked the issue as duplicate of #1032
#4 - c4-judge
2023-10-15T19:20:19Z
GalloDaSballo marked the issue as partial-50
#5 - GalloDaSballo
2023-10-15T19:21:09Z
Recommendation is wrong + content is off