@apibara/starknet 2.1.0-beta.18 → 2.1.0-beta.19
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 +1221 -232
- package/dist/index.d.cts +2014 -1456
- package/dist/index.d.mts +2014 -1456
- package/dist/index.d.ts +2014 -1456
- package/dist/index.mjs +1213 -233
- package/package.json +2 -2
- package/src/block.ts +158 -0
- package/src/filter.ts +6 -0
- package/src/proto/data.ts +1081 -1
- package/src/proto/filter.ts +76 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { Schema } from '@effect/schema';
|
|
2
|
+
import _m0 from 'protobufjs/minimal.js';
|
|
1
3
|
import { StreamConfig } from '@apibara/protocol';
|
|
2
4
|
import { Abi } from 'abi-wan-kanabi';
|
|
3
5
|
export { Abi } from 'abi-wan-kanabi';
|
|
4
|
-
import _m0 from 'protobufjs/minimal.js';
|
|
5
6
|
import { F as FieldElement$1 } from './shared/starknet.2b19268a.cjs';
|
|
6
7
|
export { a as FieldElementProto, b as feltFromProto, f as feltToProto } from './shared/starknet.2b19268a.cjs';
|
|
7
8
|
import * as _effect_schema_AST from '@effect/schema/AST';
|
|
8
|
-
import { Schema } from '@effect/schema';
|
|
9
9
|
import { ExtractAbiEventNames, EventToPrimitiveType } from 'abi-wan-kanabi/kanabi';
|
|
10
10
|
|
|
11
11
|
declare const protobufPackage$2 = "starknet.v2";
|
|
@@ -97,6 +97,15 @@ declare enum DataAvailabilityMode$1 {
|
|
|
97
97
|
}
|
|
98
98
|
declare function dataAvailabilityModeFromJSON(object: any): DataAvailabilityMode$1;
|
|
99
99
|
declare function dataAvailabilityModeToJSON(object: DataAvailabilityMode$1): string;
|
|
100
|
+
declare enum CallType$1 {
|
|
101
|
+
UNSPECIFIED = 0,
|
|
102
|
+
LIBRARY_CALL = 1,
|
|
103
|
+
CALL = 2,
|
|
104
|
+
DELEGATE = 3,
|
|
105
|
+
UNRECOGNIZED = -1
|
|
106
|
+
}
|
|
107
|
+
declare function callTypeFromJSON(object: any): CallType$1;
|
|
108
|
+
declare function callTypeToJSON(object: CallType$1): string;
|
|
100
109
|
/** Requested data, grouped by block. */
|
|
101
110
|
interface Block$1 {
|
|
102
111
|
/** The header. */
|
|
@@ -115,6 +124,8 @@ interface Block$1 {
|
|
|
115
124
|
readonly contractChanges?: readonly ContractChange$1[] | undefined;
|
|
116
125
|
/** List of nonce updates. */
|
|
117
126
|
readonly nonceUpdates?: readonly NonceUpdate$1[] | undefined;
|
|
127
|
+
/** List of transaction traces. */
|
|
128
|
+
readonly traces?: readonly TransactionTrace$1[] | undefined;
|
|
118
129
|
}
|
|
119
130
|
declare const Block$1: {
|
|
120
131
|
encode(message: Block$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -825,6 +836,122 @@ declare const NonceUpdate$1: {
|
|
|
825
836
|
create(base?: DeepPartial$1<NonceUpdate$1>): NonceUpdate$1;
|
|
826
837
|
fromPartial(object: DeepPartial$1<NonceUpdate$1>): NonceUpdate$1;
|
|
827
838
|
};
|
|
839
|
+
interface TransactionTrace$1 {
|
|
840
|
+
readonly filterIds?: readonly number[] | undefined;
|
|
841
|
+
/** Index of the transaction in the block. */
|
|
842
|
+
readonly transactionIndex?: number | undefined;
|
|
843
|
+
/** Transaction hash. */
|
|
844
|
+
readonly transactionHash?: FieldElement | undefined;
|
|
845
|
+
readonly traceRoot?: {
|
|
846
|
+
readonly $case: "invoke";
|
|
847
|
+
readonly invoke: InvokeTransactionTrace$1;
|
|
848
|
+
} | {
|
|
849
|
+
readonly $case: "declare";
|
|
850
|
+
readonly declare: DeclareTransactionTrace$1;
|
|
851
|
+
} | {
|
|
852
|
+
readonly $case: "deployAccount";
|
|
853
|
+
readonly deployAccount: DeployAccountTransactionTrace$1;
|
|
854
|
+
} | {
|
|
855
|
+
readonly $case: "l1Handler";
|
|
856
|
+
readonly l1Handler: L1HandlerTransactionTrace$1;
|
|
857
|
+
} | undefined;
|
|
858
|
+
}
|
|
859
|
+
declare const TransactionTrace$1: {
|
|
860
|
+
encode(message: TransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
861
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TransactionTrace$1;
|
|
862
|
+
fromJSON(object: any): TransactionTrace$1;
|
|
863
|
+
toJSON(message: TransactionTrace$1): unknown;
|
|
864
|
+
create(base?: DeepPartial$1<TransactionTrace$1>): TransactionTrace$1;
|
|
865
|
+
fromPartial(object: DeepPartial$1<TransactionTrace$1>): TransactionTrace$1;
|
|
866
|
+
};
|
|
867
|
+
interface InvokeTransactionTrace$1 {
|
|
868
|
+
readonly validateInvocation?: FunctionInvocation$1 | undefined;
|
|
869
|
+
readonly executeInvocation?: {
|
|
870
|
+
readonly $case: "success";
|
|
871
|
+
readonly success: FunctionInvocation$1;
|
|
872
|
+
} | {
|
|
873
|
+
readonly $case: "reverted";
|
|
874
|
+
readonly reverted: ExecutionReverted$1;
|
|
875
|
+
} | undefined;
|
|
876
|
+
readonly feeTransferInvocation?: FunctionInvocation$1 | undefined;
|
|
877
|
+
}
|
|
878
|
+
declare const InvokeTransactionTrace$1: {
|
|
879
|
+
encode(message: InvokeTransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
880
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): InvokeTransactionTrace$1;
|
|
881
|
+
fromJSON(object: any): InvokeTransactionTrace$1;
|
|
882
|
+
toJSON(message: InvokeTransactionTrace$1): unknown;
|
|
883
|
+
create(base?: DeepPartial$1<InvokeTransactionTrace$1>): InvokeTransactionTrace$1;
|
|
884
|
+
fromPartial(object: DeepPartial$1<InvokeTransactionTrace$1>): InvokeTransactionTrace$1;
|
|
885
|
+
};
|
|
886
|
+
interface DeclareTransactionTrace$1 {
|
|
887
|
+
readonly validateInvocation?: FunctionInvocation$1 | undefined;
|
|
888
|
+
readonly feeTransferInvocation?: FunctionInvocation$1 | undefined;
|
|
889
|
+
}
|
|
890
|
+
declare const DeclareTransactionTrace$1: {
|
|
891
|
+
encode(message: DeclareTransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
892
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DeclareTransactionTrace$1;
|
|
893
|
+
fromJSON(object: any): DeclareTransactionTrace$1;
|
|
894
|
+
toJSON(message: DeclareTransactionTrace$1): unknown;
|
|
895
|
+
create(base?: DeepPartial$1<DeclareTransactionTrace$1>): DeclareTransactionTrace$1;
|
|
896
|
+
fromPartial(object: DeepPartial$1<DeclareTransactionTrace$1>): DeclareTransactionTrace$1;
|
|
897
|
+
};
|
|
898
|
+
interface DeployAccountTransactionTrace$1 {
|
|
899
|
+
readonly validateInvocation?: FunctionInvocation$1 | undefined;
|
|
900
|
+
readonly constructorInvocation?: FunctionInvocation$1 | undefined;
|
|
901
|
+
readonly feeTransferInvocation?: FunctionInvocation$1 | undefined;
|
|
902
|
+
}
|
|
903
|
+
declare const DeployAccountTransactionTrace$1: {
|
|
904
|
+
encode(message: DeployAccountTransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
905
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DeployAccountTransactionTrace$1;
|
|
906
|
+
fromJSON(object: any): DeployAccountTransactionTrace$1;
|
|
907
|
+
toJSON(message: DeployAccountTransactionTrace$1): unknown;
|
|
908
|
+
create(base?: DeepPartial$1<DeployAccountTransactionTrace$1>): DeployAccountTransactionTrace$1;
|
|
909
|
+
fromPartial(object: DeepPartial$1<DeployAccountTransactionTrace$1>): DeployAccountTransactionTrace$1;
|
|
910
|
+
};
|
|
911
|
+
interface L1HandlerTransactionTrace$1 {
|
|
912
|
+
readonly functionInvocation?: FunctionInvocation$1 | undefined;
|
|
913
|
+
}
|
|
914
|
+
declare const L1HandlerTransactionTrace$1: {
|
|
915
|
+
encode(message: L1HandlerTransactionTrace$1, writer?: _m0.Writer): _m0.Writer;
|
|
916
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): L1HandlerTransactionTrace$1;
|
|
917
|
+
fromJSON(object: any): L1HandlerTransactionTrace$1;
|
|
918
|
+
toJSON(message: L1HandlerTransactionTrace$1): unknown;
|
|
919
|
+
create(base?: DeepPartial$1<L1HandlerTransactionTrace$1>): L1HandlerTransactionTrace$1;
|
|
920
|
+
fromPartial(object: DeepPartial$1<L1HandlerTransactionTrace$1>): L1HandlerTransactionTrace$1;
|
|
921
|
+
};
|
|
922
|
+
interface FunctionInvocation$1 {
|
|
923
|
+
readonly contractAddress?: FieldElement | undefined;
|
|
924
|
+
readonly entryPointSelector?: FieldElement | undefined;
|
|
925
|
+
readonly calldata?: readonly FieldElement[] | undefined;
|
|
926
|
+
readonly callerAddress?: FieldElement | undefined;
|
|
927
|
+
readonly classHash?: FieldElement | undefined;
|
|
928
|
+
readonly callType?: CallType$1 | undefined;
|
|
929
|
+
readonly result?: readonly FieldElement[] | undefined;
|
|
930
|
+
readonly calls?: readonly FunctionInvocation$1[] | undefined;
|
|
931
|
+
readonly events?: readonly number[] | undefined;
|
|
932
|
+
readonly messages?: readonly number[] | undefined;
|
|
933
|
+
}
|
|
934
|
+
declare const FunctionInvocation$1: {
|
|
935
|
+
encode(message: FunctionInvocation$1, writer?: _m0.Writer): _m0.Writer;
|
|
936
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FunctionInvocation$1;
|
|
937
|
+
fromJSON(object: any): FunctionInvocation$1;
|
|
938
|
+
toJSON(message: FunctionInvocation$1): unknown;
|
|
939
|
+
create(base?: DeepPartial$1<FunctionInvocation$1>): FunctionInvocation$1;
|
|
940
|
+
fromPartial(object: DeepPartial$1<FunctionInvocation$1>): FunctionInvocation$1;
|
|
941
|
+
};
|
|
942
|
+
interface FunctionCall {
|
|
943
|
+
readonly contractAddress?: FieldElement | undefined;
|
|
944
|
+
readonly entryPointSelector?: FieldElement | undefined;
|
|
945
|
+
readonly calldata?: readonly FieldElement[] | undefined;
|
|
946
|
+
}
|
|
947
|
+
declare const FunctionCall: {
|
|
948
|
+
encode(message: FunctionCall, writer?: _m0.Writer): _m0.Writer;
|
|
949
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FunctionCall;
|
|
950
|
+
fromJSON(object: any): FunctionCall;
|
|
951
|
+
toJSON(message: FunctionCall): unknown;
|
|
952
|
+
create(base?: DeepPartial$1<FunctionCall>): FunctionCall;
|
|
953
|
+
fromPartial(object: DeepPartial$1<FunctionCall>): FunctionCall;
|
|
954
|
+
};
|
|
828
955
|
type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
829
956
|
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 {
|
|
830
957
|
readonly $case: string;
|
|
@@ -838,7 +965,10 @@ type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<inf
|
|
|
838
965
|
|
|
839
966
|
type data_ExecutionStatus = ExecutionStatus;
|
|
840
967
|
declare const data_ExecutionStatus: typeof ExecutionStatus;
|
|
968
|
+
declare const data_FunctionCall: typeof FunctionCall;
|
|
841
969
|
declare const data_Uint128: typeof Uint128;
|
|
970
|
+
declare const data_callTypeFromJSON: typeof callTypeFromJSON;
|
|
971
|
+
declare const data_callTypeToJSON: typeof callTypeToJSON;
|
|
842
972
|
declare const data_dataAvailabilityModeFromJSON: typeof dataAvailabilityModeFromJSON;
|
|
843
973
|
declare const data_dataAvailabilityModeToJSON: typeof dataAvailabilityModeToJSON;
|
|
844
974
|
declare const data_executionStatusFromJSON: typeof executionStatusFromJSON;
|
|
@@ -850,7 +980,7 @@ declare const data_priceUnitToJSON: typeof priceUnitToJSON;
|
|
|
850
980
|
declare const data_transactionStatusFromJSON: typeof transactionStatusFromJSON;
|
|
851
981
|
declare const data_transactionStatusToJSON: typeof transactionStatusToJSON;
|
|
852
982
|
declare namespace data {
|
|
853
|
-
export { Block$1 as Block, BlockHeader$1 as BlockHeader, ComputationResources$1 as ComputationResources, ContractChange$1 as ContractChange, DataAvailabilityMode$1 as DataAvailabilityMode, DataAvailabilityResources$1 as DataAvailabilityResources, DeclareTransactionReceipt$1 as DeclareTransactionReceipt, DeclareTransactionV0$1 as DeclareTransactionV0, DeclareTransactionV1$1 as DeclareTransactionV1, DeclareTransactionV2$1 as DeclareTransactionV2, DeclareTransactionV3$1 as DeclareTransactionV3, DeclaredClass$1 as DeclaredClass, type DeepPartial$1 as DeepPartial, DeployAccountTransactionReceipt$1 as DeployAccountTransactionReceipt, DeployAccountTransactionV1$1 as DeployAccountTransactionV1, DeployAccountTransactionV3$1 as DeployAccountTransactionV3, DeployTransaction$1 as DeployTransaction, DeployTransactionReceipt$1 as DeployTransactionReceipt, DeployedContract$1 as DeployedContract, Event$1 as Event, ExecutionResources$1 as ExecutionResources, ExecutionReverted$1 as ExecutionReverted, data_ExecutionStatus as ExecutionStatus, ExecutionSucceeded$1 as ExecutionSucceeded, FeePayment$1 as FeePayment, InvokeTransactionReceipt$1 as InvokeTransactionReceipt, InvokeTransactionV0$1 as InvokeTransactionV0, InvokeTransactionV1$1 as InvokeTransactionV1, InvokeTransactionV3$1 as InvokeTransactionV3, L1DataAvailabilityMode$1 as L1DataAvailabilityMode, L1HandlerTransaction$1 as L1HandlerTransaction, L1HandlerTransactionReceipt$1 as L1HandlerTransactionReceipt, MessageToL1$1 as MessageToL1, NonceUpdate$1 as NonceUpdate, PriceUnit$1 as PriceUnit, ReplacedClass$1 as ReplacedClass, ResourceBounds$1 as ResourceBounds, ResourceBoundsMapping$1 as ResourceBoundsMapping, ResourcePrice$1 as ResourcePrice, StorageDiff$1 as StorageDiff, StorageEntry$1 as StorageEntry, Transaction$1 as Transaction, TransactionMeta$1 as TransactionMeta, TransactionReceipt$1 as TransactionReceipt, TransactionReceiptMeta$1 as TransactionReceiptMeta, TransactionStatus$1 as TransactionStatus, data_Uint128 as Uint128, data_dataAvailabilityModeFromJSON as dataAvailabilityModeFromJSON, data_dataAvailabilityModeToJSON as dataAvailabilityModeToJSON, data_executionStatusFromJSON as executionStatusFromJSON, data_executionStatusToJSON as executionStatusToJSON, data_l1DataAvailabilityModeFromJSON as l1DataAvailabilityModeFromJSON, data_l1DataAvailabilityModeToJSON as l1DataAvailabilityModeToJSON, data_priceUnitFromJSON as priceUnitFromJSON, data_priceUnitToJSON as priceUnitToJSON, protobufPackage$1 as protobufPackage, data_transactionStatusFromJSON as transactionStatusFromJSON, data_transactionStatusToJSON as transactionStatusToJSON };
|
|
983
|
+
export { Block$1 as Block, BlockHeader$1 as BlockHeader, CallType$1 as CallType, ComputationResources$1 as ComputationResources, ContractChange$1 as ContractChange, DataAvailabilityMode$1 as DataAvailabilityMode, DataAvailabilityResources$1 as DataAvailabilityResources, DeclareTransactionReceipt$1 as DeclareTransactionReceipt, DeclareTransactionTrace$1 as DeclareTransactionTrace, DeclareTransactionV0$1 as DeclareTransactionV0, DeclareTransactionV1$1 as DeclareTransactionV1, DeclareTransactionV2$1 as DeclareTransactionV2, DeclareTransactionV3$1 as DeclareTransactionV3, DeclaredClass$1 as DeclaredClass, type DeepPartial$1 as DeepPartial, DeployAccountTransactionReceipt$1 as DeployAccountTransactionReceipt, DeployAccountTransactionTrace$1 as DeployAccountTransactionTrace, DeployAccountTransactionV1$1 as DeployAccountTransactionV1, DeployAccountTransactionV3$1 as DeployAccountTransactionV3, DeployTransaction$1 as DeployTransaction, DeployTransactionReceipt$1 as DeployTransactionReceipt, DeployedContract$1 as DeployedContract, Event$1 as Event, ExecutionResources$1 as ExecutionResources, ExecutionReverted$1 as ExecutionReverted, data_ExecutionStatus as ExecutionStatus, ExecutionSucceeded$1 as ExecutionSucceeded, FeePayment$1 as FeePayment, data_FunctionCall as FunctionCall, FunctionInvocation$1 as FunctionInvocation, InvokeTransactionReceipt$1 as InvokeTransactionReceipt, InvokeTransactionTrace$1 as InvokeTransactionTrace, InvokeTransactionV0$1 as InvokeTransactionV0, InvokeTransactionV1$1 as InvokeTransactionV1, InvokeTransactionV3$1 as InvokeTransactionV3, L1DataAvailabilityMode$1 as L1DataAvailabilityMode, L1HandlerTransaction$1 as L1HandlerTransaction, L1HandlerTransactionReceipt$1 as L1HandlerTransactionReceipt, L1HandlerTransactionTrace$1 as L1HandlerTransactionTrace, MessageToL1$1 as MessageToL1, NonceUpdate$1 as NonceUpdate, PriceUnit$1 as PriceUnit, ReplacedClass$1 as ReplacedClass, ResourceBounds$1 as ResourceBounds, ResourceBoundsMapping$1 as ResourceBoundsMapping, ResourcePrice$1 as ResourcePrice, StorageDiff$1 as StorageDiff, StorageEntry$1 as StorageEntry, Transaction$1 as Transaction, TransactionMeta$1 as TransactionMeta, TransactionReceipt$1 as TransactionReceipt, TransactionReceiptMeta$1 as TransactionReceiptMeta, TransactionStatus$1 as TransactionStatus, TransactionTrace$1 as TransactionTrace, data_Uint128 as Uint128, data_callTypeFromJSON as callTypeFromJSON, data_callTypeToJSON as callTypeToJSON, data_dataAvailabilityModeFromJSON as dataAvailabilityModeFromJSON, data_dataAvailabilityModeToJSON as dataAvailabilityModeToJSON, data_executionStatusFromJSON as executionStatusFromJSON, data_executionStatusToJSON as executionStatusToJSON, data_l1DataAvailabilityModeFromJSON as l1DataAvailabilityModeFromJSON, data_l1DataAvailabilityModeToJSON as l1DataAvailabilityModeToJSON, data_priceUnitFromJSON as priceUnitFromJSON, data_priceUnitToJSON as priceUnitToJSON, protobufPackage$1 as protobufPackage, data_transactionStatusFromJSON as transactionStatusFromJSON, data_transactionStatusToJSON as transactionStatusToJSON };
|
|
854
984
|
}
|
|
855
985
|
|
|
856
986
|
declare const protobufPackage = "starknet.v2";
|
|
@@ -940,6 +1070,12 @@ interface EventFilter$1 {
|
|
|
940
1070
|
* Defaults to false.
|
|
941
1071
|
*/
|
|
942
1072
|
readonly includeSiblings?: boolean | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* Include the trace of the transaction that emitted the event.
|
|
1075
|
+
*
|
|
1076
|
+
* Defaults to false.
|
|
1077
|
+
*/
|
|
1078
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
943
1079
|
}
|
|
944
1080
|
declare const EventFilter$1: {
|
|
945
1081
|
encode(message: EventFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -998,6 +1134,12 @@ interface MessageToL1Filter$1 {
|
|
|
998
1134
|
* Defaults to false.
|
|
999
1135
|
*/
|
|
1000
1136
|
readonly includeSiblings?: boolean | undefined;
|
|
1137
|
+
/**
|
|
1138
|
+
* Include the trace of the transaction that sent the message.
|
|
1139
|
+
*
|
|
1140
|
+
* Defaults to false.
|
|
1141
|
+
*/
|
|
1142
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
1001
1143
|
}
|
|
1002
1144
|
declare const MessageToL1Filter$1: {
|
|
1003
1145
|
encode(message: MessageToL1Filter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1068,6 +1210,12 @@ interface TransactionFilter$1 {
|
|
|
1068
1210
|
readonly $case: "deployAccountV3";
|
|
1069
1211
|
readonly deployAccountV3: DeployAccountV3TransactionFilter$1;
|
|
1070
1212
|
} | undefined;
|
|
1213
|
+
/**
|
|
1214
|
+
* Flag to request the transaction's trace.
|
|
1215
|
+
*
|
|
1216
|
+
* Defaults to `false``.
|
|
1217
|
+
*/
|
|
1218
|
+
readonly includeTrace?: boolean | undefined;
|
|
1071
1219
|
}
|
|
1072
1220
|
declare const TransactionFilter$1: {
|
|
1073
1221
|
encode(message: TransactionFilter$1, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1292,1371 +1440,285 @@ declare namespace index {
|
|
|
1292
1440
|
export { index_common as common, index_data as data, index_filter as filter };
|
|
1293
1441
|
}
|
|
1294
1442
|
|
|
1295
|
-
/**
|
|
1443
|
+
/** Price of a unit of resource.
|
|
1296
1444
|
*
|
|
1297
|
-
*
|
|
1298
|
-
*
|
|
1299
|
-
* - `on_data_or_on_new_block`: receive headers only if any other filter matches and for "live" blocks.
|
|
1445
|
+
* @prop priceInFri The price in Fri (1e-18 STRK).
|
|
1446
|
+
* @prop priceInWei The price in Wei (1e-18 ETH).
|
|
1300
1447
|
*/
|
|
1301
|
-
declare const
|
|
1302
|
-
|
|
1303
|
-
/** An event key filter. Use `null` to match any event key. */
|
|
1304
|
-
declare const Key: Schema.transform<Schema.Struct<{
|
|
1305
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
1448
|
+
declare const ResourcePrice: Schema.Struct<{
|
|
1449
|
+
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1306
1450
|
x0: typeof Schema.BigIntFromSelf;
|
|
1307
1451
|
x1: typeof Schema.BigIntFromSelf;
|
|
1308
1452
|
x2: typeof Schema.BigIntFromSelf;
|
|
1309
1453
|
x3: typeof Schema.BigIntFromSelf;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1454
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1455
|
+
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1456
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1457
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1458
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1459
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1460
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1461
|
+
}>;
|
|
1462
|
+
type ResourcePrice = typeof ResourcePrice.Type;
|
|
1463
|
+
/** How data is posted to L1. */
|
|
1464
|
+
declare const L1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
1465
|
+
type L1DataAvailabilityMode = typeof L1DataAvailabilityMode.Type;
|
|
1466
|
+
declare const TransactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1467
|
+
type TransactionStatus = typeof TransactionStatus.Type;
|
|
1468
|
+
declare const U128: Schema.transform<Schema.Struct<{
|
|
1312
1469
|
x0: typeof Schema.BigIntFromSelf;
|
|
1313
1470
|
x1: typeof Schema.BigIntFromSelf;
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1471
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1472
|
+
type U128 = typeof U128.Type;
|
|
1473
|
+
declare const ResourceBounds: Schema.Struct<{
|
|
1474
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
1475
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
1476
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1477
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1478
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1479
|
+
}>;
|
|
1480
|
+
type ResourceBounds = typeof ResourceBounds.Type;
|
|
1481
|
+
declare const ResourceBoundsMapping: Schema.Struct<{
|
|
1482
|
+
l1Gas: Schema.Struct<{
|
|
1483
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
1484
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
1485
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1486
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1487
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1488
|
+
}>;
|
|
1489
|
+
l2Gas: Schema.Struct<{
|
|
1490
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
1491
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
1492
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1493
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1494
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1495
|
+
}>;
|
|
1496
|
+
}>;
|
|
1497
|
+
type ResourceBoundsMapping = typeof ResourceBoundsMapping.Type;
|
|
1498
|
+
declare const DataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
1499
|
+
type DataAvailabilityMode = typeof DataAvailabilityMode.Type;
|
|
1500
|
+
/** Starknet block header.
|
|
1321
1501
|
*
|
|
1322
|
-
* @prop
|
|
1323
|
-
* @prop
|
|
1324
|
-
* @prop
|
|
1325
|
-
*
|
|
1326
|
-
* @prop
|
|
1327
|
-
* @prop
|
|
1328
|
-
* @prop
|
|
1329
|
-
* @prop
|
|
1330
|
-
* @prop
|
|
1502
|
+
* @prop blockHash The hash of the block.
|
|
1503
|
+
* @prop parentBlockHash The hash of the parent block.
|
|
1504
|
+
* @prop blockNumber The block number.
|
|
1505
|
+
* @prop sequencerAddress The address of the sequencer.
|
|
1506
|
+
* @prop newRoot The new state root.
|
|
1507
|
+
* @prop timestamp The block timestamp.
|
|
1508
|
+
* @prop starknetVersion The Starknet version string.
|
|
1509
|
+
* @prop l1GasPrice Calldata gas price.
|
|
1510
|
+
* @prop l1DataGasPrice Blob gas price.
|
|
1511
|
+
* @prop l1DataAvailabilityMode How data is posted to L1.
|
|
1331
1512
|
*/
|
|
1332
|
-
declare const
|
|
1333
|
-
|
|
1334
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1513
|
+
declare const BlockHeader: Schema.Struct<{
|
|
1514
|
+
blockHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1335
1515
|
x0: typeof Schema.BigIntFromSelf;
|
|
1336
1516
|
x1: typeof Schema.BigIntFromSelf;
|
|
1337
1517
|
x2: typeof Schema.BigIntFromSelf;
|
|
1338
1518
|
x3: typeof Schema.BigIntFromSelf;
|
|
1339
1519
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1340
|
-
|
|
1341
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
1342
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1343
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1344
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1345
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1346
|
-
}>>;
|
|
1347
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
1520
|
+
parentBlockHash: Schema.transform<Schema.Struct<{
|
|
1348
1521
|
x0: typeof Schema.BigIntFromSelf;
|
|
1349
1522
|
x1: typeof Schema.BigIntFromSelf;
|
|
1350
1523
|
x2: typeof Schema.BigIntFromSelf;
|
|
1351
1524
|
x3: typeof Schema.BigIntFromSelf;
|
|
1352
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
1356
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1357
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1358
|
-
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
1359
|
-
}>;
|
|
1360
|
-
type EventFilter = typeof EventFilter.Type;
|
|
1361
|
-
/** Filter messages to L1.
|
|
1362
|
-
*
|
|
1363
|
-
* @prop fromAddress Filter messages by the sender address (on L2).
|
|
1364
|
-
* @prop toAddress Filter messages by the recipient address (on L1).
|
|
1365
|
-
* @prop transactionStatus Filter based on the transaction status.
|
|
1366
|
-
* @prop includeTransaction Include the transaction that sent the message.
|
|
1367
|
-
* @prop includeReceipt Include the transaction receipt.
|
|
1368
|
-
* @prop includeEvents Include events from the same transaction.
|
|
1369
|
-
*/
|
|
1370
|
-
declare const MessageToL1Filter: Schema.Struct<{
|
|
1371
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1372
|
-
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1525
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1526
|
+
blockNumber: typeof Schema.BigIntFromSelf;
|
|
1527
|
+
sequencerAddress: Schema.transform<Schema.Struct<{
|
|
1373
1528
|
x0: typeof Schema.BigIntFromSelf;
|
|
1374
1529
|
x1: typeof Schema.BigIntFromSelf;
|
|
1375
1530
|
x2: typeof Schema.BigIntFromSelf;
|
|
1376
1531
|
x3: typeof Schema.BigIntFromSelf;
|
|
1377
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1378
|
-
|
|
1532
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1533
|
+
newRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1379
1534
|
x0: typeof Schema.BigIntFromSelf;
|
|
1380
1535
|
x1: typeof Schema.BigIntFromSelf;
|
|
1381
1536
|
x2: typeof Schema.BigIntFromSelf;
|
|
1382
1537
|
x3: typeof Schema.BigIntFromSelf;
|
|
1383
1538
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1539
|
+
timestamp: typeof Schema.DateFromSelf;
|
|
1540
|
+
starknetVersion: typeof Schema.String;
|
|
1541
|
+
l1GasPrice: Schema.Struct<{
|
|
1542
|
+
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1543
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1544
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1545
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1546
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1547
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1548
|
+
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1549
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1550
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1551
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1552
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1553
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1554
|
+
}>;
|
|
1555
|
+
l1DataGasPrice: Schema.Struct<{
|
|
1556
|
+
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1557
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1558
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1559
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1560
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1561
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1562
|
+
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1563
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1564
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1565
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1566
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1567
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1568
|
+
}>;
|
|
1569
|
+
l1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
1403
1570
|
}>;
|
|
1404
|
-
type
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1571
|
+
type BlockHeader = typeof BlockHeader.Type;
|
|
1572
|
+
/** Transaction metadata.
|
|
1573
|
+
*
|
|
1574
|
+
* This is the information that is common between all transaction types.
|
|
1575
|
+
*
|
|
1576
|
+
* @prop transactionIndex The transaction index in the block.
|
|
1577
|
+
* @prop transactionHash The transaction hash.
|
|
1578
|
+
* @prop transactionStatus The transaction status.
|
|
1579
|
+
*/
|
|
1580
|
+
declare const TransactionMeta: Schema.Struct<{
|
|
1581
|
+
transactionIndex: typeof Schema.Number;
|
|
1582
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
1583
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1584
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1585
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1586
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1587
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1588
|
+
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
1408
1589
|
}>;
|
|
1409
|
-
type
|
|
1410
|
-
declare const
|
|
1411
|
-
_tag: Schema.PropertySignature<":", "
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
declare const DeclareV2TransactionFilter: Schema.Struct<{
|
|
1421
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
1422
|
-
declareV2: Schema.Struct<{}>;
|
|
1423
|
-
}>;
|
|
1424
|
-
type DeclareV2TransactionFilter = typeof DeclareV2TransactionFilter.Type;
|
|
1425
|
-
declare const DeclareV3TransactionFilter: Schema.Struct<{
|
|
1426
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1427
|
-
declareV3: Schema.Struct<{}>;
|
|
1428
|
-
}>;
|
|
1429
|
-
type DeclareV3TransactionFilter = typeof DeclareV3TransactionFilter.Type;
|
|
1430
|
-
declare const L1HandlerTransactionFilter: Schema.Struct<{
|
|
1431
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
1432
|
-
l1Handler: Schema.Struct<{}>;
|
|
1433
|
-
}>;
|
|
1434
|
-
type L1HandlerTransactionFilter = typeof L1HandlerTransactionFilter.Type;
|
|
1435
|
-
declare const DeployAccountV1TransactionFilter: Schema.Struct<{
|
|
1436
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1437
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
1438
|
-
}>;
|
|
1439
|
-
type DeployAccountV1TransactionFilter = typeof DeployAccountV1TransactionFilter.Type;
|
|
1440
|
-
declare const DeployAccountV3TransactionFilter: Schema.Struct<{
|
|
1441
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1442
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
1443
|
-
}>;
|
|
1444
|
-
type DeployAccountV3TransactionFilter = typeof DeployAccountV3TransactionFilter.Type;
|
|
1445
|
-
/** Filter transactions.
|
|
1446
|
-
*
|
|
1447
|
-
* @prop transactionStatus Filter based on the transaction status.
|
|
1448
|
-
* @prop includeReceipt Include the transaction receipt.
|
|
1449
|
-
* @prop includeEvents Include events from the same transaction.
|
|
1450
|
-
* @prop includeMessages Include messages sent in the transaction.
|
|
1451
|
-
*/
|
|
1452
|
-
declare const TransactionFilter: Schema.Struct<{
|
|
1453
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1454
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
1455
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1456
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1457
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
1458
|
-
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1459
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
1460
|
-
invokeV0: Schema.Struct<{}>;
|
|
1461
|
-
}>, Schema.Struct<{
|
|
1462
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
1463
|
-
invokeV1: Schema.Struct<{}>;
|
|
1464
|
-
}>, Schema.Struct<{
|
|
1465
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
1466
|
-
invokeV3: Schema.Struct<{}>;
|
|
1467
|
-
}>, Schema.Struct<{
|
|
1468
|
-
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
1469
|
-
deploy: Schema.Struct<{}>;
|
|
1470
|
-
}>, Schema.Struct<{
|
|
1471
|
-
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
1472
|
-
declareV0: Schema.Struct<{}>;
|
|
1473
|
-
}>, Schema.Struct<{
|
|
1474
|
-
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
1475
|
-
declareV1: Schema.Struct<{}>;
|
|
1476
|
-
}>, Schema.Struct<{
|
|
1477
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
1478
|
-
declareV2: Schema.Struct<{}>;
|
|
1479
|
-
}>, Schema.Struct<{
|
|
1480
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1481
|
-
declareV3: Schema.Struct<{}>;
|
|
1482
|
-
}>, Schema.Struct<{
|
|
1483
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1484
|
-
declareV3: Schema.Struct<{}>;
|
|
1485
|
-
}>, Schema.Struct<{
|
|
1486
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
1487
|
-
l1Handler: Schema.Struct<{}>;
|
|
1488
|
-
}>, Schema.Struct<{
|
|
1489
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1490
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
1491
|
-
}>, Schema.Struct<{
|
|
1492
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1493
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
1494
|
-
}>]>>;
|
|
1495
|
-
}>;
|
|
1496
|
-
type TransactionFilter = typeof TransactionFilter.Type;
|
|
1497
|
-
/** Filter storage diffs.
|
|
1498
|
-
*
|
|
1499
|
-
* @prop contractAddress Filter by contract address.
|
|
1500
|
-
*/
|
|
1501
|
-
declare const StorageDiffFilter: Schema.Struct<{
|
|
1502
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1503
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1504
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1505
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1506
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1507
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1508
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1509
|
-
}>;
|
|
1510
|
-
type StorageDiffFilter = typeof StorageDiffFilter.Type;
|
|
1511
|
-
/** Filter declared classes. */
|
|
1512
|
-
declare const DeclaredClassFilter: Schema.Struct<{
|
|
1513
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
1514
|
-
declaredClass: Schema.Struct<{}>;
|
|
1515
|
-
}>;
|
|
1516
|
-
type DeclaredClassFilter = typeof DeclaredClassFilter.Type;
|
|
1517
|
-
declare const ReplacedClassFilter: Schema.Struct<{
|
|
1518
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
1519
|
-
replacedClass: Schema.Struct<{}>;
|
|
1520
|
-
}>;
|
|
1521
|
-
type ReplacedClassFilter = typeof ReplacedClassFilter.Type;
|
|
1522
|
-
declare const DeployedContractFilter: Schema.Struct<{
|
|
1523
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
1524
|
-
deployedContract: Schema.Struct<{}>;
|
|
1525
|
-
}>;
|
|
1526
|
-
type DeployedContractFilter = typeof DeployedContractFilter.Type;
|
|
1527
|
-
/** Filter contract changes. */
|
|
1528
|
-
declare const ContractChangeFilter: Schema.Struct<{
|
|
1529
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1530
|
-
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1531
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
1532
|
-
declaredClass: Schema.Struct<{}>;
|
|
1533
|
-
}>, Schema.Struct<{
|
|
1534
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
1535
|
-
replacedClass: Schema.Struct<{}>;
|
|
1536
|
-
}>, Schema.Struct<{
|
|
1537
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
1538
|
-
deployedContract: Schema.Struct<{}>;
|
|
1539
|
-
}>]>>;
|
|
1540
|
-
}>;
|
|
1541
|
-
type ContractChangeFilter = typeof ContractChangeFilter.Type;
|
|
1542
|
-
/** Filter updates to nonces.
|
|
1543
|
-
*
|
|
1544
|
-
* @prop contractAddress Filter by contract address.
|
|
1545
|
-
*/
|
|
1546
|
-
declare const NonceUpdateFilter: Schema.Struct<{
|
|
1547
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1548
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1549
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1550
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1551
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1552
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1553
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1554
|
-
}>;
|
|
1555
|
-
type NonceUpdateFilter = typeof NonceUpdateFilter.Type;
|
|
1556
|
-
declare const Filter: Schema.Struct<{
|
|
1557
|
-
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
1558
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1559
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1560
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
1561
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1562
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1563
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
1564
|
-
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1565
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
1566
|
-
invokeV0: Schema.Struct<{}>;
|
|
1567
|
-
}>, Schema.Struct<{
|
|
1568
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
1569
|
-
invokeV1: Schema.Struct<{}>;
|
|
1570
|
-
}>, Schema.Struct<{
|
|
1571
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
1572
|
-
invokeV3: Schema.Struct<{}>;
|
|
1573
|
-
}>, Schema.Struct<{
|
|
1574
|
-
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
1575
|
-
deploy: Schema.Struct<{}>;
|
|
1576
|
-
}>, Schema.Struct<{
|
|
1577
|
-
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
1578
|
-
declareV0: Schema.Struct<{}>;
|
|
1579
|
-
}>, Schema.Struct<{
|
|
1580
|
-
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
1581
|
-
declareV1: Schema.Struct<{}>;
|
|
1582
|
-
}>, Schema.Struct<{
|
|
1583
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
1584
|
-
declareV2: Schema.Struct<{}>;
|
|
1585
|
-
}>, Schema.Struct<{
|
|
1586
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1587
|
-
declareV3: Schema.Struct<{}>;
|
|
1588
|
-
}>, Schema.Struct<{
|
|
1589
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1590
|
-
declareV3: Schema.Struct<{}>;
|
|
1591
|
-
}>, Schema.Struct<{
|
|
1592
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
1593
|
-
l1Handler: Schema.Struct<{}>;
|
|
1594
|
-
}>, Schema.Struct<{
|
|
1595
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1596
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
1597
|
-
}>, Schema.Struct<{
|
|
1598
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1599
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
1600
|
-
}>]>>;
|
|
1601
|
-
}>>>;
|
|
1602
|
-
events: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1603
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1604
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1590
|
+
type TransactionMeta = typeof TransactionMeta.Type;
|
|
1591
|
+
declare const InvokeTransactionV0: Schema.Struct<{
|
|
1592
|
+
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
1593
|
+
invokeV0: Schema.Struct<{
|
|
1594
|
+
maxFee: Schema.transform<Schema.Struct<{
|
|
1595
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1596
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1597
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1598
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1599
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1600
|
+
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1605
1601
|
x0: typeof Schema.BigIntFromSelf;
|
|
1606
1602
|
x1: typeof Schema.BigIntFromSelf;
|
|
1607
1603
|
x2: typeof Schema.BigIntFromSelf;
|
|
1608
1604
|
x3: typeof Schema.BigIntFromSelf;
|
|
1609
1605
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1610
|
-
|
|
1611
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
1612
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1613
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1614
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1615
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1616
|
-
}>>;
|
|
1617
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
1606
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
1618
1607
|
x0: typeof Schema.BigIntFromSelf;
|
|
1619
1608
|
x1: typeof Schema.BigIntFromSelf;
|
|
1620
1609
|
x2: typeof Schema.BigIntFromSelf;
|
|
1621
1610
|
x3: typeof Schema.BigIntFromSelf;
|
|
1622
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1623
|
-
|
|
1624
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
1625
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
1626
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1627
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1628
|
-
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
1629
|
-
}>>>;
|
|
1630
|
-
messages: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1631
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1632
|
-
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1611
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1612
|
+
entryPointSelector: Schema.transform<Schema.Struct<{
|
|
1633
1613
|
x0: typeof Schema.BigIntFromSelf;
|
|
1634
1614
|
x1: typeof Schema.BigIntFromSelf;
|
|
1635
1615
|
x2: typeof Schema.BigIntFromSelf;
|
|
1636
1616
|
x3: typeof Schema.BigIntFromSelf;
|
|
1637
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1638
|
-
|
|
1617
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1618
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1639
1619
|
x0: typeof Schema.BigIntFromSelf;
|
|
1640
1620
|
x1: typeof Schema.BigIntFromSelf;
|
|
1641
1621
|
x2: typeof Schema.BigIntFromSelf;
|
|
1642
1622
|
x3: typeof Schema.BigIntFromSelf;
|
|
1643
1623
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1624
|
+
}>;
|
|
1625
|
+
}>;
|
|
1626
|
+
type InvokeTransactionV0 = typeof InvokeTransactionV0.Type;
|
|
1627
|
+
declare const InvokeTransactionV1: Schema.Struct<{
|
|
1628
|
+
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
1629
|
+
invokeV1: Schema.Struct<{
|
|
1630
|
+
senderAddress: Schema.transform<Schema.Struct<{
|
|
1631
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1632
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1633
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1634
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1635
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1636
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1652
1637
|
x0: typeof Schema.BigIntFromSelf;
|
|
1653
1638
|
x1: typeof Schema.BigIntFromSelf;
|
|
1654
1639
|
x2: typeof Schema.BigIntFromSelf;
|
|
1655
1640
|
x3: typeof Schema.BigIntFromSelf;
|
|
1656
1641
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
1665
|
-
replacedClass: Schema.Struct<{}>;
|
|
1666
|
-
}>, Schema.Struct<{
|
|
1667
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
1668
|
-
deployedContract: Schema.Struct<{}>;
|
|
1669
|
-
}>]>>;
|
|
1670
|
-
}>>>;
|
|
1671
|
-
nonceUpdates: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1672
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1673
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1642
|
+
maxFee: Schema.transform<Schema.Struct<{
|
|
1643
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1644
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1645
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1646
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1647
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1648
|
+
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1674
1649
|
x0: typeof Schema.BigIntFromSelf;
|
|
1675
1650
|
x1: typeof Schema.BigIntFromSelf;
|
|
1676
1651
|
x2: typeof Schema.BigIntFromSelf;
|
|
1677
1652
|
x3: typeof Schema.BigIntFromSelf;
|
|
1678
1653
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1679
|
-
|
|
1654
|
+
nonce: Schema.transform<Schema.Struct<{
|
|
1655
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1656
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1657
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
1658
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
1659
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1660
|
+
}>;
|
|
1680
1661
|
}>;
|
|
1681
|
-
type
|
|
1682
|
-
declare const
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1687
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1688
|
-
readonly includeMessages?: boolean | undefined;
|
|
1689
|
-
readonly includeEvents?: boolean | undefined;
|
|
1690
|
-
readonly transactionType?: {
|
|
1691
|
-
readonly _tag: "invokeV0";
|
|
1692
|
-
readonly invokeV0: {};
|
|
1693
|
-
} | {
|
|
1694
|
-
readonly _tag: "invokeV1";
|
|
1695
|
-
readonly invokeV1: {};
|
|
1696
|
-
} | {
|
|
1697
|
-
readonly _tag: "invokeV3";
|
|
1698
|
-
readonly invokeV3: {};
|
|
1699
|
-
} | {
|
|
1700
|
-
readonly _tag: "deploy";
|
|
1701
|
-
readonly deploy: {};
|
|
1702
|
-
} | {
|
|
1703
|
-
readonly _tag: "declareV0";
|
|
1704
|
-
readonly declareV0: {};
|
|
1705
|
-
} | {
|
|
1706
|
-
readonly _tag: "declareV1";
|
|
1707
|
-
readonly declareV1: {};
|
|
1708
|
-
} | {
|
|
1709
|
-
readonly _tag: "declareV2";
|
|
1710
|
-
readonly declareV2: {};
|
|
1711
|
-
} | {
|
|
1712
|
-
readonly _tag: "declareV3";
|
|
1713
|
-
readonly declareV3: {};
|
|
1714
|
-
} | {
|
|
1715
|
-
readonly _tag: "l1Handler";
|
|
1716
|
-
readonly l1Handler: {};
|
|
1717
|
-
} | {
|
|
1718
|
-
readonly _tag: "deployAccountV1";
|
|
1719
|
-
readonly deployAccountV1: {};
|
|
1720
|
-
} | {
|
|
1721
|
-
readonly _tag: "deployAccountV3";
|
|
1722
|
-
readonly deployAccountV3: {};
|
|
1723
|
-
} | undefined;
|
|
1724
|
-
}[] | undefined;
|
|
1725
|
-
readonly events?: readonly {
|
|
1726
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
1727
|
-
readonly id?: number | undefined;
|
|
1728
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1729
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1730
|
-
readonly includeMessages?: boolean | undefined;
|
|
1731
|
-
readonly address?: `0x${string}` | undefined;
|
|
1732
|
-
readonly strict?: boolean | undefined;
|
|
1733
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1734
|
-
readonly includeSiblings?: boolean | undefined;
|
|
1735
|
-
}[] | undefined;
|
|
1736
|
-
readonly messages?: readonly {
|
|
1737
|
-
readonly id?: number | undefined;
|
|
1738
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1739
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1740
|
-
readonly includeEvents?: boolean | undefined;
|
|
1741
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1742
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
1743
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
1744
|
-
}[] | undefined;
|
|
1745
|
-
readonly storageDiffs?: readonly {
|
|
1746
|
-
readonly id?: number | undefined;
|
|
1747
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
1748
|
-
}[] | undefined;
|
|
1749
|
-
readonly contractChanges?: readonly {
|
|
1750
|
-
readonly id?: number | undefined;
|
|
1751
|
-
readonly change?: {
|
|
1752
|
-
readonly _tag: "declaredClass";
|
|
1753
|
-
readonly declaredClass: {};
|
|
1754
|
-
} | {
|
|
1755
|
-
readonly _tag: "replacedClass";
|
|
1756
|
-
readonly replacedClass: {};
|
|
1757
|
-
} | {
|
|
1758
|
-
readonly _tag: "deployedContract";
|
|
1759
|
-
readonly deployedContract: {};
|
|
1760
|
-
} | undefined;
|
|
1761
|
-
}[] | undefined;
|
|
1762
|
-
readonly nonceUpdates?: readonly {
|
|
1763
|
-
readonly id?: number | undefined;
|
|
1764
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
1765
|
-
}[] | undefined;
|
|
1766
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
1767
|
-
readonly header?: HeaderFilter$1 | undefined;
|
|
1768
|
-
readonly transactions?: readonly {
|
|
1769
|
-
readonly id?: number | undefined;
|
|
1770
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1771
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1772
|
-
readonly includeMessages?: boolean | undefined;
|
|
1773
|
-
readonly includeEvents?: boolean | undefined;
|
|
1774
|
-
readonly transactionType?: {
|
|
1775
|
-
readonly $case: "invokeV0";
|
|
1776
|
-
readonly invokeV0: {};
|
|
1777
|
-
} | {
|
|
1778
|
-
readonly $case: "invokeV1";
|
|
1779
|
-
readonly invokeV1: {};
|
|
1780
|
-
} | {
|
|
1781
|
-
readonly $case: "invokeV3";
|
|
1782
|
-
readonly invokeV3: {};
|
|
1783
|
-
} | {
|
|
1784
|
-
readonly $case: "deploy";
|
|
1785
|
-
readonly deploy: {};
|
|
1786
|
-
} | {
|
|
1787
|
-
readonly $case: "declareV0";
|
|
1788
|
-
readonly declareV0: {};
|
|
1789
|
-
} | {
|
|
1790
|
-
readonly $case: "declareV1";
|
|
1791
|
-
readonly declareV1: {};
|
|
1792
|
-
} | {
|
|
1793
|
-
readonly $case: "declareV2";
|
|
1794
|
-
readonly declareV2: {};
|
|
1795
|
-
} | {
|
|
1796
|
-
readonly $case: "declareV3";
|
|
1797
|
-
readonly declareV3: {};
|
|
1798
|
-
} | {
|
|
1799
|
-
readonly $case: "l1Handler";
|
|
1800
|
-
readonly l1Handler: {};
|
|
1801
|
-
} | {
|
|
1802
|
-
readonly $case: "deployAccountV1";
|
|
1803
|
-
readonly deployAccountV1: {};
|
|
1804
|
-
} | {
|
|
1805
|
-
readonly $case: "deployAccountV3";
|
|
1806
|
-
readonly deployAccountV3: {};
|
|
1807
|
-
} | undefined;
|
|
1808
|
-
}[] | undefined;
|
|
1809
|
-
readonly events?: readonly {
|
|
1810
|
-
readonly keys?: readonly {
|
|
1811
|
-
readonly value: {
|
|
1812
|
-
readonly x0: bigint;
|
|
1813
|
-
readonly x1: bigint;
|
|
1814
|
-
readonly x2: bigint;
|
|
1815
|
-
readonly x3: bigint;
|
|
1816
|
-
} | undefined;
|
|
1817
|
-
}[] | undefined;
|
|
1818
|
-
readonly id?: number | undefined;
|
|
1819
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1820
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1821
|
-
readonly includeMessages?: boolean | undefined;
|
|
1822
|
-
readonly address?: {
|
|
1823
|
-
readonly x0: bigint;
|
|
1824
|
-
readonly x1: bigint;
|
|
1825
|
-
readonly x2: bigint;
|
|
1826
|
-
readonly x3: bigint;
|
|
1827
|
-
} | undefined;
|
|
1828
|
-
readonly strict?: boolean | undefined;
|
|
1829
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1830
|
-
readonly includeSiblings?: boolean | undefined;
|
|
1831
|
-
}[] | undefined;
|
|
1832
|
-
readonly messages?: readonly {
|
|
1833
|
-
readonly id?: number | undefined;
|
|
1834
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1835
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1836
|
-
readonly includeEvents?: boolean | undefined;
|
|
1837
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1838
|
-
readonly fromAddress?: {
|
|
1839
|
-
readonly x0: bigint;
|
|
1840
|
-
readonly x1: bigint;
|
|
1841
|
-
readonly x2: bigint;
|
|
1842
|
-
readonly x3: bigint;
|
|
1843
|
-
} | undefined;
|
|
1844
|
-
readonly toAddress?: {
|
|
1845
|
-
readonly x0: bigint;
|
|
1846
|
-
readonly x1: bigint;
|
|
1847
|
-
readonly x2: bigint;
|
|
1848
|
-
readonly x3: bigint;
|
|
1849
|
-
} | undefined;
|
|
1850
|
-
}[] | undefined;
|
|
1851
|
-
readonly storageDiffs?: readonly {
|
|
1852
|
-
readonly id?: number | undefined;
|
|
1853
|
-
readonly contractAddress?: {
|
|
1854
|
-
readonly x0: bigint;
|
|
1855
|
-
readonly x1: bigint;
|
|
1856
|
-
readonly x2: bigint;
|
|
1857
|
-
readonly x3: bigint;
|
|
1858
|
-
} | undefined;
|
|
1859
|
-
}[] | undefined;
|
|
1860
|
-
readonly contractChanges?: readonly {
|
|
1861
|
-
readonly id?: number | undefined;
|
|
1862
|
-
readonly change?: {
|
|
1863
|
-
readonly $case: "declaredClass";
|
|
1864
|
-
readonly declaredClass: {};
|
|
1865
|
-
} | {
|
|
1866
|
-
readonly $case: "replacedClass";
|
|
1867
|
-
readonly replacedClass: {};
|
|
1868
|
-
} | {
|
|
1869
|
-
readonly $case: "deployedContract";
|
|
1870
|
-
readonly deployedContract: {};
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
}[] | undefined;
|
|
1873
|
-
readonly nonceUpdates?: readonly {
|
|
1874
|
-
readonly id?: number | undefined;
|
|
1875
|
-
readonly contractAddress?: {
|
|
1876
|
-
readonly x0: bigint;
|
|
1877
|
-
readonly x1: bigint;
|
|
1878
|
-
readonly x2: bigint;
|
|
1879
|
-
readonly x3: bigint;
|
|
1880
|
-
} | undefined;
|
|
1881
|
-
}[] | undefined;
|
|
1882
|
-
};
|
|
1883
|
-
declare const filterFromProto: (i: {
|
|
1884
|
-
readonly header?: HeaderFilter$1 | undefined;
|
|
1885
|
-
readonly transactions?: readonly {
|
|
1886
|
-
readonly id?: number | undefined;
|
|
1887
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1888
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1889
|
-
readonly includeMessages?: boolean | undefined;
|
|
1890
|
-
readonly includeEvents?: boolean | undefined;
|
|
1891
|
-
readonly transactionType?: {
|
|
1892
|
-
readonly $case: "invokeV0";
|
|
1893
|
-
readonly invokeV0: {};
|
|
1894
|
-
} | {
|
|
1895
|
-
readonly $case: "invokeV1";
|
|
1896
|
-
readonly invokeV1: {};
|
|
1897
|
-
} | {
|
|
1898
|
-
readonly $case: "invokeV3";
|
|
1899
|
-
readonly invokeV3: {};
|
|
1900
|
-
} | {
|
|
1901
|
-
readonly $case: "deploy";
|
|
1902
|
-
readonly deploy: {};
|
|
1903
|
-
} | {
|
|
1904
|
-
readonly $case: "declareV0";
|
|
1905
|
-
readonly declareV0: {};
|
|
1906
|
-
} | {
|
|
1907
|
-
readonly $case: "declareV1";
|
|
1908
|
-
readonly declareV1: {};
|
|
1909
|
-
} | {
|
|
1910
|
-
readonly $case: "declareV2";
|
|
1911
|
-
readonly declareV2: {};
|
|
1912
|
-
} | {
|
|
1913
|
-
readonly $case: "declareV3";
|
|
1914
|
-
readonly declareV3: {};
|
|
1915
|
-
} | {
|
|
1916
|
-
readonly $case: "l1Handler";
|
|
1917
|
-
readonly l1Handler: {};
|
|
1918
|
-
} | {
|
|
1919
|
-
readonly $case: "deployAccountV1";
|
|
1920
|
-
readonly deployAccountV1: {};
|
|
1921
|
-
} | {
|
|
1922
|
-
readonly $case: "deployAccountV3";
|
|
1923
|
-
readonly deployAccountV3: {};
|
|
1924
|
-
} | undefined;
|
|
1925
|
-
}[] | undefined;
|
|
1926
|
-
readonly events?: readonly {
|
|
1927
|
-
readonly keys?: readonly {
|
|
1928
|
-
readonly value: {
|
|
1929
|
-
readonly x0: bigint;
|
|
1930
|
-
readonly x1: bigint;
|
|
1931
|
-
readonly x2: bigint;
|
|
1932
|
-
readonly x3: bigint;
|
|
1933
|
-
} | undefined;
|
|
1934
|
-
}[] | undefined;
|
|
1935
|
-
readonly id?: number | undefined;
|
|
1936
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1937
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1938
|
-
readonly includeMessages?: boolean | undefined;
|
|
1939
|
-
readonly address?: {
|
|
1940
|
-
readonly x0: bigint;
|
|
1941
|
-
readonly x1: bigint;
|
|
1942
|
-
readonly x2: bigint;
|
|
1943
|
-
readonly x3: bigint;
|
|
1944
|
-
} | undefined;
|
|
1945
|
-
readonly strict?: boolean | undefined;
|
|
1946
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1947
|
-
readonly includeSiblings?: boolean | undefined;
|
|
1948
|
-
}[] | undefined;
|
|
1949
|
-
readonly messages?: readonly {
|
|
1950
|
-
readonly id?: number | undefined;
|
|
1951
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1952
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1953
|
-
readonly includeEvents?: boolean | undefined;
|
|
1954
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1955
|
-
readonly fromAddress?: {
|
|
1956
|
-
readonly x0: bigint;
|
|
1957
|
-
readonly x1: bigint;
|
|
1958
|
-
readonly x2: bigint;
|
|
1959
|
-
readonly x3: bigint;
|
|
1960
|
-
} | undefined;
|
|
1961
|
-
readonly toAddress?: {
|
|
1962
|
-
readonly x0: bigint;
|
|
1963
|
-
readonly x1: bigint;
|
|
1964
|
-
readonly x2: bigint;
|
|
1965
|
-
readonly x3: bigint;
|
|
1966
|
-
} | undefined;
|
|
1967
|
-
}[] | undefined;
|
|
1968
|
-
readonly storageDiffs?: readonly {
|
|
1969
|
-
readonly id?: number | undefined;
|
|
1970
|
-
readonly contractAddress?: {
|
|
1971
|
-
readonly x0: bigint;
|
|
1972
|
-
readonly x1: bigint;
|
|
1973
|
-
readonly x2: bigint;
|
|
1974
|
-
readonly x3: bigint;
|
|
1975
|
-
} | undefined;
|
|
1976
|
-
}[] | undefined;
|
|
1977
|
-
readonly contractChanges?: readonly {
|
|
1978
|
-
readonly id?: number | undefined;
|
|
1979
|
-
readonly change?: {
|
|
1980
|
-
readonly $case: "declaredClass";
|
|
1981
|
-
readonly declaredClass: {};
|
|
1982
|
-
} | {
|
|
1983
|
-
readonly $case: "replacedClass";
|
|
1984
|
-
readonly replacedClass: {};
|
|
1985
|
-
} | {
|
|
1986
|
-
readonly $case: "deployedContract";
|
|
1987
|
-
readonly deployedContract: {};
|
|
1988
|
-
} | undefined;
|
|
1989
|
-
}[] | undefined;
|
|
1990
|
-
readonly nonceUpdates?: readonly {
|
|
1991
|
-
readonly id?: number | undefined;
|
|
1992
|
-
readonly contractAddress?: {
|
|
1993
|
-
readonly x0: bigint;
|
|
1994
|
-
readonly x1: bigint;
|
|
1995
|
-
readonly x2: bigint;
|
|
1996
|
-
readonly x3: bigint;
|
|
1997
|
-
} | undefined;
|
|
1998
|
-
}[] | undefined;
|
|
1999
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
2000
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
2001
|
-
readonly transactions?: readonly {
|
|
2002
|
-
readonly id?: number | undefined;
|
|
2003
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2004
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2005
|
-
readonly includeMessages?: boolean | undefined;
|
|
2006
|
-
readonly includeEvents?: boolean | undefined;
|
|
2007
|
-
readonly transactionType?: {
|
|
2008
|
-
readonly _tag: "invokeV0";
|
|
2009
|
-
readonly invokeV0: {};
|
|
2010
|
-
} | {
|
|
2011
|
-
readonly _tag: "invokeV1";
|
|
2012
|
-
readonly invokeV1: {};
|
|
2013
|
-
} | {
|
|
2014
|
-
readonly _tag: "invokeV3";
|
|
2015
|
-
readonly invokeV3: {};
|
|
2016
|
-
} | {
|
|
2017
|
-
readonly _tag: "deploy";
|
|
2018
|
-
readonly deploy: {};
|
|
2019
|
-
} | {
|
|
2020
|
-
readonly _tag: "declareV0";
|
|
2021
|
-
readonly declareV0: {};
|
|
2022
|
-
} | {
|
|
2023
|
-
readonly _tag: "declareV1";
|
|
2024
|
-
readonly declareV1: {};
|
|
2025
|
-
} | {
|
|
2026
|
-
readonly _tag: "declareV2";
|
|
2027
|
-
readonly declareV2: {};
|
|
2028
|
-
} | {
|
|
2029
|
-
readonly _tag: "declareV3";
|
|
2030
|
-
readonly declareV3: {};
|
|
2031
|
-
} | {
|
|
2032
|
-
readonly _tag: "l1Handler";
|
|
2033
|
-
readonly l1Handler: {};
|
|
2034
|
-
} | {
|
|
2035
|
-
readonly _tag: "deployAccountV1";
|
|
2036
|
-
readonly deployAccountV1: {};
|
|
2037
|
-
} | {
|
|
2038
|
-
readonly _tag: "deployAccountV3";
|
|
2039
|
-
readonly deployAccountV3: {};
|
|
2040
|
-
} | undefined;
|
|
2041
|
-
}[] | undefined;
|
|
2042
|
-
readonly events?: readonly {
|
|
2043
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2044
|
-
readonly id?: number | undefined;
|
|
2045
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2046
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2047
|
-
readonly includeMessages?: boolean | undefined;
|
|
2048
|
-
readonly address?: `0x${string}` | undefined;
|
|
2049
|
-
readonly strict?: boolean | undefined;
|
|
2050
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2051
|
-
readonly includeSiblings?: boolean | undefined;
|
|
2052
|
-
}[] | undefined;
|
|
2053
|
-
readonly messages?: readonly {
|
|
2054
|
-
readonly id?: number | undefined;
|
|
2055
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2056
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2057
|
-
readonly includeEvents?: boolean | undefined;
|
|
2058
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2059
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2060
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2061
|
-
}[] | undefined;
|
|
2062
|
-
readonly storageDiffs?: readonly {
|
|
2063
|
-
readonly id?: number | undefined;
|
|
2064
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2065
|
-
}[] | undefined;
|
|
2066
|
-
readonly contractChanges?: readonly {
|
|
2067
|
-
readonly id?: number | undefined;
|
|
2068
|
-
readonly change?: {
|
|
2069
|
-
readonly _tag: "declaredClass";
|
|
2070
|
-
readonly declaredClass: {};
|
|
2071
|
-
} | {
|
|
2072
|
-
readonly _tag: "replacedClass";
|
|
2073
|
-
readonly replacedClass: {};
|
|
2074
|
-
} | {
|
|
2075
|
-
readonly _tag: "deployedContract";
|
|
2076
|
-
readonly deployedContract: {};
|
|
2077
|
-
} | undefined;
|
|
2078
|
-
}[] | undefined;
|
|
2079
|
-
readonly nonceUpdates?: readonly {
|
|
2080
|
-
readonly id?: number | undefined;
|
|
2081
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2082
|
-
}[] | undefined;
|
|
2083
|
-
};
|
|
2084
|
-
declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
|
|
2085
|
-
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
2086
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2087
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2088
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
2089
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
2090
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
2091
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
2092
|
-
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
2093
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
2094
|
-
invokeV0: Schema.Struct<{}>;
|
|
2095
|
-
}>, Schema.Struct<{
|
|
2096
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
2097
|
-
invokeV1: Schema.Struct<{}>;
|
|
2098
|
-
}>, Schema.Struct<{
|
|
2099
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
2100
|
-
invokeV3: Schema.Struct<{}>;
|
|
2101
|
-
}>, Schema.Struct<{
|
|
2102
|
-
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
2103
|
-
deploy: Schema.Struct<{}>;
|
|
2104
|
-
}>, Schema.Struct<{
|
|
2105
|
-
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
2106
|
-
declareV0: Schema.Struct<{}>;
|
|
2107
|
-
}>, Schema.Struct<{
|
|
2108
|
-
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
2109
|
-
declareV1: Schema.Struct<{}>;
|
|
2110
|
-
}>, Schema.Struct<{
|
|
2111
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
2112
|
-
declareV2: Schema.Struct<{}>;
|
|
2113
|
-
}>, Schema.Struct<{
|
|
2114
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
2115
|
-
declareV3: Schema.Struct<{}>;
|
|
2116
|
-
}>, Schema.Struct<{
|
|
2117
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
2118
|
-
declareV3: Schema.Struct<{}>;
|
|
2119
|
-
}>, Schema.Struct<{
|
|
2120
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
2121
|
-
l1Handler: Schema.Struct<{}>;
|
|
2122
|
-
}>, Schema.Struct<{
|
|
2123
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
2124
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
2125
|
-
}>, Schema.Struct<{
|
|
2126
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
2127
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
2128
|
-
}>]>>;
|
|
2129
|
-
}>>>;
|
|
2130
|
-
events: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2131
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2132
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1662
|
+
type InvokeTransactionV1 = typeof InvokeTransactionV1.Type;
|
|
1663
|
+
declare const InvokeTransactionV3: Schema.Struct<{
|
|
1664
|
+
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
1665
|
+
invokeV3: Schema.Struct<{
|
|
1666
|
+
senderAddress: Schema.transform<Schema.Struct<{
|
|
2133
1667
|
x0: typeof Schema.BigIntFromSelf;
|
|
2134
1668
|
x1: typeof Schema.BigIntFromSelf;
|
|
2135
1669
|
x2: typeof Schema.BigIntFromSelf;
|
|
2136
1670
|
x3: typeof Schema.BigIntFromSelf;
|
|
2137
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
2138
|
-
|
|
2139
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
2140
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2141
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2142
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2143
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2144
|
-
}>>;
|
|
2145
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
1671
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1672
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2146
1673
|
x0: typeof Schema.BigIntFromSelf;
|
|
2147
1674
|
x1: typeof Schema.BigIntFromSelf;
|
|
2148
1675
|
x2: typeof Schema.BigIntFromSelf;
|
|
2149
1676
|
x3: typeof Schema.BigIntFromSelf;
|
|
2150
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
2151
|
-
|
|
2152
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
2153
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
2154
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
2155
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
2156
|
-
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
2157
|
-
}>>>;
|
|
2158
|
-
messages: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2159
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2160
|
-
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1677
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1678
|
+
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2161
1679
|
x0: typeof Schema.BigIntFromSelf;
|
|
2162
1680
|
x1: typeof Schema.BigIntFromSelf;
|
|
2163
1681
|
x2: typeof Schema.BigIntFromSelf;
|
|
2164
1682
|
x3: typeof Schema.BigIntFromSelf;
|
|
2165
1683
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2166
|
-
|
|
1684
|
+
nonce: Schema.transform<Schema.Struct<{
|
|
2167
1685
|
x0: typeof Schema.BigIntFromSelf;
|
|
2168
1686
|
x1: typeof Schema.BigIntFromSelf;
|
|
2169
1687
|
x2: typeof Schema.BigIntFromSelf;
|
|
2170
1688
|
x3: typeof Schema.BigIntFromSelf;
|
|
2171
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
1689
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1690
|
+
resourceBounds: Schema.Struct<{
|
|
1691
|
+
l1Gas: Schema.Struct<{
|
|
1692
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
1693
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
1694
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1695
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1696
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1697
|
+
}>;
|
|
1698
|
+
l2Gas: Schema.Struct<{
|
|
1699
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
1700
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
1701
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
1702
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
1703
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
1704
|
+
}>;
|
|
1705
|
+
}>;
|
|
1706
|
+
tip: typeof Schema.BigIntFromSelf;
|
|
1707
|
+
paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2180
1708
|
x0: typeof Schema.BigIntFromSelf;
|
|
2181
1709
|
x1: typeof Schema.BigIntFromSelf;
|
|
2182
1710
|
x2: typeof Schema.BigIntFromSelf;
|
|
2183
1711
|
x3: typeof Schema.BigIntFromSelf;
|
|
2184
1712
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2185
|
-
|
|
2186
|
-
contractChanges: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2187
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2188
|
-
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
2189
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
2190
|
-
declaredClass: Schema.Struct<{}>;
|
|
2191
|
-
}>, Schema.Struct<{
|
|
2192
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
2193
|
-
replacedClass: Schema.Struct<{}>;
|
|
2194
|
-
}>, Schema.Struct<{
|
|
2195
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
2196
|
-
deployedContract: Schema.Struct<{}>;
|
|
2197
|
-
}>]>>;
|
|
2198
|
-
}>>>;
|
|
2199
|
-
nonceUpdates: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2200
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2201
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1713
|
+
accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2202
1714
|
x0: typeof Schema.BigIntFromSelf;
|
|
2203
1715
|
x1: typeof Schema.BigIntFromSelf;
|
|
2204
1716
|
x2: typeof Schema.BigIntFromSelf;
|
|
2205
1717
|
x3: typeof Schema.BigIntFromSelf;
|
|
2206
1718
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
2211
|
-
readonly transactions?: readonly {
|
|
2212
|
-
readonly id?: number | undefined;
|
|
2213
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2214
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2215
|
-
readonly includeMessages?: boolean | undefined;
|
|
2216
|
-
readonly includeEvents?: boolean | undefined;
|
|
2217
|
-
readonly transactionType?: {
|
|
2218
|
-
readonly _tag: "invokeV0";
|
|
2219
|
-
readonly invokeV0: {};
|
|
2220
|
-
} | {
|
|
2221
|
-
readonly _tag: "invokeV1";
|
|
2222
|
-
readonly invokeV1: {};
|
|
2223
|
-
} | {
|
|
2224
|
-
readonly _tag: "invokeV3";
|
|
2225
|
-
readonly invokeV3: {};
|
|
2226
|
-
} | {
|
|
2227
|
-
readonly _tag: "deploy";
|
|
2228
|
-
readonly deploy: {};
|
|
2229
|
-
} | {
|
|
2230
|
-
readonly _tag: "declareV0";
|
|
2231
|
-
readonly declareV0: {};
|
|
2232
|
-
} | {
|
|
2233
|
-
readonly _tag: "declareV1";
|
|
2234
|
-
readonly declareV1: {};
|
|
2235
|
-
} | {
|
|
2236
|
-
readonly _tag: "declareV2";
|
|
2237
|
-
readonly declareV2: {};
|
|
2238
|
-
} | {
|
|
2239
|
-
readonly _tag: "declareV3";
|
|
2240
|
-
readonly declareV3: {};
|
|
2241
|
-
} | {
|
|
2242
|
-
readonly _tag: "l1Handler";
|
|
2243
|
-
readonly l1Handler: {};
|
|
2244
|
-
} | {
|
|
2245
|
-
readonly _tag: "deployAccountV1";
|
|
2246
|
-
readonly deployAccountV1: {};
|
|
2247
|
-
} | {
|
|
2248
|
-
readonly _tag: "deployAccountV3";
|
|
2249
|
-
readonly deployAccountV3: {};
|
|
2250
|
-
} | undefined;
|
|
2251
|
-
}[] | undefined;
|
|
2252
|
-
readonly events?: readonly {
|
|
2253
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2254
|
-
readonly id?: number | undefined;
|
|
2255
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2256
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2257
|
-
readonly includeMessages?: boolean | undefined;
|
|
2258
|
-
readonly address?: `0x${string}` | undefined;
|
|
2259
|
-
readonly strict?: boolean | undefined;
|
|
2260
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2261
|
-
readonly includeSiblings?: boolean | undefined;
|
|
2262
|
-
}[] | undefined;
|
|
2263
|
-
readonly messages?: readonly {
|
|
2264
|
-
readonly id?: number | undefined;
|
|
2265
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2266
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2267
|
-
readonly includeEvents?: boolean | undefined;
|
|
2268
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2269
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2270
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2271
|
-
}[] | undefined;
|
|
2272
|
-
readonly storageDiffs?: readonly {
|
|
2273
|
-
readonly id?: number | undefined;
|
|
2274
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2275
|
-
}[] | undefined;
|
|
2276
|
-
readonly contractChanges?: readonly {
|
|
2277
|
-
readonly id?: number | undefined;
|
|
2278
|
-
readonly change?: {
|
|
2279
|
-
readonly _tag: "declaredClass";
|
|
2280
|
-
readonly declaredClass: {};
|
|
2281
|
-
} | {
|
|
2282
|
-
readonly _tag: "replacedClass";
|
|
2283
|
-
readonly replacedClass: {};
|
|
2284
|
-
} | {
|
|
2285
|
-
readonly _tag: "deployedContract";
|
|
2286
|
-
readonly deployedContract: {};
|
|
2287
|
-
} | undefined;
|
|
2288
|
-
}[] | undefined;
|
|
2289
|
-
readonly nonceUpdates?: readonly {
|
|
2290
|
-
readonly id?: number | undefined;
|
|
2291
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2292
|
-
}[] | undefined;
|
|
2293
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
|
|
2294
|
-
declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
2295
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
2296
|
-
readonly transactions?: readonly {
|
|
2297
|
-
readonly id?: number | undefined;
|
|
2298
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2299
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2300
|
-
readonly includeMessages?: boolean | undefined;
|
|
2301
|
-
readonly includeEvents?: boolean | undefined;
|
|
2302
|
-
readonly transactionType?: {
|
|
2303
|
-
readonly _tag: "invokeV0";
|
|
2304
|
-
readonly invokeV0: {};
|
|
2305
|
-
} | {
|
|
2306
|
-
readonly _tag: "invokeV1";
|
|
2307
|
-
readonly invokeV1: {};
|
|
2308
|
-
} | {
|
|
2309
|
-
readonly _tag: "invokeV3";
|
|
2310
|
-
readonly invokeV3: {};
|
|
2311
|
-
} | {
|
|
2312
|
-
readonly _tag: "deploy";
|
|
2313
|
-
readonly deploy: {};
|
|
2314
|
-
} | {
|
|
2315
|
-
readonly _tag: "declareV0";
|
|
2316
|
-
readonly declareV0: {};
|
|
2317
|
-
} | {
|
|
2318
|
-
readonly _tag: "declareV1";
|
|
2319
|
-
readonly declareV1: {};
|
|
2320
|
-
} | {
|
|
2321
|
-
readonly _tag: "declareV2";
|
|
2322
|
-
readonly declareV2: {};
|
|
2323
|
-
} | {
|
|
2324
|
-
readonly _tag: "declareV3";
|
|
2325
|
-
readonly declareV3: {};
|
|
2326
|
-
} | {
|
|
2327
|
-
readonly _tag: "l1Handler";
|
|
2328
|
-
readonly l1Handler: {};
|
|
2329
|
-
} | {
|
|
2330
|
-
readonly _tag: "deployAccountV1";
|
|
2331
|
-
readonly deployAccountV1: {};
|
|
2332
|
-
} | {
|
|
2333
|
-
readonly _tag: "deployAccountV3";
|
|
2334
|
-
readonly deployAccountV3: {};
|
|
2335
|
-
} | undefined;
|
|
2336
|
-
}[] | undefined;
|
|
2337
|
-
readonly events?: readonly {
|
|
2338
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2339
|
-
readonly id?: number | undefined;
|
|
2340
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2341
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2342
|
-
readonly includeMessages?: boolean | undefined;
|
|
2343
|
-
readonly address?: `0x${string}` | undefined;
|
|
2344
|
-
readonly strict?: boolean | undefined;
|
|
2345
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2346
|
-
readonly includeSiblings?: boolean | undefined;
|
|
2347
|
-
}[] | undefined;
|
|
2348
|
-
readonly messages?: readonly {
|
|
2349
|
-
readonly id?: number | undefined;
|
|
2350
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2351
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2352
|
-
readonly includeEvents?: boolean | undefined;
|
|
2353
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2354
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2355
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2356
|
-
}[] | undefined;
|
|
2357
|
-
readonly storageDiffs?: readonly {
|
|
2358
|
-
readonly id?: number | undefined;
|
|
2359
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2360
|
-
}[] | undefined;
|
|
2361
|
-
readonly contractChanges?: readonly {
|
|
2362
|
-
readonly id?: number | undefined;
|
|
2363
|
-
readonly change?: {
|
|
2364
|
-
readonly _tag: "declaredClass";
|
|
2365
|
-
readonly declaredClass: {};
|
|
2366
|
-
} | {
|
|
2367
|
-
readonly _tag: "replacedClass";
|
|
2368
|
-
readonly replacedClass: {};
|
|
2369
|
-
} | {
|
|
2370
|
-
readonly _tag: "deployedContract";
|
|
2371
|
-
readonly deployedContract: {};
|
|
2372
|
-
} | undefined;
|
|
2373
|
-
}[] | undefined;
|
|
2374
|
-
readonly nonceUpdates?: readonly {
|
|
2375
|
-
readonly id?: number | undefined;
|
|
2376
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2377
|
-
}[] | undefined;
|
|
2378
|
-
};
|
|
2379
|
-
declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
2380
|
-
|
|
2381
|
-
/** Price of a unit of resource.
|
|
2382
|
-
*
|
|
2383
|
-
* @prop priceInFri The price in Fri (1e-18 STRK).
|
|
2384
|
-
* @prop priceInWei The price in Wei (1e-18 ETH).
|
|
2385
|
-
*/
|
|
2386
|
-
declare const ResourcePrice: Schema.Struct<{
|
|
2387
|
-
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2388
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2389
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2390
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2391
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2392
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2393
|
-
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2394
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2395
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2396
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2397
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2398
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2399
|
-
}>;
|
|
2400
|
-
type ResourcePrice = typeof ResourcePrice.Type;
|
|
2401
|
-
/** How data is posted to L1. */
|
|
2402
|
-
declare const L1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
2403
|
-
type L1DataAvailabilityMode = typeof L1DataAvailabilityMode.Type;
|
|
2404
|
-
declare const TransactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
2405
|
-
type TransactionStatus = typeof TransactionStatus.Type;
|
|
2406
|
-
declare const U128: Schema.transform<Schema.Struct<{
|
|
2407
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2408
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2409
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2410
|
-
type U128 = typeof U128.Type;
|
|
2411
|
-
declare const ResourceBounds: Schema.Struct<{
|
|
2412
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2413
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2414
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2415
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2416
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2417
|
-
}>;
|
|
2418
|
-
type ResourceBounds = typeof ResourceBounds.Type;
|
|
2419
|
-
declare const ResourceBoundsMapping: Schema.Struct<{
|
|
2420
|
-
l1Gas: Schema.Struct<{
|
|
2421
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2422
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2423
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2424
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2425
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2426
|
-
}>;
|
|
2427
|
-
l2Gas: Schema.Struct<{
|
|
2428
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2429
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2430
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2431
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2432
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2433
|
-
}>;
|
|
2434
|
-
}>;
|
|
2435
|
-
type ResourceBoundsMapping = typeof ResourceBoundsMapping.Type;
|
|
2436
|
-
declare const DataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2437
|
-
type DataAvailabilityMode = typeof DataAvailabilityMode.Type;
|
|
2438
|
-
/** Starknet block header.
|
|
2439
|
-
*
|
|
2440
|
-
* @prop blockHash The hash of the block.
|
|
2441
|
-
* @prop parentBlockHash The hash of the parent block.
|
|
2442
|
-
* @prop blockNumber The block number.
|
|
2443
|
-
* @prop sequencerAddress The address of the sequencer.
|
|
2444
|
-
* @prop newRoot The new state root.
|
|
2445
|
-
* @prop timestamp The block timestamp.
|
|
2446
|
-
* @prop starknetVersion The Starknet version string.
|
|
2447
|
-
* @prop l1GasPrice Calldata gas price.
|
|
2448
|
-
* @prop l1DataGasPrice Blob gas price.
|
|
2449
|
-
* @prop l1DataAvailabilityMode How data is posted to L1.
|
|
2450
|
-
*/
|
|
2451
|
-
declare const BlockHeader: Schema.Struct<{
|
|
2452
|
-
blockHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2453
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2454
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2455
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2456
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2457
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2458
|
-
parentBlockHash: Schema.transform<Schema.Struct<{
|
|
2459
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2460
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2461
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2462
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2463
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2464
|
-
blockNumber: typeof Schema.BigIntFromSelf;
|
|
2465
|
-
sequencerAddress: Schema.transform<Schema.Struct<{
|
|
2466
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2467
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2468
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2469
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2470
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2471
|
-
newRoot: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2472
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2473
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2474
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2475
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2476
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2477
|
-
timestamp: typeof Schema.DateFromSelf;
|
|
2478
|
-
starknetVersion: typeof Schema.String;
|
|
2479
|
-
l1GasPrice: Schema.Struct<{
|
|
2480
|
-
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2481
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2482
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2483
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2484
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2485
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2486
|
-
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2487
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2488
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2489
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2490
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2491
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2492
|
-
}>;
|
|
2493
|
-
l1DataGasPrice: Schema.Struct<{
|
|
2494
|
-
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2495
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2496
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2497
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2498
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2499
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2500
|
-
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2501
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2502
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2503
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2504
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2505
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2506
|
-
}>;
|
|
2507
|
-
l1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
2508
|
-
}>;
|
|
2509
|
-
type BlockHeader = typeof BlockHeader.Type;
|
|
2510
|
-
/** Transaction metadata.
|
|
2511
|
-
*
|
|
2512
|
-
* This is the information that is common between all transaction types.
|
|
2513
|
-
*
|
|
2514
|
-
* @prop transactionIndex The transaction index in the block.
|
|
2515
|
-
* @prop transactionHash The transaction hash.
|
|
2516
|
-
* @prop transactionStatus The transaction status.
|
|
2517
|
-
*/
|
|
2518
|
-
declare const TransactionMeta: Schema.Struct<{
|
|
2519
|
-
transactionIndex: typeof Schema.Number;
|
|
2520
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
2521
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2522
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2523
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2524
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2525
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2526
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
2527
|
-
}>;
|
|
2528
|
-
type TransactionMeta = typeof TransactionMeta.Type;
|
|
2529
|
-
declare const InvokeTransactionV0: Schema.Struct<{
|
|
2530
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
2531
|
-
invokeV0: Schema.Struct<{
|
|
2532
|
-
maxFee: Schema.transform<Schema.Struct<{
|
|
2533
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2534
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2535
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2536
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2537
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2538
|
-
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2539
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2540
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2541
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2542
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2543
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2544
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
2545
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2546
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2547
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2548
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2549
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2550
|
-
entryPointSelector: Schema.transform<Schema.Struct<{
|
|
2551
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2552
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2553
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2554
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2555
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2556
|
-
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2557
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2558
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2559
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2560
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2561
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2562
|
-
}>;
|
|
2563
|
-
}>;
|
|
2564
|
-
type InvokeTransactionV0 = typeof InvokeTransactionV0.Type;
|
|
2565
|
-
declare const InvokeTransactionV1: Schema.Struct<{
|
|
2566
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
2567
|
-
invokeV1: Schema.Struct<{
|
|
2568
|
-
senderAddress: Schema.transform<Schema.Struct<{
|
|
2569
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2570
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2571
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2572
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2573
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2574
|
-
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2575
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2576
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2577
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2578
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2579
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2580
|
-
maxFee: Schema.transform<Schema.Struct<{
|
|
2581
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2582
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2583
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2584
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2585
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2586
|
-
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2587
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2588
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2589
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2590
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2591
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2592
|
-
nonce: Schema.transform<Schema.Struct<{
|
|
2593
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2594
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2595
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2596
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2597
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2598
|
-
}>;
|
|
2599
|
-
}>;
|
|
2600
|
-
type InvokeTransactionV1 = typeof InvokeTransactionV1.Type;
|
|
2601
|
-
declare const InvokeTransactionV3: Schema.Struct<{
|
|
2602
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
2603
|
-
invokeV3: Schema.Struct<{
|
|
2604
|
-
senderAddress: Schema.transform<Schema.Struct<{
|
|
2605
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2606
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2607
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2608
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2609
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2610
|
-
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2611
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2612
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2613
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2614
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2615
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2616
|
-
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2617
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2618
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2619
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2620
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2621
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2622
|
-
nonce: Schema.transform<Schema.Struct<{
|
|
2623
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2624
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2625
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2626
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2627
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2628
|
-
resourceBounds: Schema.Struct<{
|
|
2629
|
-
l1Gas: Schema.Struct<{
|
|
2630
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2631
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2632
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2633
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2634
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2635
|
-
}>;
|
|
2636
|
-
l2Gas: Schema.Struct<{
|
|
2637
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2638
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2639
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2640
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2641
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2642
|
-
}>;
|
|
2643
|
-
}>;
|
|
2644
|
-
tip: typeof Schema.BigIntFromSelf;
|
|
2645
|
-
paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2646
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2647
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2648
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2649
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2650
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2651
|
-
accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2652
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2653
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2654
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2655
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2656
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2657
|
-
nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2658
|
-
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2659
|
-
}>;
|
|
1719
|
+
nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
1720
|
+
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
1721
|
+
}>;
|
|
2660
1722
|
}>;
|
|
2661
1723
|
type InvokeTransactionV3 = typeof InvokeTransactionV3.Type;
|
|
2662
1724
|
declare const L1HandlerTransaction: Schema.Struct<{
|
|
@@ -3961,15 +3023,265 @@ declare const NonceUpdate: Schema.Struct<{
|
|
|
3961
3023
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3962
3024
|
}>;
|
|
3963
3025
|
type NonceUpdate = typeof NonceUpdate.Type;
|
|
3964
|
-
/**
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3026
|
+
/** Trace call type. */
|
|
3027
|
+
declare const CallType: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["libraryCall", "call", "delegate", "unknown"]>>;
|
|
3028
|
+
declare const FunctionInvocation_base: Schema.Class<FunctionInvocation, {
|
|
3029
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
3030
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3031
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3032
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3033
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3034
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3035
|
+
entryPointSelector: Schema.transform<Schema.Struct<{
|
|
3036
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3037
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3038
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3039
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3040
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3041
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
3042
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3043
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3044
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3045
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3046
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
3047
|
+
callerAddress: Schema.transform<Schema.Struct<{
|
|
3048
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3049
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3050
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3051
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3052
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3053
|
+
classHash: Schema.transform<Schema.Struct<{
|
|
3054
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3055
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3056
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3057
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3058
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3059
|
+
callType: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["libraryCall", "call", "delegate", "unknown"]>>;
|
|
3060
|
+
result: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
3061
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3062
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3063
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3064
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3065
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
3066
|
+
calls: Schema.suspend<any, any, never>;
|
|
3067
|
+
events: Schema.Array$<typeof Schema.Number>;
|
|
3068
|
+
messages: Schema.Array$<typeof Schema.Number>;
|
|
3069
|
+
}, Schema.Struct.Encoded<{
|
|
3070
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
3071
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3072
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3073
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3074
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3075
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3076
|
+
entryPointSelector: Schema.transform<Schema.Struct<{
|
|
3077
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3078
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3079
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3080
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3081
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3082
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
3083
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3084
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3085
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3086
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3087
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
3088
|
+
callerAddress: Schema.transform<Schema.Struct<{
|
|
3089
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3090
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3091
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3092
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3093
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3094
|
+
classHash: Schema.transform<Schema.Struct<{
|
|
3095
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3096
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3097
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3098
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3099
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3100
|
+
callType: Schema.transform<Schema.Enums<typeof CallType$1>, Schema.Literal<["libraryCall", "call", "delegate", "unknown"]>>;
|
|
3101
|
+
result: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
3102
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3103
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3104
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3105
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3106
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
3107
|
+
calls: Schema.suspend<any, any, never>;
|
|
3108
|
+
events: Schema.Array$<typeof Schema.Number>;
|
|
3109
|
+
messages: Schema.Array$<typeof Schema.Number>;
|
|
3110
|
+
}>, never, {
|
|
3111
|
+
readonly events: readonly number[];
|
|
3112
|
+
} & {
|
|
3113
|
+
readonly messages: readonly number[];
|
|
3114
|
+
} & {
|
|
3115
|
+
readonly contractAddress: `0x${string}`;
|
|
3116
|
+
} & {
|
|
3117
|
+
readonly calldata: readonly `0x${string}`[];
|
|
3118
|
+
} & {
|
|
3119
|
+
readonly entryPointSelector: `0x${string}`;
|
|
3120
|
+
} & {
|
|
3121
|
+
readonly classHash: `0x${string}`;
|
|
3122
|
+
} & {
|
|
3123
|
+
readonly callerAddress: `0x${string}`;
|
|
3124
|
+
} & {
|
|
3125
|
+
readonly callType: "unknown" | "libraryCall" | "call" | "delegate";
|
|
3126
|
+
} & {
|
|
3127
|
+
readonly result: readonly `0x${string}`[];
|
|
3128
|
+
} & {
|
|
3129
|
+
readonly calls: any;
|
|
3130
|
+
}, {}, {}>;
|
|
3131
|
+
/** A function invocation.
|
|
3132
|
+
*
|
|
3133
|
+
* @prop contractAddress The contract address.
|
|
3134
|
+
* @prop entryPointSelector The entry point selector.
|
|
3135
|
+
* @prop calldata The calldata.
|
|
3136
|
+
* @prop callerAddress The caller address.
|
|
3137
|
+
* @prop classHash The class hash.
|
|
3138
|
+
* @prop callType The call type.
|
|
3139
|
+
* @prop result The function invocation result.
|
|
3140
|
+
* @prop calls The nested function invocations.
|
|
3141
|
+
* @prop events The events index in the current transaction.
|
|
3142
|
+
* @prop messages The messages index in the current transaction.
|
|
3143
|
+
*/
|
|
3144
|
+
declare class FunctionInvocation extends FunctionInvocation_base {
|
|
3145
|
+
}
|
|
3146
|
+
/** A successful invocation of the __execute__ call.
|
|
3147
|
+
*
|
|
3148
|
+
* @prop success The call.
|
|
3149
|
+
*/
|
|
3150
|
+
declare const ExecuteInvocationSuccess: Schema.Struct<{
|
|
3151
|
+
_tag: Schema.PropertySignature<":", "success", "$case", ":", "success", false, never>;
|
|
3152
|
+
success: typeof FunctionInvocation;
|
|
3153
|
+
}>;
|
|
3154
|
+
/** A failed invocation of the __execute__ call.
|
|
3155
|
+
*
|
|
3156
|
+
* @prop reason The reason for the failure.
|
|
3157
|
+
*/
|
|
3158
|
+
declare const ExecuteInvocationReverted: Schema.Struct<{
|
|
3159
|
+
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
3160
|
+
reverted: Schema.Struct<{
|
|
3161
|
+
reason: Schema.optional<typeof Schema.String>;
|
|
3162
|
+
}>;
|
|
3163
|
+
}>;
|
|
3164
|
+
/** Trace for invoke transactions.
|
|
3165
|
+
*
|
|
3166
|
+
* @prop validateInvocation The __validate__ call.
|
|
3167
|
+
* @prop executeInvocation The __execute__ call.
|
|
3168
|
+
* @prop feeTransferInvocation The __fee_transfer__ call.
|
|
3169
|
+
*/
|
|
3170
|
+
declare const InvokeTransactionTrace: Schema.Struct<{
|
|
3171
|
+
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
3172
|
+
invoke: Schema.Struct<{
|
|
3173
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3174
|
+
executeInvocation: Schema.Union<[Schema.Struct<{
|
|
3175
|
+
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
3176
|
+
reverted: Schema.Struct<{
|
|
3177
|
+
reason: Schema.optional<typeof Schema.String>;
|
|
3178
|
+
}>;
|
|
3179
|
+
}>, Schema.Struct<{
|
|
3180
|
+
_tag: Schema.PropertySignature<":", "success", "$case", ":", "success", false, never>;
|
|
3181
|
+
success: typeof FunctionInvocation;
|
|
3182
|
+
}>]>;
|
|
3183
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3184
|
+
}>;
|
|
3185
|
+
}>;
|
|
3186
|
+
type InvokeTransactionTrace = typeof InvokeTransactionTrace.Type;
|
|
3187
|
+
/** Trace for declare transactions.
|
|
3188
|
+
*
|
|
3189
|
+
* @prop validateInvocation The __validate__ call.
|
|
3190
|
+
* @prop feeTransferInvocation The __fee_transfer__ call.
|
|
3191
|
+
*/
|
|
3192
|
+
declare const DeclareTransactionTrace: Schema.Struct<{
|
|
3193
|
+
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
3194
|
+
declare: Schema.Struct<{
|
|
3195
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3196
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3197
|
+
}>;
|
|
3198
|
+
}>;
|
|
3199
|
+
type DeclareTransactionTrace = typeof DeclareTransactionTrace.Type;
|
|
3200
|
+
/** Trace for deploy account transactions.
|
|
3201
|
+
*
|
|
3202
|
+
* @prop validateInvocation The __validate__ call.
|
|
3203
|
+
* @prop constructorInvocation The __constructor__ call.
|
|
3204
|
+
* @prop feeTransferInvocation The __fee_transfer__ call.
|
|
3205
|
+
*/
|
|
3206
|
+
declare const DeployAccountTransactionTrace: Schema.Struct<{
|
|
3207
|
+
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
3208
|
+
deployAccount: Schema.Struct<{
|
|
3209
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3210
|
+
constructorInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3211
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3212
|
+
}>;
|
|
3213
|
+
}>;
|
|
3214
|
+
type DeployAccountTransactionTrace = typeof DeployAccountTransactionTrace.Type;
|
|
3215
|
+
/** Trace for L1 handler transactions.
|
|
3216
|
+
*
|
|
3217
|
+
* @prop functionInvocation The L1 handler function invocation.
|
|
3218
|
+
*/
|
|
3219
|
+
declare const L1HandlerTransactionTrace: Schema.Struct<{
|
|
3220
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
3221
|
+
l1Handler: Schema.Struct<{
|
|
3222
|
+
functionInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3223
|
+
}>;
|
|
3224
|
+
}>;
|
|
3225
|
+
/** A transaction trace.
|
|
3226
|
+
*
|
|
3227
|
+
* @prop transactionHash The hash of the trace's transaction.
|
|
3228
|
+
* @prp traceRoot the trace root entry.
|
|
3229
|
+
*/
|
|
3230
|
+
declare const TransactionTrace: Schema.Struct<{
|
|
3231
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
3232
|
+
transactionIndex: typeof Schema.Number;
|
|
3233
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
3234
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3235
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3236
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3237
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3238
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3239
|
+
traceRoot: Schema.Union<[Schema.Struct<{
|
|
3240
|
+
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
3241
|
+
invoke: Schema.Struct<{
|
|
3242
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3243
|
+
executeInvocation: Schema.Union<[Schema.Struct<{
|
|
3244
|
+
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
3245
|
+
reverted: Schema.Struct<{
|
|
3246
|
+
reason: Schema.optional<typeof Schema.String>;
|
|
3247
|
+
}>;
|
|
3248
|
+
}>, Schema.Struct<{
|
|
3249
|
+
_tag: Schema.PropertySignature<":", "success", "$case", ":", "success", false, never>;
|
|
3250
|
+
success: typeof FunctionInvocation;
|
|
3251
|
+
}>]>;
|
|
3252
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3253
|
+
}>;
|
|
3254
|
+
}>, Schema.Struct<{
|
|
3255
|
+
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
3256
|
+
declare: Schema.Struct<{
|
|
3257
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3258
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3259
|
+
}>;
|
|
3260
|
+
}>, Schema.Struct<{
|
|
3261
|
+
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
3262
|
+
deployAccount: Schema.Struct<{
|
|
3263
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3264
|
+
constructorInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3265
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3266
|
+
}>;
|
|
3267
|
+
}>, Schema.Struct<{
|
|
3268
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
3269
|
+
l1Handler: Schema.Struct<{
|
|
3270
|
+
functionInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3271
|
+
}>;
|
|
3272
|
+
}>]>;
|
|
3273
|
+
}>;
|
|
3274
|
+
type TransactionTrace = typeof TransactionTrace.Type;
|
|
3275
|
+
/** A block.
|
|
3276
|
+
*
|
|
3277
|
+
* @prop header The block header.
|
|
3278
|
+
* @prop transactions The transactions in the block.
|
|
3279
|
+
* @prop receipts The receipts of the transactions.
|
|
3280
|
+
* @prop events The events emitted by the transactions.
|
|
3281
|
+
* @prop messages The messages sent to L1 by the transactions.
|
|
3282
|
+
* @prop traces The transaction traces.
|
|
3283
|
+
* @prop storageDiffs The changes to the storage.
|
|
3284
|
+
* @prop contractChanges The changes to contracts and classes.
|
|
3973
3285
|
*/
|
|
3974
3286
|
declare const Block: Schema.Struct<{
|
|
3975
3287
|
header: Schema.Struct<{
|
|
@@ -4624,6 +3936,50 @@ declare const Block: Schema.Struct<{
|
|
|
4624
3936
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
4625
3937
|
messageIndexInTransaction: typeof Schema.Number;
|
|
4626
3938
|
}>>;
|
|
3939
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
3940
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
3941
|
+
transactionIndex: typeof Schema.Number;
|
|
3942
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
3943
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
3944
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
3945
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
3946
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
3947
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3948
|
+
traceRoot: Schema.Union<[Schema.Struct<{
|
|
3949
|
+
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
3950
|
+
invoke: Schema.Struct<{
|
|
3951
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3952
|
+
executeInvocation: Schema.Union<[Schema.Struct<{
|
|
3953
|
+
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
3954
|
+
reverted: Schema.Struct<{
|
|
3955
|
+
reason: Schema.optional<typeof Schema.String>;
|
|
3956
|
+
}>;
|
|
3957
|
+
}>, Schema.Struct<{
|
|
3958
|
+
_tag: Schema.PropertySignature<":", "success", "$case", ":", "success", false, never>;
|
|
3959
|
+
success: typeof FunctionInvocation;
|
|
3960
|
+
}>]>;
|
|
3961
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3962
|
+
}>;
|
|
3963
|
+
}>, Schema.Struct<{
|
|
3964
|
+
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
3965
|
+
declare: Schema.Struct<{
|
|
3966
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3967
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3968
|
+
}>;
|
|
3969
|
+
}>, Schema.Struct<{
|
|
3970
|
+
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
3971
|
+
deployAccount: Schema.Struct<{
|
|
3972
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3973
|
+
constructorInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3974
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3975
|
+
}>;
|
|
3976
|
+
}>, Schema.Struct<{
|
|
3977
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
3978
|
+
l1Handler: Schema.Struct<{
|
|
3979
|
+
functionInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
3980
|
+
}>;
|
|
3981
|
+
}>]>;
|
|
3982
|
+
}>>;
|
|
4627
3983
|
storageDiffs: Schema.Array$<Schema.Struct<{
|
|
4628
3984
|
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4629
3985
|
contractAddress: Schema.transform<Schema.Struct<{
|
|
@@ -5278,188 +4634,1348 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
|
|
|
5278
4634
|
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
5279
4635
|
invoke: Schema.Struct<{}>;
|
|
5280
4636
|
}>, Schema.Struct<{
|
|
5281
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
5282
|
-
l1Handler: Schema.Struct<{
|
|
5283
|
-
messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
5284
|
-
}>;
|
|
4637
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
4638
|
+
l1Handler: Schema.Struct<{
|
|
4639
|
+
messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
4640
|
+
}>;
|
|
4641
|
+
}>, Schema.Struct<{
|
|
4642
|
+
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
4643
|
+
declare: Schema.Struct<{}>;
|
|
4644
|
+
}>, Schema.Struct<{
|
|
4645
|
+
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
4646
|
+
deploy: Schema.Struct<{
|
|
4647
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
4648
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4649
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4650
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4651
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4652
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4653
|
+
}>;
|
|
4654
|
+
}>, Schema.Struct<{
|
|
4655
|
+
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
4656
|
+
deployAccount: Schema.Struct<{
|
|
4657
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
4658
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4659
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4660
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4661
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4662
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4663
|
+
}>;
|
|
4664
|
+
}>]>;
|
|
4665
|
+
}>>;
|
|
4666
|
+
events: Schema.Array$<Schema.Struct<{
|
|
4667
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4668
|
+
address: Schema.transform<Schema.Struct<{
|
|
4669
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4670
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4671
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4672
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4673
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4674
|
+
keys: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4675
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4676
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4677
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4678
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4679
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4680
|
+
data: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4681
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4682
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4683
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4684
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4685
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4686
|
+
eventIndex: typeof Schema.Number;
|
|
4687
|
+
transactionIndex: typeof Schema.Number;
|
|
4688
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
4689
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4690
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4691
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4692
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4693
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4694
|
+
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
4695
|
+
eventIndexInTransaction: typeof Schema.Number;
|
|
4696
|
+
}>>;
|
|
4697
|
+
messages: Schema.Array$<Schema.Struct<{
|
|
4698
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4699
|
+
fromAddress: Schema.transform<Schema.Struct<{
|
|
4700
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4701
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4702
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4703
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4704
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4705
|
+
toAddress: Schema.transform<Schema.Struct<{
|
|
4706
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4707
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4708
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4709
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4710
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4711
|
+
payload: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4712
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4713
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4714
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4715
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4716
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4717
|
+
messageIndex: typeof Schema.Number;
|
|
4718
|
+
transactionIndex: typeof Schema.Number;
|
|
4719
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
4720
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4721
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4722
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4723
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4724
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4725
|
+
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
4726
|
+
messageIndexInTransaction: typeof Schema.Number;
|
|
4727
|
+
}>>;
|
|
4728
|
+
traces: Schema.Array$<Schema.Struct<{
|
|
4729
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4730
|
+
transactionIndex: typeof Schema.Number;
|
|
4731
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
4732
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4733
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4734
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4735
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4736
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4737
|
+
traceRoot: Schema.Union<[Schema.Struct<{
|
|
4738
|
+
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
4739
|
+
invoke: Schema.Struct<{
|
|
4740
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4741
|
+
executeInvocation: Schema.Union<[Schema.Struct<{
|
|
4742
|
+
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
4743
|
+
reverted: Schema.Struct<{
|
|
4744
|
+
reason: Schema.optional<typeof Schema.String>;
|
|
4745
|
+
}>;
|
|
4746
|
+
}>, Schema.Struct<{
|
|
4747
|
+
_tag: Schema.PropertySignature<":", "success", "$case", ":", "success", false, never>;
|
|
4748
|
+
success: typeof FunctionInvocation;
|
|
4749
|
+
}>]>;
|
|
4750
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4751
|
+
}>;
|
|
4752
|
+
}>, Schema.Struct<{
|
|
4753
|
+
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
4754
|
+
declare: Schema.Struct<{
|
|
4755
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4756
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4757
|
+
}>;
|
|
4758
|
+
}>, Schema.Struct<{
|
|
4759
|
+
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
4760
|
+
deployAccount: Schema.Struct<{
|
|
4761
|
+
validateInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4762
|
+
constructorInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4763
|
+
feeTransferInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4764
|
+
}>;
|
|
4765
|
+
}>, Schema.Struct<{
|
|
4766
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
4767
|
+
l1Handler: Schema.Struct<{
|
|
4768
|
+
functionInvocation: Schema.optional<typeof FunctionInvocation>;
|
|
4769
|
+
}>;
|
|
4770
|
+
}>]>;
|
|
4771
|
+
}>>;
|
|
4772
|
+
storageDiffs: Schema.Array$<Schema.Struct<{
|
|
4773
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4774
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
4775
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4776
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4777
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4778
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4779
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4780
|
+
storageEntries: Schema.Array$<Schema.Struct<{
|
|
4781
|
+
key: Schema.transform<Schema.Struct<{
|
|
4782
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4783
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4784
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4785
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4786
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4787
|
+
value: Schema.transform<Schema.Struct<{
|
|
4788
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4789
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4790
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4791
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4792
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4793
|
+
}>>;
|
|
4794
|
+
}>>;
|
|
4795
|
+
contractChanges: Schema.Array$<Schema.Struct<{
|
|
4796
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4797
|
+
change: Schema.Union<[Schema.Struct<{
|
|
4798
|
+
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
4799
|
+
declaredClass: Schema.Struct<{
|
|
4800
|
+
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4801
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4802
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4803
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4804
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4805
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4806
|
+
compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4807
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4808
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4809
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4810
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4811
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4812
|
+
}>;
|
|
4813
|
+
}>, Schema.Struct<{
|
|
4814
|
+
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
4815
|
+
replacedClass: Schema.Struct<{
|
|
4816
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4817
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4818
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4819
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4820
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4821
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4822
|
+
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4823
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4824
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4825
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4826
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4827
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4828
|
+
}>;
|
|
4829
|
+
}>, Schema.Struct<{
|
|
4830
|
+
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
4831
|
+
deployedContract: Schema.Struct<{
|
|
4832
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4833
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4834
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4835
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4836
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4837
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4838
|
+
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4839
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4840
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4841
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4842
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4843
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4844
|
+
}>;
|
|
4845
|
+
}>]>;
|
|
4846
|
+
}>>;
|
|
4847
|
+
nonceUpdates: Schema.Array$<Schema.Struct<{
|
|
4848
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4849
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
4850
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4851
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4852
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4853
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4854
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4855
|
+
nonce: Schema.transform<Schema.Struct<{
|
|
4856
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4857
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4858
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4859
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4860
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4861
|
+
}>>;
|
|
4862
|
+
}>>>;
|
|
4863
|
+
|
|
4864
|
+
/** Header options.
|
|
4865
|
+
*
|
|
4866
|
+
* - `always`: receive all block headers.
|
|
4867
|
+
* - `on_data`: receive headers only if any other filter matches.
|
|
4868
|
+
* - `on_data_or_on_new_block`: receive headers only if any other filter matches and for "live" blocks.
|
|
4869
|
+
*/
|
|
4870
|
+
declare const HeaderFilter: Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>;
|
|
4871
|
+
type HeaderFilter = typeof HeaderFilter.Type;
|
|
4872
|
+
/** An event key filter. Use `null` to match any event key. */
|
|
4873
|
+
declare const Key: Schema.transform<Schema.Struct<{
|
|
4874
|
+
value: Schema.UndefinedOr<Schema.Struct<{
|
|
4875
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4876
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4877
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4878
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4879
|
+
}>>;
|
|
4880
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
4881
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4882
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4883
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4884
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4885
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
|
|
4886
|
+
type Key = typeof Key.Type;
|
|
4887
|
+
declare const TransactionStatusFilter: Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>;
|
|
4888
|
+
type TransactionStatusFilter = typeof TransactionStatusFilter.Type;
|
|
4889
|
+
/** Filter events.
|
|
4890
|
+
*
|
|
4891
|
+
* @prop address Filter events by the sender address.
|
|
4892
|
+
* @prop keys Filter events by the event keys. Use `null` to match any key.
|
|
4893
|
+
* @prop strict If `true`, then the filter will only match events that have exactly the
|
|
4894
|
+
* same number of keys as specified in `keys`.
|
|
4895
|
+
* @prop transactionStatus Filter based on the transaction status.
|
|
4896
|
+
* @prop includeTransaction Include the transaction that emitted the event.
|
|
4897
|
+
* @prop includeReceipt Include the transaction receipt.
|
|
4898
|
+
* @prop includeMessages Include the messages that were sent to L1 in the same transaction.
|
|
4899
|
+
* @prop includeSiblings Include the sibling events of the matched events.
|
|
4900
|
+
* @prop includeTransactionTrace Include the trace of the transaction that emitted the event.
|
|
4901
|
+
*/
|
|
4902
|
+
declare const EventFilter: Schema.Struct<{
|
|
4903
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
4904
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4905
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4906
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4907
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4908
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4909
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4910
|
+
keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4911
|
+
value: Schema.UndefinedOr<Schema.Struct<{
|
|
4912
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4913
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4914
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4915
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4916
|
+
}>>;
|
|
4917
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
4918
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4919
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4920
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4921
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4922
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
4923
|
+
strict: Schema.optional<typeof Schema.Boolean>;
|
|
4924
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
4925
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
4926
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
4927
|
+
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
4928
|
+
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
4929
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
4930
|
+
}>;
|
|
4931
|
+
type EventFilter = typeof EventFilter.Type;
|
|
4932
|
+
/** Filter messages to L1.
|
|
4933
|
+
*
|
|
4934
|
+
* @prop fromAddress Filter messages by the sender address (on L2).
|
|
4935
|
+
* @prop toAddress Filter messages by the recipient address (on L1).
|
|
4936
|
+
* @prop transactionStatus Filter based on the transaction status.
|
|
4937
|
+
* @prop includeTransaction Include the transaction that sent the message.
|
|
4938
|
+
* @prop includeReceipt Include the transaction receipt.
|
|
4939
|
+
* @prop includeEvents Include events from the same transaction.
|
|
4940
|
+
* @prop includeTransactionTrace Include the trace of the transaction that sent the message.
|
|
4941
|
+
*/
|
|
4942
|
+
declare const MessageToL1Filter: Schema.Struct<{
|
|
4943
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
4944
|
+
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4945
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4946
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4947
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4948
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4949
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4950
|
+
toAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
4951
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4952
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4953
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4954
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4955
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4956
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
4957
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
4958
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
4959
|
+
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
4960
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
4961
|
+
}>;
|
|
4962
|
+
type MessageToL1Filter = typeof MessageToL1Filter.Type;
|
|
4963
|
+
declare const InvokeTransactionV0Filter: Schema.Struct<{
|
|
4964
|
+
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
4965
|
+
invokeV0: Schema.Struct<{}>;
|
|
4966
|
+
}>;
|
|
4967
|
+
type InvokeTransactionV0Filter = typeof InvokeTransactionV0Filter.Type;
|
|
4968
|
+
declare const InvokeTransactionV1Filter: Schema.Struct<{
|
|
4969
|
+
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
4970
|
+
invokeV1: Schema.Struct<{}>;
|
|
4971
|
+
}>;
|
|
4972
|
+
type InvokeTransactionV1Filter = typeof InvokeTransactionV1Filter.Type;
|
|
4973
|
+
declare const InvokeTransactionV3Filter: Schema.Struct<{
|
|
4974
|
+
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
4975
|
+
invokeV3: Schema.Struct<{}>;
|
|
4976
|
+
}>;
|
|
4977
|
+
type InvokeTransactionV3Filter = typeof InvokeTransactionV3Filter.Type;
|
|
4978
|
+
declare const DeployTransactionFilter: Schema.Struct<{
|
|
4979
|
+
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
4980
|
+
deploy: Schema.Struct<{}>;
|
|
4981
|
+
}>;
|
|
4982
|
+
type DeployTransactionFilter = typeof DeployTransactionFilter.Type;
|
|
4983
|
+
declare const DeclareV0TransactionFilter: Schema.Struct<{
|
|
4984
|
+
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
4985
|
+
declareV0: Schema.Struct<{}>;
|
|
4986
|
+
}>;
|
|
4987
|
+
type DeclareV0TransactionFilter = typeof DeclareV0TransactionFilter.Type;
|
|
4988
|
+
declare const DeclareV1TransactionFilter: Schema.Struct<{
|
|
4989
|
+
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
4990
|
+
declareV1: Schema.Struct<{}>;
|
|
4991
|
+
}>;
|
|
4992
|
+
type DeclareV1TransactionFilter = typeof DeclareV1TransactionFilter.Type;
|
|
4993
|
+
declare const DeclareV2TransactionFilter: Schema.Struct<{
|
|
4994
|
+
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
4995
|
+
declareV2: Schema.Struct<{}>;
|
|
4996
|
+
}>;
|
|
4997
|
+
type DeclareV2TransactionFilter = typeof DeclareV2TransactionFilter.Type;
|
|
4998
|
+
declare const DeclareV3TransactionFilter: Schema.Struct<{
|
|
4999
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5000
|
+
declareV3: Schema.Struct<{}>;
|
|
5001
|
+
}>;
|
|
5002
|
+
type DeclareV3TransactionFilter = typeof DeclareV3TransactionFilter.Type;
|
|
5003
|
+
declare const L1HandlerTransactionFilter: Schema.Struct<{
|
|
5004
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
5005
|
+
l1Handler: Schema.Struct<{}>;
|
|
5006
|
+
}>;
|
|
5007
|
+
type L1HandlerTransactionFilter = typeof L1HandlerTransactionFilter.Type;
|
|
5008
|
+
declare const DeployAccountV1TransactionFilter: Schema.Struct<{
|
|
5009
|
+
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
5010
|
+
deployAccountV1: Schema.Struct<{}>;
|
|
5011
|
+
}>;
|
|
5012
|
+
type DeployAccountV1TransactionFilter = typeof DeployAccountV1TransactionFilter.Type;
|
|
5013
|
+
declare const DeployAccountV3TransactionFilter: Schema.Struct<{
|
|
5014
|
+
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
5015
|
+
deployAccountV3: Schema.Struct<{}>;
|
|
5016
|
+
}>;
|
|
5017
|
+
type DeployAccountV3TransactionFilter = typeof DeployAccountV3TransactionFilter.Type;
|
|
5018
|
+
/** Filter transactions.
|
|
5019
|
+
*
|
|
5020
|
+
* @prop transactionStatus Filter based on the transaction status.
|
|
5021
|
+
* @prop includeReceipt Include the transaction receipt.
|
|
5022
|
+
* @prop includeEvents Include events from the same transaction.
|
|
5023
|
+
* @prop includeMessages Include messages sent in the transaction.
|
|
5024
|
+
* @prop includeTrace Include the transaction's trace.
|
|
5025
|
+
*/
|
|
5026
|
+
declare const TransactionFilter: Schema.Struct<{
|
|
5027
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5028
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5029
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5030
|
+
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
5031
|
+
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
5032
|
+
includeTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5033
|
+
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
5034
|
+
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
5035
|
+
invokeV0: Schema.Struct<{}>;
|
|
5036
|
+
}>, Schema.Struct<{
|
|
5037
|
+
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
5038
|
+
invokeV1: Schema.Struct<{}>;
|
|
5039
|
+
}>, Schema.Struct<{
|
|
5040
|
+
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
5041
|
+
invokeV3: Schema.Struct<{}>;
|
|
5042
|
+
}>, Schema.Struct<{
|
|
5043
|
+
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
5044
|
+
deploy: Schema.Struct<{}>;
|
|
5045
|
+
}>, Schema.Struct<{
|
|
5046
|
+
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
5047
|
+
declareV0: Schema.Struct<{}>;
|
|
5048
|
+
}>, Schema.Struct<{
|
|
5049
|
+
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
5050
|
+
declareV1: Schema.Struct<{}>;
|
|
5051
|
+
}>, Schema.Struct<{
|
|
5052
|
+
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
5053
|
+
declareV2: Schema.Struct<{}>;
|
|
5054
|
+
}>, Schema.Struct<{
|
|
5055
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5056
|
+
declareV3: Schema.Struct<{}>;
|
|
5057
|
+
}>, Schema.Struct<{
|
|
5058
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5059
|
+
declareV3: Schema.Struct<{}>;
|
|
5060
|
+
}>, Schema.Struct<{
|
|
5061
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
5062
|
+
l1Handler: Schema.Struct<{}>;
|
|
5063
|
+
}>, Schema.Struct<{
|
|
5064
|
+
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
5065
|
+
deployAccountV1: Schema.Struct<{}>;
|
|
5066
|
+
}>, Schema.Struct<{
|
|
5067
|
+
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
5068
|
+
deployAccountV3: Schema.Struct<{}>;
|
|
5069
|
+
}>]>>;
|
|
5070
|
+
}>;
|
|
5071
|
+
type TransactionFilter = typeof TransactionFilter.Type;
|
|
5072
|
+
/** Filter storage diffs.
|
|
5073
|
+
*
|
|
5074
|
+
* @prop contractAddress Filter by contract address.
|
|
5075
|
+
*/
|
|
5076
|
+
declare const StorageDiffFilter: Schema.Struct<{
|
|
5077
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5078
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5079
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5080
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5081
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5082
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5083
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5084
|
+
}>;
|
|
5085
|
+
type StorageDiffFilter = typeof StorageDiffFilter.Type;
|
|
5086
|
+
/** Filter declared classes. */
|
|
5087
|
+
declare const DeclaredClassFilter: Schema.Struct<{
|
|
5088
|
+
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
5089
|
+
declaredClass: Schema.Struct<{}>;
|
|
5090
|
+
}>;
|
|
5091
|
+
type DeclaredClassFilter = typeof DeclaredClassFilter.Type;
|
|
5092
|
+
declare const ReplacedClassFilter: Schema.Struct<{
|
|
5093
|
+
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
5094
|
+
replacedClass: Schema.Struct<{}>;
|
|
5095
|
+
}>;
|
|
5096
|
+
type ReplacedClassFilter = typeof ReplacedClassFilter.Type;
|
|
5097
|
+
declare const DeployedContractFilter: Schema.Struct<{
|
|
5098
|
+
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
5099
|
+
deployedContract: Schema.Struct<{}>;
|
|
5100
|
+
}>;
|
|
5101
|
+
type DeployedContractFilter = typeof DeployedContractFilter.Type;
|
|
5102
|
+
/** Filter contract changes. */
|
|
5103
|
+
declare const ContractChangeFilter: Schema.Struct<{
|
|
5104
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5105
|
+
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
5106
|
+
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
5107
|
+
declaredClass: Schema.Struct<{}>;
|
|
5108
|
+
}>, Schema.Struct<{
|
|
5109
|
+
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
5110
|
+
replacedClass: Schema.Struct<{}>;
|
|
5111
|
+
}>, Schema.Struct<{
|
|
5112
|
+
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
5113
|
+
deployedContract: Schema.Struct<{}>;
|
|
5114
|
+
}>]>>;
|
|
5115
|
+
}>;
|
|
5116
|
+
type ContractChangeFilter = typeof ContractChangeFilter.Type;
|
|
5117
|
+
/** Filter updates to nonces.
|
|
5118
|
+
*
|
|
5119
|
+
* @prop contractAddress Filter by contract address.
|
|
5120
|
+
*/
|
|
5121
|
+
declare const NonceUpdateFilter: Schema.Struct<{
|
|
5122
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5123
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5124
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5125
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5126
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5127
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5128
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5129
|
+
}>;
|
|
5130
|
+
type NonceUpdateFilter = typeof NonceUpdateFilter.Type;
|
|
5131
|
+
declare const Filter: Schema.Struct<{
|
|
5132
|
+
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
5133
|
+
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5134
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5135
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5136
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5137
|
+
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
5138
|
+
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
5139
|
+
includeTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5140
|
+
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
5141
|
+
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
5142
|
+
invokeV0: Schema.Struct<{}>;
|
|
5143
|
+
}>, Schema.Struct<{
|
|
5144
|
+
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
5145
|
+
invokeV1: Schema.Struct<{}>;
|
|
5146
|
+
}>, Schema.Struct<{
|
|
5147
|
+
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
5148
|
+
invokeV3: Schema.Struct<{}>;
|
|
5149
|
+
}>, Schema.Struct<{
|
|
5150
|
+
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
5151
|
+
deploy: Schema.Struct<{}>;
|
|
5152
|
+
}>, Schema.Struct<{
|
|
5153
|
+
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
5154
|
+
declareV0: Schema.Struct<{}>;
|
|
5155
|
+
}>, Schema.Struct<{
|
|
5156
|
+
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
5157
|
+
declareV1: Schema.Struct<{}>;
|
|
5158
|
+
}>, Schema.Struct<{
|
|
5159
|
+
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
5160
|
+
declareV2: Schema.Struct<{}>;
|
|
5161
|
+
}>, Schema.Struct<{
|
|
5162
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5163
|
+
declareV3: Schema.Struct<{}>;
|
|
5164
|
+
}>, Schema.Struct<{
|
|
5165
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5166
|
+
declareV3: Schema.Struct<{}>;
|
|
5167
|
+
}>, Schema.Struct<{
|
|
5168
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
5169
|
+
l1Handler: Schema.Struct<{}>;
|
|
5170
|
+
}>, Schema.Struct<{
|
|
5171
|
+
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
5172
|
+
deployAccountV1: Schema.Struct<{}>;
|
|
5173
|
+
}>, Schema.Struct<{
|
|
5174
|
+
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
5175
|
+
deployAccountV3: Schema.Struct<{}>;
|
|
5176
|
+
}>]>>;
|
|
5177
|
+
}>>>;
|
|
5178
|
+
events: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5179
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5180
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5181
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5182
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5183
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5184
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5185
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5186
|
+
keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
5187
|
+
value: Schema.UndefinedOr<Schema.Struct<{
|
|
5188
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5189
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5190
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5191
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5192
|
+
}>>;
|
|
5193
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
5194
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5195
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5196
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5197
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5198
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
5199
|
+
strict: Schema.optional<typeof Schema.Boolean>;
|
|
5200
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5201
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
5202
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5203
|
+
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
5204
|
+
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
5205
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5206
|
+
}>>>;
|
|
5207
|
+
messages: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5208
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5209
|
+
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5210
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5211
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5212
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5213
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5214
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5215
|
+
toAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5216
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5217
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5218
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5219
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5220
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5221
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5222
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
5223
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5224
|
+
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
5225
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5226
|
+
}>>>;
|
|
5227
|
+
storageDiffs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5228
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5229
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5230
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5231
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5232
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5233
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5234
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5235
|
+
}>>>;
|
|
5236
|
+
contractChanges: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5237
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5238
|
+
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
5239
|
+
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
5240
|
+
declaredClass: Schema.Struct<{}>;
|
|
5241
|
+
}>, Schema.Struct<{
|
|
5242
|
+
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
5243
|
+
replacedClass: Schema.Struct<{}>;
|
|
5244
|
+
}>, Schema.Struct<{
|
|
5245
|
+
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
5246
|
+
deployedContract: Schema.Struct<{}>;
|
|
5247
|
+
}>]>>;
|
|
5248
|
+
}>>>;
|
|
5249
|
+
nonceUpdates: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5250
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5251
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5252
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5253
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5254
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5255
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5256
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5257
|
+
}>>>;
|
|
5258
|
+
}>;
|
|
5259
|
+
type Filter = typeof Filter.Type;
|
|
5260
|
+
declare const filterToProto: (a: {
|
|
5261
|
+
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
5262
|
+
readonly transactions?: readonly {
|
|
5263
|
+
readonly id?: number | undefined;
|
|
5264
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5265
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5266
|
+
readonly includeMessages?: boolean | undefined;
|
|
5267
|
+
readonly includeEvents?: boolean | undefined;
|
|
5268
|
+
readonly includeTrace?: boolean | undefined;
|
|
5269
|
+
readonly transactionType?: {
|
|
5270
|
+
readonly _tag: "invokeV0";
|
|
5271
|
+
readonly invokeV0: {};
|
|
5272
|
+
} | {
|
|
5273
|
+
readonly _tag: "invokeV1";
|
|
5274
|
+
readonly invokeV1: {};
|
|
5275
|
+
} | {
|
|
5276
|
+
readonly _tag: "invokeV3";
|
|
5277
|
+
readonly invokeV3: {};
|
|
5278
|
+
} | {
|
|
5279
|
+
readonly _tag: "deploy";
|
|
5280
|
+
readonly deploy: {};
|
|
5281
|
+
} | {
|
|
5282
|
+
readonly _tag: "declareV0";
|
|
5283
|
+
readonly declareV0: {};
|
|
5284
|
+
} | {
|
|
5285
|
+
readonly _tag: "declareV1";
|
|
5286
|
+
readonly declareV1: {};
|
|
5287
|
+
} | {
|
|
5288
|
+
readonly _tag: "declareV2";
|
|
5289
|
+
readonly declareV2: {};
|
|
5290
|
+
} | {
|
|
5291
|
+
readonly _tag: "declareV3";
|
|
5292
|
+
readonly declareV3: {};
|
|
5293
|
+
} | {
|
|
5294
|
+
readonly _tag: "l1Handler";
|
|
5295
|
+
readonly l1Handler: {};
|
|
5296
|
+
} | {
|
|
5297
|
+
readonly _tag: "deployAccountV1";
|
|
5298
|
+
readonly deployAccountV1: {};
|
|
5299
|
+
} | {
|
|
5300
|
+
readonly _tag: "deployAccountV3";
|
|
5301
|
+
readonly deployAccountV3: {};
|
|
5302
|
+
} | undefined;
|
|
5303
|
+
}[] | undefined;
|
|
5304
|
+
readonly events?: readonly {
|
|
5305
|
+
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
5306
|
+
readonly id?: number | undefined;
|
|
5307
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5308
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5309
|
+
readonly includeMessages?: boolean | undefined;
|
|
5310
|
+
readonly address?: `0x${string}` | undefined;
|
|
5311
|
+
readonly strict?: boolean | undefined;
|
|
5312
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5313
|
+
readonly includeSiblings?: boolean | undefined;
|
|
5314
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5315
|
+
}[] | undefined;
|
|
5316
|
+
readonly messages?: readonly {
|
|
5317
|
+
readonly id?: number | undefined;
|
|
5318
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5319
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5320
|
+
readonly includeEvents?: boolean | undefined;
|
|
5321
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5322
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5323
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
5324
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
5325
|
+
}[] | undefined;
|
|
5326
|
+
readonly storageDiffs?: readonly {
|
|
5327
|
+
readonly id?: number | undefined;
|
|
5328
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5329
|
+
}[] | undefined;
|
|
5330
|
+
readonly contractChanges?: readonly {
|
|
5331
|
+
readonly id?: number | undefined;
|
|
5332
|
+
readonly change?: {
|
|
5333
|
+
readonly _tag: "declaredClass";
|
|
5334
|
+
readonly declaredClass: {};
|
|
5335
|
+
} | {
|
|
5336
|
+
readonly _tag: "replacedClass";
|
|
5337
|
+
readonly replacedClass: {};
|
|
5338
|
+
} | {
|
|
5339
|
+
readonly _tag: "deployedContract";
|
|
5340
|
+
readonly deployedContract: {};
|
|
5341
|
+
} | undefined;
|
|
5342
|
+
}[] | undefined;
|
|
5343
|
+
readonly nonceUpdates?: readonly {
|
|
5344
|
+
readonly id?: number | undefined;
|
|
5345
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5346
|
+
}[] | undefined;
|
|
5347
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
5348
|
+
readonly header?: HeaderFilter$1 | undefined;
|
|
5349
|
+
readonly transactions?: readonly {
|
|
5350
|
+
readonly id?: number | undefined;
|
|
5351
|
+
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
5352
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5353
|
+
readonly includeMessages?: boolean | undefined;
|
|
5354
|
+
readonly includeEvents?: boolean | undefined;
|
|
5355
|
+
readonly includeTrace?: boolean | undefined;
|
|
5356
|
+
readonly transactionType?: {
|
|
5357
|
+
readonly $case: "invokeV0";
|
|
5358
|
+
readonly invokeV0: {};
|
|
5359
|
+
} | {
|
|
5360
|
+
readonly $case: "invokeV1";
|
|
5361
|
+
readonly invokeV1: {};
|
|
5362
|
+
} | {
|
|
5363
|
+
readonly $case: "invokeV3";
|
|
5364
|
+
readonly invokeV3: {};
|
|
5365
|
+
} | {
|
|
5366
|
+
readonly $case: "deploy";
|
|
5367
|
+
readonly deploy: {};
|
|
5368
|
+
} | {
|
|
5369
|
+
readonly $case: "declareV0";
|
|
5370
|
+
readonly declareV0: {};
|
|
5371
|
+
} | {
|
|
5372
|
+
readonly $case: "declareV1";
|
|
5373
|
+
readonly declareV1: {};
|
|
5374
|
+
} | {
|
|
5375
|
+
readonly $case: "declareV2";
|
|
5376
|
+
readonly declareV2: {};
|
|
5377
|
+
} | {
|
|
5378
|
+
readonly $case: "declareV3";
|
|
5379
|
+
readonly declareV3: {};
|
|
5380
|
+
} | {
|
|
5381
|
+
readonly $case: "l1Handler";
|
|
5382
|
+
readonly l1Handler: {};
|
|
5383
|
+
} | {
|
|
5384
|
+
readonly $case: "deployAccountV1";
|
|
5385
|
+
readonly deployAccountV1: {};
|
|
5386
|
+
} | {
|
|
5387
|
+
readonly $case: "deployAccountV3";
|
|
5388
|
+
readonly deployAccountV3: {};
|
|
5389
|
+
} | undefined;
|
|
5390
|
+
}[] | undefined;
|
|
5391
|
+
readonly events?: readonly {
|
|
5392
|
+
readonly keys?: readonly {
|
|
5393
|
+
readonly value: {
|
|
5394
|
+
readonly x0: bigint;
|
|
5395
|
+
readonly x1: bigint;
|
|
5396
|
+
readonly x2: bigint;
|
|
5397
|
+
readonly x3: bigint;
|
|
5398
|
+
} | undefined;
|
|
5399
|
+
}[] | undefined;
|
|
5400
|
+
readonly id?: number | undefined;
|
|
5401
|
+
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
5402
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5403
|
+
readonly includeMessages?: boolean | undefined;
|
|
5404
|
+
readonly address?: {
|
|
5405
|
+
readonly x0: bigint;
|
|
5406
|
+
readonly x1: bigint;
|
|
5407
|
+
readonly x2: bigint;
|
|
5408
|
+
readonly x3: bigint;
|
|
5409
|
+
} | undefined;
|
|
5410
|
+
readonly strict?: boolean | undefined;
|
|
5411
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5412
|
+
readonly includeSiblings?: boolean | undefined;
|
|
5413
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5414
|
+
}[] | undefined;
|
|
5415
|
+
readonly messages?: readonly {
|
|
5416
|
+
readonly id?: number | undefined;
|
|
5417
|
+
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
5418
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5419
|
+
readonly includeEvents?: boolean | undefined;
|
|
5420
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5421
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5422
|
+
readonly fromAddress?: {
|
|
5423
|
+
readonly x0: bigint;
|
|
5424
|
+
readonly x1: bigint;
|
|
5425
|
+
readonly x2: bigint;
|
|
5426
|
+
readonly x3: bigint;
|
|
5427
|
+
} | undefined;
|
|
5428
|
+
readonly toAddress?: {
|
|
5429
|
+
readonly x0: bigint;
|
|
5430
|
+
readonly x1: bigint;
|
|
5431
|
+
readonly x2: bigint;
|
|
5432
|
+
readonly x3: bigint;
|
|
5433
|
+
} | undefined;
|
|
5434
|
+
}[] | undefined;
|
|
5435
|
+
readonly storageDiffs?: readonly {
|
|
5436
|
+
readonly id?: number | undefined;
|
|
5437
|
+
readonly contractAddress?: {
|
|
5438
|
+
readonly x0: bigint;
|
|
5439
|
+
readonly x1: bigint;
|
|
5440
|
+
readonly x2: bigint;
|
|
5441
|
+
readonly x3: bigint;
|
|
5442
|
+
} | undefined;
|
|
5443
|
+
}[] | undefined;
|
|
5444
|
+
readonly contractChanges?: readonly {
|
|
5445
|
+
readonly id?: number | undefined;
|
|
5446
|
+
readonly change?: {
|
|
5447
|
+
readonly $case: "declaredClass";
|
|
5448
|
+
readonly declaredClass: {};
|
|
5449
|
+
} | {
|
|
5450
|
+
readonly $case: "replacedClass";
|
|
5451
|
+
readonly replacedClass: {};
|
|
5452
|
+
} | {
|
|
5453
|
+
readonly $case: "deployedContract";
|
|
5454
|
+
readonly deployedContract: {};
|
|
5455
|
+
} | undefined;
|
|
5456
|
+
}[] | undefined;
|
|
5457
|
+
readonly nonceUpdates?: readonly {
|
|
5458
|
+
readonly id?: number | undefined;
|
|
5459
|
+
readonly contractAddress?: {
|
|
5460
|
+
readonly x0: bigint;
|
|
5461
|
+
readonly x1: bigint;
|
|
5462
|
+
readonly x2: bigint;
|
|
5463
|
+
readonly x3: bigint;
|
|
5464
|
+
} | undefined;
|
|
5465
|
+
}[] | undefined;
|
|
5466
|
+
};
|
|
5467
|
+
declare const filterFromProto: (i: {
|
|
5468
|
+
readonly header?: HeaderFilter$1 | undefined;
|
|
5469
|
+
readonly transactions?: readonly {
|
|
5470
|
+
readonly id?: number | undefined;
|
|
5471
|
+
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
5472
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5473
|
+
readonly includeMessages?: boolean | undefined;
|
|
5474
|
+
readonly includeEvents?: boolean | undefined;
|
|
5475
|
+
readonly includeTrace?: boolean | undefined;
|
|
5476
|
+
readonly transactionType?: {
|
|
5477
|
+
readonly $case: "invokeV0";
|
|
5478
|
+
readonly invokeV0: {};
|
|
5479
|
+
} | {
|
|
5480
|
+
readonly $case: "invokeV1";
|
|
5481
|
+
readonly invokeV1: {};
|
|
5482
|
+
} | {
|
|
5483
|
+
readonly $case: "invokeV3";
|
|
5484
|
+
readonly invokeV3: {};
|
|
5485
|
+
} | {
|
|
5486
|
+
readonly $case: "deploy";
|
|
5487
|
+
readonly deploy: {};
|
|
5488
|
+
} | {
|
|
5489
|
+
readonly $case: "declareV0";
|
|
5490
|
+
readonly declareV0: {};
|
|
5491
|
+
} | {
|
|
5492
|
+
readonly $case: "declareV1";
|
|
5493
|
+
readonly declareV1: {};
|
|
5494
|
+
} | {
|
|
5495
|
+
readonly $case: "declareV2";
|
|
5496
|
+
readonly declareV2: {};
|
|
5497
|
+
} | {
|
|
5498
|
+
readonly $case: "declareV3";
|
|
5499
|
+
readonly declareV3: {};
|
|
5500
|
+
} | {
|
|
5501
|
+
readonly $case: "l1Handler";
|
|
5502
|
+
readonly l1Handler: {};
|
|
5503
|
+
} | {
|
|
5504
|
+
readonly $case: "deployAccountV1";
|
|
5505
|
+
readonly deployAccountV1: {};
|
|
5506
|
+
} | {
|
|
5507
|
+
readonly $case: "deployAccountV3";
|
|
5508
|
+
readonly deployAccountV3: {};
|
|
5509
|
+
} | undefined;
|
|
5510
|
+
}[] | undefined;
|
|
5511
|
+
readonly events?: readonly {
|
|
5512
|
+
readonly keys?: readonly {
|
|
5513
|
+
readonly value: {
|
|
5514
|
+
readonly x0: bigint;
|
|
5515
|
+
readonly x1: bigint;
|
|
5516
|
+
readonly x2: bigint;
|
|
5517
|
+
readonly x3: bigint;
|
|
5518
|
+
} | undefined;
|
|
5519
|
+
}[] | undefined;
|
|
5520
|
+
readonly id?: number | undefined;
|
|
5521
|
+
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
5522
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5523
|
+
readonly includeMessages?: boolean | undefined;
|
|
5524
|
+
readonly address?: {
|
|
5525
|
+
readonly x0: bigint;
|
|
5526
|
+
readonly x1: bigint;
|
|
5527
|
+
readonly x2: bigint;
|
|
5528
|
+
readonly x3: bigint;
|
|
5529
|
+
} | undefined;
|
|
5530
|
+
readonly strict?: boolean | undefined;
|
|
5531
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5532
|
+
readonly includeSiblings?: boolean | undefined;
|
|
5533
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5534
|
+
}[] | undefined;
|
|
5535
|
+
readonly messages?: readonly {
|
|
5536
|
+
readonly id?: number | undefined;
|
|
5537
|
+
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
5538
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5539
|
+
readonly includeEvents?: boolean | undefined;
|
|
5540
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5541
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5542
|
+
readonly fromAddress?: {
|
|
5543
|
+
readonly x0: bigint;
|
|
5544
|
+
readonly x1: bigint;
|
|
5545
|
+
readonly x2: bigint;
|
|
5546
|
+
readonly x3: bigint;
|
|
5547
|
+
} | undefined;
|
|
5548
|
+
readonly toAddress?: {
|
|
5549
|
+
readonly x0: bigint;
|
|
5550
|
+
readonly x1: bigint;
|
|
5551
|
+
readonly x2: bigint;
|
|
5552
|
+
readonly x3: bigint;
|
|
5553
|
+
} | undefined;
|
|
5554
|
+
}[] | undefined;
|
|
5555
|
+
readonly storageDiffs?: readonly {
|
|
5556
|
+
readonly id?: number | undefined;
|
|
5557
|
+
readonly contractAddress?: {
|
|
5558
|
+
readonly x0: bigint;
|
|
5559
|
+
readonly x1: bigint;
|
|
5560
|
+
readonly x2: bigint;
|
|
5561
|
+
readonly x3: bigint;
|
|
5562
|
+
} | undefined;
|
|
5563
|
+
}[] | undefined;
|
|
5564
|
+
readonly contractChanges?: readonly {
|
|
5565
|
+
readonly id?: number | undefined;
|
|
5566
|
+
readonly change?: {
|
|
5567
|
+
readonly $case: "declaredClass";
|
|
5568
|
+
readonly declaredClass: {};
|
|
5569
|
+
} | {
|
|
5570
|
+
readonly $case: "replacedClass";
|
|
5571
|
+
readonly replacedClass: {};
|
|
5572
|
+
} | {
|
|
5573
|
+
readonly $case: "deployedContract";
|
|
5574
|
+
readonly deployedContract: {};
|
|
5575
|
+
} | undefined;
|
|
5576
|
+
}[] | undefined;
|
|
5577
|
+
readonly nonceUpdates?: readonly {
|
|
5578
|
+
readonly id?: number | undefined;
|
|
5579
|
+
readonly contractAddress?: {
|
|
5580
|
+
readonly x0: bigint;
|
|
5581
|
+
readonly x1: bigint;
|
|
5582
|
+
readonly x2: bigint;
|
|
5583
|
+
readonly x3: bigint;
|
|
5584
|
+
} | undefined;
|
|
5585
|
+
}[] | undefined;
|
|
5586
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
5587
|
+
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
5588
|
+
readonly transactions?: readonly {
|
|
5589
|
+
readonly id?: number | undefined;
|
|
5590
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5591
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5592
|
+
readonly includeMessages?: boolean | undefined;
|
|
5593
|
+
readonly includeEvents?: boolean | undefined;
|
|
5594
|
+
readonly includeTrace?: boolean | undefined;
|
|
5595
|
+
readonly transactionType?: {
|
|
5596
|
+
readonly _tag: "invokeV0";
|
|
5597
|
+
readonly invokeV0: {};
|
|
5598
|
+
} | {
|
|
5599
|
+
readonly _tag: "invokeV1";
|
|
5600
|
+
readonly invokeV1: {};
|
|
5601
|
+
} | {
|
|
5602
|
+
readonly _tag: "invokeV3";
|
|
5603
|
+
readonly invokeV3: {};
|
|
5604
|
+
} | {
|
|
5605
|
+
readonly _tag: "deploy";
|
|
5606
|
+
readonly deploy: {};
|
|
5607
|
+
} | {
|
|
5608
|
+
readonly _tag: "declareV0";
|
|
5609
|
+
readonly declareV0: {};
|
|
5610
|
+
} | {
|
|
5611
|
+
readonly _tag: "declareV1";
|
|
5612
|
+
readonly declareV1: {};
|
|
5613
|
+
} | {
|
|
5614
|
+
readonly _tag: "declareV2";
|
|
5615
|
+
readonly declareV2: {};
|
|
5616
|
+
} | {
|
|
5617
|
+
readonly _tag: "declareV3";
|
|
5618
|
+
readonly declareV3: {};
|
|
5619
|
+
} | {
|
|
5620
|
+
readonly _tag: "l1Handler";
|
|
5621
|
+
readonly l1Handler: {};
|
|
5622
|
+
} | {
|
|
5623
|
+
readonly _tag: "deployAccountV1";
|
|
5624
|
+
readonly deployAccountV1: {};
|
|
5625
|
+
} | {
|
|
5626
|
+
readonly _tag: "deployAccountV3";
|
|
5627
|
+
readonly deployAccountV3: {};
|
|
5628
|
+
} | undefined;
|
|
5629
|
+
}[] | undefined;
|
|
5630
|
+
readonly events?: readonly {
|
|
5631
|
+
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
5632
|
+
readonly id?: number | undefined;
|
|
5633
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5634
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5635
|
+
readonly includeMessages?: boolean | undefined;
|
|
5636
|
+
readonly address?: `0x${string}` | undefined;
|
|
5637
|
+
readonly strict?: boolean | undefined;
|
|
5638
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5639
|
+
readonly includeSiblings?: boolean | undefined;
|
|
5640
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5641
|
+
}[] | undefined;
|
|
5642
|
+
readonly messages?: readonly {
|
|
5643
|
+
readonly id?: number | undefined;
|
|
5644
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5645
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5646
|
+
readonly includeEvents?: boolean | undefined;
|
|
5647
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5648
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5649
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
5650
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
5651
|
+
}[] | undefined;
|
|
5652
|
+
readonly storageDiffs?: readonly {
|
|
5653
|
+
readonly id?: number | undefined;
|
|
5654
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5655
|
+
}[] | undefined;
|
|
5656
|
+
readonly contractChanges?: readonly {
|
|
5657
|
+
readonly id?: number | undefined;
|
|
5658
|
+
readonly change?: {
|
|
5659
|
+
readonly _tag: "declaredClass";
|
|
5660
|
+
readonly declaredClass: {};
|
|
5661
|
+
} | {
|
|
5662
|
+
readonly _tag: "replacedClass";
|
|
5663
|
+
readonly replacedClass: {};
|
|
5664
|
+
} | {
|
|
5665
|
+
readonly _tag: "deployedContract";
|
|
5666
|
+
readonly deployedContract: {};
|
|
5667
|
+
} | undefined;
|
|
5668
|
+
}[] | undefined;
|
|
5669
|
+
readonly nonceUpdates?: readonly {
|
|
5670
|
+
readonly id?: number | undefined;
|
|
5671
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5672
|
+
}[] | undefined;
|
|
5673
|
+
};
|
|
5674
|
+
declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
|
|
5675
|
+
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
5676
|
+
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5677
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5678
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5679
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5680
|
+
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
5681
|
+
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
5682
|
+
includeTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5683
|
+
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
5684
|
+
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
5685
|
+
invokeV0: Schema.Struct<{}>;
|
|
5686
|
+
}>, Schema.Struct<{
|
|
5687
|
+
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
5688
|
+
invokeV1: Schema.Struct<{}>;
|
|
5285
5689
|
}>, Schema.Struct<{
|
|
5286
|
-
_tag: Schema.PropertySignature<":", "
|
|
5287
|
-
|
|
5690
|
+
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
5691
|
+
invokeV3: Schema.Struct<{}>;
|
|
5288
5692
|
}>, Schema.Struct<{
|
|
5289
5693
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
5290
|
-
deploy: Schema.Struct<{
|
|
5291
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
5292
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5293
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5294
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5295
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5296
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5297
|
-
}>;
|
|
5694
|
+
deploy: Schema.Struct<{}>;
|
|
5298
5695
|
}>, Schema.Struct<{
|
|
5299
|
-
_tag: Schema.PropertySignature<":", "
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5328
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5329
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5330
|
-
eventIndex: typeof Schema.Number;
|
|
5331
|
-
transactionIndex: typeof Schema.Number;
|
|
5332
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
5333
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5334
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5335
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5336
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5337
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5338
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
5339
|
-
eventIndexInTransaction: typeof Schema.Number;
|
|
5340
|
-
}>>;
|
|
5341
|
-
messages: Schema.Array$<Schema.Struct<{
|
|
5342
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5343
|
-
fromAddress: Schema.transform<Schema.Struct<{
|
|
5344
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5345
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5346
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5347
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5348
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5349
|
-
toAddress: Schema.transform<Schema.Struct<{
|
|
5350
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5351
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5352
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5353
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5354
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5355
|
-
payload: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
5696
|
+
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
5697
|
+
declareV0: Schema.Struct<{}>;
|
|
5698
|
+
}>, Schema.Struct<{
|
|
5699
|
+
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
5700
|
+
declareV1: Schema.Struct<{}>;
|
|
5701
|
+
}>, Schema.Struct<{
|
|
5702
|
+
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
5703
|
+
declareV2: Schema.Struct<{}>;
|
|
5704
|
+
}>, Schema.Struct<{
|
|
5705
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5706
|
+
declareV3: Schema.Struct<{}>;
|
|
5707
|
+
}>, Schema.Struct<{
|
|
5708
|
+
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
5709
|
+
declareV3: Schema.Struct<{}>;
|
|
5710
|
+
}>, Schema.Struct<{
|
|
5711
|
+
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
5712
|
+
l1Handler: Schema.Struct<{}>;
|
|
5713
|
+
}>, Schema.Struct<{
|
|
5714
|
+
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
5715
|
+
deployAccountV1: Schema.Struct<{}>;
|
|
5716
|
+
}>, Schema.Struct<{
|
|
5717
|
+
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
5718
|
+
deployAccountV3: Schema.Struct<{}>;
|
|
5719
|
+
}>]>>;
|
|
5720
|
+
}>>>;
|
|
5721
|
+
events: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5722
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5723
|
+
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5356
5724
|
x0: typeof Schema.BigIntFromSelf;
|
|
5357
5725
|
x1: typeof Schema.BigIntFromSelf;
|
|
5358
5726
|
x2: typeof Schema.BigIntFromSelf;
|
|
5359
5727
|
x3: typeof Schema.BigIntFromSelf;
|
|
5360
5728
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
5364
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5365
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5366
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5367
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5368
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5369
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
5370
|
-
messageIndexInTransaction: typeof Schema.Number;
|
|
5371
|
-
}>>;
|
|
5372
|
-
storageDiffs: Schema.Array$<Schema.Struct<{
|
|
5373
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5374
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
5375
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5376
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5377
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5378
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5379
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5380
|
-
storageEntries: Schema.Array$<Schema.Struct<{
|
|
5381
|
-
key: Schema.transform<Schema.Struct<{
|
|
5382
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5383
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5384
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5385
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5386
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5387
|
-
value: Schema.transform<Schema.Struct<{
|
|
5729
|
+
keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
5730
|
+
value: Schema.UndefinedOr<Schema.Struct<{
|
|
5388
5731
|
x0: typeof Schema.BigIntFromSelf;
|
|
5389
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5390
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5391
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5392
|
-
}
|
|
5393
|
-
}
|
|
5394
|
-
}>>;
|
|
5395
|
-
contractChanges: Schema.Array$<Schema.Struct<{
|
|
5396
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5397
|
-
change: Schema.Union<[Schema.Struct<{
|
|
5398
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
5399
|
-
declaredClass: Schema.Struct<{
|
|
5400
|
-
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5401
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5402
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5403
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5404
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5405
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5406
|
-
compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5407
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5408
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5409
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5410
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5411
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5412
|
-
}>;
|
|
5413
|
-
}>, Schema.Struct<{
|
|
5414
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
5415
|
-
replacedClass: Schema.Struct<{
|
|
5416
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5417
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5418
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5419
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5420
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5421
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5422
|
-
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5423
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5424
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5425
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5426
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5427
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5428
|
-
}>;
|
|
5429
|
-
}>, Schema.Struct<{
|
|
5430
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
5431
|
-
deployedContract: Schema.Struct<{
|
|
5432
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5433
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5434
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5435
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5436
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5437
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5438
|
-
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5439
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5440
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5441
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5442
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5443
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5444
|
-
}>;
|
|
5445
|
-
}>]>;
|
|
5446
|
-
}>>;
|
|
5447
|
-
nonceUpdates: Schema.Array$<Schema.Struct<{
|
|
5448
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5449
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
5732
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5733
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5734
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5735
|
+
}>>;
|
|
5736
|
+
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
5450
5737
|
x0: typeof Schema.BigIntFromSelf;
|
|
5451
5738
|
x1: typeof Schema.BigIntFromSelf;
|
|
5452
5739
|
x2: typeof Schema.BigIntFromSelf;
|
|
5453
5740
|
x3: typeof Schema.BigIntFromSelf;
|
|
5454
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5455
|
-
|
|
5741
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
5742
|
+
strict: Schema.optional<typeof Schema.Boolean>;
|
|
5743
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5744
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
5745
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5746
|
+
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
5747
|
+
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
5748
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5749
|
+
}>>>;
|
|
5750
|
+
messages: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5751
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5752
|
+
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5456
5753
|
x0: typeof Schema.BigIntFromSelf;
|
|
5457
5754
|
x1: typeof Schema.BigIntFromSelf;
|
|
5458
5755
|
x2: typeof Schema.BigIntFromSelf;
|
|
5459
5756
|
x3: typeof Schema.BigIntFromSelf;
|
|
5460
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5461
|
-
|
|
5462
|
-
|
|
5757
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5758
|
+
toAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5759
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5760
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5761
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5762
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5763
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5764
|
+
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
5765
|
+
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
5766
|
+
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
5767
|
+
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
5768
|
+
includeTransactionTrace: Schema.optional<typeof Schema.Boolean>;
|
|
5769
|
+
}>>>;
|
|
5770
|
+
storageDiffs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5771
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5772
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5773
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5774
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5775
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5776
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5777
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5778
|
+
}>>>;
|
|
5779
|
+
contractChanges: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5780
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5781
|
+
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
5782
|
+
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
5783
|
+
declaredClass: Schema.Struct<{}>;
|
|
5784
|
+
}>, Schema.Struct<{
|
|
5785
|
+
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
5786
|
+
replacedClass: Schema.Struct<{}>;
|
|
5787
|
+
}>, Schema.Struct<{
|
|
5788
|
+
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
5789
|
+
deployedContract: Schema.Struct<{}>;
|
|
5790
|
+
}>]>>;
|
|
5791
|
+
}>>>;
|
|
5792
|
+
nonceUpdates: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
5793
|
+
id: Schema.optional<typeof Schema.Number>;
|
|
5794
|
+
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5795
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
5796
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
5797
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
5798
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
5799
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5800
|
+
}>>>;
|
|
5801
|
+
}>>;
|
|
5802
|
+
declare const filterToBytes: (a: {
|
|
5803
|
+
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
5804
|
+
readonly transactions?: readonly {
|
|
5805
|
+
readonly id?: number | undefined;
|
|
5806
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5807
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5808
|
+
readonly includeMessages?: boolean | undefined;
|
|
5809
|
+
readonly includeEvents?: boolean | undefined;
|
|
5810
|
+
readonly includeTrace?: boolean | undefined;
|
|
5811
|
+
readonly transactionType?: {
|
|
5812
|
+
readonly _tag: "invokeV0";
|
|
5813
|
+
readonly invokeV0: {};
|
|
5814
|
+
} | {
|
|
5815
|
+
readonly _tag: "invokeV1";
|
|
5816
|
+
readonly invokeV1: {};
|
|
5817
|
+
} | {
|
|
5818
|
+
readonly _tag: "invokeV3";
|
|
5819
|
+
readonly invokeV3: {};
|
|
5820
|
+
} | {
|
|
5821
|
+
readonly _tag: "deploy";
|
|
5822
|
+
readonly deploy: {};
|
|
5823
|
+
} | {
|
|
5824
|
+
readonly _tag: "declareV0";
|
|
5825
|
+
readonly declareV0: {};
|
|
5826
|
+
} | {
|
|
5827
|
+
readonly _tag: "declareV1";
|
|
5828
|
+
readonly declareV1: {};
|
|
5829
|
+
} | {
|
|
5830
|
+
readonly _tag: "declareV2";
|
|
5831
|
+
readonly declareV2: {};
|
|
5832
|
+
} | {
|
|
5833
|
+
readonly _tag: "declareV3";
|
|
5834
|
+
readonly declareV3: {};
|
|
5835
|
+
} | {
|
|
5836
|
+
readonly _tag: "l1Handler";
|
|
5837
|
+
readonly l1Handler: {};
|
|
5838
|
+
} | {
|
|
5839
|
+
readonly _tag: "deployAccountV1";
|
|
5840
|
+
readonly deployAccountV1: {};
|
|
5841
|
+
} | {
|
|
5842
|
+
readonly _tag: "deployAccountV3";
|
|
5843
|
+
readonly deployAccountV3: {};
|
|
5844
|
+
} | undefined;
|
|
5845
|
+
}[] | undefined;
|
|
5846
|
+
readonly events?: readonly {
|
|
5847
|
+
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
5848
|
+
readonly id?: number | undefined;
|
|
5849
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5850
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5851
|
+
readonly includeMessages?: boolean | undefined;
|
|
5852
|
+
readonly address?: `0x${string}` | undefined;
|
|
5853
|
+
readonly strict?: boolean | undefined;
|
|
5854
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5855
|
+
readonly includeSiblings?: boolean | undefined;
|
|
5856
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5857
|
+
}[] | undefined;
|
|
5858
|
+
readonly messages?: readonly {
|
|
5859
|
+
readonly id?: number | undefined;
|
|
5860
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5861
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5862
|
+
readonly includeEvents?: boolean | undefined;
|
|
5863
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5864
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5865
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
5866
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
5867
|
+
}[] | undefined;
|
|
5868
|
+
readonly storageDiffs?: readonly {
|
|
5869
|
+
readonly id?: number | undefined;
|
|
5870
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5871
|
+
}[] | undefined;
|
|
5872
|
+
readonly contractChanges?: readonly {
|
|
5873
|
+
readonly id?: number | undefined;
|
|
5874
|
+
readonly change?: {
|
|
5875
|
+
readonly _tag: "declaredClass";
|
|
5876
|
+
readonly declaredClass: {};
|
|
5877
|
+
} | {
|
|
5878
|
+
readonly _tag: "replacedClass";
|
|
5879
|
+
readonly replacedClass: {};
|
|
5880
|
+
} | {
|
|
5881
|
+
readonly _tag: "deployedContract";
|
|
5882
|
+
readonly deployedContract: {};
|
|
5883
|
+
} | undefined;
|
|
5884
|
+
}[] | undefined;
|
|
5885
|
+
readonly nonceUpdates?: readonly {
|
|
5886
|
+
readonly id?: number | undefined;
|
|
5887
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5888
|
+
}[] | undefined;
|
|
5889
|
+
}, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
|
|
5890
|
+
declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
5891
|
+
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
5892
|
+
readonly transactions?: readonly {
|
|
5893
|
+
readonly id?: number | undefined;
|
|
5894
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5895
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5896
|
+
readonly includeMessages?: boolean | undefined;
|
|
5897
|
+
readonly includeEvents?: boolean | undefined;
|
|
5898
|
+
readonly includeTrace?: boolean | undefined;
|
|
5899
|
+
readonly transactionType?: {
|
|
5900
|
+
readonly _tag: "invokeV0";
|
|
5901
|
+
readonly invokeV0: {};
|
|
5902
|
+
} | {
|
|
5903
|
+
readonly _tag: "invokeV1";
|
|
5904
|
+
readonly invokeV1: {};
|
|
5905
|
+
} | {
|
|
5906
|
+
readonly _tag: "invokeV3";
|
|
5907
|
+
readonly invokeV3: {};
|
|
5908
|
+
} | {
|
|
5909
|
+
readonly _tag: "deploy";
|
|
5910
|
+
readonly deploy: {};
|
|
5911
|
+
} | {
|
|
5912
|
+
readonly _tag: "declareV0";
|
|
5913
|
+
readonly declareV0: {};
|
|
5914
|
+
} | {
|
|
5915
|
+
readonly _tag: "declareV1";
|
|
5916
|
+
readonly declareV1: {};
|
|
5917
|
+
} | {
|
|
5918
|
+
readonly _tag: "declareV2";
|
|
5919
|
+
readonly declareV2: {};
|
|
5920
|
+
} | {
|
|
5921
|
+
readonly _tag: "declareV3";
|
|
5922
|
+
readonly declareV3: {};
|
|
5923
|
+
} | {
|
|
5924
|
+
readonly _tag: "l1Handler";
|
|
5925
|
+
readonly l1Handler: {};
|
|
5926
|
+
} | {
|
|
5927
|
+
readonly _tag: "deployAccountV1";
|
|
5928
|
+
readonly deployAccountV1: {};
|
|
5929
|
+
} | {
|
|
5930
|
+
readonly _tag: "deployAccountV3";
|
|
5931
|
+
readonly deployAccountV3: {};
|
|
5932
|
+
} | undefined;
|
|
5933
|
+
}[] | undefined;
|
|
5934
|
+
readonly events?: readonly {
|
|
5935
|
+
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
5936
|
+
readonly id?: number | undefined;
|
|
5937
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5938
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5939
|
+
readonly includeMessages?: boolean | undefined;
|
|
5940
|
+
readonly address?: `0x${string}` | undefined;
|
|
5941
|
+
readonly strict?: boolean | undefined;
|
|
5942
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5943
|
+
readonly includeSiblings?: boolean | undefined;
|
|
5944
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5945
|
+
}[] | undefined;
|
|
5946
|
+
readonly messages?: readonly {
|
|
5947
|
+
readonly id?: number | undefined;
|
|
5948
|
+
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5949
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5950
|
+
readonly includeEvents?: boolean | undefined;
|
|
5951
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5952
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5953
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
5954
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
5955
|
+
}[] | undefined;
|
|
5956
|
+
readonly storageDiffs?: readonly {
|
|
5957
|
+
readonly id?: number | undefined;
|
|
5958
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5959
|
+
}[] | undefined;
|
|
5960
|
+
readonly contractChanges?: readonly {
|
|
5961
|
+
readonly id?: number | undefined;
|
|
5962
|
+
readonly change?: {
|
|
5963
|
+
readonly _tag: "declaredClass";
|
|
5964
|
+
readonly declaredClass: {};
|
|
5965
|
+
} | {
|
|
5966
|
+
readonly _tag: "replacedClass";
|
|
5967
|
+
readonly replacedClass: {};
|
|
5968
|
+
} | {
|
|
5969
|
+
readonly _tag: "deployedContract";
|
|
5970
|
+
readonly deployedContract: {};
|
|
5971
|
+
} | undefined;
|
|
5972
|
+
}[] | undefined;
|
|
5973
|
+
readonly nonceUpdates?: readonly {
|
|
5974
|
+
readonly id?: number | undefined;
|
|
5975
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5976
|
+
}[] | undefined;
|
|
5977
|
+
};
|
|
5978
|
+
declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
5463
5979
|
|
|
5464
5980
|
/** Returns the transaction receipt for the given transaction index. */
|
|
5465
5981
|
declare function getReceipt(transactionIndex: number, params: {
|
|
@@ -5515,6 +6031,7 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5515
6031
|
readonly includeReceipt?: boolean | undefined;
|
|
5516
6032
|
readonly includeMessages?: boolean | undefined;
|
|
5517
6033
|
readonly includeEvents?: boolean | undefined;
|
|
6034
|
+
readonly includeTrace?: boolean | undefined;
|
|
5518
6035
|
readonly transactionType?: {
|
|
5519
6036
|
readonly _tag: "invokeV0";
|
|
5520
6037
|
readonly invokeV0: {};
|
|
@@ -5560,6 +6077,7 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5560
6077
|
readonly strict?: boolean | undefined;
|
|
5561
6078
|
readonly includeTransaction?: boolean | undefined;
|
|
5562
6079
|
readonly includeSiblings?: boolean | undefined;
|
|
6080
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5563
6081
|
}[] | undefined;
|
|
5564
6082
|
readonly messages?: readonly {
|
|
5565
6083
|
readonly id?: number | undefined;
|
|
@@ -5567,6 +6085,7 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5567
6085
|
readonly includeReceipt?: boolean | undefined;
|
|
5568
6086
|
readonly includeEvents?: boolean | undefined;
|
|
5569
6087
|
readonly includeTransaction?: boolean | undefined;
|
|
6088
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5570
6089
|
readonly fromAddress?: `0x${string}` | undefined;
|
|
5571
6090
|
readonly toAddress?: `0x${string}` | undefined;
|
|
5572
6091
|
}[] | undefined;
|
|
@@ -5876,6 +6395,45 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5876
6395
|
};
|
|
5877
6396
|
};
|
|
5878
6397
|
}[];
|
|
6398
|
+
readonly traces: readonly {
|
|
6399
|
+
readonly filterIds: readonly number[];
|
|
6400
|
+
readonly transactionIndex: number;
|
|
6401
|
+
readonly transactionHash: `0x${string}`;
|
|
6402
|
+
readonly traceRoot: {
|
|
6403
|
+
readonly _tag: "invoke";
|
|
6404
|
+
readonly invoke: {
|
|
6405
|
+
readonly validateInvocation?: FunctionInvocation | undefined;
|
|
6406
|
+
readonly executeInvocation: {
|
|
6407
|
+
readonly reverted: {
|
|
6408
|
+
readonly reason?: string | undefined;
|
|
6409
|
+
};
|
|
6410
|
+
readonly _tag: "reverted";
|
|
6411
|
+
} | {
|
|
6412
|
+
readonly _tag: "success";
|
|
6413
|
+
readonly success: FunctionInvocation;
|
|
6414
|
+
};
|
|
6415
|
+
readonly feeTransferInvocation?: FunctionInvocation | undefined;
|
|
6416
|
+
};
|
|
6417
|
+
} | {
|
|
6418
|
+
readonly _tag: "declare";
|
|
6419
|
+
readonly declare: {
|
|
6420
|
+
readonly validateInvocation?: FunctionInvocation | undefined;
|
|
6421
|
+
readonly feeTransferInvocation?: FunctionInvocation | undefined;
|
|
6422
|
+
};
|
|
6423
|
+
} | {
|
|
6424
|
+
readonly _tag: "deployAccount";
|
|
6425
|
+
readonly deployAccount: {
|
|
6426
|
+
readonly validateInvocation?: FunctionInvocation | undefined;
|
|
6427
|
+
readonly feeTransferInvocation?: FunctionInvocation | undefined;
|
|
6428
|
+
readonly constructorInvocation?: FunctionInvocation | undefined;
|
|
6429
|
+
};
|
|
6430
|
+
} | {
|
|
6431
|
+
readonly _tag: "l1Handler";
|
|
6432
|
+
readonly l1Handler: {
|
|
6433
|
+
readonly functionInvocation?: FunctionInvocation | undefined;
|
|
6434
|
+
};
|
|
6435
|
+
};
|
|
6436
|
+
}[];
|
|
5879
6437
|
}>;
|
|
5880
6438
|
|
|
5881
|
-
export { Block, BlockFromBytes, BlockHeader, ComputationResources, ContractChange, ContractChangeFilter, DataAvailabilityMode, DataAvailabilityResources, DeclareTransactionReceipt, DeclareTransactionV0, DeclareTransactionV1, DeclareTransactionV2, DeclareTransactionV3, DeclareV0TransactionFilter, DeclareV1TransactionFilter, DeclareV2TransactionFilter, DeclareV3TransactionFilter, DeclaredClass, DeclaredClassFilter, type DecodeEventArgs, DecodeEventError, type DecodeEventReturn, type DecodedEvent, DeployAccountTransactionReceipt, DeployAccountTransactionV1, DeployAccountTransactionV3, DeployAccountV1TransactionFilter, DeployAccountV3TransactionFilter, DeployTransaction, DeployTransactionFilter, DeployTransactionReceipt, DeployedContract, DeployedContractFilter, Event, EventFilter, ExecutionResources, ExecutionReverted, ExecutionSucceeded, FeePayment, FieldElement$1 as FieldElement, Filter, FilterFromBytes, HeaderFilter, InvokeTransactionReceipt, InvokeTransactionV0, InvokeTransactionV0Filter, InvokeTransactionV1, InvokeTransactionV1Filter, InvokeTransactionV3, InvokeTransactionV3Filter, Key, L1DataAvailabilityMode, L1HandlerTransaction, L1HandlerTransactionFilter, L1HandlerTransactionReceipt, MessageToL1, MessageToL1Filter, NonceUpdate, NonceUpdateFilter, PriceUnit, ReplacedClass, ReplacedClassFilter, ResourceBounds, ResourceBoundsMapping, ResourcePrice, StarknetStream, StorageDiff, StorageDiffFilter, StorageEntry, Transaction, TransactionFilter, TransactionMeta, TransactionReceipt, TransactionReceiptMeta, TransactionStatus, TransactionStatusFilter, U128, decodeEvent, filterFromBytes, filterFromProto, filterToBytes, filterToProto, getBigIntSelector, getEventSelector, getReceipt, getSelector, getTransaction, mergeFilter, index as proto };
|
|
6439
|
+
export { Block, BlockFromBytes, BlockHeader, CallType, ComputationResources, ContractChange, ContractChangeFilter, DataAvailabilityMode, DataAvailabilityResources, DeclareTransactionReceipt, DeclareTransactionTrace, DeclareTransactionV0, DeclareTransactionV1, DeclareTransactionV2, DeclareTransactionV3, DeclareV0TransactionFilter, DeclareV1TransactionFilter, DeclareV2TransactionFilter, DeclareV3TransactionFilter, DeclaredClass, DeclaredClassFilter, type DecodeEventArgs, DecodeEventError, type DecodeEventReturn, type DecodedEvent, DeployAccountTransactionReceipt, DeployAccountTransactionTrace, DeployAccountTransactionV1, DeployAccountTransactionV3, DeployAccountV1TransactionFilter, DeployAccountV3TransactionFilter, DeployTransaction, DeployTransactionFilter, DeployTransactionReceipt, DeployedContract, DeployedContractFilter, Event, EventFilter, ExecuteInvocationReverted, ExecuteInvocationSuccess, ExecutionResources, ExecutionReverted, ExecutionSucceeded, FeePayment, FieldElement$1 as FieldElement, Filter, FilterFromBytes, FunctionInvocation, HeaderFilter, InvokeTransactionReceipt, InvokeTransactionTrace, InvokeTransactionV0, InvokeTransactionV0Filter, InvokeTransactionV1, InvokeTransactionV1Filter, InvokeTransactionV3, InvokeTransactionV3Filter, Key, L1DataAvailabilityMode, L1HandlerTransaction, L1HandlerTransactionFilter, L1HandlerTransactionReceipt, L1HandlerTransactionTrace, MessageToL1, MessageToL1Filter, NonceUpdate, NonceUpdateFilter, PriceUnit, ReplacedClass, ReplacedClassFilter, ResourceBounds, ResourceBoundsMapping, ResourcePrice, StarknetStream, StorageDiff, StorageDiffFilter, StorageEntry, Transaction, TransactionFilter, TransactionMeta, TransactionReceipt, TransactionReceiptMeta, TransactionStatus, TransactionStatusFilter, TransactionTrace, U128, decodeEvent, filterFromBytes, filterFromProto, filterToBytes, filterToProto, getBigIntSelector, getEventSelector, getReceipt, getSelector, getTransaction, mergeFilter, index as proto };
|