{"componentChunkName":"component---src-pages-sccp-sccp-markdown-remark-frontmatter-sccp-tsx","path":"/sccp/sccp-264/","result":{"data":{"markdownRemark":{"fileAbsolutePath":"/vercel/path0/content/sccp/sccp-264.md","frontmatter":{"sip":null,"sccp":264,"title":"DAI Wrapper","network":"Ethereum & Optimism","author":"Kaleb (@kaleb-keny), Afif (@aband1)","type":"Governance","proposal":"https://snapshot.org/#/snxgov.eth/proposal/0x32ac4e8699e02d5f4d32c53b213f3666f693660f55abc8b6b50dff8600c7226b","implementor":null,"release":null,"created":"2022-12-16T00:00:00.000Z","updated":null,"status":"Implemented"},"html":"<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 SCCP.-->\n<p>This SCCP proposes to implement the following:</p>\n<p>Create DAI wrapper on ethereum by calling <a href=\"https://etherscan.io/address/0x02f9bC46beD33acdB9cb002fe346734CeF8a9480#writeContract\">createWrapper</a> with the following parameters:</p>\n<ul>\n<li>token: <code>0x6B175474E89094C44Da98b954EedeAC495271d0F</code></li>\n<li>currencyKey: <code>sUSD</code></li>\n<li>synthContractName: <code>SynthsUSD</code></li>\n</ul>\n<p>Set the parameters on ethereum and <a href=\"https://optimistic.etherscan.io/address/0xad32aa4bff8b61b4ae07e3ba437cf81100af0cd7#readContract\">optimism</a> DAI wrappers to the following:</p>\n<ul>\n<li><code>maxTokenAmount</code> 20m DAI</li>\n<li><code>burnFeeRate</code> 10 bp</li>\n<li><code>mintFeeRate</code> Peg (around 1%) and lower it gradually until we reach 25 bp in incremental steps</li>\n</ul>\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 variable change proposed.-->\n<ul>\n<li><code>createWrapper</code> creates a wrapper by assigning a mapping of synth to token.</li>\n<li><code>maxTokenAmount</code> is the maximum amount that can be wrapped with a designated token underlying.</li>\n<li><code>mintFeeRate</code> is the minting fee rate applied when wrapping a token to mint the equivalent synth.</li>\n<li><code>burnFeeRate</code> is the burning fee rate applied when unwrapping a token by burning the equivalent synth.</li>\n</ul>\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 SCCPs that want to update variables within Synthetix. It should clearly explain why the existing variable is not incentive aligned. SCCP submissions without sufficient motivation may be rejected outright.-->\n<p>The motivation behind this are as follows:</p>\n<ul>\n<li>Atomic swaps are getting little traction because of the scarcity of synths which is resulting in only small trades</li>\n<li>The imminent release of Perps v2 requires an abundant supply of synths to support robust volume</li>\n<li>Loans are not optimal at scaling, given the capital inefficiency and the need to manage collateralization ratio in case of sUSD loans</li>\n<li>SNX price decline has led to a major synth liquidity contraction.</li>\n<li>Fragmentation between L1/L2 liquidity adds more friction</li>\n<li>Fragmentation will only increase when sUSD/sETH are migrated to snxUSD/snxETH</li>\n<li>Incentives and bribes do not in principle increase the supply of synths</li>\n</ul>\n<p>It is important to mention that this is a temporary scaling solution and that DAI Wrappers will need to be unwound in the next 6 months in order to fully migrate to v3, hence unwind on V2x is a technical guarantee. Alternative scaling solutions would have materialized by then in the form of <a href=\"https://sips.synthetix.io/sips/sip-256/\">SIP-256</a> and on-boarding other collaterals such as ETH for issuance.</p>\n<h3 id=\"dai-unwind\" style=\"position:relative;\"><a href=\"#dai-unwind\" aria-label=\"dai unwind 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>Dai Unwind</h3>\n<p>The precise details of DAI unwind will be laid out when the pertinent v3 SIPs are ready for release, but it could take the following form:</p>\n<ul>\n<li>set DAI wrapper <code>burnFeeRate</code> to e.g. -5bps and limit to 0 DAI so it winds down in one direction</li>\n<li>allow snxUSD to be interconverted to sUSD</li>\n<li>this creates an arb to do: snxUSD > sUSD > DAI > sUSD > snxUSD</li>\n</ul>\n<p>Although this will cost the protocol, on the order of $100k, more than offset by the fees that will be earned while DAI is wrapped</p>\n<h3 id=\"further-scaling\" style=\"position:relative;\"><a href=\"#further-scaling\" aria-label=\"further scaling 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>Further Scaling</h3>\n<p>One final point, more scaling might be required, to be laid out in futures SCCP's, based the demand for sUSD and the peg. This will take the form of a combination of DAI and ETH wrapper capacity increases in order to control the skeweness of the debt pool.</p>\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":"bd959d04-f017-5d5a-b581-a78c17065a17","frontmatter__sccp":264,"__params":{"frontmatter__sccp":"264"}}},"staticQueryHashes":[]}