@pancakeswap/pools 4.0.10 → 4.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/contracts.d.ts +1 -1
- package/dist/constants/contracts.d.ts.map +1 -1
- package/dist/constants/pools/1.d.ts.map +1 -1
- package/dist/constants/pools/56.d.ts.map +1 -1
- package/dist/constants/pools/index.d.ts +1 -1
- package/dist/constants/pools/index.d.ts.map +1 -1
- package/dist/constants/supportedChains.d.ts +1 -1
- package/dist/constants/supportedChains.d.ts.map +1 -1
- package/dist/index.js +102 -86
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -18
- package/dist/index.mjs.map +1 -1
- package/dist/queries/fetchPools.d.ts +1 -1
- package/dist/queries/fetchPools.d.ts.map +1 -1
- package/dist/queries/fetchUserIfo.d.ts +1 -1
- package/dist/queries/fetchUserIfo.d.ts.map +1 -1
- package/dist/queries/fetchUserPoolsData.d.ts +1 -1
- package/dist/queries/fetchUserPoolsData.d.ts.map +1 -1
- package/dist/queries/fetchVaultPublic.d.ts +1 -1
- package/dist/queries/fetchVaultPublic.d.ts.map +1 -1
- package/dist/queries/fetchVaultUser.d.ts +1 -1
- package/dist/queries/fetchVaultUser.d.ts.map +1 -1
- package/dist/queries/getAddresses.d.ts +1 -1
- package/dist/queries/getAddresses.d.ts.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/getContractAddress.d.ts +1 -1
- package/dist/utils/getContractAddress.d.ts.map +1 -1
- package/dist/utils/getPoolContractBySousId.d.ts +1 -1
- package/dist/utils/getPoolContractBySousId.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChainId } from '@pancakeswap/
|
|
1
|
+
import { ChainId } from '@pancakeswap/chains';
|
|
2
2
|
import { ethereumTokens, bscTokens, bscTestnetTokens, arbitrumTokens, arbitrumGoerliTokens, zksyncTokens, zkSyncTestnetTokens, baseTestnetTokens, lineaTestnetTokens, polygonZkEvmTestnetTokens, CAKE } from '@pancakeswap/tokens';
|
|
3
3
|
import { getAddress, getContract } from 'viem';
|
|
4
4
|
import BigNumber7 from 'bignumber.js';
|
|
@@ -27,6 +27,22 @@ var VaultKey = /* @__PURE__ */ ((VaultKey2) => {
|
|
|
27
27
|
|
|
28
28
|
// src/constants/pools/1.ts
|
|
29
29
|
var livePools = [
|
|
30
|
+
{
|
|
31
|
+
sousId: 9,
|
|
32
|
+
stakingToken: ethereumTokens.cake,
|
|
33
|
+
earningToken: ethereumTokens.rpl,
|
|
34
|
+
contractAddress: "0x3B30A93D056e9A1156D0f17CBd05B711c4232C84",
|
|
35
|
+
poolCategory: "Core" /* CORE */,
|
|
36
|
+
tokenPerSecond: "0.0006045"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
sousId: 8,
|
|
40
|
+
stakingToken: ethereumTokens.cake,
|
|
41
|
+
earningToken: ethereumTokens.wstETH,
|
|
42
|
+
contractAddress: "0x3C6452d5a217Cc65b98F0803c6D1BD7Fe588389A",
|
|
43
|
+
poolCategory: "Core" /* CORE */,
|
|
44
|
+
tokenPerSecond: "0.00000271"
|
|
45
|
+
},
|
|
30
46
|
{
|
|
31
47
|
sousId: 7,
|
|
32
48
|
stakingToken: ethereumTokens.cake,
|
|
@@ -180,15 +196,6 @@ var livePools2 = [
|
|
|
180
196
|
tokenPerBlock: "0.00004813",
|
|
181
197
|
version: 3
|
|
182
198
|
},
|
|
183
|
-
{
|
|
184
|
-
sousId: 353,
|
|
185
|
-
stakingToken: bscTokens.cake,
|
|
186
|
-
earningToken: bscTokens.hay,
|
|
187
|
-
contractAddress: "0x8c41046b3C0D7b7C80316a57C39C74c9F5133852",
|
|
188
|
-
poolCategory: "Core" /* CORE */,
|
|
189
|
-
tokenPerBlock: "0.02314",
|
|
190
|
-
version: 3
|
|
191
|
-
},
|
|
192
199
|
{
|
|
193
200
|
sousId: 352,
|
|
194
201
|
stakingToken: bscTokens.cake,
|
|
@@ -242,14 +249,6 @@ var livePools2 = [
|
|
|
242
249
|
poolCategory: "Core" /* CORE */,
|
|
243
250
|
tokenPerBlock: "0.02314",
|
|
244
251
|
version: 3
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
sousId: 346,
|
|
248
|
-
stakingToken: bscTokens.cake,
|
|
249
|
-
earningToken: bscTokens.csix,
|
|
250
|
-
contractAddress: "0x5250320d765F366E2B96Cd5c7d08F1902422195e",
|
|
251
|
-
poolCategory: "Core" /* CORE */,
|
|
252
|
-
tokenPerBlock: "2.017"
|
|
253
252
|
}
|
|
254
253
|
].map((p) => ({
|
|
255
254
|
...p,
|
|
@@ -258,6 +257,23 @@ var livePools2 = [
|
|
|
258
257
|
earningToken: p.earningToken.serialize
|
|
259
258
|
}));
|
|
260
259
|
var finishedPools2 = [
|
|
260
|
+
{
|
|
261
|
+
sousId: 353,
|
|
262
|
+
stakingToken: bscTokens.cake,
|
|
263
|
+
earningToken: bscTokens.hay,
|
|
264
|
+
contractAddress: "0x8c41046b3C0D7b7C80316a57C39C74c9F5133852",
|
|
265
|
+
poolCategory: "Core" /* CORE */,
|
|
266
|
+
tokenPerBlock: "0.02314",
|
|
267
|
+
version: 3
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
sousId: 346,
|
|
271
|
+
stakingToken: bscTokens.cake,
|
|
272
|
+
earningToken: bscTokens.csix,
|
|
273
|
+
contractAddress: "0x5250320d765F366E2B96Cd5c7d08F1902422195e",
|
|
274
|
+
poolCategory: "Core" /* CORE */,
|
|
275
|
+
tokenPerBlock: "2.017"
|
|
276
|
+
},
|
|
261
277
|
{
|
|
262
278
|
sousId: 355,
|
|
263
279
|
stakingToken: bscTokens.cake,
|