Submitted by EPSec, also found by 0xhuh2005, BenRai, KupiaSec, rouhsamad, sl1, and typicalHuman
https://github.com/code-423n4/2024-12-secondswap/blob/214849c3517eb26b31fe194bceae65cb0f52d2c0/contracts/SecondSwap_Marketplace.sol#L240
The platform allows the buyFee and sellFee parameters for a vesting plan to be modified after a listing is created. This creates a significant issue in terms of transparency and predictability for users engaging in transactions.
Lets have the following scenario:
Consider two additional parameters to be added for the listing:
Also make the changes to the Listing struct and spotPurchase to use the correct fees.
TechticalRAM (SecondSwap) acknowledged
calvinx (SecondSwap) commented:
Koolex (judge) commented:
