Skip to content

Commit

Permalink
middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
amityadav0 committed Dec 16, 2023
1 parent 6768427 commit f7039df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/aggregate-yield/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit f7039df

Please sign in to comment.