Repository navigation
|
I have never seen this return false in other implementations. And the deployed validator contract function seadrop/src/ERC721ContractMetadata.sol Lines 300 to 307 in 347d58e |
Replies: 1 comment
|
Good catch, that was a bug. |
Good catch, that was a bug.
ITransferValidator721.validateTransferisviewand the token calls it with STATICCALL, so the ERC-721 contracts now returnisViewFunction = true: onmainin #196 and onv2in #195. Contracts deployed before then still reportfalse, but their transfers are validated the same way. The ERC-1155 contracts returnfalseon purpose:ITransferValidator1155.validateTransfertakes an amount and can reduce what's left to transfer, so it isn'tview.