Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DRAFT] SwapperProvider for Uniswap v3#122

Draft
jordanschalm wants to merge 2 commits into
main from
jord/uniswapv3-swapper-provider
Draft

[DRAFT] SwapperProvider for Uniswap v3 #122
jordanschalm wants to merge 2 commits into
main from
jord/uniswapv3-swapper-provider

Conversation

@jordanschalm

@jordanschalm jordanschalm commented Jan 22, 2026

Copy link
Copy Markdown
Member

AI-generated implementation sketch of SwapperProvider for Uniswap v3.

Add test suite for UniswapV3SwapperProvider contract covering:

  • Configuration validation (TokenConfig, RouteConfig preconditions)
  • Provider initialization with valid/invalid parameters
  • Swapper retrieval logic and key generation
  • ComponentInfo structure validation

Includes 14 test cases (9 passing) and supporting test scripts. Remaining tests require TokenA/TokenB bridge setup.

jordanschalm and others added 2 commits January 21, 2026 16:22
Add test suite for UniswapV3SwapperProvider contract covering:
- Configuration validation (TokenConfig, RouteConfig preconditions)
- Provider initialization with valid/invalid parameters
- Swapper retrieval logic and key generation
- ComponentInfo structure validation
Includes 14 test cases (9 passing) and supporting test scripts.
Remaining tests require TokenA/TokenB bridge setup.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
...termediary token
Add optional `intermediaryToken` parameter to SwapperProvider.init that
auto-generates multi-hop routes for unconfigured token pairs through a
configurable intermediary (e.g., WFLOW). Also generates reverse routes
for explicit single-hop routes to ensure full bidirectional coverage.
Includes forked mainnet tests with pool discovery, unit tests for
intermediary behavior, and a Uniswap V3 swap transaction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /