@gfxlabs/oku-chains 0.0.15 → 0.0.16

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,
@@ -526,6 +526,36 @@
526
526
  },
527
527
  };
528
528
 
529
+ const polygonZkEvm = {
530
+ ...chains.polygonZkEvm,
531
+ blockTimeSeconds: 7,
532
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
533
+ defaultPool: viem.zeroAddress,
534
+ defaultToken0: viem.zeroAddress,
535
+ defaultToken1: viem.zeroAddress,
536
+ tokenList: [
537
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
538
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
539
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
540
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
541
+ ],
542
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
543
+ watchlist: [viem.zeroAddress],
544
+ internalName: 'polygon-zkevm',
545
+ contracts: {
546
+ ...chains.polygonZkEvm.contracts,
547
+ limitOrder: {
548
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
549
+ },
550
+ nftManager: {
551
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
552
+ },
553
+ weth9: {
554
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
555
+ },
556
+ },
557
+ };
558
+
529
559
  const zkSync = {
530
560
  ...chains.zkSync,
531
561
  blockTimeSeconds: 2,
@@ -569,6 +599,7 @@
569
599
  exports.moonbeam = moonbeam;
570
600
  exports.optimism = optimism;
571
601
  exports.polygon = polygon;
602
+ exports.polygonZkEvm = polygonZkEvm;
572
603
  exports.rootstock = rootstock;
573
604
  exports.scroll = scroll;
574
605
  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,
@@ -522,6 +523,36 @@ const scroll = {
522
523
  },
523
524
  };
524
525
 
526
+ const polygonZkEvm = {
527
+ ...polygonZkEvm$1,
528
+ blockTimeSeconds: 7,
529
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
530
+ defaultPool: zeroAddress,
531
+ defaultToken0: zeroAddress,
532
+ defaultToken1: zeroAddress,
533
+ tokenList: [
534
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
535
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
536
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
537
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
538
+ ],
539
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
540
+ watchlist: [zeroAddress],
541
+ internalName: 'polygon-zkevm',
542
+ contracts: {
543
+ ...polygonZkEvm$1.contracts,
544
+ limitOrder: {
545
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
546
+ },
547
+ nftManager: {
548
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
549
+ },
550
+ weth9: {
551
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
552
+ },
553
+ },
554
+ };
555
+
525
556
  const zkSync = {
526
557
  ...zkSync$1,
527
558
  blockTimeSeconds: 2,
@@ -556,4 +587,4 @@ const zkSync = {
556
587
  },
557
588
  };
558
589
 
559
- export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, rootstock, scroll, zkSync };
590
+ 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,
@@ -524,6 +525,36 @@ const scroll = {
524
525
  },
525
526
  };
526
527
 
528
+ const polygonZkEvm = {
529
+ ...chains.polygonZkEvm,
530
+ blockTimeSeconds: 7,
531
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
532
+ defaultPool: viem.zeroAddress,
533
+ defaultToken0: viem.zeroAddress,
534
+ defaultToken1: viem.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: [viem.zeroAddress],
543
+ internalName: 'polygon-zkevm',
544
+ contracts: {
545
+ ...chains.polygonZkEvm.contracts,
546
+ limitOrder: {
547
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
548
+ },
549
+ nftManager: {
550
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
551
+ },
552
+ weth9: {
553
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
554
+ },
555
+ },
556
+ };
557
+
527
558
  const zkSync = {
528
559
  ...chains.zkSync,
529
560
  blockTimeSeconds: 2,
@@ -567,6 +598,7 @@ exports.mainnet = mainnet;
567
598
  exports.moonbeam = moonbeam;
568
599
  exports.optimism = optimism;
569
600
  exports.polygon = polygon;
601
+ exports.polygonZkEvm = polygonZkEvm;
570
602
  exports.rootstock = rootstock;
571
603
  exports.scroll = scroll;
572
604
  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,
@@ -522,6 +523,36 @@ const scroll = {
522
523
  },
523
524
  };
524
525
 
526
+ const polygonZkEvm = {
527
+ ...polygonZkEvm$1,
528
+ blockTimeSeconds: 7,
529
+ logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
530
+ defaultPool: zeroAddress,
531
+ defaultToken0: zeroAddress,
532
+ defaultToken1: zeroAddress,
533
+ tokenList: [
534
+ { symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
535
+ { symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
536
+ { symbol: 'USDT', address: '0x1e4a5963abfd975d8c9021ce480b42188849d41d' },
537
+ { symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
538
+ ],
539
+ stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
540
+ watchlist: [zeroAddress],
541
+ internalName: 'polygon-zkevm',
542
+ contracts: {
543
+ ...polygonZkEvm$1.contracts,
544
+ limitOrder: {
545
+ address: '0x5f1ef1d278013567c3c67e18d2d35bfa9954f723',
546
+ },
547
+ nftManager: {
548
+ address: '0xf0d61aeda516cca1ff20be65cfb0213be688a24f',
549
+ },
550
+ weth9: {
551
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
552
+ },
553
+ },
554
+ };
555
+
525
556
  const zkSync = {
526
557
  ...zkSync$1,
527
558
  blockTimeSeconds: 2,
@@ -556,4 +587,4 @@ const zkSync = {
556
587
  },
557
588
  };
558
589
 
559
- export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, rootstock, scroll, zkSync };
590
+ 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.16",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/types/index.d.ts",