@apibara/evm 2.0.0
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/.turbo/turbo-build.log +17 -0
- package/CHANGELOG.md +1 -0
- package/LICENSE.txt +202 -0
- package/README.md +27 -0
- package/buf.gen.yaml +14 -0
- package/build.config.ts +11 -0
- package/dist/index.cjs +2994 -0
- package/dist/index.d.cts +1900 -0
- package/dist/index.d.mts +1900 -0
- package/dist/index.d.ts +1900 -0
- package/dist/index.mjs +2953 -0
- package/package.json +49 -0
- package/proto/common.proto +37 -0
- package/proto/data.proto +192 -0
- package/proto/filter.proto +61 -0
- package/src/block.ts +167 -0
- package/src/common.test.ts +79 -0
- package/src/common.ts +117 -0
- package/src/filter.test.ts +191 -0
- package/src/filter.ts +117 -0
- package/src/index.ts +15 -0
- package/src/proto/common.ts +561 -0
- package/src/proto/data.ts +2111 -0
- package/src/proto/filter.ts +658 -0
- package/src/proto/google/protobuf/timestamp.ts +220 -0
- package/src/proto/index.ts +3 -0
- package/tsconfig.json +11 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1900 @@
|
|
|
1
|
+
import { StreamConfig } from '@apibara/protocol';
|
|
2
|
+
import _m0 from 'protobufjs/minimal';
|
|
3
|
+
import * as _effect_schema_AST from '@effect/schema/AST';
|
|
4
|
+
import { Schema } from '@effect/schema';
|
|
5
|
+
|
|
6
|
+
declare const protobufPackage$2 = "evm.v2";
|
|
7
|
+
/**
|
|
8
|
+
* An address of 160 bits.
|
|
9
|
+
*
|
|
10
|
+
* As a separate type so that the API is clearer.
|
|
11
|
+
*/
|
|
12
|
+
interface Address$1 {
|
|
13
|
+
readonly x0?: bigint | undefined;
|
|
14
|
+
readonly x1?: bigint | undefined;
|
|
15
|
+
readonly x2?: number | undefined;
|
|
16
|
+
}
|
|
17
|
+
declare const Address$1: {
|
|
18
|
+
encode(message: Address$1, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Address$1;
|
|
20
|
+
fromJSON(object: any): Address$1;
|
|
21
|
+
toJSON(message: Address$1): unknown;
|
|
22
|
+
create(base?: DeepPartial$2<Address$1>): Address$1;
|
|
23
|
+
fromPartial(object: DeepPartial$2<Address$1>): Address$1;
|
|
24
|
+
};
|
|
25
|
+
/** A bloom filter of 256 bytes. */
|
|
26
|
+
interface Bloom$1 {
|
|
27
|
+
readonly value?: Uint8Array | undefined;
|
|
28
|
+
}
|
|
29
|
+
declare const Bloom$1: {
|
|
30
|
+
encode(message: Bloom$1, writer?: _m0.Writer): _m0.Writer;
|
|
31
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Bloom$1;
|
|
32
|
+
fromJSON(object: any): Bloom$1;
|
|
33
|
+
toJSON(message: Bloom$1): unknown;
|
|
34
|
+
create(base?: DeepPartial$2<Bloom$1>): Bloom$1;
|
|
35
|
+
fromPartial(object: DeepPartial$2<Bloom$1>): Bloom$1;
|
|
36
|
+
};
|
|
37
|
+
/** Unsigned integer of 128 bits. */
|
|
38
|
+
interface U128$1 {
|
|
39
|
+
readonly x0?: bigint | undefined;
|
|
40
|
+
readonly x1?: bigint | undefined;
|
|
41
|
+
}
|
|
42
|
+
declare const U128$1: {
|
|
43
|
+
encode(message: U128$1, writer?: _m0.Writer): _m0.Writer;
|
|
44
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): U128$1;
|
|
45
|
+
fromJSON(object: any): U128$1;
|
|
46
|
+
toJSON(message: U128$1): unknown;
|
|
47
|
+
create(base?: DeepPartial$2<U128$1>): U128$1;
|
|
48
|
+
fromPartial(object: DeepPartial$2<U128$1>): U128$1;
|
|
49
|
+
};
|
|
50
|
+
/** Unsigned integer of 256 bits. */
|
|
51
|
+
interface U256$1 {
|
|
52
|
+
readonly x0?: bigint | undefined;
|
|
53
|
+
readonly x1?: bigint | undefined;
|
|
54
|
+
readonly x2?: bigint | undefined;
|
|
55
|
+
readonly x3?: bigint | undefined;
|
|
56
|
+
}
|
|
57
|
+
declare const U256$1: {
|
|
58
|
+
encode(message: U256$1, writer?: _m0.Writer): _m0.Writer;
|
|
59
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): U256$1;
|
|
60
|
+
fromJSON(object: any): U256$1;
|
|
61
|
+
toJSON(message: U256$1): unknown;
|
|
62
|
+
create(base?: DeepPartial$2<U256$1>): U256$1;
|
|
63
|
+
fromPartial(object: DeepPartial$2<U256$1>): U256$1;
|
|
64
|
+
};
|
|
65
|
+
/** Byte array of 256 bits. */
|
|
66
|
+
interface B256$1 {
|
|
67
|
+
readonly x0?: bigint | undefined;
|
|
68
|
+
readonly x1?: bigint | undefined;
|
|
69
|
+
readonly x2?: bigint | undefined;
|
|
70
|
+
readonly x3?: bigint | undefined;
|
|
71
|
+
}
|
|
72
|
+
declare const B256$1: {
|
|
73
|
+
encode(message: B256$1, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): B256$1;
|
|
75
|
+
fromJSON(object: any): B256$1;
|
|
76
|
+
toJSON(message: B256$1): unknown;
|
|
77
|
+
create(base?: DeepPartial$2<B256$1>): B256$1;
|
|
78
|
+
fromPartial(object: DeepPartial$2<B256$1>): B256$1;
|
|
79
|
+
};
|
|
80
|
+
type Builtin$2 = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
81
|
+
type DeepPartial$2<T> = T extends Builtin$2 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$2<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$2<U>> : T extends {
|
|
82
|
+
readonly $case: string;
|
|
83
|
+
} ? {
|
|
84
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial$2<T[K]>;
|
|
85
|
+
} & {
|
|
86
|
+
readonly $case: T["$case"];
|
|
87
|
+
} : T extends {} ? {
|
|
88
|
+
[K in keyof T]?: DeepPartial$2<T[K]>;
|
|
89
|
+
} : Partial<T>;
|
|
90
|
+
|
|
91
|
+
declare namespace common {
|
|
92
|
+
export { Address$1 as Address, B256$1 as B256, Bloom$1 as Bloom, type DeepPartial$2 as DeepPartial, U128$1 as U128, U256$1 as U256, protobufPackage$2 as protobufPackage };
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare const protobufPackage$1 = "evm.v2";
|
|
96
|
+
/** EVM DNA definitions (data). */
|
|
97
|
+
/** Requested data, grouped by block. */
|
|
98
|
+
interface Block$1 {
|
|
99
|
+
/** The header. */
|
|
100
|
+
readonly header?: BlockHeader$1 | undefined;
|
|
101
|
+
/** List of withdrawals. */
|
|
102
|
+
readonly withdrawals?: readonly Withdrawal$1[] | undefined;
|
|
103
|
+
/** List of transactions. */
|
|
104
|
+
readonly transactions?: readonly Transaction$1[] | undefined;
|
|
105
|
+
/** List of receipts. */
|
|
106
|
+
readonly receipts?: readonly TransactionReceipt$1[] | undefined;
|
|
107
|
+
/** List of logs. */
|
|
108
|
+
readonly logs?: readonly Log$1[] | undefined;
|
|
109
|
+
}
|
|
110
|
+
declare const Block$1: {
|
|
111
|
+
encode(message: Block$1, writer?: _m0.Writer): _m0.Writer;
|
|
112
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Block$1;
|
|
113
|
+
fromJSON(object: any): Block$1;
|
|
114
|
+
toJSON(message: Block$1): unknown;
|
|
115
|
+
create(base?: DeepPartial$1<Block$1>): Block$1;
|
|
116
|
+
fromPartial(object: DeepPartial$1<Block$1>): Block$1;
|
|
117
|
+
};
|
|
118
|
+
/** Block header. */
|
|
119
|
+
interface BlockHeader$1 {
|
|
120
|
+
/** Block number. */
|
|
121
|
+
readonly number?: bigint | undefined;
|
|
122
|
+
/** Hash of the block. */
|
|
123
|
+
readonly hash?: B256$1 | undefined;
|
|
124
|
+
/** Hash of the parent block. */
|
|
125
|
+
readonly parentHash?: B256$1 | undefined;
|
|
126
|
+
/** Hash of the uncles. */
|
|
127
|
+
readonly unclesHash?: B256$1 | undefined;
|
|
128
|
+
/** Author of the block. */
|
|
129
|
+
readonly miner?: Address$1 | undefined;
|
|
130
|
+
/** State root hash. */
|
|
131
|
+
readonly stateRoot?: B256$1 | undefined;
|
|
132
|
+
/** Transactions root hash. */
|
|
133
|
+
readonly transactionsRoot?: B256$1 | undefined;
|
|
134
|
+
/** Receipts root hash. */
|
|
135
|
+
readonly receiptsRoot?: B256$1 | undefined;
|
|
136
|
+
/** Logs bloom. */
|
|
137
|
+
readonly logsBloom?: Bloom$1 | undefined;
|
|
138
|
+
/** Difficulty. */
|
|
139
|
+
readonly difficulty?: U256$1 | undefined;
|
|
140
|
+
/** Gas limit. */
|
|
141
|
+
readonly gasLimit?: U256$1 | undefined;
|
|
142
|
+
/** Gas used. */
|
|
143
|
+
readonly gasUsed?: U256$1 | undefined;
|
|
144
|
+
/** Timestamp. */
|
|
145
|
+
readonly timestamp?: Date | undefined;
|
|
146
|
+
/** Extra data. */
|
|
147
|
+
readonly extraData?: Uint8Array | undefined;
|
|
148
|
+
/** Mix hash. */
|
|
149
|
+
readonly mixHash?: B256$1 | undefined;
|
|
150
|
+
/** Nonce. */
|
|
151
|
+
readonly nonce?: bigint | undefined;
|
|
152
|
+
/** Base fee per unit of gas. */
|
|
153
|
+
readonly baseFeePerGas?: U256$1 | undefined;
|
|
154
|
+
/** Withdrawals root hash. */
|
|
155
|
+
readonly withdrawalsRoot?: B256$1 | undefined;
|
|
156
|
+
/** Total difficulty. */
|
|
157
|
+
readonly totalDifficulty?: U256$1 | undefined;
|
|
158
|
+
/** Uncles' hashes. */
|
|
159
|
+
readonly uncles?: readonly B256$1[] | undefined;
|
|
160
|
+
/** The size of this block in bytes. */
|
|
161
|
+
readonly size?: U256$1 | undefined;
|
|
162
|
+
/** Blob gas used. */
|
|
163
|
+
readonly blobGasUsed?: bigint | undefined;
|
|
164
|
+
/** Excess blob gas. */
|
|
165
|
+
readonly excessBlobGas?: bigint | undefined;
|
|
166
|
+
/** Parent beacon block root. */
|
|
167
|
+
readonly parentBeaconBlockRoot?: B256$1 | undefined;
|
|
168
|
+
}
|
|
169
|
+
declare const BlockHeader$1: {
|
|
170
|
+
encode(message: BlockHeader$1, writer?: _m0.Writer): _m0.Writer;
|
|
171
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BlockHeader$1;
|
|
172
|
+
fromJSON(object: any): BlockHeader$1;
|
|
173
|
+
toJSON(message: BlockHeader$1): unknown;
|
|
174
|
+
create(base?: DeepPartial$1<BlockHeader$1>): BlockHeader$1;
|
|
175
|
+
fromPartial(object: DeepPartial$1<BlockHeader$1>): BlockHeader$1;
|
|
176
|
+
};
|
|
177
|
+
/** A validator's withdrawal from the consensus layer. */
|
|
178
|
+
interface Withdrawal$1 {
|
|
179
|
+
/** Increasing index of the withdrawal. */
|
|
180
|
+
readonly index?: bigint | undefined;
|
|
181
|
+
/** Index of the validator. */
|
|
182
|
+
readonly validatorIndex?: bigint | undefined;
|
|
183
|
+
/** Withdrawal index in the block. */
|
|
184
|
+
readonly withdrawalIndex?: bigint | undefined;
|
|
185
|
+
/** Target address of the withdrawal. */
|
|
186
|
+
readonly address?: Address$1 | undefined;
|
|
187
|
+
/** Value of the withdrawal, in gwei. */
|
|
188
|
+
readonly amount?: U256$1 | undefined;
|
|
189
|
+
}
|
|
190
|
+
declare const Withdrawal$1: {
|
|
191
|
+
encode(message: Withdrawal$1, writer?: _m0.Writer): _m0.Writer;
|
|
192
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Withdrawal$1;
|
|
193
|
+
fromJSON(object: any): Withdrawal$1;
|
|
194
|
+
toJSON(message: Withdrawal$1): unknown;
|
|
195
|
+
create(base?: DeepPartial$1<Withdrawal$1>): Withdrawal$1;
|
|
196
|
+
fromPartial(object: DeepPartial$1<Withdrawal$1>): Withdrawal$1;
|
|
197
|
+
};
|
|
198
|
+
interface Transaction$1 {
|
|
199
|
+
/** Transaction hash. */
|
|
200
|
+
readonly hash?: B256$1 | undefined;
|
|
201
|
+
/** Nonce. */
|
|
202
|
+
readonly nonce?: bigint | undefined;
|
|
203
|
+
/** Transaction index in the block. */
|
|
204
|
+
readonly transactionIndex?: bigint | undefined;
|
|
205
|
+
/** Sender. */
|
|
206
|
+
readonly from?: Address$1 | undefined;
|
|
207
|
+
/** Recipient. */
|
|
208
|
+
readonly to?: Address$1 | undefined;
|
|
209
|
+
/** Amount of wei transferred. */
|
|
210
|
+
readonly value?: U256$1 | undefined;
|
|
211
|
+
/** Gas price. */
|
|
212
|
+
readonly gasPrice?: U128$1 | undefined;
|
|
213
|
+
/** Gas amount. */
|
|
214
|
+
readonly gas?: U256$1 | undefined;
|
|
215
|
+
/** Max base fee per gas the sender is willing to pay. */
|
|
216
|
+
readonly maxFeePerGas?: U128$1 | undefined;
|
|
217
|
+
/** Miner's tip. */
|
|
218
|
+
readonly maxPriorityFeePerGas?: U128$1 | undefined;
|
|
219
|
+
/** Data. */
|
|
220
|
+
readonly input?: Uint8Array | undefined;
|
|
221
|
+
/** The signature's r,s,v,yParity values. */
|
|
222
|
+
readonly signature?: Signature$1 | undefined;
|
|
223
|
+
/** Chain ID. */
|
|
224
|
+
readonly chainId?: bigint | undefined;
|
|
225
|
+
/** EIP-2930 access list. */
|
|
226
|
+
readonly accessList?: readonly AccessListItem$1[] | undefined;
|
|
227
|
+
/** EIP-2718 transaction type. */
|
|
228
|
+
readonly transactionType?: bigint | undefined;
|
|
229
|
+
/** EIP-4844 max gas fee per blob. */
|
|
230
|
+
readonly maxFeePerBlobGas?: U128$1 | undefined;
|
|
231
|
+
/** EIP-4844 blob hashes. */
|
|
232
|
+
readonly blobVersionedHashes?: readonly B256$1[] | undefined;
|
|
233
|
+
}
|
|
234
|
+
declare const Transaction$1: {
|
|
235
|
+
encode(message: Transaction$1, writer?: _m0.Writer): _m0.Writer;
|
|
236
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Transaction$1;
|
|
237
|
+
fromJSON(object: any): Transaction$1;
|
|
238
|
+
toJSON(message: Transaction$1): unknown;
|
|
239
|
+
create(base?: DeepPartial$1<Transaction$1>): Transaction$1;
|
|
240
|
+
fromPartial(object: DeepPartial$1<Transaction$1>): Transaction$1;
|
|
241
|
+
};
|
|
242
|
+
interface TransactionReceipt$1 {
|
|
243
|
+
/** Transaction hash. */
|
|
244
|
+
readonly transactionHash?: B256$1 | undefined;
|
|
245
|
+
/** Index of the transaction in the block. */
|
|
246
|
+
readonly transactionIndex?: bigint | undefined;
|
|
247
|
+
/** Cumulative gas used in the block after this transaction has been executed. */
|
|
248
|
+
readonly cumulativeGasUsed?: U256$1 | undefined;
|
|
249
|
+
/** Gas used by this transaction. */
|
|
250
|
+
readonly gasUsed?: U256$1 | undefined;
|
|
251
|
+
/** The price paid by the transaction. */
|
|
252
|
+
readonly effectiveGasPrice?: U128$1 | undefined;
|
|
253
|
+
/** Sender. */
|
|
254
|
+
readonly from?: Address$1 | undefined;
|
|
255
|
+
/** Recipient, if any. */
|
|
256
|
+
readonly to?: Address$1 | undefined;
|
|
257
|
+
/** Contract address created, if any. */
|
|
258
|
+
readonly contractAddress?: Address$1 | undefined;
|
|
259
|
+
/** Logs bloom. */
|
|
260
|
+
readonly logsBloom?: Bloom$1 | undefined;
|
|
261
|
+
/** Either 1 (success) or 0 (failure). */
|
|
262
|
+
readonly statusCode?: bigint | undefined;
|
|
263
|
+
/** EIP-2718 transaction type. */
|
|
264
|
+
readonly transactionType?: bigint | undefined;
|
|
265
|
+
/** EIP-4844 blob gas used. */
|
|
266
|
+
readonly blobGasUsed?: U128$1 | undefined;
|
|
267
|
+
/** EIP-4844 blob gas paid by the transaction. */
|
|
268
|
+
readonly blobGasPrice?: U128$1 | undefined;
|
|
269
|
+
}
|
|
270
|
+
declare const TransactionReceipt$1: {
|
|
271
|
+
encode(message: TransactionReceipt$1, writer?: _m0.Writer): _m0.Writer;
|
|
272
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TransactionReceipt$1;
|
|
273
|
+
fromJSON(object: any): TransactionReceipt$1;
|
|
274
|
+
toJSON(message: TransactionReceipt$1): unknown;
|
|
275
|
+
create(base?: DeepPartial$1<TransactionReceipt$1>): TransactionReceipt$1;
|
|
276
|
+
fromPartial(object: DeepPartial$1<TransactionReceipt$1>): TransactionReceipt$1;
|
|
277
|
+
};
|
|
278
|
+
interface Log$1 {
|
|
279
|
+
/** Address of the contract that emitted the log. */
|
|
280
|
+
readonly address?: Address$1 | undefined;
|
|
281
|
+
/** Log topics. */
|
|
282
|
+
readonly topics?: readonly B256$1[] | undefined;
|
|
283
|
+
/** Additional data. */
|
|
284
|
+
readonly data?: Uint8Array | undefined;
|
|
285
|
+
/** Index of the log in the block. */
|
|
286
|
+
readonly logIndex?: bigint | undefined;
|
|
287
|
+
/** Index of the transaction that emitted the log. */
|
|
288
|
+
readonly transactionIndex?: bigint | undefined;
|
|
289
|
+
/** Hash of the transaction that emitted the log. */
|
|
290
|
+
readonly transactionHash?: B256$1 | undefined;
|
|
291
|
+
}
|
|
292
|
+
declare const Log$1: {
|
|
293
|
+
encode(message: Log$1, writer?: _m0.Writer): _m0.Writer;
|
|
294
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Log$1;
|
|
295
|
+
fromJSON(object: any): Log$1;
|
|
296
|
+
toJSON(message: Log$1): unknown;
|
|
297
|
+
create(base?: DeepPartial$1<Log$1>): Log$1;
|
|
298
|
+
fromPartial(object: DeepPartial$1<Log$1>): Log$1;
|
|
299
|
+
};
|
|
300
|
+
interface Signature$1 {
|
|
301
|
+
/** The signature's r value. */
|
|
302
|
+
readonly r?: U256$1 | undefined;
|
|
303
|
+
/** The signature's s value. */
|
|
304
|
+
readonly s?: U256$1 | undefined;
|
|
305
|
+
/** The signature's v value. */
|
|
306
|
+
readonly v?: U256$1 | undefined;
|
|
307
|
+
/** The signature's parity byte. */
|
|
308
|
+
readonly yParity?: boolean | undefined;
|
|
309
|
+
}
|
|
310
|
+
declare const Signature$1: {
|
|
311
|
+
encode(message: Signature$1, writer?: _m0.Writer): _m0.Writer;
|
|
312
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Signature$1;
|
|
313
|
+
fromJSON(object: any): Signature$1;
|
|
314
|
+
toJSON(message: Signature$1): unknown;
|
|
315
|
+
create(base?: DeepPartial$1<Signature$1>): Signature$1;
|
|
316
|
+
fromPartial(object: DeepPartial$1<Signature$1>): Signature$1;
|
|
317
|
+
};
|
|
318
|
+
interface AccessListItem$1 {
|
|
319
|
+
/** Account address to be loaded at the start of the transaction. */
|
|
320
|
+
readonly address?: Address$1 | undefined;
|
|
321
|
+
/** Storage keys to be loaded at the start of the transaction. */
|
|
322
|
+
readonly storageKeys?: readonly B256$1[] | undefined;
|
|
323
|
+
}
|
|
324
|
+
declare const AccessListItem$1: {
|
|
325
|
+
encode(message: AccessListItem$1, writer?: _m0.Writer): _m0.Writer;
|
|
326
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AccessListItem$1;
|
|
327
|
+
fromJSON(object: any): AccessListItem$1;
|
|
328
|
+
toJSON(message: AccessListItem$1): unknown;
|
|
329
|
+
create(base?: DeepPartial$1<AccessListItem$1>): AccessListItem$1;
|
|
330
|
+
fromPartial(object: DeepPartial$1<AccessListItem$1>): AccessListItem$1;
|
|
331
|
+
};
|
|
332
|
+
type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
333
|
+
type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1<U>> : T extends {
|
|
334
|
+
readonly $case: string;
|
|
335
|
+
} ? {
|
|
336
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial$1<T[K]>;
|
|
337
|
+
} & {
|
|
338
|
+
readonly $case: T["$case"];
|
|
339
|
+
} : T extends {} ? {
|
|
340
|
+
[K in keyof T]?: DeepPartial$1<T[K]>;
|
|
341
|
+
} : Partial<T>;
|
|
342
|
+
|
|
343
|
+
declare namespace data {
|
|
344
|
+
export { AccessListItem$1 as AccessListItem, Block$1 as Block, BlockHeader$1 as BlockHeader, type DeepPartial$1 as DeepPartial, Log$1 as Log, Signature$1 as Signature, Transaction$1 as Transaction, TransactionReceipt$1 as TransactionReceipt, Withdrawal$1 as Withdrawal, protobufPackage$1 as protobufPackage };
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
declare const protobufPackage = "evm.v2";
|
|
348
|
+
/** EVM DNA definitions (filter). */
|
|
349
|
+
interface Filter$1 {
|
|
350
|
+
/** Include header. */
|
|
351
|
+
readonly header?: HeaderFilter$1 | undefined;
|
|
352
|
+
/** Filter withdrawals. */
|
|
353
|
+
readonly withdrawals?: readonly WithdrawalFilter$1[] | undefined;
|
|
354
|
+
/** Filter transactions. */
|
|
355
|
+
readonly transactions?: readonly TransactionFilter$1[] | undefined;
|
|
356
|
+
/** Filter logs. */
|
|
357
|
+
readonly logs?: readonly LogFilter$1[] | undefined;
|
|
358
|
+
}
|
|
359
|
+
declare const Filter$1: {
|
|
360
|
+
encode(message: Filter$1, writer?: _m0.Writer): _m0.Writer;
|
|
361
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Filter$1;
|
|
362
|
+
fromJSON(object: any): Filter$1;
|
|
363
|
+
toJSON(message: Filter$1): unknown;
|
|
364
|
+
create(base?: DeepPartial<Filter$1>): Filter$1;
|
|
365
|
+
fromPartial(object: DeepPartial<Filter$1>): Filter$1;
|
|
366
|
+
};
|
|
367
|
+
interface HeaderFilter$1 {
|
|
368
|
+
/** Always include header data. Defaults to `false`. */
|
|
369
|
+
readonly always?: boolean | undefined;
|
|
370
|
+
}
|
|
371
|
+
declare const HeaderFilter$1: {
|
|
372
|
+
encode(message: HeaderFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
373
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): HeaderFilter$1;
|
|
374
|
+
fromJSON(object: any): HeaderFilter$1;
|
|
375
|
+
toJSON(message: HeaderFilter$1): unknown;
|
|
376
|
+
create(base?: DeepPartial<HeaderFilter$1>): HeaderFilter$1;
|
|
377
|
+
fromPartial(object: DeepPartial<HeaderFilter$1>): HeaderFilter$1;
|
|
378
|
+
};
|
|
379
|
+
interface WithdrawalFilter$1 {
|
|
380
|
+
/** Filter based on the validator index. */
|
|
381
|
+
readonly validatorIndex?: bigint | undefined;
|
|
382
|
+
/** Filter based on the withdrawal's target address. */
|
|
383
|
+
readonly address?: Address$1 | undefined;
|
|
384
|
+
}
|
|
385
|
+
declare const WithdrawalFilter$1: {
|
|
386
|
+
encode(message: WithdrawalFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
387
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WithdrawalFilter$1;
|
|
388
|
+
fromJSON(object: any): WithdrawalFilter$1;
|
|
389
|
+
toJSON(message: WithdrawalFilter$1): unknown;
|
|
390
|
+
create(base?: DeepPartial<WithdrawalFilter$1>): WithdrawalFilter$1;
|
|
391
|
+
fromPartial(object: DeepPartial<WithdrawalFilter$1>): WithdrawalFilter$1;
|
|
392
|
+
};
|
|
393
|
+
interface TransactionFilter$1 {
|
|
394
|
+
/** Filter based on the transaction's sender address. */
|
|
395
|
+
readonly from?: Address$1 | undefined;
|
|
396
|
+
/** Filter based on the transaction's recipient address. */
|
|
397
|
+
readonly to?: Address$1 | undefined;
|
|
398
|
+
/** Flag to request the transaction's receipt. Defaults to `false`. */
|
|
399
|
+
readonly includeReceipt?: boolean | undefined;
|
|
400
|
+
/** Flag to request the transaction's logs. Defaults to `false`. */
|
|
401
|
+
readonly includeLogs?: boolean | undefined;
|
|
402
|
+
}
|
|
403
|
+
declare const TransactionFilter$1: {
|
|
404
|
+
encode(message: TransactionFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
405
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TransactionFilter$1;
|
|
406
|
+
fromJSON(object: any): TransactionFilter$1;
|
|
407
|
+
toJSON(message: TransactionFilter$1): unknown;
|
|
408
|
+
create(base?: DeepPartial<TransactionFilter$1>): TransactionFilter$1;
|
|
409
|
+
fromPartial(object: DeepPartial<TransactionFilter$1>): TransactionFilter$1;
|
|
410
|
+
};
|
|
411
|
+
interface LogFilter$1 {
|
|
412
|
+
/** Filter based on the log's contract address. */
|
|
413
|
+
readonly address?: Address$1 | undefined;
|
|
414
|
+
/** Filter based on the log's topics. */
|
|
415
|
+
readonly topics?: readonly Topic$1[] | undefined;
|
|
416
|
+
/**
|
|
417
|
+
* Only returns logs with topics of exactly the same length as the filter.
|
|
418
|
+
*
|
|
419
|
+
* Defaults to `false`.
|
|
420
|
+
*/
|
|
421
|
+
readonly strict?: boolean | undefined;
|
|
422
|
+
/** Flag to request the log's transaction. Defaults to `false`. */
|
|
423
|
+
readonly includeTransaction?: boolean | undefined;
|
|
424
|
+
/** Flag to request the log's receipt. Defaults to `false`. */
|
|
425
|
+
readonly includeReceipt?: boolean | undefined;
|
|
426
|
+
}
|
|
427
|
+
declare const LogFilter$1: {
|
|
428
|
+
encode(message: LogFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
429
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): LogFilter$1;
|
|
430
|
+
fromJSON(object: any): LogFilter$1;
|
|
431
|
+
toJSON(message: LogFilter$1): unknown;
|
|
432
|
+
create(base?: DeepPartial<LogFilter$1>): LogFilter$1;
|
|
433
|
+
fromPartial(object: DeepPartial<LogFilter$1>): LogFilter$1;
|
|
434
|
+
};
|
|
435
|
+
/** Topic filter. */
|
|
436
|
+
interface Topic$1 {
|
|
437
|
+
/** Topic value. Leave empty to match any topic. */
|
|
438
|
+
readonly value?: B256$1 | undefined;
|
|
439
|
+
}
|
|
440
|
+
declare const Topic$1: {
|
|
441
|
+
encode(message: Topic$1, writer?: _m0.Writer): _m0.Writer;
|
|
442
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Topic$1;
|
|
443
|
+
fromJSON(object: any): Topic$1;
|
|
444
|
+
toJSON(message: Topic$1): unknown;
|
|
445
|
+
create(base?: DeepPartial<Topic$1>): Topic$1;
|
|
446
|
+
fromPartial(object: DeepPartial<Topic$1>): Topic$1;
|
|
447
|
+
};
|
|
448
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
449
|
+
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
450
|
+
readonly $case: string;
|
|
451
|
+
} ? {
|
|
452
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
453
|
+
} & {
|
|
454
|
+
readonly $case: T["$case"];
|
|
455
|
+
} : T extends {} ? {
|
|
456
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
457
|
+
} : Partial<T>;
|
|
458
|
+
|
|
459
|
+
type filter_DeepPartial<T> = DeepPartial<T>;
|
|
460
|
+
declare const filter_protobufPackage: typeof protobufPackage;
|
|
461
|
+
declare namespace filter {
|
|
462
|
+
export { type filter_DeepPartial as DeepPartial, Filter$1 as Filter, HeaderFilter$1 as HeaderFilter, LogFilter$1 as LogFilter, Topic$1 as Topic, TransactionFilter$1 as TransactionFilter, WithdrawalFilter$1 as WithdrawalFilter, filter_protobufPackage as protobufPackage };
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare const index_common: typeof common;
|
|
466
|
+
declare const index_data: typeof data;
|
|
467
|
+
declare const index_filter: typeof filter;
|
|
468
|
+
declare namespace index {
|
|
469
|
+
export { index_common as common, index_data as data, index_filter as filter };
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/** An Ethereum address. */
|
|
473
|
+
declare const Address: Schema.transform<Schema.Struct<{
|
|
474
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
475
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
476
|
+
x2: typeof Schema.Number;
|
|
477
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
478
|
+
type Address = typeof Address.Type;
|
|
479
|
+
/** Data with length 256 bits. */
|
|
480
|
+
declare const B256: Schema.transform<Schema.Struct<{
|
|
481
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
482
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
483
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
484
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
485
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
486
|
+
declare const b256ToProto: (a: `0x${string}`, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
|
|
487
|
+
readonly x0: bigint;
|
|
488
|
+
readonly x1: bigint;
|
|
489
|
+
readonly x2: bigint;
|
|
490
|
+
readonly x3: bigint;
|
|
491
|
+
};
|
|
492
|
+
declare const b256FromProto: (i: {
|
|
493
|
+
readonly x0: bigint;
|
|
494
|
+
readonly x1: bigint;
|
|
495
|
+
readonly x2: bigint;
|
|
496
|
+
readonly x3: bigint;
|
|
497
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => `0x${string}`;
|
|
498
|
+
/** Data with length 256 bits. */
|
|
499
|
+
declare const U256: Schema.transform<Schema.Struct<{
|
|
500
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
501
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
502
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
503
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
504
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
505
|
+
declare const u256ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
|
|
506
|
+
readonly x0: bigint;
|
|
507
|
+
readonly x1: bigint;
|
|
508
|
+
readonly x2: bigint;
|
|
509
|
+
readonly x3: bigint;
|
|
510
|
+
};
|
|
511
|
+
declare const u256FromProto: (i: {
|
|
512
|
+
readonly x0: bigint;
|
|
513
|
+
readonly x1: bigint;
|
|
514
|
+
readonly x2: bigint;
|
|
515
|
+
readonly x3: bigint;
|
|
516
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => bigint;
|
|
517
|
+
/** Data with length 128 bits. */
|
|
518
|
+
declare const U128: Schema.transform<Schema.Struct<{
|
|
519
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
520
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
521
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
522
|
+
declare const u128ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
|
|
523
|
+
readonly x0: bigint;
|
|
524
|
+
readonly x1: bigint;
|
|
525
|
+
};
|
|
526
|
+
declare const u128FromProto: (i: {
|
|
527
|
+
readonly x0: bigint;
|
|
528
|
+
readonly x1: bigint;
|
|
529
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => bigint;
|
|
530
|
+
|
|
531
|
+
declare const HeaderFilter: Schema.Struct<{
|
|
532
|
+
always: Schema.optional<typeof Schema.Boolean>;
|
|
533
|
+
}>;
|
|
534
|
+
type HeaderFilter = typeof HeaderFilter.Type;
|
|
535
|
+
declare const WithdrawalFilter: Schema.Struct<{
|
|
536
|
+
validatorIndex: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
537
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
538
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
539
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
540
|
+
x2: typeof Schema.Number;
|
|
541
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
542
|
+
}>;
|
|
543
|
+
type WithdrawalFilter = typeof WithdrawalFilter.Type;
|
|
544
|
+
declare const Topic: Schema.transform<Schema.Struct<{
|
|
545
|
+
value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
|
|
546
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
547
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
548
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
549
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
550
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
551
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
552
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
553
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
554
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
555
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
556
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
|
|
557
|
+
declare const LogFilter: Schema.Struct<{
|
|
558
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
559
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
560
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
561
|
+
x2: typeof Schema.Number;
|
|
562
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
563
|
+
topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
564
|
+
value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
|
|
565
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
566
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
567
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
568
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
569
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
570
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
571
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
572
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
573
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
574
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
575
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
576
|
+
strict: Schema.optional<typeof Schema.Boolean>;
|
|
577
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
578
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
579
|
+
}>;
|
|
580
|
+
type LogFilter = typeof LogFilter.Type;
|
|
581
|
+
declare const TransactionFilter: Schema.Struct<{
|
|
582
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
583
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
584
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
585
|
+
x2: typeof Schema.Number;
|
|
586
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
587
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
588
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
589
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
590
|
+
x2: typeof Schema.Number;
|
|
591
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
592
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
593
|
+
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
594
|
+
}>;
|
|
595
|
+
type TransactionFilter = typeof TransactionFilter.Type;
|
|
596
|
+
declare const Filter: Schema.Struct<{
|
|
597
|
+
header: Schema.optional<Schema.Struct<{
|
|
598
|
+
always: Schema.optional<typeof Schema.Boolean>;
|
|
599
|
+
}>>;
|
|
600
|
+
withdrawals: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
601
|
+
validatorIndex: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
602
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
603
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
604
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
605
|
+
x2: typeof Schema.Number;
|
|
606
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
607
|
+
}>>>;
|
|
608
|
+
logs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
609
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
610
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
611
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
612
|
+
x2: typeof Schema.Number;
|
|
613
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
614
|
+
topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
615
|
+
value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
|
|
616
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
617
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
618
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
619
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
620
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
621
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
622
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
623
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
624
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
625
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
626
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
627
|
+
strict: Schema.optional<typeof Schema.Boolean>;
|
|
628
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
629
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
630
|
+
}>>>;
|
|
631
|
+
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
632
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
633
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
634
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
635
|
+
x2: typeof Schema.Number;
|
|
636
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
637
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
638
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
639
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
640
|
+
x2: typeof Schema.Number;
|
|
641
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
642
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
643
|
+
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
644
|
+
}>>>;
|
|
645
|
+
}>;
|
|
646
|
+
type Filter = typeof Filter.Type;
|
|
647
|
+
declare const filterToProto: (a: {
|
|
648
|
+
readonly header?: {
|
|
649
|
+
readonly always?: boolean | undefined;
|
|
650
|
+
} | undefined;
|
|
651
|
+
readonly withdrawals?: readonly {
|
|
652
|
+
readonly validatorIndex?: bigint | undefined;
|
|
653
|
+
readonly address?: `0x${string}` | undefined;
|
|
654
|
+
}[] | undefined;
|
|
655
|
+
readonly logs?: readonly {
|
|
656
|
+
readonly address?: `0x${string}` | undefined;
|
|
657
|
+
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
658
|
+
readonly strict?: boolean | undefined;
|
|
659
|
+
readonly includeTransaction?: boolean | undefined;
|
|
660
|
+
readonly includeReceipt?: boolean | undefined;
|
|
661
|
+
}[] | undefined;
|
|
662
|
+
readonly transactions?: readonly {
|
|
663
|
+
readonly from?: `0x${string}` | undefined;
|
|
664
|
+
readonly to?: `0x${string}` | undefined;
|
|
665
|
+
readonly includeReceipt?: boolean | undefined;
|
|
666
|
+
readonly includeLogs?: boolean | undefined;
|
|
667
|
+
}[] | undefined;
|
|
668
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
|
|
669
|
+
readonly header?: {
|
|
670
|
+
readonly always?: boolean | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
readonly withdrawals?: readonly {
|
|
673
|
+
readonly validatorIndex?: bigint | undefined;
|
|
674
|
+
readonly address?: {
|
|
675
|
+
readonly x0: bigint;
|
|
676
|
+
readonly x1: bigint;
|
|
677
|
+
readonly x2: number;
|
|
678
|
+
} | undefined;
|
|
679
|
+
}[] | undefined;
|
|
680
|
+
readonly logs?: readonly {
|
|
681
|
+
readonly address?: {
|
|
682
|
+
readonly x0: bigint;
|
|
683
|
+
readonly x1: bigint;
|
|
684
|
+
readonly x2: number;
|
|
685
|
+
} | undefined;
|
|
686
|
+
readonly topics?: readonly {
|
|
687
|
+
readonly value: {
|
|
688
|
+
readonly x0: bigint;
|
|
689
|
+
readonly x1: bigint;
|
|
690
|
+
readonly x2: bigint;
|
|
691
|
+
readonly x3: bigint;
|
|
692
|
+
} | undefined;
|
|
693
|
+
}[] | undefined;
|
|
694
|
+
readonly strict?: boolean | undefined;
|
|
695
|
+
readonly includeTransaction?: boolean | undefined;
|
|
696
|
+
readonly includeReceipt?: boolean | undefined;
|
|
697
|
+
}[] | undefined;
|
|
698
|
+
readonly transactions?: readonly {
|
|
699
|
+
readonly from?: {
|
|
700
|
+
readonly x0: bigint;
|
|
701
|
+
readonly x1: bigint;
|
|
702
|
+
readonly x2: number;
|
|
703
|
+
} | undefined;
|
|
704
|
+
readonly to?: {
|
|
705
|
+
readonly x0: bigint;
|
|
706
|
+
readonly x1: bigint;
|
|
707
|
+
readonly x2: number;
|
|
708
|
+
} | undefined;
|
|
709
|
+
readonly includeReceipt?: boolean | undefined;
|
|
710
|
+
readonly includeLogs?: boolean | undefined;
|
|
711
|
+
}[] | undefined;
|
|
712
|
+
};
|
|
713
|
+
declare const filterFromProto: (i: {
|
|
714
|
+
readonly header?: {
|
|
715
|
+
readonly always?: boolean | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
readonly withdrawals?: readonly {
|
|
718
|
+
readonly validatorIndex?: bigint | undefined;
|
|
719
|
+
readonly address?: {
|
|
720
|
+
readonly x0: bigint;
|
|
721
|
+
readonly x1: bigint;
|
|
722
|
+
readonly x2: number;
|
|
723
|
+
} | undefined;
|
|
724
|
+
}[] | undefined;
|
|
725
|
+
readonly logs?: readonly {
|
|
726
|
+
readonly address?: {
|
|
727
|
+
readonly x0: bigint;
|
|
728
|
+
readonly x1: bigint;
|
|
729
|
+
readonly x2: number;
|
|
730
|
+
} | undefined;
|
|
731
|
+
readonly topics?: readonly {
|
|
732
|
+
readonly value: {
|
|
733
|
+
readonly x0: bigint;
|
|
734
|
+
readonly x1: bigint;
|
|
735
|
+
readonly x2: bigint;
|
|
736
|
+
readonly x3: bigint;
|
|
737
|
+
} | undefined;
|
|
738
|
+
}[] | undefined;
|
|
739
|
+
readonly strict?: boolean | undefined;
|
|
740
|
+
readonly includeTransaction?: boolean | undefined;
|
|
741
|
+
readonly includeReceipt?: boolean | undefined;
|
|
742
|
+
}[] | undefined;
|
|
743
|
+
readonly transactions?: readonly {
|
|
744
|
+
readonly from?: {
|
|
745
|
+
readonly x0: bigint;
|
|
746
|
+
readonly x1: bigint;
|
|
747
|
+
readonly x2: number;
|
|
748
|
+
} | undefined;
|
|
749
|
+
readonly to?: {
|
|
750
|
+
readonly x0: bigint;
|
|
751
|
+
readonly x1: bigint;
|
|
752
|
+
readonly x2: number;
|
|
753
|
+
} | undefined;
|
|
754
|
+
readonly includeReceipt?: boolean | undefined;
|
|
755
|
+
readonly includeLogs?: boolean | undefined;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
|
|
758
|
+
readonly header?: {
|
|
759
|
+
readonly always?: boolean | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
readonly withdrawals?: readonly {
|
|
762
|
+
readonly validatorIndex?: bigint | undefined;
|
|
763
|
+
readonly address?: `0x${string}` | undefined;
|
|
764
|
+
}[] | undefined;
|
|
765
|
+
readonly logs?: readonly {
|
|
766
|
+
readonly address?: `0x${string}` | undefined;
|
|
767
|
+
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
768
|
+
readonly strict?: boolean | undefined;
|
|
769
|
+
readonly includeTransaction?: boolean | undefined;
|
|
770
|
+
readonly includeReceipt?: boolean | undefined;
|
|
771
|
+
}[] | undefined;
|
|
772
|
+
readonly transactions?: readonly {
|
|
773
|
+
readonly from?: `0x${string}` | undefined;
|
|
774
|
+
readonly to?: `0x${string}` | undefined;
|
|
775
|
+
readonly includeReceipt?: boolean | undefined;
|
|
776
|
+
readonly includeLogs?: boolean | undefined;
|
|
777
|
+
}[] | undefined;
|
|
778
|
+
};
|
|
779
|
+
declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
|
|
780
|
+
header: Schema.optional<Schema.Struct<{
|
|
781
|
+
always: Schema.optional<typeof Schema.Boolean>;
|
|
782
|
+
}>>;
|
|
783
|
+
withdrawals: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
784
|
+
validatorIndex: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
785
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
786
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
787
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
788
|
+
x2: typeof Schema.Number;
|
|
789
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
790
|
+
}>>>;
|
|
791
|
+
logs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
792
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
793
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
794
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
795
|
+
x2: typeof Schema.Number;
|
|
796
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
797
|
+
topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
798
|
+
value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
|
|
799
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
800
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
801
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
802
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
803
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
804
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
805
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
806
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
807
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
808
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
809
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
810
|
+
strict: Schema.optional<typeof Schema.Boolean>;
|
|
811
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
812
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
813
|
+
}>>>;
|
|
814
|
+
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
815
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
816
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
817
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
818
|
+
x2: typeof Schema.Number;
|
|
819
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
820
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
821
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
822
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
823
|
+
x2: typeof Schema.Number;
|
|
824
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
825
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
826
|
+
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
827
|
+
}>>>;
|
|
828
|
+
}>>;
|
|
829
|
+
declare const filterToBytes: (a: {
|
|
830
|
+
readonly header?: {
|
|
831
|
+
readonly always?: boolean | undefined;
|
|
832
|
+
} | undefined;
|
|
833
|
+
readonly withdrawals?: readonly {
|
|
834
|
+
readonly validatorIndex?: bigint | undefined;
|
|
835
|
+
readonly address?: `0x${string}` | undefined;
|
|
836
|
+
}[] | undefined;
|
|
837
|
+
readonly logs?: readonly {
|
|
838
|
+
readonly address?: `0x${string}` | undefined;
|
|
839
|
+
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
840
|
+
readonly strict?: boolean | undefined;
|
|
841
|
+
readonly includeTransaction?: boolean | undefined;
|
|
842
|
+
readonly includeReceipt?: boolean | undefined;
|
|
843
|
+
}[] | undefined;
|
|
844
|
+
readonly transactions?: readonly {
|
|
845
|
+
readonly from?: `0x${string}` | undefined;
|
|
846
|
+
readonly to?: `0x${string}` | undefined;
|
|
847
|
+
readonly includeReceipt?: boolean | undefined;
|
|
848
|
+
readonly includeLogs?: boolean | undefined;
|
|
849
|
+
}[] | undefined;
|
|
850
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => Uint8Array;
|
|
851
|
+
declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
|
|
852
|
+
readonly header?: {
|
|
853
|
+
readonly always?: boolean | undefined;
|
|
854
|
+
} | undefined;
|
|
855
|
+
readonly withdrawals?: readonly {
|
|
856
|
+
readonly validatorIndex?: bigint | undefined;
|
|
857
|
+
readonly address?: `0x${string}` | undefined;
|
|
858
|
+
}[] | undefined;
|
|
859
|
+
readonly logs?: readonly {
|
|
860
|
+
readonly address?: `0x${string}` | undefined;
|
|
861
|
+
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
862
|
+
readonly strict?: boolean | undefined;
|
|
863
|
+
readonly includeTransaction?: boolean | undefined;
|
|
864
|
+
readonly includeReceipt?: boolean | undefined;
|
|
865
|
+
}[] | undefined;
|
|
866
|
+
readonly transactions?: readonly {
|
|
867
|
+
readonly from?: `0x${string}` | undefined;
|
|
868
|
+
readonly to?: `0x${string}` | undefined;
|
|
869
|
+
readonly includeReceipt?: boolean | undefined;
|
|
870
|
+
readonly includeLogs?: boolean | undefined;
|
|
871
|
+
}[] | undefined;
|
|
872
|
+
};
|
|
873
|
+
declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
874
|
+
|
|
875
|
+
declare const HexData: Schema.transform<Schema.Struct<{
|
|
876
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
877
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
878
|
+
declare const Bloom: Schema.transform<Schema.Struct<{
|
|
879
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
880
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
881
|
+
declare const BlockHeader: Schema.Struct<{
|
|
882
|
+
number: typeof Schema.BigIntFromSelf;
|
|
883
|
+
hash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
884
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
885
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
886
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
887
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
888
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
889
|
+
parentHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
890
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
891
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
892
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
893
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
894
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
895
|
+
uncleHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
896
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
897
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
898
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
899
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
900
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
901
|
+
miner: Schema.optional<Schema.transform<Schema.Struct<{
|
|
902
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
903
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
904
|
+
x2: typeof Schema.Number;
|
|
905
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
906
|
+
stateRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
907
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
908
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
909
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
910
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
911
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
912
|
+
transactionRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
913
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
914
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
915
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
916
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
917
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
918
|
+
receiptRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
919
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
920
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
921
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
922
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
923
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
924
|
+
logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
|
|
925
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
926
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
927
|
+
difficulty: Schema.optional<Schema.transform<Schema.Struct<{
|
|
928
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
929
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
930
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
931
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
932
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
933
|
+
gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
|
|
934
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
935
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
936
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
937
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
938
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
939
|
+
gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
940
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
941
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
942
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
943
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
944
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
945
|
+
timestamp: Schema.optional<typeof Schema.DateFromSelf>;
|
|
946
|
+
mixHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
947
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
948
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
949
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
950
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
951
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
952
|
+
nonce: typeof Schema.BigIntFromSelf;
|
|
953
|
+
baseFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
954
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
955
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
956
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
957
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
958
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
959
|
+
withdrawalsRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
960
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
961
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
962
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
963
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
964
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
965
|
+
totalDifficulty: Schema.optional<Schema.transform<Schema.Struct<{
|
|
966
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
967
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
968
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
969
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
970
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
971
|
+
uncles: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
972
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
973
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
974
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
975
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
976
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
977
|
+
size: Schema.optional<Schema.transform<Schema.Struct<{
|
|
978
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
979
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
980
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
981
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
982
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
983
|
+
blobGasUsed: typeof Schema.BigIntFromSelf;
|
|
984
|
+
excessBlobGas: typeof Schema.BigIntFromSelf;
|
|
985
|
+
parentBeaconBlockRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
986
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
987
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
988
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
989
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
990
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
991
|
+
}>;
|
|
992
|
+
type BlockHeader = typeof BlockHeader.Type;
|
|
993
|
+
declare const Withdrawal: Schema.Struct<{
|
|
994
|
+
index: typeof Schema.BigIntFromSelf;
|
|
995
|
+
validatorIndex: typeof Schema.BigIntFromSelf;
|
|
996
|
+
withdrawalIndex: typeof Schema.BigIntFromSelf;
|
|
997
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
998
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
999
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1000
|
+
x2: typeof Schema.Number;
|
|
1001
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1002
|
+
amount: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1003
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1004
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1005
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1006
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1007
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1008
|
+
}>;
|
|
1009
|
+
declare const AccessListItem: Schema.Struct<{
|
|
1010
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1011
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1012
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1013
|
+
x2: typeof Schema.Number;
|
|
1014
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1015
|
+
storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1016
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1017
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1018
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1019
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1020
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1021
|
+
}>;
|
|
1022
|
+
declare const Signature: Schema.Struct<{
|
|
1023
|
+
r: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1024
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1025
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1026
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1027
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1028
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1029
|
+
s: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1030
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1031
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1032
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1033
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1034
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1035
|
+
v: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1036
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1037
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1038
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1039
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1040
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1041
|
+
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
1042
|
+
}>;
|
|
1043
|
+
declare const Transaction: Schema.Struct<{
|
|
1044
|
+
hash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1045
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1046
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1047
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1048
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1049
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1050
|
+
nonce: typeof Schema.BigIntFromSelf;
|
|
1051
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1052
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1053
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1054
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1055
|
+
x2: typeof Schema.Number;
|
|
1056
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1057
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1058
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1059
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1060
|
+
x2: typeof Schema.Number;
|
|
1061
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1062
|
+
value: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1063
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1064
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1065
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1066
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1067
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1068
|
+
gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1069
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1070
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1071
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1072
|
+
gas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1073
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1074
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1075
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1076
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1077
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1078
|
+
maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1079
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1080
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1081
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1082
|
+
maxPriorityFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1083
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1084
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1085
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1086
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1087
|
+
r: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1088
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1089
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1090
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1091
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1092
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1093
|
+
s: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1094
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1095
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1096
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1097
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1098
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1099
|
+
v: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1100
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1101
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1102
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1103
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1104
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1105
|
+
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
1106
|
+
}>>;
|
|
1107
|
+
chainId: typeof Schema.BigIntFromSelf;
|
|
1108
|
+
accessList: Schema.Array$<Schema.Struct<{
|
|
1109
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1110
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1111
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1112
|
+
x2: typeof Schema.Number;
|
|
1113
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1114
|
+
storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1115
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1116
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1117
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1118
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1119
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1120
|
+
}>>;
|
|
1121
|
+
transactionType: typeof Schema.BigIntFromSelf;
|
|
1122
|
+
maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1123
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1124
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1125
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1126
|
+
blobVersionedHashes: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1127
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1128
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1129
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1130
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1131
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1132
|
+
}>;
|
|
1133
|
+
declare const TransactionReceipt: Schema.Struct<{
|
|
1134
|
+
transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1135
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1136
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1137
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1138
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1139
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1140
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1141
|
+
cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1142
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1143
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1144
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1145
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1146
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1147
|
+
gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1148
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1149
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1150
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1151
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1152
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1153
|
+
effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1154
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1155
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1156
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1157
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1158
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1159
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1160
|
+
x2: typeof Schema.Number;
|
|
1161
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1162
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1163
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1164
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1165
|
+
x2: typeof Schema.Number;
|
|
1166
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1167
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1168
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1169
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1170
|
+
x2: typeof Schema.Number;
|
|
1171
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1172
|
+
logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1173
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1174
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1175
|
+
statusCode: typeof Schema.BigIntFromSelf;
|
|
1176
|
+
transactionType: typeof Schema.BigIntFromSelf;
|
|
1177
|
+
blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1178
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1179
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1180
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1181
|
+
blobGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1182
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1183
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1184
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1185
|
+
}>;
|
|
1186
|
+
declare const Log: Schema.Struct<{
|
|
1187
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1188
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1189
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1190
|
+
x2: typeof Schema.Number;
|
|
1191
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1192
|
+
topics: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1193
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1194
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1195
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1196
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1197
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1198
|
+
logIndex: typeof Schema.BigIntFromSelf;
|
|
1199
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1200
|
+
transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1201
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1202
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1203
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1204
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1205
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1206
|
+
}>;
|
|
1207
|
+
type Log = typeof Log.Type;
|
|
1208
|
+
declare const Block: Schema.Struct<{
|
|
1209
|
+
header: Schema.optional<Schema.Struct<{
|
|
1210
|
+
number: typeof Schema.BigIntFromSelf;
|
|
1211
|
+
hash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1212
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1213
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1214
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1215
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1216
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1217
|
+
parentHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1218
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1219
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1220
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1221
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1222
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1223
|
+
uncleHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1224
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1225
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1226
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1227
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1228
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1229
|
+
miner: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1230
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1231
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1232
|
+
x2: typeof Schema.Number;
|
|
1233
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1234
|
+
stateRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1235
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1236
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1237
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1238
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1239
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1240
|
+
transactionRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1241
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1242
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1243
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1244
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1245
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1246
|
+
receiptRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1247
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1248
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1249
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1250
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1251
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1252
|
+
logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1253
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1254
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1255
|
+
difficulty: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1256
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1257
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1258
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1259
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1260
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1261
|
+
gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1262
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1263
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1264
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1265
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1266
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1267
|
+
gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1268
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1269
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1270
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1271
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1272
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1273
|
+
timestamp: Schema.optional<typeof Schema.DateFromSelf>;
|
|
1274
|
+
mixHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1275
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1276
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1277
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1278
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1279
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1280
|
+
nonce: typeof Schema.BigIntFromSelf;
|
|
1281
|
+
baseFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1282
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1283
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1284
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1285
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1286
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1287
|
+
withdrawalsRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1288
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1289
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1290
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1291
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1292
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1293
|
+
totalDifficulty: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1294
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1295
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1296
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1297
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1298
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1299
|
+
uncles: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1300
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1301
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1302
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1303
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1304
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1305
|
+
size: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1306
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1307
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1308
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1309
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1310
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1311
|
+
blobGasUsed: typeof Schema.BigIntFromSelf;
|
|
1312
|
+
excessBlobGas: typeof Schema.BigIntFromSelf;
|
|
1313
|
+
parentBeaconBlockRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1314
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1315
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1316
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1317
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1318
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1319
|
+
}>>;
|
|
1320
|
+
withdrawals: Schema.Array$<Schema.Struct<{
|
|
1321
|
+
index: typeof Schema.BigIntFromSelf;
|
|
1322
|
+
validatorIndex: typeof Schema.BigIntFromSelf;
|
|
1323
|
+
withdrawalIndex: typeof Schema.BigIntFromSelf;
|
|
1324
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1325
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1326
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1327
|
+
x2: typeof Schema.Number;
|
|
1328
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1329
|
+
amount: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1330
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1331
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1332
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1333
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1334
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1335
|
+
}>>;
|
|
1336
|
+
transactions: Schema.Array$<Schema.Struct<{
|
|
1337
|
+
hash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1338
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1339
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1340
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1341
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1342
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1343
|
+
nonce: typeof Schema.BigIntFromSelf;
|
|
1344
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1345
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1346
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1347
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1348
|
+
x2: typeof Schema.Number;
|
|
1349
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1350
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1351
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1352
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1353
|
+
x2: typeof Schema.Number;
|
|
1354
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1355
|
+
value: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1356
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1357
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1358
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1359
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1360
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1361
|
+
gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1362
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1363
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1364
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1365
|
+
gas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1366
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1367
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1368
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1369
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1370
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1371
|
+
maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1372
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1373
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1374
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1375
|
+
maxPriorityFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1376
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1377
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1378
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1379
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1380
|
+
r: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1381
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1382
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1383
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1384
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1385
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1386
|
+
s: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1387
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1388
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1389
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1390
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1391
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1392
|
+
v: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1393
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1394
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1395
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1396
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1397
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1398
|
+
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
1399
|
+
}>>;
|
|
1400
|
+
chainId: typeof Schema.BigIntFromSelf;
|
|
1401
|
+
accessList: Schema.Array$<Schema.Struct<{
|
|
1402
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1403
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1404
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1405
|
+
x2: typeof Schema.Number;
|
|
1406
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1407
|
+
storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1408
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1409
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1410
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1411
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1412
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1413
|
+
}>>;
|
|
1414
|
+
transactionType: typeof Schema.BigIntFromSelf;
|
|
1415
|
+
maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1416
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1417
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1418
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1419
|
+
blobVersionedHashes: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1420
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1421
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1422
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1423
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1424
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1425
|
+
}>>;
|
|
1426
|
+
receipts: Schema.Array$<Schema.Struct<{
|
|
1427
|
+
transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1428
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1429
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1430
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1431
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1432
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1433
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1434
|
+
cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1435
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1436
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1437
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1438
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1439
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1440
|
+
gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1441
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1442
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1443
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1444
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1445
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1446
|
+
effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1447
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1448
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1449
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1450
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1451
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1452
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1453
|
+
x2: typeof Schema.Number;
|
|
1454
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1455
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1456
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1457
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1458
|
+
x2: typeof Schema.Number;
|
|
1459
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1460
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1461
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1462
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1463
|
+
x2: typeof Schema.Number;
|
|
1464
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1465
|
+
logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1466
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1467
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1468
|
+
statusCode: typeof Schema.BigIntFromSelf;
|
|
1469
|
+
transactionType: typeof Schema.BigIntFromSelf;
|
|
1470
|
+
blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1471
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1472
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1473
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1474
|
+
blobGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1475
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1476
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1477
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1478
|
+
}>>;
|
|
1479
|
+
logs: Schema.Array$<Schema.Struct<{
|
|
1480
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1481
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1482
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1483
|
+
x2: typeof Schema.Number;
|
|
1484
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1485
|
+
topics: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1486
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1487
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1488
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1489
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1490
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1491
|
+
logIndex: typeof Schema.BigIntFromSelf;
|
|
1492
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1493
|
+
transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1494
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1495
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1496
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1497
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1498
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1499
|
+
}>>;
|
|
1500
|
+
}>;
|
|
1501
|
+
type Block = typeof Block.Type;
|
|
1502
|
+
declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.NullOr<Schema.Struct<{
|
|
1503
|
+
header: Schema.optional<Schema.Struct<{
|
|
1504
|
+
number: typeof Schema.BigIntFromSelf;
|
|
1505
|
+
hash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1506
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1507
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1508
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1509
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1510
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1511
|
+
parentHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1512
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1513
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1514
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1515
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1516
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1517
|
+
uncleHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1518
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1519
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1520
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1521
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1522
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1523
|
+
miner: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1524
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1525
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1526
|
+
x2: typeof Schema.Number;
|
|
1527
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1528
|
+
stateRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1529
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1530
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1531
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1532
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1533
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1534
|
+
transactionRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1535
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1536
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1537
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1538
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1539
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1540
|
+
receiptRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1541
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1542
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1543
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1544
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1545
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1546
|
+
logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1547
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1548
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1549
|
+
difficulty: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1550
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1551
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1552
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1553
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1554
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1555
|
+
gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1556
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1557
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1558
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1559
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1560
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1561
|
+
gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1562
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1563
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1564
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1565
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1566
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1567
|
+
timestamp: Schema.optional<typeof Schema.DateFromSelf>;
|
|
1568
|
+
mixHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1569
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1570
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1571
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1572
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1573
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1574
|
+
nonce: typeof Schema.BigIntFromSelf;
|
|
1575
|
+
baseFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1576
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1577
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1578
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1579
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1580
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1581
|
+
withdrawalsRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1582
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1583
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1584
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1585
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1586
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1587
|
+
totalDifficulty: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1588
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1589
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1590
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1591
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1592
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1593
|
+
uncles: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1594
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1595
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1596
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1597
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1598
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1599
|
+
size: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1600
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1601
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1602
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1603
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1604
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1605
|
+
blobGasUsed: typeof Schema.BigIntFromSelf;
|
|
1606
|
+
excessBlobGas: typeof Schema.BigIntFromSelf;
|
|
1607
|
+
parentBeaconBlockRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1608
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1609
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1610
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1611
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1612
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1613
|
+
}>>;
|
|
1614
|
+
withdrawals: Schema.Array$<Schema.Struct<{
|
|
1615
|
+
index: typeof Schema.BigIntFromSelf;
|
|
1616
|
+
validatorIndex: typeof Schema.BigIntFromSelf;
|
|
1617
|
+
withdrawalIndex: typeof Schema.BigIntFromSelf;
|
|
1618
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1619
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1620
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1621
|
+
x2: typeof Schema.Number;
|
|
1622
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1623
|
+
amount: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1624
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1625
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1626
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1627
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1628
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1629
|
+
}>>;
|
|
1630
|
+
transactions: Schema.Array$<Schema.Struct<{
|
|
1631
|
+
hash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1632
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1633
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1634
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1635
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1636
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1637
|
+
nonce: typeof Schema.BigIntFromSelf;
|
|
1638
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1639
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1640
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1641
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1642
|
+
x2: typeof Schema.Number;
|
|
1643
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1644
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1645
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1646
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1647
|
+
x2: typeof Schema.Number;
|
|
1648
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1649
|
+
value: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1650
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1651
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1652
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1653
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1654
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1655
|
+
gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1656
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1657
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1658
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1659
|
+
gas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1660
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1661
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1662
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1663
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1664
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1665
|
+
maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1666
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1667
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1668
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1669
|
+
maxPriorityFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1670
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1671
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1672
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1673
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1674
|
+
r: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1675
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1676
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1677
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1678
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1679
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1680
|
+
s: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1681
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1682
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1683
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1684
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1685
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1686
|
+
v: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1687
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1688
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1689
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1690
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1691
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1692
|
+
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
1693
|
+
}>>;
|
|
1694
|
+
chainId: typeof Schema.BigIntFromSelf;
|
|
1695
|
+
accessList: Schema.Array$<Schema.Struct<{
|
|
1696
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1697
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1698
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1699
|
+
x2: typeof Schema.Number;
|
|
1700
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1701
|
+
storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1702
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1703
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1704
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1705
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1706
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1707
|
+
}>>;
|
|
1708
|
+
transactionType: typeof Schema.BigIntFromSelf;
|
|
1709
|
+
maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1710
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1711
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1712
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1713
|
+
blobVersionedHashes: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1714
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1715
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1716
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1717
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1718
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1719
|
+
}>>;
|
|
1720
|
+
receipts: Schema.Array$<Schema.Struct<{
|
|
1721
|
+
transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1722
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1723
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1724
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1725
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1726
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1727
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1728
|
+
cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1729
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1730
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1731
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1732
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1733
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1734
|
+
gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1735
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1736
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1737
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1738
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1739
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1740
|
+
effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1741
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1742
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1743
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1744
|
+
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1745
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1746
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1747
|
+
x2: typeof Schema.Number;
|
|
1748
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1749
|
+
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1750
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1751
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1752
|
+
x2: typeof Schema.Number;
|
|
1753
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1754
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1755
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1756
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1757
|
+
x2: typeof Schema.Number;
|
|
1758
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1759
|
+
logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1760
|
+
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1761
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1762
|
+
statusCode: typeof Schema.BigIntFromSelf;
|
|
1763
|
+
transactionType: typeof Schema.BigIntFromSelf;
|
|
1764
|
+
blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1765
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1766
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1767
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1768
|
+
blobGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1769
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1770
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1771
|
+
}>, typeof Schema.BigIntFromSelf>>;
|
|
1772
|
+
}>>;
|
|
1773
|
+
logs: Schema.Array$<Schema.Struct<{
|
|
1774
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1775
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1776
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1777
|
+
x2: typeof Schema.Number;
|
|
1778
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1779
|
+
topics: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1780
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1781
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1782
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1783
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1784
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1785
|
+
logIndex: typeof Schema.BigIntFromSelf;
|
|
1786
|
+
transactionIndex: typeof Schema.BigIntFromSelf;
|
|
1787
|
+
transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1788
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1789
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1790
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1791
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1792
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1793
|
+
}>>;
|
|
1794
|
+
}>>>;
|
|
1795
|
+
|
|
1796
|
+
declare const EvmStream: StreamConfig<{
|
|
1797
|
+
readonly header?: {
|
|
1798
|
+
readonly always?: boolean | undefined;
|
|
1799
|
+
} | undefined;
|
|
1800
|
+
readonly withdrawals?: readonly {
|
|
1801
|
+
readonly validatorIndex?: bigint | undefined;
|
|
1802
|
+
readonly address?: `0x${string}` | undefined;
|
|
1803
|
+
}[] | undefined;
|
|
1804
|
+
readonly logs?: readonly {
|
|
1805
|
+
readonly address?: `0x${string}` | undefined;
|
|
1806
|
+
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
1807
|
+
readonly strict?: boolean | undefined;
|
|
1808
|
+
readonly includeTransaction?: boolean | undefined;
|
|
1809
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1810
|
+
}[] | undefined;
|
|
1811
|
+
readonly transactions?: readonly {
|
|
1812
|
+
readonly from?: `0x${string}` | undefined;
|
|
1813
|
+
readonly to?: `0x${string}` | undefined;
|
|
1814
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1815
|
+
readonly includeLogs?: boolean | undefined;
|
|
1816
|
+
}[] | undefined;
|
|
1817
|
+
}, {
|
|
1818
|
+
readonly header?: {
|
|
1819
|
+
readonly number: bigint;
|
|
1820
|
+
readonly hash?: `0x${string}` | undefined;
|
|
1821
|
+
readonly nonce: bigint;
|
|
1822
|
+
readonly gasUsed?: bigint | undefined;
|
|
1823
|
+
readonly logsBloom?: `0x${string}` | undefined;
|
|
1824
|
+
readonly blobGasUsed: bigint;
|
|
1825
|
+
readonly parentHash?: `0x${string}` | undefined;
|
|
1826
|
+
readonly uncleHash?: `0x${string}` | undefined;
|
|
1827
|
+
readonly miner?: `0x${string}` | undefined;
|
|
1828
|
+
readonly stateRoot?: `0x${string}` | undefined;
|
|
1829
|
+
readonly transactionRoot?: `0x${string}` | undefined;
|
|
1830
|
+
readonly receiptRoot?: `0x${string}` | undefined;
|
|
1831
|
+
readonly difficulty?: bigint | undefined;
|
|
1832
|
+
readonly gasLimit?: bigint | undefined;
|
|
1833
|
+
readonly timestamp?: Date | undefined;
|
|
1834
|
+
readonly mixHash?: `0x${string}` | undefined;
|
|
1835
|
+
readonly baseFeePerGas?: bigint | undefined;
|
|
1836
|
+
readonly withdrawalsRoot?: `0x${string}` | undefined;
|
|
1837
|
+
readonly totalDifficulty?: bigint | undefined;
|
|
1838
|
+
readonly uncles: readonly `0x${string}`[];
|
|
1839
|
+
readonly size?: bigint | undefined;
|
|
1840
|
+
readonly excessBlobGas: bigint;
|
|
1841
|
+
readonly parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1842
|
+
} | undefined;
|
|
1843
|
+
readonly withdrawals: readonly {
|
|
1844
|
+
readonly validatorIndex: bigint;
|
|
1845
|
+
readonly address?: `0x${string}` | undefined;
|
|
1846
|
+
readonly index: bigint;
|
|
1847
|
+
readonly withdrawalIndex: bigint;
|
|
1848
|
+
readonly amount?: bigint | undefined;
|
|
1849
|
+
}[];
|
|
1850
|
+
readonly logs: readonly {
|
|
1851
|
+
readonly address?: `0x${string}` | undefined;
|
|
1852
|
+
readonly topics: readonly `0x${string}`[];
|
|
1853
|
+
readonly transactionIndex: bigint;
|
|
1854
|
+
readonly transactionHash?: `0x${string}` | undefined;
|
|
1855
|
+
readonly logIndex: bigint;
|
|
1856
|
+
}[];
|
|
1857
|
+
readonly transactions: readonly {
|
|
1858
|
+
readonly value?: bigint | undefined;
|
|
1859
|
+
readonly from?: `0x${string}` | undefined;
|
|
1860
|
+
readonly to?: `0x${string}` | undefined;
|
|
1861
|
+
readonly hash?: `0x${string}` | undefined;
|
|
1862
|
+
readonly nonce: bigint;
|
|
1863
|
+
readonly transactionIndex: bigint;
|
|
1864
|
+
readonly gasPrice?: bigint | undefined;
|
|
1865
|
+
readonly gas?: bigint | undefined;
|
|
1866
|
+
readonly maxFeePerGas?: bigint | undefined;
|
|
1867
|
+
readonly maxPriorityFeePerGas?: bigint | undefined;
|
|
1868
|
+
readonly signature?: {
|
|
1869
|
+
readonly r?: bigint | undefined;
|
|
1870
|
+
readonly s?: bigint | undefined;
|
|
1871
|
+
readonly v?: bigint | undefined;
|
|
1872
|
+
readonly YParity?: boolean | undefined;
|
|
1873
|
+
} | undefined;
|
|
1874
|
+
readonly chainId: bigint;
|
|
1875
|
+
readonly accessList: readonly {
|
|
1876
|
+
readonly address?: `0x${string}` | undefined;
|
|
1877
|
+
readonly storageKeys: readonly `0x${string}`[];
|
|
1878
|
+
}[];
|
|
1879
|
+
readonly transactionType: bigint;
|
|
1880
|
+
readonly maxFeePerBlobGas?: bigint | undefined;
|
|
1881
|
+
readonly blobVersionedHashes: readonly `0x${string}`[];
|
|
1882
|
+
}[];
|
|
1883
|
+
readonly receipts: readonly {
|
|
1884
|
+
readonly from?: `0x${string}` | undefined;
|
|
1885
|
+
readonly to?: `0x${string}` | undefined;
|
|
1886
|
+
readonly transactionIndex: bigint;
|
|
1887
|
+
readonly transactionType: bigint;
|
|
1888
|
+
readonly transactionHash?: `0x${string}` | undefined;
|
|
1889
|
+
readonly cumulativeGasUsed?: bigint | undefined;
|
|
1890
|
+
readonly gasUsed?: bigint | undefined;
|
|
1891
|
+
readonly effectiveGasPrice?: bigint | undefined;
|
|
1892
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
1893
|
+
readonly logsBloom?: `0x${string}` | undefined;
|
|
1894
|
+
readonly statusCode: bigint;
|
|
1895
|
+
readonly blobGasUsed?: bigint | undefined;
|
|
1896
|
+
readonly blobGasPrice?: bigint | undefined;
|
|
1897
|
+
}[];
|
|
1898
|
+
}>;
|
|
1899
|
+
|
|
1900
|
+
export { AccessListItem, Address, B256, Block, BlockFromBytes, BlockHeader, Bloom, EvmStream, Filter, FilterFromBytes, HeaderFilter, HexData, Log, LogFilter, Signature, Topic, Transaction, TransactionFilter, TransactionReceipt, U128, U256, Withdrawal, WithdrawalFilter, b256FromProto, b256ToProto, filterFromBytes, filterFromProto, filterToBytes, filterToProto, mergeFilter, index as proto, u128FromProto, u128ToProto, u256FromProto, u256ToProto };
|