[RFC] RARE Staking: A novel mechanism for Curation, Reputation, and Discovery

Authors: Charles Crain, John Crain, Rohit Kapoor, Zach Kolodny, Brennan Mulligan, Kyle Olney, Jonathan Perkins

Summary

The objective of this post is to introduce and gather feedback on a token-based system for curation, reputation, and discovery that SuperRare Labs has been working on and believe that the DAO should adopt. In this post, we provide links to the resources that will help you learn more about Rare Staking, most notably: the whitepaper, the testnet alpha dapp, and the github repo. We’ll also describe what we think the next steps should be and the areas where we think community contribution is most needed.

What is RARE Staking?

As part of the RARE Protocol, we propose a novel cryptoeconomic system in which users stake on each other to signal reputation and support, creating a peer-to-peer network similar to a web of trust. The statefulness of this network generates an open dataset for participant reputation at scale, without the use of verified credentials or centralized intermediaries. We anticipate that data generated by this network will aid users in discovering relevant and reputable content, resulting in powerful network effects that transcend any individual marketplace and promote increased visibility for new and emerging creators.

Motivation

We are proposing this system because we believe it will significantly enhance the utility of the RARE token and improve our current systems for decentralized curation. How exactly this system should be implemented as a consumer product and integrated into interfaces like SuperRare.com is an active area of discussion, and we are eager to gather feedback on both the protocol and how it should be used. The purpose of this post specifically is to gather feedback on the new cryptoeconomic system behind RARE Staking and serve as a jumping off point for further discussion and governance proposals.

Resources:

Below is a list of the most important resources relating to this initiative.

  • Rare Staking Whitepaper
    • This document provides the technical specification of how the protocol operates, and provides context on its mechanism design, parameter optimization, and potential applications
  • Code repo
    • This repo contains all of the smart contracts within the staking protocol and is open sourced. Please feel free to read through the code and provide feedback.
  • Alpha dapp
    • We partnered with Protofire to research and develop a basic front end for interaction with the staking protocol. Currently, it is pointed to staking contracts that have been deployed on Goerli.
    • Please experiment with the alpha dapp and submit any bugs or UX improvements here, please direct any questions to the discord below.
    • In order to use the app you’ll need to use these faucets for Goerli Eth and Goerli RARE
  • Discord
    • While long form feedback should be posted to this or other threads in the forum, we have also spun up a discord server for users and contributors to jam in real time as we work on the protocol and the alpha dapp.

How to get involved

This is a wide reaching initiative and there are many opportunities for the community to get involved. I’ve highlighted four primary areas below, but if you have any additional ideas, questions, or feedback, please do not hesitate to share your thoughts.

  • Tell us what you think
    • Do you feel this is useful and something that the DAO should adopt? Do you see risks that aren’t being accounted for? Putting our brains together will ultimately make the end result stronger.
    • After reading the whitepaper and experimenting with the prototype, please post on the forum or hop in the discord to share your thoughts!
  • Contribute to the protocol
  • Parameter optimization and modeling
    • Much of the model calibration to date has been based on experimentation and high level mechanism design considerations. The development of robust models for parameter optimization and the visualization of tradeoffs would be extremely valuable. Details about parameter optimization tradeoffs can be found in the “Configurable Parameters” section of the whitepaper.
  • Building systems on top of staking data
    • If staking is adopted, we will have access to a massive dataset that can be used to develop sybil-resistant reputation metrics, recommendation engines, and other constructs that increase discoverability and unlock possibilities for further protocol and product development. If you have ideas for integrations or thoughts on where this could go, please share them in the forum and on discord.

What to expect

As we gather feedback over the coming weeks, we will be working on two SIPs:

  1. One SIP to propose the DAO take ownership of the RARE Staking contracts and deploy them to mainnet.
  2. Another proposing a modification of the bazaar such that a portion of the network fee from each sale is diverted away from the DAO treasury and into the the seller’s RARE pool, if one exists, as compensation for the curation data generated by the pool.

After these initial proposals are brought forward, we are committed to working with the community and technical contributors to improve, maintain, and build on top of the protocol. This is just the beginning!

14 Likes

For further reading, check out this SuperRare blog post that dives more into the benefits for curation, reputation and discovery (with a mintable NFT at the bottom :slight_smile: )

6 Likes

Stoked to see this proposal live and up for discussion.

Staking $RARE is a no brainer - especially with relation to the wider precedent it sets for adding incentives for collectors to more deeply participate in the artist economies they love.

I would encourage a summarized one-pager of the exact mechanics for how staking will work in the SIP - as to make it easier to digest for people who don’t have the full attention to read the whitepaper.

