@pancakeswap/tokens 0.1.1 → 0.1.2
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/CHANGELOG.md +8 -0
- package/LICENSE +674 -0
- package/dist/1.d.ts +33 -0
- package/dist/1.d.ts.map +1 -0
- package/dist/5.d.ts +10 -0
- package/dist/5.d.ts.map +1 -0
- package/dist/56.d.ts +333 -0
- package/dist/56.d.ts.map +1 -0
- package/dist/97.d.ts +17 -0
- package/dist/97.d.ts.map +1 -0
- package/dist/common.d.ts +38 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/helpers.d.ts +8 -0
- package/dist/helpers.d.ts.map +1 -0
- package/dist/index.d.ts +7 -426
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +80 -0
- package/dist/index.mjs +80 -0
- package/package.json +13 -10
- package/src/1.ts +40 -0
- package/src/56.ts +40 -0
- package/tsconfig.json +4 -2
- package/tsup.config.ts +22 -8
package/src/56.ts
CHANGED
|
@@ -2554,4 +2554,44 @@ export const bscTokens = {
|
|
|
2554
2554
|
'Ankr Staked ETH',
|
|
2555
2555
|
'https://www.ankr.com/',
|
|
2556
2556
|
),
|
|
2557
|
+
axl: new ERC20Token(
|
|
2558
|
+
ChainId.BSC,
|
|
2559
|
+
'0x8b1f4432F943c465A973FeDC6d7aa50Fc96f1f65',
|
|
2560
|
+
6,
|
|
2561
|
+
'AXL',
|
|
2562
|
+
'Axelar',
|
|
2563
|
+
'https://axelar.network/',
|
|
2564
|
+
),
|
|
2565
|
+
ush: new ERC20Token(
|
|
2566
|
+
ChainId.BSC,
|
|
2567
|
+
'0x91d6d6aF7635B7b23A8CED9508117965180e2362',
|
|
2568
|
+
18,
|
|
2569
|
+
'USH',
|
|
2570
|
+
'unshETHing_Token',
|
|
2571
|
+
'https://unsheth.xyz/',
|
|
2572
|
+
),
|
|
2573
|
+
unshETH: new ERC20Token(
|
|
2574
|
+
ChainId.BSC,
|
|
2575
|
+
'0x0Ae38f7E10A43B5b2fB064B42a2f4514cbA909ef',
|
|
2576
|
+
18,
|
|
2577
|
+
'unshETH',
|
|
2578
|
+
'unshETH Ether',
|
|
2579
|
+
'https://unsheth.xyz/',
|
|
2580
|
+
),
|
|
2581
|
+
wbeth: new ERC20Token(
|
|
2582
|
+
ChainId.BSC,
|
|
2583
|
+
'0xa2E3356610840701BDf5611a53974510Ae27E2e1',
|
|
2584
|
+
18,
|
|
2585
|
+
'wBETH',
|
|
2586
|
+
'Wrapped Binance Beacon ETH',
|
|
2587
|
+
'https://ethereum.org/en/roadmap/beacon-chain/',
|
|
2588
|
+
),
|
|
2589
|
+
edu: new ERC20Token(
|
|
2590
|
+
ChainId.BSC,
|
|
2591
|
+
'0xBdEAe1cA48894A1759A8374D63925f21f2Ee2639',
|
|
2592
|
+
18,
|
|
2593
|
+
'EDU',
|
|
2594
|
+
'EDU Coin',
|
|
2595
|
+
'https://www.opencampus.xyz/',
|
|
2596
|
+
),
|
|
2557
2597
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "tsconfig/base",
|
|
2
|
+
"extends": "@pancakeswap/tsconfig/base",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "./dist",
|
|
5
5
|
"esModuleInterop": true,
|
|
6
6
|
"resolveJsonModule": true,
|
|
7
7
|
"isolatedModules": true,
|
|
8
8
|
"skipLibCheck": true
|
|
9
|
-
}
|
|
9
|
+
},
|
|
10
|
+
"include": ["./src/**/*"],
|
|
11
|
+
"exclude": ["**/*.test.ts", "./dist/**"]
|
|
10
12
|
}
|
package/tsup.config.ts
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
import { defineConfig } from 'tsup'
|
|
2
|
+
import { exec } from 'child_process'
|
|
2
3
|
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
export default defineConfig((options) => {
|
|
5
|
+
return {
|
|
6
|
+
entry: {
|
|
7
|
+
index: './src/index.ts',
|
|
8
|
+
},
|
|
9
|
+
format: ['esm', 'cjs'],
|
|
10
|
+
dts: false,
|
|
11
|
+
clean: !options.watch,
|
|
12
|
+
treeshake: true,
|
|
13
|
+
splitting: true,
|
|
14
|
+
onSuccess: async () => {
|
|
15
|
+
exec('tsc --emitDeclarationOnly --declaration', (err, stdout) => {
|
|
16
|
+
if (err) {
|
|
17
|
+
console.error(stdout)
|
|
18
|
+
if (!options.watch) {
|
|
19
|
+
process.exit(1)
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
},
|
|
24
|
+
}
|
|
11
25
|
})
|