docs: refresh Lido token integration guide - #979
Draft
TheDZhon wants to merge 10 commits into
Draft
Conversation
Replace the dated integration-availability matrix with maintained discovery sources plus one dated Aave collateral example, drop the duplicated Earn address table in favor of the Earn registry and guide, merge the five persona checklists into a single integration checklist, fold bridge guidance into the Multichain section, and compress the risk list into prose. Re-verified surviving claims on-chain at block 25806051 (2026-08-21) and refreshed dated statements accordingly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Merge the four persona checklists into one integration checklist, fold the market-availability section into the monitoring section without third-party metadata links, and state explicitly that liquid-asset and capacity reads happen on the redemption queue because the Vault's getLiquidAssets() is callable only by a registered queue. Behavior re-verified against flexible-vaults 1314cba and on-chain state at block 25806051 (2026-08-21). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Add a per-token interface-support matrix (standards, permit, EIP-1271, rebasing, share transfers, burn, transfer semantics) verified against the deployed implementations at block 25806051, give every cast probe an expected-result comment, and add an EIP-2612 revert probe for the Earn tokens. New matrix cells verified on-chain: LDO exposes no permit (DOMAIN_SEPARATOR and nonces revert), unstETH answers supportsInterface(0x49064906), and stETH burning is protocol-gated (burnShares requires the Burner, burnExternalShares the VaultHub); wstETH permit is ECDSA-only per the OZ draft ERC20Permit it inherits. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Rules of engagement for agents that integrate or execute transactions: machine-readable surfaces (llms.txt, raw markdown mirrors, tokens.json), address resolution without model memory, live-state discipline, and transaction safety rails (simulate first, exact allowances, re-quote at execution, revert taxonomy, irreversibility, permit fallback, rounding, documented entry points only). Linked from both integration guides. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Publish /tokens.json with per-token chain ID, address, decimals, interface support, quirks, verification probes, and a lastVerified block pin, covering the Ethereum tokens and the six canonical multichain wstETH deployments. The deployed-contracts pages remain the source of truth: scripts/validate-tokens-json.js asserts every manifest address appears on those pages and now runs as part of npm run build. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Add a config-driven highlights option to the llms-txt plugin and open the index with an Integration quick start section: both integration guides, both deployment registries, the AI agent page, and tokens.json. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Please, go through these steps before you request a review:
📝 Describe your changes
🔎 Evidence reviewers can reproduce
Lido tokens
0xce58a67e8f69d3a105caf1fdc66800f82809ebfbc6b1a5edb2020121060a4a88. Foundrycastreproduced the canonical stETH/wstETH relationship and rate, oracle membership/quorum, current aggregate fee distribution, and withdrawal bounds.Lido Earn
0x99d9710e7438678c3facf08718628a7422422f965209b2a1d4ef9545c974a929. Foundrycastconfirmed both token names, symbols, decimals, Vault ↔ ShareManager relationships, implementations, supply categories, flags, and the absence of EIP-2612 domain separators.lido-earn-ethandlido-earnusdrecords. No secondary-market or external CeFi/DeFi availability is asserted from metadata alone.✅ Validation
npx prettier --check docs/guides/lido-tokens-integration-guide.md earn/integration-guide.md earn/introduction.md earn/deployment-contracts.md sidebarsEarn.jsgit diff --checknpm run build(290 docs, client and server compiled)All market and availability claims are explicitly dated 2026-08-20 and scoped to what the cited evidence actually establishes.
Direct ETH → wstETH referral helper
0xa88f0329C2c4ce51ba3fc619BBf44efE7120Dd0dconfirmed its stETH and wstETH references.