Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/pages/contracts-aptos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
14 changes: 7 additions & 7 deletions docs/pages/contracts-aptos/masterchef.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Contract info

**Contract name**: pancake::masterchef\
**Contract name**: pancake_masterchef::masterchef\
**Contract address:** 

7968a225eba6c99f5f1070aeec1b405757dee939eabcfda43ba91588bf5fccf3::masterchef
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/contracts-aptos/syrup-pools.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public fun get_pool_info<StakeToken, RewardToken, UID>(): (u64, u64, u64, u64, u
Get the user stake amount in the pool.

```rust
public fun get_user_stake_amount<StakeToken, RewardToken, UID>(account: address)
public fun get_user_stake_amount<StakeToken, RewardToken, UID>(account: address): u64
```

#### Input Values
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/contracts-aptos/v2/router-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public entry fun swap_exact_output_triplehop<X, Y, Z, A>(

### 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<X, Y, Z, A, B>(
Expand All @@ -218,7 +218,7 @@ public entry fun swap_exact_input_quadruplehop<X, Y, Z, A, B>(

### 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<X, Y, Z, A, B>(
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/contracts-aptos/v2/swap-core-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public fun lp_balance<X, Y>(addr: address): u64

| Type | Description |
| ------ | -------------------------- |
| `u128` | The amount of LP user own. |
| `u64` | The amount of LP user own. |

### Total LP Supply

Expand Down
8 changes: 1 addition & 7 deletions docs/pages/contracts/cake/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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 |