The staking alpha and demo video are also great resources to quickly get caught up on how staking will work.

Personally strongly in favor of this implementation and look forward to voting on the SIP!

6 Likes

Great idea about the summary 1 pager. I can work on something like that.

1 Like

Long time lurker, first time poster.

As a governance geek - and someone researching reputation actively - this is promising work with broad applicability.

Just a quick comment about Sybil-resistant reputation. The concern is that advanced and sometimes extremely overt washtrading is a reality in NFT trading, with “deleterious effects”. The level of sophistication we see in the OpenData Community on the part of some attackers of public goods funding is also worth considering.

We have seen thousands of wallets spun up and put through their paces - such as tying into different pre-created Twitter spaces and obscuring their initial funding through complex networks and/or blenders - all in order to manipulate public goods funding at Gitcoin and otherwise, essentially stealing matching funds and influencing the perceived reputation of often shell grantees, thereby encouraging even more donations to scammers from those of us just trying to fund tree planting or other initiatives.

The good news is that there are non-profit communities building open-source algorithms and training data analysts that may be able to help such as the OpenData Community.

Anyway - I’m personally hopeful that the staking & staked list primitives become examples of how to enable decentralized curation, which has massive potential across many ecosystems and markets.

5 Likes

Yea sybil considerations are super important. Would love to get some input from OpenData!

1 Like

Hey @epowell101 great to see you on here!

I totally agree. I think that making sure reputation data is sybil resistant should be a major priority for the DAO because it significantly increases what we can responsibly do with the data that the system produces.

There are a lot of lessons for us to learn from the work you guys are doing and I look forward to seeing how the sybil resistant methods Open Data Community and others are developing can be applied here.

I see the problem of sybil resistance in quadratic funding and RARE Staking as closely related. In either case it’s about defending the community’s ability to curate a shared resource - matching funds for Gitcoin / QF and collective attention for RARE Staking.

For those curious, we allude to some of this pre-existing work and highlight the challenges/opportunities around sybil resistance in the “Reputation” and “Reputation-Based Incentives” sections of the whitepaper.

Once you combine sybil-resistant reputation signals with the power of staked lists for curation & discovery, things could start to get REALLY interesting!

3 Likes

I think there are high costs and humble returns to the value that could be extracted. A sybil attacker would still need to align in some way with the quality of a seller in order to be systematically rewarded for it. Or they’d have to conspire as well on the side of the marketplace sale- where the amount they receive would be less than the fee taken from that sale.

We benefit from a system design where the act of staking is not that tightly coupled with getting paid. More like a prediction market, where your ability to align your stake with reality is what gets you paid.

There’s certainly nefarious corruption that could be done to just a reputational ranking for the simple sake of just screwing with people. And people do like to screw with people. But it would be at high cost with little promise of any financial return.

5 Likes

Hey, Juan here, i worked on the alpha version of the web app. Happy to contribute with feedback about the protocol. I have a couple of ideas that i’ll be posting in the forum for us to discuss.

4 Likes

Amazing project! From Protofire side, we can say we are happy to have been able to contribute to making this project a reality and to be part of this community (because of course, we already feel part of it!) :100: :dizzy:
We hope that we can continue to help this initiative grow with all the ideas we have :boom:

3 Likes

Excellent points. It’s very easy to get lost in the homo economicus mindset in mechanism design, so your framing around the social dynamic of just fucking with people is really important to keep in mind.

Saying “I believe this person is going to sell art” is not necessarily the same as saying “I believe this person is reputable”. I believe the ideal state of the system is one in which the genuine expression of trust and preference is an identifiable / rewardable action, and being the target of such expressions is a real signal of good standing within the community which targets are incentivized to maintain.

I think its worth exploring how off-chain analysis of the raw on-chain state can help create more resilient and reliable signals coupled to the authentic expression of trust and preference between network participants. Without such systems, we are bound to the diversion of fees from selling art as the primary incentive mechanism. This works because, to a degree, the market does not lie. However, marketplace activity is clearly not the whole picture. Experimenting with multiple approaches to analyzing and interpretting on-chain data may produce significant opportunity for us to create a more holistic incentive structure that better matches the multi-faceted nature of what reputation looks like in real life.

As a very early example, the Reputation Based Incentives section of the whitepaper discusses how maintaining good standing could be incentivized in the presence of resilient and robust reputation signals which filter noise such as whale games, self-promoting sybil attacks, and “just fucking with people”.

3 Likes

Will this help the artists without a strong network effect yet or just boost the well known artists even more?
After thinking about it I think that it might. If an artist has one strong collector willing to stake all of their RARE on that one artist it might raise their profile. But that artist does sell something the one collector in the pool would gain large benefits.
What if the collector puts all their RARE into a pool that they create and then they buy art from that artist? Would this give them an additional incentive to buy art from that artist?

