Skip to content

add ink (57073) support - #83

Merged
ciyengar3 merged 1 commit into
mainfrom
ciyengar3/add-ink-support
Jun 16, 2026
Merged

add ink (57073) support#83
ciyengar3 merged 1 commit into
mainfrom
ciyengar3/add-ink-support

Conversation

@ciyengar3

Copy link
Copy Markdown
Contributor

Summary

  • Adds Ink (chain 57073) as a supported network for the v4 subgraph.
  • PoolManager 0x360e68faccca8ca495c1b759fd9eee466db9fb32 at block 4580556.
  • PositionManager 0x1b35d13a2e2528f192637f14b05f0dc0e7deb566 at block 4580572.
  • USD price anchored on the native ETH / USDT0 v4 pool 0x26354d494b48cc544076d4afe855b5bf224e6a5d4e403bbbf04cbc7f25790b90 — native ETH (0x0000…0000) is currency0, USDT0 (0x0200C29…0c1) is currency1, so stablecoinIsToken0=false.
  • Whitelist: WETH (0x4200…0006), native ETH, USDT0, USDC.e (0xF1815b…45D14).
  • Stablecoins: USDT0, USDC.e.

Mirrors the v3-subgraph PR #303 for the same chain.

Deployment data from Uniswap/contracts#153 (PROTO-1474); start blocks resolved by querying Ink RPC for the deployment transaction receipts.

Test plan

  • yarn generate-subgraph ink succeeds
  • yarn build (codegen + graph build) succeeds — AssemblyScript compiles cleanly with the new branch
  • Deploy to Alchemy hosted service and verify PoolManager + PositionManager start indexing at the listed blocks
  • Verify the ETH/USDT0 pool is indexed and USD prices derive correctly via this pool

Note: yarn lint reports errors only in generated/ (auto-generated by graph codegen / graph build, gitignored but not in .eslintignore). Pre-existing on main — unrelated to this change.

🤖 Generated with Claude Code

- PoolManager 0x360e68faccca8ca495c1b759fd9eee466db9fb32 at block 4580556
- PositionManager 0x1b35d13a2e2528f192637f14b05f0dc0e7deb566 at block 4580572
- Reference token: native ETH; USD price anchored on the native ETH / USDT0
  v4 pool at 0x26354d494b48cc544076d4afe855b5bf224e6a5d4e403bbbf04cbc7f25790b90
  (stablecoinIsToken0=false; USDT0 is currency1)
- Stablecoins: USDT0 (0x0200C29…0c1), USDC.e (0xF1815b…45D14)
- Whitelist: WETH (0x4200…0006), native ETH, USDT0, USDC.e

Deployment data sourced from Uniswap/contracts#153 (PROTO-1474);
start blocks resolved via Ink RPC tx receipts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ciyengar3
ciyengar3 merged commit 5c9cd2b into main Jun 16, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants