From 3a7c77240e1c85562c206ffb9accd5e2215a5c93 Mon Sep 17 00:00:00 2001 From: dreamxzxy <17998878+DreamXzxy@users.noreply.github.com> Date: Thu, 7 May 2026 11:34:10 +0800 Subject: [PATCH 1/2] docs: document routing API slippage tolerance --- docs/api/routing/overview.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/api/routing/overview.md b/docs/api/routing/overview.md index 0d66f24..4bd8744 100644 --- a/docs/api/routing/overview.md +++ b/docs/api/routing/overview.md @@ -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`: From fa5267e9da4f2cab2cefd3abb63f37fbe07f965a Mon Sep 17 00:00:00 2001 From: DreamXzxy <17998878+DreamXzxy@users.noreply.github.com> Date: Thu, 14 May 2026 22:46:32 +0800 Subject: [PATCH 2/2] feat: update .gitignore --- .gitignore | 1 + docs/contracts/liquidity-launchpad/01-introduction.md | 2 +- .../liquidity-launchpad/05-auction-mechanism.md | 10 ++-------- .../liquidity-launchpad/quickstart/local-deployment.md | 8 +------- docs/contracts/morpho-router/_category_.json | 2 +- docs/contracts/morpho-router/deployments.md | 1 + docs/contracts/morpho-router/integration.md | 1 + docs/contracts/morpho-router/overview.md | 1 + docs/contracts/morpho-router/technical-reference.md | 1 + static/llms.txt | 1 - 10 files changed, 10 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 5d00ada..78e5e50 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/docs/contracts/liquidity-launchpad/01-introduction.md b/docs/contracts/liquidity-launchpad/01-introduction.md index b7d2dc2..0376272 100644 --- a/docs/contracts/liquidity-launchpad/01-introduction.md +++ b/docs/contracts/liquidity-launchpad/01-introduction.md @@ -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 | diff --git a/docs/contracts/liquidity-launchpad/05-auction-mechanism.md b/docs/contracts/liquidity-launchpad/05-auction-mechanism.md index 6aabfdb..51bd265 100644 --- a/docs/contracts/liquidity-launchpad/05-auction-mechanism.md +++ b/docs/contracts/liquidity-launchpad/05-auction-mechanism.md @@ -2,6 +2,7 @@ id: CCA title: Continuous Clearing Auction sidebar_position: 2 +unlisted: true --- # Continuous Clearing Auction (CCA) @@ -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 diff --git a/docs/contracts/liquidity-launchpad/quickstart/local-deployment.md b/docs/contracts/liquidity-launchpad/quickstart/local-deployment.md index 426e1f0..5b5fc50 100644 --- a/docs/contracts/liquidity-launchpad/quickstart/local-deployment.md +++ b/docs/contracts/liquidity-launchpad/quickstart/local-deployment.md @@ -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: diff --git a/docs/contracts/morpho-router/_category_.json b/docs/contracts/morpho-router/_category_.json index 0abd2e6..5764005 100644 --- a/docs/contracts/morpho-router/_category_.json +++ b/docs/contracts/morpho-router/_category_.json @@ -1,5 +1,5 @@ { - "label": "Morpho Router", + "label": "Lending Router", "position": 2.3, "collapsed": true } diff --git a/docs/contracts/morpho-router/deployments.md b/docs/contracts/morpho-router/deployments.md index 593f1ae..988ffcf 100644 --- a/docs/contracts/morpho-router/deployments.md +++ b/docs/contracts/morpho-router/deployments.md @@ -1,6 +1,7 @@ --- title: Deployment Addresses sidebar_position: 3 +unlisted: true --- # FewMorphoRouter Deployments diff --git a/docs/contracts/morpho-router/integration.md b/docs/contracts/morpho-router/integration.md index d1f02fc..5cc2424 100644 --- a/docs/contracts/morpho-router/integration.md +++ b/docs/contracts/morpho-router/integration.md @@ -1,6 +1,7 @@ --- title: Integration Guide sidebar_position: 2 +unlisted: true --- # Integrating FewMorphoRouter diff --git a/docs/contracts/morpho-router/overview.md b/docs/contracts/morpho-router/overview.md index d64b417..db8f2f4 100644 --- a/docs/contracts/morpho-router/overview.md +++ b/docs/contracts/morpho-router/overview.md @@ -1,6 +1,7 @@ --- title: Overview sidebar_position: 1 +unlisted: true --- # FewMorphoRouter diff --git a/docs/contracts/morpho-router/technical-reference.md b/docs/contracts/morpho-router/technical-reference.md index 15eb409..99ef30d 100644 --- a/docs/contracts/morpho-router/technical-reference.md +++ b/docs/contracts/morpho-router/technical-reference.md @@ -1,6 +1,7 @@ --- title: Technical Reference sidebar_position: 4 +unlisted: true --- # FewMorphoRouter Technical Reference diff --git a/static/llms.txt b/static/llms.txt index 570335e..b7ed9b1 100644 --- a/static/llms.txt +++ b/static/llms.txt @@ -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