Open nrryuya opened 5 years ago
_removeTokenFrom is used in both burn and _doTransfer but it's not efficient because SSTORE executed twice in transfer.
_removeTokenFrom
burn
_doTransfer
https://github.com/LayerXcom/verified-vyper-contracts/blob/fca925befdc4c5c296c95e8df99db31426aeac48/erc721/ERC721.vy#L194
_removeTokenFrom
is used in bothburn
and_doTransfer
but it's not efficient because SSTORE executed twice in transfer.https://github.com/LayerXcom/verified-vyper-contracts/blob/fca925befdc4c5c296c95e8df99db31426aeac48/erc721/ERC721.vy#L194