@gfxlabs/oku-chains 1.1.248 → 1.1.250

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
@@ -4606,6 +4606,99 @@
4606
4606
  },
4607
4607
  });
4608
4608
 
4609
+ const unichain = makeConfig({
4610
+ ...chains.unichain,
4611
+ name: "Unichain",
4612
+ blockTimeSeconds: 1,
4613
+ launchTime: 1733882663,
4614
+ sortIndex: 15,
4615
+ logoUrl: "https://assets.oku.trade/chains/unichain-logo.svg",
4616
+ safeReorgDistance: 90000,
4617
+ externalId: {
4618
+ tenderly: "true",
4619
+ },
4620
+ markets: {},
4621
+ bridges: {},
4622
+ oracles: {},
4623
+ morpho: {},
4624
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4625
+ uniswap: {
4626
+ deployBlock: 0,
4627
+ poolFactory: "0x1f98400000000000000000000000000000000003",
4628
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
4629
+ multicall2: "0xb7610f9b733e7d45184be3a1bc966960ccc54f0b",
4630
+ tickLens: "0xd5d76fa166ab8d8ad4c9f61aaa81457b66cbe443",
4631
+ nonfungiblePositionManager: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4632
+ positionsNFT: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4633
+ positionsNFTDeployBlock: 294152,
4634
+ universalRouter: "0xef740bf23acae26f6492b10de645d6b98dc8eaf3",
4635
+ wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
4636
+ wrappedNativeSymbol: "WETH",
4637
+ wrappedNativeName: "Wrapped Ether",
4638
+ wrappedNativeDecimals: 18,
4639
+ nativeCurrencyName: "ETH",
4640
+ },
4641
+ token: {
4642
+ wethAddress: "0x4200000000000000000000000000000000000006",
4643
+ },
4644
+ oku: {
4645
+ limitOrderRegistry: undefined,
4646
+ limitOrderRegistryDeployBlock: 0,
4647
+ pricing: {
4648
+ nativeWrappedToken: "0x4200000000000000000000000000000000000006",
4649
+ nativeWrappedName: "ETH",
4650
+ },
4651
+ },
4652
+ defaultPool: "0x65081CB48d74A32e9CCfED75164b8c09972DBcF1",
4653
+ defaultToken0: "0x078d782b760474a361dda0af3839290b0ef57ad6",
4654
+ defaultToken1: "0x4200000000000000000000000000000000000006",
4655
+ tokenList: [
4656
+ { symbol: "USDC", address: "0x078d782b760474a361dda0af3839290b0ef57ad6" },
4657
+ { symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
4658
+ { symbol: "UNI", address: "0x8f187aa05619a017077f5308904739877ce9ea21" },
4659
+ ],
4660
+ stables: [
4661
+ "0x078d782b760474a361dda0af3839290b0ef57ad6",
4662
+ "0x9151434b16b9763660705744891fa906f660ecc5",
4663
+ "0x20cab320a855b39f724131c69424240519573f81",
4664
+ ],
4665
+ watchlist: [
4666
+ "0x65081CB48d74A32e9CCfED75164b8c09972DBcF1",
4667
+ "0x5C75bFB6194D7D763d33eA292cBc50cDa806451B",
4668
+ "0xd49174DbA635489C67fA628864C2D0d04824eBd8",
4669
+ "0xbDA709a0665b340898856B8B29FF87079bb130D3",
4670
+ "0x18b268965E4E702bDf13469205937894b8Ab0Ee8",
4671
+ "0xFF9722Cb0712261A7F02A451dd178De10234Ad0c",
4672
+ "0x6b918c9F87B46a758C2B51bce427C8028DaCb720",
4673
+ "0x1D6ae37DB0e36305019fB3d4bad2750B8784aDF9",
4674
+ "0x12095933f1eeB066176dD2E41e5a2F8bE6974616",
4675
+ "0x8EB4b07AFFbd1083F42032EeD35Cd32e382Ee8b7",
4676
+ "0xfBC45aB96D02E150b2DDEb7dd4EAcd3D8c674F4a",
4677
+ "0x18CE92e7a37D994657f97c3DeFAf880A805F08d5",
4678
+ "0xc673d5164103357A7537C36438A6326776A14bbd",
4679
+ "0xa9c6669dE2C04C2ADb22Ac7A65D75B47FEe30E35",
4680
+ "0x8927058918e3CFf6F55EfE45A58db1be1F069E49",
4681
+ ],
4682
+ internalName: "unichain",
4683
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
4684
+ contracts: {
4685
+ ...chains.unichain.contracts,
4686
+ // TODO: add limit order registry
4687
+ nftManager: {
4688
+ address: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4689
+ },
4690
+ weth9: {
4691
+ address: "0x4200000000000000000000000000000000000006",
4692
+ },
4693
+ multicall2: {
4694
+ address: "0xb7610f9b733e7d45184be3a1bc966960ccc54f0b",
4695
+ },
4696
+ multicall3: {
4697
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4698
+ },
4699
+ },
4700
+ });
4701
+
4609
4702
  const worldchain = makeConfig({
4610
4703
  ...chains.worldchain,
4611
4704
  blockTimeSeconds: 2,
@@ -5076,6 +5169,7 @@
5076
5169
  lens,
5077
5170
  nibiru,
5078
5171
  etherlink,
5172
+ unichain,
5079
5173
  ];
5080
5174
 
5081
5175
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -5114,6 +5208,7 @@
5114
5208
  exports.taiko = taiko;
5115
5209
  exports.telos = telos;
5116
5210
  exports.tronShasta = tronShasta;
5211
+ exports.unichain = unichain;
5117
5212
  exports.worldchain = worldchain;
5118
5213
  exports.xdc = xdc;
5119
5214
  exports.zkSync = zkSync;
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, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$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, tronShasta as tronShasta$1, worldchain as worldchain$1, xdc as xdc$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, 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, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$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, tronShasta as tronShasta$1, unichain as unichain$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) => {
@@ -4603,6 +4603,99 @@ const tronShasta = makeConfig({
4603
4603
  },
4604
4604
  });
4605
4605
 
4606
+ const unichain = makeConfig({
4607
+ ...unichain$1,
4608
+ name: "Unichain",
4609
+ blockTimeSeconds: 1,
4610
+ launchTime: 1733882663,
4611
+ sortIndex: 15,
4612
+ logoUrl: "https://assets.oku.trade/chains/unichain-logo.svg",
4613
+ safeReorgDistance: 90000,
4614
+ externalId: {
4615
+ tenderly: "true",
4616
+ },
4617
+ markets: {},
4618
+ bridges: {},
4619
+ oracles: {},
4620
+ morpho: {},
4621
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4622
+ uniswap: {
4623
+ deployBlock: 0,
4624
+ poolFactory: "0x1f98400000000000000000000000000000000003",
4625
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
4626
+ multicall2: "0xb7610f9b733e7d45184be3a1bc966960ccc54f0b",
4627
+ tickLens: "0xd5d76fa166ab8d8ad4c9f61aaa81457b66cbe443",
4628
+ nonfungiblePositionManager: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4629
+ positionsNFT: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4630
+ positionsNFTDeployBlock: 294152,
4631
+ universalRouter: "0xef740bf23acae26f6492b10de645d6b98dc8eaf3",
4632
+ wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
4633
+ wrappedNativeSymbol: "WETH",
4634
+ wrappedNativeName: "Wrapped Ether",
4635
+ wrappedNativeDecimals: 18,
4636
+ nativeCurrencyName: "ETH",
4637
+ },
4638
+ token: {
4639
+ wethAddress: "0x4200000000000000000000000000000000000006",
4640
+ },
4641
+ oku: {
4642
+ limitOrderRegistry: undefined,
4643
+ limitOrderRegistryDeployBlock: 0,
4644
+ pricing: {
4645
+ nativeWrappedToken: "0x4200000000000000000000000000000000000006",
4646
+ nativeWrappedName: "ETH",
4647
+ },
4648
+ },
4649
+ defaultPool: "0x65081CB48d74A32e9CCfED75164b8c09972DBcF1",
4650
+ defaultToken0: "0x078d782b760474a361dda0af3839290b0ef57ad6",
4651
+ defaultToken1: "0x4200000000000000000000000000000000000006",
4652
+ tokenList: [
4653
+ { symbol: "USDC", address: "0x078d782b760474a361dda0af3839290b0ef57ad6" },
4654
+ { symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
4655
+ { symbol: "UNI", address: "0x8f187aa05619a017077f5308904739877ce9ea21" },
4656
+ ],
4657
+ stables: [
4658
+ "0x078d782b760474a361dda0af3839290b0ef57ad6",
4659
+ "0x9151434b16b9763660705744891fa906f660ecc5",
4660
+ "0x20cab320a855b39f724131c69424240519573f81",
4661
+ ],
4662
+ watchlist: [
4663
+ "0x65081CB48d74A32e9CCfED75164b8c09972DBcF1",
4664
+ "0x5C75bFB6194D7D763d33eA292cBc50cDa806451B",
4665
+ "0xd49174DbA635489C67fA628864C2D0d04824eBd8",
4666
+ "0xbDA709a0665b340898856B8B29FF87079bb130D3",
4667
+ "0x18b268965E4E702bDf13469205937894b8Ab0Ee8",
4668
+ "0xFF9722Cb0712261A7F02A451dd178De10234Ad0c",
4669
+ "0x6b918c9F87B46a758C2B51bce427C8028DaCb720",
4670
+ "0x1D6ae37DB0e36305019fB3d4bad2750B8784aDF9",
4671
+ "0x12095933f1eeB066176dD2E41e5a2F8bE6974616",
4672
+ "0x8EB4b07AFFbd1083F42032EeD35Cd32e382Ee8b7",
4673
+ "0xfBC45aB96D02E150b2DDEb7dd4EAcd3D8c674F4a",
4674
+ "0x18CE92e7a37D994657f97c3DeFAf880A805F08d5",
4675
+ "0xc673d5164103357A7537C36438A6326776A14bbd",
4676
+ "0xa9c6669dE2C04C2ADb22Ac7A65D75B47FEe30E35",
4677
+ "0x8927058918e3CFf6F55EfE45A58db1be1F069E49",
4678
+ ],
4679
+ internalName: "unichain",
4680
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
4681
+ contracts: {
4682
+ ...unichain$1.contracts,
4683
+ // TODO: add limit order registry
4684
+ nftManager: {
4685
+ address: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4686
+ },
4687
+ weth9: {
4688
+ address: "0x4200000000000000000000000000000000000006",
4689
+ },
4690
+ multicall2: {
4691
+ address: "0xb7610f9b733e7d45184be3a1bc966960ccc54f0b",
4692
+ },
4693
+ multicall3: {
4694
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4695
+ },
4696
+ },
4697
+ });
4698
+
4606
4699
  const worldchain = makeConfig({
4607
4700
  ...worldchain$1,
4608
4701
  blockTimeSeconds: 2,
@@ -5073,6 +5166,7 @@ const MAINNET_CHAINS = [
5073
5166
  lens,
5074
5167
  nibiru,
5075
5168
  etherlink,
5169
+ unichain,
5076
5170
  ];
5077
5171
 
5078
- export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, metal, moonbeam, nibiru, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, worldchain, xdc, zkSync };
5172
+ export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, metal, moonbeam, nibiru, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zkSync };
package/dist/index.js CHANGED
@@ -4605,6 +4605,99 @@ const tronShasta = makeConfig({
4605
4605
  },
4606
4606
  });
4607
4607
 
4608
+ const unichain = makeConfig({
4609
+ ...chains.unichain,
4610
+ name: "Unichain",
4611
+ blockTimeSeconds: 1,
4612
+ launchTime: 1733882663,
4613
+ sortIndex: 15,
4614
+ logoUrl: "https://assets.oku.trade/chains/unichain-logo.svg",
4615
+ safeReorgDistance: 90000,
4616
+ externalId: {
4617
+ tenderly: "true",
4618
+ },
4619
+ markets: {},
4620
+ bridges: {},
4621
+ oracles: {},
4622
+ morpho: {},
4623
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
4624
+ uniswap: {
4625
+ deployBlock: 0,
4626
+ poolFactory: "0x1f98400000000000000000000000000000000003",
4627
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
4628
+ multicall2: "0xb7610f9b733e7d45184be3a1bc966960ccc54f0b",
4629
+ tickLens: "0xd5d76fa166ab8d8ad4c9f61aaa81457b66cbe443",
4630
+ nonfungiblePositionManager: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4631
+ positionsNFT: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4632
+ positionsNFTDeployBlock: 294152,
4633
+ universalRouter: "0xef740bf23acae26f6492b10de645d6b98dc8eaf3",
4634
+ wrappedNativeAddress: "0x4200000000000000000000000000000000000006",
4635
+ wrappedNativeSymbol: "WETH",
4636
+ wrappedNativeName: "Wrapped Ether",
4637
+ wrappedNativeDecimals: 18,
4638
+ nativeCurrencyName: "ETH",
4639
+ },
4640
+ token: {
4641
+ wethAddress: "0x4200000000000000000000000000000000000006",
4642
+ },
4643
+ oku: {
4644
+ limitOrderRegistry: undefined,
4645
+ limitOrderRegistryDeployBlock: 0,
4646
+ pricing: {
4647
+ nativeWrappedToken: "0x4200000000000000000000000000000000000006",
4648
+ nativeWrappedName: "ETH",
4649
+ },
4650
+ },
4651
+ defaultPool: "0x65081CB48d74A32e9CCfED75164b8c09972DBcF1",
4652
+ defaultToken0: "0x078d782b760474a361dda0af3839290b0ef57ad6",
4653
+ defaultToken1: "0x4200000000000000000000000000000000000006",
4654
+ tokenList: [
4655
+ { symbol: "USDC", address: "0x078d782b760474a361dda0af3839290b0ef57ad6" },
4656
+ { symbol: "WETH", address: "0x4200000000000000000000000000000000000006" },
4657
+ { symbol: "UNI", address: "0x8f187aa05619a017077f5308904739877ce9ea21" },
4658
+ ],
4659
+ stables: [
4660
+ "0x078d782b760474a361dda0af3839290b0ef57ad6",
4661
+ "0x9151434b16b9763660705744891fa906f660ecc5",
4662
+ "0x20cab320a855b39f724131c69424240519573f81",
4663
+ ],
4664
+ watchlist: [
4665
+ "0x65081CB48d74A32e9CCfED75164b8c09972DBcF1",
4666
+ "0x5C75bFB6194D7D763d33eA292cBc50cDa806451B",
4667
+ "0xd49174DbA635489C67fA628864C2D0d04824eBd8",
4668
+ "0xbDA709a0665b340898856B8B29FF87079bb130D3",
4669
+ "0x18b268965E4E702bDf13469205937894b8Ab0Ee8",
4670
+ "0xFF9722Cb0712261A7F02A451dd178De10234Ad0c",
4671
+ "0x6b918c9F87B46a758C2B51bce427C8028DaCb720",
4672
+ "0x1D6ae37DB0e36305019fB3d4bad2750B8784aDF9",
4673
+ "0x12095933f1eeB066176dD2E41e5a2F8bE6974616",
4674
+ "0x8EB4b07AFFbd1083F42032EeD35Cd32e382Ee8b7",
4675
+ "0xfBC45aB96D02E150b2DDEb7dd4EAcd3D8c674F4a",
4676
+ "0x18CE92e7a37D994657f97c3DeFAf880A805F08d5",
4677
+ "0xc673d5164103357A7537C36438A6326776A14bbd",
4678
+ "0xa9c6669dE2C04C2ADb22Ac7A65D75B47FEe30E35",
4679
+ "0x8927058918e3CFf6F55EfE45A58db1be1F069E49",
4680
+ ],
4681
+ internalName: "unichain",
4682
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
4683
+ contracts: {
4684
+ ...chains.unichain.contracts,
4685
+ // TODO: add limit order registry
4686
+ nftManager: {
4687
+ address: "0x943e6e07a7e8e791dafc44083e54041d743c46e9",
4688
+ },
4689
+ weth9: {
4690
+ address: "0x4200000000000000000000000000000000000006",
4691
+ },
4692
+ multicall2: {
4693
+ address: "0xb7610f9b733e7d45184be3a1bc966960ccc54f0b",
4694
+ },
4695
+ multicall3: {
4696
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
4697
+ },
4698
+ },
4699
+ });
4700
+
4608
4701
  const worldchain = makeConfig({
4609
4702
  ...chains.worldchain,
4610
4703
  blockTimeSeconds: 2,
@@ -5075,6 +5168,7 @@ const MAINNET_CHAINS = [
5075
5168
  lens,
5076
5169
  nibiru,
5077
5170
  etherlink,
5171
+ unichain,
5078
5172
  ];
5079
5173
 
5080
5174
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -5113,6 +5207,7 @@ exports.sonic = sonic;
5113
5207
  exports.taiko = taiko;
5114
5208
  exports.telos = telos;
5115
5209
  exports.tronShasta = tronShasta;
5210
+ exports.unichain = unichain;
5116
5211
  exports.worldchain = worldchain;
5117
5212
  exports.xdc = xdc;
5118
5213
  exports.zkSync = zkSync;