@gfxlabs/oku-chains 1.4.0 → 1.4.1

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
@@ -331,6 +331,84 @@
331
331
  },
332
332
  });
333
333
 
334
+ const avalanche = makeConfig({
335
+ ...chains.avalanche,
336
+ name: "Avalanche",
337
+ blockTimeSeconds: 2,
338
+ launchTime: 1761794290,
339
+ transactionType: "eip1559",
340
+ sortIndex: 15,
341
+ logoUrl: "https://assets.oku.trade/chains/avalanche-logo.png",
342
+ deprecated: false,
343
+ safeReorgDistance: 90000,
344
+ blockAid: "",
345
+ externalId: {},
346
+ markets: {},
347
+ bridges: {},
348
+ oracles: {},
349
+ morpho: {},
350
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
351
+ uniswap: {
352
+ deployBlock: 27832972,
353
+ poolFactory: "0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",
354
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
355
+ multicall2: "0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",
356
+ tickLens: "0xEB9fFC8bf81b4fFd11fb6A63a6B0f098c6e21950",
357
+ nonfungiblePositionManager: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
358
+ positionsNFT: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
359
+ positionsNFTDeployBlock: 27833025,
360
+ universalRouter: "0x94b75331ae8d42c1b61065089b7d48fe14aa73b7",
361
+ wrappedNativeAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
362
+ wrappedNativeSymbol: "WAVAX",
363
+ wrappedNativeName: "Wrapped AVAX",
364
+ wrappedNativeDecimals: 18,
365
+ nativeCurrencyName: "AVAX",
366
+ },
367
+ token: {
368
+ wethAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
369
+ },
370
+ oku: {
371
+ limitOrderRegistry: viem.zeroAddress,
372
+ limitOrderRegistryDeployBlock: 0,
373
+ pricing: {
374
+ nativeWrappedToken: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
375
+ nativeWrappedName: "AVAX",
376
+ },
377
+ },
378
+ defaultPool: "0xfAe3f424a0a47706811521E3ee268f00cFb5c45E",
379
+ defaultToken0: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
380
+ defaultToken1: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
381
+ tokenList: [
382
+ { symbol: "WAVAX", address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" },
383
+ { symbol: "USDC", address: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" },
384
+ ],
385
+ stables: [
386
+ "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
387
+ "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
388
+ ],
389
+ watchlist: [],
390
+ internalName: "avalanche",
391
+ nativeLogoUrl: "https://assets.oku.trade/natives/avax.png",
392
+ contracts: {
393
+ ...chains.avalanche.contracts,
394
+ limitOrder: {
395
+ address: viem.zeroAddress,
396
+ },
397
+ nftManager: {
398
+ address: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
399
+ },
400
+ weth9: {
401
+ address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
402
+ },
403
+ multicall2: {
404
+ address: "0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",
405
+ },
406
+ multicall3: {
407
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
408
+ },
409
+ },
410
+ });
411
+
334
412
  const base = makeConfig({
335
413
  ...chains.base,
336
414
  sortIndex: 8,
@@ -5963,10 +6041,12 @@
5963
6041
  matchain,
5964
6042
  plasma,
5965
6043
  zerog,
6044
+ avalanche,
5966
6045
  ];
5967
6046
 
5968
6047
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
5969
6048
  exports.arbitrum = arbitrum;
6049
+ exports.avalanche = avalanche;
5970
6050
  exports.base = base;
5971
6051
  exports.blast = blast;
5972
6052
  exports.bob = bob;
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, etherlink as etherlink$1, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, lens as lens$1, lightlinkPhoenix, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, matchain as matchain$1, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, plasma as plasma$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, tronShasta as tronShasta$1, unichain as unichain$1, worldchain as worldchain$1, xdc as xdc$1, zeroGMainnet, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
1
+ import { arbitrum as arbitrum$1, avalanche as avalanche$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, etherlink as etherlink$1, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, lens as lens$1, lightlinkPhoenix, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, matchain as matchain$1, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, plasma as plasma$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, tronShasta as tronShasta$1, unichain as unichain$1, worldchain as worldchain$1, xdc as xdc$1, zeroGMainnet, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
2
2
  import { zeroAddress } from 'viem';
3
3
 
4
4
  const makeConfig = (x) => {
@@ -328,6 +328,84 @@ const arbitrum = makeConfig({
328
328
  },
329
329
  });
330
330
 
331
+ const avalanche = makeConfig({
332
+ ...avalanche$1,
333
+ name: "Avalanche",
334
+ blockTimeSeconds: 2,
335
+ launchTime: 1761794290,
336
+ transactionType: "eip1559",
337
+ sortIndex: 15,
338
+ logoUrl: "https://assets.oku.trade/chains/avalanche-logo.png",
339
+ deprecated: false,
340
+ safeReorgDistance: 90000,
341
+ blockAid: "",
342
+ externalId: {},
343
+ markets: {},
344
+ bridges: {},
345
+ oracles: {},
346
+ morpho: {},
347
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
348
+ uniswap: {
349
+ deployBlock: 27832972,
350
+ poolFactory: "0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",
351
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
352
+ multicall2: "0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",
353
+ tickLens: "0xEB9fFC8bf81b4fFd11fb6A63a6B0f098c6e21950",
354
+ nonfungiblePositionManager: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
355
+ positionsNFT: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
356
+ positionsNFTDeployBlock: 27833025,
357
+ universalRouter: "0x94b75331ae8d42c1b61065089b7d48fe14aa73b7",
358
+ wrappedNativeAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
359
+ wrappedNativeSymbol: "WAVAX",
360
+ wrappedNativeName: "Wrapped AVAX",
361
+ wrappedNativeDecimals: 18,
362
+ nativeCurrencyName: "AVAX",
363
+ },
364
+ token: {
365
+ wethAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
366
+ },
367
+ oku: {
368
+ limitOrderRegistry: zeroAddress,
369
+ limitOrderRegistryDeployBlock: 0,
370
+ pricing: {
371
+ nativeWrappedToken: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
372
+ nativeWrappedName: "AVAX",
373
+ },
374
+ },
375
+ defaultPool: "0xfAe3f424a0a47706811521E3ee268f00cFb5c45E",
376
+ defaultToken0: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
377
+ defaultToken1: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
378
+ tokenList: [
379
+ { symbol: "WAVAX", address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" },
380
+ { symbol: "USDC", address: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" },
381
+ ],
382
+ stables: [
383
+ "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
384
+ "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
385
+ ],
386
+ watchlist: [],
387
+ internalName: "avalanche",
388
+ nativeLogoUrl: "https://assets.oku.trade/natives/avax.png",
389
+ contracts: {
390
+ ...avalanche$1.contracts,
391
+ limitOrder: {
392
+ address: zeroAddress,
393
+ },
394
+ nftManager: {
395
+ address: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
396
+ },
397
+ weth9: {
398
+ address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
399
+ },
400
+ multicall2: {
401
+ address: "0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",
402
+ },
403
+ multicall3: {
404
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
405
+ },
406
+ },
407
+ });
408
+
331
409
  const base = makeConfig({
332
410
  ...base$1,
333
411
  sortIndex: 8,
@@ -5960,6 +6038,7 @@ const MAINNET_CHAINS = [
5960
6038
  matchain,
5961
6039
  plasma,
5962
6040
  zerog,
6041
+ avalanche,
5963
6042
  ];
5964
6043
 
5965
- export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, matchain, metal, moonbeam, nibiru, optimism, plasma, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zerog, zkSync };
6044
+ export { MAINNET_CHAINS, arbitrum, avalanche, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, matchain, metal, moonbeam, nibiru, optimism, plasma, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zerog, zkSync };
package/dist/index.js CHANGED
@@ -330,6 +330,84 @@ const arbitrum = makeConfig({
330
330
  },
331
331
  });
332
332
 
333
+ const avalanche = makeConfig({
334
+ ...chains.avalanche,
335
+ name: "Avalanche",
336
+ blockTimeSeconds: 2,
337
+ launchTime: 1761794290,
338
+ transactionType: "eip1559",
339
+ sortIndex: 15,
340
+ logoUrl: "https://assets.oku.trade/chains/avalanche-logo.png",
341
+ deprecated: false,
342
+ safeReorgDistance: 90000,
343
+ blockAid: "",
344
+ externalId: {},
345
+ markets: {},
346
+ bridges: {},
347
+ oracles: {},
348
+ morpho: {},
349
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
350
+ uniswap: {
351
+ deployBlock: 27832972,
352
+ poolFactory: "0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",
353
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
354
+ multicall2: "0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",
355
+ tickLens: "0xEB9fFC8bf81b4fFd11fb6A63a6B0f098c6e21950",
356
+ nonfungiblePositionManager: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
357
+ positionsNFT: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
358
+ positionsNFTDeployBlock: 27833025,
359
+ universalRouter: "0x94b75331ae8d42c1b61065089b7d48fe14aa73b7",
360
+ wrappedNativeAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
361
+ wrappedNativeSymbol: "WAVAX",
362
+ wrappedNativeName: "Wrapped AVAX",
363
+ wrappedNativeDecimals: 18,
364
+ nativeCurrencyName: "AVAX",
365
+ },
366
+ token: {
367
+ wethAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
368
+ },
369
+ oku: {
370
+ limitOrderRegistry: viem.zeroAddress,
371
+ limitOrderRegistryDeployBlock: 0,
372
+ pricing: {
373
+ nativeWrappedToken: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
374
+ nativeWrappedName: "AVAX",
375
+ },
376
+ },
377
+ defaultPool: "0xfAe3f424a0a47706811521E3ee268f00cFb5c45E",
378
+ defaultToken0: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
379
+ defaultToken1: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
380
+ tokenList: [
381
+ { symbol: "WAVAX", address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" },
382
+ { symbol: "USDC", address: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" },
383
+ ],
384
+ stables: [
385
+ "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
386
+ "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
387
+ ],
388
+ watchlist: [],
389
+ internalName: "avalanche",
390
+ nativeLogoUrl: "https://assets.oku.trade/natives/avax.png",
391
+ contracts: {
392
+ ...chains.avalanche.contracts,
393
+ limitOrder: {
394
+ address: viem.zeroAddress,
395
+ },
396
+ nftManager: {
397
+ address: "0x655C406EBFa14EE2006250925e54ec43AD184f8B",
398
+ },
399
+ weth9: {
400
+ address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
401
+ },
402
+ multicall2: {
403
+ address: "0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",
404
+ },
405
+ multicall3: {
406
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
407
+ },
408
+ },
409
+ });
410
+
333
411
  const base = makeConfig({
334
412
  ...chains.base,
335
413
  sortIndex: 8,
@@ -5962,10 +6040,12 @@ const MAINNET_CHAINS = [
5962
6040
  matchain,
5963
6041
  plasma,
5964
6042
  zerog,
6043
+ avalanche,
5965
6044
  ];
5966
6045
 
5967
6046
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
5968
6047
  exports.arbitrum = arbitrum;
6048
+ exports.avalanche = avalanche;
5969
6049
  exports.base = base;
5970
6050
  exports.blast = blast;
5971
6051
  exports.bob = bob;