@gfxlabs/oku-chains 1.1.202 → 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 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,
@@ -4185,6 +4190,81 @@
4185
4190
  },
4186
4191
  });
4187
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
+
4188
4268
  const xLayer = makeConfig({
4189
4269
  ...chains.xLayer,
4190
4270
  blockTimeSeconds: 3,
@@ -4554,6 +4634,7 @@
4554
4634
  goat,
4555
4635
  redbelly,
4556
4636
  lightlink,
4637
+ worldchain,
4557
4638
  ];
4558
4639
 
4559
4640
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -4588,6 +4669,7 @@
4588
4669
  exports.sonic = sonic;
4589
4670
  exports.taiko = taiko;
4590
4671
  exports.telos = telos;
4672
+ exports.worldchain = worldchain;
4591
4673
  exports.xLayer = xLayer;
4592
4674
  exports.zkSync = zkSync;
4593
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,
@@ -4181,6 +4187,81 @@ const telos = makeConfig({
4181
4187
  },
4182
4188
  });
4183
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
+
4184
4265
  const xLayer = makeConfig({
4185
4266
  ...xLayer$1,
4186
4267
  blockTimeSeconds: 3,
@@ -4550,6 +4631,7 @@ const MAINNET_CHAINS = [
4550
4631
  goat,
4551
4632
  redbelly,
4552
4633
  lightlink,
4634
+ worldchain,
4553
4635
  ];
4554
4636
 
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 };
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,
@@ -4183,6 +4189,81 @@ const telos = makeConfig({
4183
4189
  },
4184
4190
  });
4185
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
+
4186
4267
  const xLayer = makeConfig({
4187
4268
  ...chains.xLayer,
4188
4269
  blockTimeSeconds: 3,
@@ -4552,6 +4633,7 @@ const MAINNET_CHAINS = [
4552
4633
  goat,
4553
4634
  redbelly,
4554
4635
  lightlink,
4636
+ worldchain,
4555
4637
  ];
4556
4638
 
4557
4639
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -4586,5 +4668,6 @@ exports.sei = sei;
4586
4668
  exports.sonic = sonic;
4587
4669
  exports.taiko = taiko;
4588
4670
  exports.telos = telos;
4671
+ exports.worldchain = worldchain;
4589
4672
  exports.xLayer = xLayer;
4590
4673
  exports.zkSync = zkSync;