@gfxlabs/oku-chains 1.9.10 → 1.9.11

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.
Files changed (50) hide show
  1. package/dist/types/definitions/arbitrum.d.ts +205 -0
  2. package/dist/types/definitions/avalanche.d.ts +147 -0
  3. package/dist/types/definitions/base.d.ts +468 -0
  4. package/dist/types/definitions/blast.d.ts +410 -0
  5. package/dist/types/definitions/bob.d.ts +408 -0
  6. package/dist/types/definitions/boba.d.ts +140 -0
  7. package/dist/types/definitions/bsc.d.ts +186 -0
  8. package/dist/types/definitions/celo.d.ts +993 -0
  9. package/dist/types/definitions/corn.d.ts +137 -0
  10. package/dist/types/definitions/etherlink.d.ts +145 -0
  11. package/dist/types/definitions/filecoin.d.ts +143 -0
  12. package/dist/types/definitions/gnosis.d.ts +178 -0
  13. package/dist/types/definitions/goat.d.ts +125 -0
  14. package/dist/types/definitions/hemi.d.ts +144 -0
  15. package/dist/types/definitions/index.d.ts +48 -0
  16. package/dist/types/definitions/lens.d.ts +131 -0
  17. package/dist/types/definitions/lightlink.d.ts +135 -0
  18. package/dist/types/definitions/linea.d.ts +176 -0
  19. package/dist/types/definitions/lisk.d.ts +387 -0
  20. package/dist/types/definitions/mainnet.d.ts +220 -0
  21. package/dist/types/definitions/manta.d.ts +137 -0
  22. package/dist/types/definitions/mantle.d.ts +155 -0
  23. package/dist/types/definitions/matchain.d.ts +114 -0
  24. package/dist/types/definitions/metal.d.ts +387 -0
  25. package/dist/types/definitions/monad.d.ts +146 -0
  26. package/dist/types/definitions/moonbeam.d.ts +149 -0
  27. package/dist/types/definitions/nibiru.d.ts +121 -0
  28. package/dist/types/definitions/optimism.d.ts +484 -0
  29. package/dist/types/definitions/plasma.d.ts +121 -0
  30. package/dist/types/definitions/polygon.d.ts +197 -0
  31. package/dist/types/definitions/redbelly.d.ts +118 -0
  32. package/dist/types/definitions/ronin.d.ts +129 -0
  33. package/dist/types/definitions/rootstock.d.ts +158 -0
  34. package/dist/types/definitions/saga.d.ts +122 -0
  35. package/dist/types/definitions/scroll.d.ts +167 -0
  36. package/dist/types/definitions/sei.d.ts +171 -0
  37. package/dist/types/definitions/sonic.d.ts +158 -0
  38. package/dist/types/definitions/taiko.d.ts +156 -0
  39. package/dist/types/definitions/telos.d.ts +141 -0
  40. package/dist/types/definitions/tronShasta.d.ts +99 -0
  41. package/dist/types/definitions/unichain.d.ts +419 -0
  42. package/dist/types/definitions/worldchain.d.ts +413 -0
  43. package/dist/types/definitions/xdc.d.ts +126 -0
  44. package/dist/types/definitions/zerog.d.ts +119 -0
  45. package/dist/types/definitions/zkevm.d.ts +143 -0
  46. package/dist/types/definitions/zksync.d.ts +545 -0
  47. package/dist/types/script/supported.d.ts +1 -0
  48. package/dist/types/spec/index.d.ts +207 -0
  49. package/dist/types/util/index.d.ts +3 -0
  50. package/package.json +2 -2
