@pancakeswap/pools 5.0.2 → 5.0.4
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/boostedPools/index.d.ts.map +1 -1
- package/dist/constants/boostedPools/opBNB.d.ts +3 -0
- package/dist/constants/boostedPools/opBNB.d.ts.map +1 -0
- package/dist/constants/contracts.d.ts +3 -0
- package/dist/constants/contracts.d.ts.map +1 -1
- package/dist/constants/pools/204.d.ts +5 -0
- package/dist/constants/pools/204.d.ts.map +1 -0
- package/dist/constants/pools/56.d.ts.map +1 -1
- package/dist/constants/pools/index.d.ts +2 -2
- 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 +388 -337
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +389 -338
- package/dist/index.mjs.map +1 -1
- package/dist/utils/boosted/apr/fetchAlpBoostedPoolApr.d.ts +2 -1
- package/dist/utils/boosted/apr/fetchAlpBoostedPoolApr.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/boostedPools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/boostedPools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAIzD,MAAM,MAAM,yBAAyB,CAAC,QAAQ,SAAS,OAAO,IAAI;KAC/D,OAAO,IAAI,QAAQ,CAAC,CAAC,EAAE,aAAa,EAAE;CACxC,CAAA;AAED,eAAO,MAAM,6BAA6B,oCAGH,CAAA;AAEvC,eAAO,MAAM,qBAAqB,YAAa,OAAO,gCAErD,CAAA;AAED,eAAO,MAAM,oBAAoB,YAAa,OAAO,mBAAmB,MAAM,KAAG,aAAa,GAAG,SAGhG,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opBNB.d.ts","sourceRoot":"","sources":["../../../src/constants/boostedPools/opBNB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,2BAA2B,CAAA;AAEtE,eAAO,MAAM,iBAAiB,EAAE,aAAa,EAO5C,CAAA"}
|
|
@@ -15,6 +15,7 @@ export declare const ICAKE: {
|
|
|
15
15
|
readonly 84531: "0x";
|
|
16
16
|
readonly 59140: "0x";
|
|
17
17
|
readonly 1442: "0x";
|
|
18
|
+
readonly 204: "0x";
|
|
18
19
|
};
|
|
19
20
|
export declare const CAKE_VAULT: {
|
|
20
21
|
readonly 56: "0x45c54210128a065de780C4B0Df3d16664f7f859e";
|
|
@@ -27,6 +28,7 @@ export declare const CAKE_VAULT: {
|
|
|
27
28
|
readonly 84531: "0x";
|
|
28
29
|
readonly 59140: "0x";
|
|
29
30
|
readonly 1442: "0x";
|
|
31
|
+
readonly 204: "0x";
|
|
30
32
|
};
|
|
31
33
|
export declare const CAKE_FLEXIBLE_SIDE_VAULT: {
|
|
32
34
|
readonly 56: "0x615e896A8C2CA8470A2e9dc2E9552998f8658Ea0";
|
|
@@ -39,5 +41,6 @@ export declare const CAKE_FLEXIBLE_SIDE_VAULT: {
|
|
|
39
41
|
readonly 84531: "0x";
|
|
40
42
|
readonly 59140: "0x";
|
|
41
43
|
readonly 1442: "0x";
|
|
44
|
+
readonly 204: "0x";
|
|
42
45
|
};
|
|
43
46
|
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/constants/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,OAAO,GAAG,gBAAgB,IAAI;KACnE,OAAO,IAAI,CAAC,GAAG,OAAO;CACxB,CAAA;AAED,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/constants/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,OAAO,GAAG,gBAAgB,IAAI;KACnE,OAAO,IAAI,CAAC,GAAG,OAAO;CACxB,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;CAYsC,CAAA;AAExD,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYiC,CAAA;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;CAYmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"204.d.ts","sourceRoot":"","sources":["../../../src/constants/pools/204.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAA;AAE1D,eAAO,MAAM,SAAS,EAAE,cAAc,EAenC,CAAA;AAGH,eAAO,MAAM,aAAa,EAAE,cAAc,EAAO,CAAA;AASjD,eAAO,MAAM,KAAK,EAAE,cAAc,EAAqC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"56.d.ts","sourceRoot":"","sources":["../../../src/constants/pools/56.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAA;AAE1D,eAAO,MAAM,SAAS,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"56.d.ts","sourceRoot":"","sources":["../../../src/constants/pools/56.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAA;AAE1D,eAAO,MAAM,SAAS,EAAE,cAAc,EAkCnC,CAAA;AAo4FH,eAAO,MAAM,KAAK,EAAE,cAAc,EAAqC,CAAA"}
|
|
@@ -3,8 +3,8 @@ import { SerializedPool } from '../../types';
|
|
|
3
3
|
export type PoolsConfigByChain<TChainId extends ChainId> = {
|
|
4
4
|
[chainId in TChainId]: SerializedPool[];
|
|
5
5
|
};
|
|
6
|
-
export declare const POOLS_CONFIG_BY_CHAIN: PoolsConfigByChain<ChainId.ETHEREUM | ChainId.BSC | ChainId.BSC_TESTNET | ChainId.ZKSYNC_TESTNET | ChainId.ZKSYNC | ChainId.POLYGON_ZKEVM_TESTNET | ChainId.ARBITRUM_ONE | ChainId.ARBITRUM_GOERLI | ChainId.LINEA_TESTNET | ChainId.BASE_TESTNET>;
|
|
7
|
-
export declare const LIVE_POOLS_CONFIG_BY_CHAIN: PoolsConfigByChain<ChainId.ETHEREUM | ChainId.BSC | ChainId.BSC_TESTNET | ChainId.ZKSYNC_TESTNET | ChainId.ZKSYNC | ChainId.POLYGON_ZKEVM_TESTNET | ChainId.ARBITRUM_ONE | ChainId.ARBITRUM_GOERLI | ChainId.LINEA_TESTNET | ChainId.BASE_TESTNET>;
|
|
6
|
+
export declare const POOLS_CONFIG_BY_CHAIN: PoolsConfigByChain<ChainId.ETHEREUM | ChainId.BSC | ChainId.BSC_TESTNET | ChainId.ZKSYNC_TESTNET | ChainId.ZKSYNC | ChainId.OPBNB | ChainId.POLYGON_ZKEVM_TESTNET | ChainId.ARBITRUM_ONE | ChainId.ARBITRUM_GOERLI | ChainId.LINEA_TESTNET | ChainId.BASE_TESTNET>;
|
|
7
|
+
export declare const LIVE_POOLS_CONFIG_BY_CHAIN: PoolsConfigByChain<ChainId.ETHEREUM | ChainId.BSC | ChainId.BSC_TESTNET | ChainId.ZKSYNC_TESTNET | ChainId.ZKSYNC | ChainId.OPBNB | ChainId.POLYGON_ZKEVM_TESTNET | ChainId.ARBITRUM_ONE | ChainId.ARBITRUM_GOERLI | ChainId.LINEA_TESTNET | ChainId.BASE_TESTNET>;
|
|
8
8
|
export declare const getPoolsConfig: (chainId: ChainId) => SerializedPool[] | undefined;
|
|
9
9
|
export declare const getLivePoolsConfig: (chainId: ChainId) => SerializedPool[] | undefined;
|
|
10
10
|
export declare const MAX_LOCK_DURATION = 31536000;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/pools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/pools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAiB7C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAI5C,MAAM,MAAM,kBAAkB,CAAC,QAAQ,SAAS,OAAO,IAAI;KACxD,OAAO,IAAI,QAAQ,GAAG,cAAc,EAAE;CACxC,CAAA;AAED,eAAO,MAAM,qBAAqB,oQAeO,CAAA;AAEzC,eAAO,MAAM,0BAA0B,oQAeE,CAAA;AAEzC,eAAO,MAAM,cAAc,YAAa,OAAO,iCAK9C,CAAA;AAED,eAAO,MAAM,kBAAkB,YAAa,OAAO,iCAKlD,CAAA;AAED,eAAO,MAAM,iBAAiB,WAAW,CAAA;AACzC,eAAO,MAAM,oBAAoB,SAAS,CAAA;AAC1C,eAAO,MAAM,gBAAgB,SAAS,CAAA;AACtC,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAC3C,eAAO,MAAM,eAAe,YAAY,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChainId } from '@pancakeswap/chains';
|
|
2
|
-
export declare const SUPPORTED_CHAIN_IDS: readonly [ChainId.BSC, ChainId.BSC_TESTNET, ChainId.ETHEREUM, ChainId.ARBITRUM_ONE, ChainId.ARBITRUM_GOERLI, ChainId.ZKSYNC, ChainId.ZKSYNC_TESTNET, ChainId.LINEA_TESTNET, ChainId.BASE_TESTNET, ChainId.POLYGON_ZKEVM_TESTNET];
|
|
2
|
+
export declare const SUPPORTED_CHAIN_IDS: readonly [ChainId.BSC, ChainId.BSC_TESTNET, ChainId.ETHEREUM, ChainId.ARBITRUM_ONE, ChainId.ARBITRUM_GOERLI, ChainId.ZKSYNC, ChainId.ZKSYNC_TESTNET, ChainId.LINEA_TESTNET, ChainId.BASE_TESTNET, ChainId.POLYGON_ZKEVM_TESTNET, ChainId.OPBNB];
|
|
3
3
|
export type SupportedChainId = (typeof SUPPORTED_CHAIN_IDS)[number];
|
|
4
4
|
export declare const CAKE_VAULT_SUPPORTED_CHAINS: readonly [ChainId.BSC, ChainId.BSC_TESTNET];
|
|
5
5
|
export type CakeVaultSupportedChainId = (typeof CAKE_VAULT_SUPPORTED_CHAINS)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supportedChains.d.ts","sourceRoot":"","sources":["../../src/constants/supportedChains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE7C,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"supportedChains.d.ts","sourceRoot":"","sources":["../../src/constants/supportedChains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE7C,eAAO,MAAM,mBAAmB,iPAYtB,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEnE,eAAO,MAAM,2BAA2B,6CAA8C,CAAA;AAEtF,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAA"}
|