@gfxlabs/oku-chains 0.0.15 → 0.0.17

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/browser.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('viem/chains')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'viem/chains'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.chains));
5
- })(this, (function (exports, chains) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('viem/chains'), require('viem')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'viem/chains', 'viem'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.chains, global.viem));
5
+ })(this, (function (exports, chains, viem) { 'use strict';
6
6
 
7
7
  const arbitrum = {
8
8
  ...chains.arbitrum,
@@ -14,6 +14,7 @@
14
14
  tokenList: [
15
15
  { symbol: 'USDT', address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9' },
16
16
  { symbol: 'USDC.e', address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' },
17
+ { symbol: 'USDC', address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' },
17
18
  { symbol: 'DAI', address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' },
18
19
  { symbol: 'WETH', address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' },
19
20
  { symbol: 'ARB', address: '0x912ce59144191c1204e64559fe8253a0e49e6548' },
@@ -22,6 +23,7 @@
22
23
  '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
23
24
  '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
24
25
  '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
26
+ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
25
27
  ],
26
28
  watchlist: [
27
29
  '0x17c14d2c404d167802b16c450d3c99f88f2c4f4d',
@@ -526,6 +528,36 @@
526
528
  },
527
529
  };
528
530
 
531
+ const polygonZkEvm = {
532
+ ...chains.polygonZkEvm,
533
+ blockTimeSeconds: 7,
534
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
535
+ defaultPool: viem.zeroAddress,
536
+ defaultToken0: viem.zeroAddress,
537
+ defaultToken1: viem.zeroAddress,
538
+ tokenList: [
539
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
540
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
541
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
542
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
543
+ ],
544
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
545
+ watchlist: [viem.zeroAddress],
546
+ internalName: 'polygon-zkevm',
547
+ contracts: {
548
+ ...chains.polygonZkEvm.contracts,
549
+ limitOrder: {
550
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
551
+ },
552
+ nftManager: {
553
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
554
+ },
555
+ weth9: {
556
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
557
+ },
558
+ },
559
+ };
560
+
529
561
  const zkSync = {
530
562
  ...chains.zkSync,
531
563
  blockTimeSeconds: 2,
@@ -569,6 +601,7 @@
569
601
  exports.moonbeam = moonbeam;
570
602
  exports.optimism = optimism;
571
603
  exports.polygon = polygon;
604
+ exports.polygonZkEvm = polygonZkEvm;
572
605
  exports.rootstock = rootstock;
573
606
  exports.scroll = scroll;
574
607
  exports.zkSync = zkSync;
package/dist/index-mjs.js CHANGED
@@ -1,4 +1,5 @@
1
- import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, mainnet as mainnet$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, zkSync as zkSync$1 } from 'viem/chains';
1
+ import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, mainnet as mainnet$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, polygonZkEvm as polygonZkEvm$1, zkSync as zkSync$1 } from 'viem/chains';
2
+ import { zeroAddress } from 'viem';
2
3
 
3
4
  const arbitrum = {
4
5
  ...arbitrum$1,
@@ -10,6 +11,7 @@ const arbitrum = {
10
11
  tokenList: [
11
12
  { symbol: 'USDT', address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9' },
12
13
  { symbol: 'USDC.e', address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' },
14
+ { symbol: 'USDC', address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' },
13
15
  { symbol: 'DAI', address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' },
14
16
  { symbol: 'WETH', address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' },
15
17
  { symbol: 'ARB', address: '0x912ce59144191c1204e64559fe8253a0e49e6548' },
@@ -18,6 +20,7 @@ const arbitrum = {
18
20
  '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
19
21
  '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
20
22
  '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
23
+ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
21
24
  ],
22
25
  watchlist: [
23
26
  '0x17c14d2c404d167802b16c450d3c99f88f2c4f4d',
@@ -522,6 +525,36 @@ const scroll = {
522
525
  },
523
526
  };
524
527
 
528
+ const polygonZkEvm = {
529
+ ...polygonZkEvm$1,
530
+ blockTimeSeconds: 7,
531
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
532
+ defaultPool: zeroAddress,
533
+ defaultToken0: zeroAddress,
534
+ defaultToken1: zeroAddress,
535
+ tokenList: [
536
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
537
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
538
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
539
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
540
+ ],
541
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
542
+ watchlist: [zeroAddress],
543
+ internalName: 'polygon-zkevm',
544
+ contracts: {
545
+ ...polygonZkEvm$1.contracts,
546
+ limitOrder: {
547
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
548
+ },
549
+ nftManager: {
550
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
551
+ },
552
+ weth9: {
553
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
554
+ },
555
+ },
556
+ };
557
+
525
558
  const zkSync = {
526
559
  ...zkSync$1,
527
560
  blockTimeSeconds: 2,
@@ -556,4 +589,4 @@ const zkSync = {
556
589
  },
557
590
  };
558
591
 
559
- export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, rootstock, scroll, zkSync };
592
+ export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, zkSync };
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chains = require('viem/chains');
4
+ var viem = require('viem');
4
5
 
5
6
  const arbitrum = {
6
7
  ...chains.arbitrum,
@@ -12,6 +13,7 @@ const arbitrum = {
12
13
  tokenList: [
13
14
  { symbol: 'USDT', address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9' },
14
15
  { symbol: 'USDC.e', address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' },
16
+ { symbol: 'USDC', address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' },
15
17
  { symbol: 'DAI', address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' },
16
18
  { symbol: 'WETH', address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' },
17
19
  { symbol: 'ARB', address: '0x912ce59144191c1204e64559fe8253a0e49e6548' },
@@ -20,6 +22,7 @@ const arbitrum = {
20
22
  '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
21
23
  '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
22
24
  '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
25
+ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
23
26
  ],
24
27
  watchlist: [
25
28
  '0x17c14d2c404d167802b16c450d3c99f88f2c4f4d',
@@ -524,6 +527,36 @@ const scroll = {
524
527
  },
525
528
  };
526
529
 
530
+ const polygonZkEvm = {
531
+ ...chains.polygonZkEvm,
532
+ blockTimeSeconds: 7,
533
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
534
+ defaultPool: viem.zeroAddress,
535
+ defaultToken0: viem.zeroAddress,
536
+ defaultToken1: viem.zeroAddress,
537
+ tokenList: [
538
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
539
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
540
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
541
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
542
+ ],
543
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
544
+ watchlist: [viem.zeroAddress],
545
+ internalName: 'polygon-zkevm',
546
+ contracts: {
547
+ ...chains.polygonZkEvm.contracts,
548
+ limitOrder: {
549
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
550
+ },
551
+ nftManager: {
552
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
553
+ },
554
+ weth9: {
555
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
556
+ },
557
+ },
558
+ };
559
+
527
560
  const zkSync = {
528
561
  ...chains.zkSync,
529
562
  blockTimeSeconds: 2,
@@ -567,6 +600,7 @@ exports.mainnet = mainnet;
567
600
  exports.moonbeam = moonbeam;
568
601
  exports.optimism = optimism;
569
602
  exports.polygon = polygon;
603
+ exports.polygonZkEvm = polygonZkEvm;
570
604
  exports.rootstock = rootstock;
571
605
  exports.scroll = scroll;
572
606
  exports.zkSync = zkSync;
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, mainnet as mainnet$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, zkSync as zkSync$1 } from 'viem/chains';
1
+ import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, mainnet as mainnet$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, polygonZkEvm as polygonZkEvm$1, zkSync as zkSync$1 } from 'viem/chains';
2
+ import { zeroAddress } from 'viem';
2
3
 
3
4
  const arbitrum = {
4
5
  ...arbitrum$1,
@@ -10,6 +11,7 @@ const arbitrum = {
10
11
  tokenList: [
11
12
  { symbol: 'USDT', address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9' },
12
13
  { symbol: 'USDC.e', address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' },
14
+ { symbol: 'USDC', address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' },
13
15
  { symbol: 'DAI', address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' },
14
16
  { symbol: 'WETH', address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' },
15
17
  { symbol: 'ARB', address: '0x912ce59144191c1204e64559fe8253a0e49e6548' },
@@ -18,6 +20,7 @@ const arbitrum = {
18
20
  '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
19
21
  '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
20
22
  '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
23
+ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
21
24
  ],
22
25
  watchlist: [
23
26
  '0x17c14d2c404d167802b16c450d3c99f88f2c4f4d',
@@ -522,6 +525,36 @@ const scroll = {
522
525
  },
523
526
  };
524
527
 
528
+ const polygonZkEvm = {
529
+ ...polygonZkEvm$1,
530
+ blockTimeSeconds: 7,
531
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
532
+ defaultPool: zeroAddress,
533
+ defaultToken0: zeroAddress,
534
+ defaultToken1: zeroAddress,
535
+ tokenList: [
536
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
537
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
538
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
539
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
540
+ ],
541
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
542
+ watchlist: [zeroAddress],
543
+ internalName: 'polygon-zkevm',
544
+ contracts: {
545
+ ...polygonZkEvm$1.contracts,
546
+ limitOrder: {
547
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
548
+ },
549
+ nftManager: {
550
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
551
+ },
552
+ weth9: {
553
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
554
+ },
555
+ },
556
+ };
557
+
525
558
  const zkSync = {
526
559
  ...zkSync$1,
527
560
  blockTimeSeconds: 2,
@@ -556,4 +589,4 @@ const zkSync = {
556
589
  },
557
590
  };
558
591
 
559
- export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, rootstock, scroll, zkSync };
592
+ export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, zkSync };
@@ -12,4 +12,5 @@ export * from "./optimism";
12
12
  export * from "./polygon";
13
13
  export * from "./rootstock";
14
14
  export * from "./scroll";
15
+ export * from "./zkevm";
15
16
  export * from "./zksync";
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const polygonZkEvm: IChainInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfxlabs/oku-chains",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/types/index.d.ts",