Floor aims to create a fully onchain governance mechanism for sweeping and deploying NFTs to profitable NFT-Fi strategies as well as seeding liquidity for its own NFT-Fi products.
We advise the code to properly emit the recipient value as the last argument of the Withdraw event, ensuring off-chain processes properly track and credit the withdrawal events.
NFX-02M: Incorrect Event Argument
Description:
The
Withdraw
event is expected to emit therecipient
of the withdrawal as its third argument, however, themsg.sender
is specified instead.Example:
Recommendation:
We advise the code to properly emit the
recipient
value as the last argument of theWithdraw
event, ensuring off-chain processes properly track and credit the withdrawal events.