Skip to content

Commit

Permalink
chore: Move finished pools (#7730)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 42d8e48</samp>

### Summary
🐼?

<!--
1.  🚚
2.  🏁
3.  🎁
-->
This pull request moves two closed pools from `activePools` to
`finishedPools` in `./packages/pools/src/constants/pools/56.ts`. This
allows users to access their tokens and rewards from the Planet Finance
and Level Up pools.

> _Two pools are closed now_
> _`activePools` and `finishedPools`_
> _Change with autumn leaves_

### Walkthrough
* Remove closed pools from activePools array
([link](https://github.com/pancakeswap/pancake-frontend/pull/7730/files?diff=unified&w=0#diff-21a68ca608a542b99be691600781000b07789bfe32d5765d6c2290c46107331bL62-L70),
[link](https://github.com/pancakeswap/pancake-frontend/pull/7730/files?diff=unified&w=0#diff-21a68ca608a542b99be691600781000b07789bfe32d5765d6c2290c46107331bL150-L158))
* Add closed pools to finishedPools array
([link](https://github.com/pancakeswap/pancake-frontend/pull/7730/files?diff=unified&w=0#diff-21a68ca608a542b99be691600781000b07789bfe32d5765d6c2290c46107331bR151-R168))
  • Loading branch information
memoyil authored Sep 3, 2023
1 parent 65aac02 commit 5ad6c6c
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions packages/pools/src/constants/pools/56.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,6 @@ export const livePools: SerializedPool[] = [
tokenPerBlock: '0.5594',
version: 3,
},
{
sousId: 355,
stakingToken: bscTokens.cake,
earningToken: bscTokens.planet,
contractAddress: '0x69Aeec4EBA2333deC563E378a6AFD5eF23437677',
poolCategory: PoolCategory.CORE,
tokenPerBlock: '150.4',
version: 3,
},
{
sousId: 354,
stakingToken: bscTokens.cake,
Expand Down Expand Up @@ -147,15 +138,6 @@ export const livePools: SerializedPool[] = [
poolCategory: PoolCategory.CORE,
tokenPerBlock: '2.017',
},
{
sousId: 325,
stakingToken: bscTokens.cake,
earningToken: bscTokens.lvl,
contractAddress: '0x1394a09F868bE27B1c8D39D79F0b0D6f112bddAf',
poolCategory: PoolCategory.CORE,
tokenPerBlock: '0.009765',
version: 3,
},
].map((p) => ({
...p,
contractAddress: getAddress(p.contractAddress),
Expand All @@ -165,6 +147,24 @@ export const livePools: SerializedPool[] = [

// known finished pools
const finishedPools = [
{
sousId: 355,
stakingToken: bscTokens.cake,
earningToken: bscTokens.planet,
contractAddress: '0x69Aeec4EBA2333deC563E378a6AFD5eF23437677',
poolCategory: PoolCategory.CORE,
tokenPerBlock: '150.4',
version: 3,
},
{
sousId: 325,
stakingToken: bscTokens.cake,
earningToken: bscTokens.lvl,
contractAddress: '0x1394a09F868bE27B1c8D39D79F0b0D6f112bddAf',
poolCategory: PoolCategory.CORE,
tokenPerBlock: '0.009765',
version: 3,
},
{
sousId: 345,
stakingToken: bscTokens.cake,
Expand Down

1 comment on commit 5ad6c6c

@vercel
Copy link

@vercel vercel bot commented on 5ad6c6c Sep 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

uikit – ./packages/uikit

uikit.pancake.run
uikit-git-develop.pancake.run

Please sign in to comment.