@pancakeswap/tokens 0.7.2 → 0.7.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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +44 -0
- package/dist/allTokens.d.ts +3 -0
- package/dist/allTokens.d.ts.map +1 -1
- package/dist/constants/bscTestnet.d.ts +3 -0
- package/dist/constants/bscTestnet.d.ts.map +1 -1
- package/dist/index.js +24 -0
- package/dist/index.mjs +24 -0
- package/package.json +5 -5
- package/src/constants/bscTestnet.ts +25 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pancakeswap/tokens@0.7.
|
|
2
|
+
> @pancakeswap/tokens@0.7.4 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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
ESM dist/index.mjs 124.54 KB
|
|
14
|
+
ESM ⚡️ Build success in 817ms
|
|
15
|
+
CJS dist/index.js 134.46 KB
|
|
16
|
+
CJS ⚡️ Build success in 1185ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @pancakeswap/tokens
|
|
2
2
|
|
|
3
|
+
## 0.7.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [3de0443]
|
|
8
|
+
- @pancakeswap/chains@0.5.2
|
|
9
|
+
- @pancakeswap/sdk@5.8.14
|
|
10
|
+
- @pancakeswap/token-lists@0.0.15
|
|
11
|
+
|
|
12
|
+
## 0.7.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- cb44715: [Major Updates]
|
|
17
|
+
**@pancakeswap/routing-sdk-addon-infinity**
|
|
18
|
+
**@pancakeswap/routing-sdk-addon-quoter**
|
|
19
|
+
**@pancakeswap/infinity-sdk**
|
|
20
|
+
|
|
21
|
+
3 packages added for support infinity(CL & Bin) pools and dynamic hooks path finding and liquidity management.
|
|
22
|
+
|
|
23
|
+
[Minor Updates]
|
|
24
|
+
**@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.
|
|
25
|
+
|
|
26
|
+
**@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.
|
|
27
|
+
|
|
28
|
+
**@pancakeswap/swap-sdk-core**: Reduce rounding errors and improve quote accuracy, with refined type definitions ensuring a smoother developer experience.
|
|
29
|
+
|
|
30
|
+
**@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.
|
|
31
|
+
|
|
32
|
+
**@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.
|
|
33
|
+
|
|
34
|
+
**@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.
|
|
35
|
+
|
|
36
|
+
**@pancakeswap/uikit**
|
|
37
|
+
'@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.
|
|
38
|
+
|
|
39
|
+
[Patch Updates]
|
|
40
|
+
|
|
41
|
+
Added support for infinity by introducing internal types and updating unit tests to improve code maintainability and logging accuracy.
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [cb44715]
|
|
44
|
+
- @pancakeswap/sdk@5.8.13
|
|
45
|
+
- @pancakeswap/token-lists@0.0.15
|
|
46
|
+
|
|
3
47
|
## 0.7.2
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
package/dist/allTokens.d.ts
CHANGED
|
@@ -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;
|
package/dist/allTokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allTokens.d.ts","sourceRoot":"","sources":["../src/allTokens.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"allTokens.d.ts","sourceRoot":"","sources":["../src/allTokens.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bscTestnet.d.ts","sourceRoot":"","sources":["../../src/constants/bscTestnet.ts"],"names":[],"mappings":"
|
|
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
|
@@ -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
|
@@ -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.
|
|
4
|
+
"version": "0.7.4",
|
|
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.
|
|
12
|
-
"@pancakeswap/sdk": "5.8.
|
|
13
|
-
"@pancakeswap/token-lists": "0.0.
|
|
11
|
+
"@pancakeswap/chains": "0.5.2",
|
|
12
|
+
"@pancakeswap/sdk": "5.8.14",
|
|
13
|
+
"@pancakeswap/token-lists": "0.0.15"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"tsup": "^6.7.0",
|
|
17
|
-
"@pancakeswap/utils": "6.
|
|
17
|
+
"@pancakeswap/utils": "6.1.1"
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
@@ -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
|
}
|