First-time poster in the SuperRare community. I agree with @epowell101 about the need for sybil defense to make this system capable of richly expressing the desire of the community.

As the Fraud Detection & Defense workstream lead for Gitcoin for 2 years, I’m acutely aware of the issues this can cause. If there are incentives available, you must assume that they will be farmed. It’s not “if”, but rather “when” and “how much”.

It would be great to see sybil defense from day 1 of this protocol. The community should recognize the tradeoffs presented by the different methods available.

There is the Gitcoin Passport, which can stop most bots and give weight to quality users. Unfortunately, the tradeoff is that newbies have a hard time participating and the stamps are inherently biased which can compound systemic inequality over time. It is a great product but requires a balance provided through behavioral analysis and retroactive sybil discounting.

There is continuous research & development happening in the Open Data Community. There are multiple open-source behavioral analysis “legos” available that are focused on the quadratic funding signals from a wallet’s history. In order to develop and maintain this system, it would require some understanding of the SuperRare staking specific attack vectors. Then we would need to know if real-time detection would be required.

Using account abstraction, a company like TrustaLabs could provide infra for implementing real-time detection at scale.

I’d recommend doing a discovery project to understand the exact needs of SuperRare staking to create a comprehensive solution and/or mitigation strategy. Without it, the odds of success for this project are lower than need be.t

4 Likes

I think to some degree yes- but how much depends a lot on the percent of fee from a sale gets forwarded to that pool. And I imagine these forces would balance each other out.

For artists big enough to make huge sales and thus large rewards sent to the pool- it will be tough to be be the only staker in the pool. For lesser known artists- Being the sole staker could be be a good strategy, but the rewards would be smaller.

If a collector is both the staker, and the buyer- it’d be similar to like a 1% (or whatever the percent is) cashback on their purchase. Which yeah- might be motivating for some.

My first impressions after reading the Mirror post and the White paper (did not tried the alpha dapp so far).

As a general comment, I like this clever idea and I endorse its implementation. I share some questions, observations, and potential problems below for the sake of improving it.

Mirror post

  • “A rarity pool is a smart contract in which a $RARE holder locks up tokens to signal support for another actor in return for rewards from their future sales.”
    • Problem: The main problem here is the skewness of RARE distribution. As we all know, the large bulk of RARE is held by few addresses. As of today (8 June 2023), among the 8837 RARE token holders, the top 100 holders (1.1%) collectively own 93.93% of the supply of RARE (data provided by Etherscan). Be aware that any reputation system based on such an asymmetric distribution is going to inherit the same bias. Furthermore, RARE is a fungible token that can be bought, sold, and transferred: owning a large amount of tokens is not a signal of an important contribution by the owner within the SuperRare ecosystem, including the SR DAO. The risk is to create a “reputation” network in which whales are endorsing blue chip artists. Such a network would not add any new entropy to the system. In general, I think that reputation has nothing to do with money (hence with fungible tokens).
    • Question: why would the actor want to distribute part of the earnings from its sales? I see boosting visibility as the only answer, but probably I am short-sighted here.
  • “The Rarity Pool token economics are as such that, the smaller a pool is when a new member stakes, the greater the rewards they’ll receive whenever that pool recognizes a sale. Thus, stakers are incentivized to search out undervalued or undiscovered actors for whom they can increase both reputation and pool rewards.”
    • Observation: This might mitigate the above described Mathew effect (aka the rich gets richer).
  • “If a specific pool is sizable with known participants staking in it, one can assume that this address belongs to a known and/or reputable actor. If a pool has little or no stake, or is staked on only by unknown actors, then the social reputation of that address is significantly lower.”
    • Observation: This is interesting and closely resembles ‘eigenvector centrality’, a popular centrality measure used in network science, akin to Google’s PageRank algorithm. See for instance PageRank: Standing on the shoulders of giants. The definition of reputation becomes recursive - is defined in terms of itself (like Escher’s Drawing hands)
    • Observation: The network links encode three interesting information: who stakes on who, how strongly they stake, and for how long (one can stake/unstake at any time). The temporal information (how long) is promising: all else equal, an actor that is being staked by stable stakers should have higher reputation than another one being staked by volatile stakers (akin to Conviction voting, in fact).
  • "The Staked List of a prominent artist or collector – say, Jason Bailey, or Diewiththemostlikes – then becomes visible to all network participants and a source of insight for keen observers to browse.
    • Problem: Once again, popularity is attractive, and the Mathew effect is lying in wait. Essentially, the risk is that I stake on X because Jason Bailey did. Not very interesting.

