@gfxlabs/oku-chains 1.1.69 → 1.1.71

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;
@@ -1158,7 +1158,7 @@
1158
1158
  ],
1159
1159
  stables: [
1160
1160
  "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE",
1161
- "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111",
1161
+ "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9",
1162
1162
  ],
1163
1163
  watchlist: [
1164
1164
  "0x086F766b336DFB0f705Dc030dB01993b22D81266",
@@ -2091,6 +2091,82 @@
2091
2091
  },
2092
2092
  });
2093
2093
 
2094
+ const zkLink = makeConfig({
2095
+ ...chains.zkLinkNova,
2096
+ blockTimeSeconds: 2,
2097
+ sortIndex: 4,
2098
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg",
2099
+ safeReorgDistance: 90000,
2100
+ externalId: {
2101
+ zerion: "",
2102
+ },
2103
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed",
2104
+ uniswap: {
2105
+ deployBlock: 3919184,
2106
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249",
2107
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974",
2108
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0",
2109
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2110
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2111
+ positionsNFTDeployBlock: 3919226,
2112
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193",
2113
+ },
2114
+ token: {
2115
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509",
2116
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2117
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f",
2118
+ },
2119
+ oku: {
2120
+ // TODO: limitOrderRegistry
2121
+ limitOrderRegistry: viem.zeroAddress,
2122
+ limitOrderRegistryDeployBlock: 0,
2123
+ pricing: {
2124
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2125
+ nativeWrappedName: "ETH",
2126
+ },
2127
+ },
2128
+ // TODO: defaultPool
2129
+ defaultPool: viem.zeroAddress,
2130
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2131
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509",
2132
+ tokenList: [
2133
+ { symbol: "WETH", address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169" },
2134
+ { symbol: "USDC", address: "0x1a1A3b2ff016332e866787B311fcB63928464509" },
2135
+ { symbol: "WBTC", address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f" },
2136
+ { symbol: "USDT", address: "0x2F8A25ac62179B31D62D7F80884AE57464699059" },
2137
+ { symbol: "DAI", address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab" },
2138
+ ],
2139
+ stables: [
2140
+ "0x1a1A3b2ff016332e866787B311fcB63928464509",
2141
+ "0x2F8A25ac62179B31D62D7F80884AE57464699059",
2142
+ "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab",
2143
+ ],
2144
+ // TODO: watchlist
2145
+ watchlist: [],
2146
+ internalName: "zklink",
2147
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
2148
+ contracts: {
2149
+ ...chains.zkLinkNova.contracts,
2150
+ limitOrder: {
2151
+ // TODO: limitOrder
2152
+ address: viem.zeroAddress,
2153
+ },
2154
+ nftManager: {
2155
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2156
+ },
2157
+ weth9: {
2158
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2159
+ },
2160
+ multicall2: {
2161
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974",
2162
+ },
2163
+ multicall3: {
2164
+ // TODO: multicall3
2165
+ address: viem.zeroAddress,
2166
+ },
2167
+ },
2168
+ });
2169
+
2094
2170
  const zkSync = makeConfig({
2095
2171
  ...chains.zkSync,
2096
2172
  blockTimeSeconds: 2,
@@ -2203,6 +2279,7 @@
2203
2279
  taiko,
2204
2280
  mantle,
2205
2281
  sei,
2282
+ zkLink,
2206
2283
  ];
2207
2284
 
2208
2285
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -2224,6 +2301,7 @@
2224
2301
  exports.scroll = scroll;
2225
2302
  exports.sei = sei;
2226
2303
  exports.taiko = taiko;
2304
+ exports.zkLink = zkLink;
2227
2305
  exports.zkSync = zkSync;
2228
2306
 
2229
2307
  }));
package/dist/index-mjs.js CHANGED
@@ -1,4 +1,5 @@
1
- import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, linea as linea$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, sei as sei$1, taiko as taiko$1, polygonZkEvm as polygonZkEvm$1, zkSync as zkSync$1 } from 'viem/chains';
1
+ import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, linea as linea$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, sei as sei$1, taiko as taiko$1, polygonZkEvm as polygonZkEvm$1, zkLinkNova, zkSync as zkSync$1 } from 'viem/chains';
2
+ import { zeroAddress } from 'viem';
2
3
 
