From f7039dffedc3b098ff63cfb6e013bc63351b8eb4 Mon Sep 17 00:00:00 2001 From: Amit Yadav Date: Sat, 16 Dec 2023 11:08:29 +0530 Subject: [PATCH] middleware --- spec/aggregate-yield/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/aggregate-yield/README.md b/spec/aggregate-yield/README.md index 2a6552a7..ed42ed3b 100644 --- a/spec/aggregate-yield/README.md +++ b/spec/aggregate-yield/README.md @@ -27,10 +27,14 @@ ICS-27 Interchain Accounts outlines a cross-chain account management protocol bu ![Alt text](Untitled-4.jpg) +`Note: If TOKEN is from chain X, SIDE chain first transfers it to chain X first and then to stride` + 2. Withdraw flow ![Alt text](Untitled-5.jpg) +`Note: If TOKEN is from chain X, SIDE chain first transfers it to chain X first and then to side chain` + ## Detailed Specification 1. User Deposit Process @@ -41,7 +45,7 @@ ICS-27 Interchain Accounts outlines a cross-chain account management protocol bu 2. Middleware Processing - `Middleware Role`: Intercepts incoming IBC messages and filters them for specific criteria (e.g., native yield, no yield etc). -- `Transfer to Stride`: The middleware forwards the filtered TOKEN to the Stride platform for liquid staking. +- `Transfer to Stride`: The middleware forwards the filtered TOKEN to the Stride platform for liquid staking. For example: If ATOM is sent, first ATOM will be sent to cosmos hub and then to stride. 3. Liquid Staking with Stride