White paper

  • Bonding curve equation: “This function contains two coefficients which are meant to shape the bonding curve and prevent precision loss. Their current values are a = 2 * 10^28 and b = 10^13”.
    • Question: What is precision loss? Be warned, implementing complex math formulas (like those defining bonding curves) in Solidity is gas expensive and becomes very complicated very quickly (Solidity does not support real numbers). Moreover, how have been the parameter values for a and b chosen?
  • Reputation: “Such a score could be calculated using a model similar to quadratic funding, which imposes a cost of conviction such that 100 people staking 1 RARE would generate a larger signal than 1 person staking 100 RARE.”
    • Problem: The issue here is of course sybil attack, both hard and soft. By soft sybil attack I mean different but highly correlated stakers staking on the same pool. Vitalik Buterin proposes to detect and discount correlation among voters in QF. A similar approach might be applied here for stakers in rarity pools: given a large enough network, it is relatively simple to compute a similarity metric among nodes (actors) of the network. If a pool is staked by clustered (very similar) actors, the acquired reputation might be diminished, since “such a staking group is more likely to be a group of Souls who are making the same error in judgment or who share the same bias”. In other terms, all else equal, the more diverse are the stakers, the higher the accrued reputation by the staked pool.
3 Likes

8837 RARE token holders, the top 100 holders (1.1%) collectively own 93.93% of the supply of RARE

Keep in mind this includes exchanges, and un-circulating tokens like the dao treasury.

If you remove all those it’s more in the range of the top 100 addresses hold 20% of total RARE, and 50% of RARE in circulation.

Question: why would the actor want to distribute part of the earnings from its sales? I see boosting visibility as the only answer, but probably I am short-sighted here.

It wouldn’t come out of the seller’s portion. It would come out of the fee already being collected.

1 Like

Anyway, 1% of the top addresses holding 50% of circulating supply is still a lot. The distribution is highly skewed.

1 Like

@hex6c thanks much for the thoughtful comments!

One note on the point of token distribution – one of the reasons I’m most excited about this system is that it’s actually a really good token distribution mechanism itself. Short of airdrops or selling artworks for RARE, there hasn’t been a good way to accrue the token so far.

All rewards in the system are paid out in RARE, so for active network participants, this could become a powerful and organic token accrual system, which benefits the whole network. Rewards are not based on how much token weight you stake, but rather the percentage of the pool you have – so a staker can potentially claim 100% of the rewards by staking a single token.

Also, the largest current holder is still the community treasury, of which I’m hopeful a meaningful portion can be allocated to bootstrap the staking program with extra tokens (e.g. for the first 6-12 months, active stakers and stakees could get a proportional RARE drip from a treasury allocation).

2 Likes

Hex6c!

So pumped you hopped in here with your questions. These are the meaty ones we like (steak pun intended).

The precision loss is because Solidity lacks support for decimals; this limitation necessitates a workaround where numbers are scaled up significantly to avoid precision loss, thus, the very large numbers.

You’re absolutely correct that implementing complex mathematical formulas in Solidity will be gas expensive and considerably complicated. However, after testing the implementation found here we found it to be very gas efficient, only about 530 gas when performing sqrt(10^45) which is likely to be on the upper bound supplied. I’m happy to supply some test code if you’re interested in trying it yourself!

As for the parameters, they were chosen through trial and error, attempting get the behavior we wished.

Parameter a increases the impact of the amount staked in relation amount of synthetic rare (xRARE) purchased. The greater the value for a the greater the amount of synthetic rare returned. We chose to make it pretty large to make sure the square root was less likely to get to a number where the solidity would begin truncating values because of the inability to support decimals.

Parameter b scales the amount being purchased. If it is too small, we would begin dealing with very large amounts of xRARE very quickly thus giving way too strong of an edge to early buyers and punishing late comers faster than we wish. If it’s too large, the amount would grow too slowly and there wouldn’t be a much of an advantage to joining a pool early.

Again, all of these were done through trial and error and some simple graphing. Graphing with the extremely large numbers made it difficult with the tools at hand but I’d be very keen to get someone with more skills in this realm to provide feedback on the chosen values.

Please let me know if I can elaborate more or if you see any issue with my points!

2 Likes

Sounds like a great idea if you can prevent abuse

However, can I ask how artists not currently listed on SR will be able to get on. There are plenty I would stake who aren’t accepted, and I would guess it would be even harder to find them after these changes? Will there be a nomination system (by staking even) so that the current crop isnt dictated by a centralised few.

I know there are spaces but most of those are very expensive for the artist and don’t provide much help to them either AND are gated with the similar biases etc in most cases.