@gfxlabs/oku-chains 1.1.202 → 1.1.204

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 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,17 @@
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
+ publicAllocator: "0xDFde06e2B2A2D718eE5560b73dA4F830E56A2f10",
1119
+ mmFactory11: "0xe430821595602eA5DD0cD350f86987437c7362fA",
1120
+ bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7",
1121
+ },
1116
1122
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
1117
1123
  uniswap: {
1118
1124
  deployBlock: 10878,
@@ -4185,6 +4191,81 @@
4185
4191
  },
4186
4192
  });
4187
4193
 
4194
+ const worldchain = makeConfig({
4195
+ ...chains.worldchain,
4196
+ blockTimeSeconds: 2,
4197
+ launchTime: 0,
4198
+ sortIndex: 15,
4199
+ logoUrl: "https://assets.oku.trade/chains/world-logo.png",
4200
+ safeReorgDistance: 90000,
4201
+ externalId: {},
4202
+ markets: {},
4203
+ bridges: {},
4204
+ oracles: {},
4205
+ morpho: {
4206
+ deployBlock: 9025669,
4207
+ morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432",
4208
+ mmFactory11: "0xae5b0884bfff430493D6C844B9fd052Af7d79278",
4209
+ bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448",
4210
+ },
4211
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4212
+ uniswap: {
4213
+ deployBlock: 0,
4214
+ poolFactory: viem.zeroAddress,
4215
+ permit2: viem.zeroAddress,
4216
+ multicall2: viem.zeroAddress,
4217
+ tickLens: viem.zeroAddress,
4218
+ nonfungiblePositionManager: viem.zeroAddress,
4219
+ positionsNFT: viem.zeroAddress,
4220
+ positionsNFTDeployBlock: 0,
4221
+ universalRouter: viem.zeroAddress,
4222
+ wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
4223
+ wrappedNativeSymbol: "WETH",
4224
+ wrappedNativeName: "Wrapped Ether",
4225
+ wrappedNativeDecimals: 18,
4226
+ nativeCurrencyName: "ETH",
4227
+ },
4228
+ token: {
4229
+ wethAddress: "0x4200000000000000000000000000000000000006",
4230
+ },
4231
+ oku: {
4232
+ limitOrderRegistry: viem.zeroAddress,
4233
+ limitOrderRegistryDeployBlock: 0,
4234
+ pricing: {
4235
+ nativeWrappedToken: "0x4200000000000000000000000000000000000006",
4236
+ nativeWrappedName: "ETH",
4237
+ },
4238
+ },
4239
+ defaultPool: viem.zeroAddress,
4240
+ defaultToken0: viem.zeroAddress,
4241
+ defaultToken1: viem.zeroAddress,
4242
+ tokenList: [
4243
+ { symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
4244
+ ],
4245
+ stables: ["0x79a02482a880bce3f13e09da970dc34db4cd24d1"],
4246
+ watchlist: [],
4247
+ internalName: "worldchain",
4248
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
4249
+ contracts: {
4250
+ ...chains.worldchain.contracts,
4251
+ limitOrder: {
4252
+ address: viem.zeroAddress,
4253
+ },
4254
+ nftManager: {
4255
+ address: viem.zeroAddress,
4256
+ },
4257
+ weth9: {
4258
+ address: "0x4200000000000000000000000000000000000006",
4259
+ },
4260
+ multicall2: {
4261
+ address: viem.zeroAddress,
4262
+ },
4263
+ multicall3: {
4264
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4265
+ },
4266
+ },
4267
+ });
4268
+
4188
4269
  const xLayer = makeConfig({
4189
4270
  ...chains.xLayer,
4190
4271
  blockTimeSeconds: 3,
@@ -4554,6 +4635,7 @@
4554
4635
  goat,
4555
4636
  redbelly,
4556
4637
  lightlink,
4638
+ worldchain,
4557
4639
  ];
4558
4640
 
4559
4641
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -4588,6 +4670,7 @@
4588
4670
  exports.sonic = sonic;
4589
4671
  exports.taiko = taiko;
4590
4672
  exports.telos = telos;
4673
+ exports.worldchain = worldchain;
4591
4674
  exports.xLayer = xLayer;
4592
4675
  exports.zkSync = zkSync;
4593
4676
 
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,17 @@ 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
+ publicAllocator: "0xDFde06e2B2A2D718eE5560b73dA4F830E56A2f10",
1116
+ mmFactory11: "0xe430821595602eA5DD0cD350f86987437c7362fA",
1117
+ bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7",
1118
+ },
1112
1119
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
1113
1120
  uniswap: {
1114
1121
  deployBlock: 10878,
@@ -4181,6 +4188,81 @@ const telos = makeConfig({
4181
4188
  },
4182
4189
  });
4183
4190
 
4191
+ const worldchain = makeConfig({
4192
+ ...worldchain$1,
4193
+ blockTimeSeconds: 2,
4194
+ launchTime: 0,
4195
+ sortIndex: 15,
4196
+ logoUrl: "https://assets.oku.trade/chains/world-logo.png",
4197
+ safeReorgDistance: 90000,
4198
+ externalId: {},
4199
+ markets: {},
4200
+ bridges: {},
4201
+ oracles: {},
4202
+ morpho: {
4203
+ deployBlock: 9025669,
4204
+ morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432",
4205
+ mmFactory11: "0xae5b0884bfff430493D6C844B9fd052Af7d79278",
4206
+ bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448",
4207
+ },
4208
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4209
+ uniswap: {
4210
+ deployBlock: 0,
4211
+ poolFactory: zeroAddress,
4212
+ permit2: zeroAddress,
4213
+ multicall2: zeroAddress,
4214
+ tickLens: zeroAddress,
4215
+ nonfungiblePositionManager: zeroAddress,
4216
+ positionsNFT: zeroAddress,
4217
+ positionsNFTDeployBlock: 0,
4218
+ universalRouter: zeroAddress,
4219
+ wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
4220
+ wrappedNativeSymbol: "WETH",
4221
+ wrappedNativeName: "Wrapped Ether",
4222
+ wrappedNativeDecimals: 18,
4223
+ nativeCurrencyName: "ETH",
4224
+ },
4225
+ token: {
4226
+ wethAddress: "0x4200000000000000000000000000000000000006",
4227
+ },
4228
+ oku: {
4229
+ limitOrderRegistry: zeroAddress,
4230
+ limitOrderRegistryDeployBlock: 0,
4231
+ pricing: {
4232
+ nativeWrappedToken: "0x4200000000000000000000000000000000000006",
4233
+ nativeWrappedName: "ETH",
4234
+ },
4235
+ },
4236
+ defaultPool: zeroAddress,
4237
+ defaultToken0: zeroAddress,
4238
+ defaultToken1: zeroAddress,
4239
+ tokenList: [
4240
+ { symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
4241
+ ],
4242
+ stables: ["0x79a02482a880bce3f13e09da970dc34db4cd24d1"],
4243
+ watchlist: [],
4244
+ internalName: "worldchain",
4245
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
4246
+ contracts: {
4247
+ ...worldchain$1.contracts,
4248
+ limitOrder: {
4249
+ address: zeroAddress,
4250
+ },
4251
+ nftManager: {
4252
+ address: zeroAddress,
4253
+ },
4254
+ weth9: {
4255
+ address: "0x4200000000000000000000000000000000000006",
4256
+ },
4257
+ multicall2: {
4258
+ address: zeroAddress,
4259
+ },
4260
+ multicall3: {
4261
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4262
+ },
4263
+ },
4264
+ });
4265
+
4184
4266
  const xLayer = makeConfig({
4185
4267
  ...xLayer$1,
4186
4268
  blockTimeSeconds: 3,
@@ -4550,6 +4632,7 @@ const MAINNET_CHAINS = [
4550
4632
  goat,
4551
4633
  redbelly,
4552
4634
  lightlink,
4635
+ worldchain,
4553
4636
  ];
4554
4637
 
4555
- 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 };
4638
+ 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,17 @@ 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
+ publicAllocator: "0xDFde06e2B2A2D718eE5560b73dA4F830E56A2f10",
1118
+ mmFactory11: "0xe430821595602eA5DD0cD350f86987437c7362fA",
1119
+ bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7",
1120
+ },
1114
1121
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
1115
1122
  uniswap: {
1116
1123
  deployBlock: 10878,
@@ -4183,6 +4190,81 @@ const telos = makeConfig({
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 @@ const MAINNET_CHAINS = [
4552
4634
  goat,
4553
4635
  redbelly,
4554
4636
  lightlink,
4637
+ worldchain,
4555
4638
  ];
4556
4639
 
4557
4640
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -4586,5 +4669,6 @@ exports.sei = sei;
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;