Update SupportsInterface.behavior.js (#4674)

Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
NiftyMike
2023-12-19 08:14:25 -06:00
committed by GitHub
parent 44965d7779
commit f627500649
2 changed files with 2 additions and 1 deletions

View File

@ -896,7 +896,7 @@ function shouldBehaveLikeERC1155([minter, firstTokenHolder, secondTokenHolder, m
});
});
shouldSupportInterfaces(['ERC165', 'ERC1155']);
shouldSupportInterfaces(['ERC165', 'ERC1155', 'ERC1155MetadataURI']);
});
}

View File

@ -26,6 +26,7 @@ const SIGNATURES = {
'safeTransferFrom(address,address,uint256,uint256,bytes)',
'safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)',
],
ERC1155MetadataURI: ['uri(uint256)'],
ERC1155Receiver: [
'onERC1155Received(address,address,uint256,uint256,bytes)',
'onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)',