You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, community
Is there any way to be able to batch burning with ERC721A implementation?
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
/**
* @dev Burns `tokenId`. See {ERC721A-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual override {
_burn(tokenId, true);
}
}
Cannot see any option (For example adding quantity and startTokenId instead of tokenId) similar with _beforeTokenTransfers
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
Only can burn one token at once?
The text was updated successfully, but these errors were encountered:
A quick look at the code suggests batch burns are currently not supported, and batch transfers are not implemented, but there is an open pull request regarding the feature:
Hey, community
Is there any way to be able to batch burning with ERC721A implementation?
Cannot see any option (For example adding quantity and startTokenId instead of tokenId) similar with _beforeTokenTransfers
Only can burn one token at once?
The text was updated successfully, but these errors were encountered: