@gfxlabs/oku-chains 0.0.19 → 0.0.21
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 +11 -12
- package/dist/index-mjs.js +7 -9
- package/dist/index.js +7 -9
- package/dist/index.mjs +7 -9
- package/package.json +1 -1
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'
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.chains
|
|
5
|
-
})(this, (function (exports, chains
|
|
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';
|
|
6
6
|
|
|
7
7
|
const arbitrum = {
|
|
8
8
|
...chains.arbitrum,
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
...chains.scroll,
|
|
500
500
|
blockTimeSeconds: 3,
|
|
501
501
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
502
|
-
defaultPool: '
|
|
502
|
+
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
503
503
|
defaultToken0: '0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4',
|
|
504
504
|
defaultToken1: '0x5300000000000000000000000000000000000004',
|
|
505
505
|
tokenList: [
|
|
@@ -511,9 +511,8 @@
|
|
|
511
511
|
],
|
|
512
512
|
stables: ['0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4', '0xf55bec9cafdbe8730f096aa55dad6d22d44099df', '0xca77eb3fefe3725dc33bccb54edefc3d9f764f97'],
|
|
513
513
|
watchlist: [
|
|
514
|
-
'
|
|
515
|
-
'
|
|
516
|
-
'0xba63cb90f7b46e2b163e8c8adf57cf8b2a73500e',
|
|
514
|
+
'0xf1783f3377b3a70465c193ef33942c0803121ba0',
|
|
515
|
+
'0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
517
516
|
],
|
|
518
517
|
internalName: 'scroll',
|
|
519
518
|
contracts: {
|
|
@@ -534,9 +533,9 @@
|
|
|
534
533
|
...chains.polygonZkEvm,
|
|
535
534
|
blockTimeSeconds: 7,
|
|
536
535
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
537
|
-
defaultPool:
|
|
538
|
-
defaultToken0:
|
|
539
|
-
defaultToken1:
|
|
536
|
+
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
537
|
+
defaultToken0: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
|
|
538
|
+
defaultToken1: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
|
|
540
539
|
tokenList: [
|
|
541
540
|
{ symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
|
|
542
541
|
{ symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
|
|
@@ -544,7 +543,7 @@
|
|
|
544
543
|
{ symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
|
|
545
544
|
],
|
|
546
545
|
stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
|
|
547
|
-
watchlist: [
|
|
546
|
+
watchlist: ['0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd'],
|
|
548
547
|
internalName: 'polygon-zkevm',
|
|
549
548
|
contracts: {
|
|
550
549
|
...chains.polygonZkEvm.contracts,
|
package/dist/index-mjs.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
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';
|
|
3
2
|
|
|
4
3
|
const arbitrum = {
|
|
5
4
|
...arbitrum$1,
|
|
@@ -496,7 +495,7 @@ const scroll = {
|
|
|
496
495
|
...scroll$1,
|
|
497
496
|
blockTimeSeconds: 3,
|
|
498
497
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
499
|
-
defaultPool: '
|
|
498
|
+
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
500
499
|
defaultToken0: '0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4',
|
|
501
500
|
defaultToken1: '0x5300000000000000000000000000000000000004',
|
|
502
501
|
tokenList: [
|
|
@@ -508,9 +507,8 @@ const scroll = {
|
|
|
508
507
|
],
|
|
509
508
|
stables: ['0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4', '0xf55bec9cafdbe8730f096aa55dad6d22d44099df', '0xca77eb3fefe3725dc33bccb54edefc3d9f764f97'],
|
|
510
509
|
watchlist: [
|
|
511
|
-
'
|
|
512
|
-
'
|
|
513
|
-
'0xba63cb90f7b46e2b163e8c8adf57cf8b2a73500e',
|
|
510
|
+
'0xf1783f3377b3a70465c193ef33942c0803121ba0',
|
|
511
|
+
'0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
514
512
|
],
|
|
515
513
|
internalName: 'scroll',
|
|
516
514
|
contracts: {
|
|
@@ -531,9 +529,9 @@ const polygonZkEvm = {
|
|
|
531
529
|
...polygonZkEvm$1,
|
|
532
530
|
blockTimeSeconds: 7,
|
|
533
531
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
534
|
-
defaultPool:
|
|
535
|
-
defaultToken0:
|
|
536
|
-
defaultToken1:
|
|
532
|
+
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
533
|
+
defaultToken0: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
|
|
534
|
+
defaultToken1: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
|
|
537
535
|
tokenList: [
|
|
538
536
|
{ symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
|
|
539
537
|
{ symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
|
|
@@ -541,7 +539,7 @@ const polygonZkEvm = {
|
|
|
541
539
|
{ symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
|
|
542
540
|
],
|
|
543
541
|
stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
|
|
544
|
-
watchlist: [
|
|
542
|
+
watchlist: ['0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd'],
|
|
545
543
|
internalName: 'polygon-zkevm',
|
|
546
544
|
contracts: {
|
|
547
545
|
...polygonZkEvm$1.contracts,
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chains = require('viem/chains');
|
|
4
|
-
var viem = require('viem');
|
|
5
4
|
|
|
6
5
|
const arbitrum = {
|
|
7
6
|
...chains.arbitrum,
|
|
@@ -498,7 +497,7 @@ const scroll = {
|
|
|
498
497
|
...chains.scroll,
|
|
499
498
|
blockTimeSeconds: 3,
|
|
500
499
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
501
|
-
defaultPool: '
|
|
500
|
+
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
502
501
|
defaultToken0: '0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4',
|
|
503
502
|
defaultToken1: '0x5300000000000000000000000000000000000004',
|
|
504
503
|
tokenList: [
|
|
@@ -510,9 +509,8 @@ const scroll = {
|
|
|
510
509
|
],
|
|
511
510
|
stables: ['0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4', '0xf55bec9cafdbe8730f096aa55dad6d22d44099df', '0xca77eb3fefe3725dc33bccb54edefc3d9f764f97'],
|
|
512
511
|
watchlist: [
|
|
513
|
-
'
|
|
514
|
-
'
|
|
515
|
-
'0xba63cb90f7b46e2b163e8c8adf57cf8b2a73500e',
|
|
512
|
+
'0xf1783f3377b3a70465c193ef33942c0803121ba0',
|
|
513
|
+
'0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
516
514
|
],
|
|
517
515
|
internalName: 'scroll',
|
|
518
516
|
contracts: {
|
|
@@ -533,9 +531,9 @@ const polygonZkEvm = {
|
|
|
533
531
|
...chains.polygonZkEvm,
|
|
534
532
|
blockTimeSeconds: 7,
|
|
535
533
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
536
|
-
defaultPool:
|
|
537
|
-
defaultToken0:
|
|
538
|
-
defaultToken1:
|
|
534
|
+
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
535
|
+
defaultToken0: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
|
|
536
|
+
defaultToken1: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
|
|
539
537
|
tokenList: [
|
|
540
538
|
{ symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
|
|
541
539
|
{ symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
|
|
@@ -543,7 +541,7 @@ const polygonZkEvm = {
|
|
|
543
541
|
{ symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
|
|
544
542
|
],
|
|
545
543
|
stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
|
|
546
|
-
watchlist: [
|
|
544
|
+
watchlist: ['0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd'],
|
|
547
545
|
internalName: 'polygon-zkevm',
|
|
548
546
|
contracts: {
|
|
549
547
|
...chains.polygonZkEvm.contracts,
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
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';
|
|
3
2
|
|
|
4
3
|
const arbitrum = {
|
|
5
4
|
...arbitrum$1,
|
|
@@ -496,7 +495,7 @@ const scroll = {
|
|
|
496
495
|
...scroll$1,
|
|
497
496
|
blockTimeSeconds: 3,
|
|
498
497
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
499
|
-
defaultPool: '
|
|
498
|
+
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
500
499
|
defaultToken0: '0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4',
|
|
501
500
|
defaultToken1: '0x5300000000000000000000000000000000000004',
|
|
502
501
|
tokenList: [
|
|
@@ -508,9 +507,8 @@ const scroll = {
|
|
|
508
507
|
],
|
|
509
508
|
stables: ['0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4', '0xf55bec9cafdbe8730f096aa55dad6d22d44099df', '0xca77eb3fefe3725dc33bccb54edefc3d9f764f97'],
|
|
510
509
|
watchlist: [
|
|
511
|
-
'
|
|
512
|
-
'
|
|
513
|
-
'0xba63cb90f7b46e2b163e8c8adf57cf8b2a73500e',
|
|
510
|
+
'0xf1783f3377b3a70465c193ef33942c0803121ba0',
|
|
511
|
+
'0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
514
512
|
],
|
|
515
513
|
internalName: 'scroll',
|
|
516
514
|
contracts: {
|
|
@@ -531,9 +529,9 @@ const polygonZkEvm = {
|
|
|
531
529
|
...polygonZkEvm$1,
|
|
532
530
|
blockTimeSeconds: 7,
|
|
533
531
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
534
|
-
defaultPool:
|
|
535
|
-
defaultToken0:
|
|
536
|
-
defaultToken1:
|
|
532
|
+
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
533
|
+
defaultToken0: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
|
|
534
|
+
defaultToken1: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
|
|
537
535
|
tokenList: [
|
|
538
536
|
{ symbol: 'WETH', address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9' },
|
|
539
537
|
{ symbol: 'USDC', address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035' },
|
|
@@ -541,7 +539,7 @@ const polygonZkEvm = {
|
|
|
541
539
|
{ symbol: 'DAI', address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4' }
|
|
542
540
|
],
|
|
543
541
|
stables: ['0x1e4a5963abfd975d8c9021ce480b42188849d41d', '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035', '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4'],
|
|
544
|
-
watchlist: [
|
|
542
|
+
watchlist: ['0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd'],
|
|
545
543
|
internalName: 'polygon-zkevm',
|
|
546
544
|
contracts: {
|
|
547
545
|
...polygonZkEvm$1.contracts,
|