@apibara/evm 2.1.0-beta.4 → 2.1.0-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1554 -418
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1287 -1416
- package/dist/index.d.mts +1287 -1416
- package/dist/index.d.ts +1287 -1416
- package/dist/index.mjs +1545 -409
- package/dist/index.mjs.map +1 -0
- package/package.json +2 -4
- package/src/block.ts +358 -167
- package/src/common.ts +64 -95
- package/src/filter.ts +128 -134
- package/src/index.ts +1 -0
- package/src/proto/data.ts +1310 -3
- package/src/proto/filter.ts +46 -2
- package/src/common.test.ts +0 -79
- package/src/filter.test.ts +0 -187
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StreamConfig } from '@apibara/protocol';
|
|
2
2
|
import _m0 from 'protobufjs/minimal.js';
|
|
3
|
-
import
|
|
4
|
-
import { Schema } from '@effect/schema';
|
|
3
|
+
import { Codec, CodecType, MessageCodec } from '@apibara/protocol/codec';
|
|
5
4
|
|
|
6
5
|
declare const protobufPackage$2 = "evm.v2";
|
|
7
6
|
/**
|
|
@@ -102,6 +101,34 @@ declare enum TransactionStatus$1 {
|
|
|
102
101
|
}
|
|
103
102
|
declare function transactionStatusFromJSON(object: any): TransactionStatus$1;
|
|
104
103
|
declare function transactionStatusToJSON(object: TransactionStatus$1): string;
|
|
104
|
+
declare enum CallType$1 {
|
|
105
|
+
UNSPECIFIED = 0,
|
|
106
|
+
CALL = 1,
|
|
107
|
+
CALL_CODE = 2,
|
|
108
|
+
DELEGATE_CALL = 3,
|
|
109
|
+
STATIC_CALL = 4,
|
|
110
|
+
AUTH_CALL = 5,
|
|
111
|
+
UNRECOGNIZED = -1
|
|
112
|
+
}
|
|
113
|
+
declare function callTypeFromJSON(object: any): CallType$1;
|
|
114
|
+
declare function callTypeToJSON(object: CallType$1): string;
|
|
115
|
+
declare enum CreationMethod$1 {
|
|
116
|
+
UNSPECIFIED = 0,
|
|
117
|
+
CREATE = 1,
|
|
118
|
+
CREATE2 = 2,
|
|
119
|
+
EOF_CREATE = 3,
|
|
120
|
+
UNRECOGNIZED = -1
|
|
121
|
+
}
|
|
122
|
+
declare function creationMethodFromJSON(object: any): CreationMethod$1;
|
|
123
|
+
declare function creationMethodToJSON(object: CreationMethod$1): string;
|
|
124
|
+
declare enum RewardType$1 {
|
|
125
|
+
UNSPECIFIED = 0,
|
|
126
|
+
BLOCK = 1,
|
|
127
|
+
UNCLE = 2,
|
|
128
|
+
UNRECOGNIZED = -1
|
|
129
|
+
}
|
|
130
|
+
declare function rewardTypeFromJSON(object: any): RewardType$1;
|
|
131
|
+
declare function rewardTypeToJSON(object: RewardType$1): string;
|
|
105
132
|
/** Requested data, grouped by block. */
|
|
106
133
|
interface Block$1 {
|
|
107
134
|
/** The header. */
|
|
@@ -114,6 +141,8 @@ interface Block$1 {
|
|
|
114
141
|
readonly receipts?: readonly TransactionReceipt$1[] | undefined;
|
|
115
142
|
/** List of logs. */
|
|
116
143
|
readonly logs?: readonly Log$1[] | undefined;
|
|
144
|
+
/** List of transaction traces. */
|
|
145
|
+
readonly traces?: readonly TransactionTrace$1[] | undefined;
|
|
117
146
|
}
|
|
118
147
|
declare const Block$1: {
|
|
119
148
|
encode(message: Block$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -169,6 +198,11 @@ interface BlockHeader$1 {
|
|
|
169
198
|
readonly excessBlobGas?: U128$1 | undefined;
|
|
170
199
|
/** Parent beacon block root. */
|
|
171
200
|
readonly parentBeaconBlockRoot?: B256$1 | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* The Keccak 256-bit hash of the an RLP encoded list with each EIP-7685
|
|
203
|
+
* request in the block body.
|
|
204
|
+
*/
|
|
205
|
+
readonly requestsHash?: B256$1 | undefined;
|
|
172
206
|
}
|
|
173
207
|
declare const BlockHeader$1: {
|
|
174
208
|
encode(message: BlockHeader$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -343,6 +377,163 @@ declare const AccessListItem$1: {
|
|
|
343
377
|
create(base?: DeepPartial$1<AccessListItem$1>): AccessListItem$1;
|
|
344
378
|
fromPartial(object: DeepPartial$1<AccessListItem$1>): AccessListItem$1;
|
|
345
379
|
};
|
|
380
|
+
interface TransactionTrace$1 {
|
|
381
|
+
readonly filterIds?: readonly number[] | undefined;
|
|
382
|
+
/** Index of the transaction in the block. */
|
|
383
|
+
readonly transactionIndex?: number | undefined;
|
|
384
|
+
/** Transaction hash. */
|
|
385
|
+
readonly transactionHash?: B256$1 | undefined;
|
|
386
|
+
/** Traces. */
|
|
387
|
+
readonly traces?: readonly Trace$1[] | undefined;
|
|
388
|
+
}
|
|
389
|
+
declare const TransactionTrace$1: {
|
|
390
|
+
encode(message: TransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
391
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TransactionTrace$1;
|
|
392
|
+
fromJSON(object: any): TransactionTrace$1;
|
|
393
|
+
toJSON(message: TransactionTrace$1): unknown;
|
|
394
|
+
create(base?: DeepPartial$1<TransactionTrace$1>): TransactionTrace$1;
|
|
395
|
+
fromPartial(object: DeepPartial$1<TransactionTrace$1>): TransactionTrace$1;
|
|
396
|
+
};
|
|
397
|
+
interface Trace$1 {
|
|
398
|
+
readonly action?: {
|
|
399
|
+
readonly $case: "call";
|
|
400
|
+
readonly call: CallAction$1;
|
|
401
|
+
} | {
|
|
402
|
+
readonly $case: "create";
|
|
403
|
+
readonly create: CreateAction$1;
|
|
404
|
+
} | {
|
|
405
|
+
readonly $case: "selfDestruct";
|
|
406
|
+
readonly selfDestruct: SelfDestructAction$1;
|
|
407
|
+
} | {
|
|
408
|
+
readonly $case: "reward";
|
|
409
|
+
readonly reward: RewardAction$1;
|
|
410
|
+
} | undefined;
|
|
411
|
+
/** Error message if the transaction failed. */
|
|
412
|
+
readonly error?: string | undefined;
|
|
413
|
+
readonly output?: {
|
|
414
|
+
readonly $case: "callOutput";
|
|
415
|
+
readonly callOutput: CallOutput$1;
|
|
416
|
+
} | {
|
|
417
|
+
readonly $case: "createOutput";
|
|
418
|
+
readonly createOutput: CreateOutput$1;
|
|
419
|
+
} | undefined;
|
|
420
|
+
/** Number of sub traces. */
|
|
421
|
+
readonly subtraces?: number | undefined;
|
|
422
|
+
/** The identifier of this trace in the trace tree. */
|
|
423
|
+
readonly traceAddress?: readonly number[] | undefined;
|
|
424
|
+
}
|
|
425
|
+
declare const Trace$1: {
|
|
426
|
+
encode(message: Trace$1, writer?: _m0.Writer): _m0.Writer;
|
|
427
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Trace$1;
|
|
428
|
+
fromJSON(object: any): Trace$1;
|
|
429
|
+
toJSON(message: Trace$1): unknown;
|
|
430
|
+
create(base?: DeepPartial$1<Trace$1>): Trace$1;
|
|
431
|
+
fromPartial(object: DeepPartial$1<Trace$1>): Trace$1;
|
|
432
|
+
};
|
|
433
|
+
interface CallAction$1 {
|
|
434
|
+
/** Address of the sending account. */
|
|
435
|
+
readonly fromAddress?: Address$1 | undefined;
|
|
436
|
+
/** Call type. */
|
|
437
|
+
readonly type?: CallType$1 | undefined;
|
|
438
|
+
/** The gas available to execute the call. */
|
|
439
|
+
readonly gas?: bigint | undefined;
|
|
440
|
+
/** Input data provided by the call. */
|
|
441
|
+
readonly input?: Uint8Array | undefined;
|
|
442
|
+
/** Target of the destination address. */
|
|
443
|
+
readonly toAddress?: Address$1 | undefined;
|
|
444
|
+
/** Value transferred to the destination account. */
|
|
445
|
+
readonly value?: U256$1 | undefined;
|
|
446
|
+
}
|
|
447
|
+
declare const CallAction$1: {
|
|
448
|
+
encode(message: CallAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
449
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CallAction$1;
|
|
450
|
+
fromJSON(object: any): CallAction$1;
|
|
451
|
+
toJSON(message: CallAction$1): unknown;
|
|
452
|
+
create(base?: DeepPartial$1<CallAction$1>): CallAction$1;
|
|
453
|
+
fromPartial(object: DeepPartial$1<CallAction$1>): CallAction$1;
|
|
454
|
+
};
|
|
455
|
+
interface CreateAction$1 {
|
|
456
|
+
/** Address of the sending account. */
|
|
457
|
+
readonly fromAddress?: Address$1 | undefined;
|
|
458
|
+
/** The gas available to execute the call. */
|
|
459
|
+
readonly gas?: bigint | undefined;
|
|
460
|
+
/** Input data provided by the call. */
|
|
461
|
+
readonly init?: Uint8Array | undefined;
|
|
462
|
+
/** Value transferred to the ne account. */
|
|
463
|
+
readonly value?: U256$1 | undefined;
|
|
464
|
+
/** Contract creation method. */
|
|
465
|
+
readonly creationMethod?: CreationMethod$1 | undefined;
|
|
466
|
+
}
|
|
467
|
+
declare const CreateAction$1: {
|
|
468
|
+
encode(message: CreateAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
469
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreateAction$1;
|
|
470
|
+
fromJSON(object: any): CreateAction$1;
|
|
471
|
+
toJSON(message: CreateAction$1): unknown;
|
|
472
|
+
create(base?: DeepPartial$1<CreateAction$1>): CreateAction$1;
|
|
473
|
+
fromPartial(object: DeepPartial$1<CreateAction$1>): CreateAction$1;
|
|
474
|
+
};
|
|
475
|
+
interface SelfDestructAction$1 {
|
|
476
|
+
/** The destroyed address. */
|
|
477
|
+
readonly address?: Address$1 | undefined;
|
|
478
|
+
/** Balance of the destroyed account before destruct. */
|
|
479
|
+
readonly balance?: U256$1 | undefined;
|
|
480
|
+
/** The heir address. */
|
|
481
|
+
readonly refundAddress?: Address$1 | undefined;
|
|
482
|
+
}
|
|
483
|
+
declare const SelfDestructAction$1: {
|
|
484
|
+
encode(message: SelfDestructAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
485
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SelfDestructAction$1;
|
|
486
|
+
fromJSON(object: any): SelfDestructAction$1;
|
|
487
|
+
toJSON(message: SelfDestructAction$1): unknown;
|
|
488
|
+
create(base?: DeepPartial$1<SelfDestructAction$1>): SelfDestructAction$1;
|
|
489
|
+
fromPartial(object: DeepPartial$1<SelfDestructAction$1>): SelfDestructAction$1;
|
|
490
|
+
};
|
|
491
|
+
interface RewardAction$1 {
|
|
492
|
+
/** The author's address. */
|
|
493
|
+
readonly author?: Address$1 | undefined;
|
|
494
|
+
/** Reward type. */
|
|
495
|
+
readonly type?: RewardType$1 | undefined;
|
|
496
|
+
/** The reward's value. */
|
|
497
|
+
readonly value?: U256$1 | undefined;
|
|
498
|
+
}
|
|
499
|
+
declare const RewardAction$1: {
|
|
500
|
+
encode(message: RewardAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
501
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RewardAction$1;
|
|
502
|
+
fromJSON(object: any): RewardAction$1;
|
|
503
|
+
toJSON(message: RewardAction$1): unknown;
|
|
504
|
+
create(base?: DeepPartial$1<RewardAction$1>): RewardAction$1;
|
|
505
|
+
fromPartial(object: DeepPartial$1<RewardAction$1>): RewardAction$1;
|
|
506
|
+
};
|
|
507
|
+
interface CallOutput$1 {
|
|
508
|
+
/** Gas used. */
|
|
509
|
+
readonly gasUsed?: bigint | undefined;
|
|
510
|
+
/** Output data. */
|
|
511
|
+
readonly output?: Uint8Array | undefined;
|
|
512
|
+
}
|
|
513
|
+
declare const CallOutput$1: {
|
|
514
|
+
encode(message: CallOutput$1, writer?: _m0.Writer): _m0.Writer;
|
|
515
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CallOutput$1;
|
|
516
|
+
fromJSON(object: any): CallOutput$1;
|
|
517
|
+
toJSON(message: CallOutput$1): unknown;
|
|
518
|
+
create(base?: DeepPartial$1<CallOutput$1>): CallOutput$1;
|
|
519
|
+
fromPartial(object: DeepPartial$1<CallOutput$1>): CallOutput$1;
|
|
520
|
+
};
|
|
521
|
+
interface CreateOutput$1 {
|
|
522
|
+
/** Contract address. */
|
|
523
|
+
readonly address?: Address$1 | undefined;
|
|
524
|
+
/** Code */
|
|
525
|
+
readonly code?: Uint8Array | undefined;
|
|
526
|
+
/** Gas used. */
|
|
527
|
+
readonly gasUsed?: bigint | undefined;
|
|
528
|
+
}
|
|
529
|
+
declare const CreateOutput$1: {
|
|
530
|
+
encode(message: CreateOutput$1, writer?: _m0.Writer): _m0.Writer;
|
|
531
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreateOutput$1;
|
|
532
|
+
fromJSON(object: any): CreateOutput$1;
|
|
533
|
+
toJSON(message: CreateOutput$1): unknown;
|
|
534
|
+
create(base?: DeepPartial$1<CreateOutput$1>): CreateOutput$1;
|
|
535
|
+
fromPartial(object: DeepPartial$1<CreateOutput$1>): CreateOutput$1;
|
|
536
|
+
};
|
|
346
537
|
type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
347
538
|
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 {
|
|
348
539
|
readonly $case: string;
|
|
@@ -354,10 +545,16 @@ type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<inf
|
|
|
354
545
|
[K in keyof T]?: DeepPartial$1<T[K]>;
|
|
355
546
|
} : Partial<T>;
|
|
356
547
|
|
|
548
|
+
declare const data_callTypeFromJSON: typeof callTypeFromJSON;
|
|
549
|
+
declare const data_callTypeToJSON: typeof callTypeToJSON;
|
|
550
|
+
declare const data_creationMethodFromJSON: typeof creationMethodFromJSON;
|
|
551
|
+
declare const data_creationMethodToJSON: typeof creationMethodToJSON;
|
|
552
|
+
declare const data_rewardTypeFromJSON: typeof rewardTypeFromJSON;
|
|
553
|
+
declare const data_rewardTypeToJSON: typeof rewardTypeToJSON;
|
|
357
554
|
declare const data_transactionStatusFromJSON: typeof transactionStatusFromJSON;
|
|
358
555
|
declare const data_transactionStatusToJSON: typeof transactionStatusToJSON;
|
|
359
556
|
declare namespace data {
|
|
360
|
-
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, TransactionStatus$1 as TransactionStatus, Withdrawal$1 as Withdrawal, protobufPackage$1 as protobufPackage, data_transactionStatusFromJSON as transactionStatusFromJSON, data_transactionStatusToJSON as transactionStatusToJSON };
|
|
557
|
+
export { AccessListItem$1 as AccessListItem, Block$1 as Block, BlockHeader$1 as BlockHeader, CallAction$1 as CallAction, CallOutput$1 as CallOutput, CallType$1 as CallType, CreateAction$1 as CreateAction, CreateOutput$1 as CreateOutput, CreationMethod$1 as CreationMethod, type DeepPartial$1 as DeepPartial, Log$1 as Log, RewardAction$1 as RewardAction, RewardType$1 as RewardType, SelfDestructAction$1 as SelfDestructAction, Signature$1 as Signature, Trace$1 as Trace, Transaction$1 as Transaction, TransactionReceipt$1 as TransactionReceipt, TransactionStatus$1 as TransactionStatus, TransactionTrace$1 as TransactionTrace, Withdrawal$1 as Withdrawal, data_callTypeFromJSON as callTypeFromJSON, data_callTypeToJSON as callTypeToJSON, data_creationMethodFromJSON as creationMethodFromJSON, data_creationMethodToJSON as creationMethodToJSON, protobufPackage$1 as protobufPackage, data_rewardTypeFromJSON as rewardTypeFromJSON, data_rewardTypeToJSON as rewardTypeToJSON, data_transactionStatusFromJSON as transactionStatusFromJSON, data_transactionStatusToJSON as transactionStatusToJSON };
|
|
361
558
|
}
|
|
362
559
|
|
|
363
560
|
declare const protobufPackage = "evm.v2";
|
|
@@ -431,6 +628,8 @@ interface TransactionFilter$1 {
|
|
|
431
628
|
readonly includeReceipt?: boolean | undefined;
|
|
432
629
|
/** Flag to request the transaction's logs. Defaults to `false`. */
|
|
433
630
|
readonly includeLogs?: boolean | undefined;
|
|
631
|
+
/** Flag to request the transaction's trace. Defaults to `false`. */
|
|
632
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
434
633
|
}
|
|
435
634
|
declare const TransactionFilter$1: {
|
|
436
635
|
encode(message: TransactionFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -468,6 +667,8 @@ interface LogFilter$1 {
|
|
|
468
667
|
* Defaults to false.
|
|
469
668
|
*/
|
|
470
669
|
readonly includeSiblings?: boolean | undefined;
|
|
670
|
+
/** Flag to request the log's trace. Defaults to `false`. */
|
|
671
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
471
672
|
}
|
|
472
673
|
declare const LogFilter$1: {
|
|
473
674
|
encode(message: LogFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -519,70 +720,17 @@ declare namespace index {
|
|
|
519
720
|
}
|
|
520
721
|
|
|
521
722
|
/** An Ethereum address. */
|
|
522
|
-
declare const Address:
|
|
523
|
-
|
|
524
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
525
|
-
x2: typeof Schema.Number;
|
|
526
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
527
|
-
type Address = typeof Address.Type;
|
|
528
|
-
/** Wire representation of `B256`. */
|
|
529
|
-
declare const B256Proto: Schema.Struct<{
|
|
530
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
531
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
532
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
533
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
534
|
-
}>;
|
|
723
|
+
declare const Address: Codec<`0x${string}`, Address$1>;
|
|
724
|
+
type Address = CodecType<typeof Address>;
|
|
535
725
|
/** Data with length 256 bits. */
|
|
536
|
-
declare const B256:
|
|
537
|
-
|
|
538
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
539
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
540
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
541
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
542
|
-
declare const b256ToProto: (a: `0x${string}`, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
543
|
-
readonly x0: bigint;
|
|
544
|
-
readonly x1: bigint;
|
|
545
|
-
readonly x2: bigint;
|
|
546
|
-
readonly x3: bigint;
|
|
547
|
-
};
|
|
548
|
-
declare const b256FromProto: (i: {
|
|
549
|
-
readonly x0: bigint;
|
|
550
|
-
readonly x1: bigint;
|
|
551
|
-
readonly x2: bigint;
|
|
552
|
-
readonly x3: bigint;
|
|
553
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => `0x${string}`;
|
|
726
|
+
declare const B256: Codec<`0x${string}`, B256$1>;
|
|
727
|
+
type B256 = CodecType<typeof B256>;
|
|
554
728
|
/** Data with length 256 bits. */
|
|
555
|
-
declare const U256:
|
|
556
|
-
|
|
557
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
558
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
559
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
560
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
561
|
-
declare const u256ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
562
|
-
readonly x0: bigint;
|
|
563
|
-
readonly x1: bigint;
|
|
564
|
-
readonly x2: bigint;
|
|
565
|
-
readonly x3: bigint;
|
|
566
|
-
};
|
|
567
|
-
declare const u256FromProto: (i: {
|
|
568
|
-
readonly x0: bigint;
|
|
569
|
-
readonly x1: bigint;
|
|
570
|
-
readonly x2: bigint;
|
|
571
|
-
readonly x3: bigint;
|
|
572
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => bigint;
|
|
729
|
+
declare const U256: Codec<bigint, U256$1>;
|
|
730
|
+
type U256 = CodecType<typeof U256>;
|
|
573
731
|
/** Data with length 128 bits. */
|
|
574
|
-
declare const U128:
|
|
575
|
-
|
|
576
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
577
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
578
|
-
declare const u128ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
579
|
-
readonly x0: bigint;
|
|
580
|
-
readonly x1: bigint;
|
|
581
|
-
};
|
|
582
|
-
declare const u128FromProto: (i: {
|
|
583
|
-
readonly x0: bigint;
|
|
584
|
-
readonly x1: bigint;
|
|
585
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => bigint;
|
|
732
|
+
declare const U128: Codec<bigint, U128$1>;
|
|
733
|
+
type U128 = CodecType<typeof U128>;
|
|
586
734
|
|
|
587
735
|
/** Header options.
|
|
588
736
|
*
|
|
@@ -590,1383 +738,1106 @@ declare const u128FromProto: (i: {
|
|
|
590
738
|
* - `on_data`: receive headers only if any other filter matches.
|
|
591
739
|
* - `on_data_or_on_new_block`: receive headers only if any other filter matches and for "live" blocks.
|
|
592
740
|
*/
|
|
593
|
-
declare const HeaderFilter:
|
|
594
|
-
type HeaderFilter = typeof HeaderFilter
|
|
595
|
-
declare const WithdrawalFilter:
|
|
596
|
-
id:
|
|
597
|
-
validatorIndex:
|
|
598
|
-
address:
|
|
599
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
600
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
601
|
-
x2: typeof Schema.Number;
|
|
602
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
741
|
+
declare const HeaderFilter: Codec<"always" | "on_data" | "on_data_or_on_new_block" | "unknown", HeaderFilter$1>;
|
|
742
|
+
type HeaderFilter = CodecType<typeof HeaderFilter>;
|
|
743
|
+
declare const WithdrawalFilter: MessageCodec<{
|
|
744
|
+
id: Codec<number | undefined, number | undefined>;
|
|
745
|
+
validatorIndex: Codec<number | undefined, number | undefined>;
|
|
746
|
+
address: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
603
747
|
}>;
|
|
604
|
-
type WithdrawalFilter = typeof WithdrawalFilter
|
|
605
|
-
declare const TransactionStatusFilter:
|
|
606
|
-
type TransactionStatusFilter = typeof TransactionStatusFilter
|
|
607
|
-
declare const Topic:
|
|
608
|
-
value
|
|
609
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
610
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
611
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
612
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
613
|
-
}>>;
|
|
614
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
615
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
616
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
617
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
618
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
619
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
|
|
620
|
-
declare const LogFilter: Schema.Struct<{
|
|
621
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
622
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
623
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
624
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
625
|
-
x2: typeof Schema.Number;
|
|
626
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
627
|
-
topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
628
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
629
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
630
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
631
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
632
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
633
|
-
}>>;
|
|
634
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
635
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
636
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
637
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
638
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
639
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
640
|
-
strict: Schema.optional<typeof Schema.Boolean>;
|
|
641
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
642
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
643
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
748
|
+
type WithdrawalFilter = CodecType<typeof WithdrawalFilter>;
|
|
749
|
+
declare const TransactionStatusFilter: Codec<"succeeded" | "reverted" | "all" | "unknown", TransactionStatusFilter$1>;
|
|
750
|
+
type TransactionStatusFilter = CodecType<typeof TransactionStatusFilter>;
|
|
751
|
+
declare const Topic: Codec<B256 | null, {
|
|
752
|
+
value?: B256$1 | undefined;
|
|
644
753
|
}>;
|
|
645
|
-
type
|
|
646
|
-
declare const
|
|
647
|
-
id:
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
658
|
-
create: Schema.optional<typeof Schema.Boolean>;
|
|
659
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
660
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
661
|
-
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
754
|
+
type Topic = CodecType<typeof Topic>;
|
|
755
|
+
declare const LogFilter: MessageCodec<{
|
|
756
|
+
id: Codec<number | undefined, number | undefined>;
|
|
757
|
+
address: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
758
|
+
topics: Codec<readonly (`0x${string}` | null)[] | undefined, readonly {
|
|
759
|
+
value?: B256$1 | undefined;
|
|
760
|
+
}[] | undefined>;
|
|
761
|
+
strict: Codec<boolean | undefined, boolean | undefined>;
|
|
762
|
+
transactionStatus: Codec<"unknown" | "succeeded" | "reverted" | "all" | undefined, TransactionStatusFilter$1 | undefined>;
|
|
763
|
+
includeTransaction: Codec<boolean | undefined, boolean | undefined>;
|
|
764
|
+
includeReceipt: Codec<boolean | undefined, boolean | undefined>;
|
|
765
|
+
includeTransactionTrace: Codec<boolean | undefined, boolean | undefined>;
|
|
662
766
|
}>;
|
|
663
|
-
type
|
|
664
|
-
declare const
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
674
|
-
}>>>;
|
|
675
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
676
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
677
|
-
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
678
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
679
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
680
|
-
x2: typeof Schema.Number;
|
|
681
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
682
|
-
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
683
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
684
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
685
|
-
x2: typeof Schema.Number;
|
|
686
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
687
|
-
create: Schema.optional<typeof Schema.Boolean>;
|
|
688
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
689
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
690
|
-
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
691
|
-
}>>>;
|
|
692
|
-
logs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
693
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
694
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
695
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
696
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
697
|
-
x2: typeof Schema.Number;
|
|
698
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
699
|
-
topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
700
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
701
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
702
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
703
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
704
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
705
|
-
}>>;
|
|
706
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
707
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
708
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
709
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
710
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
711
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
712
|
-
strict: Schema.optional<typeof Schema.Boolean>;
|
|
713
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
714
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
715
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
716
|
-
}>>>;
|
|
767
|
+
type LogFilter = Readonly<CodecType<typeof LogFilter>>;
|
|
768
|
+
declare const TransactionFilter: MessageCodec<{
|
|
769
|
+
id: Codec<number | undefined, number | undefined>;
|
|
770
|
+
from: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
771
|
+
to: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
772
|
+
create: Codec<boolean | undefined, boolean | undefined>;
|
|
773
|
+
transactionStatus: Codec<"unknown" | "succeeded" | "reverted" | "all" | undefined, TransactionStatusFilter$1 | undefined>;
|
|
774
|
+
includeReceipt: Codec<boolean | undefined, boolean | undefined>;
|
|
775
|
+
includeLogs: Codec<boolean | undefined, boolean | undefined>;
|
|
776
|
+
includeTransactionTrace: Codec<boolean | undefined, boolean | undefined>;
|
|
717
777
|
}>;
|
|
718
|
-
type
|
|
719
|
-
declare const
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}[] | undefined
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
readonly x0: bigint;
|
|
764
|
-
readonly x1: bigint;
|
|
765
|
-
readonly x2: number;
|
|
766
|
-
} | undefined;
|
|
767
|
-
readonly create?: boolean | undefined;
|
|
768
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
769
|
-
readonly includeReceipt?: boolean | undefined;
|
|
770
|
-
readonly includeLogs?: boolean | undefined;
|
|
771
|
-
}[] | undefined;
|
|
772
|
-
readonly logs?: readonly {
|
|
773
|
-
readonly id?: number | undefined;
|
|
774
|
-
readonly address?: {
|
|
775
|
-
readonly x0: bigint;
|
|
776
|
-
readonly x1: bigint;
|
|
777
|
-
readonly x2: number;
|
|
778
|
-
} | undefined;
|
|
779
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
780
|
-
readonly includeReceipt?: boolean | undefined;
|
|
781
|
-
readonly topics?: readonly {
|
|
782
|
-
readonly value: {
|
|
783
|
-
readonly x0: bigint;
|
|
784
|
-
readonly x1: bigint;
|
|
785
|
-
readonly x2: bigint;
|
|
786
|
-
readonly x3: bigint;
|
|
787
|
-
} | undefined;
|
|
788
|
-
}[] | undefined;
|
|
789
|
-
readonly strict?: boolean | undefined;
|
|
790
|
-
readonly includeTransaction?: boolean | undefined;
|
|
791
|
-
}[] | undefined;
|
|
792
|
-
};
|
|
793
|
-
declare const filterFromProto: (i: {
|
|
794
|
-
readonly header?: HeaderFilter$1 | undefined;
|
|
795
|
-
readonly withdrawals?: readonly {
|
|
796
|
-
readonly id?: number | undefined;
|
|
797
|
-
readonly validatorIndex?: number | undefined;
|
|
798
|
-
readonly address?: {
|
|
799
|
-
readonly x0: bigint;
|
|
800
|
-
readonly x1: bigint;
|
|
801
|
-
readonly x2: number;
|
|
802
|
-
} | undefined;
|
|
803
|
-
}[] | undefined;
|
|
804
|
-
readonly transactions?: readonly {
|
|
805
|
-
readonly id?: number | undefined;
|
|
806
|
-
readonly from?: {
|
|
807
|
-
readonly x0: bigint;
|
|
808
|
-
readonly x1: bigint;
|
|
809
|
-
readonly x2: number;
|
|
810
|
-
} | undefined;
|
|
811
|
-
readonly to?: {
|
|
812
|
-
readonly x0: bigint;
|
|
813
|
-
readonly x1: bigint;
|
|
814
|
-
readonly x2: number;
|
|
815
|
-
} | undefined;
|
|
816
|
-
readonly create?: boolean | undefined;
|
|
817
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
818
|
-
readonly includeReceipt?: boolean | undefined;
|
|
819
|
-
readonly includeLogs?: boolean | undefined;
|
|
820
|
-
}[] | undefined;
|
|
821
|
-
readonly logs?: readonly {
|
|
822
|
-
readonly id?: number | undefined;
|
|
823
|
-
readonly address?: {
|
|
824
|
-
readonly x0: bigint;
|
|
825
|
-
readonly x1: bigint;
|
|
826
|
-
readonly x2: number;
|
|
827
|
-
} | undefined;
|
|
828
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
829
|
-
readonly includeReceipt?: boolean | undefined;
|
|
830
|
-
readonly topics?: readonly {
|
|
831
|
-
readonly value: {
|
|
832
|
-
readonly x0: bigint;
|
|
833
|
-
readonly x1: bigint;
|
|
834
|
-
readonly x2: bigint;
|
|
835
|
-
readonly x3: bigint;
|
|
836
|
-
} | undefined;
|
|
778
|
+
type TransactionFilter = Readonly<CodecType<typeof TransactionFilter>>;
|
|
779
|
+
declare const Filter: MessageCodec<{
|
|
780
|
+
header: Codec<"always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined, HeaderFilter$1 | undefined>;
|
|
781
|
+
withdrawals: Codec<readonly {
|
|
782
|
+
id?: number | undefined;
|
|
783
|
+
validatorIndex?: number | undefined;
|
|
784
|
+
address?: `0x${string}` | undefined;
|
|
785
|
+
}[] | undefined, readonly {
|
|
786
|
+
id?: number | undefined;
|
|
787
|
+
validatorIndex?: number | undefined;
|
|
788
|
+
address?: Address$1 | undefined;
|
|
789
|
+
}[] | undefined>;
|
|
790
|
+
transactions: Codec<readonly {
|
|
791
|
+
id?: number | undefined;
|
|
792
|
+
from?: `0x${string}` | undefined;
|
|
793
|
+
to?: `0x${string}` | undefined;
|
|
794
|
+
create?: boolean | undefined;
|
|
795
|
+
transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
796
|
+
includeReceipt?: boolean | undefined;
|
|
797
|
+
includeLogs?: boolean | undefined;
|
|
798
|
+
includeTransactionTrace?: boolean | undefined;
|
|
799
|
+
}[] | undefined, readonly {
|
|
800
|
+
id?: number | undefined;
|
|
801
|
+
from?: Address$1 | undefined;
|
|
802
|
+
to?: Address$1 | undefined;
|
|
803
|
+
create?: boolean | undefined;
|
|
804
|
+
transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
805
|
+
includeReceipt?: boolean | undefined;
|
|
806
|
+
includeLogs?: boolean | undefined;
|
|
807
|
+
includeTransactionTrace?: boolean | undefined;
|
|
808
|
+
}[] | undefined>;
|
|
809
|
+
logs: Codec<readonly {
|
|
810
|
+
id?: number | undefined;
|
|
811
|
+
address?: `0x${string}` | undefined;
|
|
812
|
+
topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
813
|
+
strict?: boolean | undefined;
|
|
814
|
+
transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
815
|
+
includeTransaction?: boolean | undefined;
|
|
816
|
+
includeReceipt?: boolean | undefined;
|
|
817
|
+
includeTransactionTrace?: boolean | undefined;
|
|
818
|
+
}[] | undefined, readonly {
|
|
819
|
+
id?: number | undefined;
|
|
820
|
+
address?: Address$1 | undefined;
|
|
821
|
+
topics?: readonly {
|
|
822
|
+
value?: B256$1 | undefined;
|
|
837
823
|
}[] | undefined;
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
}[] | undefined;
|
|
848
|
-
readonly transactions?: readonly {
|
|
849
|
-
readonly id?: number | undefined;
|
|
850
|
-
readonly from?: `0x${string}` | undefined;
|
|
851
|
-
readonly to?: `0x${string}` | undefined;
|
|
852
|
-
readonly create?: boolean | undefined;
|
|
853
|
-
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
854
|
-
readonly includeReceipt?: boolean | undefined;
|
|
855
|
-
readonly includeLogs?: boolean | undefined;
|
|
856
|
-
}[] | undefined;
|
|
857
|
-
readonly logs?: readonly {
|
|
858
|
-
readonly id?: number | undefined;
|
|
859
|
-
readonly address?: `0x${string}` | undefined;
|
|
860
|
-
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
861
|
-
readonly includeReceipt?: boolean | undefined;
|
|
862
|
-
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
863
|
-
readonly strict?: boolean | undefined;
|
|
864
|
-
readonly includeTransaction?: boolean | undefined;
|
|
865
|
-
}[] | undefined;
|
|
866
|
-
};
|
|
867
|
-
declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
|
|
868
|
-
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
869
|
-
withdrawals: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
870
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
871
|
-
validatorIndex: Schema.optional<typeof Schema.Number>;
|
|
872
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
873
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
874
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
875
|
-
x2: typeof Schema.Number;
|
|
876
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
877
|
-
}>>>;
|
|
878
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
879
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
880
|
-
from: Schema.optional<Schema.transform<Schema.Struct<{
|
|
881
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
882
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
883
|
-
x2: typeof Schema.Number;
|
|
884
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
885
|
-
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
886
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
887
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
888
|
-
x2: typeof Schema.Number;
|
|
889
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
890
|
-
create: Schema.optional<typeof Schema.Boolean>;
|
|
891
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
892
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
893
|
-
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
894
|
-
}>>>;
|
|
895
|
-
logs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
896
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
897
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
898
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
899
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
900
|
-
x2: typeof Schema.Number;
|
|
901
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
902
|
-
topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
903
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
904
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
905
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
906
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
907
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
908
|
-
}>>;
|
|
909
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
910
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
911
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
912
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
913
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
914
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
915
|
-
strict: Schema.optional<typeof Schema.Boolean>;
|
|
916
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
917
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
918
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
919
|
-
}>>>;
|
|
920
|
-
}>>;
|
|
921
|
-
declare const filterToBytes: (a: {
|
|
922
|
-
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
923
|
-
readonly withdrawals?: readonly {
|
|
924
|
-
readonly id?: number | undefined;
|
|
925
|
-
readonly validatorIndex?: number | undefined;
|
|
926
|
-
readonly address?: `0x${string}` | undefined;
|
|
927
|
-
}[] | undefined;
|
|
928
|
-
readonly transactions?: readonly {
|
|
929
|
-
readonly id?: number | undefined;
|
|
930
|
-
readonly from?: `0x${string}` | undefined;
|
|
931
|
-
readonly to?: `0x${string}` | undefined;
|
|
932
|
-
readonly create?: boolean | undefined;
|
|
933
|
-
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
934
|
-
readonly includeReceipt?: boolean | undefined;
|
|
935
|
-
readonly includeLogs?: boolean | undefined;
|
|
936
|
-
}[] | undefined;
|
|
937
|
-
readonly logs?: readonly {
|
|
938
|
-
readonly id?: number | undefined;
|
|
939
|
-
readonly address?: `0x${string}` | undefined;
|
|
940
|
-
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
941
|
-
readonly includeReceipt?: boolean | undefined;
|
|
942
|
-
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
943
|
-
readonly strict?: boolean | undefined;
|
|
944
|
-
readonly includeTransaction?: boolean | undefined;
|
|
945
|
-
}[] | undefined;
|
|
946
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
|
|
947
|
-
declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
948
|
-
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
949
|
-
readonly withdrawals?: readonly {
|
|
950
|
-
readonly id?: number | undefined;
|
|
951
|
-
readonly validatorIndex?: number | undefined;
|
|
952
|
-
readonly address?: `0x${string}` | undefined;
|
|
953
|
-
}[] | undefined;
|
|
954
|
-
readonly transactions?: readonly {
|
|
955
|
-
readonly id?: number | undefined;
|
|
956
|
-
readonly from?: `0x${string}` | undefined;
|
|
957
|
-
readonly to?: `0x${string}` | undefined;
|
|
958
|
-
readonly create?: boolean | undefined;
|
|
959
|
-
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
960
|
-
readonly includeReceipt?: boolean | undefined;
|
|
961
|
-
readonly includeLogs?: boolean | undefined;
|
|
962
|
-
}[] | undefined;
|
|
963
|
-
readonly logs?: readonly {
|
|
964
|
-
readonly id?: number | undefined;
|
|
965
|
-
readonly address?: `0x${string}` | undefined;
|
|
966
|
-
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
967
|
-
readonly includeReceipt?: boolean | undefined;
|
|
968
|
-
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
969
|
-
readonly strict?: boolean | undefined;
|
|
970
|
-
readonly includeTransaction?: boolean | undefined;
|
|
971
|
-
}[] | undefined;
|
|
972
|
-
};
|
|
824
|
+
strict?: boolean | undefined;
|
|
825
|
+
transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
826
|
+
includeTransaction?: boolean | undefined;
|
|
827
|
+
includeReceipt?: boolean | undefined;
|
|
828
|
+
includeTransactionTrace?: boolean | undefined;
|
|
829
|
+
}[] | undefined>;
|
|
830
|
+
}>;
|
|
831
|
+
type Filter = Readonly<CodecType<typeof Filter>>;
|
|
832
|
+
declare const FilterFromBytes: Codec<Filter, Uint8Array>;
|
|
973
833
|
declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
974
834
|
|
|
975
|
-
declare const Bloom:
|
|
976
|
-
value
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
835
|
+
declare const Bloom: Codec<`0x${string}` | undefined, {
|
|
836
|
+
value?: Uint8Array | undefined;
|
|
837
|
+
}>;
|
|
838
|
+
type Bloom = CodecType<typeof Bloom>;
|
|
839
|
+
declare const TransactionStatus: Codec<"unknown" | "succeeded" | "reverted", TransactionStatus$1>;
|
|
840
|
+
type TransactionStatus = CodecType<typeof TransactionStatus>;
|
|
841
|
+
declare const BlockHeader: MessageCodec<{
|
|
842
|
+
blockNumber: Codec<bigint, bigint | undefined>;
|
|
843
|
+
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
844
|
+
parentBlockHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
845
|
+
unclesHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
846
|
+
miner: Codec<`0x${string}`, Address$1 | undefined>;
|
|
847
|
+
stateRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
848
|
+
transactionsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
849
|
+
receiptsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
850
|
+
logsBloom: Codec<`0x${string}`, {
|
|
851
|
+
value?: Uint8Array | undefined;
|
|
852
|
+
} | undefined>;
|
|
853
|
+
difficulty: Codec<bigint, U256$1 | undefined>;
|
|
854
|
+
gasLimit: Codec<bigint, U128$1 | undefined>;
|
|
855
|
+
gasUsed: Codec<bigint, U128$1 | undefined>;
|
|
856
|
+
timestamp: Codec<Date, Date | undefined>;
|
|
857
|
+
extraData: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
858
|
+
mixHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
859
|
+
nonce: Codec<bigint | undefined, bigint | undefined>;
|
|
860
|
+
baseFeePerGas: Codec<bigint | undefined, U128$1 | undefined>;
|
|
861
|
+
withdrawalsRoot: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
862
|
+
totalDifficulty: Codec<bigint | undefined, U256$1 | undefined>;
|
|
863
|
+
blobGasUsed: Codec<bigint | undefined, U128$1 | undefined>;
|
|
864
|
+
excessBlobGas: Codec<bigint | undefined, U128$1 | undefined>;
|
|
865
|
+
parentBeaconBlockRoot: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
866
|
+
requestsHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
867
|
+
}>;
|
|
868
|
+
type BlockHeader = CodecType<typeof BlockHeader>;
|
|
869
|
+
declare const Withdrawal: MessageCodec<{
|
|
870
|
+
filterIds: Codec<readonly number[], readonly number[] | undefined>;
|
|
871
|
+
withdrawalIndex: Codec<number, number | undefined>;
|
|
872
|
+
index: Codec<bigint, bigint | undefined>;
|
|
873
|
+
validatorIndex: Codec<number, number | undefined>;
|
|
874
|
+
address: Codec<`0x${string}`, Address$1 | undefined>;
|
|
875
|
+
amount: Codec<bigint, bigint | undefined>;
|
|
876
|
+
}>;
|
|
877
|
+
type Withdrawal = CodecType<typeof Withdrawal>;
|
|
878
|
+
declare const AccessListItem: MessageCodec<{
|
|
879
|
+
address: Codec<`0x${string}`, Address$1 | undefined>;
|
|
880
|
+
storageKeys: Codec<readonly `0x${string}`[], readonly B256$1[] | undefined>;
|
|
881
|
+
}>;
|
|
882
|
+
type AccessListItem = CodecType<typeof AccessListItem>;
|
|
883
|
+
declare const Signature: MessageCodec<{
|
|
884
|
+
r: Codec<bigint, U256$1 | undefined>;
|
|
885
|
+
s: Codec<bigint, U256$1 | undefined>;
|
|
886
|
+
v: Codec<bigint | undefined, U256$1 | undefined>;
|
|
887
|
+
YParity: Codec<boolean | undefined, boolean | undefined>;
|
|
888
|
+
}>;
|
|
889
|
+
type Signature = CodecType<typeof Signature>;
|
|
890
|
+
declare const Transaction: MessageCodec<{
|
|
891
|
+
filterIds: Codec<readonly number[], readonly number[] | undefined>;
|
|
892
|
+
transactionIndex: Codec<number, number | undefined>;
|
|
893
|
+
transactionHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
894
|
+
nonce: Codec<bigint, bigint | undefined>;
|
|
895
|
+
from: Codec<`0x${string}`, Address$1 | undefined>;
|
|
896
|
+
to: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
897
|
+
value: Codec<bigint, U256$1 | undefined>;
|
|
898
|
+
gasPrice: Codec<bigint | undefined, U128$1 | undefined>;
|
|
899
|
+
gas: Codec<bigint, U128$1 | undefined>;
|
|
900
|
+
maxFeePerGas: Codec<bigint | undefined, U128$1 | undefined>;
|
|
901
|
+
maxPriorityFeePerGas: Codec<bigint | undefined, U128$1 | undefined>;
|
|
902
|
+
input: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
903
|
+
signature: Codec<{
|
|
904
|
+
r: bigint;
|
|
905
|
+
s: bigint;
|
|
906
|
+
v?: bigint | undefined;
|
|
907
|
+
YParity?: boolean | undefined;
|
|
908
|
+
} | undefined, {
|
|
909
|
+
r?: U256$1 | undefined;
|
|
910
|
+
s?: U256$1 | undefined;
|
|
911
|
+
v?: U256$1 | undefined;
|
|
912
|
+
YParity?: boolean | undefined;
|
|
913
|
+
} | undefined>;
|
|
914
|
+
chainId: Codec<bigint | undefined, bigint | undefined>;
|
|
915
|
+
accessList: Codec<readonly {
|
|
916
|
+
address: `0x${string}`;
|
|
917
|
+
storageKeys: readonly `0x${string}`[];
|
|
918
|
+
}[], readonly {
|
|
919
|
+
address?: Address$1 | undefined;
|
|
920
|
+
storageKeys?: readonly B256$1[] | undefined;
|
|
921
|
+
}[] | undefined>;
|
|
922
|
+
transactionType: Codec<bigint, bigint | undefined>;
|
|
923
|
+
maxFeePerBlobGas: Codec<bigint | undefined, U128$1 | undefined>;
|
|
924
|
+
blobVersionedHashes: Codec<readonly `0x${string}`[], readonly B256$1[] | undefined>;
|
|
925
|
+
transactionStatus: Codec<"unknown", TransactionStatus$1 | undefined> | Codec<"succeeded", TransactionStatus$1 | undefined> | Codec<"reverted", TransactionStatus$1 | undefined>;
|
|
926
|
+
}>;
|
|
927
|
+
type Transaction = CodecType<typeof Transaction>;
|
|
928
|
+
declare const TransactionReceipt: MessageCodec<{
|
|
929
|
+
filterIds: Codec<readonly number[], readonly number[] | undefined>;
|
|
930
|
+
transactionIndex: Codec<number, number | undefined>;
|
|
931
|
+
transactionHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
932
|
+
cumulativeGasUsed: Codec<bigint, U128$1 | undefined>;
|
|
933
|
+
gasUsed: Codec<bigint, U128$1 | undefined>;
|
|
934
|
+
effectiveGasPrice: Codec<bigint, U128$1 | undefined>;
|
|
935
|
+
from: Codec<`0x${string}`, Address$1 | undefined>;
|
|
936
|
+
to: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
937
|
+
contractAddress: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
938
|
+
logsBloom: Codec<`0x${string}`, {
|
|
939
|
+
value?: Uint8Array | undefined;
|
|
940
|
+
} | undefined>;
|
|
941
|
+
transactionType: Codec<bigint, bigint | undefined>;
|
|
942
|
+
blobGasUsed: Codec<bigint | undefined, U128$1 | undefined>;
|
|
943
|
+
blobGasPrice: Codec<bigint | undefined, U128$1 | undefined>;
|
|
944
|
+
transactionStatus: Codec<"unknown", TransactionStatus$1 | undefined> | Codec<"succeeded", TransactionStatus$1 | undefined> | Codec<"reverted", TransactionStatus$1 | undefined>;
|
|
945
|
+
}>;
|
|
946
|
+
type TransactionReceipt = CodecType<typeof TransactionReceipt>;
|
|
947
|
+
declare const Log: MessageCodec<{
|
|
948
|
+
filterIds: Codec<readonly number[], readonly number[] | undefined>;
|
|
949
|
+
address: Codec<`0x${string}`, Address$1 | undefined>;
|
|
950
|
+
topics: Codec<readonly `0x${string}`[], readonly B256$1[] | undefined>;
|
|
951
|
+
data: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
952
|
+
logIndex: Codec<number, number | undefined>;
|
|
953
|
+
logIndexInTransaction: Codec<number, number | undefined>;
|
|
954
|
+
transactionIndex: Codec<number, number | undefined>;
|
|
955
|
+
transactionHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
956
|
+
transactionStatus: Codec<"unknown", TransactionStatus$1 | undefined> | Codec<"succeeded", TransactionStatus$1 | undefined> | Codec<"reverted", TransactionStatus$1 | undefined>;
|
|
1079
957
|
}>;
|
|
1080
|
-
type
|
|
1081
|
-
declare const
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
958
|
+
type Log = CodecType<typeof Log>;
|
|
959
|
+
declare const CallType: Codec<"unknown" | "call" | "delegateCall" | "callCode" | "staticCall" | "authCall", CallType$1>;
|
|
960
|
+
type CallType = CodecType<typeof CallType>;
|
|
961
|
+
declare const CreationMethod: Codec<"unknown" | "create" | "create2" | "eofCreate", CreationMethod$1>;
|
|
962
|
+
type CreationMethod = CodecType<typeof CreationMethod>;
|
|
963
|
+
declare const CallAction: MessageCodec<{
|
|
964
|
+
fromAddress: Codec<`0x${string}`, Address$1 | undefined>;
|
|
965
|
+
type: Codec<"unknown", CallType$1 | undefined> | Codec<"call", CallType$1 | undefined> | Codec<"delegateCall", CallType$1 | undefined> | Codec<"callCode", CallType$1 | undefined> | Codec<"staticCall", CallType$1 | undefined> | Codec<"authCall", CallType$1 | undefined>;
|
|
966
|
+
gas: Codec<bigint, bigint | undefined>;
|
|
967
|
+
input: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
968
|
+
toAddress: Codec<`0x${string}`, Address$1 | undefined>;
|
|
969
|
+
value: Codec<bigint, U256$1 | undefined>;
|
|
1092
970
|
}>;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1101
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1102
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1103
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1104
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
971
|
+
type CallAction = CodecType<typeof CallAction>;
|
|
972
|
+
declare const CreateAction: MessageCodec<{
|
|
973
|
+
fromAddress: Codec<`0x${string}`, Address$1 | undefined>;
|
|
974
|
+
gas: Codec<bigint, bigint | undefined>;
|
|
975
|
+
init: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
976
|
+
value: Codec<bigint, U256$1 | undefined>;
|
|
977
|
+
creationMethod: Codec<"unknown", CreationMethod$1 | undefined> | Codec<"create", CreationMethod$1 | undefined> | Codec<"create2", CreationMethod$1 | undefined> | Codec<"eofCreate", CreationMethod$1 | undefined>;
|
|
1105
978
|
}>;
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1112
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1113
|
-
s: Schema.transform<Schema.Struct<{
|
|
1114
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1115
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1116
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1117
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1118
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1119
|
-
v: Schema.transform<Schema.Struct<{
|
|
1120
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1121
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1122
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1123
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1124
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1125
|
-
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
979
|
+
type CreateAction = CodecType<typeof CreateAction>;
|
|
980
|
+
declare const SelfDestructAction: MessageCodec<{
|
|
981
|
+
address: Codec<`0x${string}`, Address$1 | undefined>;
|
|
982
|
+
balance: Codec<bigint, U256$1 | undefined>;
|
|
983
|
+
refundAddress: Codec<`0x${string}`, Address$1 | undefined>;
|
|
1126
984
|
}>;
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1135
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1136
|
-
nonce: typeof Schema.BigIntFromSelf;
|
|
1137
|
-
from: Schema.transform<Schema.Struct<{
|
|
1138
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1139
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1140
|
-
x2: typeof Schema.Number;
|
|
1141
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1142
|
-
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1143
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1144
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1145
|
-
x2: typeof Schema.Number;
|
|
1146
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1147
|
-
value: 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
|
-
gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1154
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1155
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1156
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1157
|
-
gas: Schema.transform<Schema.Struct<{
|
|
1158
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1159
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1160
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1161
|
-
maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1162
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1163
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1164
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1165
|
-
maxPriorityFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1166
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1167
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1168
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1169
|
-
input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1170
|
-
signature: Schema.optional<Schema.Struct<{
|
|
1171
|
-
r: Schema.transform<Schema.Struct<{
|
|
1172
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1173
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1174
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1175
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1176
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1177
|
-
s: Schema.transform<Schema.Struct<{
|
|
1178
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1179
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1180
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1181
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1182
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1183
|
-
v: Schema.transform<Schema.Struct<{
|
|
1184
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1185
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1186
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1187
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1188
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1189
|
-
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
1190
|
-
}>>;
|
|
1191
|
-
chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
1192
|
-
accessList: Schema.Array$<Schema.Struct<{
|
|
1193
|
-
address: Schema.transform<Schema.Struct<{
|
|
1194
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1195
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1196
|
-
x2: typeof Schema.Number;
|
|
1197
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1198
|
-
storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1199
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1200
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1201
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1202
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1203
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1204
|
-
}>>;
|
|
1205
|
-
transactionType: typeof Schema.BigIntFromSelf;
|
|
1206
|
-
maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1207
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1208
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1209
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1210
|
-
blobVersionedHashes: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1211
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1212
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1213
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1214
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1215
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1216
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
985
|
+
type SelfDestructAction = CodecType<typeof SelfDestructAction>;
|
|
986
|
+
declare const RewardType: Codec<"unknown" | "block" | "uncle", RewardType$1>;
|
|
987
|
+
type RewardType = CodecType<typeof RewardType>;
|
|
988
|
+
declare const RewardAction: MessageCodec<{
|
|
989
|
+
author: Codec<`0x${string}`, Address$1 | undefined>;
|
|
990
|
+
type: Codec<"unknown", RewardType$1 | undefined> | Codec<"block", RewardType$1 | undefined> | Codec<"uncle", RewardType$1 | undefined>;
|
|
991
|
+
value: Codec<bigint, U256$1 | undefined>;
|
|
1217
992
|
}>;
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1223
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1224
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1225
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1226
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1227
|
-
cumulativeGasUsed: Schema.transform<Schema.Struct<{
|
|
1228
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1229
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1230
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1231
|
-
gasUsed: Schema.transform<Schema.Struct<{
|
|
1232
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1233
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1234
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1235
|
-
effectiveGasPrice: Schema.transform<Schema.Struct<{
|
|
1236
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1237
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1238
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1239
|
-
from: Schema.transform<Schema.Struct<{
|
|
1240
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1241
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1242
|
-
x2: typeof Schema.Number;
|
|
1243
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1244
|
-
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1245
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1246
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1247
|
-
x2: typeof Schema.Number;
|
|
1248
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1249
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1250
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1251
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1252
|
-
x2: typeof Schema.Number;
|
|
1253
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1254
|
-
logsBloom: Schema.transform<Schema.Struct<{
|
|
1255
|
-
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1256
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1257
|
-
transactionType: typeof Schema.BigIntFromSelf;
|
|
1258
|
-
blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1259
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1260
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1261
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1262
|
-
blobGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1263
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1264
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1265
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1266
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
993
|
+
type RewardAction = CodecType<typeof RewardAction>;
|
|
994
|
+
declare const CallOutput: MessageCodec<{
|
|
995
|
+
gasUsed: Codec<bigint, bigint | undefined>;
|
|
996
|
+
output: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
1267
997
|
}>;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
address:
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
x2: typeof Schema.Number;
|
|
1274
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1275
|
-
topics: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1276
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1277
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1278
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1279
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1280
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1281
|
-
data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1282
|
-
logIndex: typeof Schema.Number;
|
|
1283
|
-
logIndexInTransaction: typeof Schema.Number;
|
|
1284
|
-
transactionIndex: typeof Schema.Number;
|
|
1285
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
1286
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1287
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1288
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1289
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1290
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1291
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
998
|
+
type CallOutput = CodecType<typeof CallOutput>;
|
|
999
|
+
declare const CreateOutput: MessageCodec<{
|
|
1000
|
+
address: Codec<`0x${string}`, Address$1 | undefined>;
|
|
1001
|
+
code: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
1002
|
+
gasUsed: Codec<bigint, bigint | undefined>;
|
|
1292
1003
|
}>;
|
|
1293
|
-
type
|
|
1294
|
-
declare const
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
effectiveGasPrice: Schema.transform<Schema.Struct<{
|
|
1516
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1517
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1518
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
1519
|
-
from: Schema.transform<Schema.Struct<{
|
|
1520
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1521
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1522
|
-
x2: typeof Schema.Number;
|
|
1523
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1524
|
-
to: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1525
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1526
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1527
|
-
x2: typeof Schema.Number;
|
|
1528
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1529
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1530
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1531
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1532
|
-
x2: typeof Schema.Number;
|
|
1533
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1534
|
-
logsBloom: Schema.transform<Schema.Struct<{
|
|
1535
|
-
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1536
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1537
|
-
transactionType: typeof Schema.BigIntFromSelf;
|
|
1538
|
-
blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1539
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1540
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1541
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1542
|
-
blobGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1543
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1544
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1545
|
-
}>, typeof Schema.BigIntFromSelf>>;
|
|
1546
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1547
|
-
}>>;
|
|
1548
|
-
logs: Schema.Array$<Schema.Struct<{
|
|
1549
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
1550
|
-
address: Schema.transform<Schema.Struct<{
|
|
1551
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1552
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1553
|
-
x2: typeof Schema.Number;
|
|
1554
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1555
|
-
topics: Schema.Array$<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
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1561
|
-
data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1562
|
-
logIndex: typeof Schema.Number;
|
|
1563
|
-
logIndexInTransaction: typeof Schema.Number;
|
|
1564
|
-
transactionIndex: typeof Schema.Number;
|
|
1565
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
1566
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1567
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1568
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1569
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1570
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1571
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1572
|
-
}>>;
|
|
1004
|
+
type CreateOutput = CodecType<typeof CreateOutput>;
|
|
1005
|
+
declare const Trace: MessageCodec<{
|
|
1006
|
+
action: Codec<{
|
|
1007
|
+
_tag: "create";
|
|
1008
|
+
} & {
|
|
1009
|
+
create: {
|
|
1010
|
+
fromAddress: `0x${string}`;
|
|
1011
|
+
gas: bigint;
|
|
1012
|
+
init: `0x${string}`;
|
|
1013
|
+
value: bigint;
|
|
1014
|
+
creationMethod: "unknown" | "create" | "create2" | "eofCreate";
|
|
1015
|
+
};
|
|
1016
|
+
}, (({
|
|
1017
|
+
$case: "create";
|
|
1018
|
+
} & {
|
|
1019
|
+
create: {
|
|
1020
|
+
fromAddress?: Address$1 | undefined;
|
|
1021
|
+
gas?: bigint | undefined;
|
|
1022
|
+
init?: Uint8Array | undefined;
|
|
1023
|
+
value?: U256$1 | undefined;
|
|
1024
|
+
creationMethod?: CreationMethod$1 | undefined;
|
|
1025
|
+
};
|
|
1026
|
+
}) | ({
|
|
1027
|
+
$case: "call";
|
|
1028
|
+
} & {
|
|
1029
|
+
call: {
|
|
1030
|
+
fromAddress?: Address$1 | undefined;
|
|
1031
|
+
type?: CallType$1 | undefined;
|
|
1032
|
+
gas?: bigint | undefined;
|
|
1033
|
+
input?: Uint8Array | undefined;
|
|
1034
|
+
toAddress?: Address$1 | undefined;
|
|
1035
|
+
value?: U256$1 | undefined;
|
|
1036
|
+
};
|
|
1037
|
+
}) | ({
|
|
1038
|
+
$case: "selfDestruct";
|
|
1039
|
+
} & {
|
|
1040
|
+
selfDestruct: {
|
|
1041
|
+
address?: Address$1 | undefined;
|
|
1042
|
+
balance?: U256$1 | undefined;
|
|
1043
|
+
refundAddress?: Address$1 | undefined;
|
|
1044
|
+
};
|
|
1045
|
+
}) | ({
|
|
1046
|
+
$case: "reward";
|
|
1047
|
+
} & {
|
|
1048
|
+
reward: {
|
|
1049
|
+
author?: Address$1 | undefined;
|
|
1050
|
+
type?: RewardType$1 | undefined;
|
|
1051
|
+
value?: U256$1 | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
})) | undefined> | Codec<{
|
|
1054
|
+
_tag: "call";
|
|
1055
|
+
} & {
|
|
1056
|
+
call: {
|
|
1057
|
+
fromAddress: `0x${string}`;
|
|
1058
|
+
type: "unknown" | "call" | "delegateCall" | "callCode" | "staticCall" | "authCall";
|
|
1059
|
+
gas: bigint;
|
|
1060
|
+
input: `0x${string}`;
|
|
1061
|
+
toAddress: `0x${string}`;
|
|
1062
|
+
value: bigint;
|
|
1063
|
+
};
|
|
1064
|
+
}, (({
|
|
1065
|
+
$case: "create";
|
|
1066
|
+
} & {
|
|
1067
|
+
create: {
|
|
1068
|
+
fromAddress?: Address$1 | undefined;
|
|
1069
|
+
gas?: bigint | undefined;
|
|
1070
|
+
init?: Uint8Array | undefined;
|
|
1071
|
+
value?: U256$1 | undefined;
|
|
1072
|
+
creationMethod?: CreationMethod$1 | undefined;
|
|
1073
|
+
};
|
|
1074
|
+
}) | ({
|
|
1075
|
+
$case: "call";
|
|
1076
|
+
} & {
|
|
1077
|
+
call: {
|
|
1078
|
+
fromAddress?: Address$1 | undefined;
|
|
1079
|
+
type?: CallType$1 | undefined;
|
|
1080
|
+
gas?: bigint | undefined;
|
|
1081
|
+
input?: Uint8Array | undefined;
|
|
1082
|
+
toAddress?: Address$1 | undefined;
|
|
1083
|
+
value?: U256$1 | undefined;
|
|
1084
|
+
};
|
|
1085
|
+
}) | ({
|
|
1086
|
+
$case: "selfDestruct";
|
|
1087
|
+
} & {
|
|
1088
|
+
selfDestruct: {
|
|
1089
|
+
address?: Address$1 | undefined;
|
|
1090
|
+
balance?: U256$1 | undefined;
|
|
1091
|
+
refundAddress?: Address$1 | undefined;
|
|
1092
|
+
};
|
|
1093
|
+
}) | ({
|
|
1094
|
+
$case: "reward";
|
|
1095
|
+
} & {
|
|
1096
|
+
reward: {
|
|
1097
|
+
author?: Address$1 | undefined;
|
|
1098
|
+
type?: RewardType$1 | undefined;
|
|
1099
|
+
value?: U256$1 | undefined;
|
|
1100
|
+
};
|
|
1101
|
+
})) | undefined> | Codec<{
|
|
1102
|
+
_tag: "selfDestruct";
|
|
1103
|
+
} & {
|
|
1104
|
+
selfDestruct: {
|
|
1105
|
+
address: `0x${string}`;
|
|
1106
|
+
balance: bigint;
|
|
1107
|
+
refundAddress: `0x${string}`;
|
|
1108
|
+
};
|
|
1109
|
+
}, (({
|
|
1110
|
+
$case: "create";
|
|
1111
|
+
} & {
|
|
1112
|
+
create: {
|
|
1113
|
+
fromAddress?: Address$1 | undefined;
|
|
1114
|
+
gas?: bigint | undefined;
|
|
1115
|
+
init?: Uint8Array | undefined;
|
|
1116
|
+
value?: U256$1 | undefined;
|
|
1117
|
+
creationMethod?: CreationMethod$1 | undefined;
|
|
1118
|
+
};
|
|
1119
|
+
}) | ({
|
|
1120
|
+
$case: "call";
|
|
1121
|
+
} & {
|
|
1122
|
+
call: {
|
|
1123
|
+
fromAddress?: Address$1 | undefined;
|
|
1124
|
+
type?: CallType$1 | undefined;
|
|
1125
|
+
gas?: bigint | undefined;
|
|
1126
|
+
input?: Uint8Array | undefined;
|
|
1127
|
+
toAddress?: Address$1 | undefined;
|
|
1128
|
+
value?: U256$1 | undefined;
|
|
1129
|
+
};
|
|
1130
|
+
}) | ({
|
|
1131
|
+
$case: "selfDestruct";
|
|
1132
|
+
} & {
|
|
1133
|
+
selfDestruct: {
|
|
1134
|
+
address?: Address$1 | undefined;
|
|
1135
|
+
balance?: U256$1 | undefined;
|
|
1136
|
+
refundAddress?: Address$1 | undefined;
|
|
1137
|
+
};
|
|
1138
|
+
}) | ({
|
|
1139
|
+
$case: "reward";
|
|
1140
|
+
} & {
|
|
1141
|
+
reward: {
|
|
1142
|
+
author?: Address$1 | undefined;
|
|
1143
|
+
type?: RewardType$1 | undefined;
|
|
1144
|
+
value?: U256$1 | undefined;
|
|
1145
|
+
};
|
|
1146
|
+
})) | undefined> | Codec<{
|
|
1147
|
+
_tag: "reward";
|
|
1148
|
+
} & {
|
|
1149
|
+
reward: {
|
|
1150
|
+
author: `0x${string}`;
|
|
1151
|
+
type: "unknown" | "block" | "uncle";
|
|
1152
|
+
value: bigint;
|
|
1153
|
+
};
|
|
1154
|
+
}, (({
|
|
1155
|
+
$case: "create";
|
|
1156
|
+
} & {
|
|
1157
|
+
create: {
|
|
1158
|
+
fromAddress?: Address$1 | undefined;
|
|
1159
|
+
gas?: bigint | undefined;
|
|
1160
|
+
init?: Uint8Array | undefined;
|
|
1161
|
+
value?: U256$1 | undefined;
|
|
1162
|
+
creationMethod?: CreationMethod$1 | undefined;
|
|
1163
|
+
};
|
|
1164
|
+
}) | ({
|
|
1165
|
+
$case: "call";
|
|
1166
|
+
} & {
|
|
1167
|
+
call: {
|
|
1168
|
+
fromAddress?: Address$1 | undefined;
|
|
1169
|
+
type?: CallType$1 | undefined;
|
|
1170
|
+
gas?: bigint | undefined;
|
|
1171
|
+
input?: Uint8Array | undefined;
|
|
1172
|
+
toAddress?: Address$1 | undefined;
|
|
1173
|
+
value?: U256$1 | undefined;
|
|
1174
|
+
};
|
|
1175
|
+
}) | ({
|
|
1176
|
+
$case: "selfDestruct";
|
|
1177
|
+
} & {
|
|
1178
|
+
selfDestruct: {
|
|
1179
|
+
address?: Address$1 | undefined;
|
|
1180
|
+
balance?: U256$1 | undefined;
|
|
1181
|
+
refundAddress?: Address$1 | undefined;
|
|
1182
|
+
};
|
|
1183
|
+
}) | ({
|
|
1184
|
+
$case: "reward";
|
|
1185
|
+
} & {
|
|
1186
|
+
reward: {
|
|
1187
|
+
author?: Address$1 | undefined;
|
|
1188
|
+
type?: RewardType$1 | undefined;
|
|
1189
|
+
value?: U256$1 | undefined;
|
|
1190
|
+
};
|
|
1191
|
+
})) | undefined>;
|
|
1192
|
+
error: Codec<string | undefined, string | undefined>;
|
|
1193
|
+
output: Codec<(({
|
|
1194
|
+
_tag: "callOutput";
|
|
1195
|
+
} & {
|
|
1196
|
+
callOutput: {
|
|
1197
|
+
gasUsed: bigint;
|
|
1198
|
+
output: `0x${string}`;
|
|
1199
|
+
};
|
|
1200
|
+
}) | ({
|
|
1201
|
+
_tag: "createOutput";
|
|
1202
|
+
} & {
|
|
1203
|
+
createOutput: {
|
|
1204
|
+
address: `0x${string}`;
|
|
1205
|
+
code: `0x${string}`;
|
|
1206
|
+
gasUsed: bigint;
|
|
1207
|
+
};
|
|
1208
|
+
})) | undefined, (({
|
|
1209
|
+
$case: "callOutput";
|
|
1210
|
+
} & {
|
|
1211
|
+
callOutput: {
|
|
1212
|
+
gasUsed?: bigint | undefined;
|
|
1213
|
+
output?: Uint8Array | undefined;
|
|
1214
|
+
};
|
|
1215
|
+
}) | ({
|
|
1216
|
+
$case: "createOutput";
|
|
1217
|
+
} & {
|
|
1218
|
+
createOutput: {
|
|
1219
|
+
address?: Address$1 | undefined;
|
|
1220
|
+
code?: Uint8Array | undefined;
|
|
1221
|
+
gasUsed?: bigint | undefined;
|
|
1222
|
+
};
|
|
1223
|
+
})) | undefined>;
|
|
1224
|
+
subtraces: Codec<number, number | undefined>;
|
|
1225
|
+
traceAddress: Codec<readonly number[], readonly number[] | undefined>;
|
|
1573
1226
|
}>;
|
|
1574
|
-
type
|
|
1575
|
-
declare const
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
}
|
|
1227
|
+
type Trace = CodecType<typeof Trace>;
|
|
1228
|
+
declare const TransactionTrace: MessageCodec<{
|
|
1229
|
+
filterIds: Codec<readonly number[], readonly number[] | undefined>;
|
|
1230
|
+
transactionIndex: Codec<number, number | undefined>;
|
|
1231
|
+
transactionHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
1232
|
+
traces: Codec<readonly {
|
|
1233
|
+
action: ({
|
|
1234
|
+
_tag: "create";
|
|
1235
|
+
} & {
|
|
1236
|
+
create: {
|
|
1237
|
+
fromAddress: `0x${string}`;
|
|
1238
|
+
gas: bigint;
|
|
1239
|
+
init: `0x${string}`;
|
|
1240
|
+
value: bigint;
|
|
1241
|
+
creationMethod: "unknown" | "create" | "create2" | "eofCreate";
|
|
1242
|
+
};
|
|
1243
|
+
}) | ({
|
|
1244
|
+
_tag: "call";
|
|
1245
|
+
} & {
|
|
1246
|
+
call: {
|
|
1247
|
+
fromAddress: `0x${string}`;
|
|
1248
|
+
type: "unknown" | "call" | "delegateCall" | "callCode" | "staticCall" | "authCall";
|
|
1249
|
+
gas: bigint;
|
|
1250
|
+
input: `0x${string}`;
|
|
1251
|
+
toAddress: `0x${string}`;
|
|
1252
|
+
value: bigint;
|
|
1253
|
+
};
|
|
1254
|
+
}) | ({
|
|
1255
|
+
_tag: "selfDestruct";
|
|
1256
|
+
} & {
|
|
1257
|
+
selfDestruct: {
|
|
1258
|
+
address: `0x${string}`;
|
|
1259
|
+
balance: bigint;
|
|
1260
|
+
refundAddress: `0x${string}`;
|
|
1261
|
+
};
|
|
1262
|
+
}) | ({
|
|
1263
|
+
_tag: "reward";
|
|
1264
|
+
} & {
|
|
1265
|
+
reward: {
|
|
1266
|
+
author: `0x${string}`;
|
|
1267
|
+
type: "unknown" | "block" | "uncle";
|
|
1268
|
+
value: bigint;
|
|
1269
|
+
};
|
|
1270
|
+
});
|
|
1271
|
+
error?: string | undefined;
|
|
1272
|
+
output?: (({
|
|
1273
|
+
_tag: "callOutput";
|
|
1274
|
+
} & {
|
|
1275
|
+
callOutput: {
|
|
1276
|
+
gasUsed: bigint;
|
|
1277
|
+
output: `0x${string}`;
|
|
1278
|
+
};
|
|
1279
|
+
}) | ({
|
|
1280
|
+
_tag: "createOutput";
|
|
1281
|
+
} & {
|
|
1282
|
+
createOutput: {
|
|
1283
|
+
address: `0x${string}`;
|
|
1284
|
+
code: `0x${string}`;
|
|
1285
|
+
gasUsed: bigint;
|
|
1286
|
+
};
|
|
1287
|
+
})) | undefined;
|
|
1288
|
+
subtraces: number;
|
|
1289
|
+
traceAddress: readonly number[];
|
|
1290
|
+
}[], readonly {
|
|
1291
|
+
action?: (({
|
|
1292
|
+
$case: "create";
|
|
1293
|
+
} & {
|
|
1294
|
+
create: {
|
|
1295
|
+
fromAddress?: Address$1 | undefined;
|
|
1296
|
+
gas?: bigint | undefined;
|
|
1297
|
+
init?: Uint8Array | undefined;
|
|
1298
|
+
value?: U256$1 | undefined;
|
|
1299
|
+
creationMethod?: CreationMethod$1 | undefined;
|
|
1300
|
+
};
|
|
1301
|
+
}) | ({
|
|
1302
|
+
$case: "call";
|
|
1303
|
+
} & {
|
|
1304
|
+
call: {
|
|
1305
|
+
fromAddress?: Address$1 | undefined;
|
|
1306
|
+
type?: CallType$1 | undefined;
|
|
1307
|
+
gas?: bigint | undefined;
|
|
1308
|
+
input?: Uint8Array | undefined;
|
|
1309
|
+
toAddress?: Address$1 | undefined;
|
|
1310
|
+
value?: U256$1 | undefined;
|
|
1311
|
+
};
|
|
1312
|
+
}) | ({
|
|
1313
|
+
$case: "selfDestruct";
|
|
1314
|
+
} & {
|
|
1315
|
+
selfDestruct: {
|
|
1316
|
+
address?: Address$1 | undefined;
|
|
1317
|
+
balance?: U256$1 | undefined;
|
|
1318
|
+
refundAddress?: Address$1 | undefined;
|
|
1319
|
+
};
|
|
1320
|
+
}) | ({
|
|
1321
|
+
$case: "reward";
|
|
1322
|
+
} & {
|
|
1323
|
+
reward: {
|
|
1324
|
+
author?: Address$1 | undefined;
|
|
1325
|
+
type?: RewardType$1 | undefined;
|
|
1326
|
+
value?: U256$1 | undefined;
|
|
1327
|
+
};
|
|
1328
|
+
})) | undefined;
|
|
1329
|
+
error?: string | undefined;
|
|
1330
|
+
output?: (({
|
|
1331
|
+
$case: "callOutput";
|
|
1332
|
+
} & {
|
|
1333
|
+
callOutput: {
|
|
1334
|
+
gasUsed?: bigint | undefined;
|
|
1335
|
+
output?: Uint8Array | undefined;
|
|
1336
|
+
};
|
|
1337
|
+
}) | ({
|
|
1338
|
+
$case: "createOutput";
|
|
1339
|
+
} & {
|
|
1340
|
+
createOutput: {
|
|
1341
|
+
address?: Address$1 | undefined;
|
|
1342
|
+
code?: Uint8Array | undefined;
|
|
1343
|
+
gasUsed?: bigint | undefined;
|
|
1344
|
+
};
|
|
1345
|
+
})) | undefined;
|
|
1346
|
+
subtraces?: number | undefined;
|
|
1347
|
+
traceAddress?: readonly number[] | undefined;
|
|
1348
|
+
}[] | undefined>;
|
|
1349
|
+
}>;
|
|
1350
|
+
type TransactionTrace = CodecType<typeof TransactionTrace>;
|
|
1351
|
+
declare const Block: MessageCodec<{
|
|
1352
|
+
header: Codec<{
|
|
1353
|
+
blockNumber: bigint;
|
|
1354
|
+
blockHash?: `0x${string}` | undefined;
|
|
1355
|
+
parentBlockHash: `0x${string}`;
|
|
1356
|
+
unclesHash: `0x${string}`;
|
|
1357
|
+
miner: `0x${string}`;
|
|
1358
|
+
stateRoot: `0x${string}`;
|
|
1359
|
+
transactionsRoot: `0x${string}`;
|
|
1360
|
+
receiptsRoot: `0x${string}`;
|
|
1361
|
+
logsBloom: `0x${string}`;
|
|
1362
|
+
difficulty: bigint;
|
|
1363
|
+
gasLimit: bigint;
|
|
1364
|
+
gasUsed: bigint;
|
|
1365
|
+
timestamp: Date;
|
|
1366
|
+
extraData: `0x${string}`;
|
|
1367
|
+
mixHash?: `0x${string}` | undefined;
|
|
1368
|
+
nonce?: bigint | undefined;
|
|
1369
|
+
baseFeePerGas?: bigint | undefined;
|
|
1370
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
1371
|
+
totalDifficulty?: bigint | undefined;
|
|
1372
|
+
blobGasUsed?: bigint | undefined;
|
|
1373
|
+
excessBlobGas?: bigint | undefined;
|
|
1374
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1375
|
+
requestsHash?: `0x${string}` | undefined;
|
|
1376
|
+
}, {
|
|
1377
|
+
blockNumber?: bigint | undefined;
|
|
1378
|
+
blockHash?: B256$1 | undefined;
|
|
1379
|
+
parentBlockHash?: B256$1 | undefined;
|
|
1380
|
+
unclesHash?: B256$1 | undefined;
|
|
1381
|
+
miner?: Address$1 | undefined;
|
|
1382
|
+
stateRoot?: B256$1 | undefined;
|
|
1383
|
+
transactionsRoot?: B256$1 | undefined;
|
|
1384
|
+
receiptsRoot?: B256$1 | undefined;
|
|
1385
|
+
logsBloom?: {
|
|
1386
|
+
value?: Uint8Array | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
|
+
difficulty?: U256$1 | undefined;
|
|
1389
|
+
gasLimit?: U128$1 | undefined;
|
|
1390
|
+
gasUsed?: U128$1 | undefined;
|
|
1391
|
+
timestamp?: Date | undefined;
|
|
1392
|
+
extraData?: Uint8Array | undefined;
|
|
1393
|
+
mixHash?: B256$1 | undefined;
|
|
1394
|
+
nonce?: bigint | undefined;
|
|
1395
|
+
baseFeePerGas?: U128$1 | undefined;
|
|
1396
|
+
withdrawalsRoot?: B256$1 | undefined;
|
|
1397
|
+
totalDifficulty?: U256$1 | undefined;
|
|
1398
|
+
blobGasUsed?: U128$1 | undefined;
|
|
1399
|
+
excessBlobGas?: U128$1 | undefined;
|
|
1400
|
+
parentBeaconBlockRoot?: B256$1 | undefined;
|
|
1401
|
+
requestsHash?: B256$1 | undefined;
|
|
1402
|
+
} | undefined>;
|
|
1403
|
+
withdrawals: Codec<readonly {
|
|
1404
|
+
filterIds: readonly number[];
|
|
1405
|
+
withdrawalIndex: number;
|
|
1406
|
+
index: bigint;
|
|
1407
|
+
validatorIndex: number;
|
|
1408
|
+
address: `0x${string}`;
|
|
1409
|
+
amount: bigint;
|
|
1410
|
+
}[], readonly {
|
|
1411
|
+
filterIds?: readonly number[] | undefined;
|
|
1412
|
+
withdrawalIndex?: number | undefined;
|
|
1413
|
+
index?: bigint | undefined;
|
|
1414
|
+
validatorIndex?: number | undefined;
|
|
1415
|
+
address?: Address$1 | undefined;
|
|
1416
|
+
amount?: bigint | undefined;
|
|
1417
|
+
}[] | undefined>;
|
|
1418
|
+
transactions: Codec<readonly {
|
|
1419
|
+
filterIds: readonly number[];
|
|
1420
|
+
transactionIndex: number;
|
|
1421
|
+
transactionHash: `0x${string}`;
|
|
1422
|
+
nonce: bigint;
|
|
1423
|
+
from: `0x${string}`;
|
|
1424
|
+
to?: `0x${string}` | undefined;
|
|
1425
|
+
value: bigint;
|
|
1426
|
+
gasPrice?: bigint | undefined;
|
|
1427
|
+
gas: bigint;
|
|
1428
|
+
maxFeePerGas?: bigint | undefined;
|
|
1429
|
+
maxPriorityFeePerGas?: bigint | undefined;
|
|
1430
|
+
input: `0x${string}`;
|
|
1431
|
+
signature?: {
|
|
1432
|
+
r: bigint;
|
|
1433
|
+
s: bigint;
|
|
1434
|
+
v?: bigint | undefined;
|
|
1435
|
+
YParity?: boolean | undefined;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
chainId?: bigint | undefined;
|
|
1438
|
+
accessList: readonly {
|
|
1439
|
+
address: `0x${string}`;
|
|
1440
|
+
storageKeys: readonly `0x${string}`[];
|
|
1441
|
+
}[];
|
|
1442
|
+
transactionType: bigint;
|
|
1443
|
+
maxFeePerBlobGas?: bigint | undefined;
|
|
1444
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
|
1445
|
+
transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
1446
|
+
}[], readonly {
|
|
1447
|
+
filterIds?: readonly number[] | undefined;
|
|
1448
|
+
transactionIndex?: number | undefined;
|
|
1449
|
+
transactionHash?: B256$1 | undefined;
|
|
1450
|
+
nonce?: bigint | undefined;
|
|
1451
|
+
from?: Address$1 | undefined;
|
|
1452
|
+
to?: Address$1 | undefined;
|
|
1453
|
+
value?: U256$1 | undefined;
|
|
1454
|
+
gasPrice?: U128$1 | undefined;
|
|
1455
|
+
gas?: U128$1 | undefined;
|
|
1456
|
+
maxFeePerGas?: U128$1 | undefined;
|
|
1457
|
+
maxPriorityFeePerGas?: U128$1 | undefined;
|
|
1458
|
+
input?: Uint8Array | undefined;
|
|
1459
|
+
signature?: {
|
|
1460
|
+
r?: U256$1 | undefined;
|
|
1461
|
+
s?: U256$1 | undefined;
|
|
1462
|
+
v?: U256$1 | undefined;
|
|
1463
|
+
YParity?: boolean | undefined;
|
|
1464
|
+
} | undefined;
|
|
1465
|
+
chainId?: bigint | undefined;
|
|
1466
|
+
accessList?: readonly {
|
|
1467
|
+
address?: Address$1 | undefined;
|
|
1468
|
+
storageKeys?: readonly B256$1[] | undefined;
|
|
1469
|
+
}[] | undefined;
|
|
1470
|
+
transactionType?: bigint | undefined;
|
|
1471
|
+
maxFeePerBlobGas?: U128$1 | undefined;
|
|
1472
|
+
blobVersionedHashes?: readonly B256$1[] | undefined;
|
|
1473
|
+
transactionStatus?: TransactionStatus$1 | undefined;
|
|
1474
|
+
}[] | undefined>;
|
|
1475
|
+
receipts: Codec<readonly {
|
|
1476
|
+
filterIds: readonly number[];
|
|
1477
|
+
transactionIndex: number;
|
|
1478
|
+
transactionHash: `0x${string}`;
|
|
1479
|
+
cumulativeGasUsed: bigint;
|
|
1480
|
+
gasUsed: bigint;
|
|
1481
|
+
effectiveGasPrice: bigint;
|
|
1482
|
+
from: `0x${string}`;
|
|
1483
|
+
to?: `0x${string}` | undefined;
|
|
1484
|
+
contractAddress?: `0x${string}` | undefined;
|
|
1485
|
+
logsBloom: `0x${string}`;
|
|
1486
|
+
transactionType: bigint;
|
|
1487
|
+
blobGasUsed?: bigint | undefined;
|
|
1488
|
+
blobGasPrice?: bigint | undefined;
|
|
1489
|
+
transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
1490
|
+
}[], readonly {
|
|
1491
|
+
filterIds?: readonly number[] | undefined;
|
|
1492
|
+
transactionIndex?: number | undefined;
|
|
1493
|
+
transactionHash?: B256$1 | undefined;
|
|
1494
|
+
cumulativeGasUsed?: U128$1 | undefined;
|
|
1495
|
+
gasUsed?: U128$1 | undefined;
|
|
1496
|
+
effectiveGasPrice?: U128$1 | undefined;
|
|
1497
|
+
from?: Address$1 | undefined;
|
|
1498
|
+
to?: Address$1 | undefined;
|
|
1499
|
+
contractAddress?: Address$1 | undefined;
|
|
1500
|
+
logsBloom?: {
|
|
1501
|
+
value?: Uint8Array | undefined;
|
|
1502
|
+
} | undefined;
|
|
1503
|
+
transactionType?: bigint | undefined;
|
|
1504
|
+
blobGasUsed?: U128$1 | undefined;
|
|
1505
|
+
blobGasPrice?: U128$1 | undefined;
|
|
1506
|
+
transactionStatus?: TransactionStatus$1 | undefined;
|
|
1507
|
+
}[] | undefined>;
|
|
1508
|
+
logs: Codec<readonly {
|
|
1509
|
+
filterIds: readonly number[];
|
|
1510
|
+
address: `0x${string}`;
|
|
1511
|
+
topics: readonly `0x${string}`[];
|
|
1512
|
+
data: `0x${string}`;
|
|
1513
|
+
logIndex: number;
|
|
1514
|
+
logIndexInTransaction: number;
|
|
1515
|
+
transactionIndex: number;
|
|
1516
|
+
transactionHash: `0x${string}`;
|
|
1517
|
+
transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
1518
|
+
}[], readonly {
|
|
1519
|
+
filterIds?: readonly number[] | undefined;
|
|
1520
|
+
address?: Address$1 | undefined;
|
|
1521
|
+
topics?: readonly B256$1[] | undefined;
|
|
1522
|
+
data?: Uint8Array | undefined;
|
|
1523
|
+
logIndex?: number | undefined;
|
|
1524
|
+
logIndexInTransaction?: number | undefined;
|
|
1525
|
+
transactionIndex?: number | undefined;
|
|
1526
|
+
transactionHash?: B256$1 | undefined;
|
|
1527
|
+
transactionStatus?: TransactionStatus$1 | undefined;
|
|
1528
|
+
}[] | undefined>;
|
|
1529
|
+
traces: Codec<readonly {
|
|
1530
|
+
filterIds: readonly number[];
|
|
1531
|
+
transactionIndex: number;
|
|
1532
|
+
transactionHash: `0x${string}`;
|
|
1533
|
+
traces: readonly {
|
|
1534
|
+
action: ({
|
|
1535
|
+
_tag: "create";
|
|
1536
|
+
} & {
|
|
1537
|
+
create: {
|
|
1538
|
+
fromAddress: `0x${string}`;
|
|
1539
|
+
gas: bigint;
|
|
1540
|
+
init: `0x${string}`;
|
|
1541
|
+
value: bigint;
|
|
1542
|
+
creationMethod: "unknown" | "create" | "create2" | "eofCreate";
|
|
1543
|
+
};
|
|
1544
|
+
}) | ({
|
|
1545
|
+
_tag: "call";
|
|
1546
|
+
} & {
|
|
1547
|
+
call: {
|
|
1548
|
+
fromAddress: `0x${string}`;
|
|
1549
|
+
type: "unknown" | "call" | "delegateCall" | "callCode" | "staticCall" | "authCall";
|
|
1550
|
+
gas: bigint;
|
|
1551
|
+
input: `0x${string}`;
|
|
1552
|
+
toAddress: `0x${string}`;
|
|
1553
|
+
value: bigint;
|
|
1554
|
+
};
|
|
1555
|
+
}) | ({
|
|
1556
|
+
_tag: "selfDestruct";
|
|
1557
|
+
} & {
|
|
1558
|
+
selfDestruct: {
|
|
1559
|
+
address: `0x${string}`;
|
|
1560
|
+
balance: bigint;
|
|
1561
|
+
refundAddress: `0x${string}`;
|
|
1562
|
+
};
|
|
1563
|
+
}) | ({
|
|
1564
|
+
_tag: "reward";
|
|
1565
|
+
} & {
|
|
1566
|
+
reward: {
|
|
1567
|
+
author: `0x${string}`;
|
|
1568
|
+
type: "unknown" | "block" | "uncle";
|
|
1569
|
+
value: bigint;
|
|
1570
|
+
};
|
|
1571
|
+
});
|
|
1572
|
+
error?: string | undefined;
|
|
1573
|
+
output?: (({
|
|
1574
|
+
_tag: "callOutput";
|
|
1575
|
+
} & {
|
|
1576
|
+
callOutput: {
|
|
1577
|
+
gasUsed: bigint;
|
|
1578
|
+
output: `0x${string}`;
|
|
1579
|
+
};
|
|
1580
|
+
}) | ({
|
|
1581
|
+
_tag: "createOutput";
|
|
1582
|
+
} & {
|
|
1583
|
+
createOutput: {
|
|
1584
|
+
address: `0x${string}`;
|
|
1585
|
+
code: `0x${string}`;
|
|
1586
|
+
gasUsed: bigint;
|
|
1587
|
+
};
|
|
1588
|
+
})) | undefined;
|
|
1589
|
+
subtraces: number;
|
|
1590
|
+
traceAddress: readonly number[];
|
|
1591
|
+
}[];
|
|
1592
|
+
}[], readonly {
|
|
1593
|
+
filterIds?: readonly number[] | undefined;
|
|
1594
|
+
transactionIndex?: number | undefined;
|
|
1595
|
+
transactionHash?: B256$1 | undefined;
|
|
1596
|
+
traces?: readonly {
|
|
1597
|
+
action?: (({
|
|
1598
|
+
$case: "create";
|
|
1599
|
+
} & {
|
|
1600
|
+
create: {
|
|
1601
|
+
fromAddress?: Address$1 | undefined;
|
|
1602
|
+
gas?: bigint | undefined;
|
|
1603
|
+
init?: Uint8Array | undefined;
|
|
1604
|
+
value?: U256$1 | undefined;
|
|
1605
|
+
creationMethod?: CreationMethod$1 | undefined;
|
|
1606
|
+
};
|
|
1607
|
+
}) | ({
|
|
1608
|
+
$case: "call";
|
|
1609
|
+
} & {
|
|
1610
|
+
call: {
|
|
1611
|
+
fromAddress?: Address$1 | undefined;
|
|
1612
|
+
type?: CallType$1 | undefined;
|
|
1613
|
+
gas?: bigint | undefined;
|
|
1614
|
+
input?: Uint8Array | undefined;
|
|
1615
|
+
toAddress?: Address$1 | undefined;
|
|
1616
|
+
value?: U256$1 | undefined;
|
|
1617
|
+
};
|
|
1618
|
+
}) | ({
|
|
1619
|
+
$case: "selfDestruct";
|
|
1620
|
+
} & {
|
|
1621
|
+
selfDestruct: {
|
|
1622
|
+
address?: Address$1 | undefined;
|
|
1623
|
+
balance?: U256$1 | undefined;
|
|
1624
|
+
refundAddress?: Address$1 | undefined;
|
|
1625
|
+
};
|
|
1626
|
+
}) | ({
|
|
1627
|
+
$case: "reward";
|
|
1628
|
+
} & {
|
|
1629
|
+
reward: {
|
|
1630
|
+
author?: Address$1 | undefined;
|
|
1631
|
+
type?: RewardType$1 | undefined;
|
|
1632
|
+
value?: U256$1 | undefined;
|
|
1633
|
+
};
|
|
1634
|
+
})) | undefined;
|
|
1635
|
+
error?: string | undefined;
|
|
1636
|
+
output?: (({
|
|
1637
|
+
$case: "callOutput";
|
|
1638
|
+
} & {
|
|
1639
|
+
callOutput: {
|
|
1640
|
+
gasUsed?: bigint | undefined;
|
|
1641
|
+
output?: Uint8Array | undefined;
|
|
1642
|
+
};
|
|
1643
|
+
}) | ({
|
|
1644
|
+
$case: "createOutput";
|
|
1645
|
+
} & {
|
|
1646
|
+
createOutput: {
|
|
1647
|
+
address?: Address$1 | undefined;
|
|
1648
|
+
code?: Uint8Array | undefined;
|
|
1649
|
+
gasUsed?: bigint | undefined;
|
|
1650
|
+
};
|
|
1651
|
+
})) | undefined;
|
|
1652
|
+
subtraces?: number | undefined;
|
|
1653
|
+
traceAddress?: readonly number[] | undefined;
|
|
1654
|
+
}[] | undefined;
|
|
1655
|
+
}[] | undefined>;
|
|
1656
|
+
}>;
|
|
1657
|
+
type Block = CodecType<typeof Block>;
|
|
1658
|
+
declare const BlockFromBytes: Codec<Block, Uint8Array>;
|
|
1855
1659
|
|
|
1856
|
-
declare const EvmStream: StreamConfig<{
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1660
|
+
declare const EvmStream: StreamConfig<Readonly<{
|
|
1661
|
+
header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
1662
|
+
withdrawals?: readonly {
|
|
1663
|
+
id?: number | undefined;
|
|
1664
|
+
validatorIndex?: number | undefined;
|
|
1665
|
+
address?: `0x${string}` | undefined;
|
|
1862
1666
|
}[] | undefined;
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1667
|
+
transactions?: readonly {
|
|
1668
|
+
id?: number | undefined;
|
|
1669
|
+
from?: `0x${string}` | undefined;
|
|
1670
|
+
to?: `0x${string}` | undefined;
|
|
1671
|
+
create?: boolean | undefined;
|
|
1672
|
+
transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1673
|
+
includeReceipt?: boolean | undefined;
|
|
1674
|
+
includeLogs?: boolean | undefined;
|
|
1675
|
+
includeTransactionTrace?: boolean | undefined;
|
|
1871
1676
|
}[] | undefined;
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1677
|
+
logs?: readonly {
|
|
1678
|
+
id?: number | undefined;
|
|
1679
|
+
address?: `0x${string}` | undefined;
|
|
1680
|
+
topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
1681
|
+
strict?: boolean | undefined;
|
|
1682
|
+
transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1683
|
+
includeTransaction?: boolean | undefined;
|
|
1684
|
+
includeReceipt?: boolean | undefined;
|
|
1685
|
+
includeTransactionTrace?: boolean | undefined;
|
|
1880
1686
|
}[] | undefined;
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1687
|
+
}>, {
|
|
1688
|
+
header: {
|
|
1689
|
+
blockNumber: bigint;
|
|
1690
|
+
blockHash?: `0x${string}` | undefined;
|
|
1691
|
+
parentBlockHash: `0x${string}`;
|
|
1692
|
+
unclesHash: `0x${string}`;
|
|
1693
|
+
miner: `0x${string}`;
|
|
1694
|
+
stateRoot: `0x${string}`;
|
|
1695
|
+
transactionsRoot: `0x${string}`;
|
|
1696
|
+
receiptsRoot: `0x${string}`;
|
|
1697
|
+
logsBloom: `0x${string}`;
|
|
1698
|
+
difficulty: bigint;
|
|
1699
|
+
gasLimit: bigint;
|
|
1700
|
+
gasUsed: bigint;
|
|
1701
|
+
timestamp: Date;
|
|
1702
|
+
extraData: `0x${string}`;
|
|
1703
|
+
mixHash?: `0x${string}` | undefined;
|
|
1704
|
+
nonce?: bigint | undefined;
|
|
1705
|
+
baseFeePerGas?: bigint | undefined;
|
|
1706
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
1707
|
+
totalDifficulty?: bigint | undefined;
|
|
1708
|
+
blobGasUsed?: bigint | undefined;
|
|
1709
|
+
excessBlobGas?: bigint | undefined;
|
|
1710
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1711
|
+
requestsHash?: `0x${string}` | undefined;
|
|
1905
1712
|
};
|
|
1906
|
-
|
|
1907
|
-
readonly
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1713
|
+
withdrawals: readonly {
|
|
1714
|
+
filterIds: readonly number[];
|
|
1715
|
+
withdrawalIndex: number;
|
|
1716
|
+
index: bigint;
|
|
1717
|
+
validatorIndex: number;
|
|
1718
|
+
address: `0x${string}`;
|
|
1719
|
+
amount: bigint;
|
|
1913
1720
|
}[];
|
|
1914
|
-
|
|
1915
|
-
readonly
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
readonly YParity?: boolean | undefined;
|
|
1721
|
+
transactions: readonly {
|
|
1722
|
+
filterIds: readonly number[];
|
|
1723
|
+
transactionIndex: number;
|
|
1724
|
+
transactionHash: `0x${string}`;
|
|
1725
|
+
nonce: bigint;
|
|
1726
|
+
from: `0x${string}`;
|
|
1727
|
+
to?: `0x${string}` | undefined;
|
|
1728
|
+
value: bigint;
|
|
1729
|
+
gasPrice?: bigint | undefined;
|
|
1730
|
+
gas: bigint;
|
|
1731
|
+
maxFeePerGas?: bigint | undefined;
|
|
1732
|
+
maxPriorityFeePerGas?: bigint | undefined;
|
|
1733
|
+
input: `0x${string}`;
|
|
1734
|
+
signature?: {
|
|
1735
|
+
r: bigint;
|
|
1736
|
+
s: bigint;
|
|
1737
|
+
v?: bigint | undefined;
|
|
1738
|
+
YParity?: boolean | undefined;
|
|
1933
1739
|
} | undefined;
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1740
|
+
chainId?: bigint | undefined;
|
|
1741
|
+
accessList: readonly {
|
|
1742
|
+
address: `0x${string}`;
|
|
1743
|
+
storageKeys: readonly `0x${string}`[];
|
|
1938
1744
|
}[];
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1745
|
+
transactionType: bigint;
|
|
1746
|
+
maxFeePerBlobGas?: bigint | undefined;
|
|
1747
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
|
1748
|
+
transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
1749
|
+
}[];
|
|
1750
|
+
receipts: readonly {
|
|
1751
|
+
filterIds: readonly number[];
|
|
1752
|
+
transactionIndex: number;
|
|
1753
|
+
transactionHash: `0x${string}`;
|
|
1754
|
+
cumulativeGasUsed: bigint;
|
|
1755
|
+
gasUsed: bigint;
|
|
1756
|
+
effectiveGasPrice: bigint;
|
|
1757
|
+
from: `0x${string}`;
|
|
1758
|
+
to?: `0x${string}` | undefined;
|
|
1759
|
+
contractAddress?: `0x${string}` | undefined;
|
|
1760
|
+
logsBloom: `0x${string}`;
|
|
1761
|
+
transactionType: bigint;
|
|
1762
|
+
blobGasUsed?: bigint | undefined;
|
|
1763
|
+
blobGasPrice?: bigint | undefined;
|
|
1764
|
+
transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
1942
1765
|
}[];
|
|
1943
|
-
|
|
1944
|
-
readonly
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1766
|
+
logs: readonly {
|
|
1767
|
+
filterIds: readonly number[];
|
|
1768
|
+
address: `0x${string}`;
|
|
1769
|
+
topics: readonly `0x${string}`[];
|
|
1770
|
+
data: `0x${string}`;
|
|
1771
|
+
logIndex: number;
|
|
1772
|
+
logIndexInTransaction: number;
|
|
1773
|
+
transactionIndex: number;
|
|
1774
|
+
transactionHash: `0x${string}`;
|
|
1775
|
+
transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
1953
1776
|
}[];
|
|
1954
|
-
|
|
1955
|
-
readonly
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
readonly
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1777
|
+
traces: readonly {
|
|
1778
|
+
filterIds: readonly number[];
|
|
1779
|
+
transactionIndex: number;
|
|
1780
|
+
transactionHash: `0x${string}`;
|
|
1781
|
+
traces: readonly {
|
|
1782
|
+
action: ({
|
|
1783
|
+
_tag: "create";
|
|
1784
|
+
} & {
|
|
1785
|
+
create: {
|
|
1786
|
+
fromAddress: `0x${string}`;
|
|
1787
|
+
gas: bigint;
|
|
1788
|
+
init: `0x${string}`;
|
|
1789
|
+
value: bigint;
|
|
1790
|
+
creationMethod: "unknown" | "create" | "create2" | "eofCreate";
|
|
1791
|
+
};
|
|
1792
|
+
}) | ({
|
|
1793
|
+
_tag: "call";
|
|
1794
|
+
} & {
|
|
1795
|
+
call: {
|
|
1796
|
+
fromAddress: `0x${string}`;
|
|
1797
|
+
type: "unknown" | "call" | "delegateCall" | "callCode" | "staticCall" | "authCall";
|
|
1798
|
+
gas: bigint;
|
|
1799
|
+
input: `0x${string}`;
|
|
1800
|
+
toAddress: `0x${string}`;
|
|
1801
|
+
value: bigint;
|
|
1802
|
+
};
|
|
1803
|
+
}) | ({
|
|
1804
|
+
_tag: "selfDestruct";
|
|
1805
|
+
} & {
|
|
1806
|
+
selfDestruct: {
|
|
1807
|
+
address: `0x${string}`;
|
|
1808
|
+
balance: bigint;
|
|
1809
|
+
refundAddress: `0x${string}`;
|
|
1810
|
+
};
|
|
1811
|
+
}) | ({
|
|
1812
|
+
_tag: "reward";
|
|
1813
|
+
} & {
|
|
1814
|
+
reward: {
|
|
1815
|
+
author: `0x${string}`;
|
|
1816
|
+
type: "unknown" | "block" | "uncle";
|
|
1817
|
+
value: bigint;
|
|
1818
|
+
};
|
|
1819
|
+
});
|
|
1820
|
+
error?: string | undefined;
|
|
1821
|
+
output?: (({
|
|
1822
|
+
_tag: "callOutput";
|
|
1823
|
+
} & {
|
|
1824
|
+
callOutput: {
|
|
1825
|
+
gasUsed: bigint;
|
|
1826
|
+
output: `0x${string}`;
|
|
1827
|
+
};
|
|
1828
|
+
}) | ({
|
|
1829
|
+
_tag: "createOutput";
|
|
1830
|
+
} & {
|
|
1831
|
+
createOutput: {
|
|
1832
|
+
address: `0x${string}`;
|
|
1833
|
+
code: `0x${string}`;
|
|
1834
|
+
gasUsed: bigint;
|
|
1835
|
+
};
|
|
1836
|
+
})) | undefined;
|
|
1837
|
+
subtraces: number;
|
|
1838
|
+
traceAddress: readonly number[];
|
|
1839
|
+
}[];
|
|
1969
1840
|
}[];
|
|
1970
1841
|
}>;
|
|
1971
1842
|
|
|
1972
|
-
export { AccessListItem, Address, B256,
|
|
1843
|
+
export { AccessListItem, Address, B256, Block, BlockFromBytes, BlockHeader, Bloom, CallAction, CallOutput, CallType, CreateAction, CreateOutput, CreationMethod, EvmStream, Filter, FilterFromBytes, HeaderFilter, Log, LogFilter, RewardAction, RewardType, SelfDestructAction, Signature, Topic, Trace, Transaction, TransactionFilter, TransactionReceipt, TransactionStatus, TransactionStatusFilter, TransactionTrace, U128, U256, Withdrawal, WithdrawalFilter, mergeFilter, index as proto };
|