@@ -0,0 +1,410 @@
1
+ export declare const blast: Readonly<{
2
+ blockTimeSeconds: 2;
3
+ launchTime: 1719410400;
4
+ transactionType: "eip1559";
5
+ sortIndex: 14;
6
+ logoUrl: "https://cms.oku.trade/cdn/public/chains/blast-logo.svg";
7
+ deprecated: true;
8
+ safeReorgDistance: 90000;
9
+ blockAid: "blast";
10
+ externalId: {
11
+ zerion: string;
12
+ tenderly: string;
13
+ };
14
+ morpho: {};
15
+ markets: {
16
+ kyberswap: string;
17
+ openocean: string;
18
+ zeroex: true;
19
+ icecreamswap: true;
20
+ };
21
+ bridges: {
22
+ chainlink: {
23
+ atlasNetworkName: string;
24
+ routerAddress: string;
25
+ chainSelector: bigint;
26
+ tokenAdminRegistry: string;
27
+ };
28
+ rhinofi: string;
29
+ wormhole: {
30
+ chain: string;
31
+ timeToFinalize: number;
32
+ };
33
+ };
34
+ oracles: {
35
+ cmc: {
36
+ slug: string;
37
+ native: string;
38
+ };
39
+ coingecko: {
40
+ slug: string;
41
+ native: string;
42
+ };
43
+ dexscreener: string;
44
+ };
45
+ uniswap: {
46
+ deployBlock: number;
47
+ poolFactory: "0x792edAdE80af5fC680d96a2eD80A44247D2Cf6Fd";
48
+ multicall2: "0xc228c0343Ee4D4B3EAdF701154f1f1bD9E29d833";
49
+ tickLens: "0x2E95185bCdD928a3e984B7e2D6560Ab1b17d7274";
50
+ nonfungiblePositionManager: "0xB218e4f7cF0533d4696fDfC419A0023D33345F28";
51
+ positionsNFT: "0xB218e4f7cF0533d4696fDfC419A0023D33345F28";
52
+ positionsNFTDeployBlock: number;
53
+ universalRouter: "0x643770E279d5D0733F21d6DC03A8efbABf3255B4";
54
+ wrappedNativeAddress: "0x4300000000000000000000000000000000000004";
55
+ wrappedNativeSymbol: string;
56
+ wrappedNativeName: string;
57
+ wrappedNativeDecimals: number;
58
+ nativeCurrencyName: string;
59
+ };
60
+ token: {
61
+ usdcAddress: "0x4300000000000000000000000000000000000003";
62
+ wethAddress: "0x4300000000000000000000000000000000000004";
63
+ };
64
+ oku: {
65
+ limitOrderRegistry: "0x0337d36A3dF76d882369E3cBF984a2EA40f6636F";
66
+ limitOrderRegistryDeployBlock: number;
67
+ pricing: {
68
+ nativeWrappedToken: "0x4300000000000000000000000000000000000004";
69
+ nativeWrappedName: string;
70
+ };
71
+ };
72
+ defaultPool: "0xf5A23bDD36a56EDe75D503F6f643d5eaF25B1a8F";
73
+ defaultToken0: "0x4300000000000000000000000000000000000003";
74
+ defaultToken1: "0x4300000000000000000000000000000000000004";
75
+ tokenList: ({
76
+ symbol: string;
77
+ address: "0x4300000000000000000000000000000000000004";
78
+ } | {
79
+ symbol: string;
80
+ address: "0x4300000000000000000000000000000000000003";
81
+ })[];
82
+ stables: "0x4300000000000000000000000000000000000003"[];
83
+ watchlist: ("0xf5A23bDD36a56EDe75D503F6f643d5eaF25B1a8F" | "0xf52b4b69123cbcf07798ae8265642793b2e8990c" | "0x310a0a4bc2edd2f29321356d880e0906d7700c14" | "0xbb60bb410182d8e96c41dfc92e017dd79f5100bf" | "0xf52df2cde73228cc058abfe88f3801dcddf885eb" | "0x99f8a29a332eb9004f83abb1b4690de8b00dfccf")[];
84
+ internalName: "blast";
85
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
86
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
87
+ contracts: {
88
+ limitOrder: {
89
+ address: "0x0337d36A3dF76d882369E3cBF984a2EA40f6636F";
90
+ };
91
+ nftManager: {
92
+ address: "0xB218e4f7cF0533d4696fDfC419A0023D33345F28";
93
+ };
94
+ weth9: {
95
+ address: "0x4300000000000000000000000000000000000004";
96
+ };
97
+ multicall2: {
98
+ address: "0xc228c0343Ee4D4B3EAdF701154f1f1bD9E29d833";
99
+ };
100
+ multicall3: {
101
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
102
+ readonly blockCreated: 212929;
103
+ };
104
+ l2OutputOracle: {
105
+ readonly 1: {
106
+ readonly address: "0x826D1B0D4111Ad9146Eb8941D7Ca2B6a44215c76";
107
+ readonly blockCreated: 19300358;
108
+ };
109
+ };
110
+ portal: {
111
+ readonly 1: {
112
+ readonly address: "0x0Ec68c5B10F21EFFb74f2A5C61DFe6b08C0Db6Cb";
113
+ readonly blockCreated: 19300357;
114
+ };
115
+ };
116
+ l1StandardBridge: {
117
+ readonly 1: {
118
+ readonly address: "0x697402166Fbf2F22E970df8a6486Ef171dbfc524";
119
+ readonly blockCreated: 19300360;
120
+ };
121
+ };
122
+ gasPriceOracle: {
123
+ readonly address: "0x420000000000000000000000000000000000000F";
124
+ };
125
+ l1Block: {
126
+ readonly address: "0x4200000000000000000000000000000000000015";
127
+ };
128
+ l2CrossDomainMessenger: {
129
+ readonly address: "0x4200000000000000000000000000000000000007";
130
+ };
131
+ l2Erc721Bridge: {
132
+ readonly address: "0x4200000000000000000000000000000000000014";
133
+ };
134
+ l2StandardBridge: {
135
+ readonly address: "0x4200000000000000000000000000000000000010";
136
+ };
137
+ l2ToL1MessagePasser: {
138
+ readonly address: "0x4200000000000000000000000000000000000016";
139
+ };
140
+ };
141
+ blockExplorers: {
142
+ readonly default: {
143
+ readonly name: "Blastscan";
144
+ readonly url: "https://blastscan.io";
145
+ readonly apiUrl: "https://api.blastscan.io/api";
146
+ };
147
+ };
148
+ blockTime: 2000;
149
+ ensTlds?: readonly string[] | undefined;
150
+ id: 81457;
151
+ name: "Blast";
152
+ nativeCurrency: {
153
+ readonly decimals: 18;
154
+ readonly name: "Ether";
155
+ readonly symbol: "ETH";
156
+ };
157
+ experimental_preconfirmationTime?: number | undefined | undefined | undefined;
158
+ rpcUrls: {
159
+ readonly default: {
160
+ readonly http: readonly ["https://rpc.blast.io"];
161
+ };
162
+ };
163
+ sourceId: 1;
164
+ testnet?: boolean | undefined | undefined | undefined;
165
+ custom?: Record<string, unknown> | undefined;
166
+ extendSchema?: Record<string, unknown> | undefined;
167
+ fees?: import("viem").ChainFees<undefined> | undefined;
168
+ formatters: {
169
+ readonly block: {
170
+ exclude: [] | undefined;
171
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
172
+ baseFeePerGas: bigint | null;
173
+ blobGasUsed: bigint;
174
+ difficulty: bigint;
175
+ excessBlobGas: bigint;
176
+ extraData: import("viem").Hex;
177
+ gasLimit: bigint;
178
+ gasUsed: bigint;
179
+ hash: `0x${string}` | null;
180
+ logsBloom: `0x${string}` | null;
181
+ miner: import("abitype").Address;
182
+ mixHash: import("viem").Hash;
183
+ nonce: `0x${string}` | null;
184
+ number: bigint | null;
185
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
186
+ parentHash: import("viem").Hash;
187
+ receiptsRoot: import("viem").Hex;
188
+ sealFields: import("viem").Hex[];
189
+ sha3Uncles: import("viem").Hash;
190
+ size: bigint;
191
+ stateRoot: import("viem").Hash;
192
+ timestamp: bigint;
193
+ totalDifficulty: bigint | null;
194
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
195
+ transactionsRoot: import("viem").Hash;
196
+ uncles: import("viem").Hash[];
197
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
198
+ withdrawalsRoot?: `0x${string}` | undefined;
199
+ } & {};
200
+ type: "block";
201
+ };
202
+ readonly transaction: {
203
+ exclude: [] | undefined;
204
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
205
+ blockHash: `0x${string}` | null;
206
+ blockNumber: bigint | null;
207
+ from: import("abitype").Address;
208
+ gas: bigint;
209
+ hash: import("viem").Hash;
210
+ input: import("viem").Hex;
211
+ nonce: number;
212
+ r: import("viem").Hex;
213
+ s: import("viem").Hex;
214
+ to: import("abitype").Address | null;
215
+ transactionIndex: number | null;
216
+ typeHex: import("viem").Hex | null;
217
+ v: bigint;
218
+ value: bigint;
219
+ yParity: number;
220
+ gasPrice?: undefined | undefined;
221
+ maxFeePerBlobGas?: undefined | undefined;
222
+ maxFeePerGas: bigint;
223
+ maxPriorityFeePerGas: bigint;
224
+ isSystemTx?: boolean;
225
+ mint?: bigint | undefined | undefined;
226
+ sourceHash: import("viem").Hex;
227
+ type: "deposit";
228
+ } | {
229
+ r: import("viem").Hex;
230
+ s: import("viem").Hex;
231
+ v: bigint;
232
+ value: bigint;
233
+ gas: bigint;
234
+ to: import("abitype").Address | null;
235
+ from: import("abitype").Address;
236
+ nonce: number;
237
+ blockHash: `0x${string}` | null;
238
+ blockNumber: bigint | null;
239
+ transactionIndex: number | null;
240
+ hash: import("viem").Hash;
241
+ input: import("viem").Hex;
242
+ typeHex: import("viem").Hex | null;
243
+ accessList?: undefined | undefined;
244
+ authorizationList?: undefined | undefined;
245
+ blobVersionedHashes?: undefined | undefined;
246
+ chainId?: number | undefined;
247
+ yParity?: undefined | undefined;
248
+ type: "legacy";
249
+ gasPrice: bigint;
250
+ maxFeePerBlobGas?: undefined | undefined;
251
+ maxFeePerGas?: undefined | undefined;
252
+ maxPriorityFeePerGas?: undefined | undefined;
253
+ isSystemTx?: undefined | undefined;
254
+ mint?: undefined | undefined;
255
+ sourceHash?: undefined | undefined;
256
+ } | {
257
+ blockHash: `0x${string}` | null;
258
+ blockNumber: bigint | null;
259
+ from: import("abitype").Address;
260
+ gas: bigint;
261
+ hash: import("viem").Hash;
262
+ input: import("viem").Hex;
263
+ nonce: number;
264
+ r: import("viem").Hex;
265
+ s: import("viem").Hex;
266
+ to: import("abitype").Address | null;
267
+ transactionIndex: number | null;
268
+ typeHex: import("viem").Hex | null;
269
+ v: bigint;
270
+ value: bigint;
271
+ yParity: number;
272
+ accessList: import("viem").AccessList;
273
+ authorizationList?: undefined | undefined;
274
+ blobVersionedHashes?: undefined | undefined;
275
+ chainId: number;
276
+ type: "eip2930";
277
+ gasPrice: bigint;
278
+ maxFeePerBlobGas?: undefined | undefined;
279
+ maxFeePerGas?: undefined | undefined;
280
+ maxPriorityFeePerGas?: undefined | undefined;
281
+ isSystemTx?: undefined | undefined;
282
+ mint?: undefined | undefined;
283
+ sourceHash?: undefined | undefined;
284
+ } | {
285
+ blockHash: `0x${string}` | null;
286
+ blockNumber: bigint | null;
287
+ from: import("abitype").Address;
288
+ gas: bigint;
289
+ hash: import("viem").Hash;
290
+ input: import("viem").Hex;
291
+ nonce: number;
292
+ r: import("viem").Hex;
293
+ s: import("viem").Hex;
294
+ to: import("abitype").Address | null;
295
+ transactionIndex: number | null;
296
+ typeHex: import("viem").Hex | null;
297
+ v: bigint;
298
+ value: bigint;
299
+ yParity: number;
300
+ accessList: import("viem").AccessList;
301
+ authorizationList?: undefined | undefined;
302
+ blobVersionedHashes?: undefined | undefined;
303
+ chainId: number;
304
+ type: "eip1559";
305
+ gasPrice?: undefined | undefined;
306
+ maxFeePerBlobGas?: undefined | undefined;
307
+ maxFeePerGas: bigint;
308
+ maxPriorityFeePerGas: bigint;
309
+ isSystemTx?: undefined | undefined;
310
+ mint?: undefined | undefined;
311
+ sourceHash?: undefined | undefined;
312
+ } | {
313
+ blockHash: `0x${string}` | null;
314
+ blockNumber: bigint | null;
315
+ from: import("abitype").Address;
316
+ gas: bigint;
317
+ hash: import("viem").Hash;
318
+ input: import("viem").Hex;
319
+ nonce: number;
320
+ r: import("viem").Hex;
321
+ s: import("viem").Hex;
322
+ to: import("abitype").Address | null;
323
+ transactionIndex: number | null;
324
+ typeHex: import("viem").Hex | null;
325
+ v: bigint;
326
+ value: bigint;
327
+ yParity: number;
328
+ accessList: import("viem").AccessList;
329
+ authorizationList?: undefined | undefined;
330
+ blobVersionedHashes: readonly import("viem").Hex[];
331
+ chainId: number;
332
+ type: "eip4844";
333
+ gasPrice?: undefined | undefined;
334
+ maxFeePerBlobGas: bigint;
335
+ maxFeePerGas: bigint;
336
+ maxPriorityFeePerGas: bigint;
337
+ isSystemTx?: undefined | undefined;
338
+ mint?: undefined | undefined;
339
+ sourceHash?: undefined | undefined;
340
+ } | {
341
+ blockHash: `0x${string}` | null;
342
+ blockNumber: bigint | null;
343
+ from: import("abitype").Address;
344
+ gas: bigint;
345
+ hash: import("viem").Hash;
346
+ input: import("viem").Hex;
347
+ nonce: number;
348
+ r: import("viem").Hex;
349
+ s: import("viem").Hex;
350
+ to: import("abitype").Address | null;
351
+ transactionIndex: number | null;
352
+ typeHex: import("viem").Hex | null;
353
+ v: bigint;
354
+ value: bigint;
355
+ yParity: number;
356
+ accessList: import("viem").AccessList;
357
+ authorizationList: import("viem").SignedAuthorizationList;
358
+ blobVersionedHashes?: undefined | undefined;
359
+ chainId: number;
360
+ type: "eip7702";
361
+ gasPrice?: undefined | undefined;
362
+ maxFeePerBlobGas?: undefined | undefined;
363
+ maxFeePerGas: bigint;
364
+ maxPriorityFeePerGas: bigint;
365
+ isSystemTx?: undefined | undefined;
366
+ mint?: undefined | undefined;
367
+ sourceHash?: undefined | undefined;
368
+ }) & {};
369
+ type: "transaction";
370
+ };
371
+ readonly transactionReceipt: {
372
+ exclude: [] | undefined;
373
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
374
+ blobGasPrice?: bigint | undefined;
375
+ blobGasUsed?: bigint | undefined;
376
+ blockHash: import("viem").Hash;
377
+ blockNumber: bigint;
378
+ contractAddress: import("abitype").Address | null | undefined;
379
+ cumulativeGasUsed: bigint;
380
+ effectiveGasPrice: bigint;
381
+ from: import("abitype").Address;
382
+ gasUsed: bigint;
383
+ logs: import("viem").Log<bigint, number, false>[];
384
+ logsBloom: import("viem").Hex;
385
+ root?: `0x${string}` | undefined;
386
+ status: "success" | "reverted";
387
+ to: import("abitype").Address | null;
388
+ transactionHash: import("viem").Hash;
389
+ transactionIndex: number;
390
+ type: import("viem").TransactionType;
391
+ l1GasPrice: bigint | null;
392
+ l1GasUsed: bigint | null;
393
+ l1Fee: bigint | null;
394
+ l1FeeScalar: number | null;
395
+ } & {};
396
+ type: "transactionReceipt";
397
+ };
398
+ };
399
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
400
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
401
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
402
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
403
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
404
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
405
+ }] | undefined | undefined;
406
+ serializers: {
407
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
408
+ };
409
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
410
+ }>;