3
4
  const makeConfig = (x) => {
4
5
  return x;
@@ -1154,7 +1155,7 @@ const mantle = makeConfig({
1154
1155
  ],
1155
1156
  stables: [
1156
1157
  "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE",
1157
- "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111",
1158
+ "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9",
1158
1159
  ],
1159
1160
  watchlist: [
1160
1161
  "0x086F766b336DFB0f705Dc030dB01993b22D81266",
@@ -2087,6 +2088,82 @@ const polygonZkEvm = makeConfig({
2087
2088
  },
2088
2089
  });
2089
2090
 
2091
+ const zkLink = makeConfig({
2092
+ ...zkLinkNova,
2093
+ blockTimeSeconds: 2,
2094
+ sortIndex: 4,
2095
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg",
2096
+ safeReorgDistance: 90000,
2097
+ externalId: {
2098
+ zerion: "",
2099
+ },
2100
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed",
2101
+ uniswap: {
2102
+ deployBlock: 3919184,
2103
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249",
2104
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974",
2105
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0",
2106
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2107
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2108
+ positionsNFTDeployBlock: 3919226,
2109
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193",
2110
+ },
2111
+ token: {
2112
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509",
2113
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2114
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f",
2115
+ },
2116
+ oku: {
2117
+ // TODO: limitOrderRegistry
2118
+ limitOrderRegistry: zeroAddress,
2119
+ limitOrderRegistryDeployBlock: 0,
2120
+ pricing: {
2121
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2122
+ nativeWrappedName: "ETH",
2123
+ },
2124
+ },
2125
+ // TODO: defaultPool
2126
+ defaultPool: zeroAddress,
2127
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2128
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509",
2129
+ tokenList: [
2130
+ { symbol: "WETH", address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169" },
2131
+ { symbol: "USDC", address: "0x1a1A3b2ff016332e866787B311fcB63928464509" },
2132
+ { symbol: "WBTC", address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f" },
2133
+ { symbol: "USDT", address: "0x2F8A25ac62179B31D62D7F80884AE57464699059" },
2134
+ { symbol: "DAI", address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab" },
2135
+ ],
2136
+ stables: [
2137
+ "0x1a1A3b2ff016332e866787B311fcB63928464509",
2138
+ "0x2F8A25ac62179B31D62D7F80884AE57464699059",
2139
+ "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab",
2140
+ ],
2141
+ // TODO: watchlist
2142
+ watchlist: [],
2143
+ internalName: "zklink",
2144
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
2145
+ contracts: {
2146
+ ...zkLinkNova.contracts,
2147
+ limitOrder: {
2148
+ // TODO: limitOrder
2149
+ address: zeroAddress,
2150
+ },
2151
+ nftManager: {
2152
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2153
+ },
2154
+ weth9: {
2155
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2156
+ },
2157
+ multicall2: {
2158
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974",
2159
+ },
2160
+ multicall3: {
2161
+ // TODO: multicall3
2162
+ address: zeroAddress,
2163
+ },
2164
+ },
2165
+ });
2166
+
2090
2167
  const zkSync = makeConfig({
2091
2168
  ...zkSync$1,
2092
2169
  blockTimeSeconds: 2,
@@ -2199,6 +2276,7 @@ const MAINNET_CHAINS = [
2199
2276
  taiko,
2200
2277
  mantle,
2201
2278
  sei,
2279
+ zkLink,
2202
2280
  ];
2203
2281
 
2204
- export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, sei, taiko, zkSync };
2282
+ export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, sei, taiko, zkLink, 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;
@@ -1156,7 +1157,7 @@ const mantle = makeConfig({
1156
1157
  ],
1157
1158
  stables: [
1158
1159
  "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE",
1159
- "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111",
1160
+ "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9",
1160
1161
  ],
1161
1162
  watchlist: [
1162
1163
  "0x086F766b336DFB0f705Dc030dB01993b22D81266",
@@ -2089,6 +2090,82 @@ const polygonZkEvm = makeConfig({
2089
2090
  },
2090
2091
  });
2091
2092
 
2093
+ const zkLink = makeConfig({
2094
+ ...chains.zkLinkNova,
2095
+ blockTimeSeconds: 2,
2096
+ sortIndex: 4,
2097
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg",
2098
+ safeReorgDistance: 90000,
2099
+ externalId: {
2100
+ zerion: "",
2101
+ },
2102
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed",
2103
+ uniswap: {
2104
+ deployBlock: 3919184,
2105
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249",
2106
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974",
2107
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0",
2108
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2109
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2110
+ positionsNFTDeployBlock: 3919226,
2111
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193",
2112
+ },
2113
+ token: {
2114
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509",
2115
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2116
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f",
2117
+ },
2118
+ oku: {
2119
+ // TODO: limitOrderRegistry
2120
+ limitOrderRegistry: viem.zeroAddress,
2121
+ limitOrderRegistryDeployBlock: 0,
2122
+ pricing: {
2123
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2124
+ nativeWrappedName: "ETH",
2125
+ },
2126
+ },
2127
+ // TODO: defaultPool
2128
+ defaultPool: viem.zeroAddress,
2129
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2130
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509",
2131
+ tokenList: [
2132
+ { symbol: "WETH", address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169" },
2133
+ { symbol: "USDC", address: "0x1a1A3b2ff016332e866787B311fcB63928464509" },
2134
+ { symbol: "WBTC", address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f" },
2135
+ { symbol: "USDT", address: "0x2F8A25ac62179B31D62D7F80884AE57464699059" },
2136
+ { symbol: "DAI", address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab" },
2137
+ ],
2138
+ stables: [
2139
+ "0x1a1A3b2ff016332e866787B311fcB63928464509",
2140
+ "0x2F8A25ac62179B31D62D7F80884AE57464699059",
2141
+ "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab",
2142
+ ],
2143
+ // TODO: watchlist
2144
+ watchlist: [],
2145
+ internalName: "zklink",
2146
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
2147
+ contracts: {
2148
+ ...chains.zkLinkNova.contracts,
2149
+ limitOrder: {
2150
+ // TODO: limitOrder
2151
+ address: viem.zeroAddress,
2152
+ },
2153
+ nftManager: {
2154
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b",
2155
+ },
2156
+ weth9: {
2157
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169",
2158
+ },
2159
+ multicall2: {
2160
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974",
2161
+ },
2162
+ multicall3: {
2163
+ // TODO: multicall3
2164
+ address: viem.zeroAddress,
2165
+ },
2166
+ },
2167
+ });
2168
+
2092
2169
  const zkSync = makeConfig({
2093
2170
  ...chains.zkSync,
2094
2171
  blockTimeSeconds: 2,
@@ -2201,6 +2278,7 @@ const MAINNET_CHAINS = [
2201
2278
  taiko,
2202
2279
  mantle,
2203
2280
  sei,
2281
+ zkLink,
2204
2282
  ];
2205
2283
 
2206
2284
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -2222,4 +2300,5 @@ exports.rootstock = rootstock;
2222
2300
  exports.scroll = scroll;
2223
2301
  exports.sei = sei;
2224
2302
  exports.taiko = taiko;
2303
+ exports.zkLink = zkLink;
2225
2304
  exports.zkSync = zkSync;
@@ -1221,7 +1221,7 @@ declare const mantle: Readonly<{
1221
1221
  symbol: string;
1222
1222
  address: "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9";
1223
1223
  })[];
1224
- stables: ("0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE" | "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111")[];
1224
+ stables: ("0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9" | "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE")[];
1225
1225
  watchlist: ("0x086F766b336DFB0f705Dc030dB01993b22D81266" | "0x076eb72E74C16b208c692EEAB3750978D76B8F28" | "0xFc60a4d05ac8C93F62276e046Ad5a098f5C7820a" | "0x4cdFc22bF05209de87Ee564746Dc7E5174631d2b" | "0x48EF5640E71001CaC842f5627A0bfec1EF09DeB7" | "0x8CFee38ab8b8f4BC2ff662E8cc8bDfb0439C9D2C")[];
1226
1226
  internalName: "mantle";
1227
1227
  nativeLogoUrl: "https://assets.oku.trade/natives/mnt.png";
@@ -2332,6 +2332,107 @@ declare const polygonZkEvm: Readonly<{
2332
2332
  formatters?: undefined;
2333
2333
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
2334
2334
  }>;
2335
+ declare const zkLink: Readonly<{
2336
+ blockTimeSeconds: 2;
2337
+ sortIndex: 4;
2338
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg";
2339
+ safeReorgDistance: 90000;
2340
+ externalId: {
2341
+ zerion: string;
2342
+ };
2343
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
2344
+ uniswap: {
2345
+ deployBlock: number;
2346
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249";
2347
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
2348
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0";
2349
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2350
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2351
+ positionsNFTDeployBlock: number;
2352
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193";
2353
+ };
2354
+ token: {
2355
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2356
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2357
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
2358
+ };
2359
+ oku: {
2360
+ limitOrderRegistry: "0x0000000000000000000000000000000000000000";
2361
+ limitOrderRegistryDeployBlock: number;
2362
+ pricing: {
2363
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2364
+ nativeWrappedName: string;
2365
+ };
2366
+ };
2367
+ defaultPool: "0x0000000000000000000000000000000000000000";
2368
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2369
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2370
+ tokenList: ({
2371
+ symbol: string;
2372
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2373
+ } | {
2374
+ symbol: string;
2375
+ address: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2376
+ } | {
2377
+ symbol: string;
2378
+ address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
2379
+ } | {
2380
+ symbol: string;
2381
+ address: "0x2F8A25ac62179B31D62D7F80884AE57464699059";
2382
+ } | {
2383
+ symbol: string;
2384
+ address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab";
2385
+ })[];
2386
+ stables: ("0x1a1A3b2ff016332e866787B311fcB63928464509" | "0x2F8A25ac62179B31D62D7F80884AE57464699059" | "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab")[];
2387
+ watchlist: never[];
2388
+ internalName: "zklink";
2389
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
2390
+ contracts: {
2391
+ limitOrder: {
2392
+ address: "0x0000000000000000000000000000000000000000";
2393
+ };
2394
+ nftManager: {
2395
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2396
+ };
2397
+ weth9: {
2398
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2399
+ };
2400
+ multicall2: {
2401
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
2402
+ };
2403
+ multicall3: {
2404
+ address: "0x0000000000000000000000000000000000000000";
2405
+ };
2406
+ ensRegistry?: import("viem").ChainContract | undefined;
2407
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
2408
+ };
2409
+ blockExplorers: {
2410
+ readonly default: {
2411
+ readonly name: "zkLink Nova Block Explorer";
2412
+ readonly url: "https://explorer.zklink.io";
2413
+ };
2414
+ };
2415
+ id: 810180;
2416
+ name: "zkLink Nova";
2417
+ nativeCurrency: {
2418
+ readonly decimals: 18;
2419
+ readonly name: "ETH";
2420
+ readonly symbol: "ETH";
2421
+ };
2422
+ rpcUrls: {
2423
+ readonly default: {
2424
+ readonly http: readonly [
2425
+ "https://rpc.zklink.io"
2426
+ ];
2427
+ };
2428
+ };
2429
+ sourceId?: number | undefined;
2430
+ testnet?: boolean | undefined;
2431
+ custom?: Record<string, unknown> | undefined;
2432
+ fees?: import("viem").ChainFees<undefined> | undefined;
2433
+ formatters?: undefined;
2434
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
2435
+ }>;
2335
2436
  declare const zkSync: Readonly<{
2336
2437
  blockTimeSeconds: 2;
2337
2438
  sortIndex: 4;
@@ -2628,7 +2729,7 @@ declare const zkSync: Readonly<{
2628
2729
  readonly transactionReceipt: {
2629
2730
  exclude: [
2630
2731
  ] | undefined;
2631
- format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
2732
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
2632
2733
  type: import("viem/chains").ZkSyncTransactionType;
2633
2734
  to: `0x${string}` | null;
2634
2735
  from: `0x${string}`;
@@ -4926,7 +5027,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
4926
5027
  };
4927
5028
  readonly transactionReceipt: {
4928
5029
  exclude: [] | undefined;
4929
- format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
5030
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
4930
5031
  type: import("viem/zksync").ZkSyncTransactionType;
4931
5032
  to: `0x${string}` | null;
4932
5033
  from: `0x${string}`;
@@ -5369,7 +5470,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
5369
5470
  symbol: string;
5370
5471
  address: "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9";
5371
5472
  })[];
5372
- stables: ("0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE" | "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111")[];
5473
+ stables: ("0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9" | "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE")[];
5373
5474
  watchlist: ("0x086F766b336DFB0f705Dc030dB01993b22D81266" | "0x076eb72E74C16b208c692EEAB3750978D76B8F28" | "0xFc60a4d05ac8C93F62276e046Ad5a098f5C7820a" | "0x4cdFc22bF05209de87Ee564746Dc7E5174631d2b" | "0x48EF5640E71001CaC842f5627A0bfec1EF09DeB7" | "0x8CFee38ab8b8f4BC2ff662E8cc8bDfb0439C9D2C")[];
5374
5475
  internalName: "mantle";
5375
5476
  nativeLogoUrl: "https://assets.oku.trade/natives/mnt.png";
@@ -5504,6 +5605,104 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
5504
5605
  fees?: import("viem").ChainFees<undefined> | undefined;
5505
5606
  formatters?: undefined;
5506
5607
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
5608
+ }>, Readonly<{
5609
+ blockTimeSeconds: 2;
5610
+ sortIndex: 4;
5611
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg";
5612
+ safeReorgDistance: 90000;
5613
+ externalId: {
5614
+ zerion: string;
5615
+ };
5616
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
5617
+ uniswap: {
5618
+ deployBlock: number;
5619
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249";
5620
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
5621
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0";
5622
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5623
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5624
+ positionsNFTDeployBlock: number;
5625
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193";
5626
+ };
5627
+ token: {
5628
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5629
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5630
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
5631
+ };
5632
+ oku: {
5633
+ limitOrderRegistry: "0x0000000000000000000000000000000000000000";
5634
+ limitOrderRegistryDeployBlock: number;
5635
+ pricing: {
5636
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5637
+ nativeWrappedName: string;
5638
+ };
5639
+ };
5640
+ defaultPool: "0x0000000000000000000000000000000000000000";
5641
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5642
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5643
+ tokenList: ({
5644
+ symbol: string;
5645
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5646
+ } | {
5647
+ symbol: string;
5648
+ address: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5649
+ } | {
5650
+ symbol: string;
5651
+ address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
5652
+ } | {
5653
+ symbol: string;
5654
+ address: "0x2F8A25ac62179B31D62D7F80884AE57464699059";
5655
+ } | {
5656
+ symbol: string;
5657
+ address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab";
5658
+ })[];
5659
+ stables: ("0x1a1A3b2ff016332e866787B311fcB63928464509" | "0x2F8A25ac62179B31D62D7F80884AE57464699059" | "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab")[];
5660
+ watchlist: never[];
5661
+ internalName: "zklink";
5662
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
5663
+ contracts: {
5664
+ limitOrder: {
5665
+ address: "0x0000000000000000000000000000000000000000";
5666
+ };
5667
+ nftManager: {
5668
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5669
+ };
5670
+ weth9: {
5671
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5672
+ };
5673
+ multicall2: {
5674
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
5675
+ };
5676
+ multicall3: {
5677
+ address: "0x0000000000000000000000000000000000000000";
5678
+ };
5679
+ ensRegistry?: ChainContract | undefined;
5680
+ ensUniversalResolver?: ChainContract | undefined;
5681
+ };
5682
+ blockExplorers: {
5683
+ readonly default: {
5684
+ readonly name: "zkLink Nova Block Explorer";
5685
+ readonly url: "https://explorer.zklink.io";
5686
+ };
5687
+ };
5688
+ id: 810180;
5689
+ name: "zkLink Nova";
5690
+ nativeCurrency: {
5691
+ readonly decimals: 18;
5692
+ readonly name: "ETH";
5693
+ readonly symbol: "ETH";
5694
+ };
5695
+ rpcUrls: {
5696
+ readonly default: {
5697
+ readonly http: readonly ["https://rpc.zklink.io"];
5698
+ };
5699
+ };
5700
+ sourceId?: number | undefined;
5701
+ testnet?: boolean | undefined;
5702
+ custom?: Record<string, unknown> | undefined;
5703
+ fees?: import("viem").ChainFees<undefined> | undefined;
5704
+ formatters?: undefined;
5705
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
5507
5706
  }>];
5508
- export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
5707
+ export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, polygonZkEvm, zkLink, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
5509
5708
  export { ChainContract } from "viem";
@@ -1221,7 +1221,7 @@ declare const mantle: Readonly<{
1221
1221
  symbol: string;
1222
1222
  address: "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9";
1223
1223
  })[];
1224
- stables: ("0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE" | "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111")[];
1224
+ stables: ("0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9" | "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE")[];
1225
1225
  watchlist: ("0x086F766b336DFB0f705Dc030dB01993b22D81266" | "0x076eb72E74C16b208c692EEAB3750978D76B8F28" | "0xFc60a4d05ac8C93F62276e046Ad5a098f5C7820a" | "0x4cdFc22bF05209de87Ee564746Dc7E5174631d2b" | "0x48EF5640E71001CaC842f5627A0bfec1EF09DeB7" | "0x8CFee38ab8b8f4BC2ff662E8cc8bDfb0439C9D2C")[];
1226
1226
  internalName: "mantle";
1227
1227
  nativeLogoUrl: "https://assets.oku.trade/natives/mnt.png";
@@ -2332,6 +2332,107 @@ declare const polygonZkEvm: Readonly<{
2332
2332
  formatters?: undefined;
2333
2333
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
2334
2334
  }>;
2335
+ declare const zkLink: Readonly<{
2336
+ blockTimeSeconds: 2;
2337
+ sortIndex: 4;
2338
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg";
2339
+ safeReorgDistance: 90000;
2340
+ externalId: {
2341
+ zerion: string;
2342
+ };
2343
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
2344
+ uniswap: {
2345
+ deployBlock: number;
2346
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249";
2347
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
2348
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0";
2349
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2350
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2351
+ positionsNFTDeployBlock: number;
2352
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193";
2353
+ };
2354
+ token: {
2355
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2356
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2357
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
2358
+ };
2359
+ oku: {
2360
+ limitOrderRegistry: "0x0000000000000000000000000000000000000000";
2361
+ limitOrderRegistryDeployBlock: number;
2362
+ pricing: {
2363
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2364
+ nativeWrappedName: string;
2365
+ };
2366
+ };
2367
+ defaultPool: "0x0000000000000000000000000000000000000000";
2368
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2369
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2370
+ tokenList: ({
2371
+ symbol: string;
2372
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2373
+ } | {
2374
+ symbol: string;
2375
+ address: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2376
+ } | {
2377
+ symbol: string;
2378
+ address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
2379
+ } | {
2380
+ symbol: string;
2381
+ address: "0x2F8A25ac62179B31D62D7F80884AE57464699059";
2382
+ } | {
2383
+ symbol: string;
2384
+ address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab";
2385
+ })[];
2386
+ stables: ("0x1a1A3b2ff016332e866787B311fcB63928464509" | "0x2F8A25ac62179B31D62D7F80884AE57464699059" | "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab")[];
2387
+ watchlist: never[];
2388
+ internalName: "zklink";
2389
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
2390
+ contracts: {
2391
+ limitOrder: {
2392
+ address: "0x0000000000000000000000000000000000000000";
2393
+ };
2394
+ nftManager: {
2395
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2396
+ };
2397
+ weth9: {
2398
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2399
+ };
2400
+ multicall2: {
2401
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
2402
+ };
2403
+ multicall3: {
2404
+ address: "0x0000000000000000000000000000000000000000";
2405
+ };
2406
+ ensRegistry?: import("viem").ChainContract | undefined;
2407
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
2408
+ };
2409
+ blockExplorers: {
2410
+ readonly default: {
2411
+ readonly name: "zkLink Nova Block Explorer";
2412
+ readonly url: "https://explorer.zklink.io";
2413
+ };
2414
+ };
2415
+ id: 810180;
2416
+ name: "zkLink Nova";
2417
+ nativeCurrency: {
2418
+ readonly decimals: 18;
2419
+ readonly name: "ETH";
2420
+ readonly symbol: "ETH";
2421
+ };
2422
+ rpcUrls: {
2423
+ readonly default: {
2424
+ readonly http: readonly [
2425
+ "https://rpc.zklink.io"
2426
+ ];
2427
+ };
2428
+ };
2429
+ sourceId?: number | undefined;
2430
+ testnet?: boolean | undefined;
2431
+ custom?: Record<string, unknown> | undefined;
2432
+ fees?: import("viem").ChainFees<undefined> | undefined;
2433
+ formatters?: undefined;
2434
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
2435
+ }>;
2335
2436
  declare const zkSync: Readonly<{
2336
2437
  blockTimeSeconds: 2;
2337
2438
  sortIndex: 4;
@@ -2628,7 +2729,7 @@ declare const zkSync: Readonly<{
2628
2729
  readonly transactionReceipt: {
2629
2730
  exclude: [
2630
2731
  ] | undefined;
2631
- format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
2732
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
2632
2733
  type: import("viem/chains").ZkSyncTransactionType;
2633
2734
  to: `0x${string}` | null;
2634
2735
  from: `0x${string}`;
@@ -4926,7 +5027,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
4926
5027
  };
4927
5028
  readonly transactionReceipt: {
4928
5029
  exclude: [] | undefined;
4929
- format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
5030
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
4930
5031
  type: import("viem/zksync").ZkSyncTransactionType;
4931
5032
  to: `0x${string}` | null;
4932
5033
  from: `0x${string}`;
@@ -5369,7 +5470,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
5369
5470
  symbol: string;
5370
5471
  address: "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9";
5371
5472
  })[];
5372
- stables: ("0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE" | "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111")[];
5473
+ stables: ("0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9" | "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE")[];
5373
5474
  watchlist: ("0x086F766b336DFB0f705Dc030dB01993b22D81266" | "0x076eb72E74C16b208c692EEAB3750978D76B8F28" | "0xFc60a4d05ac8C93F62276e046Ad5a098f5C7820a" | "0x4cdFc22bF05209de87Ee564746Dc7E5174631d2b" | "0x48EF5640E71001CaC842f5627A0bfec1EF09DeB7" | "0x8CFee38ab8b8f4BC2ff662E8cc8bDfb0439C9D2C")[];
5374
5475
  internalName: "mantle";
5375
5476
  nativeLogoUrl: "https://assets.oku.trade/natives/mnt.png";
@@ -5504,6 +5605,104 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
5504
5605
  fees?: import("viem").ChainFees<undefined> | undefined;
5505
5606
  formatters?: undefined;
5506
5607
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
5608
+ }>, Readonly<{
5609
+ blockTimeSeconds: 2;
5610
+ sortIndex: 4;
5611
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg";
5612
+ safeReorgDistance: 90000;
5613
+ externalId: {
5614
+ zerion: string;
5615
+ };
5616
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
5617
+ uniswap: {
5618
+ deployBlock: number;
5619
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249";
5620
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
5621
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0";
5622
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5623
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5624
+ positionsNFTDeployBlock: number;
5625
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193";
5626
+ };
5627
+ token: {
5628
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5629
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5630
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
5631
+ };
5632
+ oku: {
5633
+ limitOrderRegistry: "0x0000000000000000000000000000000000000000";
5634
+ limitOrderRegistryDeployBlock: number;
5635
+ pricing: {
5636
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5637
+ nativeWrappedName: string;
5638
+ };
5639
+ };
5640
+ defaultPool: "0x0000000000000000000000000000000000000000";
5641
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5642
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5643
+ tokenList: ({
5644
+ symbol: string;
5645
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5646
+ } | {
5647
+ symbol: string;
5648
+ address: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5649
+ } | {
5650
+ symbol: string;
5651
+ address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
5652
+ } | {
5653
+ symbol: string;
5654
+ address: "0x2F8A25ac62179B31D62D7F80884AE57464699059";
5655
+ } | {
5656
+ symbol: string;
5657
+ address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab";
5658
+ })[];
5659
+ stables: ("0x1a1A3b2ff016332e866787B311fcB63928464509" | "0x2F8A25ac62179B31D62D7F80884AE57464699059" | "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab")[];
5660
+ watchlist: never[];
5661
+ internalName: "zklink";
5662
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
5663
+ contracts: {
5664
+ limitOrder: {
5665
+ address: "0x0000000000000000000000000000000000000000";
5666
+ };
5667
+ nftManager: {
5668
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5669
+ };
5670
+ weth9: {
5671
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5672
+ };
5673
+ multicall2: {
5674
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
5675
+ };
5676
+ multicall3: {
5677
+ address: "0x0000000000000000000000000000000000000000";
5678
+ };
5679
+ ensRegistry?: ChainContract | undefined;
5680
+ ensUniversalResolver?: ChainContract | undefined;
5681
+ };
5682
+ blockExplorers: {
5683
+ readonly default: {
5684
+ readonly name: "zkLink Nova Block Explorer";
5685
+ readonly url: "https://explorer.zklink.io";
5686
+ };
5687
+ };
5688
+ id: 810180;
5689
+ name: "zkLink Nova";
5690
+ nativeCurrency: {
5691
+ readonly decimals: 18;
5692
+ readonly name: "ETH";
5693
+ readonly symbol: "ETH";
5694
+ };
5695
+ rpcUrls: {
5696
+ readonly default: {
5697
+ readonly http: readonly ["https://rpc.zklink.io"];
5698
+ };
5699
+ };
5700
+ sourceId?: number | undefined;
5701
+ testnet?: boolean | undefined;
5702
+ custom?: Record<string, unknown> | undefined;
5703
+ fees?: import("viem").ChainFees<undefined> | undefined;
5704
+ formatters?: undefined;
5705
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
5507
5706
  }>];
5508
- export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
5707
+ export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, polygonZkEvm, zkLink, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
5509
5708
  export { ChainContract } from "viem";
@@ -1221,7 +1221,7 @@ declare const mantle: Readonly<{
1221
1221
  symbol: string;
1222
1222
  address: "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9";
1223
1223
  })[];
1224
- stables: ("0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE" | "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111")[];
1224
+ stables: ("0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9" | "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE")[];
1225
1225
  watchlist: ("0x086F766b336DFB0f705Dc030dB01993b22D81266" | "0x076eb72E74C16b208c692EEAB3750978D76B8F28" | "0xFc60a4d05ac8C93F62276e046Ad5a098f5C7820a" | "0x4cdFc22bF05209de87Ee564746Dc7E5174631d2b" | "0x48EF5640E71001CaC842f5627A0bfec1EF09DeB7" | "0x8CFee38ab8b8f4BC2ff662E8cc8bDfb0439C9D2C")[];
1226
1226
  internalName: "mantle";
1227
1227
  nativeLogoUrl: "https://assets.oku.trade/natives/mnt.png";
@@ -2332,6 +2332,107 @@ declare const polygonZkEvm: Readonly<{
2332
2332
  formatters?: undefined;
2333
2333
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
2334
2334
  }>;
2335
+ declare const zkLink: Readonly<{
2336
+ blockTimeSeconds: 2;
2337
+ sortIndex: 4;
2338
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg";
2339
+ safeReorgDistance: 90000;
2340
+ externalId: {
2341
+ zerion: string;
2342
+ };
2343
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
2344
+ uniswap: {
2345
+ deployBlock: number;
2346
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249";
2347
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
2348
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0";
2349
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2350
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2351
+ positionsNFTDeployBlock: number;
2352
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193";
2353
+ };
2354
+ token: {
2355
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2356
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2357
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
2358
+ };
2359
+ oku: {
2360
+ limitOrderRegistry: "0x0000000000000000000000000000000000000000";
2361
+ limitOrderRegistryDeployBlock: number;
2362
+ pricing: {
2363
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2364
+ nativeWrappedName: string;
2365
+ };
2366
+ };
2367
+ defaultPool: "0x0000000000000000000000000000000000000000";
2368
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2369
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2370
+ tokenList: ({
2371
+ symbol: string;
2372
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2373
+ } | {
2374
+ symbol: string;
2375
+ address: "0x1a1A3b2ff016332e866787B311fcB63928464509";
2376
+ } | {
2377
+ symbol: string;
2378
+ address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
2379
+ } | {
2380
+ symbol: string;
2381
+ address: "0x2F8A25ac62179B31D62D7F80884AE57464699059";
2382
+ } | {
2383
+ symbol: string;
2384
+ address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab";
2385
+ })[];
2386
+ stables: ("0x1a1A3b2ff016332e866787B311fcB63928464509" | "0x2F8A25ac62179B31D62D7F80884AE57464699059" | "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab")[];
2387
+ watchlist: never[];
2388
+ internalName: "zklink";
2389
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
2390
+ contracts: {
2391
+ limitOrder: {
2392
+ address: "0x0000000000000000000000000000000000000000";
2393
+ };
2394
+ nftManager: {
2395
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b";
2396
+ };
2397
+ weth9: {
2398
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
2399
+ };
2400
+ multicall2: {
2401
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
2402
+ };
2403
+ multicall3: {
2404
+ address: "0x0000000000000000000000000000000000000000";
2405
+ };
2406
+ ensRegistry?: import("viem").ChainContract | undefined;
2407
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
2408
+ };
2409
+ blockExplorers: {
2410
+ readonly default: {
2411
+ readonly name: "zkLink Nova Block Explorer";
2412
+ readonly url: "https://explorer.zklink.io";
2413
+ };
2414
+ };
2415
+ id: 810180;
2416
+ name: "zkLink Nova";
2417
+ nativeCurrency: {
2418
+ readonly decimals: 18;
2419
+ readonly name: "ETH";
2420
+ readonly symbol: "ETH";
2421
+ };
2422
+ rpcUrls: {
2423
+ readonly default: {
2424
+ readonly http: readonly [
2425
+ "https://rpc.zklink.io"
2426
+ ];
2427
+ };
2428
+ };
2429
+ sourceId?: number | undefined;
2430
+ testnet?: boolean | undefined;
2431
+ custom?: Record<string, unknown> | undefined;
2432
+ fees?: import("viem").ChainFees<undefined> | undefined;
2433
+ formatters?: undefined;
2434
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
2435
+ }>;
2335
2436
  declare const zkSync: Readonly<{
2336
2437
  blockTimeSeconds: 2;
2337
2438
  sortIndex: 4;
@@ -2628,7 +2729,7 @@ declare const zkSync: Readonly<{
2628
2729
  readonly transactionReceipt: {
2629
2730
  exclude: [
2630
2731
  ] | undefined;
2631
- format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
2732
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
2632
2733
  type: import("viem/chains").ZkSyncTransactionType;
2633
2734
  to: `0x${string}` | null;
2634
2735
  from: `0x${string}`;
@@ -4926,7 +5027,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
4926
5027
  };
4927
5028
  readonly transactionReceipt: {
4928
5029
  exclude: [] | undefined;
4929
- format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
5030
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
4930
5031
  type: import("viem/zksync").ZkSyncTransactionType;
4931
5032
  to: `0x${string}` | null;
4932
5033
  from: `0x${string}`;
@@ -5369,7 +5470,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
5369
5470
  symbol: string;
5370
5471
  address: "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9";
5371
5472
  })[];
5372
- stables: ("0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE" | "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111")[];
5473
+ stables: ("0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9" | "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE")[];
5373
5474
  watchlist: ("0x086F766b336DFB0f705Dc030dB01993b22D81266" | "0x076eb72E74C16b208c692EEAB3750978D76B8F28" | "0xFc60a4d05ac8C93F62276e046Ad5a098f5C7820a" | "0x4cdFc22bF05209de87Ee564746Dc7E5174631d2b" | "0x48EF5640E71001CaC842f5627A0bfec1EF09DeB7" | "0x8CFee38ab8b8f4BC2ff662E8cc8bDfb0439C9D2C")[];
5374
5475
  internalName: "mantle";
5375
5476
  nativeLogoUrl: "https://assets.oku.trade/natives/mnt.png";
@@ -5504,6 +5605,104 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
5504
5605
  fees?: import("viem").ChainFees<undefined> | undefined;
5505
5606
  formatters?: undefined;
5506
5607
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
5608
+ }>, Readonly<{
5609
+ blockTimeSeconds: 2;
5610
+ sortIndex: 4;
5611
+ logoUrl: "https://assets.oku.trade/zklink-logo.svg";
5612
+ safeReorgDistance: 90000;
5613
+ externalId: {
5614
+ zerion: string;
5615
+ };
5616
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
5617
+ uniswap: {
5618
+ deployBlock: number;
5619
+ poolFactory: "0x9BD6230EDb501e28442B9deE9e35d01eeb946249";
5620
+ multicall2: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
5621
+ tickLens: "0x6EF712E1f851d2E637a0FE7DF5C09ad7DC141CB0";
5622
+ nonfungiblePositionManager: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5623
+ positionsNFT: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5624
+ positionsNFTDeployBlock: number;
5625
+ universalRouter: "0x2274bDE50218DDB955e7f60e4f2344e3Bff9D193";
5626
+ };
5627
+ token: {
5628
+ usdcAddress: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5629
+ wethAddress: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5630
+ wbtcAddress: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
5631
+ };
5632
+ oku: {
5633
+ limitOrderRegistry: "0x0000000000000000000000000000000000000000";
5634
+ limitOrderRegistryDeployBlock: number;
5635
+ pricing: {
5636
+ nativeWrappedToken: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5637
+ nativeWrappedName: string;
5638
+ };
5639
+ };
5640
+ defaultPool: "0x0000000000000000000000000000000000000000";
5641
+ defaultToken0: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5642
+ defaultToken1: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5643
+ tokenList: ({
5644
+ symbol: string;
5645
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5646
+ } | {
5647
+ symbol: string;
5648
+ address: "0x1a1A3b2ff016332e866787B311fcB63928464509";
5649
+ } | {
5650
+ symbol: string;
5651
+ address: "0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f";
5652
+ } | {
5653
+ symbol: string;
5654
+ address: "0x2F8A25ac62179B31D62D7F80884AE57464699059";
5655
+ } | {
5656
+ symbol: string;
5657
+ address: "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab";
5658
+ })[];
5659
+ stables: ("0x1a1A3b2ff016332e866787B311fcB63928464509" | "0x2F8A25ac62179B31D62D7F80884AE57464699059" | "0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab")[];
5660
+ watchlist: never[];
5661
+ internalName: "zklink";
5662
+ nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
5663
+ contracts: {
5664
+ limitOrder: {
5665
+ address: "0x0000000000000000000000000000000000000000";
5666
+ };
5667
+ nftManager: {
5668
+ address: "0xAA904d497e42608C014BE83a026E984aFc16129b";
5669
+ };
5670
+ weth9: {
5671
+ address: "0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169";
5672
+ };
5673
+ multicall2: {
5674
+ address: "0xccca83bd6343fe9535E0e65AF4601424E95e3974";
5675
+ };
5676
+ multicall3: {
5677
+ address: "0x0000000000000000000000000000000000000000";
5678
+ };
5679
+ ensRegistry?: ChainContract | undefined;
5680
+ ensUniversalResolver?: ChainContract | undefined;
5681
+ };
5682
+ blockExplorers: {
5683
+ readonly default: {
5684
+ readonly name: "zkLink Nova Block Explorer";
5685
+ readonly url: "https://explorer.zklink.io";
5686
+ };
5687
+ };
5688
+ id: 810180;
5689
+ name: "zkLink Nova";
5690
+ nativeCurrency: {
5691
+ readonly decimals: 18;
5692
+ readonly name: "ETH";
5693
+ readonly symbol: "ETH";
5694
+ };
5695
+ rpcUrls: {
5696
+ readonly default: {
5697
+ readonly http: readonly ["https://rpc.zklink.io"];
5698
+ };
5699
+ };
5700
+ sourceId?: number | undefined;
5701
+ testnet?: boolean | undefined;
5702
+ custom?: Record<string, unknown> | undefined;
5703
+ fees?: import("viem").ChainFees<undefined> | undefined;
5704
+ formatters?: undefined;
5705
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
5507
5706
  }>];
5508
- export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
5707
+ export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, mantle, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, polygonZkEvm, zkLink, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
5509
5708
  export { ChainContract } from "viem";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfxlabs/oku-chains",
3
- "version": "1.1.69",
3
+ "version": "1.1.71",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index-mjs.js",
@@ -50,7 +50,7 @@
50
50
  "tslib": "^2.6.2",
51
51
  "tsx": "^4.7.1",
52
52
  "typescript": "^5.3.3",
53
- "viem": "^2.17.0"
53
+ "viem": "^2.17.11"
54
54
  },
55
55
  "packageManager": "yarn@4.2.2",
56
56
  "peerDependencies": {