Skip to content

Feat/sepolia - #3

Merged
codeForEatingEverything merged 54 commits into
mainfrom
feat/sepolia
Oct 24, 2026
Merged

codeForEatingEverything merged 54 commits into
mainfrom
feat/sepolia

Conversation

@codeForEatingEverything

Copy link
Copy Markdown
Owner

No description provided.

codeForEatingEverything and others added 30 commits October 23, 2026 23:55
Appended after the existing rows so Monad and HyperEVM keep their index and bytes. 12 s slots: 600-block windows (25 on the demo grid), 50,400-block max pause. The table is part of the core's init code, so the core address changes; Sepolia deploys on its own salt until Monad and HyperEVM are redeployed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s for Ethereum and Sepolia

Ethereum counts as a mainnet (guardian multisig, no demo or daily grid), Sepolia as a testnet; window checks require 600 blocks on both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chain 1 needs GUARDIAN_MEMBERS and refuses the demo and daily grids; Sepolia refuses mocks, needs GRAD_11155111, and gets the 600-block window on the daily grid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…_FILE

So scripts/deploy-testnet.sh can run them on its staging copy like the other steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WETH, USDC and wstETH on Sepolia, verified on chain and on a fork. The seven-row chain table gets TESTNET_SALT_NEXT (0xc0f3) so Sepolia can deploy without touching the live 0xc0f2 deployments on Monad and HyperEVM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RPC (SEPOLIA_RPC override), strikes at about 90% of value (0.93 WETH per wstETH, 2100 USDC per WETH, 2200 USDC per wstETH), small seed units, 24-order Router batches, --skip-simulation for Amsterdam code pricing, and fork-read retries for flaky public RPCs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…olia

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ss steps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sending ETH to wstETH stakes and wraps in one call; the amount comes from getStETHByWstETH and respects the gas reserve together with the WETH wrap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Monad testnet keeps config.staging.json, Sepolia writes config.sepolia.json, scanning logs through an archive RPC because publicnode prunes old logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ket and SeatLP tokens

Two new steps after vaults (market, seatlp), so a fresh testnet gets the C/R secondary market and the seat LP receipts that Monad and HyperEVM got by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t / seatlp steps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
viem's default Sepolia RPC rejects more than 1,000 blocks, and publicnode keeps only ~10,000 blocks of logs, so scans from deployBlock use 1,000-block chunks against an archive RPC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… file stay absent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An LST lent against its own native coin (shMON/WMON, wstETH/WETH) is pegged, every other pair main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… for an undeployed chain

A bare poolId stays main, so Monad and HyperEVM behave as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pairs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… archive log scan

CRE_CHAINS lists Monad testnet (config.staging.json) and Sepolia (config.sepolia.json, 30M report gas, 1,000-block scans through an archive RPC); a chain without a deployments file is skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
codeForEatingEverything and others added 24 commits October 23, 2026 23:56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chain table entry (ETH, ?chain=sepolia, Etherscan links, RPC override with publicnode then thirdweb), wagmi / AppKit networks derived from it, and the network menu row with its name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same flow as HYPE→WHYPE and MON→WMON; 0.01 ETH kept for gas.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WETH wraps ETH 1:1, USDC from the Circle faucet, wstETH only in the Loop flow; vaults read ETH Pegged, USDC Conservative and USDC High-yield; the reference label names the mainnet ETH / USD spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ase then Kraken

Cached 30 s, answers {price:null} when both fail so the page simply shows no reference; never read by contracts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WETH/USDC from mainnet ETH/USD, wstETH/WETH from the chain's own stEthPerToken, wstETH/USDC their product.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lido's wstETH is not an ERC-4626 vault, so the shMON-style convertToShares read returns nothing for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s FastLane

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…PC in 1,000-block chunks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hout contracts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…thout contracts

Every protocol page shows it instead of erroring, with buttons to switch network and a link to the demo; How it works and the demo entry still render.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ments table

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Real Sepolia token addresses with made-up contracts: WETH/USDC and wstETH/USDC in both repay styles, wstETH/WETH loop pair, several maturities incl. one in its window and one closed, books, 30 days of history, three vaults, LP slots and a full portfolio; answers Lido's stEthPerToken; switching among the three demo networks needs no wallet chain switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…enu row

Sepolia-undeployed assertions are guarded by the deployments table so they keep passing once Sepolia is deployed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Core 0x4E4B4b1AeD2c6B8746Af6f10d07E1cA1284599AA on salt 0xc0f3 (seven-row chain table), daily grid, 600-block windows; 18 pools on wstETH/WETH, WETH/USDC and wstETH/USDC at 1, 7 and 14 days in both repay styles, seeded and cleared once; vaults pegged / usdLow / usdHigh, PositionMarket and six SeatLP tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lts)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codeForEatingEverything
codeForEatingEverything merged commit 8672305 into main Oct 24, 2026
5 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.

1 participant