@gfxlabs/oku-chains 1.1.247 → 1.1.249
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 +106 -5
- package/dist/index-mjs.js +107 -7
- package/dist/index.js +106 -5
- package/dist/types/browser.d.ts +965 -155
- package/dist/types/index-mjs.d.ts +965 -155
- package/dist/types/index.d.ts +965 -155
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -1241,13 +1241,15 @@
|
|
|
1241
1241
|
bridges: {
|
|
1242
1242
|
stargate: {
|
|
1243
1243
|
endpointID: 30292,
|
|
1244
|
-
tokens: [
|
|
1244
|
+
tokens: [
|
|
1245
|
+
{
|
|
1245
1246
|
name: "WXTZ",
|
|
1246
1247
|
type: "OFT",
|
|
1247
1248
|
id: 20,
|
|
1248
|
-
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb"
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1249
|
+
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1250
|
+
},
|
|
1251
|
+
],
|
|
1252
|
+
},
|
|
1251
1253
|
},
|
|
1252
1254
|
oracles: {},
|
|
1253
1255
|
morpho: {},
|
|
@@ -1292,7 +1294,11 @@
|
|
|
1292
1294
|
"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1293
1295
|
"0x2C03058C8AFC06713be23e58D2febC8337dbfE6A",
|
|
1294
1296
|
],
|
|
1295
|
-
watchlist: [
|
|
1297
|
+
watchlist: [
|
|
1298
|
+
"0x659fe227a739d7961f3c7bbc090ea9bfafcc2a74",
|
|
1299
|
+
"0xd03b92a27947bb08dd269107d4df00f8ab53fc28",
|
|
1300
|
+
"0x2a5120e8b04e7f2d3fbbbd82afb4cd70de0f5d0e",
|
|
1301
|
+
],
|
|
1296
1302
|
internalName: "etherlink",
|
|
1297
1303
|
nativeLogoUrl: "https://assets.oku.trade/natives/xtz.png",
|
|
1298
1304
|
contracts: {
|
|
@@ -4600,6 +4606,99 @@
|
|
|
4600
4606
|
},
|
|
4601
4607
|
});
|
|
4602
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.png",
|
|
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
|
+
|
|
4603
4702
|
const worldchain = makeConfig({
|
|
4604
4703
|
...chains.worldchain,
|
|
4605
4704
|
blockTimeSeconds: 2,
|
|
@@ -5070,6 +5169,7 @@
|
|
|
5070
5169
|
lens,
|
|
5071
5170
|
nibiru,
|
|
5072
5171
|
etherlink,
|
|
5172
|
+
unichain,
|
|
5073
5173
|
];
|
|
5074
5174
|
|
|
5075
5175
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -5108,6 +5208,7 @@
|
|
|
5108
5208
|
exports.taiko = taiko;
|
|
5109
5209
|
exports.telos = telos;
|
|
5110
5210
|
exports.tronShasta = tronShasta;
|
|
5211
|
+
exports.unichain = unichain;
|
|
5111
5212
|
exports.worldchain = worldchain;
|
|
5112
5213
|
exports.xdc = xdc;
|
|
5113
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) => {
|
|
@@ -1238,13 +1238,15 @@ const etherlink = makeConfig({
|
|
|
1238
1238
|
bridges: {
|
|
1239
1239
|
stargate: {
|
|
1240
1240
|
endpointID: 30292,
|
|
1241
|
-
tokens: [
|
|
1241
|
+
tokens: [
|
|
1242
|
+
{
|
|
1242
1243
|
name: "WXTZ",
|
|
1243
1244
|
type: "OFT",
|
|
1244
1245
|
id: 20,
|
|
1245
|
-
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb"
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1246
|
+
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1247
|
+
},
|
|
1248
|
+
],
|
|
1249
|
+
},
|
|
1248
1250
|
},
|
|
1249
1251
|
oracles: {},
|
|
1250
1252
|
morpho: {},
|
|
@@ -1289,7 +1291,11 @@ const etherlink = makeConfig({
|
|
|
1289
1291
|
"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1290
1292
|
"0x2C03058C8AFC06713be23e58D2febC8337dbfE6A",
|
|
1291
1293
|
],
|
|
1292
|
-
watchlist: [
|
|
1294
|
+
watchlist: [
|
|
1295
|
+
"0x659fe227a739d7961f3c7bbc090ea9bfafcc2a74",
|
|
1296
|
+
"0xd03b92a27947bb08dd269107d4df00f8ab53fc28",
|
|
1297
|
+
"0x2a5120e8b04e7f2d3fbbbd82afb4cd70de0f5d0e",
|
|
1298
|
+
],
|
|
1293
1299
|
internalName: "etherlink",
|
|
1294
1300
|
nativeLogoUrl: "https://assets.oku.trade/natives/xtz.png",
|
|
1295
1301
|
contracts: {
|
|
@@ -4597,6 +4603,99 @@ const tronShasta = makeConfig({
|
|
|
4597
4603
|
},
|
|
4598
4604
|
});
|
|
4599
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.png",
|
|
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
|
+
|
|
4600
4699
|
const worldchain = makeConfig({
|
|
4601
4700
|
...worldchain$1,
|
|
4602
4701
|
blockTimeSeconds: 2,
|
|
@@ -5067,6 +5166,7 @@ const MAINNET_CHAINS = [
|
|
|
5067
5166
|
lens,
|
|
5068
5167
|
nibiru,
|
|
5069
5168
|
etherlink,
|
|
5169
|
+
unichain,
|
|
5070
5170
|
];
|
|
5071
5171
|
|
|
5072
|
-
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
|
@@ -1240,13 +1240,15 @@ const etherlink = makeConfig({
|
|
|
1240
1240
|
bridges: {
|
|
1241
1241
|
stargate: {
|
|
1242
1242
|
endpointID: 30292,
|
|
1243
|
-
tokens: [
|
|
1243
|
+
tokens: [
|
|
1244
|
+
{
|
|
1244
1245
|
name: "WXTZ",
|
|
1245
1246
|
type: "OFT",
|
|
1246
1247
|
id: 20,
|
|
1247
|
-
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb"
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1248
|
+
address: "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb",
|
|
1249
|
+
},
|
|
1250
|
+
],
|
|
1251
|
+
},
|
|
1250
1252
|
},
|
|
1251
1253
|
oracles: {},
|
|
1252
1254
|
morpho: {},
|
|
@@ -1291,7 +1293,11 @@ const etherlink = makeConfig({
|
|
|
1291
1293
|
"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
|
|
1292
1294
|
"0x2C03058C8AFC06713be23e58D2febC8337dbfE6A",
|
|
1293
1295
|
],
|
|
1294
|
-
watchlist: [
|
|
1296
|
+
watchlist: [
|
|
1297
|
+
"0x659fe227a739d7961f3c7bbc090ea9bfafcc2a74",
|
|
1298
|
+
"0xd03b92a27947bb08dd269107d4df00f8ab53fc28",
|
|
1299
|
+
"0x2a5120e8b04e7f2d3fbbbd82afb4cd70de0f5d0e",
|
|
1300
|
+
],
|
|
1295
1301
|
internalName: "etherlink",
|
|
1296
1302
|
nativeLogoUrl: "https://assets.oku.trade/natives/xtz.png",
|
|
1297
1303
|
contracts: {
|
|
@@ -4599,6 +4605,99 @@ const tronShasta = makeConfig({
|
|
|
4599
4605
|
},
|
|
4600
4606
|
});
|
|
4601
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.png",
|
|
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
|
+
|
|
4602
4701
|
const worldchain = makeConfig({
|
|
4603
4702
|
...chains.worldchain,
|
|
4604
4703
|
blockTimeSeconds: 2,
|
|
@@ -5069,6 +5168,7 @@ const MAINNET_CHAINS = [
|
|
|
5069
5168
|
lens,
|
|
5070
5169
|
nibiru,
|
|
5071
5170
|
etherlink,
|
|
5171
|
+
unichain,
|
|
5072
5172
|
];
|
|
5073
5173
|
|
|
5074
5174
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -5107,6 +5207,7 @@ exports.sonic = sonic;
|
|
|
5107
5207
|
exports.taiko = taiko;
|
|
5108
5208
|
exports.telos = telos;
|
|
5109
5209
|
exports.tronShasta = tronShasta;
|
|
5210
|
+
exports.unichain = unichain;
|
|
5110
5211
|
exports.worldchain = worldchain;
|
|
5111
5212
|
exports.xdc = xdc;
|
|
5112
5213
|
exports.zkSync = zkSync;
|