{"componentChunkName":"component---src-pages-sips-sip-markdown-remark-frontmatter-sip-tsx","path":"/sips/sip-70/","result":{"data":{"markdownRemark":{"fileAbsolutePath":"/vercel/path0/content/sips/sip-70.md","frontmatter":{"sip":70,"sccp":null,"title":"Automated weekly trading competition","network":"Ethereum","author":"Danijel (@dgornjakovic)","type":"Governance","proposal":null,"implementor":null,"release":null,"created":"2020-05-04T00:00:00.000Z","updated":null,"status":"Rejected"},"html":"<!--You can leave these HTML comments in your merged SIP and delete the visible duplicate text guides, they will not appear and may be helpful to refer to if you edit it again. This is the suggested template for new SIPs. Note that an SIP number will be assigned by an editor. When opening a pull request to submit your SIP, please use an abbreviated title in the filename, `sip-draft_title_abbrev.md`. The title should be 44 characters or less.-->\n<h2 id=\"simple-summary\" style=\"position:relative;\"><a href=\"#simple-summary\" aria-label=\"simple summary permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Simple Summary</h2>\n<!--\"If you can't explain it simply, you don't understand it well enough.\" Provide a simplified and layman-accessible explanation of the SIP.-->\n<p>The basic idea is adding weekly trading rewards to attract new traders to <a href=\"https://synthetix.exchange/\">https://synthetix.exchange/</a> as well as to encourage SNX minters to actively trade their synths on the exchange.\nUltimately, the goal is constant growth in exchange usage and volume.</p>\n<h2 id=\"abstract\" style=\"position:relative;\"><a href=\"#abstract\" aria-label=\"abstract permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Abstract</h2>\n<!--A short (~200 word) description of the technical issue being addressed.-->\n<p>The idea of staking SNX was always to be profitable based on trading fees distributed to stakers.\nAs an intermediate incentive to encourage staking until the exchange achieves mass adoption Synthetix has introduced inflation rewards.\nThis proved to be an excellent incentive, and currently those weekly inflation rewards are the dominant reason ~ 87% SNX is staked.\nThe weekly sUSD fees represent pennies on the dollar for stakers, and in most cases dont even justify the gas price to claim them.</p>\n<h2 id=\"motivation\" style=\"position:relative;\"><a href=\"#motivation\" aria-label=\"motivation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Motivation</h2>\n<!--The motivation is critical for SIPs that want to change Synthetix. It should clearly explain why the existing protocol specification is inadequate to address the problem that the SIP solves. SIP submissions without sufficient motivation may be rejected outright.-->\n<p>It was always clear that inflation is not the longterm solution to attract and keep stakers, or at least it can not suceed by itself.\nAfter a year of building a great community of stable stakers and getting the exchange features to the sufficient quality and diversity (in terms of synths available) level, it is time to aim for mass adoption.</p>\n<p>A good starting point to build exposure and attract new traders is to introduce a rewards system encouraging trades.\nThe idea is to divert (invest) some fees or inflation to reward top traders taking into account both the success of the trades, but also the volume they created on a weekly level, thus encouraging active trading.</p>\n<h2 id=\"specification\" style=\"position:relative;\"><a href=\"#specification\" aria-label=\"specification permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Specification</h2>\n<!--The technical specification should describe the syntax and semantics of any new feature.-->\n<p>The idea is to build this rewards system by making it as simple and as seamless for traders as possible.</p>\n<p>The rewards should be weekly, either on a Monday-Sunday level, or following the existing staking snapshots.</p>\n<p>We would define three categories for rewards depending on the weekly generated trading volume of a wallet:</p>\n<ul>\n<li>Whale - 10k+</li>\n<li>Dolphin - 1k to 10k</li>\n<li>Shrimp - 100 to 1k</li>\n</ul>\n<p>The only thing that the traders need to do to be eligible for weekly rewards is to trade at list 100sUSD worth of weekly volume.\nAll whales are eligible for dolphin rewards, if they haven't won any rewards in their primary tier.\nSame applies to dolphins in regards to shrimps.</p>\n<p>Suggested rewards in SNX per category for first 3  (5 for shrimps) places are:</p>\n<ul>\n<li>Whale: 3000, 2000, 1000</li>\n<li>Dolphin: 1000, 700, 500</li>\n<li>Shrimp:500, 300, 200, 100, 50</li>\n</ul>\n<p>Total: 9.35k\nThe boost in volume required to justify the funds spent on rewards: 3 million</p>\n<p>As already explained, the idea is to have this system working seamlessly for the traders.\nThat means that they dont need to worry about disqualifications, as there would be none.\nTraders are free to do with their wallets as they wish, meaning they can add or remove synths at any time.</p>\n<p>As the motivation is to boost trades, for rewards ranking the fees generated by a wallet will be added as its gain.\nIn addition, there will be a bonus <strong>trading quotient</strong>  based on how much volume the wallet has divided by the category threshold, up to 10%.</p>\n<p><strong>Wallet start balance</strong> is the value of his synths at the starting block per oracle prices at that block.\nIf during the week, the wallet adds new synths, their value at the block in which they were added is added to the starting balance.</p>\n<p><strong>Wallet end balance</strong> is the value of the synths at the ending weekly block plus the fees the wallet generated during the week (as we dont want to penalize traders in the rewards system).\nIf during the week, the wallet moves away some synths, their value at the block in which they were moved is added to the end balance.</p>\n<p>The percentage weekly gain is: ((endBalance+feesGenerated)<em>tradingQuotient-startBalance)/startBalance.\nWhere tradingQuotient=tradeVolume</em>0.01/tierThreshold+1\nMaximum value of the tradingQuotient is 1.1 (10%).</p>\n<h2 id=\"rationale\" style=\"position:relative;\"><a href=\"#rationale\" aria-label=\"rationale permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Rationale</h2>\n<!--The rationale fleshes out the specification by describing what motivated the design and why particular design decisions were made. It should describe alternate designs that were considered and related work, e.g. how the feature is supported in other languages. The rationale may also provide evidence of consensus within the community, and should discuss important objections or concerns raised during discussion.-->\n<p>Alternative solution was embedding a fortnightly trading competition as it was organized before into the exchange itself and having onchain registration and rewards claims.\nThis means more implementation effort as well as more actions for traders who would then have to worry about creating a clean (sUSD only) wallet to begin with, as well as worrying about disqualifications.</p>\n<p>In trading competitions as they were organized before, traders would think very hard about changing their positions, taking into account that 0.3% is deducted from every trade.\nAs we want to maximise the number and volume of trades, this should not be deducted from the gain in the ranking system.</p>\n<h2 id=\"test-cases\" style=\"position:relative;\"><a href=\"#test-cases\" aria-label=\"test cases permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Test Cases</h2>\n<!--Test cases for an implementation are mandatory for SIPs but can be included with the implementation..-->\n<h3 id=\"simple-case-dolphins\" style=\"position:relative;\"><a href=\"#simple-case-dolphins\" aria-label=\"simple case dolphins permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Simple case dolphins</h3>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>Start balance</th>\n<th>End balance</th>\n<th>Trading volume</th>\n<th>Fees generated</th>\n<th>Balance+Fees</th>\n<th>Bonus(%)</th>\n<th>Balance with bonus</th>\n<th>Gain</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>John</td>\n<td>1000</td>\n<td>2000</td>\n<td>9000</td>\n<td>27</td>\n<td>2027</td>\n<td>9</td>\n<td>2209.4</td>\n<td>120.9%</td>\n</tr>\n<tr>\n<td>Paul</td>\n<td>2000</td>\n<td>3500</td>\n<td>3000</td>\n<td>9</td>\n<td>3509</td>\n<td>3</td>\n<td>3614.3</td>\n<td>80.7%</td>\n</tr>\n<tr>\n<td>Jane</td>\n<td>1000</td>\n<td>1500</td>\n<td>1000</td>\n<td>3</td>\n<td>1503</td>\n<td>0</td>\n<td>1503</td>\n<td>50.3</td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"case-with-synths-addedremoved-dolphins\" style=\"position:relative;\"><a href=\"#case-with-synths-addedremoved-dolphins\" aria-label=\"case with synths addedremoved dolphins permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Case with synths added/removed dolphins</h3>\n<p>Lets reuse the example above but imagine John has moved sETH from his wallet during the week.\nAt the block in which it was moved, this sETH was worth 200sUSD.\nHis starting balance will stay the same, but we will add those 200sUSD to his end balance as to correctly calculate the gain.</p>\n<p>Lets also imagine Paul has added 100sLink during the week. At the block in which they were added sLink price was 4sUSD, so 400sUSD is added to his starting balance.\nAs the price of sLINK has risen and is worth 5sUSD at the end of the week, his ending balance is increased by 500sUSD;</p>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>Start balance</th>\n<th>End balance</th>\n<th>Trading volume</th>\n<th>Fees generated</th>\n<th>Balance+Fees</th>\n<th>Bonus(%)</th>\n<th>Balance with bonus</th>\n<th>Gain</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>John</td>\n<td>1000</td>\n<td>2000</td>\n<td>9000</td>\n<td>27</td>\n<td>2027</td>\n<td>9</td>\n<td>2209.4</td>\n<td>120.9%</td>\n</tr>\n<tr>\n<td>Paul</td>\n<td>2400</td>\n<td>4000</td>\n<td>3000</td>\n<td>9</td>\n<td>4009</td>\n<td>3</td>\n<td>4129.3</td>\n<td>72.05%</td>\n</tr>\n<tr>\n<td>Jane</td>\n<td>1000</td>\n<td>1500</td>\n<td>1000</td>\n<td>3</td>\n<td>1503</td>\n<td>0</td>\n<td>1503</td>\n<td>50.3%</td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"case-with-whale-winning-rewards-in-dolphin-cateogry\" style=\"position:relative;\"><a href=\"#case-with-whale-winning-rewards-in-dolphin-cateogry\" aria-label=\"case with whale winning rewards in dolphin cateogry permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Case with whale winning rewards in dolphin cateogry</h3>\n<p>Now if John wanted to continue trading once he reached 9999sUSD trading volume, he might feel discouraged as he loses his current trading bonus.\nThis is why all whales will still be considered in the dolphin category, provided that they didnt win any prizes in the whale category.</p>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>Start balance</th>\n<th>End balance</th>\n<th>Trading volume</th>\n<th>Fees generated</th>\n<th>Balance+Fees</th>\n<th>Bonus(%)</th>\n<th>Balance with bonus</th>\n<th>Gain</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>John</td>\n<td>1000</td>\n<td>2000</td>\n<td>11000</td>\n<td>33</td>\n<td>2033</td>\n<td>10</td>\n<td>2236.3</td>\n<td>123.6%</td>\n</tr>\n<tr>\n<td>Paul</td>\n<td>2400</td>\n<td>4000</td>\n<td>3000</td>\n<td>9</td>\n<td>4009</td>\n<td>3</td>\n<td>4129.3</td>\n<td>72.05%</td>\n</tr>\n<tr>\n<td>Jane</td>\n<td>1000</td>\n<td>1500</td>\n<td>1000</td>\n<td>3</td>\n<td>1503</td>\n<td>0</td>\n<td>1503</td>\n<td>50.3%</td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"implementation\" style=\"position:relative;\"><a href=\"#implementation\" aria-label=\"implementation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Implementation</h2>\n<!--The implementations must be completed before any SIP is given status \"Implemented\", but it need not be completed before the SIP is \"Approved\". While there is merit to the approach of reaching consensus on the specification and rationale before writing code, the principle of \"rough consensus and running code\" is still useful when it comes to resolving many discussions of API details.-->\n<p>The SIP is written with the idea to minimize the implementation effort, thus requiring no on-chain computations.\nThe effort resides in reading the data correctly off chain and creating the leaderboard page on the synthetix exchange.</p>\n<p>Rewards distribution can be done manually in the trial period.</p>\n<h2 id=\"configurable-values-via-sccp\" style=\"position:relative;\"><a href=\"#configurable-values-via-sccp\" aria-label=\"configurable values via sccp permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Configurable Values (Via SCCP)</h2>\n<!--Please list all values configurable via SCCP under this implementation.-->\n<ul>\n<li>Rewards quantity - suggested 9350 weekly SNX</li>\n<li>Rewards source - grants DAO</li>\n<li>Rewards distribution per category</li>\n<li>Category thresholds</li>\n</ul>\n<h2 id=\"copyright\" style=\"position:relative;\"><a href=\"#copyright\" aria-label=\"copyright permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Copyright</h2>\n<p>Copyright and related rights waived via <a href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0</a>.</p>"}},"pageContext":{"id":"ba70b11d-9275-5a21-a8bb-787bf2514c59","frontmatter__sip":70,"__params":{"frontmatter__sip":"70"}}},"staticQueryHashes":[]}