Skip to content

Commit 6452d2a

Browse files
authored
Cleaning up the DeFi Positions page on the Sim API documentation based on Tal's feedback. (#120)
1 parent df1cc9e commit 6452d2a

1 file changed

Lines changed: 9 additions & 21 deletions

File tree

evm/defi-positions.mdx

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Protocol coverage is organized by position type. Each protocol specifies its sup
4040
| Compound v3 (Comet) |||| | | | | | | | |
4141
| Moonwell | ||| | | | | | | | |
4242
| ERC‑4626 Vaults ||||||||||||
43-
| Pendle v3 |||| | | | | | | | |
43+
| Pendle v2 |||| | | | | | | | |
4444
| EigenLayer || | | | | | | | | | |
4545

4646
</Accordion>
@@ -50,12 +50,13 @@ Protocol coverage is organized by position type. Each protocol specifies its sup
5050
Liquidity pool positions represent token pairs deposited into automated market makers (AMMs). These positions may be fungible ERC-20 LP tokens or non-fungible NFT-based positions for concentrated liquidity.
5151

5252
<AccordionGroup>
53-
<Accordion title="Uniswap V2" icon="droplet">
53+
<Accordion title="Uniswap V2 (and Forks)" icon="droplet">
5454
**Type:** `UniswapV2`
5555
**Chains:** Ethereum (1), Base (8453), Ink (57073), World Chain (480), Soneium (1868), Unichain (130), Zora (7777777), Optimism (10)
56-
**Description:** Fungible LP tokens representing constant-product AMM positions. Includes balances of both tokens in the pair and total USD value.
56+
**Recognized Forks:** SushiSwapV2, PancakeSwapV2, ShibaSwapV2, RingSwap, CroDefiSwap, DXSwap, SquadSwap, TrebleSwapV2, BaseSwap, SharkSwap, RocketSwap, Aerodrome, Infusion, GammaSwap
57+
**Description:** Fungible LP tokens representing constant-product AMM positions. Includes balances of both tokens in the pair and total USD value. Both Uniswap V2 and its forks are detected by factory address and returned under the same `UniswapV2` type, with the specific protocol name indicated in the `protocol` field.
5758

58-
**Example Response:**
59+
**Example Response (Uniswap V2):**
5960

6061
```json [expandable]
6162
{
@@ -91,15 +92,8 @@ Liquidity pool positions represent token pairs deposited into automated market m
9192
}
9293
}
9394
```
94-
</Accordion>
95-
96-
<Accordion title="Uniswap V2 Forks" icon="code-fork">
97-
**Type:** `UniswapV2`
98-
**Chains:** Same as Uniswap V2
99-
**Recognized Forks:** SushiSwapV2, PancakeSwapV2, ShibaSwapV2, RingSwap, CroDefiSwap, DXSwap, SquadSwap, TrebleSwapV2, BaseSwap, SharkSwap, RocketSwap, Aerodrome, Infusion, GammaSwap
100-
**Description:** Forks are detected by factory address and returned under the same `UniswapV2` type.
10195

102-
**Example Response (SushiSwap):**
96+
**Example Response (SushiSwap V2):**
10397

10498
```json [expandable]
10599
{
@@ -137,12 +131,12 @@ Liquidity pool positions represent token pairs deposited into automated market m
137131
```
138132
</Accordion>
139133

140-
<Accordion title="Uniswap V3" icon="layer-group">
134+
<Accordion title="Uniswap V3 (and Forks)" icon="layer-group">
141135
**Type:** `Nft`
142136
**Chains:** Ethereum (1), Base (8453), Ink (57073), Unichain (130), Zora (7777777), World Chain (480), Soneium (1868), Optimism (10)
143-
**Description:** NFT-based concentrated liquidity positions. Each position includes tick ranges, token holdings, unclaimed fees, and per-position USD valuations.
137+
**Description:** NFT-based concentrated liquidity positions. Each position includes tick ranges, token holdings, unclaimed fees, and per-position USD valuations. Both Uniswap V3 and its forks are detected by factory address and returned under the same `Nft` type, with the specific protocol name indicated in the `protocol` field.
144138

145-
**Example Response:**
139+
**Example Response (Uniswap V3):**
146140

147141
```json [expandable]
148142
{
@@ -186,12 +180,6 @@ Liquidity pool positions represent token pairs deposited into automated market m
186180
}
187181
}
188182
```
189-
</Accordion>
190-
191-
<Accordion title="Uniswap V3 Forks" icon="code-fork">
192-
**Type:** `Nft`
193-
**Chains:** Same as Uniswap V3
194-
**Description:** Concentrated liquidity forks of Uniswap V3. Forks are detected by factory address and returned under the same `Nft` type with the specific protocol name in the `protocol` field.
195183

196184
**Example Response (PancakeSwap V3):**
197185

0 commit comments

Comments
 (0)