-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add new topic on migrating from DAI v0 to DAI. #1181
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[id="dai_token_migration"] | ||
= Migrating DAI tokens on Starknet to the new DAI contract | ||
|
||
Following link:https://twitter.com/MakerDAO/status/1746977683190251591?s=20 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the preview, the link was not working, it was just there as text There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. |
||
[Maker DAO’s announcement on Jan 25th], StarkWare launched a new DAI contract and bridge on Starknet. | ||
|
||
The new DAI token and bridge are a part of StarkGate and compatible with StarkGate 2.0 features. | ||
|
||
You can withdraw old DAI tokens (DAI v0) without any limitation. Depositing using the DAI v0 bridge are disabled. You are encouraged to migrate to the new DAI token. You can use swap services on Starknet to swap DAI v0 for DAI. | ||
|
||
You are encouraged to migrate your old DAI (DAI v0) tokens for new DAI tokens. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be deleted, it is repeated There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
|
||
Maker DAO's DAI token on Starknet is written in Cairo0 and is not upgradeable. Without upgradability, it cannot support StarkGate's latest features, such as Smart Deposits and Withdrawal Limits, and over time it will stop being compatible with Starknet altogether (Regenesis). This means that a transition plan is necessary. | ||
|
||
On January 25th, StarkWare launched a new set of DAI bridge and token contracts under StarkGate, written in Cairo. This new DAI token will retain the same contract ’symbol’ and ’name’ as the existing one. To differentiate between the two on Apps and other UIs, we refer to the old DAI as “DAI v0” and the new DAI simply as “DAI.” | ||
|
||
|
||
== Migrate from v0 Starknet DAI tokens to new Starknet DAI tokens | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would prefer: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, but I think it would be better to be as specific as possible. The naming you chose might be appropriate for conversations and targeted communications, but this page will show up in search results, and it'll probably generate false positives if we don't specify that it's referring to Starknet. I'll add more details in the :description: metadata. |
||
|
||
Use one of the following methods: | ||
|
||
* Use StarkGate: | ||
+ | ||
. Withdraw your current DAI (DAI v0) to L1 using StarkGate | ||
. Re-deposit your L1 DAI using StarkGate. | ||
+ | ||
StarkGate automatically issues the new DAI. | ||
|
||
* Swap your DAI v0 for DAI using an L2 swap app or aggregator within the Starknet ecosystem. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @natan-granit Are there any more details than this? Is there an existing swap app or aggregator that we can point to? Or a page that lists all of them? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are at least 2 I know of - should we add and be responsible for changing in the future? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that we need to give some guidance. Are there, or do you think there will be, more than these two? Do you anticipate that these two will change? Is there a search term that we can suggest to locate apps like this? |
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets change the title to:
DAI Migration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Although I'm not thrilled. This topic the way it was originally written is more of an announcement. If we're adding it to technical documentation, telling people how to migrated, it should really be a procedural heading like other procedural headings that end with "ing".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About the title - I found the one you suggested a bit clumsy. Can you think of a compromise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "Migrating DAI v0 to DAI" for the topic title, and I'll change the procedure heading to "Procedure", like other Procedures?