From cf7ca36b2b007a531465c87276a774d2153a1179 Mon Sep 17 00:00:00 2001 From: Steve Goodman Date: Thu, 14 Mar 2024 15:57:04 +0200 Subject: [PATCH 1/4] Add new topic on migrating from DAI v0 to DAI. --- components/Starknet/modules/tools/nav.adoc | 1 + .../tools/pages/dai_token_migration.adoc | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 components/Starknet/modules/tools/pages/dai_token_migration.adoc diff --git a/components/Starknet/modules/tools/nav.adoc b/components/Starknet/modules/tools/nav.adoc index fee7f4a9b1..55507a2f52 100644 --- a/components/Starknet/modules/tools/nav.adoc +++ b/components/Starknet/modules/tools/nav.adoc @@ -23,6 +23,7 @@ **** xref:starkgate-adding_a_token.adoc[Adding a token] **** xref:starkgate-cancelling a deposit.adoc[Cancelling a deposit] **** xref:starkgate-estimating_fees.adoc[Estimating StarkGate fees] +**** xref:dai_token_migration.adoc[Migrating DAI tokens on Starknet to the new DAI contract] *** xref:starkgate_function_reference.adoc[StarkGate function and event reference] * Important addresses diff --git a/components/Starknet/modules/tools/pages/dai_token_migration.adoc b/components/Starknet/modules/tools/pages/dai_token_migration.adoc new file mode 100644 index 0000000000..b3bb0ee653 --- /dev/null +++ b/components/Starknet/modules/tools/pages/dai_token_migration.adoc @@ -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 +[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. + +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 + +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. + + + From d13318d88b966789096bf3f30c95b6156f9a4411 Mon Sep 17 00:00:00 2001 From: Steve Goodman Date: Thu, 14 Mar 2024 18:18:32 +0200 Subject: [PATCH 2/4] SME comments + meta info --- components/Starknet/modules/tools/nav.adoc | 2 +- .../modules/tools/pages/dai_token_migration.adoc | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/components/Starknet/modules/tools/nav.adoc b/components/Starknet/modules/tools/nav.adoc index 55507a2f52..fe709ed573 100644 --- a/components/Starknet/modules/tools/nav.adoc +++ b/components/Starknet/modules/tools/nav.adoc @@ -23,7 +23,7 @@ **** xref:starkgate-adding_a_token.adoc[Adding a token] **** xref:starkgate-cancelling a deposit.adoc[Cancelling a deposit] **** xref:starkgate-estimating_fees.adoc[Estimating StarkGate fees] -**** xref:dai_token_migration.adoc[Migrating DAI tokens on Starknet to the new DAI contract] +**** xref:dai_token_migration.adoc[DAI Migration] *** xref:starkgate_function_reference.adoc[StarkGate function and event reference] * Important addresses diff --git a/components/Starknet/modules/tools/pages/dai_token_migration.adoc b/components/Starknet/modules/tools/pages/dai_token_migration.adoc index b3bb0ee653..f7175cb623 100644 --- a/components/Starknet/modules/tools/pages/dai_token_migration.adoc +++ b/components/Starknet/modules/tools/pages/dai_token_migration.adoc @@ -1,21 +1,20 @@ [id="dai_token_migration"] -= Migrating DAI tokens on Starknet to the new DAI contract += DAI Migration +:description: Migrating DAI v0 on Starknet to DAI on Starknet. +:keywords: Starknet DAI, DAI doesn't work on Starknet, New DAI on Starknet, Starknet new DAI -Following link:https://twitter.com/MakerDAO/status/1746977683190251591?s=20 -[Maker DAO’s announcement on Jan 25th], StarkWare launched a new DAI contract and bridge on Starknet. +Following link:https://twitter.com/MakerDAO/status/1746977683190251591?s=20[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. - 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 +== Migrate DAI v0 to DAI Use one of the following methods: From 6cc78d0811cc60000dd4b59ccdfb7361ae5b1449 Mon Sep 17 00:00:00 2001 From: Steve Goodman Date: Sun, 17 Mar 2024 14:02:55 +0200 Subject: [PATCH 3/4] Playing with title --- components/Starknet/modules/tools/nav.adoc | 2 +- .../Starknet/modules/tools/pages/dai_token_migration.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Starknet/modules/tools/nav.adoc b/components/Starknet/modules/tools/nav.adoc index fe709ed573..cafa05f57c 100644 --- a/components/Starknet/modules/tools/nav.adoc +++ b/components/Starknet/modules/tools/nav.adoc @@ -23,7 +23,7 @@ **** xref:starkgate-adding_a_token.adoc[Adding a token] **** xref:starkgate-cancelling a deposit.adoc[Cancelling a deposit] **** xref:starkgate-estimating_fees.adoc[Estimating StarkGate fees] -**** xref:dai_token_migration.adoc[DAI Migration] +**** xref:dai_token_migration.adoc[Migrating DAI v0 to DAI] *** xref:starkgate_function_reference.adoc[StarkGate function and event reference] * Important addresses diff --git a/components/Starknet/modules/tools/pages/dai_token_migration.adoc b/components/Starknet/modules/tools/pages/dai_token_migration.adoc index f7175cb623..158a874899 100644 --- a/components/Starknet/modules/tools/pages/dai_token_migration.adoc +++ b/components/Starknet/modules/tools/pages/dai_token_migration.adoc @@ -1,5 +1,5 @@ [id="dai_token_migration"] -= DAI Migration += Migrating DAI v0 to DAI :description: Migrating DAI v0 on Starknet to DAI on Starknet. :keywords: Starknet DAI, DAI doesn't work on Starknet, New DAI on Starknet, Starknet new DAI @@ -14,7 +14,7 @@ Maker DAO's DAI token on Starknet is written in Cairo0 and is not upgradeable. W 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 DAI v0 to DAI +.Procedure Use one of the following methods: From af69be7a82947b14477e4dd56af65659226130fa Mon Sep 17 00:00:00 2001 From: Steve Goodman Date: Sun, 17 Mar 2024 14:13:07 +0200 Subject: [PATCH 4/4] Added Ekubo and Layerswap as sample swap apps --- .../Starknet/modules/tools/pages/dai_token_migration.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/Starknet/modules/tools/pages/dai_token_migration.adoc b/components/Starknet/modules/tools/pages/dai_token_migration.adoc index 158a874899..d8191daa31 100644 --- a/components/Starknet/modules/tools/pages/dai_token_migration.adoc +++ b/components/Starknet/modules/tools/pages/dai_token_migration.adoc @@ -25,7 +25,10 @@ Use one of the following methods: + StarkGate automatically issues the new DAI. -* Swap your DAI v0 for DAI using an L2 swap app or aggregator within the Starknet ecosystem. +* Swap your DAI v0 for DAI using an L2 swap app or aggregator within the Starknet ecosystem, such as the following: +** link:https://www.layerswap.io/migration/DAI[LayerSwap] +** link:https://app.ekubo.org/?amount=1000&inputCurrency=DAI&outputCurrency=DAIv2[Ekubo] +