Should we update the naming for existing curation types? #85
Replies: 1 comment 1 reply
-
thx for getting this convo started @salieflewis. to adequately answer this, its also necessary to have a discussion about what is getting stored in the Listing struct Based on work from the various proof of concepts, I have a feeling that we should simplify the curation struct, remove the "curator" field which is redundant since the owner of the curation receipt token will always be the curator (since its issued to the minter + is soulbound) -- and potentially the curationTargetType field all together (which would mean we could skip the question about what the target types represent. the reasoning behind removing the curationTargetType is that it seems like we may be able to use offchain methods to interpret what a contract is (ex: the alchemy indexer returns whether a given contract is a 721 or 1155). the problem that arrises with this is that the same contract could be listed for different reasons (ex: assigned a different curationTargetType), and this would reduce the ability of generic clients to know how to renderer contracts without previous context. will leave it at that for now, and will also provide an attempt at explaining what the current curation types mean/should be used for, and offer any improvements that immediately come to my attention: CURATION_TYPE_GENERIC = 0; CURATION_TYPE_NFT_CONTRACT = 1; CURATION_TYPE_CURATION_CONTRACT = 2; CURATION_TYPE_CONTRACT = 3; CURATION_TYPE_NFT_ITEM = 4; CURATION_TYPE_WALLET = 5; |
Beta Was this translation helpful? Give feedback.
-
I'm looking over the curation types outlined in CurationStorageV1, and finding that all the types are not necessarily super intuitive. For instance, the first type, GENERIC, I'm not really too certain on what that means, it only really makes sense in the context of all the other types.
I'm proposing that we come up with simpler or more specific naming, as well as add comments above each type to describe when it should be used. I began this as a discussion rather than an issue because it'd be helpful to get some fresh eyes/opinions on this particular matter.
@projectmehari @0xTranqui @ioeylim
Beta Was this translation helpful? Give feedback.
All reactions