I suggest standartising the interface of having contractURI()
available first. perhaps adding ERC165 as dept.
It can have wide generic use within smart contracts itself (i.e. contracts distribution could collect multiuple URIs and return them as an array etc).
Later, you can always add on top of that extra layer of schemas per specific needs.
Going this path would allow to avoid increasing fragmentation in ethereum standards.
Merging my PR enables to propose it as dependency for ERC-4824: Common Interfaces for DAOs instead of having them having a separate daoURI
there which only creates fragmentation as there is no principle difference between a DAO smart contract returning it’s URI and a generic contract returning it’s URI.
Also perhaps it’s worth of adding address for the described contract to the return of contractURI
, allowing to support their case with registrator