@gfxlabs/oku-chains 1.1.238 → 1.1.240
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 +128 -25
- package/dist/index-mjs.js +129 -27
- package/dist/index.js +128 -25
- package/dist/types/browser.d.ts +326 -119
- package/dist/types/index-mjs.d.ts +326 -119
- package/dist/types/index.d.ts +326 -119
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -1205,6 +1205,87 @@
|
|
|
1205
1205
|
},
|
|
1206
1206
|
});
|
|
1207
1207
|
|
|
1208
|
+
const etherlink = makeConfig({
|
|
1209
|
+
...chains.etherlink,
|
|
1210
|
+
name: "Corn",
|
|
1211
|
+
blockTimeSeconds: 0.6,
|
|
1212
|
+
launchTime: 1749000115,
|
|
1213
|
+
sortIndex: 15,
|
|
1214
|
+
logoUrl: "https://assets.oku.trade/chains/etherlink-logo.png",
|
|
1215
|
+
safeReorgDistance: 90000,
|
|
1216
|
+
externalId: {
|
|
1217
|
+
tenderly: "true",
|
|
1218
|
+
},
|
|
1219
|
+
markets: {},
|
|
1220
|
+
bridges: {},
|
|
1221
|
+
oracles: {},
|
|
1222
|
+
morpho: {},
|
|
1223
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1224
|
+
uniswap: {
|
|
1225
|
+
deployBlock: 14584055,
|
|
1226
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
1227
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
1228
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1229
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
1230
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1231
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1232
|
+
positionsNFTDeployBlock: 14584114,
|
|
1233
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
1234
|
+
wrappedNativeAddress: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1235
|
+
wrappedNativeSymbol: "WXTZ",
|
|
1236
|
+
wrappedNativeName: "Wrapped XTZ",
|
|
1237
|
+
wrappedNativeDecimals: 18,
|
|
1238
|
+
nativeCurrencyName: "XTZ",
|
|
1239
|
+
},
|
|
1240
|
+
token: {
|
|
1241
|
+
wethAddress: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1242
|
+
usdcAddress: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1243
|
+
wbtcAddress: "0xbFc94CD2B1E55999Cfc7347a9313e88702B83d0F",
|
|
1244
|
+
},
|
|
1245
|
+
oku: {
|
|
1246
|
+
// TODO: update limit order registry address
|
|
1247
|
+
limitOrderRegistry: viem.zeroAddress,
|
|
1248
|
+
limitOrderRegistryDeployBlock: 14584114,
|
|
1249
|
+
pricing: {
|
|
1250
|
+
nativeWrappedToken: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1251
|
+
nativeWrappedName: "XTZ",
|
|
1252
|
+
},
|
|
1253
|
+
},
|
|
1254
|
+
defaultPool: viem.zeroAddress,
|
|
1255
|
+
defaultToken0: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1256
|
+
defaultToken1: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1257
|
+
tokenList: [
|
|
1258
|
+
{ symbol: "WXTZ", address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb" },
|
|
1259
|
+
{ symbol: "USDC.e", address: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9" },
|
|
1260
|
+
],
|
|
1261
|
+
stables: [
|
|
1262
|
+
"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1263
|
+
"0x2C03058C8AFC06713be23e58D2febC8337dbfE6A",
|
|
1264
|
+
],
|
|
1265
|
+
watchlist: [],
|
|
1266
|
+
internalName: "etherlink",
|
|
1267
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/xtz.png",
|
|
1268
|
+
contracts: {
|
|
1269
|
+
...chains.etherlink.contracts,
|
|
1270
|
+
limitOrder: {
|
|
1271
|
+
// TODO: update limit order address
|
|
1272
|
+
address: viem.zeroAddress,
|
|
1273
|
+
},
|
|
1274
|
+
nftManager: {
|
|
1275
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1276
|
+
},
|
|
1277
|
+
weth9: {
|
|
1278
|
+
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1279
|
+
},
|
|
1280
|
+
multicall2: {
|
|
1281
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1282
|
+
},
|
|
1283
|
+
multicall3: {
|
|
1284
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1285
|
+
},
|
|
1286
|
+
},
|
|
1287
|
+
});
|
|
1288
|
+
|
|
1208
1289
|
const filecoin = makeConfig({
|
|
1209
1290
|
...chains.filecoin,
|
|
1210
1291
|
sortIndex: 10,
|
|
@@ -2855,57 +2936,57 @@
|
|
|
2855
2936
|
morpho: {},
|
|
2856
2937
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
2857
2938
|
uniswap: {
|
|
2858
|
-
deployBlock:
|
|
2859
|
-
poolFactory: "
|
|
2860
|
-
permit2: "
|
|
2861
|
-
multicall2: "
|
|
2862
|
-
tickLens: "
|
|
2863
|
-
nonfungiblePositionManager: "
|
|
2864
|
-
positionsNFT: "
|
|
2865
|
-
positionsNFTDeployBlock:
|
|
2866
|
-
universalRouter: "
|
|
2867
|
-
wrappedNativeAddress: "
|
|
2939
|
+
deployBlock: 23658063,
|
|
2940
|
+
poolFactory: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
2941
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
2942
|
+
multicall2: "0x352A86168e6988A1aDF9A15Cb00017AAd3B67155",
|
|
2943
|
+
tickLens: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0",
|
|
2944
|
+
nonfungiblePositionManager: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2945
|
+
positionsNFT: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2946
|
+
positionsNFTDeployBlock: 23658348,
|
|
2947
|
+
universalRouter: "0xA7E6cB0A6B1BE8b779022A6aFcb097cF0d3Ff4A2",
|
|
2948
|
+
wrappedNativeAddress: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2868
2949
|
wrappedNativeSymbol: "WNIBI",
|
|
2869
2950
|
wrappedNativeName: "Wrapped NIBI",
|
|
2870
2951
|
wrappedNativeDecimals: 18,
|
|
2871
2952
|
nativeCurrencyName: "NIBI",
|
|
2872
2953
|
},
|
|
2873
2954
|
token: {
|
|
2874
|
-
wethAddress: "
|
|
2955
|
+
wethAddress: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2875
2956
|
usdcAddress: "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
2876
2957
|
},
|
|
2877
2958
|
oku: {
|
|
2878
|
-
limitOrderRegistry: "
|
|
2959
|
+
limitOrderRegistry: "0x6E1293993C71Cb2E6b2Da8559f6d7Dc1fdb3AE02",
|
|
2879
2960
|
limitOrderRegistryDeployBlock: 19842992,
|
|
2880
2961
|
pricing: {
|
|
2881
2962
|
nativeWrappedToken: "0x1429B38e58b97de646ACd65fdb8a4502c2131484",
|
|
2882
2963
|
nativeWrappedName: "NIBI",
|
|
2883
2964
|
},
|
|
2884
2965
|
},
|
|
2885
|
-
defaultPool:
|
|
2966
|
+
defaultPool: viem.zeroAddress,
|
|
2886
2967
|
defaultToken0: "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
2887
|
-
defaultToken1: "
|
|
2968
|
+
defaultToken1: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2888
2969
|
tokenList: [
|
|
2889
|
-
{ symbol: "WNIBI", address: "
|
|
2970
|
+
{ symbol: "WNIBI", address: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97" },
|
|
2890
2971
|
{ symbol: "USDC.e", address: "0x0829F361A05D993d5CEb035cA6DF3446b060970b" },
|
|
2891
2972
|
],
|
|
2892
2973
|
stables: ["0x0829F361A05D993d5CEb035cA6DF3446b060970b"],
|
|
2893
|
-
watchlist: [
|
|
2974
|
+
watchlist: [],
|
|
2894
2975
|
internalName: "nibiru",
|
|
2895
2976
|
nativeLogoUrl: "https://assets.oku.trade/natives/nibi.svg",
|
|
2896
2977
|
contracts: {
|
|
2897
2978
|
...chains.nibiru.contracts,
|
|
2898
2979
|
limitOrder: {
|
|
2899
|
-
address: "
|
|
2980
|
+
address: "0x6E1293993C71Cb2E6b2Da8559f6d7Dc1fdb3AE02",
|
|
2900
2981
|
},
|
|
2901
2982
|
nftManager: {
|
|
2902
|
-
address: "
|
|
2983
|
+
address: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2903
2984
|
},
|
|
2904
2985
|
weth9: {
|
|
2905
|
-
address: "
|
|
2986
|
+
address: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2906
2987
|
},
|
|
2907
2988
|
multicall2: {
|
|
2908
|
-
address: "
|
|
2989
|
+
address: "0x352A86168e6988A1aDF9A15Cb00017AAd3B67155",
|
|
2909
2990
|
},
|
|
2910
2991
|
multicall3: {
|
|
2911
2992
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
@@ -4482,10 +4563,7 @@
|
|
|
4482
4563
|
logoUrl: "https://assets.oku.trade/chains/world-logo.png",
|
|
4483
4564
|
safeReorgDistance: 90000,
|
|
4484
4565
|
externalId: {
|
|
4485
|
-
tenderly: "true"
|
|
4486
|
-
},
|
|
4487
|
-
rpcUrls: {
|
|
4488
|
-
default: { http: ["https://worldchain.drpc.org"] },
|
|
4566
|
+
tenderly: "true",
|
|
4489
4567
|
},
|
|
4490
4568
|
markets: {},
|
|
4491
4569
|
bridges: {},
|
|
@@ -4572,7 +4650,30 @@
|
|
|
4572
4650
|
safeReorgDistance: 90000,
|
|
4573
4651
|
externalId: {},
|
|
4574
4652
|
markets: {},
|
|
4575
|
-
bridges: {
|
|
4653
|
+
bridges: {
|
|
4654
|
+
stargate: {
|
|
4655
|
+
endpointID: 30365,
|
|
4656
|
+
tokens: [{
|
|
4657
|
+
name: "ETH",
|
|
4658
|
+
type: "OFT",
|
|
4659
|
+
id: 13,
|
|
4660
|
+
address: "0xB0d27478A40223e427697Da523c6A3DAF29AaFfB"
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
name: "USDC",
|
|
4664
|
+
type: "OFT",
|
|
4665
|
+
id: 1,
|
|
4666
|
+
address: "0x8E2E38711080bF8AAb9C74f434d2bae70e67ae44"
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
name: "USDT",
|
|
4670
|
+
type: "OFT",
|
|
4671
|
+
id: 2,
|
|
4672
|
+
address: "0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b"
|
|
4673
|
+
},
|
|
4674
|
+
]
|
|
4675
|
+
}
|
|
4676
|
+
},
|
|
4576
4677
|
oracles: {},
|
|
4577
4678
|
morpho: {},
|
|
4578
4679
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -4919,6 +5020,7 @@
|
|
|
4919
5020
|
tronShasta,
|
|
4920
5021
|
lens,
|
|
4921
5022
|
nibiru,
|
|
5023
|
+
etherlink,
|
|
4922
5024
|
];
|
|
4923
5025
|
|
|
4924
5026
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -4930,6 +5032,7 @@
|
|
|
4930
5032
|
exports.bsc = bsc;
|
|
4931
5033
|
exports.celo = celo;
|
|
4932
5034
|
exports.corn = corn;
|
|
5035
|
+
exports.etherlink = etherlink;
|
|
4933
5036
|
exports.filecoin = filecoin;
|
|
4934
5037
|
exports.gnosis = gnosis;
|
|
4935
5038
|
exports.goat = goat;
|
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, 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, 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, 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, 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, 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) => {
|
|
@@ -1202,6 +1202,87 @@ const corn = makeConfig({
|
|
|
1202
1202
|
},
|
|
1203
1203
|
});
|
|
1204
1204
|
|
|
1205
|
+
const etherlink = makeConfig({
|
|
1206
|
+
...etherlink$1,
|
|
1207
|
+
name: "Corn",
|
|
1208
|
+
blockTimeSeconds: 0.6,
|
|
1209
|
+
launchTime: 1749000115,
|
|
1210
|
+
sortIndex: 15,
|
|
1211
|
+
logoUrl: "https://assets.oku.trade/chains/etherlink-logo.png",
|
|
1212
|
+
safeReorgDistance: 90000,
|
|
1213
|
+
externalId: {
|
|
1214
|
+
tenderly: "true",
|
|
1215
|
+
},
|
|
1216
|
+
markets: {},
|
|
1217
|
+
bridges: {},
|
|
1218
|
+
oracles: {},
|
|
1219
|
+
morpho: {},
|
|
1220
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1221
|
+
uniswap: {
|
|
1222
|
+
deployBlock: 14584055,
|
|
1223
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
1224
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
1225
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1226
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
1227
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1228
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1229
|
+
positionsNFTDeployBlock: 14584114,
|
|
1230
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
1231
|
+
wrappedNativeAddress: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1232
|
+
wrappedNativeSymbol: "WXTZ",
|
|
1233
|
+
wrappedNativeName: "Wrapped XTZ",
|
|
1234
|
+
wrappedNativeDecimals: 18,
|
|
1235
|
+
nativeCurrencyName: "XTZ",
|
|
1236
|
+
},
|
|
1237
|
+
token: {
|
|
1238
|
+
wethAddress: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1239
|
+
usdcAddress: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1240
|
+
wbtcAddress: "0xbFc94CD2B1E55999Cfc7347a9313e88702B83d0F",
|
|
1241
|
+
},
|
|
1242
|
+
oku: {
|
|
1243
|
+
// TODO: update limit order registry address
|
|
1244
|
+
limitOrderRegistry: zeroAddress,
|
|
1245
|
+
limitOrderRegistryDeployBlock: 14584114,
|
|
1246
|
+
pricing: {
|
|
1247
|
+
nativeWrappedToken: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1248
|
+
nativeWrappedName: "XTZ",
|
|
1249
|
+
},
|
|
1250
|
+
},
|
|
1251
|
+
defaultPool: zeroAddress,
|
|
1252
|
+
defaultToken0: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1253
|
+
defaultToken1: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1254
|
+
tokenList: [
|
|
1255
|
+
{ symbol: "WXTZ", address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb" },
|
|
1256
|
+
{ symbol: "USDC.e", address: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9" },
|
|
1257
|
+
],
|
|
1258
|
+
stables: [
|
|
1259
|
+
"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1260
|
+
"0x2C03058C8AFC06713be23e58D2febC8337dbfE6A",
|
|
1261
|
+
],
|
|
1262
|
+
watchlist: [],
|
|
1263
|
+
internalName: "etherlink",
|
|
1264
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/xtz.png",
|
|
1265
|
+
contracts: {
|
|
1266
|
+
...etherlink$1.contracts,
|
|
1267
|
+
limitOrder: {
|
|
1268
|
+
// TODO: update limit order address
|
|
1269
|
+
address: zeroAddress,
|
|
1270
|
+
},
|
|
1271
|
+
nftManager: {
|
|
1272
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1273
|
+
},
|
|
1274
|
+
weth9: {
|
|
1275
|
+
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1276
|
+
},
|
|
1277
|
+
multicall2: {
|
|
1278
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1279
|
+
},
|
|
1280
|
+
multicall3: {
|
|
1281
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1282
|
+
},
|
|
1283
|
+
},
|
|
1284
|
+
});
|
|
1285
|
+
|
|
1205
1286
|
const filecoin = makeConfig({
|
|
1206
1287
|
...filecoin$1,
|
|
1207
1288
|
sortIndex: 10,
|
|
@@ -2852,57 +2933,57 @@ const nibiru = makeConfig({
|
|
|
2852
2933
|
morpho: {},
|
|
2853
2934
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
2854
2935
|
uniswap: {
|
|
2855
|
-
deployBlock:
|
|
2856
|
-
poolFactory: "
|
|
2857
|
-
permit2: "
|
|
2858
|
-
multicall2: "
|
|
2859
|
-
tickLens: "
|
|
2860
|
-
nonfungiblePositionManager: "
|
|
2861
|
-
positionsNFT: "
|
|
2862
|
-
positionsNFTDeployBlock:
|
|
2863
|
-
universalRouter: "
|
|
2864
|
-
wrappedNativeAddress: "
|
|
2936
|
+
deployBlock: 23658063,
|
|
2937
|
+
poolFactory: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
2938
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
2939
|
+
multicall2: "0x352A86168e6988A1aDF9A15Cb00017AAd3B67155",
|
|
2940
|
+
tickLens: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0",
|
|
2941
|
+
nonfungiblePositionManager: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2942
|
+
positionsNFT: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2943
|
+
positionsNFTDeployBlock: 23658348,
|
|
2944
|
+
universalRouter: "0xA7E6cB0A6B1BE8b779022A6aFcb097cF0d3Ff4A2",
|
|
2945
|
+
wrappedNativeAddress: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2865
2946
|
wrappedNativeSymbol: "WNIBI",
|
|
2866
2947
|
wrappedNativeName: "Wrapped NIBI",
|
|
2867
2948
|
wrappedNativeDecimals: 18,
|
|
2868
2949
|
nativeCurrencyName: "NIBI",
|
|
2869
2950
|
},
|
|
2870
2951
|
token: {
|
|
2871
|
-
wethAddress: "
|
|
2952
|
+
wethAddress: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2872
2953
|
usdcAddress: "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
2873
2954
|
},
|
|
2874
2955
|
oku: {
|
|
2875
|
-
limitOrderRegistry: "
|
|
2956
|
+
limitOrderRegistry: "0x6E1293993C71Cb2E6b2Da8559f6d7Dc1fdb3AE02",
|
|
2876
2957
|
limitOrderRegistryDeployBlock: 19842992,
|
|
2877
2958
|
pricing: {
|
|
2878
2959
|
nativeWrappedToken: "0x1429B38e58b97de646ACd65fdb8a4502c2131484",
|
|
2879
2960
|
nativeWrappedName: "NIBI",
|
|
2880
2961
|
},
|
|
2881
2962
|
},
|
|
2882
|
-
defaultPool:
|
|
2963
|
+
defaultPool: zeroAddress,
|
|
2883
2964
|
defaultToken0: "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
2884
|
-
defaultToken1: "
|
|
2965
|
+
defaultToken1: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2885
2966
|
tokenList: [
|
|
2886
|
-
{ symbol: "WNIBI", address: "
|
|
2967
|
+
{ symbol: "WNIBI", address: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97" },
|
|
2887
2968
|
{ symbol: "USDC.e", address: "0x0829F361A05D993d5CEb035cA6DF3446b060970b" },
|
|
2888
2969
|
],
|
|
2889
2970
|
stables: ["0x0829F361A05D993d5CEb035cA6DF3446b060970b"],
|
|
2890
|
-
watchlist: [
|
|
2971
|
+
watchlist: [],
|
|
2891
2972
|
internalName: "nibiru",
|
|
2892
2973
|
nativeLogoUrl: "https://assets.oku.trade/natives/nibi.svg",
|
|
2893
2974
|
contracts: {
|
|
2894
2975
|
...nibiru$1.contracts,
|
|
2895
2976
|
limitOrder: {
|
|
2896
|
-
address: "
|
|
2977
|
+
address: "0x6E1293993C71Cb2E6b2Da8559f6d7Dc1fdb3AE02",
|
|
2897
2978
|
},
|
|
2898
2979
|
nftManager: {
|
|
2899
|
-
address: "
|
|
2980
|
+
address: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2900
2981
|
},
|
|
2901
2982
|
weth9: {
|
|
2902
|
-
address: "
|
|
2983
|
+
address: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2903
2984
|
},
|
|
2904
2985
|
multicall2: {
|
|
2905
|
-
address: "
|
|
2986
|
+
address: "0x352A86168e6988A1aDF9A15Cb00017AAd3B67155",
|
|
2906
2987
|
},
|
|
2907
2988
|
multicall3: {
|
|
2908
2989
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
@@ -4479,10 +4560,7 @@ const worldchain = makeConfig({
|
|
|
4479
4560
|
logoUrl: "https://assets.oku.trade/chains/world-logo.png",
|
|
4480
4561
|
safeReorgDistance: 90000,
|
|
4481
4562
|
externalId: {
|
|
4482
|
-
tenderly: "true"
|
|
4483
|
-
},
|
|
4484
|
-
rpcUrls: {
|
|
4485
|
-
default: { http: ["https://worldchain.drpc.org"] },
|
|
4563
|
+
tenderly: "true",
|
|
4486
4564
|
},
|
|
4487
4565
|
markets: {},
|
|
4488
4566
|
bridges: {},
|
|
@@ -4569,7 +4647,30 @@ const xdc = makeConfig({
|
|
|
4569
4647
|
safeReorgDistance: 90000,
|
|
4570
4648
|
externalId: {},
|
|
4571
4649
|
markets: {},
|
|
4572
|
-
bridges: {
|
|
4650
|
+
bridges: {
|
|
4651
|
+
stargate: {
|
|
4652
|
+
endpointID: 30365,
|
|
4653
|
+
tokens: [{
|
|
4654
|
+
name: "ETH",
|
|
4655
|
+
type: "OFT",
|
|
4656
|
+
id: 13,
|
|
4657
|
+
address: "0xB0d27478A40223e427697Da523c6A3DAF29AaFfB"
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
name: "USDC",
|
|
4661
|
+
type: "OFT",
|
|
4662
|
+
id: 1,
|
|
4663
|
+
address: "0x8E2E38711080bF8AAb9C74f434d2bae70e67ae44"
|
|
4664
|
+
},
|
|
4665
|
+
{
|
|
4666
|
+
name: "USDT",
|
|
4667
|
+
type: "OFT",
|
|
4668
|
+
id: 2,
|
|
4669
|
+
address: "0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b"
|
|
4670
|
+
},
|
|
4671
|
+
]
|
|
4672
|
+
}
|
|
4673
|
+
},
|
|
4573
4674
|
oracles: {},
|
|
4574
4675
|
morpho: {},
|
|
4575
4676
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -4916,6 +5017,7 @@ const MAINNET_CHAINS = [
|
|
|
4916
5017
|
tronShasta,
|
|
4917
5018
|
lens,
|
|
4918
5019
|
nibiru,
|
|
5020
|
+
etherlink,
|
|
4919
5021
|
];
|
|
4920
5022
|
|
|
4921
|
-
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, metal, moonbeam, nibiru, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, worldchain, xdc, zkSync };
|
|
5023
|
+
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, metal, moonbeam, nibiru, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, worldchain, xdc, zkSync };
|
package/dist/index.js
CHANGED
|
@@ -1204,6 +1204,87 @@ const corn = makeConfig({
|
|
|
1204
1204
|
},
|
|
1205
1205
|
});
|
|
1206
1206
|
|
|
1207
|
+
const etherlink = makeConfig({
|
|
1208
|
+
...chains.etherlink,
|
|
1209
|
+
name: "Corn",
|
|
1210
|
+
blockTimeSeconds: 0.6,
|
|
1211
|
+
launchTime: 1749000115,
|
|
1212
|
+
sortIndex: 15,
|
|
1213
|
+
logoUrl: "https://assets.oku.trade/chains/etherlink-logo.png",
|
|
1214
|
+
safeReorgDistance: 90000,
|
|
1215
|
+
externalId: {
|
|
1216
|
+
tenderly: "true",
|
|
1217
|
+
},
|
|
1218
|
+
markets: {},
|
|
1219
|
+
bridges: {},
|
|
1220
|
+
oracles: {},
|
|
1221
|
+
morpho: {},
|
|
1222
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1223
|
+
uniswap: {
|
|
1224
|
+
deployBlock: 14584055,
|
|
1225
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
1226
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
1227
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1228
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
1229
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1230
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1231
|
+
positionsNFTDeployBlock: 14584114,
|
|
1232
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
1233
|
+
wrappedNativeAddress: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1234
|
+
wrappedNativeSymbol: "WXTZ",
|
|
1235
|
+
wrappedNativeName: "Wrapped XTZ",
|
|
1236
|
+
wrappedNativeDecimals: 18,
|
|
1237
|
+
nativeCurrencyName: "XTZ",
|
|
1238
|
+
},
|
|
1239
|
+
token: {
|
|
1240
|
+
wethAddress: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1241
|
+
usdcAddress: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1242
|
+
wbtcAddress: "0xbFc94CD2B1E55999Cfc7347a9313e88702B83d0F",
|
|
1243
|
+
},
|
|
1244
|
+
oku: {
|
|
1245
|
+
// TODO: update limit order registry address
|
|
1246
|
+
limitOrderRegistry: viem.zeroAddress,
|
|
1247
|
+
limitOrderRegistryDeployBlock: 14584114,
|
|
1248
|
+
pricing: {
|
|
1249
|
+
nativeWrappedToken: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1250
|
+
nativeWrappedName: "XTZ",
|
|
1251
|
+
},
|
|
1252
|
+
},
|
|
1253
|
+
defaultPool: viem.zeroAddress,
|
|
1254
|
+
defaultToken0: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1255
|
+
defaultToken1: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1256
|
+
tokenList: [
|
|
1257
|
+
{ symbol: "WXTZ", address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb" },
|
|
1258
|
+
{ symbol: "USDC.e", address: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9" },
|
|
1259
|
+
],
|
|
1260
|
+
stables: [
|
|
1261
|
+
"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1262
|
+
"0x2C03058C8AFC06713be23e58D2febC8337dbfE6A",
|
|
1263
|
+
],
|
|
1264
|
+
watchlist: [],
|
|
1265
|
+
internalName: "etherlink",
|
|
1266
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/xtz.png",
|
|
1267
|
+
contracts: {
|
|
1268
|
+
...chains.etherlink.contracts,
|
|
1269
|
+
limitOrder: {
|
|
1270
|
+
// TODO: update limit order address
|
|
1271
|
+
address: viem.zeroAddress,
|
|
1272
|
+
},
|
|
1273
|
+
nftManager: {
|
|
1274
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
1275
|
+
},
|
|
1276
|
+
weth9: {
|
|
1277
|
+
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1278
|
+
},
|
|
1279
|
+
multicall2: {
|
|
1280
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1281
|
+
},
|
|
1282
|
+
multicall3: {
|
|
1283
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1284
|
+
},
|
|
1285
|
+
},
|
|
1286
|
+
});
|
|
1287
|
+
|
|
1207
1288
|
const filecoin = makeConfig({
|
|
1208
1289
|
...chains.filecoin,
|
|
1209
1290
|
sortIndex: 10,
|
|
@@ -2854,57 +2935,57 @@ const nibiru = makeConfig({
|
|
|
2854
2935
|
morpho: {},
|
|
2855
2936
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
2856
2937
|
uniswap: {
|
|
2857
|
-
deployBlock:
|
|
2858
|
-
poolFactory: "
|
|
2859
|
-
permit2: "
|
|
2860
|
-
multicall2: "
|
|
2861
|
-
tickLens: "
|
|
2862
|
-
nonfungiblePositionManager: "
|
|
2863
|
-
positionsNFT: "
|
|
2864
|
-
positionsNFTDeployBlock:
|
|
2865
|
-
universalRouter: "
|
|
2866
|
-
wrappedNativeAddress: "
|
|
2938
|
+
deployBlock: 23658063,
|
|
2939
|
+
poolFactory: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
2940
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
2941
|
+
multicall2: "0x352A86168e6988A1aDF9A15Cb00017AAd3B67155",
|
|
2942
|
+
tickLens: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0",
|
|
2943
|
+
nonfungiblePositionManager: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2944
|
+
positionsNFT: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2945
|
+
positionsNFTDeployBlock: 23658348,
|
|
2946
|
+
universalRouter: "0xA7E6cB0A6B1BE8b779022A6aFcb097cF0d3Ff4A2",
|
|
2947
|
+
wrappedNativeAddress: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2867
2948
|
wrappedNativeSymbol: "WNIBI",
|
|
2868
2949
|
wrappedNativeName: "Wrapped NIBI",
|
|
2869
2950
|
wrappedNativeDecimals: 18,
|
|
2870
2951
|
nativeCurrencyName: "NIBI",
|
|
2871
2952
|
},
|
|
2872
2953
|
token: {
|
|
2873
|
-
wethAddress: "
|
|
2954
|
+
wethAddress: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2874
2955
|
usdcAddress: "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
2875
2956
|
},
|
|
2876
2957
|
oku: {
|
|
2877
|
-
limitOrderRegistry: "
|
|
2958
|
+
limitOrderRegistry: "0x6E1293993C71Cb2E6b2Da8559f6d7Dc1fdb3AE02",
|
|
2878
2959
|
limitOrderRegistryDeployBlock: 19842992,
|
|
2879
2960
|
pricing: {
|
|
2880
2961
|
nativeWrappedToken: "0x1429B38e58b97de646ACd65fdb8a4502c2131484",
|
|
2881
2962
|
nativeWrappedName: "NIBI",
|
|
2882
2963
|
},
|
|
2883
2964
|
},
|
|
2884
|
-
defaultPool:
|
|
2965
|
+
defaultPool: viem.zeroAddress,
|
|
2885
2966
|
defaultToken0: "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
2886
|
-
defaultToken1: "
|
|
2967
|
+
defaultToken1: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2887
2968
|
tokenList: [
|
|
2888
|
-
{ symbol: "WNIBI", address: "
|
|
2969
|
+
{ symbol: "WNIBI", address: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97" },
|
|
2889
2970
|
{ symbol: "USDC.e", address: "0x0829F361A05D993d5CEb035cA6DF3446b060970b" },
|
|
2890
2971
|
],
|
|
2891
2972
|
stables: ["0x0829F361A05D993d5CEb035cA6DF3446b060970b"],
|
|
2892
|
-
watchlist: [
|
|
2973
|
+
watchlist: [],
|
|
2893
2974
|
internalName: "nibiru",
|
|
2894
2975
|
nativeLogoUrl: "https://assets.oku.trade/natives/nibi.svg",
|
|
2895
2976
|
contracts: {
|
|
2896
2977
|
...chains.nibiru.contracts,
|
|
2897
2978
|
limitOrder: {
|
|
2898
|
-
address: "
|
|
2979
|
+
address: "0x6E1293993C71Cb2E6b2Da8559f6d7Dc1fdb3AE02",
|
|
2899
2980
|
},
|
|
2900
2981
|
nftManager: {
|
|
2901
|
-
address: "
|
|
2982
|
+
address: "0xEFdE184f4b5d79f7c3b7Efc0388d829ff9af0050",
|
|
2902
2983
|
},
|
|
2903
2984
|
weth9: {
|
|
2904
|
-
address: "
|
|
2985
|
+
address: "0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97",
|
|
2905
2986
|
},
|
|
2906
2987
|
multicall2: {
|
|
2907
|
-
address: "
|
|
2988
|
+
address: "0x352A86168e6988A1aDF9A15Cb00017AAd3B67155",
|
|
2908
2989
|
},
|
|
2909
2990
|
multicall3: {
|
|
2910
2991
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
@@ -4481,10 +4562,7 @@ const worldchain = makeConfig({
|
|
|
4481
4562
|
logoUrl: "https://assets.oku.trade/chains/world-logo.png",
|
|
4482
4563
|
safeReorgDistance: 90000,
|
|
4483
4564
|
externalId: {
|
|
4484
|
-
tenderly: "true"
|
|
4485
|
-
},
|
|
4486
|
-
rpcUrls: {
|
|
4487
|
-
default: { http: ["https://worldchain.drpc.org"] },
|
|
4565
|
+
tenderly: "true",
|
|
4488
4566
|
},
|
|
4489
4567
|
markets: {},
|
|
4490
4568
|
bridges: {},
|
|
@@ -4571,7 +4649,30 @@ const xdc = makeConfig({
|
|
|
4571
4649
|
safeReorgDistance: 90000,
|
|
4572
4650
|
externalId: {},
|
|
4573
4651
|
markets: {},
|
|
4574
|
-
bridges: {
|
|
4652
|
+
bridges: {
|
|
4653
|
+
stargate: {
|
|
4654
|
+
endpointID: 30365,
|
|
4655
|
+
tokens: [{
|
|
4656
|
+
name: "ETH",
|
|
4657
|
+
type: "OFT",
|
|
4658
|
+
id: 13,
|
|
4659
|
+
address: "0xB0d27478A40223e427697Da523c6A3DAF29AaFfB"
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
name: "USDC",
|
|
4663
|
+
type: "OFT",
|
|
4664
|
+
id: 1,
|
|
4665
|
+
address: "0x8E2E38711080bF8AAb9C74f434d2bae70e67ae44"
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
name: "USDT",
|
|
4669
|
+
type: "OFT",
|
|
4670
|
+
id: 2,
|
|
4671
|
+
address: "0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b"
|
|
4672
|
+
},
|
|
4673
|
+
]
|
|
4674
|
+
}
|
|
4675
|
+
},
|
|
4575
4676
|
oracles: {},
|
|
4576
4677
|
morpho: {},
|
|
4577
4678
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -4918,6 +5019,7 @@ const MAINNET_CHAINS = [
|
|
|
4918
5019
|
tronShasta,
|
|
4919
5020
|
lens,
|
|
4920
5021
|
nibiru,
|
|
5022
|
+
etherlink,
|
|
4921
5023
|
];
|
|
4922
5024
|
|
|
4923
5025
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -4929,6 +5031,7 @@ exports.boba = boba;
|
|
|
4929
5031
|
exports.bsc = bsc;
|
|
4930
5032
|
exports.celo = celo;
|
|
4931
5033
|
exports.corn = corn;
|
|
5034
|
+
exports.etherlink = etherlink;
|
|
4932
5035
|
exports.filecoin = filecoin;
|
|
4933
5036
|
exports.gnosis = gnosis;
|
|
4934
5037
|
exports.goat = goat;
|