@gfxlabs/oku-chains 1.9.9 → 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 (51) 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/index.d.ts +2 -2
  48. package/dist/types/script/supported.d.ts +1 -0
  49. package/dist/types/spec/index.d.ts +207 -0
  50. package/dist/types/util/index.d.ts +3 -0
  51. package/package.json +2 -2
@@ -0,0 +1,143 @@
1
+ export declare const polygonZkEvm: Readonly<{
2
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
3
+ sortIndex: 6;
4
+ launchTime: 1722520800;
5
+ transactionType: "legacy";
6
+ blockTimeSeconds: 7;
7
+ logoUrl: "https://cms.oku.trade/cdn/public/chains/zkevm-logo.svg";
8
+ deprecated: true;
9
+ safeReorgDistance: 90000;
10
+ blockAid: "";
11
+ morpho: {};
12
+ externalId: {
13
+ zerion: string;
14
+ };
15
+ markets: {
16
+ kyberswap: string;
17
+ paraswap: {
18
+ routerContract: string;
19
+ };
20
+ openocean: string;
21
+ };
22
+ bridges: {
23
+ chainlink: {
24
+ atlasNetworkName: string;
25
+ routerAddress: string;
26
+ chainSelector: bigint;
27
+ };
28
+ rhinofi: string;
29
+ };
30
+ oracles: {
31
+ coingecko: {
32
+ slug: string;
33
+ native: string;
34
+ };
35
+ dexscreener: string;
36
+ };
37
+ uniswap: {
38
+ deployBlock: number;
39
+ poolFactory: "0xff83c3c800Fec21de45C5Ec30B69ddd5Ee60DFC2";
40
+ permit2: "0xCEc9e219281B78E1946b6b894f75ae89Bc10FEb6";
41
+ multicall2: "0x1FaE28D9C07a8a96E2ECc53BB328E787D5B88674";
42
+ tickLens: "0x64519b94A7248Bf17929fB03b9648ce277Fd7fDA";
43
+ nonfungiblePositionManager: "0xf0D61Aeda516CCa1FF20Be65Cfb0213be688A24f";
44
+ positionsNFT: "0xf0D61Aeda516CCa1FF20Be65Cfb0213be688A24f";
45
+ positionsNFTDeployBlock: number;
46
+ universalRouter: "0x32454e81d065FAA95Ec0d0Ab6Fe326599Af30fd7";
47
+ wrappedNativeAddress: "0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9";
48
+ wrappedNativeSymbol: string;
49
+ wrappedNativeName: string;
50
+ wrappedNativeDecimals: number;
51
+ nativeCurrencyName: string;
52
+ };
53
+ token: {
54
+ wbtcAddress: "0xea034fb02eb1808c2cc3adbc15f447b93cbe08e1";
55
+ wethAddress: "0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9";
56
+ usdcAddress: "0x37eaa0ef3549a5bb7d431be78a3d99bd360d19e5";
57
+ };
58
+ oku: {
59
+ limitOrderRegistry: "0x5f1ef1d278013567c3c67e18d2d35bfa9954f723";
60
+ limitOrderRegistryDeployBlock: number;
61
+ pricing: {
62
+ nativeWrappedToken: "0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9";
63
+ nativeWrappedName: string;
64
+ };
65
+ };
66
+ defaultPool: "0xd6efe114c9b6058a20aab759e064f50544590914";
67
+ defaultToken0: "0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9";
68
+ defaultToken1: "0x37eaa0ef3549a5bb7d431be78a3d99bd360d19e5";
69
+ tokenList: ({
70
+ symbol: string;
71
+ address: "0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9";
72
+ } | {
73
+ symbol: string;
74
+ address: "0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035";
75
+ } | {
76
+ symbol: string;
77
+ address: "0x37eaa0ef3549a5bb7d431be78a3d99bd360d19e5";
78
+ } | {
79
+ symbol: string;
80
+ address: "0x1e4a5963abfd975d8c9021ce480b42188849d41d";
81
+ } | {
82
+ symbol: string;
83
+ address: "0x744C5860ba161b5316F7E80D9Ec415e2727e5bD5";
84
+ })[];
85
+ stables: ("0x37eaa0ef3549a5bb7d431be78a3d99bd360d19e5" | "0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035" | "0x1e4a5963abfd975d8c9021ce480b42188849d41d" | "0x744C5860ba161b5316F7E80D9Ec415e2727e5bD5" | "0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4")[];
86
+ watchlist: ("0xd6efe114c9b6058a20aab759e064f50544590914" | "0x52b18c30f1d3f5c6f5fb4badff2d0ab3c68a3ff4" | "0x90C865Da46D948EF3792fb57B0d60D14A96ecf49" | "0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd" | "0x539d23BE81696560C12Cf8d24AE8bb4641381E7D" | "0x7908F0eD78de3c850A5d1DC261c39341b274D07c" | "0x0A44b12799eBC21E1dF271284921e1e4F6f17f81")[];
87
+ internalName: "polygon-zkevm";
88
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
89
+ contracts: {
90
+ limitOrder: {
91
+ address: "0x5f1ef1d278013567c3c67e18d2d35bfa9954f723";
92
+ };
93
+ nftManager: {
94
+ address: "0xf0d61aeda516cca1ff20be65cfb0213be688a24f";
95
+ };
96
+ weth9: {
97
+ address: "0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9";
98
+ };
99
+ multicall2: {
100
+ address: "0x1FaE28D9C07a8a96E2ECc53BB328E787D5B88674";
101
+ };
102
+ multicall3: {
103
+ address: "0xca11bde05977b3631167028862be2a173976ca11";
104
+ };
105
+ };
106
+ blockExplorers: {
107
+ readonly default: {
108
+ readonly name: "PolygonScan";
109
+ readonly url: "https://zkevm.polygonscan.com";
110
+ readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
111
+ };
112
+ };
113
+ blockTime?: number | undefined | undefined | undefined;
114
+ ensTlds?: readonly string[] | undefined;
115
+ id: 1101;
116
+ name: "Polygon zkEVM";
117
+ nativeCurrency: {
118
+ readonly name: "Ether";
119
+ readonly symbol: "ETH";
120
+ readonly decimals: 18;
121
+ };
122
+ experimental_preconfirmationTime?: number | undefined | undefined | undefined;
123
+ rpcUrls: {
124
+ readonly default: {
125
+ readonly http: readonly ["https://zkevm-rpc.com"];
126
+ };
127
+ };
128
+ sourceId?: number | undefined | undefined | undefined;
129
+ testnet?: boolean | undefined | undefined | undefined;
130
+ custom?: Record<string, unknown> | undefined;
131
+ extendSchema?: Record<string, unknown> | undefined;
132
+ fees?: import("viem").ChainFees<undefined> | undefined;
133
+ formatters?: undefined | undefined;
134
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
135
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
136
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
137
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
138
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
139
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
140
+ }] | undefined | undefined;
141
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
142
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
143
+ }>;
@@ -0,0 +1,545 @@
1
+ export declare const zkSync: Readonly<{
2
+ blockTimeSeconds: 2;
3
+ sortIndex: 4;
4
+ launchTime: 1696514400;
5
+ transactionType: "eip1559";
6
+ logoUrl: "https://cms.oku.trade/cdn/public/chains/zksync-logo.svg";
7
+ deprecated: false;
8
+ safeReorgDistance: 90000;
9
+ blockAid: "zksync";
10
+ morpho: {};
11
+ externalId: {
12
+ zerion: string;
13
+ tenderly: string;
14
+ };
15
+ markets: {
16
+ kyberswap: string;
17
+ oneinch: {
18
+ spender: string;
19
+ };
20
+ propellerswap: string;
21
+ openocean: string;
22
+ };
23
+ bridges: {
24
+ chainlink: {
25
+ atlasNetworkName: string;
26
+ routerAddress: string;
27
+ chainSelector: bigint;
28
+ tokenAdminRegistry: string;
29
+ };
30
+ rhinofi: string;
31
+ };
32
+ oracles: {
33
+ cmc: {
34
+ slug: string;
35
+ native: string;
36
+ };
37
+ coingecko: {
38
+ slug: string;
39
+ native: string;
40
+ };
41
+ dexscreener: string;
42
+ };
43
+ initCodeHash: "0x010013f177ea1fcbc4520f9a3ca7cd2d1d77959e05aa66484027cb38e712aeed";
44
+ blockExplorers: {
45
+ default: {
46
+ name: string;
47
+ url: string;
48
+ apiUrl: string;
49
+ };
50
+ explorer: {
51
+ name: string;
52
+ url: string;
53
+ apiUrl: string;
54
+ };
55
+ };
56
+ uniswap: {
57
+ deployBlock: number;
58
+ poolFactory: "0x8FdA5a7a8dCA67BBcDd10F02Fa0649A937215422";
59
+ permit2: "0x0000000000225e31d15943971f47ad3022f714fa";
60
+ multicall2: "0x8bB86A31795d3e8ef12c630C288770e13eEcF038";
61
+ tickLens: "0xe10FF11b809f8EE07b056B452c3B2caa7FE24f89";
62
+ nonfungiblePositionManager: "0x0616e5762c1E7Dc3723c50663dF10a162D690a86";
63
+ positionsNFT: "0x0616e5762c1E7Dc3723c50663dF10a162D690a86";
64
+ positionsNFTDeployBlock: number;
65
+ universalRouter: "0x28731BCC616B5f51dD52CF2e4dF0E78dD1136C06";
66
+ wrappedNativeAddress: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91";
67
+ wrappedNativeSymbol: string;
68
+ wrappedNativeName: string;
69
+ wrappedNativeDecimals: number;
70
+ nativeCurrencyName: string;
71
+ };
72
+ token: {
73
+ usdcAddress: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4";
74
+ wethAddress: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91";
75
+ wbtcAddress: "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011";
76
+ };
77
+ oku: {
78
+ limitOrderRegistry: "0x0FD66bD1e0974e2535CB424E6675D60aC52a84Fa";
79
+ limitOrderRegistryDeployBlock: number;
80
+ pricing: {
81
+ nativeWrappedToken: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91";
82
+ nativeWrappedName: string;
83
+ };
84
+ };
85
+ defaultPool: "0x3e3dd517fec2e70eddba2a626422a4ba286e8c38";
86
+ defaultToken0: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4";
87
+ defaultToken1: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91";
88
+ tokenList: ({
89
+ symbol: string;
90
+ address: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91";
91
+ } | {
92
+ symbol: string;
93
+ address: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4";
94
+ } | {
95
+ symbol: string;
96
+ address: "0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4";
97
+ })[];
98
+ stables: ("0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4" | "0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4" | "0x503234F203fC7Eb888EEC8513210612a43Cf6115" | "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C")[];
99
+ watchlist: ("0xff577f0e828a878743ecc5e2632cbf65cecf17cf" | "0x50b0b9e02aa6f72a70fefbdb50bdc2f27e594135" | "0x3f618967492945c02d5222d333e903345fde741a" | "0xc99bcff6564bafc70ba1b53c53a03541f780a546" | "0x1fa900dbb20ed45d18883849c00632bca16f6610" | "0xbEEA3B382696669e0E67C08Ea9f4aaE8d528Af0F" | "0xf8C42655373A280e8800BEeE44fcC12ffC99E797" | "0xa07028B453a1f6Ac277e93f3A0eA73B4bE5c7d63" | "0x23C77A553AAc0ad009441C856c05D117c1131e3d")[];
100
+ internalName: "zksync";
101
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
102
+ contracts: {
103
+ limitOrder: {
104
+ address: "0x0FD66bD1e0974e2535CB424E6675D60aC52a84Fa";
105
+ };
106
+ nftManager: {
107
+ address: "0x0616e5762c1E7Dc3723c50663dF10a162D690a86";
108
+ };
109
+ weth9: {
110
+ address: "0x5aea5775959fbc2557cc8789bc1bf90a239d9a91";
111
+ };
112
+ multicall2: {
113
+ address: "0x8bB86A31795d3e8ef12c630C288770e13eEcF038";
114
+ };
115
+ multicall3: {
116
+ address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
117
+ };
118
+ erc6492Verifier: {
119
+ readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
120
+ readonly blockCreated: 45659388;
121
+ };
122
+ };
123
+ blockTime: 200;
124
+ ensTlds?: readonly string[] | undefined;
125
+ id: 324;
126
+ name: "ZKsync Era";
127
+ nativeCurrency: {
128
+ readonly decimals: 18;
129
+ readonly name: "Ether";
130
+ readonly symbol: "ETH";
131
+ };
132
+ experimental_preconfirmationTime?: number | undefined | undefined | undefined;
133
+ rpcUrls: {
134
+ readonly default: {
135
+ readonly http: readonly ["https://mainnet.era.zksync.io"];
136
+ readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
137
+ };
138
+ };
139
+ sourceId?: number | undefined | undefined | undefined;
140
+ testnet?: boolean | undefined | undefined | undefined;
141
+ custom: {
142
+ readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/chains").ZkSyncTransactionSerializable, import("viem/chains").ZkSyncEIP712TransactionSignable>;
143
+ };
144
+ extendSchema?: Record<string, unknown> | undefined;
145
+ fees?: import("viem").ChainFees<undefined> | undefined;
146
+ formatters: {
147
+ readonly block: {
148
+ exclude: [] | undefined;
149
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
150
+ baseFeePerGas: bigint | null;
151
+ blobGasUsed: bigint;
152
+ difficulty: bigint;
153
+ excessBlobGas: bigint;
154
+ extraData: import("viem").Hex;
155
+ gasLimit: bigint;
156
+ gasUsed: bigint;
157
+ hash: `0x${string}` | null;
158
+ logsBloom: `0x${string}` | null;
159
+ miner: import("abitype").Address;
160
+ mixHash: import("viem").Hash;
161
+ nonce: `0x${string}` | null;
162
+ number: bigint | null;
163
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
164
+ parentHash: import("viem").Hash;
165
+ receiptsRoot: import("viem").Hex;
166
+ sealFields: import("viem").Hex[];
167
+ sha3Uncles: import("viem").Hash;
168
+ size: bigint;
169
+ stateRoot: import("viem").Hash;
170
+ timestamp: bigint;
171
+ totalDifficulty: bigint | null;
172
+ transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
173
+ transactionsRoot: import("viem").Hash;
174
+ uncles: import("viem").Hash[];
175
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
176
+ withdrawalsRoot?: `0x${string}` | undefined;
177
+ l1BatchNumber: bigint | null;
178
+ l1BatchTimestamp: bigint | null;
179
+ } & {};
180
+ type: "block";
181
+ };
182
+ readonly transaction: {
183
+ exclude: [] | undefined;
184
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
185
+ r: import("viem").Hex;
186
+ s: import("viem").Hex;
187
+ v: bigint;
188
+ value: bigint;
189
+ gas: bigint;
190
+ to: import("abitype").Address | null;
191
+ from: import("abitype").Address;
192
+ nonce: number;
193
+ blockHash: `0x${string}` | null;
194
+ blockNumber: bigint | null;
195
+ transactionIndex: number | null;
196
+ hash: import("viem").Hash;
197
+ input: import("viem").Hex;
198
+ typeHex: import("viem").Hex | null;
199
+ accessList?: undefined | undefined;
200
+ authorizationList?: undefined | undefined;
201
+ blobVersionedHashes?: undefined | undefined;
202
+ chainId?: number | undefined;
203
+ yParity?: undefined | undefined;
204
+ type: "legacy";
205
+ gasPrice: bigint;
206
+ maxFeePerBlobGas?: undefined | undefined;
207
+ maxFeePerGas?: undefined | undefined;
208
+ maxPriorityFeePerGas?: undefined | undefined;
209
+ l1BatchNumber: bigint | null;
210
+ l1BatchTxIndex: bigint | null;
211
+ } | {
212
+ blockHash: `0x${string}` | null;
213
+ blockNumber: bigint | null;
214
+ from: import("abitype").Address;
215
+ gas: bigint;
216
+ hash: import("viem").Hash;
217
+ input: import("viem").Hex;
218
+ nonce: number;
219
+ r: import("viem").Hex;
220
+ s: import("viem").Hex;
221
+ to: import("abitype").Address | null;
222
+ transactionIndex: number | null;
223
+ typeHex: import("viem").Hex | null;
224
+ v: bigint;
225
+ value: bigint;
226
+ yParity: number;
227
+ accessList: import("viem").AccessList;
228
+ authorizationList?: undefined | undefined;
229
+ blobVersionedHashes?: undefined | undefined;
230
+ chainId: number;
231
+ type: "eip2930";
232
+ gasPrice: bigint;
233
+ maxFeePerBlobGas?: undefined | undefined;
234
+ maxFeePerGas?: undefined | undefined;
235
+ maxPriorityFeePerGas?: undefined | undefined;
236
+ l1BatchNumber: bigint | null;
237
+ l1BatchTxIndex: bigint | null;
238
+ } | {
239
+ blockHash: `0x${string}` | null;
240
+ blockNumber: bigint | null;
241
+ from: import("abitype").Address;
242
+ gas: bigint;
243
+ hash: import("viem").Hash;
244
+ input: import("viem").Hex;
245
+ nonce: number;
246
+ r: import("viem").Hex;
247
+ s: import("viem").Hex;
248
+ to: import("abitype").Address | null;
249
+ transactionIndex: number | null;
250
+ typeHex: import("viem").Hex | null;
251
+ v: bigint;
252
+ value: bigint;
253
+ yParity: number;
254
+ accessList: import("viem").AccessList;
255
+ authorizationList?: undefined | undefined;
256
+ blobVersionedHashes?: undefined | undefined;
257
+ chainId: number;
258
+ type: "eip1559";
259
+ gasPrice?: undefined | undefined;
260
+ maxFeePerBlobGas?: undefined | undefined;
261
+ maxFeePerGas: bigint;
262
+ maxPriorityFeePerGas: bigint;
263
+ l1BatchNumber: bigint | null;
264
+ l1BatchTxIndex: bigint | null;
265
+ } | {
266
+ blockHash: `0x${string}` | null;
267
+ blockNumber: bigint | null;
268
+ from: import("abitype").Address;
269
+ gas: bigint;
270
+ hash: import("viem").Hash;
271
+ input: import("viem").Hex;
272
+ nonce: number;
273
+ r: import("viem").Hex;
274
+ s: import("viem").Hex;
275
+ to: import("abitype").Address | null;
276
+ transactionIndex: number | null;
277
+ typeHex: import("viem").Hex | null;
278
+ v: bigint;
279
+ value: bigint;
280
+ yParity: number;
281
+ accessList: import("viem").AccessList;
282
+ authorizationList?: undefined | undefined;
283
+ blobVersionedHashes: readonly import("viem").Hex[];
284
+ chainId: number;
285
+ type: "eip4844";
286
+ gasPrice?: undefined | undefined;
287
+ maxFeePerBlobGas: bigint;
288
+ maxFeePerGas: bigint;
289
+ maxPriorityFeePerGas: bigint;
290
+ l1BatchNumber: bigint | null;
291
+ l1BatchTxIndex: bigint | null;
292
+ } | {
293
+ blockHash: `0x${string}` | null;
294
+ blockNumber: bigint | null;
295
+ from: import("abitype").Address;
296
+ gas: bigint;
297
+ hash: import("viem").Hash;
298
+ input: import("viem").Hex;
299
+ nonce: number;
300
+ r: import("viem").Hex;
301
+ s: import("viem").Hex;
302
+ to: import("abitype").Address | null;
303
+ transactionIndex: number | null;
304
+ typeHex: import("viem").Hex | null;
305
+ v: bigint;
306
+ value: bigint;
307
+ yParity: number;
308
+ accessList: import("viem").AccessList;
309
+ authorizationList: import("viem").SignedAuthorizationList;
310
+ blobVersionedHashes?: undefined | undefined;
311
+ chainId: number;
312
+ type: "eip7702";
313
+ gasPrice?: undefined | undefined;
314
+ maxFeePerBlobGas?: undefined | undefined;
315
+ maxFeePerGas: bigint;
316
+ maxPriorityFeePerGas: bigint;
317
+ l1BatchNumber: bigint | null;
318
+ l1BatchTxIndex: bigint | null;
319
+ } | {
320
+ blockHash: `0x${string}` | null;
321
+ blockNumber: bigint | null;
322
+ from: import("abitype").Address;
323
+ gas: bigint;
324
+ hash: import("viem").Hash;
325
+ input: import("viem").Hex;
326
+ nonce: number;
327
+ r: import("viem").Hex;
328
+ s: import("viem").Hex;
329
+ to: import("abitype").Address | null;
330
+ transactionIndex: number | null;
331
+ typeHex: import("viem").Hex | null;
332
+ v: bigint;
333
+ value: bigint;
334
+ yParity: number;
335
+ l1BatchNumber: bigint | null;
336
+ l1BatchTxIndex: bigint | null;
337
+ gasPrice?: undefined | undefined;
338
+ maxFeePerBlobGas?: undefined | undefined;
339
+ maxFeePerGas: bigint;
340
+ maxPriorityFeePerGas: bigint;
341
+ type: "priority";
342
+ } | {
343
+ blockHash: `0x${string}` | null;
344
+ blockNumber: bigint | null;
345
+ from: import("abitype").Address;
346
+ gas: bigint;
347
+ hash: import("viem").Hash;
348
+ input: import("viem").Hex;
349
+ nonce: number;
350
+ r: import("viem").Hex;
351
+ s: import("viem").Hex;
352
+ to: import("abitype").Address | null;
353
+ transactionIndex: number | null;
354
+ typeHex: import("viem").Hex | null;
355
+ v: bigint;
356
+ value: bigint;
357
+ yParity: number;
358
+ l1BatchNumber: bigint | null;
359
+ l1BatchTxIndex: bigint | null;
360
+ gasPrice?: undefined | undefined;
361
+ maxFeePerBlobGas?: undefined | undefined;
362
+ maxFeePerGas: bigint;
363
+ maxPriorityFeePerGas: bigint;
364
+ type: "eip712" | "priority";
365
+ }) & {};
366
+ type: "transaction";
367
+ };
368
+ readonly transactionReceipt: {
369
+ exclude: [] | undefined;
370
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
371
+ contractAddress: import("abitype").Address | null | undefined;
372
+ type: import("viem/chains").ZkSyncTransactionType;
373
+ status: "success" | "reverted";
374
+ to: import("abitype").Address | null;
375
+ from: import("abitype").Address;
376
+ blockHash: import("viem").Hash;
377
+ blockNumber: bigint;
378
+ transactionHash: import("viem").Hash;
379
+ transactionIndex: number;
380
+ logsBloom: import("viem").Hex;
381
+ blobGasUsed?: bigint | undefined;
382
+ gasUsed: bigint;
383
+ blobGasPrice?: bigint | undefined;
384
+ cumulativeGasUsed: bigint;
385
+ effectiveGasPrice: bigint;
386
+ root?: `0x${string}` | undefined;
387
+ l1BatchNumber: bigint | null;
388
+ l1BatchTxIndex: bigint | null;
389
+ logs: import("viem/chains").ZkSyncLog[];
390
+ l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
391
+ } & {};
392
+ type: "transactionReceipt";
393
+ };
394
+ readonly transactionRequest: {
395
+ exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
396
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
397
+ data?: `0x${string}` | undefined;
398
+ from?: `0x${string}` | undefined;
399
+ gas?: `0x${string}` | undefined;
400
+ nonce?: `0x${string}` | undefined;
401
+ to?: `0x${string}` | null | undefined;
402
+ type?: "0x0" | undefined;
403
+ value?: `0x${string}` | undefined;
404
+ gasPrice?: `0x${string}` | undefined;
405
+ maxFeePerBlobGas?: undefined | undefined;
406
+ maxFeePerGas?: undefined | undefined;
407
+ maxPriorityFeePerGas?: undefined | undefined;
408
+ blobs?: undefined;
409
+ blobVersionedHashes?: undefined;
410
+ kzg?: undefined;
411
+ accessList?: undefined;
412
+ sidecars?: undefined;
413
+ authorizationList?: undefined;
414
+ eip712Meta?: undefined | undefined;
415
+ } | {
416
+ data?: `0x${string}` | undefined;
417
+ from?: `0x${string}` | undefined;
418
+ gas?: `0x${string}` | undefined;
419
+ nonce?: `0x${string}` | undefined;
420
+ to?: `0x${string}` | null | undefined;
421
+ type?: "0x1" | undefined;
422
+ value?: `0x${string}` | undefined;
423
+ gasPrice?: `0x${string}` | undefined;
424
+ maxFeePerBlobGas?: undefined | undefined;
425
+ maxFeePerGas?: undefined | undefined;
426
+ maxPriorityFeePerGas?: undefined | undefined;
427
+ accessList?: import("viem").AccessList | undefined;
428
+ blobs?: undefined;
429
+ blobVersionedHashes?: undefined;
430
+ kzg?: undefined;
431
+ sidecars?: undefined;
432
+ authorizationList?: undefined;
433
+ eip712Meta?: undefined | undefined;
434
+ } | {
435
+ data?: `0x${string}` | undefined;
436
+ from?: `0x${string}` | undefined;
437
+ gas?: `0x${string}` | undefined;
438
+ nonce?: `0x${string}` | undefined;
439
+ to?: `0x${string}` | null | undefined;
440
+ type?: "0x2" | undefined;
441
+ value?: `0x${string}` | undefined;
442
+ gasPrice?: undefined | undefined;
443
+ maxFeePerBlobGas?: undefined | undefined;
444
+ maxFeePerGas?: `0x${string}` | undefined;
445
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
446
+ accessList?: import("viem").AccessList | undefined;
447
+ blobs?: undefined;
448
+ blobVersionedHashes?: undefined;
449
+ kzg?: undefined;
450
+ sidecars?: undefined;
451
+ authorizationList?: undefined;
452
+ eip712Meta?: undefined | undefined;
453
+ } | {
454
+ type?: "0x3" | undefined;
455
+ data?: `0x${string}` | undefined;
456
+ value?: `0x${string}` | undefined;
457
+ gas?: `0x${string}` | undefined;
458
+ from?: `0x${string}` | undefined;
459
+ nonce?: `0x${string}` | undefined;
460
+ to: `0x${string}` | null;
461
+ gasPrice?: undefined | undefined;
462
+ maxFeePerBlobGas?: `0x${string}` | undefined;
463
+ maxFeePerGas?: `0x${string}` | undefined;
464
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
465
+ accessList?: import("viem").AccessList | undefined;
466
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
467
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
468
+ blobVersionedHashes: readonly import("viem").Hex[];
469
+ kzg?: undefined;
470
+ authorizationList?: undefined;
471
+ eip712Meta?: undefined | undefined;
472
+ } | {
473
+ type?: "0x3" | undefined;
474
+ data?: `0x${string}` | undefined;
475
+ value?: `0x${string}` | undefined;
476
+ gas?: `0x${string}` | undefined;
477
+ from?: `0x${string}` | undefined;
478
+ nonce?: `0x${string}` | undefined;
479
+ to: `0x${string}` | null;
480
+ gasPrice?: undefined | undefined;
481
+ maxFeePerBlobGas?: `0x${string}` | undefined;
482
+ maxFeePerGas?: `0x${string}` | undefined;
483
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
484
+ accessList?: import("viem").AccessList | undefined;
485
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
486
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
487
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
488
+ kzg?: import("viem").Kzg | undefined;
489
+ authorizationList?: undefined;
490
+ eip712Meta?: undefined | undefined;
491
+ } | {
492
+ gasPrice?: undefined | undefined;
493
+ maxFeePerBlobGas?: undefined | undefined;
494
+ maxFeePerGas?: `0x${string}` | undefined;
495
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
496
+ type?: "0x4" | undefined;
497
+ data?: `0x${string}` | undefined;
498
+ value?: `0x${string}` | undefined;
499
+ gas?: `0x${string}` | undefined;
500
+ to?: `0x${string}` | null | undefined;
501
+ from?: `0x${string}` | undefined;
502
+ nonce?: `0x${string}` | undefined;
503
+ accessList?: import("viem").AccessList | undefined;
504
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
505
+ blobs?: undefined;
506
+ blobVersionedHashes?: undefined;
507
+ kzg?: undefined;
508
+ sidecars?: undefined;
509
+ eip712Meta?: undefined | undefined;
510
+ } | {
511
+ data?: `0x${string}` | undefined;
512
+ from?: `0x${string}` | undefined;
513
+ gas?: `0x${string}` | undefined;
514
+ nonce?: `0x${string}` | undefined;
515
+ to?: `0x${string}` | null | undefined;
516
+ type: "0xff" | "0x71";
517
+ value?: `0x${string}` | undefined;
518
+ gasPrice?: undefined | undefined;
519
+ maxFeePerBlobGas?: undefined | undefined;
520
+ maxFeePerGas?: `0x${string}` | undefined;
521
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
522
+ eip712Meta: import("viem/chains").ZkSyncEip712Meta;
523
+ }) & {
524
+ paymaster: never;
525
+ gasPerPubdata: never;
526
+ factoryDeps: never;
527
+ paymasterInput: never;
528
+ customSignature: never;
529
+ };
530
+ type: "transactionRequest";
531
+ };
532
+ };
533
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
534
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
535
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
536
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
537
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
538
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
539
+ }] | undefined | undefined;
540
+ serializers: {
541
+ readonly transaction: typeof import("viem/zksync").serializeTransaction;
542
+ };
543
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
544
+ network: "zksync-era";
545
+ }>;