Skip to content

feat(client): send the swapper's address and expose First Stage taxes - #41

Merged
pbennett merged 1 commit into
mainfrom
feat/first-stage-wrap
Nov 3, 2026
Merged

pbennett merged 1 commit into
mainfrom
feat/first-stage-wrap

Conversation

@pbennett

@pbennett pbennett commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

fetchQuote sends address, so the router can quote and build swaps of
First Stage taxed tokens (MOOJ and others) from a frozen holding, adding
First Stage's calls itself. The quote's firstStage (fromTax and toTax as
bigints, and the wrapped sides) gives the taxes quote is already net of.
Clients must not also use a First Stage middleware: the group would hold
First Stage's calls twice and fail.

fetchQuote sends `address`, so the router can quote and build swaps of
First Stage taxed tokens (MOOJ and others) from a frozen holding, adding
First Stage's calls itself. The quote's `firstStage` (fromTax and toTax as
bigints, and the wrapped sides) gives the taxes `quote` is already net of.
Clients must not also use a First Stage middleware: the group would hold
First Stage's calls twice and fail.
@pbennett
pbennett merged commit c12bada into main Nov 3, 2026
1 check passed
txnlab-release-bot Bot added a commit that referenced this pull request Nov 3, 2026
# [3.4.0](v3.3.0...v3.4.0) (2026-11-03)

### Features

* **client:** send the swapper's address and expose First Stage taxes ([#41](#41)) ([c12bada](c12bada))
@txnlab-release-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@pbennett
pbennett deleted the feat/first-stage-wrap branch November 3, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant