@pancakeswap/tokens 0.7.1 → 0.7.3

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pancakeswap/tokens@0.7.1 build /home/runner/work/pancake-frontend/pancake-frontend/packages/tokens
2
+ > @pancakeswap/tokens@0.7.3 build /home/runner/work/pancake-frontend/pancake-frontend/packages/tokens
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: {"index":"./src/index.ts"}
@@ -10,7 +10,7 @@ CLI Target: es2020
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM dist/index.mjs 124.07 KB
14
- ESM ⚡️ Build success in 1128ms
15
- CJS dist/index.js 133.96 KB
16
- CJS ⚡️ Build success in 1131ms
13
+ ESM dist/index.mjs 124.54 KB
14
+ ESM ⚡️ Build success in 890ms
15
+ CJS dist/index.js 134.46 KB
16
+ CJS ⚡️ Build success in 893ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @pancakeswap/tokens
2
2
 
3
+ ## 0.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - cb44715: [Major Updates]
8
+ **@pancakeswap/routing-sdk-addon-infinity**
9
+ **@pancakeswap/routing-sdk-addon-quoter**
10
+ **@pancakeswap/infinity-sdk**
11
+
12
+ 3 packages added for support infinity(CL & Bin) pools and dynamic hooks path finding and liquidity management.
13
+
14
+ [Minor Updates]
15
+ **@pancakeswap/universal-router-sdk**: This update implements Infinity CL/BIN route planning, merges and restructures code for stable, V2, V3, and Infinity pools, refactors commands into a RoutePlanner, and removes legacy ABIs. It adds new decode logic for universal calldata, reorganizes input token permits, and updates addresses in constants, improving flexibility and reducing complexity.
16
+
17
+ **@pancakeswap/widgets-internal** : Add Infinity modules, "PriceRangeChartWithPeriodAndLiquidity," new "ProtocolMenu," "PoolTypeFilter," and "Tips," and remove "PoolTagFilter," "PoolTypeMenu." We update "FeatureStack" (folding/info icons), "FeeTierTooltip," "NetworkFilter," "TokenFilter," "TokenOverview," and ROI logic. We also revise Infinity liquidity features with new chart components and hooks.
18
+
19
+ **@pancakeswap/swap-sdk-core**: Reduce rounding errors and improve quote accuracy, with refined type definitions ensuring a smoother developer experience.
20
+
21
+ **@pancakeswap/smart-router**: Refactored some references to Infinity and introduced InfinityRouter with Infinity CL and BIN pools. Removed V4 code, updated on-chain quote providers, route encoders, logging, and aggregator logic. Enhanced route handling performance and ensured compatibility with Infinity SDK for improved quoting.
22
+
23
+ **@pancakeswap/routing-sdk**: Add Infinity CL and Bin pool support to the routing SDK. Introduce new constants, math utilities, and route encoding for Infinity mixed routes. Integrate Infinity quoter logic, including bin and CL quote calls, gas cost estimation, and logging improvements for better debugging.
24
+
25
+ **@pancakeswap/farms**: Added InfinityBIN and InfinityCLAMM protocols, introduced BSC testnet support, updated fetch logic to handle zeroAddress with Native tokens, and included new V4 farm format in utilities. Also updated test exports, chain arrays, and support lists to incorporate these changes and ensure robust universal farm configuration.
26
+
27
+ **@pancakeswap/uikit**
28
+ '@pancakeswap/utils': Added forwardRef support to Breadcrumbs, new Button variant "textPrimary60," a noButtonMargin prop in ButtonMenu, children rendering in CopyButton, itemKey in DropdownMenu, new icons (CurveGraph, CurvedChart, HookFeature, SpotGraph), updated color tokens and styles, refined useModal logic.
29
+
30
+ [Patch Updates]
31
+
32
+ Added support for infinity by introducing internal types and updating unit tests to improve code maintainability and logging accuracy.
33
+
34
+ - Updated dependencies [cb44715]
35
+ - @pancakeswap/sdk@5.8.13
36
+ - @pancakeswap/token-lists@0.0.15
37
+
38
+ ## 0.7.2
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [5f264c5]
43
+ - Updated dependencies [0436fec]
44
+ - @pancakeswap/chains@0.5.1
45
+ - @pancakeswap/sdk@5.8.12
46
+ - @pancakeswap/token-lists@0.0.14
47
+
3
48
  ## 0.7.1
4
49
 
5
50
  ### Patch Changes
@@ -456,6 +456,9 @@ export declare const allTokens: {
456
456
  mockA: import("@pancakeswap/sdk").ERC20Token;
457
457
  msix: import("@pancakeswap/sdk").ERC20Token;
458
458
  cake2: import("@pancakeswap/sdk").ERC20Token;
459
+ MNova: import("@pancakeswap/sdk").ERC20Token;
460
+ MStella: import("@pancakeswap/sdk").ERC20Token;
461
+ musdt: import("@pancakeswap/sdk").ERC20Token;
459
462
  };
460
463
  1: {
461
464
  weth: import("@pancakeswap/sdk").ERC20Token;
@@ -1 +1 @@
1
- {"version":3,"file":"allTokens.d.ts","sourceRoot":"","sources":["../src/allTokens.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBrB,CAAA"}
1
+ {"version":3,"file":"allTokens.d.ts","sourceRoot":"","sources":["../src/allTokens.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBrB,CAAA"}
@@ -13,5 +13,8 @@ export declare const bscTestnetTokens: {
13
13
  mockA: ERC20Token;
14
14
  msix: ERC20Token;
15
15
  cake2: ERC20Token;
16
+ MNova: ERC20Token;
17
+ MStella: ERC20Token;
18
+ musdt: ERC20Token;
16
19
  };
17
20
  //# sourceMappingURL=bscTestnet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bscTestnet.d.ts","sourceRoot":"","sources":["../../src/constants/bscTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,kBAAkB,CAAA;AAKnD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CA0C5B,CAAA"}
1
+ {"version":3,"file":"bscTestnet.d.ts","sourceRoot":"","sources":["../../src/constants/bscTestnet.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,kBAAkB,CAAA;AAInD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;CAkE5B,CAAA"}
package/dist/index.js CHANGED
@@ -4580,7 +4580,7 @@ var bscTokens = {
4580
4580
  "MyShell Token",
4581
4581
  "https://myshell.ai/"
4582
4582
  ),
4583
- susde: new sdk.ERC20Token(chains.ChainId.BSC, "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2", 18, "Staked", "sUSDe", ""),
4583
+ susde: new sdk.ERC20Token(chains.ChainId.BSC, "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2", 18, "sUSDe", "Staked USDe", ""),
4584
4584
  usde: new sdk.ERC20Token(chains.ChainId.BSC, "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34", 18, "USDe", "USDe", ""),
4585
4585
  ora: new sdk.ERC20Token(chains.ChainId.BSC, "0x333333C465a19C85f85c6CfbED7B16b0B26E3333", 18, "ORA", ""),
4586
4586
  olm: new sdk.ERC20Token(chains.ChainId.BSC, "0x972C42a6350B2f82CC532148eEc8862843De94c2", 18, "OLM", ""),
@@ -4627,6 +4627,30 @@ var bscTestnetTokens = {
4627
4627
  "CAKE2",
4628
4628
  "PancakeSwap Token",
4629
4629
  "https://pancakeswap.finance/"
4630
+ ),
4631
+ MNova: new sdk.ERC20Token(
4632
+ chains.ChainId.BSC_TESTNET,
4633
+ "0x56101aef6ae29b3046C67DAfADe6d7C6a8c2A644",
4634
+ 18,
4635
+ "MockNova",
4636
+ "MockNova",
4637
+ "MockNova"
4638
+ ),
4639
+ MStella: new sdk.ERC20Token(
4640
+ chains.ChainId.BSC_TESTNET,
4641
+ "0xB4F7dB3B33CaDE45D80ED206Ed3d221617647809",
4642
+ 18,
4643
+ "MockStella",
4644
+ "MockStella",
4645
+ "MockStella"
4646
+ ),
4647
+ musdt: new sdk.ERC20Token(
4648
+ chains.ChainId.BSC_TESTNET,
4649
+ "0x3A9C4EBe66FdA68c34DDf33036C82d31A5506e71",
4650
+ 6,
4651
+ "mUSDT",
4652
+ "mUSDT",
4653
+ "mUSDT"
4630
4654
  )
4631
4655
  };
4632
4656
  var ethereumTokens = {
package/dist/index.mjs CHANGED
@@ -4578,7 +4578,7 @@ var bscTokens = {
4578
4578
  "MyShell Token",
4579
4579
  "https://myshell.ai/"
4580
4580
  ),
4581
- susde: new ERC20Token(ChainId.BSC, "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2", 18, "Staked", "sUSDe", ""),
4581
+ susde: new ERC20Token(ChainId.BSC, "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2", 18, "sUSDe", "Staked USDe", ""),
4582
4582
  usde: new ERC20Token(ChainId.BSC, "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34", 18, "USDe", "USDe", ""),
4583
4583
  ora: new ERC20Token(ChainId.BSC, "0x333333C465a19C85f85c6CfbED7B16b0B26E3333", 18, "ORA", ""),
4584
4584
  olm: new ERC20Token(ChainId.BSC, "0x972C42a6350B2f82CC532148eEc8862843De94c2", 18, "OLM", ""),
@@ -4625,6 +4625,30 @@ var bscTestnetTokens = {
4625
4625
  "CAKE2",
4626
4626
  "PancakeSwap Token",
4627
4627
  "https://pancakeswap.finance/"
4628
+ ),
4629
+ MNova: new ERC20Token(
4630
+ ChainId.BSC_TESTNET,
4631
+ "0x56101aef6ae29b3046C67DAfADe6d7C6a8c2A644",
4632
+ 18,
4633
+ "MockNova",
4634
+ "MockNova",
4635
+ "MockNova"
4636
+ ),
4637
+ MStella: new ERC20Token(
4638
+ ChainId.BSC_TESTNET,
4639
+ "0xB4F7dB3B33CaDE45D80ED206Ed3d221617647809",
4640
+ 18,
4641
+ "MockStella",
4642
+ "MockStella",
4643
+ "MockStella"
4644
+ ),
4645
+ musdt: new ERC20Token(
4646
+ ChainId.BSC_TESTNET,
4647
+ "0x3A9C4EBe66FdA68c34DDf33036C82d31A5506e71",
4648
+ 6,
4649
+ "mUSDT",
4650
+ "mUSDT",
4651
+ "mUSDT"
4628
4652
  )
4629
4653
  };
4630
4654
  var ethereumTokens = {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@pancakeswap/tokens",
3
3
  "license": "MIT",
4
- "version": "0.7.1",
4
+ "version": "0.7.3",
5
5
  "description": "Tokens for pancakeswap",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
8
8
  "sideEffects": false,
9
9
  "types": "./dist/index.d.ts",
10
10
  "dependencies": {
11
- "@pancakeswap/chains": "0.5.0",
12
- "@pancakeswap/sdk": "5.8.11",
13
- "@pancakeswap/token-lists": "0.0.14"
11
+ "@pancakeswap/chains": "0.5.1",
12
+ "@pancakeswap/sdk": "5.8.13",
13
+ "@pancakeswap/token-lists": "0.0.15"
14
14
  },
15
15
  "devDependencies": {
16
16
  "tsup": "^6.7.0",
17
- "@pancakeswap/utils": "6.0.10"
17
+ "@pancakeswap/utils": "6.1.0"
18
18
  },
19
19
  "exports": {
20
20
  ".": {
@@ -3365,7 +3365,7 @@ export const bscTokens = {
3365
3365
  'MyShell Token',
3366
3366
  'https://myshell.ai/',
3367
3367
  ),
3368
- susde: new ERC20Token(ChainId.BSC, '0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2', 18, 'Staked', 'sUSDe', ''),
3368
+ susde: new ERC20Token(ChainId.BSC, '0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2', 18, 'sUSDe', 'Staked USDe', ''),
3369
3369
  usde: new ERC20Token(ChainId.BSC, '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34', 18, 'USDe', 'USDe', ''),
3370
3370
  ora: new ERC20Token(ChainId.BSC, '0x333333C465a19C85f85c6CfbED7B16b0B26E3333', 18, 'ORA', ''),
3371
3371
  olm: new ERC20Token(ChainId.BSC, '0x972C42a6350B2f82CC532148eEc8862843De94c2', 18, 'OLM', ''),
@@ -1,5 +1,5 @@
1
- import { ERC20Token, WBNB } from '@pancakeswap/sdk'
2
1
  import { ChainId } from '@pancakeswap/chains'
2
+ import { ERC20Token, WBNB } from '@pancakeswap/sdk'
3
3
 
4
4
  import { BUSD_TESTNET, CAKE_TESTNET } from './common'
5
5
 
@@ -45,4 +45,28 @@ export const bscTestnetTokens = {
45
45
  'PancakeSwap Token',
46
46
  'https://pancakeswap.finance/',
47
47
  ),
48
+ MNova: new ERC20Token(
49
+ ChainId.BSC_TESTNET,
50
+ '0x56101aef6ae29b3046C67DAfADe6d7C6a8c2A644',
51
+ 18,
52
+ 'MockNova',
53
+ 'MockNova',
54
+ 'MockNova',
55
+ ),
56
+ MStella: new ERC20Token(
57
+ ChainId.BSC_TESTNET,
58
+ '0xB4F7dB3B33CaDE45D80ED206Ed3d221617647809',
59
+ 18,
60
+ 'MockStella',
61
+ 'MockStella',
62
+ 'MockStella',
63
+ ),
64
+ musdt: new ERC20Token(
65
+ ChainId.BSC_TESTNET,
66
+ '0x3A9C4EBe66FdA68c34DDf33036C82d31A5506e71',
67
+ 6,
68
+ 'mUSDT',
69
+ 'mUSDT',
70
+ 'mUSDT',
71
+ ),
48
72
  }