From 725aa8db3e870ff2210194a0f02cb6a79da661ed Mon Sep 17 00:00:00 2001 From: ChefEric <173023571+chef-eric@users.noreply.github.com> Date: Tue, 14 Apr 2026 21:21:06 +0800 Subject: [PATCH] docs: additional sync fixes (2026-04-14 v2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- docs/pages/contracts-aptos/index.md | 2 +- docs/pages/contracts-aptos/masterchef.mdx | 14 +++++++------- docs/pages/contracts-aptos/syrup-pools.md | 2 +- docs/pages/contracts-aptos/v2/router-v2.md | 4 ++-- docs/pages/contracts-aptos/v2/swap-core-v2.md | 2 +- docs/pages/contracts/cake/index.md | 8 +------- 6 files changed, 13 insertions(+), 19 deletions(-) diff --git a/docs/pages/contracts-aptos/index.md b/docs/pages/contracts-aptos/index.md index 9f0d456..61d529f 100644 --- a/docs/pages/contracts-aptos/index.md +++ b/docs/pages/contracts-aptos/index.md @@ -8,7 +8,7 @@ description: >- ## Features -PancakesSwap on Aptos! We have landed on Aptos and will continuously deploy more features. +PancakeSwap on Aptos! We have landed on Aptos and will continuously deploy more features. [pancakeswap-v2](v2/overview.mdx) diff --git a/docs/pages/contracts-aptos/masterchef.mdx b/docs/pages/contracts-aptos/masterchef.mdx index 171c26e..d3167ae 100644 --- a/docs/pages/contracts-aptos/masterchef.mdx +++ b/docs/pages/contracts-aptos/masterchef.mdx @@ -2,7 +2,7 @@ ## Contract info -**Contract name**: pancake::masterchef\ +**Contract name**: pancake_masterchef::masterchef\ **Contract address:** 7968a225eba6c99f5f1070aeec1b405757dee939eabcfda43ba91588bf5fccf3::masterchef @@ -38,19 +38,19 @@ struct MasterChef has key { | Name | Type | Description | | ----------- | ------- | ---------------------------------- | -| signer_cap | `account::SingerCapability` | The signer capability of the resource account. | +| signer_cap | `account::SignerCapability` | The signer capability of the resource account. | | admin | `address` | The admin address of the module. | | upkeep_admin | `address` | The account that execute upkeep call. | | lp_to_pid | `table_with_length::TableWithLength` | LP token type info and corresponding pool id. | | lps | `vector` | All added LP token type info array. | | pool_info | `vector` | A list of pool _info struct. | | total_regular_alloc_point | `u64` | Sum of all regular farm allocate points. | -| total_special_alloc_point | `64` | Sum of all special farm allocate points. | -| cake_per_second | `64` | Cake reward per second for all farm pools. | +| total_special_alloc_point | `u64` | Sum of all special farm allocate points. | +| cake_per_second | `u64` | Cake reward per second for all farm pools. | | cake_rate_to_regular | `u64` | The percentage of cake rewards that regular farm can earn. | -| cake_rate_to_special | `64` | The percentage of cake rewards that special farm can earn. | -| last_upkeep_timestamp | `64` | The timestamp of the last upkeep execution. | -| end_timestamp | `64` | The last time that farms can get cake reward, each upkeep operation will extend this timestamp. | +| cake_rate_to_special | `u64` | The percentage of cake rewards that special farm can earn. | +| last_upkeep_timestamp | `u64` | The timestamp of the last upkeep execution. | +| end_timestamp | `u64` | The last time that farms can get cake reward, each upkeep operation will extend this timestamp. | ### PoolUserInfo diff --git a/docs/pages/contracts-aptos/syrup-pools.md b/docs/pages/contracts-aptos/syrup-pools.md index 514b79a..6e18774 100644 --- a/docs/pages/contracts-aptos/syrup-pools.md +++ b/docs/pages/contracts-aptos/syrup-pools.md @@ -156,7 +156,7 @@ public fun get_pool_info(): (u64, u64, u64, u64, u Get the user stake amount in the pool. ```rust -public fun get_user_stake_amount(account: address) +public fun get_user_stake_amount(account: address): u64 ``` #### Input Values diff --git a/docs/pages/contracts-aptos/v2/router-v2.md b/docs/pages/contracts-aptos/v2/router-v2.md index 08bb6d0..4fda1de 100644 --- a/docs/pages/contracts-aptos/v2/router-v2.md +++ b/docs/pages/contracts-aptos/v2/router-v2.md @@ -200,7 +200,7 @@ public entry fun swap_exact_output_triplehop( ### Swap Exact Input Quadruple Hop -Swap exact amount of tokenX to tokenB using 3 pools (Pool XY, Pool YZ, Pool ZA and Pool AB). +Swap exact amount of tokenX to tokenB using 4 pools (Pool XY, Pool YZ, Pool ZA and Pool AB). ```rust public entry fun swap_exact_input_quadruplehop( @@ -218,7 +218,7 @@ public entry fun swap_exact_input_quadruplehop( ### Swap Exact Output Quadruple Hop -Swap tokenX to exact amount of tokenB using 3 pools (Pool XY, Pool YZ, Pool ZA and Pool AB). +Swap tokenX to exact amount of tokenB using 4 pools (Pool XY, Pool YZ, Pool ZA and Pool AB). ```rust public entry fun swap_exact_output_quadruplehop( diff --git a/docs/pages/contracts-aptos/v2/swap-core-v2.md b/docs/pages/contracts-aptos/v2/swap-core-v2.md index 6a022ea..45b8c6b 100644 --- a/docs/pages/contracts-aptos/v2/swap-core-v2.md +++ b/docs/pages/contracts-aptos/v2/swap-core-v2.md @@ -142,7 +142,7 @@ public fun lp_balance(addr: address): u64 | Type | Description | | ------ | -------------------------- | -| `u128` | The amount of LP user own. | +| `u64` | The amount of LP user own. | ### Total LP Supply diff --git a/docs/pages/contracts/cake/index.md b/docs/pages/contracts/cake/index.md index 7490f86..c40f870 100644 --- a/docs/pages/contracts/cake/index.md +++ b/docs/pages/contracts/cake/index.md @@ -12,7 +12,6 @@ PancakeSwap uses LayerZero v1 OFT standard to bridge across chains. Bridge via t | Base | 0x3055913c90Fcc1A6CE9a358911721eEb942013A1 | | Linea | 0x0D1E753a25eBda689453309112904807625bEFBe | | opBNB | 0x2779106e4F4A8A28d77A24c18283651a2AE22D1C | -| zkEVM | 0x0D1E753a25eBda689453309112904807625bEFBe | | zkSync | 0x3A287a06c66f9E95a56327185cA2BDF5f031cEcD | | Aptos | 0x159df6b7689437016108a019fd5bef736bac692b6d4a1f10c941f6fbb9a74ca6::oft::CakeOFT | | Solana | 4qQeZ5LwSz6HuupUu8jCtgXyW1mYQcNbFAW1sWZp89HL | @@ -23,10 +22,5 @@ PancakeSwap uses LayerZero v1 OFT standard to bridge across chains. Bridge via t | Chain | Address | | ------------------------------------------ | ------------------------------------------ | | BSC testnet | 0x8d008B313C1d6C7fE2982F62d32Da7507cF43551 | -| ETH Goerli | 0xc2C3eAbE0368a2Ea97f485b03D1098cdD7d0c081 | -| Base Goerli | 0x052a99849Ef2e13a5CB28275862991671D4b6fF5 | -| Linea Goerli | 0x2B3C5df29F73dbF028BA82C33e0A5A6e5800F75e | -| opBNB | 0xa11B290B038C35711eB309268a2460754f730921 | -| zkEVM | 0x2B3C5df29F73dbF028BA82C33e0A5A6e5800F75e | -| Solana devnet | FwX9puvdxVAqLY8Cs7cMXPoZcPY8SdxMWkrnP7EPDiSw | +| opBNB Testnet | 0xa11B290B038C35711eB309268a2460754f730921 |