@gfxlabs/oku-chains 1.1.201 → 1.1.203
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 +99 -15
- package/dist/index-mjs.js +97 -13
- package/dist/index.js +96 -11
- package/dist/types/browser.d.ts +1924 -1162
- package/dist/types/index-mjs.d.ts +1924 -1162
- package/dist/types/index.d.ts +1924 -1162
- package/package.json +2 -2
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.viem_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.viem_chains, global.viem));
|
|
5
|
+
})(this, (function (exports, chains, viem) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const makeConfig = (x) => {
|
|
8
8
|
return x;
|
|
@@ -1108,11 +1108,16 @@
|
|
|
1108
1108
|
atlasNetworkName: "corn-mainnet",
|
|
1109
1109
|
routerAddress: "0x183f6069A0D5c2DEC1Dd1eCF3B1581e12dEb4Efe",
|
|
1110
1110
|
chainSelector: 9043146809313071210n,
|
|
1111
|
-
tokenAdminRegistry: "0xCd51e57cD26b9B5eecbfe3d96DAabF3d12A663DA"
|
|
1111
|
+
tokenAdminRegistry: "0xCd51e57cD26b9B5eecbfe3d96DAabF3d12A663DA",
|
|
1112
1112
|
},
|
|
1113
1113
|
},
|
|
1114
1114
|
oracles: {},
|
|
1115
|
-
morpho: {
|
|
1115
|
+
morpho: {
|
|
1116
|
+
deployBlock: 251401,
|
|
1117
|
+
morpho: "0xc2B1E031540e3F3271C5F3819F0cC7479a8DdD90",
|
|
1118
|
+
mmFactory11: "0xe430821595602eA5DD0cD350f86987437c7362fA",
|
|
1119
|
+
bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7",
|
|
1120
|
+
},
|
|
1116
1121
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1117
1122
|
uniswap: {
|
|
1118
1123
|
deployBlock: 10878,
|
|
@@ -4077,7 +4082,7 @@
|
|
|
4077
4082
|
const telos = makeConfig({
|
|
4078
4083
|
...chains.telos,
|
|
4079
4084
|
blockTimeSeconds: 0.5,
|
|
4080
|
-
launchTime:
|
|
4085
|
+
launchTime: 1743089303,
|
|
4081
4086
|
sortIndex: 13,
|
|
4082
4087
|
logoUrl: "https://assets.oku.trade/chains/telos-logo.svg",
|
|
4083
4088
|
safeReorgDistance: 90000,
|
|
@@ -4094,20 +4099,22 @@
|
|
|
4094
4099
|
name: "ETH",
|
|
4095
4100
|
type: "OFT",
|
|
4096
4101
|
id: 13,
|
|
4097
|
-
address: "0xA272fFe20cFfe769CdFc4b63088DCD2C82a2D8F9"
|
|
4098
|
-
},
|
|
4102
|
+
address: "0xA272fFe20cFfe769CdFc4b63088DCD2C82a2D8F9",
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4099
4105
|
name: "USDC",
|
|
4100
4106
|
type: "OFT",
|
|
4101
4107
|
id: 1,
|
|
4102
|
-
address: "0x2086f755A6d9254045C257ea3d382ef854849B0f"
|
|
4103
|
-
},
|
|
4108
|
+
address: "0x2086f755A6d9254045C257ea3d382ef854849B0f",
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4104
4111
|
name: "USDT",
|
|
4105
4112
|
type: "OFT",
|
|
4106
4113
|
id: 2,
|
|
4107
|
-
address: "0x3a1293Bdb83bBbDd5Ebf4fAc96605aD2021BbC0f"
|
|
4108
|
-
}
|
|
4109
|
-
]
|
|
4110
|
-
}
|
|
4114
|
+
address: "0x3a1293Bdb83bBbDd5Ebf4fAc96605aD2021BbC0f",
|
|
4115
|
+
},
|
|
4116
|
+
],
|
|
4117
|
+
},
|
|
4111
4118
|
},
|
|
4112
4119
|
morpho: {},
|
|
4113
4120
|
oracles: {},
|
|
@@ -4183,6 +4190,81 @@
|
|
|
4183
4190
|
},
|
|
4184
4191
|
});
|
|
4185
4192
|
|
|
4193
|
+
const worldchain = makeConfig({
|
|
4194
|
+
...chains.worldchain,
|
|
4195
|
+
blockTimeSeconds: 2,
|
|
4196
|
+
launchTime: 0,
|
|
4197
|
+
sortIndex: 15,
|
|
4198
|
+
logoUrl: "https://assets.oku.trade/chains/world-logo.png",
|
|
4199
|
+
safeReorgDistance: 90000,
|
|
4200
|
+
externalId: {},
|
|
4201
|
+
markets: {},
|
|
4202
|
+
bridges: {},
|
|
4203
|
+
oracles: {},
|
|
4204
|
+
morpho: {
|
|
4205
|
+
deployBlock: 9025669,
|
|
4206
|
+
morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432",
|
|
4207
|
+
mmFactory11: "0xae5b0884bfff430493D6C844B9fd052Af7d79278",
|
|
4208
|
+
bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448",
|
|
4209
|
+
},
|
|
4210
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
4211
|
+
uniswap: {
|
|
4212
|
+
deployBlock: 0,
|
|
4213
|
+
poolFactory: viem.zeroAddress,
|
|
4214
|
+
permit2: viem.zeroAddress,
|
|
4215
|
+
multicall2: viem.zeroAddress,
|
|
4216
|
+
tickLens: viem.zeroAddress,
|
|
4217
|
+
nonfungiblePositionManager: viem.zeroAddress,
|
|
4218
|
+
positionsNFT: viem.zeroAddress,
|
|
4219
|
+
positionsNFTDeployBlock: 0,
|
|
4220
|
+
universalRouter: viem.zeroAddress,
|
|
4221
|
+
wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
|
|
4222
|
+
wrappedNativeSymbol: "WETH",
|
|
4223
|
+
wrappedNativeName: "Wrapped Ether",
|
|
4224
|
+
wrappedNativeDecimals: 18,
|
|
4225
|
+
nativeCurrencyName: "ETH",
|
|
4226
|
+
},
|
|
4227
|
+
token: {
|
|
4228
|
+
wethAddress: "0x4200000000000000000000000000000000000006",
|
|
4229
|
+
},
|
|
4230
|
+
oku: {
|
|
4231
|
+
limitOrderRegistry: viem.zeroAddress,
|
|
4232
|
+
limitOrderRegistryDeployBlock: 0,
|
|
4233
|
+
pricing: {
|
|
4234
|
+
nativeWrappedToken: "0x4200000000000000000000000000000000000006",
|
|
4235
|
+
nativeWrappedName: "ETH",
|
|
4236
|
+
},
|
|
4237
|
+
},
|
|
4238
|
+
defaultPool: viem.zeroAddress,
|
|
4239
|
+
defaultToken0: viem.zeroAddress,
|
|
4240
|
+
defaultToken1: viem.zeroAddress,
|
|
4241
|
+
tokenList: [
|
|
4242
|
+
{ symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
|
|
4243
|
+
],
|
|
4244
|
+
stables: ["0x79a02482a880bce3f13e09da970dc34db4cd24d1"],
|
|
4245
|
+
watchlist: [],
|
|
4246
|
+
internalName: "worldchain",
|
|
4247
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
4248
|
+
contracts: {
|
|
4249
|
+
...chains.worldchain.contracts,
|
|
4250
|
+
limitOrder: {
|
|
4251
|
+
address: viem.zeroAddress,
|
|
4252
|
+
},
|
|
4253
|
+
nftManager: {
|
|
4254
|
+
address: viem.zeroAddress,
|
|
4255
|
+
},
|
|
4256
|
+
weth9: {
|
|
4257
|
+
address: "0x4200000000000000000000000000000000000006",
|
|
4258
|
+
},
|
|
4259
|
+
multicall2: {
|
|
4260
|
+
address: viem.zeroAddress,
|
|
4261
|
+
},
|
|
4262
|
+
multicall3: {
|
|
4263
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
4264
|
+
},
|
|
4265
|
+
},
|
|
4266
|
+
});
|
|
4267
|
+
|
|
4186
4268
|
const xLayer = makeConfig({
|
|
4187
4269
|
...chains.xLayer,
|
|
4188
4270
|
blockTimeSeconds: 3,
|
|
@@ -4552,6 +4634,7 @@
|
|
|
4552
4634
|
goat,
|
|
4553
4635
|
redbelly,
|
|
4554
4636
|
lightlink,
|
|
4637
|
+
worldchain,
|
|
4555
4638
|
];
|
|
4556
4639
|
|
|
4557
4640
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -4586,6 +4669,7 @@
|
|
|
4586
4669
|
exports.sonic = sonic;
|
|
4587
4670
|
exports.taiko = taiko;
|
|
4588
4671
|
exports.telos = telos;
|
|
4672
|
+
exports.worldchain = worldchain;
|
|
4589
4673
|
exports.xLayer = xLayer;
|
|
4590
4674
|
exports.zkSync = zkSync;
|
|
4591
4675
|
|
package/dist/index-mjs.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
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, 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, 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, xLayer as xLayer$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, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$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, 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, worldchain as worldchain$1, xLayer as xLayer$1, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
|
|
2
|
+
import { zeroAddress } from 'viem';
|
|
2
3
|
|
|
3
4
|
const makeConfig = (x) => {
|
|
4
5
|
return x;
|
|
@@ -1104,11 +1105,16 @@ const corn = makeConfig({
|
|
|
1104
1105
|
atlasNetworkName: "corn-mainnet",
|
|
1105
1106
|
routerAddress: "0x183f6069A0D5c2DEC1Dd1eCF3B1581e12dEb4Efe",
|
|
1106
1107
|
chainSelector: 9043146809313071210n,
|
|
1107
|
-
tokenAdminRegistry: "0xCd51e57cD26b9B5eecbfe3d96DAabF3d12A663DA"
|
|
1108
|
+
tokenAdminRegistry: "0xCd51e57cD26b9B5eecbfe3d96DAabF3d12A663DA",
|
|
1108
1109
|
},
|
|
1109
1110
|
},
|
|
1110
1111
|
oracles: {},
|
|
1111
|
-
morpho: {
|
|
1112
|
+
morpho: {
|
|
1113
|
+
deployBlock: 251401,
|
|
1114
|
+
morpho: "0xc2B1E031540e3F3271C5F3819F0cC7479a8DdD90",
|
|
1115
|
+
mmFactory11: "0xe430821595602eA5DD0cD350f86987437c7362fA",
|
|
1116
|
+
bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7",
|
|
1117
|
+
},
|
|
1112
1118
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1113
1119
|
uniswap: {
|
|
1114
1120
|
deployBlock: 10878,
|
|
@@ -4073,7 +4079,7 @@ const taiko = makeConfig({
|
|
|
4073
4079
|
const telos = makeConfig({
|
|
4074
4080
|
...telos$1,
|
|
4075
4081
|
blockTimeSeconds: 0.5,
|
|
4076
|
-
launchTime:
|
|
4082
|
+
launchTime: 1743089303,
|
|
4077
4083
|
sortIndex: 13,
|
|
4078
4084
|
logoUrl: "https://assets.oku.trade/chains/telos-logo.svg",
|
|
4079
4085
|
safeReorgDistance: 90000,
|
|
@@ -4090,20 +4096,22 @@ const telos = makeConfig({
|
|
|
4090
4096
|
name: "ETH",
|
|
4091
4097
|
type: "OFT",
|
|
4092
4098
|
id: 13,
|
|
4093
|
-
address: "0xA272fFe20cFfe769CdFc4b63088DCD2C82a2D8F9"
|
|
4094
|
-
},
|
|
4099
|
+
address: "0xA272fFe20cFfe769CdFc4b63088DCD2C82a2D8F9",
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4095
4102
|
name: "USDC",
|
|
4096
4103
|
type: "OFT",
|
|
4097
4104
|
id: 1,
|
|
4098
|
-
address: "0x2086f755A6d9254045C257ea3d382ef854849B0f"
|
|
4099
|
-
},
|
|
4105
|
+
address: "0x2086f755A6d9254045C257ea3d382ef854849B0f",
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4100
4108
|
name: "USDT",
|
|
4101
4109
|
type: "OFT",
|
|
4102
4110
|
id: 2,
|
|
4103
|
-
address: "0x3a1293Bdb83bBbDd5Ebf4fAc96605aD2021BbC0f"
|
|
4104
|
-
}
|
|
4105
|
-
]
|
|
4106
|
-
}
|
|
4111
|
+
address: "0x3a1293Bdb83bBbDd5Ebf4fAc96605aD2021BbC0f",
|
|
4112
|
+
},
|
|
4113
|
+
],
|
|
4114
|
+
},
|
|
4107
4115
|
},
|
|
4108
4116
|
morpho: {},
|
|
4109
4117
|
oracles: {},
|
|
@@ -4179,6 +4187,81 @@ const telos = makeConfig({
|
|
|
4179
4187
|
},
|
|
4180
4188
|
});
|
|
4181
4189
|
|
|
4190
|
+
const worldchain = makeConfig({
|
|
4191
|
+
...worldchain$1,
|
|
4192
|
+
blockTimeSeconds: 2,
|
|
4193
|
+
launchTime: 0,
|
|
4194
|
+
sortIndex: 15,
|
|
4195
|
+
logoUrl: "https://assets.oku.trade/chains/world-logo.png",
|
|
4196
|
+
safeReorgDistance: 90000,
|
|
4197
|
+
externalId: {},
|
|
4198
|
+
markets: {},
|
|
4199
|
+
bridges: {},
|
|
4200
|
+
oracles: {},
|
|
4201
|
+
morpho: {
|
|
4202
|
+
deployBlock: 9025669,
|
|
4203
|
+
morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432",
|
|
4204
|
+
mmFactory11: "0xae5b0884bfff430493D6C844B9fd052Af7d79278",
|
|
4205
|
+
bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448",
|
|
4206
|
+
},
|
|
4207
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
4208
|
+
uniswap: {
|
|
4209
|
+
deployBlock: 0,
|
|
4210
|
+
poolFactory: zeroAddress,
|
|
4211
|
+
permit2: zeroAddress,
|
|
4212
|
+
multicall2: zeroAddress,
|
|
4213
|
+
tickLens: zeroAddress,
|
|
4214
|
+
nonfungiblePositionManager: zeroAddress,
|
|
4215
|
+
positionsNFT: zeroAddress,
|
|
4216
|
+
positionsNFTDeployBlock: 0,
|
|
4217
|
+
universalRouter: zeroAddress,
|
|
4218
|
+
wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
|
|
4219
|
+
wrappedNativeSymbol: "WETH",
|
|
4220
|
+
wrappedNativeName: "Wrapped Ether",
|
|
4221
|
+
wrappedNativeDecimals: 18,
|
|
4222
|
+
nativeCurrencyName: "ETH",
|
|
4223
|
+
},
|
|
4224
|
+
token: {
|
|
4225
|
+
wethAddress: "0x4200000000000000000000000000000000000006",
|
|
4226
|
+
},
|
|
4227
|
+
oku: {
|
|
4228
|
+
limitOrderRegistry: zeroAddress,
|
|
4229
|
+
limitOrderRegistryDeployBlock: 0,
|
|
4230
|
+
pricing: {
|
|
4231
|
+
nativeWrappedToken: "0x4200000000000000000000000000000000000006",
|
|
4232
|
+
nativeWrappedName: "ETH",
|
|
4233
|
+
},
|
|
4234
|
+
},
|
|
4235
|
+
defaultPool: zeroAddress,
|
|
4236
|
+
defaultToken0: zeroAddress,
|
|
4237
|
+
defaultToken1: zeroAddress,
|
|
4238
|
+
tokenList: [
|
|
4239
|
+
{ symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
|
|
4240
|
+
],
|
|
4241
|
+
stables: ["0x79a02482a880bce3f13e09da970dc34db4cd24d1"],
|
|
4242
|
+
watchlist: [],
|
|
4243
|
+
internalName: "worldchain",
|
|
4244
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
4245
|
+
contracts: {
|
|
4246
|
+
...worldchain$1.contracts,
|
|
4247
|
+
limitOrder: {
|
|
4248
|
+
address: zeroAddress,
|
|
4249
|
+
},
|
|
4250
|
+
nftManager: {
|
|
4251
|
+
address: zeroAddress,
|
|
4252
|
+
},
|
|
4253
|
+
weth9: {
|
|
4254
|
+
address: "0x4200000000000000000000000000000000000006",
|
|
4255
|
+
},
|
|
4256
|
+
multicall2: {
|
|
4257
|
+
address: zeroAddress,
|
|
4258
|
+
},
|
|
4259
|
+
multicall3: {
|
|
4260
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
4261
|
+
},
|
|
4262
|
+
},
|
|
4263
|
+
});
|
|
4264
|
+
|
|
4182
4265
|
const xLayer = makeConfig({
|
|
4183
4266
|
...xLayer$1,
|
|
4184
4267
|
blockTimeSeconds: 3,
|
|
@@ -4548,6 +4631,7 @@ const MAINNET_CHAINS = [
|
|
|
4548
4631
|
goat,
|
|
4549
4632
|
redbelly,
|
|
4550
4633
|
lightlink,
|
|
4634
|
+
worldchain,
|
|
4551
4635
|
];
|
|
4552
4636
|
|
|
4553
|
-
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, filecoin, gnosis, goat, hemi, lightlink, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, xLayer, zkSync };
|
|
4637
|
+
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, filecoin, gnosis, goat, hemi, lightlink, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, worldchain, xLayer, 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 makeConfig = (x) => {
|
|
6
7
|
return x;
|
|
@@ -1106,11 +1107,16 @@ const corn = makeConfig({
|
|
|
1106
1107
|
atlasNetworkName: "corn-mainnet",
|
|
1107
1108
|
routerAddress: "0x183f6069A0D5c2DEC1Dd1eCF3B1581e12dEb4Efe",
|
|
1108
1109
|
chainSelector: 9043146809313071210n,
|
|
1109
|
-
tokenAdminRegistry: "0xCd51e57cD26b9B5eecbfe3d96DAabF3d12A663DA"
|
|
1110
|
+
tokenAdminRegistry: "0xCd51e57cD26b9B5eecbfe3d96DAabF3d12A663DA",
|
|
1110
1111
|
},
|
|
1111
1112
|
},
|
|
1112
1113
|
oracles: {},
|
|
1113
|
-
morpho: {
|
|
1114
|
+
morpho: {
|
|
1115
|
+
deployBlock: 251401,
|
|
1116
|
+
morpho: "0xc2B1E031540e3F3271C5F3819F0cC7479a8DdD90",
|
|
1117
|
+
mmFactory11: "0xe430821595602eA5DD0cD350f86987437c7362fA",
|
|
1118
|
+
bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7",
|
|
1119
|
+
},
|
|
1114
1120
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
1115
1121
|
uniswap: {
|
|
1116
1122
|
deployBlock: 10878,
|
|
@@ -4075,7 +4081,7 @@ const taiko = makeConfig({
|
|
|
4075
4081
|
const telos = makeConfig({
|
|
4076
4082
|
...chains.telos,
|
|
4077
4083
|
blockTimeSeconds: 0.5,
|
|
4078
|
-
launchTime:
|
|
4084
|
+
launchTime: 1743089303,
|
|
4079
4085
|
sortIndex: 13,
|
|
4080
4086
|
logoUrl: "https://assets.oku.trade/chains/telos-logo.svg",
|
|
4081
4087
|
safeReorgDistance: 90000,
|
|
@@ -4092,20 +4098,22 @@ const telos = makeConfig({
|
|
|
4092
4098
|
name: "ETH",
|
|
4093
4099
|
type: "OFT",
|
|
4094
4100
|
id: 13,
|
|
4095
|
-
address: "0xA272fFe20cFfe769CdFc4b63088DCD2C82a2D8F9"
|
|
4096
|
-
},
|
|
4101
|
+
address: "0xA272fFe20cFfe769CdFc4b63088DCD2C82a2D8F9",
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4097
4104
|
name: "USDC",
|
|
4098
4105
|
type: "OFT",
|
|
4099
4106
|
id: 1,
|
|
4100
|
-
address: "0x2086f755A6d9254045C257ea3d382ef854849B0f"
|
|
4101
|
-
},
|
|
4107
|
+
address: "0x2086f755A6d9254045C257ea3d382ef854849B0f",
|
|
4108
|
+
},
|
|
4109
|
+
{
|
|
4102
4110
|
name: "USDT",
|
|
4103
4111
|
type: "OFT",
|
|
4104
4112
|
id: 2,
|
|
4105
|
-
address: "0x3a1293Bdb83bBbDd5Ebf4fAc96605aD2021BbC0f"
|
|
4106
|
-
}
|
|
4107
|
-
]
|
|
4108
|
-
}
|
|
4113
|
+
address: "0x3a1293Bdb83bBbDd5Ebf4fAc96605aD2021BbC0f",
|
|
4114
|
+
},
|
|
4115
|
+
],
|
|
4116
|
+
},
|
|
4109
4117
|
},
|
|
4110
4118
|
morpho: {},
|
|
4111
4119
|
oracles: {},
|
|
@@ -4181,6 +4189,81 @@ const telos = makeConfig({
|
|
|
4181
4189
|
},
|
|
4182
4190
|
});
|
|
4183
4191
|
|
|
4192
|
+
const worldchain = makeConfig({
|
|
4193
|
+
...chains.worldchain,
|
|
4194
|
+
blockTimeSeconds: 2,
|
|
4195
|
+
launchTime: 0,
|
|
4196
|
+
sortIndex: 15,
|
|
4197
|
+
logoUrl: "https://assets.oku.trade/chains/world-logo.png",
|
|
4198
|
+
safeReorgDistance: 90000,
|
|
4199
|
+
externalId: {},
|
|
4200
|
+
markets: {},
|
|
4201
|
+
bridges: {},
|
|
4202
|
+
oracles: {},
|
|
4203
|
+
morpho: {
|
|
4204
|
+
deployBlock: 9025669,
|
|
4205
|
+
morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432",
|
|
4206
|
+
mmFactory11: "0xae5b0884bfff430493D6C844B9fd052Af7d79278",
|
|
4207
|
+
bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448",
|
|
4208
|
+
},
|
|
4209
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
4210
|
+
uniswap: {
|
|
4211
|
+
deployBlock: 0,
|
|
4212
|
+
poolFactory: viem.zeroAddress,
|
|
4213
|
+
permit2: viem.zeroAddress,
|
|
4214
|
+
multicall2: viem.zeroAddress,
|
|
4215
|
+
tickLens: viem.zeroAddress,
|
|
4216
|
+
nonfungiblePositionManager: viem.zeroAddress,
|
|
4217
|
+
positionsNFT: viem.zeroAddress,
|
|
4218
|
+
positionsNFTDeployBlock: 0,
|
|
4219
|
+
universalRouter: viem.zeroAddress,
|
|
4220
|
+
wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
|
|
4221
|
+
wrappedNativeSymbol: "WETH",
|
|
4222
|
+
wrappedNativeName: "Wrapped Ether",
|
|
4223
|
+
wrappedNativeDecimals: 18,
|
|
4224
|
+
nativeCurrencyName: "ETH",
|
|
4225
|
+
},
|
|
4226
|
+
token: {
|
|
4227
|
+
wethAddress: "0x4200000000000000000000000000000000000006",
|
|
4228
|
+
},
|
|
4229
|
+
oku: {
|
|
4230
|
+
limitOrderRegistry: viem.zeroAddress,
|
|
4231
|
+
limitOrderRegistryDeployBlock: 0,
|
|
4232
|
+
pricing: {
|
|
4233
|
+
nativeWrappedToken: "0x4200000000000000000000000000000000000006",
|
|
4234
|
+
nativeWrappedName: "ETH",
|
|
4235
|
+
},
|
|
4236
|
+
},
|
|
4237
|
+
defaultPool: viem.zeroAddress,
|
|
4238
|
+
defaultToken0: viem.zeroAddress,
|
|
4239
|
+
defaultToken1: viem.zeroAddress,
|
|
4240
|
+
tokenList: [
|
|
4241
|
+
{ symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
|
|
4242
|
+
],
|
|
4243
|
+
stables: ["0x79a02482a880bce3f13e09da970dc34db4cd24d1"],
|
|
4244
|
+
watchlist: [],
|
|
4245
|
+
internalName: "worldchain",
|
|
4246
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
4247
|
+
contracts: {
|
|
4248
|
+
...chains.worldchain.contracts,
|
|
4249
|
+
limitOrder: {
|
|
4250
|
+
address: viem.zeroAddress,
|
|
4251
|
+
},
|
|
4252
|
+
nftManager: {
|
|
4253
|
+
address: viem.zeroAddress,
|
|
4254
|
+
},
|
|
4255
|
+
weth9: {
|
|
4256
|
+
address: "0x4200000000000000000000000000000000000006",
|
|
4257
|
+
},
|
|
4258
|
+
multicall2: {
|
|
4259
|
+
address: viem.zeroAddress,
|
|
4260
|
+
},
|
|
4261
|
+
multicall3: {
|
|
4262
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
4263
|
+
},
|
|
4264
|
+
},
|
|
4265
|
+
});
|
|
4266
|
+
|
|
4184
4267
|
const xLayer = makeConfig({
|
|
4185
4268
|
...chains.xLayer,
|
|
4186
4269
|
blockTimeSeconds: 3,
|
|
@@ -4550,6 +4633,7 @@ const MAINNET_CHAINS = [
|
|
|
4550
4633
|
goat,
|
|
4551
4634
|
redbelly,
|
|
4552
4635
|
lightlink,
|
|
4636
|
+
worldchain,
|
|
4553
4637
|
];
|
|
4554
4638
|
|
|
4555
4639
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -4584,5 +4668,6 @@ exports.sei = sei;
|
|
|
4584
4668
|
exports.sonic = sonic;
|
|
4585
4669
|
exports.taiko = taiko;
|
|
4586
4670
|
exports.telos = telos;
|
|
4671
|
+
exports.worldchain = worldchain;
|
|
4587
4672
|
exports.xLayer = xLayer;
|
|
4588
4673
|
exports.zkSync = zkSync;
|