Skip to content

docs: sync with codebase (2026-04-14)#73

Open
chef-eric wants to merge 3 commits into
masterfrom
doc-sync/2026-04-14-combined
Open

docs: sync with codebase (2026-04-14)#73
chef-eric wants to merge 3 commits into
masterfrom
doc-sync/2026-04-14-combined

Conversation

@chef-eric
Copy link
Copy Markdown
Contributor

Documentation Sync — 2026-04-14

Combined scan covering all developer doc pages: address tables, Aptos contracts, subgraph endpoints.

Drift detected

Sunset chains removed (Polygon zkEVM, Goerli):

  • V2 addresses: removed zkEVM from Factory and Router tables
  • V3 addresses: removed zkEVM and Goerli from Core, Periphery, MixedRouteQuoterV1, Smart Router, MasterchefV3
  • Permit2: removed zkEVM and Scroll from mainnet; removed Goerli testnets
  • Universal Router: removed zkEVM from mainnet/testnet; removed Goerli testnets
  • Subgraph: removed dead ARB Goerli endpoint and 3 Polygon zkEVM subgraph entries
  • CAKE addresses: removed zkEVM from mainnet; removed Goerli/zkEVM from testnet

Wrong addresses fixed:

  • V3 MixedRouteQuoterV1 Arbitrum: was Linea Testnet address → correct address
  • V3 MixedRouteQuoterV1 Monad: corrected to match source
  • V3 MixedRouteQuoterV1 table: fixed Linea column grouping
  • Universal Router Sepolia: updated to current address
  • Subgraph Exchange V3 Base: updated stale subgraph ID

Missing chains/data added:

  • Permit2: Monad mainnet + testnet
  • Universal Router: Monad mainnet + testnet
  • V3 MasterchefV3: opBNB mainnet
  • PCSX: Base mainnet
  • Infinity addresses: Ethereum Sepolia testnet column (all contracts)
  • Infinity StableSwap: BSC Testnet addresses
  • Prediction: Arbitrum ETH Prediction (deprecated)
  • Subgraph StableSwap: Ethereum endpoint

Aptos contract docs fixed:

  • index.md: "PancakesSwap" typo → "PancakeSwap"
  • masterchef.mdx: module name pancakepancake_masterchef; "SingerCapability" → "SignerCapability"; 5 fields missing u prefix on u64 type
  • v2/router-v2.md: quadruple hop "3 pools" → "4 pools" (2 occurrences)
  • v2/swap-core-v2.md: lp_balance return type u128u64
  • syrup-pools.md: added missing : u64 return type on get_user_stake_amount

From reverse scan (undocumented code changes)

  • Infinity Stable feature was launched then disabled/hidden in frontend
  • Infinity migrator contracts removed from infinity-periphery
  • 0.01% fee tier added for limit orders
  • Base added to IFO support chains

Pages scanned (no drift)

  • contracts/masterchef/addresses.md
  • contracts/limit-order/addresses.md
  • contracts/pancake-gifts/addresses.md
  • contracts/vecake-and-gauge-voting.md
  • contracts/farm-booster-bcake.md
  • contracts-aptos/ifo.mdx
  • contracts-aptos/utils.md
  • contracts-aptos/v2/overview.mdx

Skipped (needs human judgment)

  • contracts/cake/cross-chain-cake-bridging.md — only documents BSC-to-Aptos, needs rewrite for multi-chain
  • contracts/stableswap/stableswap-pools.md — hardcoded pools are stale (BUSD pairs retired, now API-fetched)
  • contracts/cross-chain-farming.md — page is entirely empty
  • contracts/crosschain/addresses.md — missing Solana (uses non-EVM mechanism)
  • Aptos admin multi-sig addresses — differ from source defaults, may have been changed on-chain
  • V3 MasterchefV3 testnet addresses for zkEVM/ARB/Linea/Base — removed, may still be valid deployed contracts
  • opBNB subgraph URL hostname migration — new URLs require API key

Auto-generated by doc-sync agent. @cheferic @chef-miso please review.

Remove sunset chains (Polygon zkEVM, Goerli), fix wrong addresses,
add missing chains (Monad, opBNB, Base, ETH Sepolia), and update
stale subgraph IDs.
CAKE addresses:
- Remove sunset Polygon zkEVM from mainnet table
- Remove stale Goerli testnet entries (ETH Goerli, Base Goerli, Linea Goerli)
- Remove zkEVM testnet row (had wrong address — was Linea's)
- Rename opBNB to opBNB Testnet in testnet table

Aptos contracts:
- Fix "PancakesSwap" typo → "PancakeSwap"
- Fix masterchef module name: pancake → pancake_masterchef
- Fix "SingerCapability" typo → "SignerCapability"
- Fix 5 fields with missing `u` prefix on u64 type
- Fix quadruple hop description: "3 pools" → "4 pools"
- Fix lp_balance return type: u128 → u64
- Add missing return type `: u64` on get_user_stake_amount

Auto-generated by doc-sync agent. @cheferic @chef-miso please review.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pancake-developer Ready Ready Preview, Comment Apr 14, 2026 1:37pm

Request Review

chef-eric added a commit that referenced this pull request Apr 17, 2026
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