kleros / stake-curate

Curate with indefinite, capital-efficient stake.
8 stars 3 forks source link

Items could store arbitrary data #17

Closed greenlucid closed 2 years ago

greenlucid commented 2 years ago

you could pass optional arbitrary data to adding an item or editing an item it will be stored as a bytes harddata or chaindata are potential names for this the purpose is to (possibly) use stake curate for onchain storage (e.g. proof of humanity) for some use cases that need it, without having to create a separate contract to support it

greenlucid commented 2 years ago

Doing this will require emitting the harddata as event too, so that it can be fetched by the subgraph! also it must be taken into account for the edits (work on this before edits)