@gfxlabs/oku-chains 1.1.92 → 1.1.94
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 +171 -2
- package/dist/index-mjs.js +171 -4
- package/dist/index.js +171 -2
- package/dist/types/browser.d.ts +441 -3
- package/dist/types/index-mjs.d.ts +441 -3
- package/dist/types/index.d.ts +441 -3
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -1003,6 +1003,89 @@
|
|
|
1003
1003
|
},
|
|
1004
1004
|
});
|
|
1005
1005
|
|
|
1006
|
+
const gnosis = makeConfig({
|
|
1007
|
+
...chains.gnosis,
|
|
1008
|
+
blockTimeSeconds: 5,
|
|
1009
|
+
sortIndex: 18,
|
|
1010
|
+
logoUrl: "https://assets.oku.trade/gnosis-logo.svg",
|
|
1011
|
+
safeReorgDistance: 90000,
|
|
1012
|
+
externalId: {
|
|
1013
|
+
zerion: "gnosis",
|
|
1014
|
+
},
|
|
1015
|
+
markets: {},
|
|
1016
|
+
bridges: {},
|
|
1017
|
+
oracles: {
|
|
1018
|
+
cmc: {
|
|
1019
|
+
slug: "gnosis",
|
|
1020
|
+
native: "xdai",
|
|
1021
|
+
},
|
|
1022
|
+
coingecko: {
|
|
1023
|
+
slug: "xdai",
|
|
1024
|
+
native: "xdai",
|
|
1025
|
+
},
|
|
1026
|
+
dexscreener: "gnosischain",
|
|
1027
|
+
},
|
|
1028
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1029
|
+
uniswap: {
|
|
1030
|
+
deployBlock: 27416614,
|
|
1031
|
+
poolFactory: "0xe32F7dD7e3f098D518ff19A22d5f028e076489B1",
|
|
1032
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
1033
|
+
multicall2: "0x4dfa9a980efE4802E969AC33968E3d6E59B8a19e",
|
|
1034
|
+
tickLens: "0x8fe3D346B53dCA838B228e0e53aCdBED5DEC70Dc",
|
|
1035
|
+
nonfungiblePositionManager: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1036
|
+
positionsNFT: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1037
|
+
positionsNFTDeployBlock: 27416645,
|
|
1038
|
+
universalRouter: "0x75FC67473A91335B5b8F8821277262a13B38c9b3",
|
|
1039
|
+
},
|
|
1040
|
+
token: {
|
|
1041
|
+
usdcAddress: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
|
|
1042
|
+
wethAddress: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1043
|
+
},
|
|
1044
|
+
oku: {
|
|
1045
|
+
limitOrderRegistry: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1046
|
+
limitOrderRegistryDeployBlock: 35719277,
|
|
1047
|
+
pricing: {
|
|
1048
|
+
nativeWrappedToken: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1049
|
+
nativeWrappedName: "xDAI",
|
|
1050
|
+
},
|
|
1051
|
+
},
|
|
1052
|
+
defaultPool: viem.zeroAddress,
|
|
1053
|
+
defaultToken0: "0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
|
|
1054
|
+
defaultToken1: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1055
|
+
tokenList: [
|
|
1056
|
+
{ symbol: "WXDAI", address: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d" },
|
|
1057
|
+
{ symbol: "USDC.e", address: "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0" },
|
|
1058
|
+
{ symbol: "USDC", address: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4" },
|
|
1059
|
+
{ symbol: "USDT", address: "0x4ecaba5870353805a9f068101a40e0f32ed605c6" },
|
|
1060
|
+
],
|
|
1061
|
+
stables: [
|
|
1062
|
+
"0x4ecaba5870353805a9f068101a40e0f32ed605c6",
|
|
1063
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
|
|
1064
|
+
"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
|
|
1065
|
+
],
|
|
1066
|
+
watchlist: [],
|
|
1067
|
+
internalName: "gnosis",
|
|
1068
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/xdai.png",
|
|
1069
|
+
contracts: {
|
|
1070
|
+
...chains.gnosis.contracts,
|
|
1071
|
+
limitOrder: {
|
|
1072
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1073
|
+
},
|
|
1074
|
+
nftManager: {
|
|
1075
|
+
address: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1076
|
+
},
|
|
1077
|
+
weth9: {
|
|
1078
|
+
address: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1079
|
+
},
|
|
1080
|
+
multicall2: {
|
|
1081
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1082
|
+
},
|
|
1083
|
+
multicall3: {
|
|
1084
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1085
|
+
},
|
|
1086
|
+
},
|
|
1087
|
+
});
|
|
1088
|
+
|
|
1006
1089
|
const linea = makeConfig({
|
|
1007
1090
|
...chains.linea,
|
|
1008
1091
|
name: "Linea",
|
|
@@ -2762,6 +2845,88 @@
|
|
|
2762
2845
|
},
|
|
2763
2846
|
});
|
|
2764
2847
|
|
|
2848
|
+
const xLayer = makeConfig({
|
|
2849
|
+
...chains.xLayer,
|
|
2850
|
+
blockTimeSeconds: 3,
|
|
2851
|
+
sortIndex: 18,
|
|
2852
|
+
logoUrl: "https://assets.oku.trade/xlayer-logo.svg",
|
|
2853
|
+
safeReorgDistance: 90000,
|
|
2854
|
+
externalId: {},
|
|
2855
|
+
markets: {},
|
|
2856
|
+
bridges: {},
|
|
2857
|
+
oracles: {
|
|
2858
|
+
cmc: {
|
|
2859
|
+
slug: "x-layer",
|
|
2860
|
+
native: "okb",
|
|
2861
|
+
},
|
|
2862
|
+
coingecko: {
|
|
2863
|
+
slug: "x-layer",
|
|
2864
|
+
native: "okb",
|
|
2865
|
+
},
|
|
2866
|
+
dexscreener: "x-layer",
|
|
2867
|
+
},
|
|
2868
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
2869
|
+
uniswap: {
|
|
2870
|
+
deployBlock: 4345920,
|
|
2871
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
2872
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2873
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
2874
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
2875
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2876
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2877
|
+
positionsNFTDeployBlock: 4346185,
|
|
2878
|
+
universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
|
|
2879
|
+
},
|
|
2880
|
+
token: {
|
|
2881
|
+
usdcAddress: "0x74b7f16337b8972027f6196a17a631ac6de26d22",
|
|
2882
|
+
wethAddress: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2883
|
+
},
|
|
2884
|
+
oku: {
|
|
2885
|
+
limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
2886
|
+
limitOrderRegistryDeployBlock: 4348466,
|
|
2887
|
+
pricing: {
|
|
2888
|
+
nativeWrappedToken: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2889
|
+
nativeWrappedName: "OKB",
|
|
2890
|
+
},
|
|
2891
|
+
},
|
|
2892
|
+
defaultPool: viem.zeroAddress,
|
|
2893
|
+
defaultToken0: "0x74b7f16337b8972027f6196a17a631ac6de26d22",
|
|
2894
|
+
defaultToken1: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2895
|
+
tokenList: [
|
|
2896
|
+
{ symbol: "WOKB", address: "0xe538905cf8410324e03a5a23c1c177a474d59b2b" },
|
|
2897
|
+
{ symbol: "USDC", address: "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0" },
|
|
2898
|
+
{ symbol: "USDT", address: "0x1e4a5963abfd975d8c9021ce480b42188849d41d" },
|
|
2899
|
+
{ symbol: "DAI", address: "0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4" },
|
|
2900
|
+
{ symbol: "WBTC", address: "0xea034fb02eb1808c2cc3adbc15f447b93cbe08e1" },
|
|
2901
|
+
],
|
|
2902
|
+
stables: [
|
|
2903
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
|
|
2904
|
+
"0x1e4a5963abfd975d8c9021ce480b42188849d41d",
|
|
2905
|
+
"0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4",
|
|
2906
|
+
],
|
|
2907
|
+
watchlist: [],
|
|
2908
|
+
internalName: "xlayer",
|
|
2909
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/okb.png",
|
|
2910
|
+
contracts: {
|
|
2911
|
+
...chains.xLayer.contracts,
|
|
2912
|
+
limitOrder: {
|
|
2913
|
+
address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
2914
|
+
},
|
|
2915
|
+
nftManager: {
|
|
2916
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2917
|
+
},
|
|
2918
|
+
weth9: {
|
|
2919
|
+
address: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2920
|
+
},
|
|
2921
|
+
multicall2: {
|
|
2922
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2923
|
+
},
|
|
2924
|
+
multicall3: {
|
|
2925
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2926
|
+
},
|
|
2927
|
+
},
|
|
2928
|
+
});
|
|
2929
|
+
|
|
2765
2930
|
const polygonZkEvm = makeConfig({
|
|
2766
2931
|
...chains.polygonZkEvm,
|
|
2767
2932
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -2948,7 +3113,7 @@
|
|
|
2948
3113
|
});
|
|
2949
3114
|
|
|
2950
3115
|
const zkSync = makeConfig({
|
|
2951
|
-
...chains.
|
|
3116
|
+
...chains.zksync,
|
|
2952
3117
|
blockTimeSeconds: 2,
|
|
2953
3118
|
sortIndex: 4,
|
|
2954
3119
|
logoUrl: "https://assets.oku.trade/zksync-logo.svg",
|
|
@@ -3041,7 +3206,7 @@
|
|
|
3041
3206
|
internalName: "zksync",
|
|
3042
3207
|
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
3043
3208
|
contracts: {
|
|
3044
|
-
...chains.
|
|
3209
|
+
...chains.zksync.contracts,
|
|
3045
3210
|
limitOrder: {
|
|
3046
3211
|
address: "0x0FD66bD1e0974e2535CB424E6675D60aC52a84Fa",
|
|
3047
3212
|
},
|
|
@@ -3083,6 +3248,8 @@
|
|
|
3083
3248
|
zkLink,
|
|
3084
3249
|
lisk,
|
|
3085
3250
|
bob,
|
|
3251
|
+
gnosis,
|
|
3252
|
+
xLayer,
|
|
3086
3253
|
];
|
|
3087
3254
|
|
|
3088
3255
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -3093,6 +3260,7 @@
|
|
|
3093
3260
|
exports.boba = boba;
|
|
3094
3261
|
exports.bsc = bsc;
|
|
3095
3262
|
exports.filecoin = filecoin;
|
|
3263
|
+
exports.gnosis = gnosis;
|
|
3096
3264
|
exports.linea = linea;
|
|
3097
3265
|
exports.lisk = lisk;
|
|
3098
3266
|
exports.mainnet = mainnet;
|
|
@@ -3106,6 +3274,7 @@
|
|
|
3106
3274
|
exports.scroll = scroll;
|
|
3107
3275
|
exports.sei = sei;
|
|
3108
3276
|
exports.taiko = taiko;
|
|
3277
|
+
exports.xLayer = xLayer;
|
|
3109
3278
|
exports.zkLink = zkLink;
|
|
3110
3279
|
exports.zkSync = zkSync;
|
|
3111
3280
|
|
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, filecoin as filecoin$1, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, sei as sei$1, taiko as taiko$1, polygonZkEvm as polygonZkEvm$1, zkLinkNova,
|
|
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, filecoin as filecoin$1, gnosis as gnosis$1, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, sei as sei$1, taiko as taiko$1, xLayer as xLayer$1, polygonZkEvm as polygonZkEvm$1, zkLinkNova, zksync } from 'viem/chains';
|
|
2
2
|
import { zeroAddress } from 'viem';
|
|
3
3
|
|
|
4
4
|
const makeConfig = (x) => {
|
|
@@ -1000,6 +1000,89 @@ const filecoin = makeConfig({
|
|
|
1000
1000
|
},
|
|
1001
1001
|
});
|
|
1002
1002
|
|
|
1003
|
+
const gnosis = makeConfig({
|
|
1004
|
+
...gnosis$1,
|
|
1005
|
+
blockTimeSeconds: 5,
|
|
1006
|
+
sortIndex: 18,
|
|
1007
|
+
logoUrl: "https://assets.oku.trade/gnosis-logo.svg",
|
|
1008
|
+
safeReorgDistance: 90000,
|
|
1009
|
+
externalId: {
|
|
1010
|
+
zerion: "gnosis",
|
|
1011
|
+
},
|
|
1012
|
+
markets: {},
|
|
1013
|
+
bridges: {},
|
|
1014
|
+
oracles: {
|
|
1015
|
+
cmc: {
|
|
1016
|
+
slug: "gnosis",
|
|
1017
|
+
native: "xdai",
|
|
1018
|
+
},
|
|
1019
|
+
coingecko: {
|
|
1020
|
+
slug: "xdai",
|
|
1021
|
+
native: "xdai",
|
|
1022
|
+
},
|
|
1023
|
+
dexscreener: "gnosischain",
|
|
1024
|
+
},
|
|
1025
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1026
|
+
uniswap: {
|
|
1027
|
+
deployBlock: 27416614,
|
|
1028
|
+
poolFactory: "0xe32F7dD7e3f098D518ff19A22d5f028e076489B1",
|
|
1029
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
1030
|
+
multicall2: "0x4dfa9a980efE4802E969AC33968E3d6E59B8a19e",
|
|
1031
|
+
tickLens: "0x8fe3D346B53dCA838B228e0e53aCdBED5DEC70Dc",
|
|
1032
|
+
nonfungiblePositionManager: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1033
|
+
positionsNFT: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1034
|
+
positionsNFTDeployBlock: 27416645,
|
|
1035
|
+
universalRouter: "0x75FC67473A91335B5b8F8821277262a13B38c9b3",
|
|
1036
|
+
},
|
|
1037
|
+
token: {
|
|
1038
|
+
usdcAddress: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
|
|
1039
|
+
wethAddress: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1040
|
+
},
|
|
1041
|
+
oku: {
|
|
1042
|
+
limitOrderRegistry: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1043
|
+
limitOrderRegistryDeployBlock: 35719277,
|
|
1044
|
+
pricing: {
|
|
1045
|
+
nativeWrappedToken: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1046
|
+
nativeWrappedName: "xDAI",
|
|
1047
|
+
},
|
|
1048
|
+
},
|
|
1049
|
+
defaultPool: zeroAddress,
|
|
1050
|
+
defaultToken0: "0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
|
|
1051
|
+
defaultToken1: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1052
|
+
tokenList: [
|
|
1053
|
+
{ symbol: "WXDAI", address: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d" },
|
|
1054
|
+
{ symbol: "USDC.e", address: "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0" },
|
|
1055
|
+
{ symbol: "USDC", address: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4" },
|
|
1056
|
+
{ symbol: "USDT", address: "0x4ecaba5870353805a9f068101a40e0f32ed605c6" },
|
|
1057
|
+
],
|
|
1058
|
+
stables: [
|
|
1059
|
+
"0x4ecaba5870353805a9f068101a40e0f32ed605c6",
|
|
1060
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
|
|
1061
|
+
"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
|
|
1062
|
+
],
|
|
1063
|
+
watchlist: [],
|
|
1064
|
+
internalName: "gnosis",
|
|
1065
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/xdai.png",
|
|
1066
|
+
contracts: {
|
|
1067
|
+
...gnosis$1.contracts,
|
|
1068
|
+
limitOrder: {
|
|
1069
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1070
|
+
},
|
|
1071
|
+
nftManager: {
|
|
1072
|
+
address: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1073
|
+
},
|
|
1074
|
+
weth9: {
|
|
1075
|
+
address: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1076
|
+
},
|
|
1077
|
+
multicall2: {
|
|
1078
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1079
|
+
},
|
|
1080
|
+
multicall3: {
|
|
1081
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1082
|
+
},
|
|
1083
|
+
},
|
|
1084
|
+
});
|
|
1085
|
+
|
|
1003
1086
|
const linea = makeConfig({
|
|
1004
1087
|
...linea$1,
|
|
1005
1088
|
name: "Linea",
|
|
@@ -2759,6 +2842,88 @@ const taiko = makeConfig({
|
|
|
2759
2842
|
},
|
|
2760
2843
|
});
|
|
2761
2844
|
|
|
2845
|
+
const xLayer = makeConfig({
|
|
2846
|
+
...xLayer$1,
|
|
2847
|
+
blockTimeSeconds: 3,
|
|
2848
|
+
sortIndex: 18,
|
|
2849
|
+
logoUrl: "https://assets.oku.trade/xlayer-logo.svg",
|
|
2850
|
+
safeReorgDistance: 90000,
|
|
2851
|
+
externalId: {},
|
|
2852
|
+
markets: {},
|
|
2853
|
+
bridges: {},
|
|
2854
|
+
oracles: {
|
|
2855
|
+
cmc: {
|
|
2856
|
+
slug: "x-layer",
|
|
2857
|
+
native: "okb",
|
|
2858
|
+
},
|
|
2859
|
+
coingecko: {
|
|
2860
|
+
slug: "x-layer",
|
|
2861
|
+
native: "okb",
|
|
2862
|
+
},
|
|
2863
|
+
dexscreener: "x-layer",
|
|
2864
|
+
},
|
|
2865
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
2866
|
+
uniswap: {
|
|
2867
|
+
deployBlock: 4345920,
|
|
2868
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
2869
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2870
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
2871
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
2872
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2873
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2874
|
+
positionsNFTDeployBlock: 4346185,
|
|
2875
|
+
universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
|
|
2876
|
+
},
|
|
2877
|
+
token: {
|
|
2878
|
+
usdcAddress: "0x74b7f16337b8972027f6196a17a631ac6de26d22",
|
|
2879
|
+
wethAddress: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2880
|
+
},
|
|
2881
|
+
oku: {
|
|
2882
|
+
limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
2883
|
+
limitOrderRegistryDeployBlock: 4348466,
|
|
2884
|
+
pricing: {
|
|
2885
|
+
nativeWrappedToken: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2886
|
+
nativeWrappedName: "OKB",
|
|
2887
|
+
},
|
|
2888
|
+
},
|
|
2889
|
+
defaultPool: zeroAddress,
|
|
2890
|
+
defaultToken0: "0x74b7f16337b8972027f6196a17a631ac6de26d22",
|
|
2891
|
+
defaultToken1: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2892
|
+
tokenList: [
|
|
2893
|
+
{ symbol: "WOKB", address: "0xe538905cf8410324e03a5a23c1c177a474d59b2b" },
|
|
2894
|
+
{ symbol: "USDC", address: "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0" },
|
|
2895
|
+
{ symbol: "USDT", address: "0x1e4a5963abfd975d8c9021ce480b42188849d41d" },
|
|
2896
|
+
{ symbol: "DAI", address: "0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4" },
|
|
2897
|
+
{ symbol: "WBTC", address: "0xea034fb02eb1808c2cc3adbc15f447b93cbe08e1" },
|
|
2898
|
+
],
|
|
2899
|
+
stables: [
|
|
2900
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
|
|
2901
|
+
"0x1e4a5963abfd975d8c9021ce480b42188849d41d",
|
|
2902
|
+
"0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4",
|
|
2903
|
+
],
|
|
2904
|
+
watchlist: [],
|
|
2905
|
+
internalName: "xlayer",
|
|
2906
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/okb.png",
|
|
2907
|
+
contracts: {
|
|
2908
|
+
...xLayer$1.contracts,
|
|
2909
|
+
limitOrder: {
|
|
2910
|
+
address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
2911
|
+
},
|
|
2912
|
+
nftManager: {
|
|
2913
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2914
|
+
},
|
|
2915
|
+
weth9: {
|
|
2916
|
+
address: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2917
|
+
},
|
|
2918
|
+
multicall2: {
|
|
2919
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2920
|
+
},
|
|
2921
|
+
multicall3: {
|
|
2922
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2923
|
+
},
|
|
2924
|
+
},
|
|
2925
|
+
});
|
|
2926
|
+
|
|
2762
2927
|
const polygonZkEvm = makeConfig({
|
|
2763
2928
|
...polygonZkEvm$1,
|
|
2764
2929
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -2945,7 +3110,7 @@ const zkLink = makeConfig({
|
|
|
2945
3110
|
});
|
|
2946
3111
|
|
|
2947
3112
|
const zkSync = makeConfig({
|
|
2948
|
-
...
|
|
3113
|
+
...zksync,
|
|
2949
3114
|
blockTimeSeconds: 2,
|
|
2950
3115
|
sortIndex: 4,
|
|
2951
3116
|
logoUrl: "https://assets.oku.trade/zksync-logo.svg",
|
|
@@ -3038,7 +3203,7 @@ const zkSync = makeConfig({
|
|
|
3038
3203
|
internalName: "zksync",
|
|
3039
3204
|
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
3040
3205
|
contracts: {
|
|
3041
|
-
...
|
|
3206
|
+
...zksync.contracts,
|
|
3042
3207
|
limitOrder: {
|
|
3043
3208
|
address: "0x0FD66bD1e0974e2535CB424E6675D60aC52a84Fa",
|
|
3044
3209
|
},
|
|
@@ -3080,6 +3245,8 @@ const MAINNET_CHAINS = [
|
|
|
3080
3245
|
zkLink,
|
|
3081
3246
|
lisk,
|
|
3082
3247
|
bob,
|
|
3248
|
+
gnosis,
|
|
3249
|
+
xLayer,
|
|
3083
3250
|
];
|
|
3084
3251
|
|
|
3085
|
-
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, filecoin, linea, lisk, mainnet, manta, mantle, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, sei, taiko, zkLink, zkSync };
|
|
3252
|
+
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, sei, taiko, xLayer, zkLink, zkSync };
|
package/dist/index.js
CHANGED
|
@@ -1002,6 +1002,89 @@ const filecoin = makeConfig({
|
|
|
1002
1002
|
},
|
|
1003
1003
|
});
|
|
1004
1004
|
|
|
1005
|
+
const gnosis = makeConfig({
|
|
1006
|
+
...chains.gnosis,
|
|
1007
|
+
blockTimeSeconds: 5,
|
|
1008
|
+
sortIndex: 18,
|
|
1009
|
+
logoUrl: "https://assets.oku.trade/gnosis-logo.svg",
|
|
1010
|
+
safeReorgDistance: 90000,
|
|
1011
|
+
externalId: {
|
|
1012
|
+
zerion: "gnosis",
|
|
1013
|
+
},
|
|
1014
|
+
markets: {},
|
|
1015
|
+
bridges: {},
|
|
1016
|
+
oracles: {
|
|
1017
|
+
cmc: {
|
|
1018
|
+
slug: "gnosis",
|
|
1019
|
+
native: "xdai",
|
|
1020
|
+
},
|
|
1021
|
+
coingecko: {
|
|
1022
|
+
slug: "xdai",
|
|
1023
|
+
native: "xdai",
|
|
1024
|
+
},
|
|
1025
|
+
dexscreener: "gnosischain",
|
|
1026
|
+
},
|
|
1027
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1028
|
+
uniswap: {
|
|
1029
|
+
deployBlock: 27416614,
|
|
1030
|
+
poolFactory: "0xe32F7dD7e3f098D518ff19A22d5f028e076489B1",
|
|
1031
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
1032
|
+
multicall2: "0x4dfa9a980efE4802E969AC33968E3d6E59B8a19e",
|
|
1033
|
+
tickLens: "0x8fe3D346B53dCA838B228e0e53aCdBED5DEC70Dc",
|
|
1034
|
+
nonfungiblePositionManager: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1035
|
+
positionsNFT: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1036
|
+
positionsNFTDeployBlock: 27416645,
|
|
1037
|
+
universalRouter: "0x75FC67473A91335B5b8F8821277262a13B38c9b3",
|
|
1038
|
+
},
|
|
1039
|
+
token: {
|
|
1040
|
+
usdcAddress: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
|
|
1041
|
+
wethAddress: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1042
|
+
},
|
|
1043
|
+
oku: {
|
|
1044
|
+
limitOrderRegistry: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1045
|
+
limitOrderRegistryDeployBlock: 35719277,
|
|
1046
|
+
pricing: {
|
|
1047
|
+
nativeWrappedToken: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1048
|
+
nativeWrappedName: "xDAI",
|
|
1049
|
+
},
|
|
1050
|
+
},
|
|
1051
|
+
defaultPool: viem.zeroAddress,
|
|
1052
|
+
defaultToken0: "0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
|
|
1053
|
+
defaultToken1: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1054
|
+
tokenList: [
|
|
1055
|
+
{ symbol: "WXDAI", address: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d" },
|
|
1056
|
+
{ symbol: "USDC.e", address: "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0" },
|
|
1057
|
+
{ symbol: "USDC", address: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4" },
|
|
1058
|
+
{ symbol: "USDT", address: "0x4ecaba5870353805a9f068101a40e0f32ed605c6" },
|
|
1059
|
+
],
|
|
1060
|
+
stables: [
|
|
1061
|
+
"0x4ecaba5870353805a9f068101a40e0f32ed605c6",
|
|
1062
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
|
|
1063
|
+
"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
|
|
1064
|
+
],
|
|
1065
|
+
watchlist: [],
|
|
1066
|
+
internalName: "gnosis",
|
|
1067
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/xdai.png",
|
|
1068
|
+
contracts: {
|
|
1069
|
+
...chains.gnosis.contracts,
|
|
1070
|
+
limitOrder: {
|
|
1071
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1072
|
+
},
|
|
1073
|
+
nftManager: {
|
|
1074
|
+
address: "0xAE8fbE656a77519a7490054274910129c9244FA3",
|
|
1075
|
+
},
|
|
1076
|
+
weth9: {
|
|
1077
|
+
address: "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
|
|
1078
|
+
},
|
|
1079
|
+
multicall2: {
|
|
1080
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1081
|
+
},
|
|
1082
|
+
multicall3: {
|
|
1083
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1084
|
+
},
|
|
1085
|
+
},
|
|
1086
|
+
});
|
|
1087
|
+
|
|
1005
1088
|
const linea = makeConfig({
|
|
1006
1089
|
...chains.linea,
|
|
1007
1090
|
name: "Linea",
|
|
@@ -2761,6 +2844,88 @@ const taiko = makeConfig({
|
|
|
2761
2844
|
},
|
|
2762
2845
|
});
|
|
2763
2846
|
|
|
2847
|
+
const xLayer = makeConfig({
|
|
2848
|
+
...chains.xLayer,
|
|
2849
|
+
blockTimeSeconds: 3,
|
|
2850
|
+
sortIndex: 18,
|
|
2851
|
+
logoUrl: "https://assets.oku.trade/xlayer-logo.svg",
|
|
2852
|
+
safeReorgDistance: 90000,
|
|
2853
|
+
externalId: {},
|
|
2854
|
+
markets: {},
|
|
2855
|
+
bridges: {},
|
|
2856
|
+
oracles: {
|
|
2857
|
+
cmc: {
|
|
2858
|
+
slug: "x-layer",
|
|
2859
|
+
native: "okb",
|
|
2860
|
+
},
|
|
2861
|
+
coingecko: {
|
|
2862
|
+
slug: "x-layer",
|
|
2863
|
+
native: "okb",
|
|
2864
|
+
},
|
|
2865
|
+
dexscreener: "x-layer",
|
|
2866
|
+
},
|
|
2867
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
2868
|
+
uniswap: {
|
|
2869
|
+
deployBlock: 4345920,
|
|
2870
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
2871
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2872
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
2873
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
2874
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2875
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2876
|
+
positionsNFTDeployBlock: 4346185,
|
|
2877
|
+
universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
|
|
2878
|
+
},
|
|
2879
|
+
token: {
|
|
2880
|
+
usdcAddress: "0x74b7f16337b8972027f6196a17a631ac6de26d22",
|
|
2881
|
+
wethAddress: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2882
|
+
},
|
|
2883
|
+
oku: {
|
|
2884
|
+
limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
2885
|
+
limitOrderRegistryDeployBlock: 4348466,
|
|
2886
|
+
pricing: {
|
|
2887
|
+
nativeWrappedToken: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2888
|
+
nativeWrappedName: "OKB",
|
|
2889
|
+
},
|
|
2890
|
+
},
|
|
2891
|
+
defaultPool: viem.zeroAddress,
|
|
2892
|
+
defaultToken0: "0x74b7f16337b8972027f6196a17a631ac6de26d22",
|
|
2893
|
+
defaultToken1: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2894
|
+
tokenList: [
|
|
2895
|
+
{ symbol: "WOKB", address: "0xe538905cf8410324e03a5a23c1c177a474d59b2b" },
|
|
2896
|
+
{ symbol: "USDC", address: "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0" },
|
|
2897
|
+
{ symbol: "USDT", address: "0x1e4a5963abfd975d8c9021ce480b42188849d41d" },
|
|
2898
|
+
{ symbol: "DAI", address: "0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4" },
|
|
2899
|
+
{ symbol: "WBTC", address: "0xea034fb02eb1808c2cc3adbc15f447b93cbe08e1" },
|
|
2900
|
+
],
|
|
2901
|
+
stables: [
|
|
2902
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
|
|
2903
|
+
"0x1e4a5963abfd975d8c9021ce480b42188849d41d",
|
|
2904
|
+
"0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4",
|
|
2905
|
+
],
|
|
2906
|
+
watchlist: [],
|
|
2907
|
+
internalName: "xlayer",
|
|
2908
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/okb.png",
|
|
2909
|
+
contracts: {
|
|
2910
|
+
...chains.xLayer.contracts,
|
|
2911
|
+
limitOrder: {
|
|
2912
|
+
address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
2913
|
+
},
|
|
2914
|
+
nftManager: {
|
|
2915
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
2916
|
+
},
|
|
2917
|
+
weth9: {
|
|
2918
|
+
address: "0xe538905cf8410324e03a5a23c1c177a474d59b2b",
|
|
2919
|
+
},
|
|
2920
|
+
multicall2: {
|
|
2921
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2922
|
+
},
|
|
2923
|
+
multicall3: {
|
|
2924
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
2925
|
+
},
|
|
2926
|
+
},
|
|
2927
|
+
});
|
|
2928
|
+
|
|
2764
2929
|
const polygonZkEvm = makeConfig({
|
|
2765
2930
|
...chains.polygonZkEvm,
|
|
2766
2931
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -2947,7 +3112,7 @@ const zkLink = makeConfig({
|
|
|
2947
3112
|
});
|
|
2948
3113
|
|
|
2949
3114
|
const zkSync = makeConfig({
|
|
2950
|
-
...chains.
|
|
3115
|
+
...chains.zksync,
|
|
2951
3116
|
blockTimeSeconds: 2,
|
|
2952
3117
|
sortIndex: 4,
|
|
2953
3118
|
logoUrl: "https://assets.oku.trade/zksync-logo.svg",
|
|
@@ -3040,7 +3205,7 @@ const zkSync = makeConfig({
|
|
|
3040
3205
|
internalName: "zksync",
|
|
3041
3206
|
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
3042
3207
|
contracts: {
|
|
3043
|
-
...chains.
|
|
3208
|
+
...chains.zksync.contracts,
|
|
3044
3209
|
limitOrder: {
|
|
3045
3210
|
address: "0x0FD66bD1e0974e2535CB424E6675D60aC52a84Fa",
|
|
3046
3211
|
},
|
|
@@ -3082,6 +3247,8 @@ const MAINNET_CHAINS = [
|
|
|
3082
3247
|
zkLink,
|
|
3083
3248
|
lisk,
|
|
3084
3249
|
bob,
|
|
3250
|
+
gnosis,
|
|
3251
|
+
xLayer,
|
|
3085
3252
|
];
|
|
3086
3253
|
|
|
3087
3254
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -3092,6 +3259,7 @@ exports.bob = bob;
|
|
|
3092
3259
|
exports.boba = boba;
|
|
3093
3260
|
exports.bsc = bsc;
|
|
3094
3261
|
exports.filecoin = filecoin;
|
|
3262
|
+
exports.gnosis = gnosis;
|
|
3095
3263
|
exports.linea = linea;
|
|
3096
3264
|
exports.lisk = lisk;
|
|
3097
3265
|
exports.mainnet = mainnet;
|
|
@@ -3105,5 +3273,6 @@ exports.rootstock = rootstock;
|
|
|
3105
3273
|
exports.scroll = scroll;
|
|
3106
3274
|
exports.sei = sei;
|
|
3107
3275
|
exports.taiko = taiko;
|
|
3276
|
+
exports.xLayer = xLayer;
|
|
3108
3277
|
exports.zkLink = zkLink;
|
|
3109
3278
|
exports.zkSync = zkSync;
|