LendingPool
contract attempts to receive NFTs from users in depositNFT
function using safeTransferFrom()
:
However, the contract does not implement required onERC721Received
function to handle NFTs. When safeTransferFrom()
is called, it checks if the recipient contract implements this function by trying to call onERC721Received()
. Since LendingPool
doesn't implement it, all NFT deposit attempts will revert.
This creates a critical issue where the core NFT deposit functionality of the protocol is completely broken - users cannot deposit their NFTs into the lending pool.
Core protocol functionality (NFT deposits) is completely broken
Users cannot use their NFTs as collateral
Protocol cannot generate any lending activity
Affects all users trying to deposit NFT
Add onERC721Received()
to LendingPool
contract
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.