@gfxlabs/oku-chains 1.1.287 → 1.1.289

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/index-mjs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, bob as bob$1, boba as boba$1, bsc as bsc$1, celo as celo$1, corn as corn$1, etherlink as etherlink$1, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, lens as lens$1, lightlinkPhoenix, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, matchain as matchain$1, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, polygon as polygon$1, redbellyMainnet, rootstock as rootstock$1, saga as saga$1, scroll as scroll$1, sei as sei$1, sonic as sonic$1, taiko as taiko$1, telos as telos$1, tronShasta as tronShasta$1, unichain as unichain$1, worldchain as worldchain$1, xdc as xdc$1, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
1
+ import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, bob as bob$1, boba as boba$1, bsc as bsc$1, celo as celo$1, corn as corn$1, etherlink as etherlink$1, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, lens as lens$1, lightlinkPhoenix, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, matchain as matchain$1, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, plasma as plasma$1, polygon as polygon$1, redbellyMainnet, rootstock as rootstock$1, saga as saga$1, scroll as scroll$1, sei as sei$1, sonic as sonic$1, taiko as taiko$1, telos as telos$1, tronShasta as tronShasta$1, unichain as unichain$1, worldchain as worldchain$1, xdc as xdc$1, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
2
2
  import { zeroAddress } from 'viem';
3
3
 
