Skip to content

Commit 511b5e4

Browse files
committed
docs: document replacement slot requoting and update version to 0.1.34
- Add explanation of replacement slot requoting to ADVANCED.md: Stitch reuses slot nonces during requotes to treat previous inputs as replaceable, allowing funded checks to reserve only incremental input needed - Clarify in README.md that requotes reuse replacement slots, enabling refresh of funded depth without double-counting the ladder being replaced - Bump version to 0.1.34 in Cargo.toml and release metadata
1 parent 27a5827 commit 511b5e4

6 files changed

Lines changed: 12 additions & 5 deletions

File tree

.textile-monorepo-source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
99a2e3f1d385b75c2d69e0b6f3f09bdbd90eb670
1+
055dfc96616a9ef53179c9d4218ac9b6cae9046a

.textile-stitch-release-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.33
1+
0.1.34

ADVANCED.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ sell_max_orders = 40
8181
and Permit2 allowance every quote tick, then posts only the funded portion.
8282
If inventory falls below the target, the ladder shrinks until the wallet is
8383
rebalanced or the config is lowered.
84+
- Requotes reuse stable replacement slots for each side. When a slot is
85+
refreshed, Stitch reuses the slot's nonce and treats that slot's previous
86+
input as replaceable, so funded checks reserve only the additional input
87+
needed by the new quote. If a fill spends a slot nonce, Stitch rotates only
88+
that slot on the next retry.
8489

8590
All amounts are atomic token units. For a 6-decimal token:
8691

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stitch-bot"
3-
version = "0.1.33"
3+
version = "0.1.34"
44
edition = "2021"
55
description = "Stitch — Textile filler-network operator bot; signs UniswapX limit orders and closes settlement auctions."
66
license = "AGPL-3.0-or-later"

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ leaves the remainder unquoted instead of posting an oversized live book.
227227
Configured liquidity is also a ceiling: on each quote tick, Stitch caps the
228228
posted bid or ask size to the operator wallet's current token balance and
229229
Permit2 allowance for that side, so normal fills or inventory transfers reduce
230-
the next ladder instead of causing the indexer to reject an unfunded batch. For
230+
the next ladder instead of causing the indexer to reject an unfunded batch.
231+
Requotes reuse the same replacement slots, so Stitch can refresh funded depth
232+
without double-counting the ladder it is replacing. For
231233
the price-feed orientation, spread options, ladder sizing, and
232234
settlement-closing fields, see the
233235
[configuration reference in ADVANCED.md](ADVANCED.md#configuration-reference).

0 commit comments

Comments
 (0)