v0.1.0-alpha.4 - tx-decoder MVP
Pre-release
Pre-release
·
115 commits
to main
since this release
What is new
tx-decoder MVP: BUILTIN_REGISTRY ships with ERC-7730-style descriptors
20 contract / chain descriptors across 5 mainstream protocols, covering high-volume mainnet + L2 DeFi calldata:
- ERC-20 standard - USDC, WETH, USDT (mainnet) with transfer / approve / transferFrom / deposit / withdraw (3 descriptors)
- Permit2 - mainnet + Arbitrum + Base + Optimism + Polygon (single-token permit variant, 5 descriptors)
- Uniswap V3 SwapRouter02 - mainnet + Arbitrum + Optimism + Polygon + Base (exactInputSingle / exactInput / exactOutputSingle / multicall, 5 descriptors)
- Aave V3 Pool - mainnet + Arbitrum + Optimism + Polygon + Base (supply + withdraw, 5 descriptors)
- CoW Swap ETH Flow - mainnet + Gnosis (validated against StakeWise frontwise production ABI, 2 descriptors)
Decoder engine (decodeCall, buildRegistry, registryKey) is unchanged - this release only populates registry data. 12 prior tests + 15 new integration tests pass (27 total), each round-tripped through viem encodeFunctionData per protocol.
@txkit/core: added Robinhood Chain testnet (chainId 46630) to the EXPLORERS map.
Deliberately not in this release:
- AgentPolicyGate decoder data lives in examples/arbitrum-london/decoder-data/ until Mike deploys the contract.
- Pendle V2 Router data is deferred to a follow-up: depends on either real Arbitrum Sepolia deployments or the Buildathon MockPendleRouter.sol contract still being scaffolded.
Full changelog: packages/tx-decoder/CHANGELOG.md