EIP-1155 states the following about ERC1155Metadata_URI
extension:
The optional
ERC1155Metadata_URI
extension can be identified with the ERC-165 Standard Interface Detection.If the optional
ERC1155Metadata_URI
extension is included:
The ERC-165
supportsInterface
function MUST return the constant valuetrue
if0x0e89341c
is passed through theinterfaceID
argument.Changes to the URI MUST emit the
URI
event if the change can be expressed with an event (i.e. it isn’t dynamic/programmatic).
But we see that:
MembershipERC1155
does support the extension (IMembershipERC1155), and returns the required constant via supportsInterface
It does not emit the URI
event as required, when it's changed via function setURI:
ERC1155Upgradable#_setURI() function:
Which will break the specification
Protocols integrating with MembershipERC1155
may work incorrectly.
emit the URI
event as required if it has changed.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.