@gfxlabs/oku-chains 1.1.211 → 1.1.213

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
@@ -2008,7 +2008,8 @@
2008
2008
  },
2009
2009
  rpcUrls: {
2010
2010
  default: {
2011
- http: ["https://rpc.ankr.com/eth"],
2011
+ http: ["https://eth.drpc.org"],
2012
+ webSocket: ["wss://eth.drpc.org"],
2012
2013
  },
2013
2014
  },
2014
2015
  markets: {
@@ -2028,7 +2029,7 @@
2028
2029
  atlasNetworkName: "ethereum-mainnet",
2029
2030
  routerAddress: "0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D",
2030
2031
  chainSelector: 5009297550715157269n,
2031
- tokenAdminRegistry: "0xb22764f98dD05c789929716D677382Df22C05Cb6"
2032
+ tokenAdminRegistry: "0xb22764f98dD05c789929716D677382Df22C05Cb6",
2032
2033
  },
2033
2034
  rhinofi: "ETHEREUM",
2034
2035
  stargate: {
@@ -4280,6 +4281,79 @@
4280
4281
  },
4281
4282
  });
4282
4283
 
4284
+ const xdc = makeConfig({
4285
+ ...chains.xdc,
4286
+ name: "XDC",
4287
+ blockTimeSeconds: 2,
4288
+ launchTime: 1745040321,
4289
+ sortIndex: 15,
4290
+ logoUrl: "https://assets.oku.trade/chains/xdc-logo.png",
4291
+ safeReorgDistance: 90000,
4292
+ externalId: {},
4293
+ markets: {},
4294
+ bridges: {},
4295
+ oracles: {},
4296
+ morpho: {},
4297
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4298
+ uniswap: {
4299
+ deployBlock: 87230664,
4300
+ poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
4301
+ permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
4302
+ multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
4303
+ tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
4304
+ nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4305
+ positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4306
+ positionsNFTDeployBlock: 87230700,
4307
+ universalRouter: "0x738fD6d10bCc05c230388B4027CAd37f82fe2AF2",
4308
+ wrappedNativeAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4309
+ wrappedNativeSymbol: "WXDC",
4310
+ wrappedNativeName: "Wrapped XDC",
4311
+ wrappedNativeDecimals: 18,
4312
+ nativeCurrencyName: "XDC",
4313
+ },
4314
+ token: {
4315
+ wethAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4316
+ usdcAddress: "0x2a8e898b6242355c290e1f4fc966b8788729a4du4",
4317
+ },
4318
+ oku: {
4319
+ limitOrderRegistry: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc",
4320
+ limitOrderRegistryDeployBlock: 87231348,
4321
+ pricing: {
4322
+ nativeWrappedToken: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4323
+ nativeWrappedName: "XDC",
4324
+ },
4325
+ },
4326
+ defaultPool: viem.zeroAddress,
4327
+ defaultToken0: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4",
4328
+ defaultToken1: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4329
+ tokenList: [
4330
+ { symbol: "WXDC", address: "0x951857744785e80e2de051c32ee7b25f9c458c42" },
4331
+ { symbol: "USDC.e", address: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4" },
4332
+ ],
4333
+ stables: ["0x2a8e898b6242355c290e1f4fc966b8788729a4d4"],
4334
+ watchlist: [],
4335
+ internalName: "xdc",
4336
+ nativeLogoUrl: "https://assets.oku.trade/natives/xdc.png",
4337
+ contracts: {
4338
+ ...chains.xdc.contracts,
4339
+ limitOrder: {
4340
+ address: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc",
4341
+ },
4342
+ nftManager: {
4343
+ address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4344
+ },
4345
+ weth9: {
4346
+ address: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4347
+ },
4348
+ multicall2: {
4349
+ address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
4350
+ },
4351
+ multicall3: {
4352
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4353
+ },
4354
+ },
4355
+ });
4356
+
4283
4357
  const polygonZkEvm = makeConfig({
4284
4358
  ...chains.polygonZkEvm,
4285
4359
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
@@ -4551,6 +4625,7 @@
4551
4625
  redbelly,
4552
4626
  lightlink,
4553
4627
  worldchain,
4628
+ xdc,
4554
4629
  ];
4555
4630
 
4556
4631
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -4586,6 +4661,7 @@
4586
4661
  exports.taiko = taiko;
4587
4662
  exports.telos = telos;
4588
4663
  exports.worldchain = worldchain;
4664
+ exports.xdc = xdc;
4589
4665
  exports.zkSync = zkSync;
4590
4666
 
4591
4667
  }));
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, 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, 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, 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) => {
@@ -2005,7 +2005,8 @@ const mainnet = makeConfig({
2005
2005
  },
2006
2006
  rpcUrls: {
2007
2007
  default: {
2008
- http: ["https://rpc.ankr.com/eth"],
2008
+ http: ["https://eth.drpc.org"],
2009
+ webSocket: ["wss://eth.drpc.org"],
2009
2010
  },
2010
2011
  },
2011
2012
  markets: {
@@ -2025,7 +2026,7 @@ const mainnet = makeConfig({
2025
2026
  atlasNetworkName: "ethereum-mainnet",
2026
2027
  routerAddress: "0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D",
2027
2028
  chainSelector: 5009297550715157269n,
2028
- tokenAdminRegistry: "0xb22764f98dD05c789929716D677382Df22C05Cb6"
2029
+ tokenAdminRegistry: "0xb22764f98dD05c789929716D677382Df22C05Cb6",
2029
2030
  },
2030
2031
  rhinofi: "ETHEREUM",
2031
2032
  stargate: {
@@ -4277,6 +4278,79 @@ const worldchain = makeConfig({
4277
4278
  },
4278
4279
  });
4279
4280
 
4281
+ const xdc = makeConfig({
4282
+ ...xdc$1,
4283
+ name: "XDC",
4284
+ blockTimeSeconds: 2,
4285
+ launchTime: 1745040321,
4286
+ sortIndex: 15,
4287
+ logoUrl: "https://assets.oku.trade/chains/xdc-logo.png",
4288
+ safeReorgDistance: 90000,
4289
+ externalId: {},
4290
+ markets: {},
4291
+ bridges: {},
4292
+ oracles: {},
4293
+ morpho: {},
4294
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4295
+ uniswap: {
4296
+ deployBlock: 87230664,
4297
+ poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
4298
+ permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
4299
+ multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
4300
+ tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
4301
+ nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4302
+ positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4303
+ positionsNFTDeployBlock: 87230700,
4304
+ universalRouter: "0x738fD6d10bCc05c230388B4027CAd37f82fe2AF2",
4305
+ wrappedNativeAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4306
+ wrappedNativeSymbol: "WXDC",
4307
+ wrappedNativeName: "Wrapped XDC",
4308
+ wrappedNativeDecimals: 18,
4309
+ nativeCurrencyName: "XDC",
4310
+ },
4311
+ token: {
4312
+ wethAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4313
+ usdcAddress: "0x2a8e898b6242355c290e1f4fc966b8788729a4du4",
4314
+ },
4315
+ oku: {
4316
+ limitOrderRegistry: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc",
4317
+ limitOrderRegistryDeployBlock: 87231348,
4318
+ pricing: {
4319
+ nativeWrappedToken: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4320
+ nativeWrappedName: "XDC",
4321
+ },
4322
+ },
4323
+ defaultPool: zeroAddress,
4324
+ defaultToken0: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4",
4325
+ defaultToken1: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4326
+ tokenList: [
4327
+ { symbol: "WXDC", address: "0x951857744785e80e2de051c32ee7b25f9c458c42" },
4328
+ { symbol: "USDC.e", address: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4" },
4329
+ ],
4330
+ stables: ["0x2a8e898b6242355c290e1f4fc966b8788729a4d4"],
4331
+ watchlist: [],
4332
+ internalName: "xdc",
4333
+ nativeLogoUrl: "https://assets.oku.trade/natives/xdc.png",
4334
+ contracts: {
4335
+ ...xdc$1.contracts,
4336
+ limitOrder: {
4337
+ address: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc",
4338
+ },
4339
+ nftManager: {
4340
+ address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4341
+ },
4342
+ weth9: {
4343
+ address: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4344
+ },
4345
+ multicall2: {
4346
+ address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
4347
+ },
4348
+ multicall3: {
4349
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4350
+ },
4351
+ },
4352
+ });
4353
+
4280
4354
  const polygonZkEvm = makeConfig({
4281
4355
  ...polygonZkEvm$1,
4282
4356
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
@@ -4548,6 +4622,7 @@ const MAINNET_CHAINS = [
4548
4622
  redbelly,
4549
4623
  lightlink,
4550
4624
  worldchain,
4625
+ xdc,
4551
4626
  ];
4552
4627
 
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, worldchain, zkSync };
4628
+ 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, xdc, zkSync };
package/dist/index.js CHANGED
@@ -2007,7 +2007,8 @@ const mainnet = makeConfig({
2007
2007
  },
2008
2008
  rpcUrls: {
2009
2009
  default: {
2010
- http: ["https://rpc.ankr.com/eth"],
2010
+ http: ["https://eth.drpc.org"],
2011
+ webSocket: ["wss://eth.drpc.org"],
2011
2012
  },
2012
2013
  },
2013
2014
  markets: {
@@ -2027,7 +2028,7 @@ const mainnet = makeConfig({
2027
2028
  atlasNetworkName: "ethereum-mainnet",
2028
2029
  routerAddress: "0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D",
2029
2030
  chainSelector: 5009297550715157269n,
2030
- tokenAdminRegistry: "0xb22764f98dD05c789929716D677382Df22C05Cb6"
2031
+ tokenAdminRegistry: "0xb22764f98dD05c789929716D677382Df22C05Cb6",
2031
2032
  },
2032
2033
  rhinofi: "ETHEREUM",
2033
2034
  stargate: {
@@ -4279,6 +4280,79 @@ const worldchain = makeConfig({
4279
4280
  },
4280
4281
  });
4281
4282
 
4283
+ const xdc = makeConfig({
4284
+ ...chains.xdc,
4285
+ name: "XDC",
4286
+ blockTimeSeconds: 2,
4287
+ launchTime: 1745040321,
4288
+ sortIndex: 15,
4289
+ logoUrl: "https://assets.oku.trade/chains/xdc-logo.png",
4290
+ safeReorgDistance: 90000,
4291
+ externalId: {},
4292
+ markets: {},
4293
+ bridges: {},
4294
+ oracles: {},
4295
+ morpho: {},
4296
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4297
+ uniswap: {
4298
+ deployBlock: 87230664,
4299
+ poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
4300
+ permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
4301
+ multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
4302
+ tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
4303
+ nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4304
+ positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4305
+ positionsNFTDeployBlock: 87230700,
4306
+ universalRouter: "0x738fD6d10bCc05c230388B4027CAd37f82fe2AF2",
4307
+ wrappedNativeAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4308
+ wrappedNativeSymbol: "WXDC",
4309
+ wrappedNativeName: "Wrapped XDC",
4310
+ wrappedNativeDecimals: 18,
4311
+ nativeCurrencyName: "XDC",
4312
+ },
4313
+ token: {
4314
+ wethAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4315
+ usdcAddress: "0x2a8e898b6242355c290e1f4fc966b8788729a4du4",
4316
+ },
4317
+ oku: {
4318
+ limitOrderRegistry: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc",
4319
+ limitOrderRegistryDeployBlock: 87231348,
4320
+ pricing: {
4321
+ nativeWrappedToken: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4322
+ nativeWrappedName: "XDC",
4323
+ },
4324
+ },
4325
+ defaultPool: viem.zeroAddress,
4326
+ defaultToken0: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4",
4327
+ defaultToken1: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4328
+ tokenList: [
4329
+ { symbol: "WXDC", address: "0x951857744785e80e2de051c32ee7b25f9c458c42" },
4330
+ { symbol: "USDC.e", address: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4" },
4331
+ ],
4332
+ stables: ["0x2a8e898b6242355c290e1f4fc966b8788729a4d4"],
4333
+ watchlist: [],
4334
+ internalName: "xdc",
4335
+ nativeLogoUrl: "https://assets.oku.trade/natives/xdc.png",
4336
+ contracts: {
4337
+ ...chains.xdc.contracts,
4338
+ limitOrder: {
4339
+ address: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc",
4340
+ },
4341
+ nftManager: {
4342
+ address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
4343
+ },
4344
+ weth9: {
4345
+ address: "0x951857744785e80e2de051c32ee7b25f9c458c42",
4346
+ },
4347
+ multicall2: {
4348
+ address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
4349
+ },
4350
+ multicall3: {
4351
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4352
+ },
4353
+ },
4354
+ });
4355
+
4282
4356
  const polygonZkEvm = makeConfig({
4283
4357
  ...chains.polygonZkEvm,
4284
4358
  initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
@@ -4550,6 +4624,7 @@ const MAINNET_CHAINS = [
4550
4624
  redbelly,
4551
4625
  lightlink,
4552
4626
  worldchain,
4627
+ xdc,
4553
4628
  ];
4554
4629
 
4555
4630
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -4585,4 +4660,5 @@ exports.sonic = sonic;
4585
4660
  exports.taiko = taiko;
4586
4661
  exports.telos = telos;
4587
4662
  exports.worldchain = worldchain;
4663
+ exports.xdc = xdc;
4588
4664
  exports.zkSync = zkSync;