From 6c441d1b2e196b03635dc1217fe171d49b28fed8 Mon Sep 17 00:00:00 2001 From: Ezedike-egwom Collins Date: Thu, 27 Aug 2026 19:57:19 +0100 Subject: [PATCH 1/2] docs: refresh overview pages for keepers, min_usdc_out, and immutability --- apps/docs/overview/how-it-works.md | 19 ++++++++++++++++--- apps/docs/overview/introduction.md | 2 +- apps/docs/overview/why-meridian.md | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/apps/docs/overview/how-it-works.md b/apps/docs/overview/how-it-works.md index 936c90eb..73726b68 100644 --- a/apps/docs/overview/how-it-works.md +++ b/apps/docs/overview/how-it-works.md @@ -35,7 +35,9 @@ the user's wallet ## Withdraw flow -Symmetric to deposit. The user specifies a share amount (mUSDC), the API builds a `vault.withdraw(caller, shares)` invocation, Freighter signs, and the vault redeems the proportional adapter position and returns USDC. +Symmetric to deposit. The user specifies a share amount (mUSDC), the API builds a `vault.withdraw(caller, shares, min_usdc_out)` invocation, Freighter signs, and the vault redeems the proportional adapter position and returns USDC. + +`min_usdc_out` is a caller-supplied floor, not a fixed protocol parameter. The vault's adapter-share ratio is a shared, mutable value, so a concurrent withdrawal by another depositor can shift it between when the API quoted a payout and when this transaction lands. If the delivered amount would fall below the floor, the transaction reverts with a typed `MinAmountOutNotMet` error instead of silently paying out less than the user was shown. ## Rate selection @@ -62,8 +64,19 @@ usdc_out =