Platform: Code4rena
Start Date: 09/12/2022
Pot Size: $90,500 USDC
Total HM: 35
Participants: 84
Period: 7 days
Judge: GalloDaSballo
Total Solo HM: 12
Id: 192
League: ETH
Rank: 44/84
Findings: 1
Award: $165.62
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: 0xA5DF
Also found by: 0x4non, 0xmuxyz, 8olidity, HollaDieWaldfee
165.6217 USDC - $165.62
https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/GovNFT.sol#L101 https://github.com/code-423n4/2022-12-tigris/blob/main/contracts/BondNFT.sol#L336
The NFT may get stuck in the contract that does support ERC721.
_transfer()
function is used for ERC721 in the following lines:
There are certain smart contracts that do not support ERC721, using _transfer()
may result in the NFT being sent to such contracts.
This lead to that the NFT may get stuck in the contract that does support ERC721.
_safeTransfer()
instead of using _transfer()
for ERC721.
https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#ERC721-_safeTransfer-address-address-uint256-bytes-#0 - c4-judge
2022-12-20T15:54:15Z
GalloDaSballo marked the issue as duplicate of #356
#1 - c4-judge
2023-01-22T17:46:42Z
GalloDaSballo marked the issue as satisfactory