From 02a088ee40f08c6b9265aeeaf0fff8526fa7ed0a Mon Sep 17 00:00:00 2001 From: excaliborr <124819095+excaliborr@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:32:29 -0400 Subject: [PATCH 1/5] docs: adjust deployment diagram (#152) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 🤖 Linear Closes OPT-XXX --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 79577b0..f68a952 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ _`L2OpUSDCBridgeAdapter`_ - Contract that allows for the transfer of USDC from t ## L1 → L2 Deployment -![image](https://github.com/user-attachments/assets/1ec286f6-87ae-4b08-8086-ee8077a36ae3) +![image](https://github.com/user-attachments/assets/cc88f1df-f699-490d-aaa9-e4d2e02f28a9) ## L1 → L2 USDC Canonical Bridging From 0e0f50ba551883c05c51cf51fd6797dad18cfdcb Mon Sep 17 00:00:00 2001 From: Zain Bacchus Date: Tue, 3 Sep 2024 09:41:49 -0700 Subject: [PATCH 2/5] docs: Clarify deposit/withdraw flow Adding additional context to deposit/withdraw flow based on feedback from chain operators --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index f68a952..a9b46e6 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,25 @@ _`L2OpUSDCBridgeAdapter`_ - Contract that allows for the transfer of USDC from t ![image](https://github.com/defi-wonderland/opUSDC/assets/165055168/eaf55522-e768-463f-830b-b9305cec1e79) +For a user to make a deposit, the process is the following: + +### Deposits +1. Users approve the `L1OpUSDCBridgeAdapter` to spend USDC. +2. Users proceed to deposit USDC by calling the contract. +3. The `L1OpUSDCBridgeAdapter` sends the message to the appointed CrossDomainMessenger. +4. The sequencer is digested and included by the sequencer. +5. The `L1OpUSDCBridgeAdapter` mints the specified amount of `bridgedUSDC` to the user. + +Similarly, for withdrawals: + +### Withdrawals +1. Users send `bridgedUSDC` to the `L2OpUSDCBridgeAdapter`. +2. The `L2OpUSDCBridgeAdapter` burns the token. +3. The `L2OpUSDCBridgeAdapter` sends the message to the appointed CrossDomainMessenger. +4. The message is eventually included and proven on L1. +5. Wait for the challenge period (at least 7 days). +6. The receiving user (or relayers) withdraws the message after the challenge period, which is then forwarded to the `L1OpUSDCBridgeAdapter` that releases the specified amount of USDC to the user. + ## Migrating from Bridged USDC to Native USDC ![image](https://github.com/user-attachments/assets/291aae4c-e9fb-43a5-a11d-71bb3fc78311) From 9d7a38182ade5eecce17e61bb969b5d63284b77b Mon Sep 17 00:00:00 2001 From: Joxes <91908708+Joxess@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:36:18 -0400 Subject: [PATCH 3/5] chore: add retrofunding json (#164) --- funding.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 funding.json diff --git a/funding.json b/funding.json new file mode 100644 index 0000000..326c61c --- /dev/null +++ b/funding.json @@ -0,0 +1,5 @@ +{ + "opRetro": { + "projectId": "0x66a3f6245dc3ac966d3ed9dd8c076a723cfc3aaaf5ea3721c634d46c3be46331" + } +} From 5711891a64eb69b16da20c4cb405b78d27f2c796 Mon Sep 17 00:00:00 2001 From: Disco <131301107+0xDiscotech@users.noreply.github.com> Date: Wed, 11 Sep 2024 12:53:59 -0300 Subject: [PATCH 4/5] chore: add bridgg sepolia link to readme (#167) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a9b46e6..e54e1ba 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ Similarly, for withdrawals: 5. Wait for the challenge period (at least 7 days). 6. The receiving user (or relayers) withdraws the message after the challenge period, which is then forwarded to the `L1OpUSDCBridgeAdapter` that releases the specified amount of USDC to the user. +> **You can test the bridging flows using [Brid.gg in Sepolia](https://testnet.brid.gg/op-sepolia?amount=1&originChainId=11155111&token=USDC).** + ## Migrating from Bridged USDC to Native USDC ![image](https://github.com/user-attachments/assets/291aae4c-e9fb-43a5-a11d-71bb3fc78311) From 906eb0d67698f2976272ca49ef645fc7dad4bee8 Mon Sep 17 00:00:00 2001 From: Disco <131301107+0xDiscotech@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:13:08 -0300 Subject: [PATCH 5/5] fix: readme rephrase (#168) ------------- Co-authored-by: Hex <165055168+hexshire@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e54e1ba..8794653 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ For a user to make a deposit, the process is the following: 1. Users approve the `L1OpUSDCBridgeAdapter` to spend USDC. 2. Users proceed to deposit USDC by calling the contract. 3. The `L1OpUSDCBridgeAdapter` sends the message to the appointed CrossDomainMessenger. -4. The sequencer is digested and included by the sequencer. +4. The message is digested and included by the sequencer. 5. The `L1OpUSDCBridgeAdapter` mints the specified amount of `bridgedUSDC` to the user. Similarly, for withdrawals: