Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ package-lock.json
# Claude files - prevent accidental commits
CLAUDE.md
claude.md
AGENTS.md
v4-sdk-baseline-assessment.md

# OMC session data
Expand Down
18 changes: 18 additions & 0 deletions docs/api/routing/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,26 @@ curl -X POST "https://gateway.ring.exchange/v1/partner/quote" \
| Field | Default | Description |
|---|---|---|
| `protocols` | `["FewV2"]` | Liquidity sources to consider for the route. Currently only `FewV2` is supported. |
| `slippageTolerance` | — | Fixed maximum slippage tolerance as a percentage value. For example, `0.5` means 0.5%, and `1` means 1%. |
| `autoSlippage` | — | Set to `DEFAULT` for automatic slippage selection. |

Use `slippageTolerance` when you want to set a fixed maximum slippage. Use `autoSlippage: "DEFAULT"` when you want the API to select slippage automatically.

Example with fixed slippage:

```json
{
"tokenIn": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"tokenOut": "0x0000000000000000000000000000000000000000",
"amount": "1000000000101000000",
"tokenInChainId": 1,
"tokenOutChainId": 1,
"swapper": "0xYourFillerContractAddress",
"type": "EXACT_INPUT",
"slippageTolerance": 0.5
}
```

## Response

A successful request returns HTTP `200`:
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/liquidity-launchpad/01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ The following actions must be performed atomically within one transaction.
| **LiquidityLauncher** | Central orchestration contract | [liquidity-launcher](https://github.com/Uniswap/liquidity-launcher) | [0x00000008412db3394C91A5CbD01635c6d140637C](https://etherscan.io/address/0x00000008412db3394C91A5CbD01635c6d140637C) | Not yet published in these docs |
| **UERC20Factory** | Standard ERC-20 token factory | [uerc20-factory](https://github.com/Uniswap/uerc20-factory) | [0x0cde87c11b959e5eb0924c1abf5250ee3f9bd1b5](https://etherscan.io/address/0x0cde87c11b959e5eb0924c1abf5250ee3f9bd1b5) | Not yet published in these docs |
| **LBPStrategyBasicFactory** | LBP strategy factory | [liquidity-launcher](https://github.com/Uniswap/liquidity-launcher) | [0x00000010F37b6524617b17e66796058412bbC487](https://etherscan.io/address/0x00000010F37b6524617b17e66796058412bbC487) | Not yet published in these docs |
| **ContinuousClearingAuction** | Continuous clearing auction factory | [continuous-clearing-auction](https://github.com/Uniswap/continuous-clearing-auction) | [0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D](https://etherscan.io/address/0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D) | Not yet published in these docs |
| **ContinuousClearingAuction** | Continuous clearing auction factory | [continuous-clearing-auction](https://github.com/Uniswap/continuous-clearing-auction) | Not yet published | Not yet published in these docs |
| **Permit2** | Token approval manager | [Uniswap](https://github.com/Uniswap/permit2) | [0x000000000022D473030F116dDEE9F6B43aC78BA3](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3) | Shared upstream deployment |
10 changes: 2 additions & 8 deletions docs/contracts/liquidity-launchpad/05-auction-mechanism.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
id: CCA
title: Continuous Clearing Auction
sidebar_position: 2
unlisted: true
---

# Continuous Clearing Auction (CCA)
Expand All @@ -23,14 +24,7 @@ CCA addresses these issues through a unique approach: **automatic bid spreading

## Deployment Addresses

### ContinuousClearingAuctionFactory

| Network | Address | Commit Hash | Version |
| -------- | ------------------------------------------ | ---------------------------------------- | ---------------- |
| Mainnet | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
| Unichain | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
| Base | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
| Sepolia | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
Ring deployment addresses for CCA contracts have not been published yet.

### Mechanism overview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@ interface IDistributionStrategy {
}
```

The factory contract is deployed to the same address across the following networks:
| Network | Address | Commit Hash | Version |
| -------- | ------------------------------------------ | ---------------------------------------- | ---------------- |
| Mainnet | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
| Unichain | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
| Base | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
| Sepolia | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
Ring deployment addresses for the factory contract have not been published yet.

### Deploying a new `ContinuousClearingAuction` contract directly
CCA auctions can be deployed directly by calling the constructor:
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/morpho-router/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "Morpho Router",
"label": "Lending Router",
"position": 2.3,
"collapsed": true
}
1 change: 1 addition & 0 deletions docs/contracts/morpho-router/deployments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Deployment Addresses
sidebar_position: 3
unlisted: true
---

# FewMorphoRouter Deployments
Expand Down
1 change: 1 addition & 0 deletions docs/contracts/morpho-router/integration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Integration Guide
sidebar_position: 2
unlisted: true
---

# Integrating FewMorphoRouter
Expand Down
1 change: 1 addition & 0 deletions docs/contracts/morpho-router/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Overview
sidebar_position: 1
unlisted: true
---

# FewMorphoRouter
Expand Down
1 change: 1 addition & 0 deletions docs/contracts/morpho-router/technical-reference.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Technical Reference
sidebar_position: 4
unlisted: true
---

# FewMorphoRouter Technical Reference
Expand Down
1 change: 0 additions & 1 deletion static/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Ring Protocol is a DeFi protocol suite covering swap infrastructure, hook-enable
- `v3`: contract references, deployments, and SDK-oriented guides
- `v2`: legacy contract concepts and integration guides
- `fewv2`: Ring Swap and Few Protocol deployment and integration docs
- `morpho-router`: lending router overview, integration, deployments, and technical reference
- `permit2`, `liquidity-launchpad`, and related protocol modules

### SDKs
Expand Down
Loading