feat: add Monad (143), Cronos (25), HyperEVM (999) - #89
Merged
Conversation
… and Aqua/SwapVM contract addresses Co-authored-by: Kirill <krboktv@gmail.com>
Co-authored-by: Kirill <krboktv@gmail.com>
- project: sdk-core 0.1.3-rc.0
- project: aqua 0.3.1-rc.0
- project: swap-vm 0.4.1-rc.0
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Adds the EVM chains Monad (143), Cronos (25) and HyperEVM (999) to the SDK monorepo, mirroring #82 (Robinhood Chain) on top of the post-redeploy universal addresses from #86:
@1inch/sdk-core:MONAD = 143,CRONOS = 25,HYPEREVM = 999added toNetworkEnum.@1inch/aqua-sdk: Aqua Protocol address0x1111113ccf1426a8e30e2bff5e005d929bf6a90amapped for all three chains + README network table rows.@1inch/swap-vm-sdk:AquaSwapVMRouteraddress0x111111338c5091e8440b67b168bae16a668ac0demapped for all three chains + README network table rows.1301(Unichain Sepolia); corrected to130to matchNetworkEnum.UNICHAIN.Published rc pre-releases (from this branch,
nextdist-tag;latestuntouched)@1inch/sdk-core0.1.3-rc.0@1inch/aqua-sdk0.3.1-rc.0@1inch/sdk-core@0.1.3-rc.0exactly@1inch/swap-vm-sdk0.4.1-rc.0@1inch/sdk-core@0.1.3-rc.0exactlyPublished rc artifacts were installed from npmjs into a clean project and the new chain mappings verified. Final (non-rc) versions should be released from
masterafter merge.On-chain verification (via
https://api.1inch.com/web3/{chainId})For each of 143 / 25 / 999:
eth_chainIdmatches.eth_getCodeat the Aqua address returns 5,619 bytes of code; at the SwapVM router address 20,541 bytes — same sizes as on already-supported chains.eip712Domain(): name1inch SwapVM v1.0on all three chains. Note: the new deployments report domain version1.0, while existing chains (e.g. Ethereum, Sonic) report1.0.2. The SDK is unaffected (Order.hash()takes the domain as a parameter and the on-chaineip712Domain()is the source of truth), but the deployment-note comment inswap-vm/src/swap-vm-contract/constants.tswas updated to record this, and downstream consumers that hardcode1.0.2for EIP-712 signing will produce invalid hashes on these three chains.Testing
pnpm build,pnpm lint,pnpm lint:types,pnpm test— all green for all 3 packages (also green in PR CI).NetworkEnum.{MONAD,CRONOS,HYPEREVM}and both address maps resolve to the intake addresses.FORK_URL=https://ethereum-rpc.publicnode.com):aqua3/3 passed;swap-vm10/13 passed — the 3 failures are the known fork-state float assertions (2000–3000 concentrated-range + 30bps-fee tests, ~13th significant digit) and fail identically on basemaster(verified in a clean worktree atd126217), i.e. unrelated to this change.