4
4
  const makeConfig = (x) => {
@@ -13,6 +13,7 @@ const arbitrum = makeConfig({
13
13
  sortIndex: 1,
14
14
  blockTimeSeconds: 0.25,
15
15
  logoUrl: "https://assets.oku.trade/chains/arbitrum-logo.svg",
16
+ deprecated: false,
16
17
  safeReorgDistance: 90000 * 2,
17
18
  blockAid: "arbitrum",
18
19
  morpho: {},
@@ -334,6 +335,7 @@ const base = makeConfig({
334
335
  transactionType: "eip1559",
335
336
  blockTimeSeconds: 2,
336
337
  logoUrl: "https://cms.oku.trade/cdn/public/chains/base-logo.svg",
338
+ deprecated: false,
337
339
  blockAid: "base",
338
340
  defaultPool: "0xd0b53d9277642d899df5c87a3966a349a798f224",
339
341
  defaultToken0: "0x4200000000000000000000000000000000000006",
@@ -527,6 +529,7 @@ const blast = makeConfig({
527
529
  transactionType: "eip1559",
528
530
  sortIndex: 14,
529
531
  logoUrl: "https://assets.oku.trade/chains/blast-logo.svg",
532
+ deprecated: true,
530
533
  safeReorgDistance: 90000,
531
534
  blockAid: "blast",
532
535
  externalId: {
@@ -635,6 +638,7 @@ const bob = makeConfig({
635
638
  transactionType: "eip1559",
636
639
  sortIndex: 15,
637
640
  logoUrl: "https://assets.oku.trade/chains/bob-logo.svg",
641
+ deprecated: false,
638
642
  safeReorgDistance: 90000,
639
643
  blockAid: "",
640
644
  externalId: {
@@ -756,6 +760,7 @@ const boba = makeConfig({
756
760
  sortIndex: 11,
757
761
  blockTimeSeconds: 2,
758
762
  logoUrl: "https://assets.oku.trade/chains/boba-logo.svg",
763
+ deprecated: false,
759
764
  safeReorgDistance: 90000,
760
765
  blockAid: "",
761
766
  externalId: {
@@ -876,6 +881,7 @@ const bsc = makeConfig({
876
881
  sortIndex: 9,
877
882
  blockTimeSeconds: 3,
878
883
  logoUrl: "https://assets.oku.trade/chains/bsc-logo.svg",
884
+ deprecated: false,
879
885
  safeReorgDistance: 90000,
880
886
  blockAid: "bsc",
881
887
  externalId: {
@@ -1095,6 +1101,7 @@ const celo = makeConfig({
1095
1101
  transactionType: "eip1559",
1096
1102
  sortIndex: 15,
1097
1103
  logoUrl: "https://assets.oku.trade/chains/celo-logo.svg",
1104
+ deprecated: false,
1098
1105
  safeReorgDistance: 90000,
1099
1106
  blockAid: "",
1100
1107
  externalId: {},
@@ -1215,6 +1222,7 @@ const corn = makeConfig({
1215
1222
  transactionType: "eip1559",
1216
1223
  sortIndex: 15,
1217
1224
  logoUrl: "https://assets.oku.trade/chains/corn-logo.png",
1225
+ deprecated: false,
1218
1226
  safeReorgDistance: 90000,
1219
1227
  blockAid: "",
1220
1228
  externalId: {
@@ -1327,6 +1335,7 @@ const etherlink = makeConfig({
1327
1335
  transactionType: "eip1559",
1328
1336
  sortIndex: 15,
1329
1337
  logoUrl: "https://assets.oku.trade/chains/etherlink-logo.png",
1338
+ deprecated: false,
1330
1339
  safeReorgDistance: 90000,
1331
1340
  blockAid: "",
1332
1341
  externalId: {
@@ -1459,6 +1468,7 @@ const filecoin = makeConfig({
1459
1468
  },
1460
1469
  },
1461
1470
  logoUrl: "https://assets.oku.trade/chains/filecoin-logo.svg",
1471
+ deprecated: false,
1462
1472
  externalId: {},
1463
1473
  markets: {},
1464
1474
  bridges: {},
@@ -1571,6 +1581,7 @@ const gnosis = makeConfig({
1571
1581
  sortIndex: 18,
1572
1582
  blockAid: "",
1573
1583
  logoUrl: "https://assets.oku.trade/chains/gnosis-logo.png",
1584
+ deprecated: false,
1574
1585
  safeReorgDistance: 90000,
1575
1586
  morpho: {},
1576
1587
  externalId: {
@@ -1725,6 +1736,7 @@ const goat = makeConfig({
1725
1736
  transactionType: "eip1559",
1726
1737
  sortIndex: 15,
1727
1738
  logoUrl: "https://assets.oku.trade/chains/goat-logo.svg",
1739
+ deprecated: false,
1728
1740
  safeReorgDistance: 90000,
1729
1741
  blockAid: "",
1730
1742
  externalId: {},
@@ -1831,6 +1843,7 @@ const hemi = makeConfig({
1831
1843
  transactionType: "eip1559",
1832
1844
  sortIndex: 13,
1833
1845
  logoUrl: "https://assets.oku.trade/chains/hemi-logo.svg",
1846
+ deprecated: false,
1834
1847
  safeReorgDistance: 90000,
1835
1848
  blockAid: "",
1836
1849
  externalId: {},
@@ -1952,6 +1965,7 @@ const lens = makeConfig({
1952
1965
  sortIndex: 15,
1953
1966
  blockAid: "",
1954
1967
  logoUrl: "https://assets.oku.trade/chains/lens-logo.png",
1968
+ deprecated: false,
1955
1969
  safeReorgDistance: 90000,
1956
1970
  externalId: {
1957
1971
  tenderly: "true",
@@ -2037,6 +2051,7 @@ const lightlink = makeConfig({
2037
2051
  transactionType: "legacy",
2038
2052
  sortIndex: 13,
2039
2053
  logoUrl: "https://assets.oku.trade/chains/lightlink-logo.svg",
2054
+ deprecated: false,
2040
2055
  safeReorgDistance: 90000,
2041
2056
  blockAid: "",
2042
2057
  morpho: {},
@@ -2151,6 +2166,7 @@ const linea = makeConfig({
2151
2166
  sortIndex: 15,
2152
2167
  morpho: {},
2153
2168
  logoUrl: "https://assets.oku.trade/chains/linea-logo.svg",
2169
+ deprecated: false,
2154
2170
  safeReorgDistance: 100,
2155
2171
  blockAid: "linea",
2156
2172
  externalId: {
@@ -2293,6 +2309,7 @@ const lisk = makeConfig({
2293
2309
  transactionType: "eip1559",
2294
2310
  sortIndex: 15,
2295
2311
  logoUrl: "https://assets.oku.trade/chains/lisk-logo.png",
2312
+ deprecated: true,
2296
2313
  safeReorgDistance: 90000,
2297
2314
  blockAid: "",
2298
2315
  externalId: {
@@ -2387,6 +2404,7 @@ const mainnet = makeConfig({
2387
2404
  blockTimeSeconds: 15,
2388
2405
  safeReorgDistance: 90000,
2389
2406
  logoUrl: "https://assets.oku.trade/chains/ethereum-logo.webp",
2407
+ deprecated: false,
2390
2408
  blockAid: "ethereum",
2391
2409
  morpho: {
2392
2410
  deployBlock: 13977148,
@@ -2736,6 +2754,7 @@ const manta = makeConfig({
2736
2754
  blockTimeSeconds: 2,
2737
2755
  sortIndex: 13,
2738
2756
  logoUrl: "https://assets.oku.trade/chains/manta-logo.png",
2757
+ deprecated: true,
2739
2758
  safeReorgDistance: 90000,
2740
2759
  blockAid: "",
2741
2760
  externalId: {},
@@ -2842,6 +2861,7 @@ const mantle = makeConfig({
2842
2861
  transactionType: "eip1559",
2843
2862
  sortIndex: 15,
2844
2863
  logoUrl: "https://assets.oku.trade/chains/mantle-logo.png",
2864
+ deprecated: false,
2845
2865
  safeReorgDistance: 90000,
2846
2866
  blockAid: "",
2847
2867
  externalId: {
@@ -2987,6 +3007,7 @@ const matchain = makeConfig({
2987
3007
  sortIndex: 15,
2988
3008
  blockAid: "",
2989
3009
  logoUrl: "https://cms.oku.trade/cdn/public/chains/matchain-logo.svg",
3010
+ deprecated: false,
2990
3011
  safeReorgDistance: 90000,
2991
3012
  externalId: {},
2992
3013
  markets: {},
@@ -3060,6 +3081,7 @@ const metal = makeConfig({
3060
3081
  transactionType: "eip1559",
3061
3082
  sortIndex: 15,
3062
3083
  logoUrl: "https://assets.oku.trade/chains/metal-logo.png",
3084
+ deprecated: false,
3063
3085
  safeReorgDistance: 90000,
3064
3086
  blockAid: "",
3065
3087
  externalId: {},
@@ -3138,6 +3160,7 @@ const moonbeam = makeConfig({
3138
3160
  transactionType: "eip1559",
3139
3161
  blockTimeSeconds: 30,
3140
3162
  logoUrl: "https://assets.oku.trade/chains/moonbeam-logo.svg",
3163
+ deprecated: true,
3141
3164
  safeReorgDistance: 90000,
3142
3165
  blockAid: "",
3143
3166
  externalId: {
@@ -3265,6 +3288,7 @@ const nibiru = makeConfig({
3265
3288
  transactionType: "eip1559",
3266
3289
  sortIndex: 15,
3267
3290
  logoUrl: "https://assets.oku.trade/chains/nibiru-logo.svg",
3291
+ deprecated: false,
3268
3292
  safeReorgDistance: 90000,
3269
3293
  externalId: {},
3270
3294
  blockAid: "",
@@ -3370,6 +3394,7 @@ const optimism = makeConfig({
3370
3394
  transactionType: "eip1559",
3371
3395
  sortIndex: 2,
3372
3396
  logoUrl: "https://assets.oku.trade/chains/optimism-logo.svg",
3397
+ deprecated: false,
3373
3398
  safeReorgDistance: 90000,
3374
3399
  blockAid: "optimism",
3375
3400
  externalId: {
@@ -3683,6 +3708,80 @@ const optimism = makeConfig({
3683
3708
  },
3684
3709
  });
3685
3710
 
3711
+ const plasma = makeConfig({
3712
+ ...plasma$1,
3713
+ name: "Plasma",
3714
+ blockTimeSeconds: 1,
3715
+ launchTime: 1758588527,
3716
+ transactionType: "eip1559",
3717
+ sortIndex: 15,
3718
+ logoUrl: "https://assets.oku.trade/chains/plasma-logo.svg",
3719
+ deprecated: false,
3720
+ safeReorgDistance: 90000,
3721
+ blockAid: "",
3722
+ externalId: {},
3723
+ markets: {},
3724
+ bridges: {},
3725
+ oracles: {},
3726
+ morpho: {},
3727
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
3728
+ uniswap: {
3729
+ deployBlock: 430127,
3730
+ poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
3731
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
3732
+ multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
3733
+ tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
3734
+ nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
3735
+ positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
3736
+ positionsNFTDeployBlock: 430178,
3737
+ universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
3738
+ wrappedNativeAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
3739
+ wrappedNativeSymbol: "WXPL",
3740
+ wrappedNativeName: "Wrapped XPL",
3741
+ wrappedNativeDecimals: 18,
3742
+ nativeCurrencyName: "XPL",
3743
+ },
3744
+ token: {
3745
+ wethAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
3746
+ },
3747
+ oku: {
3748
+ limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
3749
+ limitOrderRegistryDeployBlock: 431349,
3750
+ pricing: {
3751
+ nativeWrappedToken: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
3752
+ nativeWrappedName: "XPL",
3753
+ },
3754
+ },
3755
+ defaultPool: zeroAddress,
3756
+ defaultToken0: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
3757
+ defaultToken1: zeroAddress,
3758
+ tokenList: [
3759
+ { symbol: "WXPL", address: "0x6100E367285b01F48D07953803A2d8dCA5D19873" },
3760
+ ],
3761
+ stables: [],
3762
+ watchlist: [],
3763
+ internalName: "plasma",
3764
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/xpl.png",
3765
+ contracts: {
3766
+ ...plasma$1.contracts,
3767
+ limitOrder: {
3768
+ address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
3769
+ },
3770
+ nftManager: {
3771
+ address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
3772
+ },
3773
+ weth9: {
3774
+ address: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
3775
+ },
3776
+ multicall2: {
3777
+ address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
3778
+ },
3779
+ multicall3: {
3780
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
3781
+ },
3782
+ },
3783
+ });
3784
+
3686
3785
  const polygon = makeConfig({
3687
3786
  ...polygon$1,
3688
3787
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
@@ -3691,6 +3790,7 @@ const polygon = makeConfig({
3691
3790
  transactionType: "eip1559",
3692
3791
  sortIndex: 3,
3693
3792
  logoUrl: "https://assets.oku.trade/chains/polygon-logo.webp",
3793
+ deprecated: false,
3694
3794
  safeReorgDistance: 90000,
3695
3795
  blockAid: "polygon",
3696
3796
  externalId: {
@@ -3988,6 +4088,7 @@ const redbelly = makeConfig({
3988
4088
  transactionType: "eip1559",
3989
4089
  sortIndex: 15,
3990
4090
  logoUrl: "https://assets.oku.trade/chains/redbelly-logo.svg",
4091
+ deprecated: false,
3991
4092
  safeReorgDistance: 90000,
3992
4093
  blockAid: "",
3993
4094
  externalId: {},
@@ -4072,6 +4173,7 @@ const rootstock = makeConfig({
4072
4173
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4073
4174
  blockTimeSeconds: 33,
4074
4175
  logoUrl: "https://assets.oku.trade/chains/rootstock-logo.svg",
4176
+ deprecated: false,
4075
4177
  safeReorgDistance: 90000,
4076
4178
  blockAid: "",
4077
4179
  externalId: {},
@@ -4208,6 +4310,7 @@ const saga = makeConfig({
4208
4310
  transactionType: "legacy",
4209
4311
  sortIndex: 13,
4210
4312
  logoUrl: "https://cms.oku.trade/cdn/public/chains/saga-logo.png",
4313
+ deprecated: false,
4211
4314
  safeReorgDistance: 90000,
4212
4315
  blockAid: "",
4213
4316
  externalId: {},
@@ -4307,6 +4410,7 @@ const scroll = makeConfig({
4307
4410
  transactionType: "eip1559",
4308
4411
  blockTimeSeconds: 3,
4309
4412
  logoUrl: "https://assets.oku.trade/chains/scroll-logo.png",
4413
+ deprecated: false,
4310
4414
  safeReorgDistance: 90000,
4311
4415
  blockAid: "scroll",
4312
4416
  externalId: {
@@ -4439,6 +4543,7 @@ const sei = makeConfig({
4439
4543
  transactionType: "eip1559",
4440
4544
  sortIndex: 5,
4441
4545
  logoUrl: "https://assets.oku.trade/chains/sei-logo.svg",
4546
+ deprecated: false,
4442
4547
  safeReorgDistance: 90000,
4443
4548
  blockAid: "",
4444
4549
  externalId: {
@@ -4608,6 +4713,7 @@ const sonic = makeConfig({
4608
4713
  transactionType: "eip1559",
4609
4714
  sortIndex: 15,
4610
4715
  logoUrl: "https://assets.oku.trade/chains/sonic-logo.svg",
4716
+ deprecated: false,
4611
4717
  safeReorgDistance: 90000,
4612
4718
  blockAid: "",
4613
4719
  morpho: {},
@@ -4741,6 +4847,7 @@ const taiko = makeConfig({
4741
4847
  transactionType: "eip1559",
4742
4848
  sortIndex: 4,
4743
4849
  logoUrl: "https://assets.oku.trade/chains/taiko-logo.svg",
4850
+ deprecated: false,
4744
4851
  safeReorgDistance: 90000,
4745
4852
  blockAid: "",
4746
4853
  externalId: {
@@ -4882,6 +4989,7 @@ const telos = makeConfig({
4882
4989
  transactionType: "legacy",
4883
4990
  sortIndex: 13,
4884
4991
  logoUrl: "https://assets.oku.trade/chains/telos-logo.svg",
4992
+ deprecated: false,
4885
4993
  safeReorgDistance: 90000,
4886
4994
  blockAid: "",
4887
4995
  externalId: {},
@@ -5013,6 +5121,7 @@ const tronShasta = makeConfig({
5013
5121
  sortIndex: 15,
5014
5122
  blockAid: "",
5015
5123
  logoUrl: "https://assets.oku.trade/chains/tron.png",
5124
+ deprecated: false,
5016
5125
  safeReorgDistance: 90000,
5017
5126
  externalId: {},
5018
5127
  markets: {},
@@ -5075,6 +5184,7 @@ const unichain = makeConfig({
5075
5184
  transactionType: "eip1559",
5076
5185
  sortIndex: 15,
5077
5186
  logoUrl: "https://assets.oku.trade/chains/unichain-logo.svg",
5187
+ deprecated: false,
5078
5188
  safeReorgDistance: 90000,
5079
5189
  blockAid: "unichain",
5080
5190
  externalId: {
@@ -5210,6 +5320,7 @@ const worldchain = makeConfig({
5210
5320
  transactionType: "eip1559",
5211
5321
  sortIndex: 15,
5212
5322
  logoUrl: "https://assets.oku.trade/chains/world-logo.png",
5323
+ deprecated: false,
5213
5324
  safeReorgDistance: 90000,
5214
5325
  blockAid: "",
5215
5326
  externalId: {
@@ -5311,6 +5422,7 @@ const xdc = makeConfig({
5311
5422
  transactionType: "legacy",
5312
5423
  sortIndex: 15,
5313
5424
  logoUrl: "https://assets.oku.trade/chains/xdc-logo.png",
5425
+ deprecated: false,
5314
5426
  safeReorgDistance: 90000,
5315
5427
  blockAid: "",
5316
5428
  externalId: {},
@@ -5418,6 +5530,7 @@ const polygonZkEvm = makeConfig({
5418
5530
  transactionType: "legacy",
5419
5531
  blockTimeSeconds: 7,
5420
5532
  logoUrl: "https://assets.oku.trade/chains/zkevm-logo.svg",
5533
+ deprecated: true,
5421
5534
  safeReorgDistance: 90000,
5422
5535
  blockAid: "",
5423
5536
  morpho: {},
@@ -5530,6 +5643,7 @@ const zkSync = makeConfig({
5530
5643
  launchTime: 1696514400,
5531
5644
  transactionType: "eip1559",
5532
5645
  logoUrl: "https://assets.oku.trade/chains/zksync-logo.svg",
5646
+ deprecated: false,
5533
5647
  safeReorgDistance: 90000,
5534
5648
  blockAid: "zksync",
5535
5649
  morpho: {},
@@ -5695,6 +5809,7 @@ const MAINNET_CHAINS = [
5695
5809
  etherlink,
5696
5810
  unichain,
5697
5811
  matchain,
5812
+ plasma,
5698
5813
  ];
5699
5814
 
5700
- export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, matchain, metal, moonbeam, nibiru, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zkSync };
5815
+ export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, matchain, metal, moonbeam, nibiru, optimism, plasma, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zkSync };