@apibara/evm 2.1.0-beta.2 → 2.1.0-beta.20
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 +1393 -186
- package/dist/index.d.cts +835 -2
- package/dist/index.d.mts +835 -2
- package/dist/index.d.ts +835 -2
- package/dist/index.mjs +1383 -187
- package/package.json +2 -2
- package/src/block.ts +186 -0
- package/src/common.ts +6 -0
- package/src/filter.ts +4 -0
- package/src/helpers.ts +8 -0
- package/src/proto/data.ts +1284 -2
- package/src/proto/filter.ts +46 -2
package/dist/index.d.cts
CHANGED
|
@@ -102,6 +102,34 @@ declare enum TransactionStatus$1 {
|
|
|
102
102
|
}
|
|
103
103
|
declare function transactionStatusFromJSON(object: any): TransactionStatus$1;
|
|
104
104
|
declare function transactionStatusToJSON(object: TransactionStatus$1): string;
|
|
105
|
+
declare enum CallType$1 {
|
|
106
|
+
UNSPECIFIED = 0,
|
|
107
|
+
CALL = 1,
|
|
108
|
+
CALL_CODE = 2,
|
|
109
|
+
DELEGATE_CALL = 3,
|
|
110
|
+
STATIC_CALL = 4,
|
|
111
|
+
AUTH_CALL = 5,
|
|
112
|
+
UNRECOGNIZED = -1
|
|
113
|
+
}
|
|
114
|
+
declare function callTypeFromJSON(object: any): CallType$1;
|
|
115
|
+
declare function callTypeToJSON(object: CallType$1): string;
|
|
116
|
+
declare enum CreationMethod$1 {
|
|
117
|
+
UNSPECIFIED = 0,
|
|
118
|
+
CREATE = 1,
|
|
119
|
+
CREATE2 = 2,
|
|
120
|
+
EOF_CREATE = 3,
|
|
121
|
+
UNRECOGNIZED = -1
|
|
122
|
+
}
|
|
123
|
+
declare function creationMethodFromJSON(object: any): CreationMethod$1;
|
|
124
|
+
declare function creationMethodToJSON(object: CreationMethod$1): string;
|
|
125
|
+
declare enum RewardType$1 {
|
|
126
|
+
UNSPECIFIED = 0,
|
|
127
|
+
BLOCK = 1,
|
|
128
|
+
UNCLE = 2,
|
|
129
|
+
UNRECOGNIZED = -1
|
|
130
|
+
}
|
|
131
|
+
declare function rewardTypeFromJSON(object: any): RewardType$1;
|
|
132
|
+
declare function rewardTypeToJSON(object: RewardType$1): string;
|
|
105
133
|
/** Requested data, grouped by block. */
|
|
106
134
|
interface Block$1 {
|
|
107
135
|
/** The header. */
|
|
@@ -114,6 +142,8 @@ interface Block$1 {
|
|
|
114
142
|
readonly receipts?: readonly TransactionReceipt$1[] | undefined;
|
|
115
143
|
/** List of logs. */
|
|
116
144
|
readonly logs?: readonly Log$1[] | undefined;
|
|
145
|
+
/** List of transaction traces. */
|
|
146
|
+
readonly traces?: readonly TransactionTrace$1[] | undefined;
|
|
117
147
|
}
|
|
118
148
|
declare const Block$1: {
|
|
119
149
|
encode(message: Block$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -343,6 +373,163 @@ declare const AccessListItem$1: {
|
|
|
343
373
|
create(base?: DeepPartial$1<AccessListItem$1>): AccessListItem$1;
|
|
344
374
|
fromPartial(object: DeepPartial$1<AccessListItem$1>): AccessListItem$1;
|
|
345
375
|
};
|
|
376
|
+
interface TransactionTrace$1 {
|
|
377
|
+
readonly filterIds?: readonly number[] | undefined;
|
|
378
|
+
/** Index of the transaction in the block. */
|
|
379
|
+
readonly transactionIndex?: number | undefined;
|
|
380
|
+
/** Transaction hash. */
|
|
381
|
+
readonly transactionHash?: B256$1 | undefined;
|
|
382
|
+
/** Traces. */
|
|
383
|
+
readonly traces?: readonly Trace$1[] | undefined;
|
|
384
|
+
}
|
|
385
|
+
declare const TransactionTrace$1: {
|
|
386
|
+
encode(message: TransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
387
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TransactionTrace$1;
|
|
388
|
+
fromJSON(object: any): TransactionTrace$1;
|
|
389
|
+
toJSON(message: TransactionTrace$1): unknown;
|
|
390
|
+
create(base?: DeepPartial$1<TransactionTrace$1>): TransactionTrace$1;
|
|
391
|
+
fromPartial(object: DeepPartial$1<TransactionTrace$1>): TransactionTrace$1;
|
|
392
|
+
};
|
|
393
|
+
interface Trace$1 {
|
|
394
|
+
readonly action?: {
|
|
395
|
+
readonly $case: "call";
|
|
396
|
+
readonly call: CallAction$1;
|
|
397
|
+
} | {
|
|
398
|
+
readonly $case: "create";
|
|
399
|
+
readonly create: CreateAction$1;
|
|
400
|
+
} | {
|
|
401
|
+
readonly $case: "selfDestruct";
|
|
402
|
+
readonly selfDestruct: SelfDestructAction$1;
|
|
403
|
+
} | {
|
|
404
|
+
readonly $case: "reward";
|
|
405
|
+
readonly reward: RewardAction$1;
|
|
406
|
+
} | undefined;
|
|
407
|
+
/** Error message if the transaction failed. */
|
|
408
|
+
readonly error?: string | undefined;
|
|
409
|
+
readonly output?: {
|
|
410
|
+
readonly $case: "callOutput";
|
|
411
|
+
readonly callOutput: CallOutput$1;
|
|
412
|
+
} | {
|
|
413
|
+
readonly $case: "createOutput";
|
|
414
|
+
readonly createOutput: CreateOutput$1;
|
|
415
|
+
} | undefined;
|
|
416
|
+
/** Number of sub traces. */
|
|
417
|
+
readonly subtraces?: number | undefined;
|
|
418
|
+
/** The identifier of this trace in the trace tree. */
|
|
419
|
+
readonly traceAddress?: readonly number[] | undefined;
|
|
420
|
+
}
|
|
421
|
+
declare const Trace$1: {
|
|
422
|
+
encode(message: Trace$1, writer?: _m0.Writer): _m0.Writer;
|
|
423
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Trace$1;
|
|
424
|
+
fromJSON(object: any): Trace$1;
|
|
425
|
+
toJSON(message: Trace$1): unknown;
|
|
426
|
+
create(base?: DeepPartial$1<Trace$1>): Trace$1;
|
|
427
|
+
fromPartial(object: DeepPartial$1<Trace$1>): Trace$1;
|
|
428
|
+
};
|
|
429
|
+
interface CallAction$1 {
|
|
430
|
+
/** Address of the sending account. */
|
|
431
|
+
readonly fromAddress?: Address$1 | undefined;
|
|
432
|
+
/** Call type. */
|
|
433
|
+
readonly type?: CallType$1 | undefined;
|
|
434
|
+
/** The gas available to execute the call. */
|
|
435
|
+
readonly gas?: bigint | undefined;
|
|
436
|
+
/** Input data provided by the call. */
|
|
437
|
+
readonly input?: Uint8Array | undefined;
|
|
438
|
+
/** Target of the destination address. */
|
|
439
|
+
readonly toAddress?: Address$1 | undefined;
|
|
440
|
+
/** Value transferred to the destination account. */
|
|
441
|
+
readonly value?: U256$1 | undefined;
|
|
442
|
+
}
|
|
443
|
+
declare const CallAction$1: {
|
|
444
|
+
encode(message: CallAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
445
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CallAction$1;
|
|
446
|
+
fromJSON(object: any): CallAction$1;
|
|
447
|
+
toJSON(message: CallAction$1): unknown;
|
|
448
|
+
create(base?: DeepPartial$1<CallAction$1>): CallAction$1;
|
|
449
|
+
fromPartial(object: DeepPartial$1<CallAction$1>): CallAction$1;
|
|
450
|
+
};
|
|
451
|
+
interface CreateAction$1 {
|
|
452
|
+
/** Address of the sending account. */
|
|
453
|
+
readonly fromAddress?: Address$1 | undefined;
|
|
454
|
+
/** The gas available to execute the call. */
|
|
455
|
+
readonly gas?: bigint | undefined;
|
|
456
|
+
/** Input data provided by the call. */
|
|
457
|
+
readonly init?: Uint8Array | undefined;
|
|
458
|
+
/** Value transferred to the ne account. */
|
|
459
|
+
readonly value?: U256$1 | undefined;
|
|
460
|
+
/** Contract creation method. */
|
|
461
|
+
readonly creationMethod?: CreationMethod$1 | undefined;
|
|
462
|
+
}
|
|
463
|
+
declare const CreateAction$1: {
|
|
464
|
+
encode(message: CreateAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
465
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreateAction$1;
|
|
466
|
+
fromJSON(object: any): CreateAction$1;
|
|
467
|
+
toJSON(message: CreateAction$1): unknown;
|
|
468
|
+
create(base?: DeepPartial$1<CreateAction$1>): CreateAction$1;
|
|
469
|
+
fromPartial(object: DeepPartial$1<CreateAction$1>): CreateAction$1;
|
|
470
|
+
};
|
|
471
|
+
interface SelfDestructAction$1 {
|
|
472
|
+
/** The destroyed address. */
|
|
473
|
+
readonly address?: Address$1 | undefined;
|
|
474
|
+
/** Balance of the destroyed account before destruct. */
|
|
475
|
+
readonly balance?: U256$1 | undefined;
|
|
476
|
+
/** The heir address. */
|
|
477
|
+
readonly refundAddress?: Address$1 | undefined;
|
|
478
|
+
}
|
|
479
|
+
declare const SelfDestructAction$1: {
|
|
480
|
+
encode(message: SelfDestructAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
481
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SelfDestructAction$1;
|
|
482
|
+
fromJSON(object: any): SelfDestructAction$1;
|
|
483
|
+
toJSON(message: SelfDestructAction$1): unknown;
|
|
484
|
+
create(base?: DeepPartial$1<SelfDestructAction$1>): SelfDestructAction$1;
|
|
485
|
+
fromPartial(object: DeepPartial$1<SelfDestructAction$1>): SelfDestructAction$1;
|
|
486
|
+
};
|
|
487
|
+
interface RewardAction$1 {
|
|
488
|
+
/** The author's address. */
|
|
489
|
+
readonly author?: Address$1 | undefined;
|
|
490
|
+
/** Reward type. */
|
|
491
|
+
readonly type?: RewardType$1 | undefined;
|
|
492
|
+
/** The reward's value. */
|
|
493
|
+
readonly value?: U256$1 | undefined;
|
|
494
|
+
}
|
|
495
|
+
declare const RewardAction$1: {
|
|
496
|
+
encode(message: RewardAction$1, writer?: _m0.Writer): _m0.Writer;
|
|
497
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RewardAction$1;
|
|
498
|
+
fromJSON(object: any): RewardAction$1;
|
|
499
|
+
toJSON(message: RewardAction$1): unknown;
|
|
500
|
+
create(base?: DeepPartial$1<RewardAction$1>): RewardAction$1;
|
|
501
|
+
fromPartial(object: DeepPartial$1<RewardAction$1>): RewardAction$1;
|
|
502
|
+
};
|
|
503
|
+
interface CallOutput$1 {
|
|
504
|
+
/** Gas used. */
|
|
505
|
+
readonly gasUsed?: bigint | undefined;
|
|
506
|
+
/** Output data. */
|
|
507
|
+
readonly output?: Uint8Array | undefined;
|
|
508
|
+
}
|
|
509
|
+
declare const CallOutput$1: {
|
|
510
|
+
encode(message: CallOutput$1, writer?: _m0.Writer): _m0.Writer;
|
|
511
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CallOutput$1;
|
|
512
|
+
fromJSON(object: any): CallOutput$1;
|
|
513
|
+
toJSON(message: CallOutput$1): unknown;
|
|
514
|
+
create(base?: DeepPartial$1<CallOutput$1>): CallOutput$1;
|
|
515
|
+
fromPartial(object: DeepPartial$1<CallOutput$1>): CallOutput$1;
|
|
516
|
+
};
|
|
517
|
+
interface CreateOutput$1 {
|
|
518
|
+
/** Contract address. */
|
|
519
|
+
readonly address?: Address$1 | undefined;
|
|
520
|
+
/** Code */
|
|
521
|
+
readonly code?: Uint8Array | undefined;
|
|
522
|
+
/** Gas used. */
|
|
523
|
+
readonly gasUsed?: bigint | undefined;
|
|
524
|
+
}
|
|
525
|
+
declare const CreateOutput$1: {
|
|
526
|
+
encode(message: CreateOutput$1, writer?: _m0.Writer): _m0.Writer;
|
|
527
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreateOutput$1;
|
|
528
|
+
fromJSON(object: any): CreateOutput$1;
|
|
529
|
+
toJSON(message: CreateOutput$1): unknown;
|
|
530
|
+
create(base?: DeepPartial$1<CreateOutput$1>): CreateOutput$1;
|
|
531
|
+
fromPartial(object: DeepPartial$1<CreateOutput$1>): CreateOutput$1;
|
|
532
|
+
};
|
|
346
533
|
type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
347
534
|
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
535
|
readonly $case: string;
|
|
@@ -354,10 +541,16 @@ type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<inf
|
|
|
354
541
|
[K in keyof T]?: DeepPartial$1<T[K]>;
|
|
355
542
|
} : Partial<T>;
|
|
356
543
|
|
|
544
|
+
declare const data_callTypeFromJSON: typeof callTypeFromJSON;
|
|
545
|
+
declare const data_callTypeToJSON: typeof callTypeToJSON;
|
|
546
|
+
declare const data_creationMethodFromJSON: typeof creationMethodFromJSON;
|
|
547
|
+
declare const data_creationMethodToJSON: typeof creationMethodToJSON;
|
|
548
|
+
declare const data_rewardTypeFromJSON: typeof rewardTypeFromJSON;
|
|
549
|
+
declare const data_rewardTypeToJSON: typeof rewardTypeToJSON;
|
|
357
550
|
declare const data_transactionStatusFromJSON: typeof transactionStatusFromJSON;
|
|
358
551
|
declare const data_transactionStatusToJSON: typeof transactionStatusToJSON;
|
|
359
552
|
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 };
|
|
553
|
+
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
554
|
}
|
|
362
555
|
|
|
363
556
|
declare const protobufPackage = "evm.v2";
|
|
@@ -431,6 +624,8 @@ interface TransactionFilter$1 {
|
|
|
431
624
|
readonly includeReceipt?: boolean | undefined;
|
|
432
625
|
/** Flag to request the transaction's logs. Defaults to `false`. */
|
|
433
626
|
readonly includeLogs?: boolean | undefined;
|
|
627
|
+
/** Flag to request the transaction's trace. Defaults to `false`. */
|
|
628
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
434
629
|
}
|
|
435
630
|
declare const TransactionFilter$1: {
|
|
436
631
|
encode(message: TransactionFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -468,6 +663,8 @@ interface LogFilter$1 {
|
|
|
468
663
|
* Defaults to false.
|
|
469
664
|
*/
|
|
470
665
|
readonly includeSiblings?: boolean | undefined;
|
|
666
|
+
/** Flag to request the log's trace. Defaults to `false`. */
|
|
667
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
471
668
|
}
|
|
472
669
|
declare const LogFilter$1: {
|
|
473
670
|
encode(message: LogFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -539,6 +736,7 @@ declare const B256: Schema.transform<Schema.Struct<{
|
|
|
539
736
|
x2: typeof Schema.BigIntFromSelf;
|
|
540
737
|
x3: typeof Schema.BigIntFromSelf;
|
|
541
738
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
739
|
+
type B256 = typeof B256.Type;
|
|
542
740
|
declare const b256ToProto: (a: `0x${string}`, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
543
741
|
readonly x0: bigint;
|
|
544
742
|
readonly x1: bigint;
|
|
@@ -558,6 +756,7 @@ declare const U256: Schema.transform<Schema.Struct<{
|
|
|
558
756
|
x2: typeof Schema.BigIntFromSelf;
|
|
559
757
|
x3: typeof Schema.BigIntFromSelf;
|
|
560
758
|
}>, typeof Schema.BigIntFromSelf>;
|
|
759
|
+
type U256 = typeof U256.Type;
|
|
561
760
|
declare const u256ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
562
761
|
readonly x0: bigint;
|
|
563
762
|
readonly x1: bigint;
|
|
@@ -575,6 +774,7 @@ declare const U128: Schema.transform<Schema.Struct<{
|
|
|
575
774
|
x0: typeof Schema.BigIntFromSelf;
|
|
576
775
|
x1: typeof Schema.BigIntFromSelf;
|
|
577
776
|
}>, typeof Schema.BigIntFromSelf>;
|
|
777
|
+
type U128 = typeof U128.Type;
|
|
578
778
|
declare const u128ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
579
779
|
readonly x0: bigint;
|
|
580
780
|
readonly x1: bigint;
|
|
@@ -617,6 +817,7 @@ declare const Topic: Schema.transform<Schema.Struct<{
|
|
|
617
817
|
x2: typeof Schema.BigIntFromSelf;
|
|
618
818
|
x3: typeof Schema.BigIntFromSelf;
|
|
619
819
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
|
|
820
|
+
type Topic = typeof Topic.Type;
|
|
620
821
|
declare const LogFilter: Schema.Struct<{
|
|
621
822
|
id: Schema.optional<typeof Schema.Number>;
|
|
622
823
|
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
@@ -641,6 +842,7 @@ declare const LogFilter: Schema.Struct<{
|
|
|
641
842
|
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
642
843
|
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
643
844
|
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
845
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
644
846
|
}>;
|
|
645
847
|
type LogFilter = typeof LogFilter.Type;
|
|
646
848
|
declare const TransactionFilter: Schema.Struct<{
|
|
@@ -659,6 +861,7 @@ declare const TransactionFilter: Schema.Struct<{
|
|
|
659
861
|
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
660
862
|
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
661
863
|
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
864
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
662
865
|
}>;
|
|
663
866
|
type TransactionFilter = typeof TransactionFilter.Type;
|
|
664
867
|
declare const Filter: Schema.Struct<{
|
|
@@ -688,6 +891,7 @@ declare const Filter: Schema.Struct<{
|
|
|
688
891
|
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
689
892
|
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
690
893
|
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
894
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
691
895
|
}>>>;
|
|
692
896
|
logs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
693
897
|
id: Schema.optional<typeof Schema.Number>;
|
|
@@ -713,6 +917,7 @@ declare const Filter: Schema.Struct<{
|
|
|
713
917
|
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
714
918
|
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
715
919
|
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
920
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
716
921
|
}>>>;
|
|
717
922
|
}>;
|
|
718
923
|
type Filter = typeof Filter.Type;
|
|
@@ -731,12 +936,14 @@ declare const filterToProto: (a: {
|
|
|
731
936
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
732
937
|
readonly includeReceipt?: boolean | undefined;
|
|
733
938
|
readonly includeLogs?: boolean | undefined;
|
|
939
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
734
940
|
}[] | undefined;
|
|
735
941
|
readonly logs?: readonly {
|
|
736
942
|
readonly id?: number | undefined;
|
|
737
943
|
readonly address?: `0x${string}` | undefined;
|
|
738
944
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
739
945
|
readonly includeReceipt?: boolean | undefined;
|
|
946
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
740
947
|
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
741
948
|
readonly strict?: boolean | undefined;
|
|
742
949
|
readonly includeTransaction?: boolean | undefined;
|
|
@@ -768,6 +975,7 @@ declare const filterToProto: (a: {
|
|
|
768
975
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
769
976
|
readonly includeReceipt?: boolean | undefined;
|
|
770
977
|
readonly includeLogs?: boolean | undefined;
|
|
978
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
771
979
|
}[] | undefined;
|
|
772
980
|
readonly logs?: readonly {
|
|
773
981
|
readonly id?: number | undefined;
|
|
@@ -778,6 +986,7 @@ declare const filterToProto: (a: {
|
|
|
778
986
|
} | undefined;
|
|
779
987
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
780
988
|
readonly includeReceipt?: boolean | undefined;
|
|
989
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
781
990
|
readonly topics?: readonly {
|
|
782
991
|
readonly value: {
|
|
783
992
|
readonly x0: bigint;
|
|
@@ -817,6 +1026,7 @@ declare const filterFromProto: (i: {
|
|
|
817
1026
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
818
1027
|
readonly includeReceipt?: boolean | undefined;
|
|
819
1028
|
readonly includeLogs?: boolean | undefined;
|
|
1029
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
820
1030
|
}[] | undefined;
|
|
821
1031
|
readonly logs?: readonly {
|
|
822
1032
|
readonly id?: number | undefined;
|
|
@@ -827,6 +1037,7 @@ declare const filterFromProto: (i: {
|
|
|
827
1037
|
} | undefined;
|
|
828
1038
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
829
1039
|
readonly includeReceipt?: boolean | undefined;
|
|
1040
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
830
1041
|
readonly topics?: readonly {
|
|
831
1042
|
readonly value: {
|
|
832
1043
|
readonly x0: bigint;
|
|
@@ -853,12 +1064,14 @@ declare const filterFromProto: (i: {
|
|
|
853
1064
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
854
1065
|
readonly includeReceipt?: boolean | undefined;
|
|
855
1066
|
readonly includeLogs?: boolean | undefined;
|
|
1067
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
856
1068
|
}[] | undefined;
|
|
857
1069
|
readonly logs?: readonly {
|
|
858
1070
|
readonly id?: number | undefined;
|
|
859
1071
|
readonly address?: `0x${string}` | undefined;
|
|
860
1072
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
861
1073
|
readonly includeReceipt?: boolean | undefined;
|
|
1074
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
862
1075
|
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
863
1076
|
readonly strict?: boolean | undefined;
|
|
864
1077
|
readonly includeTransaction?: boolean | undefined;
|
|
@@ -891,6 +1104,7 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
|
|
|
891
1104
|
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
892
1105
|
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
893
1106
|
includeLogs: Schema.optional<typeof Schema.Boolean>;
|
|
1107
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
894
1108
|
}>>>;
|
|
895
1109
|
logs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
896
1110
|
id: Schema.optional<typeof Schema.Number>;
|
|
@@ -916,6 +1130,7 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
|
|
|
916
1130
|
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
917
1131
|
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
918
1132
|
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1133
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
919
1134
|
}>>>;
|
|
920
1135
|
}>>;
|
|
921
1136
|
declare const filterToBytes: (a: {
|
|
@@ -933,12 +1148,14 @@ declare const filterToBytes: (a: {
|
|
|
933
1148
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
934
1149
|
readonly includeReceipt?: boolean | undefined;
|
|
935
1150
|
readonly includeLogs?: boolean | undefined;
|
|
1151
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
936
1152
|
}[] | undefined;
|
|
937
1153
|
readonly logs?: readonly {
|
|
938
1154
|
readonly id?: number | undefined;
|
|
939
1155
|
readonly address?: `0x${string}` | undefined;
|
|
940
1156
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
941
1157
|
readonly includeReceipt?: boolean | undefined;
|
|
1158
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
942
1159
|
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
943
1160
|
readonly strict?: boolean | undefined;
|
|
944
1161
|
readonly includeTransaction?: boolean | undefined;
|
|
@@ -959,12 +1176,14 @@ declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_
|
|
|
959
1176
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
960
1177
|
readonly includeReceipt?: boolean | undefined;
|
|
961
1178
|
readonly includeLogs?: boolean | undefined;
|
|
1179
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
962
1180
|
}[] | undefined;
|
|
963
1181
|
readonly logs?: readonly {
|
|
964
1182
|
readonly id?: number | undefined;
|
|
965
1183
|
readonly address?: `0x${string}` | undefined;
|
|
966
1184
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
967
1185
|
readonly includeReceipt?: boolean | undefined;
|
|
1186
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
968
1187
|
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
969
1188
|
readonly strict?: boolean | undefined;
|
|
970
1189
|
readonly includeTransaction?: boolean | undefined;
|
|
@@ -975,6 +1194,7 @@ declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
|
975
1194
|
declare const Bloom: Schema.transform<Schema.Struct<{
|
|
976
1195
|
value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
977
1196
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1197
|
+
type Bloom = typeof Bloom.Type;
|
|
978
1198
|
declare const TransactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
979
1199
|
type TransactionStatus = typeof TransactionStatus.Type;
|
|
980
1200
|
declare const BlockHeader: Schema.Struct<{
|
|
@@ -1090,6 +1310,7 @@ declare const Withdrawal: Schema.Struct<{
|
|
|
1090
1310
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1091
1311
|
amount: typeof Schema.BigIntFromSelf;
|
|
1092
1312
|
}>;
|
|
1313
|
+
type Withdrawal = typeof Withdrawal.Type;
|
|
1093
1314
|
declare const AccessListItem: Schema.Struct<{
|
|
1094
1315
|
address: Schema.transform<Schema.Struct<{
|
|
1095
1316
|
x0: typeof Schema.BigIntFromSelf;
|
|
@@ -1103,6 +1324,7 @@ declare const AccessListItem: Schema.Struct<{
|
|
|
1103
1324
|
x3: typeof Schema.BigIntFromSelf;
|
|
1104
1325
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1105
1326
|
}>;
|
|
1327
|
+
type AccessListItem = typeof AccessListItem.Type;
|
|
1106
1328
|
declare const Signature: Schema.Struct<{
|
|
1107
1329
|
r: Schema.transform<Schema.Struct<{
|
|
1108
1330
|
x0: typeof Schema.BigIntFromSelf;
|
|
@@ -1124,6 +1346,7 @@ declare const Signature: Schema.Struct<{
|
|
|
1124
1346
|
}>, typeof Schema.BigIntFromSelf>;
|
|
1125
1347
|
YParity: Schema.optional<typeof Schema.Boolean>;
|
|
1126
1348
|
}>;
|
|
1349
|
+
type Signature = typeof Signature.Type;
|
|
1127
1350
|
declare const Transaction: Schema.Struct<{
|
|
1128
1351
|
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
1129
1352
|
transactionIndex: typeof Schema.Number;
|
|
@@ -1215,6 +1438,7 @@ declare const Transaction: Schema.Struct<{
|
|
|
1215
1438
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1216
1439
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1217
1440
|
}>;
|
|
1441
|
+
type Transaction = typeof Transaction.Type;
|
|
1218
1442
|
declare const TransactionReceipt: Schema.Struct<{
|
|
1219
1443
|
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
1220
1444
|
transactionIndex: typeof Schema.Number;
|
|
@@ -1265,6 +1489,7 @@ declare const TransactionReceipt: Schema.Struct<{
|
|
|
1265
1489
|
}>, typeof Schema.BigIntFromSelf>>;
|
|
1266
1490
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1267
1491
|
}>;
|
|
1492
|
+
type TransactionReceipt = typeof TransactionReceipt.Type;
|
|
1268
1493
|
declare const Log: Schema.Struct<{
|
|
1269
1494
|
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
1270
1495
|
address: Schema.transform<Schema.Struct<{
|
|
@@ -1291,6 +1516,332 @@ declare const Log: Schema.Struct<{
|
|
|
1291
1516
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1292
1517
|
}>;
|
|
1293
1518
|
type Log = typeof Log.Type;
|
|
1519
|
+
declare const CallType: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["unknown", "call", "delegateCall", "callCode", "delegateCall", "staticCall", "authCall"]>>;
|
|
1520
|
+
type CallType = typeof CallType.Type;
|
|
1521
|
+
declare const CreationMethod: Schema.transform<Schema.Enums<typeof CreationMethod$1>, Schema.Literal<["unknown", "create", "create2", "eofCreate"]>>;
|
|
1522
|
+
type CreationMethod = typeof CreationMethod.Type;
|
|
1523
|
+
declare const CallAction: Schema.Struct<{
|
|
1524
|
+
_tag: Schema.PropertySignature<":", "call", "$case", ":", "call", false, never>;
|
|
1525
|
+
call: Schema.Struct<{
|
|
1526
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
1527
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1528
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1529
|
+
x2: typeof Schema.Number;
|
|
1530
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1531
|
+
type: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["unknown", "call", "delegateCall", "callCode", "delegateCall", "staticCall", "authCall"]>>;
|
|
1532
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
1533
|
+
input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1534
|
+
toAddress: Schema.transform<Schema.Struct<{
|
|
1535
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1536
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1537
|
+
x2: typeof Schema.Number;
|
|
1538
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1539
|
+
value: Schema.transform<Schema.Struct<{
|
|
1540
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1541
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1542
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1543
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1544
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1545
|
+
}>;
|
|
1546
|
+
}>;
|
|
1547
|
+
type CallAction = typeof CallAction.Type;
|
|
1548
|
+
declare const CreateAction: Schema.Struct<{
|
|
1549
|
+
_tag: Schema.PropertySignature<":", "create", "$case", ":", "create", false, never>;
|
|
1550
|
+
create: Schema.Struct<{
|
|
1551
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
1552
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1553
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1554
|
+
x2: typeof Schema.Number;
|
|
1555
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1556
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
1557
|
+
init: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1558
|
+
value: Schema.transform<Schema.Struct<{
|
|
1559
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1560
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1561
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1562
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1563
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1564
|
+
creationMethod: Schema.transform<Schema.Enums<typeof CreationMethod$1>, Schema.Literal<["unknown", "create", "create2", "eofCreate"]>>;
|
|
1565
|
+
}>;
|
|
1566
|
+
}>;
|
|
1567
|
+
type CreateAction = typeof CreateAction.Type;
|
|
1568
|
+
declare const SelfDestructAction: Schema.Struct<{
|
|
1569
|
+
_tag: Schema.PropertySignature<":", "selfDestruct", "$case", ":", "selfDestruct", false, never>;
|
|
1570
|
+
selfDestruct: Schema.Struct<{
|
|
1571
|
+
address: Schema.transform<Schema.Struct<{
|
|
1572
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1573
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1574
|
+
x2: typeof Schema.Number;
|
|
1575
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1576
|
+
balance: Schema.transform<Schema.Struct<{
|
|
1577
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1578
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1579
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1580
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1581
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1582
|
+
refundAddress: Schema.transform<Schema.Struct<{
|
|
1583
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1584
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1585
|
+
x2: typeof Schema.Number;
|
|
1586
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1587
|
+
}>;
|
|
1588
|
+
}>;
|
|
1589
|
+
type SelfDestructAction = typeof SelfDestructAction.Type;
|
|
1590
|
+
declare const RewardType: Schema.transform<Schema.Enums<typeof RewardType$1>, Schema.Literal<["unknown", "block", "uncle"]>>;
|
|
1591
|
+
type RewardType = typeof RewardType.Type;
|
|
1592
|
+
declare const RewardAction: Schema.Struct<{
|
|
1593
|
+
_tag: Schema.PropertySignature<":", "reward", "$case", ":", "reward", false, never>;
|
|
1594
|
+
reward: Schema.Struct<{
|
|
1595
|
+
author: Schema.transform<Schema.Struct<{
|
|
1596
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1597
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1598
|
+
x2: typeof Schema.Number;
|
|
1599
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1600
|
+
type: Schema.transform<Schema.Enums<typeof RewardType$1>, Schema.Literal<["unknown", "block", "uncle"]>>;
|
|
1601
|
+
value: Schema.transform<Schema.Struct<{
|
|
1602
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1603
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1604
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1605
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1606
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1607
|
+
}>;
|
|
1608
|
+
}>;
|
|
1609
|
+
type RewardAction = typeof RewardAction.Type;
|
|
1610
|
+
declare const CallOutput: Schema.Struct<{
|
|
1611
|
+
_tag: Schema.PropertySignature<":", "callOutput", "$case", ":", "callOutput", false, never>;
|
|
1612
|
+
callOutput: Schema.Struct<{
|
|
1613
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
1614
|
+
output: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1615
|
+
}>;
|
|
1616
|
+
}>;
|
|
1617
|
+
type CallOutput = typeof CallOutput.Type;
|
|
1618
|
+
declare const CreateOutput: Schema.Struct<{
|
|
1619
|
+
_tag: Schema.PropertySignature<":", "createOutput", "$case", ":", "createOutput", false, never>;
|
|
1620
|
+
createOutput: Schema.Struct<{
|
|
1621
|
+
address: Schema.transform<Schema.Struct<{
|
|
1622
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1623
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1624
|
+
x2: typeof Schema.Number;
|
|
1625
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1626
|
+
code: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1627
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
1628
|
+
}>;
|
|
1629
|
+
}>;
|
|
1630
|
+
type CreateOutput = typeof CreateOutput.Type;
|
|
1631
|
+
declare const Trace: Schema.Struct<{
|
|
1632
|
+
action: Schema.Union<[Schema.Struct<{
|
|
1633
|
+
_tag: Schema.PropertySignature<":", "call", "$case", ":", "call", false, never>;
|
|
1634
|
+
call: Schema.Struct<{
|
|
1635
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
1636
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1637
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1638
|
+
x2: typeof Schema.Number;
|
|
1639
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1640
|
+
type: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["unknown", "call", "delegateCall", "callCode", "delegateCall", "staticCall", "authCall"]>>;
|
|
1641
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
1642
|
+
input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1643
|
+
toAddress: Schema.transform<Schema.Struct<{
|
|
1644
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1645
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1646
|
+
x2: typeof Schema.Number;
|
|
1647
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1648
|
+
value: Schema.transform<Schema.Struct<{
|
|
1649
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1650
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1651
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1652
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1653
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1654
|
+
}>;
|
|
1655
|
+
}>, Schema.Struct<{
|
|
1656
|
+
_tag: Schema.PropertySignature<":", "create", "$case", ":", "create", false, never>;
|
|
1657
|
+
create: Schema.Struct<{
|
|
1658
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
1659
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1660
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1661
|
+
x2: typeof Schema.Number;
|
|
1662
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1663
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
1664
|
+
init: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1665
|
+
value: Schema.transform<Schema.Struct<{
|
|
1666
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1667
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1668
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1669
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1670
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1671
|
+
creationMethod: Schema.transform<Schema.Enums<typeof CreationMethod$1>, Schema.Literal<["unknown", "create", "create2", "eofCreate"]>>;
|
|
1672
|
+
}>;
|
|
1673
|
+
}>, Schema.Struct<{
|
|
1674
|
+
_tag: Schema.PropertySignature<":", "selfDestruct", "$case", ":", "selfDestruct", false, never>;
|
|
1675
|
+
selfDestruct: Schema.Struct<{
|
|
1676
|
+
address: Schema.transform<Schema.Struct<{
|
|
1677
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1678
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1679
|
+
x2: typeof Schema.Number;
|
|
1680
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1681
|
+
balance: Schema.transform<Schema.Struct<{
|
|
1682
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1683
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1684
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1685
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1686
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1687
|
+
refundAddress: Schema.transform<Schema.Struct<{
|
|
1688
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1689
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1690
|
+
x2: typeof Schema.Number;
|
|
1691
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1692
|
+
}>;
|
|
1693
|
+
}>, Schema.Struct<{
|
|
1694
|
+
_tag: Schema.PropertySignature<":", "reward", "$case", ":", "reward", false, never>;
|
|
1695
|
+
reward: Schema.Struct<{
|
|
1696
|
+
author: Schema.transform<Schema.Struct<{
|
|
1697
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1698
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1699
|
+
x2: typeof Schema.Number;
|
|
1700
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1701
|
+
type: Schema.transform<Schema.Enums<typeof RewardType$1>, Schema.Literal<["unknown", "block", "uncle"]>>;
|
|
1702
|
+
value: Schema.transform<Schema.Struct<{
|
|
1703
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1704
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1705
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1706
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1707
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1708
|
+
}>;
|
|
1709
|
+
}>]>;
|
|
1710
|
+
error: Schema.optional<typeof Schema.String>;
|
|
1711
|
+
output: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1712
|
+
_tag: Schema.PropertySignature<":", "callOutput", "$case", ":", "callOutput", false, never>;
|
|
1713
|
+
callOutput: Schema.Struct<{
|
|
1714
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
1715
|
+
output: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1716
|
+
}>;
|
|
1717
|
+
}>, Schema.Struct<{
|
|
1718
|
+
_tag: Schema.PropertySignature<":", "createOutput", "$case", ":", "createOutput", false, never>;
|
|
1719
|
+
createOutput: Schema.Struct<{
|
|
1720
|
+
address: Schema.transform<Schema.Struct<{
|
|
1721
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1722
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1723
|
+
x2: typeof Schema.Number;
|
|
1724
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1725
|
+
code: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1726
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
1727
|
+
}>;
|
|
1728
|
+
}>]>>;
|
|
1729
|
+
subtraces: typeof Schema.Number;
|
|
1730
|
+
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
1731
|
+
}>;
|
|
1732
|
+
type Trace = typeof Trace.Type;
|
|
1733
|
+
declare const TransactionTrace: Schema.Struct<{
|
|
1734
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
1735
|
+
transactionIndex: typeof Schema.Number;
|
|
1736
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
1737
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1738
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1739
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1740
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1741
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1742
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
1743
|
+
action: Schema.Union<[Schema.Struct<{
|
|
1744
|
+
_tag: Schema.PropertySignature<":", "call", "$case", ":", "call", false, never>;
|
|
1745
|
+
call: Schema.Struct<{
|
|
1746
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
1747
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1748
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1749
|
+
x2: typeof Schema.Number;
|
|
1750
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1751
|
+
type: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["unknown", "call", "delegateCall", "callCode", "delegateCall", "staticCall", "authCall"]>>;
|
|
1752
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
1753
|
+
input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1754
|
+
toAddress: Schema.transform<Schema.Struct<{
|
|
1755
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1756
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1757
|
+
x2: typeof Schema.Number;
|
|
1758
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1759
|
+
value: Schema.transform<Schema.Struct<{
|
|
1760
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1761
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1762
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1763
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1764
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1765
|
+
}>;
|
|
1766
|
+
}>, Schema.Struct<{
|
|
1767
|
+
_tag: Schema.PropertySignature<":", "create", "$case", ":", "create", false, never>;
|
|
1768
|
+
create: Schema.Struct<{
|
|
1769
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
1770
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1771
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1772
|
+
x2: typeof Schema.Number;
|
|
1773
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1774
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
1775
|
+
init: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1776
|
+
value: Schema.transform<Schema.Struct<{
|
|
1777
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1778
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1779
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1780
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1781
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1782
|
+
creationMethod: Schema.transform<Schema.Enums<typeof CreationMethod$1>, Schema.Literal<["unknown", "create", "create2", "eofCreate"]>>;
|
|
1783
|
+
}>;
|
|
1784
|
+
}>, Schema.Struct<{
|
|
1785
|
+
_tag: Schema.PropertySignature<":", "selfDestruct", "$case", ":", "selfDestruct", false, never>;
|
|
1786
|
+
selfDestruct: Schema.Struct<{
|
|
1787
|
+
address: Schema.transform<Schema.Struct<{
|
|
1788
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1789
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1790
|
+
x2: typeof Schema.Number;
|
|
1791
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1792
|
+
balance: Schema.transform<Schema.Struct<{
|
|
1793
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1794
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1795
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1796
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1797
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1798
|
+
refundAddress: Schema.transform<Schema.Struct<{
|
|
1799
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1800
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1801
|
+
x2: typeof Schema.Number;
|
|
1802
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1803
|
+
}>;
|
|
1804
|
+
}>, Schema.Struct<{
|
|
1805
|
+
_tag: Schema.PropertySignature<":", "reward", "$case", ":", "reward", false, never>;
|
|
1806
|
+
reward: Schema.Struct<{
|
|
1807
|
+
author: Schema.transform<Schema.Struct<{
|
|
1808
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1809
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1810
|
+
x2: typeof Schema.Number;
|
|
1811
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1812
|
+
type: Schema.transform<Schema.Enums<typeof RewardType$1>, Schema.Literal<["unknown", "block", "uncle"]>>;
|
|
1813
|
+
value: Schema.transform<Schema.Struct<{
|
|
1814
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1815
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1816
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1817
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1818
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1819
|
+
}>;
|
|
1820
|
+
}>]>;
|
|
1821
|
+
error: Schema.optional<typeof Schema.String>;
|
|
1822
|
+
output: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1823
|
+
_tag: Schema.PropertySignature<":", "callOutput", "$case", ":", "callOutput", false, never>;
|
|
1824
|
+
callOutput: Schema.Struct<{
|
|
1825
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
1826
|
+
output: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1827
|
+
}>;
|
|
1828
|
+
}>, Schema.Struct<{
|
|
1829
|
+
_tag: Schema.PropertySignature<":", "createOutput", "$case", ":", "createOutput", false, never>;
|
|
1830
|
+
createOutput: Schema.Struct<{
|
|
1831
|
+
address: Schema.transform<Schema.Struct<{
|
|
1832
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1833
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1834
|
+
x2: typeof Schema.Number;
|
|
1835
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1836
|
+
code: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
1837
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
1838
|
+
}>;
|
|
1839
|
+
}>]>>;
|
|
1840
|
+
subtraces: typeof Schema.Number;
|
|
1841
|
+
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
1842
|
+
}>>;
|
|
1843
|
+
}>;
|
|
1844
|
+
type TransactionTrace = typeof TransactionTrace.Type;
|
|
1294
1845
|
declare const Block: Schema.Struct<{
|
|
1295
1846
|
header: Schema.Struct<{
|
|
1296
1847
|
blockNumber: typeof Schema.BigIntFromSelf;
|
|
@@ -1570,6 +2121,117 @@ declare const Block: Schema.Struct<{
|
|
|
1570
2121
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1571
2122
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1572
2123
|
}>>;
|
|
2124
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
2125
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
2126
|
+
transactionIndex: typeof Schema.Number;
|
|
2127
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
2128
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2129
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2130
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2131
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2132
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2133
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
2134
|
+
action: Schema.Union<[Schema.Struct<{
|
|
2135
|
+
_tag: Schema.PropertySignature<":", "call", "$case", ":", "call", false, never>;
|
|
2136
|
+
call: Schema.Struct<{
|
|
2137
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
2138
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2139
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2140
|
+
x2: typeof Schema.Number;
|
|
2141
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2142
|
+
type: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["unknown", "call", "delegateCall", "callCode", "delegateCall", "staticCall", "authCall"]>>;
|
|
2143
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
2144
|
+
input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2145
|
+
toAddress: Schema.transform<Schema.Struct<{
|
|
2146
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2147
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2148
|
+
x2: typeof Schema.Number;
|
|
2149
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2150
|
+
value: Schema.transform<Schema.Struct<{
|
|
2151
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2152
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2153
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2154
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2155
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2156
|
+
}>;
|
|
2157
|
+
}>, Schema.Struct<{
|
|
2158
|
+
_tag: Schema.PropertySignature<":", "create", "$case", ":", "create", false, never>;
|
|
2159
|
+
create: Schema.Struct<{
|
|
2160
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
2161
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2162
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2163
|
+
x2: typeof Schema.Number;
|
|
2164
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2165
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
2166
|
+
init: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2167
|
+
value: Schema.transform<Schema.Struct<{
|
|
2168
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2169
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2170
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2171
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2172
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2173
|
+
creationMethod: Schema.transform<Schema.Enums<typeof CreationMethod$1>, Schema.Literal<["unknown", "create", "create2", "eofCreate"]>>;
|
|
2174
|
+
}>;
|
|
2175
|
+
}>, Schema.Struct<{
|
|
2176
|
+
_tag: Schema.PropertySignature<":", "selfDestruct", "$case", ":", "selfDestruct", false, never>;
|
|
2177
|
+
selfDestruct: Schema.Struct<{
|
|
2178
|
+
address: Schema.transform<Schema.Struct<{
|
|
2179
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2180
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2181
|
+
x2: typeof Schema.Number;
|
|
2182
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2183
|
+
balance: Schema.transform<Schema.Struct<{
|
|
2184
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2185
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2186
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2187
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2188
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2189
|
+
refundAddress: Schema.transform<Schema.Struct<{
|
|
2190
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2191
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2192
|
+
x2: typeof Schema.Number;
|
|
2193
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2194
|
+
}>;
|
|
2195
|
+
}>, Schema.Struct<{
|
|
2196
|
+
_tag: Schema.PropertySignature<":", "reward", "$case", ":", "reward", false, never>;
|
|
2197
|
+
reward: Schema.Struct<{
|
|
2198
|
+
author: Schema.transform<Schema.Struct<{
|
|
2199
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2200
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2201
|
+
x2: typeof Schema.Number;
|
|
2202
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2203
|
+
type: Schema.transform<Schema.Enums<typeof RewardType$1>, Schema.Literal<["unknown", "block", "uncle"]>>;
|
|
2204
|
+
value: Schema.transform<Schema.Struct<{
|
|
2205
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2206
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2207
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2208
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2209
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2210
|
+
}>;
|
|
2211
|
+
}>]>;
|
|
2212
|
+
error: Schema.optional<typeof Schema.String>;
|
|
2213
|
+
output: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
2214
|
+
_tag: Schema.PropertySignature<":", "callOutput", "$case", ":", "callOutput", false, never>;
|
|
2215
|
+
callOutput: Schema.Struct<{
|
|
2216
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
2217
|
+
output: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2218
|
+
}>;
|
|
2219
|
+
}>, Schema.Struct<{
|
|
2220
|
+
_tag: Schema.PropertySignature<":", "createOutput", "$case", ":", "createOutput", false, never>;
|
|
2221
|
+
createOutput: Schema.Struct<{
|
|
2222
|
+
address: Schema.transform<Schema.Struct<{
|
|
2223
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2224
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2225
|
+
x2: typeof Schema.Number;
|
|
2226
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2227
|
+
code: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2228
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
2229
|
+
}>;
|
|
2230
|
+
}>]>>;
|
|
2231
|
+
subtraces: typeof Schema.Number;
|
|
2232
|
+
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
2233
|
+
}>>;
|
|
2234
|
+
}>>;
|
|
1573
2235
|
}>;
|
|
1574
2236
|
type Block = typeof Block.Type;
|
|
1575
2237
|
declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.NullOr<Schema.Struct<{
|
|
@@ -1851,6 +2513,117 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
|
|
|
1851
2513
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1852
2514
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1853
2515
|
}>>;
|
|
2516
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
2517
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
2518
|
+
transactionIndex: typeof Schema.Number;
|
|
2519
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
2520
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2521
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2522
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2523
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2524
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2525
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
2526
|
+
action: Schema.Union<[Schema.Struct<{
|
|
2527
|
+
_tag: Schema.PropertySignature<":", "call", "$case", ":", "call", false, never>;
|
|
2528
|
+
call: Schema.Struct<{
|
|
2529
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
2530
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2531
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2532
|
+
x2: typeof Schema.Number;
|
|
2533
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2534
|
+
type: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["unknown", "call", "delegateCall", "callCode", "delegateCall", "staticCall", "authCall"]>>;
|
|
2535
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
2536
|
+
input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2537
|
+
toAddress: Schema.transform<Schema.Struct<{
|
|
2538
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2539
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2540
|
+
x2: typeof Schema.Number;
|
|
2541
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2542
|
+
value: Schema.transform<Schema.Struct<{
|
|
2543
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2544
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2545
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2546
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2547
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2548
|
+
}>;
|
|
2549
|
+
}>, Schema.Struct<{
|
|
2550
|
+
_tag: Schema.PropertySignature<":", "create", "$case", ":", "create", false, never>;
|
|
2551
|
+
create: Schema.Struct<{
|
|
2552
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
2553
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2554
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2555
|
+
x2: typeof Schema.Number;
|
|
2556
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2557
|
+
gas: typeof Schema.BigIntFromSelf;
|
|
2558
|
+
init: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2559
|
+
value: Schema.transform<Schema.Struct<{
|
|
2560
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2561
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2562
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2563
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2564
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2565
|
+
creationMethod: Schema.transform<Schema.Enums<typeof CreationMethod$1>, Schema.Literal<["unknown", "create", "create2", "eofCreate"]>>;
|
|
2566
|
+
}>;
|
|
2567
|
+
}>, Schema.Struct<{
|
|
2568
|
+
_tag: Schema.PropertySignature<":", "selfDestruct", "$case", ":", "selfDestruct", false, never>;
|
|
2569
|
+
selfDestruct: Schema.Struct<{
|
|
2570
|
+
address: Schema.transform<Schema.Struct<{
|
|
2571
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2572
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2573
|
+
x2: typeof Schema.Number;
|
|
2574
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2575
|
+
balance: Schema.transform<Schema.Struct<{
|
|
2576
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2577
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2578
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2579
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2580
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2581
|
+
refundAddress: Schema.transform<Schema.Struct<{
|
|
2582
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2583
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2584
|
+
x2: typeof Schema.Number;
|
|
2585
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2586
|
+
}>;
|
|
2587
|
+
}>, Schema.Struct<{
|
|
2588
|
+
_tag: Schema.PropertySignature<":", "reward", "$case", ":", "reward", false, never>;
|
|
2589
|
+
reward: Schema.Struct<{
|
|
2590
|
+
author: Schema.transform<Schema.Struct<{
|
|
2591
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2592
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2593
|
+
x2: typeof Schema.Number;
|
|
2594
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2595
|
+
type: Schema.transform<Schema.Enums<typeof RewardType$1>, Schema.Literal<["unknown", "block", "uncle"]>>;
|
|
2596
|
+
value: Schema.transform<Schema.Struct<{
|
|
2597
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2598
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2599
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
2600
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
2601
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
2602
|
+
}>;
|
|
2603
|
+
}>]>;
|
|
2604
|
+
error: Schema.optional<typeof Schema.String>;
|
|
2605
|
+
output: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
2606
|
+
_tag: Schema.PropertySignature<":", "callOutput", "$case", ":", "callOutput", false, never>;
|
|
2607
|
+
callOutput: Schema.Struct<{
|
|
2608
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
2609
|
+
output: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2610
|
+
}>;
|
|
2611
|
+
}>, Schema.Struct<{
|
|
2612
|
+
_tag: Schema.PropertySignature<":", "createOutput", "$case", ":", "createOutput", false, never>;
|
|
2613
|
+
createOutput: Schema.Struct<{
|
|
2614
|
+
address: Schema.transform<Schema.Struct<{
|
|
2615
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
2616
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
2617
|
+
x2: typeof Schema.Number;
|
|
2618
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2619
|
+
code: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
|
|
2620
|
+
gasUsed: typeof Schema.BigIntFromSelf;
|
|
2621
|
+
}>;
|
|
2622
|
+
}>]>>;
|
|
2623
|
+
subtraces: typeof Schema.Number;
|
|
2624
|
+
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
2625
|
+
}>>;
|
|
2626
|
+
}>>;
|
|
1854
2627
|
}>>>;
|
|
1855
2628
|
|
|
1856
2629
|
declare const EvmStream: StreamConfig<{
|
|
@@ -1868,12 +2641,14 @@ declare const EvmStream: StreamConfig<{
|
|
|
1868
2641
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
1869
2642
|
readonly includeReceipt?: boolean | undefined;
|
|
1870
2643
|
readonly includeLogs?: boolean | undefined;
|
|
2644
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
1871
2645
|
}[] | undefined;
|
|
1872
2646
|
readonly logs?: readonly {
|
|
1873
2647
|
readonly id?: number | undefined;
|
|
1874
2648
|
readonly address?: `0x${string}` | undefined;
|
|
1875
2649
|
readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
|
|
1876
2650
|
readonly includeReceipt?: boolean | undefined;
|
|
2651
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
1877
2652
|
readonly topics?: readonly (`0x${string}` | null)[] | undefined;
|
|
1878
2653
|
readonly strict?: boolean | undefined;
|
|
1879
2654
|
readonly includeTransaction?: boolean | undefined;
|
|
@@ -1967,6 +2742,64 @@ declare const EvmStream: StreamConfig<{
|
|
|
1967
2742
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
1968
2743
|
readonly blobGasPrice?: bigint | undefined;
|
|
1969
2744
|
}[];
|
|
2745
|
+
readonly traces: readonly {
|
|
2746
|
+
readonly filterIds: readonly number[];
|
|
2747
|
+
readonly transactionIndex: number;
|
|
2748
|
+
readonly transactionHash: `0x${string}`;
|
|
2749
|
+
readonly traces: readonly {
|
|
2750
|
+
readonly action: {
|
|
2751
|
+
readonly _tag: "call";
|
|
2752
|
+
readonly call: {
|
|
2753
|
+
readonly value: bigint;
|
|
2754
|
+
readonly gas: bigint;
|
|
2755
|
+
readonly input?: `0x${string}` | undefined;
|
|
2756
|
+
readonly fromAddress: `0x${string}`;
|
|
2757
|
+
readonly type: "unknown" | "call" | "delegateCall" | "callCode" | "staticCall" | "authCall";
|
|
2758
|
+
readonly toAddress: `0x${string}`;
|
|
2759
|
+
};
|
|
2760
|
+
} | {
|
|
2761
|
+
readonly create: {
|
|
2762
|
+
readonly value: bigint;
|
|
2763
|
+
readonly gas: bigint;
|
|
2764
|
+
readonly fromAddress: `0x${string}`;
|
|
2765
|
+
readonly init?: `0x${string}` | undefined;
|
|
2766
|
+
readonly creationMethod: "create" | "unknown" | "create2" | "eofCreate";
|
|
2767
|
+
};
|
|
2768
|
+
readonly _tag: "create";
|
|
2769
|
+
} | {
|
|
2770
|
+
readonly _tag: "selfDestruct";
|
|
2771
|
+
readonly selfDestruct: {
|
|
2772
|
+
readonly address: `0x${string}`;
|
|
2773
|
+
readonly balance: bigint;
|
|
2774
|
+
readonly refundAddress: `0x${string}`;
|
|
2775
|
+
};
|
|
2776
|
+
} | {
|
|
2777
|
+
readonly _tag: "reward";
|
|
2778
|
+
readonly reward: {
|
|
2779
|
+
readonly value: bigint;
|
|
2780
|
+
readonly type: "unknown" | "block" | "uncle";
|
|
2781
|
+
readonly author: `0x${string}`;
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
readonly error?: string | undefined;
|
|
2785
|
+
readonly output?: {
|
|
2786
|
+
readonly _tag: "callOutput";
|
|
2787
|
+
readonly callOutput: {
|
|
2788
|
+
readonly gasUsed: bigint;
|
|
2789
|
+
readonly output?: `0x${string}` | undefined;
|
|
2790
|
+
};
|
|
2791
|
+
} | {
|
|
2792
|
+
readonly _tag: "createOutput";
|
|
2793
|
+
readonly createOutput: {
|
|
2794
|
+
readonly address: `0x${string}`;
|
|
2795
|
+
readonly gasUsed: bigint;
|
|
2796
|
+
readonly code?: `0x${string}` | undefined;
|
|
2797
|
+
};
|
|
2798
|
+
} | undefined;
|
|
2799
|
+
readonly subtraces: number;
|
|
2800
|
+
readonly traceAddress: readonly number[];
|
|
2801
|
+
}[];
|
|
2802
|
+
}[];
|
|
1970
2803
|
}>;
|
|
1971
2804
|
|
|
1972
|
-
export { AccessListItem, Address, B256, B256Proto, Block, BlockFromBytes, BlockHeader, Bloom, EvmStream, Filter, FilterFromBytes, HeaderFilter, Log, LogFilter, Signature, Topic, Transaction, TransactionFilter, TransactionReceipt, TransactionStatus, TransactionStatusFilter, U128, U256, Withdrawal, WithdrawalFilter, b256FromProto, b256ToProto, filterFromBytes, filterFromProto, filterToBytes, filterToProto, mergeFilter, index as proto, u128FromProto, u128ToProto, u256FromProto, u256ToProto };
|
|
2805
|
+
export { AccessListItem, Address, B256, B256Proto, 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, b256FromProto, b256ToProto, filterFromBytes, filterFromProto, filterToBytes, filterToProto, mergeFilter, index as proto, u128FromProto, u128ToProto, u256FromProto, u256ToProto };
|