@apibara/starknet 2.1.0-beta.2 → 2.1.0-beta.21
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 +2062 -1461
- package/dist/index.d.mts +2062 -1461
- package/dist/index.d.ts +2062 -1461
- package/dist/index.mjs +1213 -233
- package/package.json +2 -2
- package/src/block.ts +220 -0
- package/src/filter.ts +34 -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,1266 +1440,200 @@ 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
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
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"]>>;
|
|
1409
1570
|
}>;
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
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"]>>;
|
|
1413
1589
|
}>;
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
}>;
|
|
1426
|
-
declare const DeployAccountV1TransactionFilter: Schema.Struct<{
|
|
1427
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1428
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
1429
|
-
}>;
|
|
1430
|
-
declare const DeployAccountV3TransactionFilter: Schema.Struct<{
|
|
1431
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1432
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
1433
|
-
}>;
|
|
1434
|
-
/** Filter transactions.
|
|
1435
|
-
*
|
|
1436
|
-
* @prop transactionStatus Filter based on the transaction status.
|
|
1437
|
-
* @prop includeReceipt Include the transaction receipt.
|
|
1438
|
-
* @prop includeEvents Include events from the same transaction.
|
|
1439
|
-
* @prop includeMessages Include messages sent in the transaction.
|
|
1440
|
-
*/
|
|
1441
|
-
declare const TransactionFilter: Schema.Struct<{
|
|
1442
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1443
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
1444
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1445
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1446
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
1447
|
-
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1448
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
1449
|
-
invokeV0: Schema.Struct<{}>;
|
|
1450
|
-
}>, Schema.Struct<{
|
|
1451
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
1452
|
-
invokeV1: Schema.Struct<{}>;
|
|
1453
|
-
}>, Schema.Struct<{
|
|
1454
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
1455
|
-
invokeV3: Schema.Struct<{}>;
|
|
1456
|
-
}>, Schema.Struct<{
|
|
1457
|
-
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
1458
|
-
deploy: Schema.Struct<{}>;
|
|
1459
|
-
}>, Schema.Struct<{
|
|
1460
|
-
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
1461
|
-
declareV0: Schema.Struct<{}>;
|
|
1462
|
-
}>, Schema.Struct<{
|
|
1463
|
-
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
1464
|
-
declareV1: Schema.Struct<{}>;
|
|
1465
|
-
}>, Schema.Struct<{
|
|
1466
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
1467
|
-
declareV2: Schema.Struct<{}>;
|
|
1468
|
-
}>, Schema.Struct<{
|
|
1469
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1470
|
-
declareV3: Schema.Struct<{}>;
|
|
1471
|
-
}>, Schema.Struct<{
|
|
1472
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1473
|
-
declareV3: Schema.Struct<{}>;
|
|
1474
|
-
}>, Schema.Struct<{
|
|
1475
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
1476
|
-
l1Handler: Schema.Struct<{}>;
|
|
1477
|
-
}>, Schema.Struct<{
|
|
1478
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1479
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
1480
|
-
}>, Schema.Struct<{
|
|
1481
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1482
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
1483
|
-
}>]>>;
|
|
1484
|
-
}>;
|
|
1485
|
-
type TransactionFilter = typeof TransactionFilter.Type;
|
|
1486
|
-
/** Filter storage diffs.
|
|
1487
|
-
*
|
|
1488
|
-
* @prop contractAddress Filter by contract address.
|
|
1489
|
-
*/
|
|
1490
|
-
declare const StorageDiffFilter: Schema.Struct<{
|
|
1491
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1492
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1493
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1494
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1495
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1496
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1497
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1498
|
-
}>;
|
|
1499
|
-
type StorageDiffFilter = typeof StorageDiffFilter.Type;
|
|
1500
|
-
/** Filter declared classes. */
|
|
1501
|
-
declare const DeclaredClassFilter: Schema.Struct<{
|
|
1502
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
1503
|
-
declaredClass: Schema.Struct<{}>;
|
|
1504
|
-
}>;
|
|
1505
|
-
type DeclaredClassFilter = typeof DeclaredClassFilter.Type;
|
|
1506
|
-
declare const ReplacedClassFilter: Schema.Struct<{
|
|
1507
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
1508
|
-
replacedClass: Schema.Struct<{}>;
|
|
1509
|
-
}>;
|
|
1510
|
-
type ReplacedClassFilter = typeof ReplacedClassFilter.Type;
|
|
1511
|
-
declare const DeployedContractFilter: Schema.Struct<{
|
|
1512
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
1513
|
-
deployedContract: Schema.Struct<{}>;
|
|
1514
|
-
}>;
|
|
1515
|
-
type DeployedContractFilter = typeof DeployedContractFilter.Type;
|
|
1516
|
-
/** Filter contract changes. */
|
|
1517
|
-
declare const ContractChangeFilter: Schema.Struct<{
|
|
1518
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1519
|
-
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1520
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
1521
|
-
declaredClass: Schema.Struct<{}>;
|
|
1522
|
-
}>, Schema.Struct<{
|
|
1523
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
1524
|
-
replacedClass: Schema.Struct<{}>;
|
|
1525
|
-
}>, Schema.Struct<{
|
|
1526
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
1527
|
-
deployedContract: Schema.Struct<{}>;
|
|
1528
|
-
}>]>>;
|
|
1529
|
-
}>;
|
|
1530
|
-
/** Filter updates to nonces.
|
|
1531
|
-
*
|
|
1532
|
-
* @prop contractAddress Filter by contract address.
|
|
1533
|
-
*/
|
|
1534
|
-
declare const NonceUpdateFilter: Schema.Struct<{
|
|
1535
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1536
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1537
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1538
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1539
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1540
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1541
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1542
|
-
}>;
|
|
1543
|
-
declare const Filter: Schema.Struct<{
|
|
1544
|
-
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
1545
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1546
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1547
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
1548
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1549
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1550
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
1551
|
-
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1552
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
1553
|
-
invokeV0: Schema.Struct<{}>;
|
|
1554
|
-
}>, Schema.Struct<{
|
|
1555
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
1556
|
-
invokeV1: Schema.Struct<{}>;
|
|
1557
|
-
}>, Schema.Struct<{
|
|
1558
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
1559
|
-
invokeV3: Schema.Struct<{}>;
|
|
1560
|
-
}>, Schema.Struct<{
|
|
1561
|
-
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
1562
|
-
deploy: Schema.Struct<{}>;
|
|
1563
|
-
}>, Schema.Struct<{
|
|
1564
|
-
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
1565
|
-
declareV0: Schema.Struct<{}>;
|
|
1566
|
-
}>, Schema.Struct<{
|
|
1567
|
-
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
1568
|
-
declareV1: Schema.Struct<{}>;
|
|
1569
|
-
}>, Schema.Struct<{
|
|
1570
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
1571
|
-
declareV2: Schema.Struct<{}>;
|
|
1572
|
-
}>, Schema.Struct<{
|
|
1573
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1574
|
-
declareV3: Schema.Struct<{}>;
|
|
1575
|
-
}>, Schema.Struct<{
|
|
1576
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1577
|
-
declareV3: Schema.Struct<{}>;
|
|
1578
|
-
}>, Schema.Struct<{
|
|
1579
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
1580
|
-
l1Handler: Schema.Struct<{}>;
|
|
1581
|
-
}>, Schema.Struct<{
|
|
1582
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1583
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
1584
|
-
}>, Schema.Struct<{
|
|
1585
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1586
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
1587
|
-
}>]>>;
|
|
1588
|
-
}>>>;
|
|
1589
|
-
events: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1590
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1591
|
-
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<{
|
|
1592
1601
|
x0: typeof Schema.BigIntFromSelf;
|
|
1593
1602
|
x1: typeof Schema.BigIntFromSelf;
|
|
1594
1603
|
x2: typeof Schema.BigIntFromSelf;
|
|
1595
1604
|
x3: typeof Schema.BigIntFromSelf;
|
|
1596
1605
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1597
|
-
|
|
1598
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
1599
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1600
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1601
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1602
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1603
|
-
}>>;
|
|
1604
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
1606
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
1605
1607
|
x0: typeof Schema.BigIntFromSelf;
|
|
1606
1608
|
x1: typeof Schema.BigIntFromSelf;
|
|
1607
1609
|
x2: typeof Schema.BigIntFromSelf;
|
|
1608
1610
|
x3: typeof Schema.BigIntFromSelf;
|
|
1609
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1610
|
-
|
|
1611
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
1612
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
1613
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
1614
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
1615
|
-
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
1616
|
-
}>>>;
|
|
1617
|
-
messages: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1618
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1619
|
-
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1611
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1612
|
+
entryPointSelector: Schema.transform<Schema.Struct<{
|
|
1620
1613
|
x0: typeof Schema.BigIntFromSelf;
|
|
1621
1614
|
x1: typeof Schema.BigIntFromSelf;
|
|
1622
1615
|
x2: typeof Schema.BigIntFromSelf;
|
|
1623
1616
|
x3: typeof Schema.BigIntFromSelf;
|
|
1624
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1625
|
-
|
|
1617
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1618
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1626
1619
|
x0: typeof Schema.BigIntFromSelf;
|
|
1627
1620
|
x1: typeof Schema.BigIntFromSelf;
|
|
1628
1621
|
x2: typeof Schema.BigIntFromSelf;
|
|
1629
1622
|
x3: typeof Schema.BigIntFromSelf;
|
|
1630
1623
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
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<{
|
|
1639
1631
|
x0: typeof Schema.BigIntFromSelf;
|
|
1640
1632
|
x1: typeof Schema.BigIntFromSelf;
|
|
1641
1633
|
x2: typeof Schema.BigIntFromSelf;
|
|
1642
1634
|
x3: typeof Schema.BigIntFromSelf;
|
|
1643
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
1644
|
-
|
|
1645
|
-
contractChanges: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1646
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1647
|
-
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
1648
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
1649
|
-
declaredClass: Schema.Struct<{}>;
|
|
1650
|
-
}>, Schema.Struct<{
|
|
1651
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
1652
|
-
replacedClass: Schema.Struct<{}>;
|
|
1653
|
-
}>, Schema.Struct<{
|
|
1654
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
1655
|
-
deployedContract: Schema.Struct<{}>;
|
|
1656
|
-
}>]>>;
|
|
1657
|
-
}>>>;
|
|
1658
|
-
nonceUpdates: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
1659
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
1660
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
1661
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
1662
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
1663
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
1664
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
1665
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1666
|
-
}>>>;
|
|
1667
|
-
}>;
|
|
1668
|
-
type Filter = typeof Filter.Type;
|
|
1669
|
-
declare const filterToProto: (a: {
|
|
1670
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
1671
|
-
readonly transactions?: readonly {
|
|
1672
|
-
readonly id?: number | undefined;
|
|
1673
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1674
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1675
|
-
readonly includeMessages?: boolean | undefined;
|
|
1676
|
-
readonly includeEvents?: boolean | undefined;
|
|
1677
|
-
readonly transactionType?: {
|
|
1678
|
-
readonly _tag: "invokeV0";
|
|
1679
|
-
readonly invokeV0: {};
|
|
1680
|
-
} | {
|
|
1681
|
-
readonly _tag: "invokeV1";
|
|
1682
|
-
readonly invokeV1: {};
|
|
1683
|
-
} | {
|
|
1684
|
-
readonly _tag: "invokeV3";
|
|
1685
|
-
readonly invokeV3: {};
|
|
1686
|
-
} | {
|
|
1687
|
-
readonly _tag: "deploy";
|
|
1688
|
-
readonly deploy: {};
|
|
1689
|
-
} | {
|
|
1690
|
-
readonly _tag: "declareV0";
|
|
1691
|
-
readonly declareV0: {};
|
|
1692
|
-
} | {
|
|
1693
|
-
readonly _tag: "declareV1";
|
|
1694
|
-
readonly declareV1: {};
|
|
1695
|
-
} | {
|
|
1696
|
-
readonly _tag: "declareV2";
|
|
1697
|
-
readonly declareV2: {};
|
|
1698
|
-
} | {
|
|
1699
|
-
readonly _tag: "declareV3";
|
|
1700
|
-
readonly declareV3: {};
|
|
1701
|
-
} | {
|
|
1702
|
-
readonly _tag: "l1Handler";
|
|
1703
|
-
readonly l1Handler: {};
|
|
1704
|
-
} | {
|
|
1705
|
-
readonly _tag: "deployAccountV1";
|
|
1706
|
-
readonly deployAccountV1: {};
|
|
1707
|
-
} | {
|
|
1708
|
-
readonly _tag: "deployAccountV3";
|
|
1709
|
-
readonly deployAccountV3: {};
|
|
1710
|
-
} | undefined;
|
|
1711
|
-
}[] | undefined;
|
|
1712
|
-
readonly events?: readonly {
|
|
1713
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
1714
|
-
readonly id?: number | undefined;
|
|
1715
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1716
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1717
|
-
readonly includeMessages?: boolean | undefined;
|
|
1718
|
-
readonly address?: `0x${string}` | undefined;
|
|
1719
|
-
readonly strict?: boolean | undefined;
|
|
1720
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1721
|
-
readonly includeSiblings?: boolean | undefined;
|
|
1722
|
-
}[] | undefined;
|
|
1723
|
-
readonly messages?: readonly {
|
|
1724
|
-
readonly id?: number | undefined;
|
|
1725
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1726
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1727
|
-
readonly includeEvents?: boolean | undefined;
|
|
1728
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1729
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
1730
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
1731
|
-
}[] | undefined;
|
|
1732
|
-
readonly storageDiffs?: readonly {
|
|
1733
|
-
readonly id?: number | undefined;
|
|
1734
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
1735
|
-
}[] | undefined;
|
|
1736
|
-
readonly contractChanges?: readonly {
|
|
1737
|
-
readonly id?: number | undefined;
|
|
1738
|
-
readonly change?: {
|
|
1739
|
-
readonly _tag: "declaredClass";
|
|
1740
|
-
readonly declaredClass: {};
|
|
1741
|
-
} | {
|
|
1742
|
-
readonly _tag: "replacedClass";
|
|
1743
|
-
readonly replacedClass: {};
|
|
1744
|
-
} | {
|
|
1745
|
-
readonly _tag: "deployedContract";
|
|
1746
|
-
readonly deployedContract: {};
|
|
1747
|
-
} | undefined;
|
|
1748
|
-
}[] | undefined;
|
|
1749
|
-
readonly nonceUpdates?: readonly {
|
|
1750
|
-
readonly id?: number | undefined;
|
|
1751
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
1752
|
-
}[] | undefined;
|
|
1753
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
1754
|
-
readonly header?: HeaderFilter$1 | undefined;
|
|
1755
|
-
readonly transactions?: readonly {
|
|
1756
|
-
readonly id?: number | undefined;
|
|
1757
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1758
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1759
|
-
readonly includeMessages?: boolean | undefined;
|
|
1760
|
-
readonly includeEvents?: boolean | undefined;
|
|
1761
|
-
readonly transactionType?: {
|
|
1762
|
-
readonly $case: "invokeV0";
|
|
1763
|
-
readonly invokeV0: {};
|
|
1764
|
-
} | {
|
|
1765
|
-
readonly $case: "invokeV1";
|
|
1766
|
-
readonly invokeV1: {};
|
|
1767
|
-
} | {
|
|
1768
|
-
readonly $case: "invokeV3";
|
|
1769
|
-
readonly invokeV3: {};
|
|
1770
|
-
} | {
|
|
1771
|
-
readonly $case: "deploy";
|
|
1772
|
-
readonly deploy: {};
|
|
1773
|
-
} | {
|
|
1774
|
-
readonly $case: "declareV0";
|
|
1775
|
-
readonly declareV0: {};
|
|
1776
|
-
} | {
|
|
1777
|
-
readonly $case: "declareV1";
|
|
1778
|
-
readonly declareV1: {};
|
|
1779
|
-
} | {
|
|
1780
|
-
readonly $case: "declareV2";
|
|
1781
|
-
readonly declareV2: {};
|
|
1782
|
-
} | {
|
|
1783
|
-
readonly $case: "declareV3";
|
|
1784
|
-
readonly declareV3: {};
|
|
1785
|
-
} | {
|
|
1786
|
-
readonly $case: "l1Handler";
|
|
1787
|
-
readonly l1Handler: {};
|
|
1788
|
-
} | {
|
|
1789
|
-
readonly $case: "deployAccountV1";
|
|
1790
|
-
readonly deployAccountV1: {};
|
|
1791
|
-
} | {
|
|
1792
|
-
readonly $case: "deployAccountV3";
|
|
1793
|
-
readonly deployAccountV3: {};
|
|
1794
|
-
} | undefined;
|
|
1795
|
-
}[] | undefined;
|
|
1796
|
-
readonly events?: readonly {
|
|
1797
|
-
readonly keys?: readonly {
|
|
1798
|
-
readonly value: {
|
|
1799
|
-
readonly x0: bigint;
|
|
1800
|
-
readonly x1: bigint;
|
|
1801
|
-
readonly x2: bigint;
|
|
1802
|
-
readonly x3: bigint;
|
|
1803
|
-
} | undefined;
|
|
1804
|
-
}[] | undefined;
|
|
1805
|
-
readonly id?: number | undefined;
|
|
1806
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1807
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1808
|
-
readonly includeMessages?: boolean | undefined;
|
|
1809
|
-
readonly address?: {
|
|
1810
|
-
readonly x0: bigint;
|
|
1811
|
-
readonly x1: bigint;
|
|
1812
|
-
readonly x2: bigint;
|
|
1813
|
-
readonly x3: bigint;
|
|
1814
|
-
} | undefined;
|
|
1815
|
-
readonly strict?: boolean | undefined;
|
|
1816
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1817
|
-
readonly includeSiblings?: boolean | undefined;
|
|
1818
|
-
}[] | undefined;
|
|
1819
|
-
readonly messages?: readonly {
|
|
1820
|
-
readonly id?: number | undefined;
|
|
1821
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1822
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1823
|
-
readonly includeEvents?: boolean | undefined;
|
|
1824
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1825
|
-
readonly fromAddress?: {
|
|
1826
|
-
readonly x0: bigint;
|
|
1827
|
-
readonly x1: bigint;
|
|
1828
|
-
readonly x2: bigint;
|
|
1829
|
-
readonly x3: bigint;
|
|
1830
|
-
} | undefined;
|
|
1831
|
-
readonly toAddress?: {
|
|
1832
|
-
readonly x0: bigint;
|
|
1833
|
-
readonly x1: bigint;
|
|
1834
|
-
readonly x2: bigint;
|
|
1835
|
-
readonly x3: bigint;
|
|
1836
|
-
} | undefined;
|
|
1837
|
-
}[] | undefined;
|
|
1838
|
-
readonly storageDiffs?: readonly {
|
|
1839
|
-
readonly id?: number | undefined;
|
|
1840
|
-
readonly contractAddress?: {
|
|
1841
|
-
readonly x0: bigint;
|
|
1842
|
-
readonly x1: bigint;
|
|
1843
|
-
readonly x2: bigint;
|
|
1844
|
-
readonly x3: bigint;
|
|
1845
|
-
} | undefined;
|
|
1846
|
-
}[] | undefined;
|
|
1847
|
-
readonly contractChanges?: readonly {
|
|
1848
|
-
readonly id?: number | undefined;
|
|
1849
|
-
readonly change?: {
|
|
1850
|
-
readonly $case: "declaredClass";
|
|
1851
|
-
readonly declaredClass: {};
|
|
1852
|
-
} | {
|
|
1853
|
-
readonly $case: "replacedClass";
|
|
1854
|
-
readonly replacedClass: {};
|
|
1855
|
-
} | {
|
|
1856
|
-
readonly $case: "deployedContract";
|
|
1857
|
-
readonly deployedContract: {};
|
|
1858
|
-
} | undefined;
|
|
1859
|
-
}[] | undefined;
|
|
1860
|
-
readonly nonceUpdates?: readonly {
|
|
1861
|
-
readonly id?: number | undefined;
|
|
1862
|
-
readonly contractAddress?: {
|
|
1863
|
-
readonly x0: bigint;
|
|
1864
|
-
readonly x1: bigint;
|
|
1865
|
-
readonly x2: bigint;
|
|
1866
|
-
readonly x3: bigint;
|
|
1867
|
-
} | undefined;
|
|
1868
|
-
}[] | undefined;
|
|
1869
|
-
};
|
|
1870
|
-
declare const filterFromProto: (i: {
|
|
1871
|
-
readonly header?: HeaderFilter$1 | undefined;
|
|
1872
|
-
readonly transactions?: readonly {
|
|
1873
|
-
readonly id?: number | undefined;
|
|
1874
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1875
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1876
|
-
readonly includeMessages?: boolean | undefined;
|
|
1877
|
-
readonly includeEvents?: boolean | undefined;
|
|
1878
|
-
readonly transactionType?: {
|
|
1879
|
-
readonly $case: "invokeV0";
|
|
1880
|
-
readonly invokeV0: {};
|
|
1881
|
-
} | {
|
|
1882
|
-
readonly $case: "invokeV1";
|
|
1883
|
-
readonly invokeV1: {};
|
|
1884
|
-
} | {
|
|
1885
|
-
readonly $case: "invokeV3";
|
|
1886
|
-
readonly invokeV3: {};
|
|
1887
|
-
} | {
|
|
1888
|
-
readonly $case: "deploy";
|
|
1889
|
-
readonly deploy: {};
|
|
1890
|
-
} | {
|
|
1891
|
-
readonly $case: "declareV0";
|
|
1892
|
-
readonly declareV0: {};
|
|
1893
|
-
} | {
|
|
1894
|
-
readonly $case: "declareV1";
|
|
1895
|
-
readonly declareV1: {};
|
|
1896
|
-
} | {
|
|
1897
|
-
readonly $case: "declareV2";
|
|
1898
|
-
readonly declareV2: {};
|
|
1899
|
-
} | {
|
|
1900
|
-
readonly $case: "declareV3";
|
|
1901
|
-
readonly declareV3: {};
|
|
1902
|
-
} | {
|
|
1903
|
-
readonly $case: "l1Handler";
|
|
1904
|
-
readonly l1Handler: {};
|
|
1905
|
-
} | {
|
|
1906
|
-
readonly $case: "deployAccountV1";
|
|
1907
|
-
readonly deployAccountV1: {};
|
|
1908
|
-
} | {
|
|
1909
|
-
readonly $case: "deployAccountV3";
|
|
1910
|
-
readonly deployAccountV3: {};
|
|
1911
|
-
} | undefined;
|
|
1912
|
-
}[] | undefined;
|
|
1913
|
-
readonly events?: readonly {
|
|
1914
|
-
readonly keys?: readonly {
|
|
1915
|
-
readonly value: {
|
|
1916
|
-
readonly x0: bigint;
|
|
1917
|
-
readonly x1: bigint;
|
|
1918
|
-
readonly x2: bigint;
|
|
1919
|
-
readonly x3: bigint;
|
|
1920
|
-
} | undefined;
|
|
1921
|
-
}[] | undefined;
|
|
1922
|
-
readonly id?: number | undefined;
|
|
1923
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1924
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1925
|
-
readonly includeMessages?: boolean | undefined;
|
|
1926
|
-
readonly address?: {
|
|
1927
|
-
readonly x0: bigint;
|
|
1928
|
-
readonly x1: bigint;
|
|
1929
|
-
readonly x2: bigint;
|
|
1930
|
-
readonly x3: bigint;
|
|
1931
|
-
} | undefined;
|
|
1932
|
-
readonly strict?: boolean | undefined;
|
|
1933
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1934
|
-
readonly includeSiblings?: boolean | undefined;
|
|
1935
|
-
}[] | undefined;
|
|
1936
|
-
readonly messages?: readonly {
|
|
1937
|
-
readonly id?: number | undefined;
|
|
1938
|
-
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1939
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1940
|
-
readonly includeEvents?: boolean | undefined;
|
|
1941
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1942
|
-
readonly fromAddress?: {
|
|
1943
|
-
readonly x0: bigint;
|
|
1944
|
-
readonly x1: bigint;
|
|
1945
|
-
readonly x2: bigint;
|
|
1946
|
-
readonly x3: bigint;
|
|
1947
|
-
} | undefined;
|
|
1948
|
-
readonly toAddress?: {
|
|
1949
|
-
readonly x0: bigint;
|
|
1950
|
-
readonly x1: bigint;
|
|
1951
|
-
readonly x2: bigint;
|
|
1952
|
-
readonly x3: bigint;
|
|
1953
|
-
} | undefined;
|
|
1954
|
-
}[] | undefined;
|
|
1955
|
-
readonly storageDiffs?: readonly {
|
|
1956
|
-
readonly id?: number | undefined;
|
|
1957
|
-
readonly contractAddress?: {
|
|
1958
|
-
readonly x0: bigint;
|
|
1959
|
-
readonly x1: bigint;
|
|
1960
|
-
readonly x2: bigint;
|
|
1961
|
-
readonly x3: bigint;
|
|
1962
|
-
} | undefined;
|
|
1963
|
-
}[] | undefined;
|
|
1964
|
-
readonly contractChanges?: readonly {
|
|
1965
|
-
readonly id?: number | undefined;
|
|
1966
|
-
readonly change?: {
|
|
1967
|
-
readonly $case: "declaredClass";
|
|
1968
|
-
readonly declaredClass: {};
|
|
1969
|
-
} | {
|
|
1970
|
-
readonly $case: "replacedClass";
|
|
1971
|
-
readonly replacedClass: {};
|
|
1972
|
-
} | {
|
|
1973
|
-
readonly $case: "deployedContract";
|
|
1974
|
-
readonly deployedContract: {};
|
|
1975
|
-
} | undefined;
|
|
1976
|
-
}[] | undefined;
|
|
1977
|
-
readonly nonceUpdates?: readonly {
|
|
1978
|
-
readonly id?: number | undefined;
|
|
1979
|
-
readonly contractAddress?: {
|
|
1980
|
-
readonly x0: bigint;
|
|
1981
|
-
readonly x1: bigint;
|
|
1982
|
-
readonly x2: bigint;
|
|
1983
|
-
readonly x3: bigint;
|
|
1984
|
-
} | undefined;
|
|
1985
|
-
}[] | undefined;
|
|
1986
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
1987
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
1988
|
-
readonly transactions?: readonly {
|
|
1989
|
-
readonly id?: number | undefined;
|
|
1990
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1991
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1992
|
-
readonly includeMessages?: boolean | undefined;
|
|
1993
|
-
readonly includeEvents?: boolean | undefined;
|
|
1994
|
-
readonly transactionType?: {
|
|
1995
|
-
readonly _tag: "invokeV0";
|
|
1996
|
-
readonly invokeV0: {};
|
|
1997
|
-
} | {
|
|
1998
|
-
readonly _tag: "invokeV1";
|
|
1999
|
-
readonly invokeV1: {};
|
|
2000
|
-
} | {
|
|
2001
|
-
readonly _tag: "invokeV3";
|
|
2002
|
-
readonly invokeV3: {};
|
|
2003
|
-
} | {
|
|
2004
|
-
readonly _tag: "deploy";
|
|
2005
|
-
readonly deploy: {};
|
|
2006
|
-
} | {
|
|
2007
|
-
readonly _tag: "declareV0";
|
|
2008
|
-
readonly declareV0: {};
|
|
2009
|
-
} | {
|
|
2010
|
-
readonly _tag: "declareV1";
|
|
2011
|
-
readonly declareV1: {};
|
|
2012
|
-
} | {
|
|
2013
|
-
readonly _tag: "declareV2";
|
|
2014
|
-
readonly declareV2: {};
|
|
2015
|
-
} | {
|
|
2016
|
-
readonly _tag: "declareV3";
|
|
2017
|
-
readonly declareV3: {};
|
|
2018
|
-
} | {
|
|
2019
|
-
readonly _tag: "l1Handler";
|
|
2020
|
-
readonly l1Handler: {};
|
|
2021
|
-
} | {
|
|
2022
|
-
readonly _tag: "deployAccountV1";
|
|
2023
|
-
readonly deployAccountV1: {};
|
|
2024
|
-
} | {
|
|
2025
|
-
readonly _tag: "deployAccountV3";
|
|
2026
|
-
readonly deployAccountV3: {};
|
|
2027
|
-
} | undefined;
|
|
2028
|
-
}[] | undefined;
|
|
2029
|
-
readonly events?: readonly {
|
|
2030
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2031
|
-
readonly id?: number | undefined;
|
|
2032
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2033
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2034
|
-
readonly includeMessages?: boolean | undefined;
|
|
2035
|
-
readonly address?: `0x${string}` | undefined;
|
|
2036
|
-
readonly strict?: boolean | undefined;
|
|
2037
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2038
|
-
readonly includeSiblings?: boolean | undefined;
|
|
2039
|
-
}[] | undefined;
|
|
2040
|
-
readonly messages?: readonly {
|
|
2041
|
-
readonly id?: number | undefined;
|
|
2042
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2043
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2044
|
-
readonly includeEvents?: boolean | undefined;
|
|
2045
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2046
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2047
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2048
|
-
}[] | undefined;
|
|
2049
|
-
readonly storageDiffs?: readonly {
|
|
2050
|
-
readonly id?: number | undefined;
|
|
2051
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2052
|
-
}[] | undefined;
|
|
2053
|
-
readonly contractChanges?: readonly {
|
|
2054
|
-
readonly id?: number | undefined;
|
|
2055
|
-
readonly change?: {
|
|
2056
|
-
readonly _tag: "declaredClass";
|
|
2057
|
-
readonly declaredClass: {};
|
|
2058
|
-
} | {
|
|
2059
|
-
readonly _tag: "replacedClass";
|
|
2060
|
-
readonly replacedClass: {};
|
|
2061
|
-
} | {
|
|
2062
|
-
readonly _tag: "deployedContract";
|
|
2063
|
-
readonly deployedContract: {};
|
|
2064
|
-
} | undefined;
|
|
2065
|
-
}[] | undefined;
|
|
2066
|
-
readonly nonceUpdates?: readonly {
|
|
2067
|
-
readonly id?: number | undefined;
|
|
2068
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2069
|
-
}[] | undefined;
|
|
2070
|
-
};
|
|
2071
|
-
declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
|
|
2072
|
-
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
2073
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2074
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2075
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
2076
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
2077
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
2078
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
2079
|
-
transactionType: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
2080
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
2081
|
-
invokeV0: Schema.Struct<{}>;
|
|
2082
|
-
}>, Schema.Struct<{
|
|
2083
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
2084
|
-
invokeV1: Schema.Struct<{}>;
|
|
2085
|
-
}>, Schema.Struct<{
|
|
2086
|
-
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
2087
|
-
invokeV3: Schema.Struct<{}>;
|
|
2088
|
-
}>, Schema.Struct<{
|
|
2089
|
-
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
2090
|
-
deploy: Schema.Struct<{}>;
|
|
2091
|
-
}>, Schema.Struct<{
|
|
2092
|
-
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
2093
|
-
declareV0: Schema.Struct<{}>;
|
|
2094
|
-
}>, Schema.Struct<{
|
|
2095
|
-
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
2096
|
-
declareV1: Schema.Struct<{}>;
|
|
2097
|
-
}>, Schema.Struct<{
|
|
2098
|
-
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
2099
|
-
declareV2: Schema.Struct<{}>;
|
|
2100
|
-
}>, Schema.Struct<{
|
|
2101
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
2102
|
-
declareV3: Schema.Struct<{}>;
|
|
2103
|
-
}>, Schema.Struct<{
|
|
2104
|
-
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
2105
|
-
declareV3: Schema.Struct<{}>;
|
|
2106
|
-
}>, Schema.Struct<{
|
|
2107
|
-
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
2108
|
-
l1Handler: Schema.Struct<{}>;
|
|
2109
|
-
}>, Schema.Struct<{
|
|
2110
|
-
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
2111
|
-
deployAccountV1: Schema.Struct<{}>;
|
|
2112
|
-
}>, Schema.Struct<{
|
|
2113
|
-
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
2114
|
-
deployAccountV3: Schema.Struct<{}>;
|
|
2115
|
-
}>]>>;
|
|
2116
|
-
}>>>;
|
|
2117
|
-
events: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2118
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2119
|
-
address: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2120
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2121
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2122
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2123
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2124
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2125
|
-
keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2126
|
-
value: Schema.UndefinedOr<Schema.Struct<{
|
|
2127
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2128
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2129
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2130
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2131
|
-
}>>;
|
|
2132
|
-
}>, Schema.NullOr<Schema.transform<Schema.Struct<{
|
|
2133
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2134
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2135
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2136
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2137
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
|
|
2138
|
-
strict: Schema.optional<typeof Schema.Boolean>;
|
|
2139
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
2140
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
2141
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
2142
|
-
includeMessages: Schema.optional<typeof Schema.Boolean>;
|
|
2143
|
-
includeSiblings: Schema.optional<typeof Schema.Boolean>;
|
|
2144
|
-
}>>>;
|
|
2145
|
-
messages: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2146
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2147
|
-
fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2148
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2149
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2150
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2151
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2152
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2153
|
-
toAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2154
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2155
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2156
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2157
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2158
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2159
|
-
transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
|
|
2160
|
-
includeTransaction: Schema.optional<typeof Schema.Boolean>;
|
|
2161
|
-
includeReceipt: Schema.optional<typeof Schema.Boolean>;
|
|
2162
|
-
includeEvents: Schema.optional<typeof Schema.Boolean>;
|
|
2163
|
-
}>>>;
|
|
2164
|
-
storageDiffs: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2165
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2166
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2167
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2168
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2169
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2170
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2171
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2172
|
-
}>>>;
|
|
2173
|
-
contractChanges: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2174
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2175
|
-
change: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
2176
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
2177
|
-
declaredClass: Schema.Struct<{}>;
|
|
2178
|
-
}>, Schema.Struct<{
|
|
2179
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
2180
|
-
replacedClass: Schema.Struct<{}>;
|
|
2181
|
-
}>, Schema.Struct<{
|
|
2182
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
2183
|
-
deployedContract: Schema.Struct<{}>;
|
|
2184
|
-
}>]>>;
|
|
2185
|
-
}>>>;
|
|
2186
|
-
nonceUpdates: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
2187
|
-
id: Schema.optional<typeof Schema.Number>;
|
|
2188
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2189
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2190
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2191
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2192
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2193
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2194
|
-
}>>>;
|
|
2195
|
-
}>>;
|
|
2196
|
-
declare const filterToBytes: (a: {
|
|
2197
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
2198
|
-
readonly transactions?: readonly {
|
|
2199
|
-
readonly id?: number | undefined;
|
|
2200
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2201
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2202
|
-
readonly includeMessages?: boolean | undefined;
|
|
2203
|
-
readonly includeEvents?: boolean | undefined;
|
|
2204
|
-
readonly transactionType?: {
|
|
2205
|
-
readonly _tag: "invokeV0";
|
|
2206
|
-
readonly invokeV0: {};
|
|
2207
|
-
} | {
|
|
2208
|
-
readonly _tag: "invokeV1";
|
|
2209
|
-
readonly invokeV1: {};
|
|
2210
|
-
} | {
|
|
2211
|
-
readonly _tag: "invokeV3";
|
|
2212
|
-
readonly invokeV3: {};
|
|
2213
|
-
} | {
|
|
2214
|
-
readonly _tag: "deploy";
|
|
2215
|
-
readonly deploy: {};
|
|
2216
|
-
} | {
|
|
2217
|
-
readonly _tag: "declareV0";
|
|
2218
|
-
readonly declareV0: {};
|
|
2219
|
-
} | {
|
|
2220
|
-
readonly _tag: "declareV1";
|
|
2221
|
-
readonly declareV1: {};
|
|
2222
|
-
} | {
|
|
2223
|
-
readonly _tag: "declareV2";
|
|
2224
|
-
readonly declareV2: {};
|
|
2225
|
-
} | {
|
|
2226
|
-
readonly _tag: "declareV3";
|
|
2227
|
-
readonly declareV3: {};
|
|
2228
|
-
} | {
|
|
2229
|
-
readonly _tag: "l1Handler";
|
|
2230
|
-
readonly l1Handler: {};
|
|
2231
|
-
} | {
|
|
2232
|
-
readonly _tag: "deployAccountV1";
|
|
2233
|
-
readonly deployAccountV1: {};
|
|
2234
|
-
} | {
|
|
2235
|
-
readonly _tag: "deployAccountV3";
|
|
2236
|
-
readonly deployAccountV3: {};
|
|
2237
|
-
} | undefined;
|
|
2238
|
-
}[] | undefined;
|
|
2239
|
-
readonly events?: readonly {
|
|
2240
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2241
|
-
readonly id?: number | undefined;
|
|
2242
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2243
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2244
|
-
readonly includeMessages?: boolean | undefined;
|
|
2245
|
-
readonly address?: `0x${string}` | undefined;
|
|
2246
|
-
readonly strict?: boolean | undefined;
|
|
2247
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2248
|
-
readonly includeSiblings?: boolean | undefined;
|
|
2249
|
-
}[] | undefined;
|
|
2250
|
-
readonly messages?: readonly {
|
|
2251
|
-
readonly id?: number | undefined;
|
|
2252
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2253
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2254
|
-
readonly includeEvents?: boolean | undefined;
|
|
2255
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2256
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2257
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2258
|
-
}[] | undefined;
|
|
2259
|
-
readonly storageDiffs?: readonly {
|
|
2260
|
-
readonly id?: number | undefined;
|
|
2261
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2262
|
-
}[] | undefined;
|
|
2263
|
-
readonly contractChanges?: readonly {
|
|
2264
|
-
readonly id?: number | undefined;
|
|
2265
|
-
readonly change?: {
|
|
2266
|
-
readonly _tag: "declaredClass";
|
|
2267
|
-
readonly declaredClass: {};
|
|
2268
|
-
} | {
|
|
2269
|
-
readonly _tag: "replacedClass";
|
|
2270
|
-
readonly replacedClass: {};
|
|
2271
|
-
} | {
|
|
2272
|
-
readonly _tag: "deployedContract";
|
|
2273
|
-
readonly deployedContract: {};
|
|
2274
|
-
} | undefined;
|
|
2275
|
-
}[] | undefined;
|
|
2276
|
-
readonly nonceUpdates?: readonly {
|
|
2277
|
-
readonly id?: number | undefined;
|
|
2278
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2279
|
-
}[] | undefined;
|
|
2280
|
-
}, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
|
|
2281
|
-
declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
2282
|
-
readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
|
|
2283
|
-
readonly transactions?: readonly {
|
|
2284
|
-
readonly id?: number | undefined;
|
|
2285
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2286
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2287
|
-
readonly includeMessages?: boolean | undefined;
|
|
2288
|
-
readonly includeEvents?: boolean | undefined;
|
|
2289
|
-
readonly transactionType?: {
|
|
2290
|
-
readonly _tag: "invokeV0";
|
|
2291
|
-
readonly invokeV0: {};
|
|
2292
|
-
} | {
|
|
2293
|
-
readonly _tag: "invokeV1";
|
|
2294
|
-
readonly invokeV1: {};
|
|
2295
|
-
} | {
|
|
2296
|
-
readonly _tag: "invokeV3";
|
|
2297
|
-
readonly invokeV3: {};
|
|
2298
|
-
} | {
|
|
2299
|
-
readonly _tag: "deploy";
|
|
2300
|
-
readonly deploy: {};
|
|
2301
|
-
} | {
|
|
2302
|
-
readonly _tag: "declareV0";
|
|
2303
|
-
readonly declareV0: {};
|
|
2304
|
-
} | {
|
|
2305
|
-
readonly _tag: "declareV1";
|
|
2306
|
-
readonly declareV1: {};
|
|
2307
|
-
} | {
|
|
2308
|
-
readonly _tag: "declareV2";
|
|
2309
|
-
readonly declareV2: {};
|
|
2310
|
-
} | {
|
|
2311
|
-
readonly _tag: "declareV3";
|
|
2312
|
-
readonly declareV3: {};
|
|
2313
|
-
} | {
|
|
2314
|
-
readonly _tag: "l1Handler";
|
|
2315
|
-
readonly l1Handler: {};
|
|
2316
|
-
} | {
|
|
2317
|
-
readonly _tag: "deployAccountV1";
|
|
2318
|
-
readonly deployAccountV1: {};
|
|
2319
|
-
} | {
|
|
2320
|
-
readonly _tag: "deployAccountV3";
|
|
2321
|
-
readonly deployAccountV3: {};
|
|
2322
|
-
} | undefined;
|
|
2323
|
-
}[] | undefined;
|
|
2324
|
-
readonly events?: readonly {
|
|
2325
|
-
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2326
|
-
readonly id?: number | undefined;
|
|
2327
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2328
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2329
|
-
readonly includeMessages?: boolean | undefined;
|
|
2330
|
-
readonly address?: `0x${string}` | undefined;
|
|
2331
|
-
readonly strict?: boolean | undefined;
|
|
2332
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2333
|
-
readonly includeSiblings?: boolean | undefined;
|
|
2334
|
-
}[] | undefined;
|
|
2335
|
-
readonly messages?: readonly {
|
|
2336
|
-
readonly id?: number | undefined;
|
|
2337
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2338
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2339
|
-
readonly includeEvents?: boolean | undefined;
|
|
2340
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2341
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2342
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2343
|
-
}[] | undefined;
|
|
2344
|
-
readonly storageDiffs?: readonly {
|
|
2345
|
-
readonly id?: number | undefined;
|
|
2346
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2347
|
-
}[] | undefined;
|
|
2348
|
-
readonly contractChanges?: readonly {
|
|
2349
|
-
readonly id?: number | undefined;
|
|
2350
|
-
readonly change?: {
|
|
2351
|
-
readonly _tag: "declaredClass";
|
|
2352
|
-
readonly declaredClass: {};
|
|
2353
|
-
} | {
|
|
2354
|
-
readonly _tag: "replacedClass";
|
|
2355
|
-
readonly replacedClass: {};
|
|
2356
|
-
} | {
|
|
2357
|
-
readonly _tag: "deployedContract";
|
|
2358
|
-
readonly deployedContract: {};
|
|
2359
|
-
} | undefined;
|
|
2360
|
-
}[] | undefined;
|
|
2361
|
-
readonly nonceUpdates?: readonly {
|
|
2362
|
-
readonly id?: number | undefined;
|
|
2363
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
2364
|
-
}[] | undefined;
|
|
2365
|
-
};
|
|
2366
|
-
declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
2367
|
-
|
|
2368
|
-
/** Price of a unit of resource.
|
|
2369
|
-
*
|
|
2370
|
-
* @prop priceInFri The price in Fri (1e-18 STRK).
|
|
2371
|
-
* @prop priceInWei The price in Wei (1e-18 ETH).
|
|
2372
|
-
*/
|
|
2373
|
-
declare const ResourcePrice: Schema.Struct<{
|
|
2374
|
-
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2375
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2376
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2377
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2378
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2379
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2380
|
-
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2381
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2382
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2383
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2384
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2385
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2386
|
-
}>;
|
|
2387
|
-
/** How data is posted to L1. */
|
|
2388
|
-
declare const L1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
2389
|
-
declare const TransactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
2390
|
-
type TransactionStatus = typeof TransactionStatus.Type;
|
|
2391
|
-
declare const U128: Schema.transform<Schema.Struct<{
|
|
2392
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2393
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2394
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2395
|
-
declare const ResourceBounds: Schema.Struct<{
|
|
2396
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2397
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2398
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2399
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2400
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2401
|
-
}>;
|
|
2402
|
-
declare const ResourceBoundsMapping: Schema.Struct<{
|
|
2403
|
-
l1Gas: Schema.Struct<{
|
|
2404
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2405
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2406
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2407
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2408
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2409
|
-
}>;
|
|
2410
|
-
l2Gas: Schema.Struct<{
|
|
2411
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2412
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
2413
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2414
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2415
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
2416
|
-
}>;
|
|
2417
|
-
}>;
|
|
2418
|
-
declare const DataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2419
|
-
/** Starknet block header.
|
|
2420
|
-
*
|
|
2421
|
-
* @prop blockHash The hash of the block.
|
|
2422
|
-
* @prop parentBlockHash The hash of the parent block.
|
|
2423
|
-
* @prop blockNumber The block number.
|
|
2424
|
-
* @prop sequencerAddress The address of the sequencer.
|
|
2425
|
-
* @prop newRoot The new state root.
|
|
2426
|
-
* @prop timestamp The block timestamp.
|
|
2427
|
-
* @prop starknetVersion The Starknet version string.
|
|
2428
|
-
* @prop l1GasPrice Calldata gas price.
|
|
2429
|
-
* @prop l1DataGasPrice Blob gas price.
|
|
2430
|
-
* @prop l1DataAvailabilityMode How data is posted to L1.
|
|
2431
|
-
*/
|
|
2432
|
-
declare const BlockHeader: Schema.Struct<{
|
|
2433
|
-
blockHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2434
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2435
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2436
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2437
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2438
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2439
|
-
parentBlockHash: Schema.transform<Schema.Struct<{
|
|
2440
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2441
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2442
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2443
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2444
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2445
|
-
blockNumber: typeof Schema.BigIntFromSelf;
|
|
2446
|
-
sequencerAddress: Schema.transform<Schema.Struct<{
|
|
2447
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2448
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2449
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2450
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2451
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2452
|
-
newRoot: 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
|
-
timestamp: typeof Schema.DateFromSelf;
|
|
2459
|
-
starknetVersion: typeof Schema.String;
|
|
2460
|
-
l1GasPrice: Schema.Struct<{
|
|
2461
|
-
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2462
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2463
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2464
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2465
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2466
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2467
|
-
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2468
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2469
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2470
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2471
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2472
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2473
|
-
}>;
|
|
2474
|
-
l1DataGasPrice: Schema.Struct<{
|
|
2475
|
-
priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2476
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2477
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2478
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2479
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2480
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2481
|
-
priceInWei: Schema.optional<Schema.transform<Schema.Struct<{
|
|
2482
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2483
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2484
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2485
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2486
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2487
|
-
}>;
|
|
2488
|
-
l1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
2489
|
-
}>;
|
|
2490
|
-
type BlockHeader = typeof BlockHeader.Type;
|
|
2491
|
-
/** Transaction metadata.
|
|
2492
|
-
*
|
|
2493
|
-
* This is the information that is common between all transaction types.
|
|
2494
|
-
*
|
|
2495
|
-
* @prop transactionIndex The transaction index in the block.
|
|
2496
|
-
* @prop transactionHash The transaction hash.
|
|
2497
|
-
* @prop transactionStatus The transaction status.
|
|
2498
|
-
*/
|
|
2499
|
-
declare const TransactionMeta: Schema.Struct<{
|
|
2500
|
-
transactionIndex: typeof Schema.Number;
|
|
2501
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
2502
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2503
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2504
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2505
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2506
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2507
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
2508
|
-
}>;
|
|
2509
|
-
type TransactionMeta = typeof TransactionMeta.Type;
|
|
2510
|
-
declare const InvokeTransactionV0: Schema.Struct<{
|
|
2511
|
-
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
2512
|
-
invokeV0: Schema.Struct<{
|
|
2513
|
-
maxFee: Schema.transform<Schema.Struct<{
|
|
2514
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2515
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2516
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2517
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2518
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2519
|
-
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2520
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2521
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2522
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2523
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2524
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2525
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
2526
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2527
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2528
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2529
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2530
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2531
|
-
entryPointSelector: Schema.transform<Schema.Struct<{
|
|
2532
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2533
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2534
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2535
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2536
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2537
|
-
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2538
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2539
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2540
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2541
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2542
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2543
|
-
}>;
|
|
2544
|
-
}>;
|
|
2545
|
-
declare const InvokeTransactionV1: Schema.Struct<{
|
|
2546
|
-
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
2547
|
-
invokeV1: Schema.Struct<{
|
|
2548
|
-
senderAddress: Schema.transform<Schema.Struct<{
|
|
2549
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
2550
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
2551
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
2552
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
2553
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2554
|
-
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
1635
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
1636
|
+
calldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
2555
1637
|
x0: typeof Schema.BigIntFromSelf;
|
|
2556
1638
|
x1: typeof Schema.BigIntFromSelf;
|
|
2557
1639
|
x2: typeof Schema.BigIntFromSelf;
|
|
@@ -2577,6 +1659,7 @@ declare const InvokeTransactionV1: Schema.Struct<{
|
|
|
2577
1659
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2578
1660
|
}>;
|
|
2579
1661
|
}>;
|
|
1662
|
+
type InvokeTransactionV1 = typeof InvokeTransactionV1.Type;
|
|
2580
1663
|
declare const InvokeTransactionV3: Schema.Struct<{
|
|
2581
1664
|
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
2582
1665
|
invokeV3: Schema.Struct<{
|
|
@@ -2637,6 +1720,7 @@ declare const InvokeTransactionV3: Schema.Struct<{
|
|
|
2637
1720
|
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2638
1721
|
}>;
|
|
2639
1722
|
}>;
|
|
1723
|
+
type InvokeTransactionV3 = typeof InvokeTransactionV3.Type;
|
|
2640
1724
|
declare const L1HandlerTransaction: Schema.Struct<{
|
|
2641
1725
|
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
2642
1726
|
l1Handler: Schema.Struct<{
|
|
@@ -2661,6 +1745,7 @@ declare const L1HandlerTransaction: Schema.Struct<{
|
|
|
2661
1745
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2662
1746
|
}>;
|
|
2663
1747
|
}>;
|
|
1748
|
+
type L1HandlerTransaction = typeof L1HandlerTransaction.Type;
|
|
2664
1749
|
declare const DeployTransaction: Schema.Struct<{
|
|
2665
1750
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
2666
1751
|
deploy: Schema.Struct<{
|
|
@@ -2684,6 +1769,7 @@ declare const DeployTransaction: Schema.Struct<{
|
|
|
2684
1769
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2685
1770
|
}>;
|
|
2686
1771
|
}>;
|
|
1772
|
+
type DeployTransaction = typeof DeployTransaction.Type;
|
|
2687
1773
|
declare const DeclareTransactionV0: Schema.Struct<{
|
|
2688
1774
|
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
2689
1775
|
declareV0: Schema.Struct<{
|
|
@@ -2713,6 +1799,7 @@ declare const DeclareTransactionV0: Schema.Struct<{
|
|
|
2713
1799
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2714
1800
|
}>;
|
|
2715
1801
|
}>;
|
|
1802
|
+
type DeclareTransactionV0 = typeof DeclareTransactionV0.Type;
|
|
2716
1803
|
declare const DeclareTransactionV1: Schema.Struct<{
|
|
2717
1804
|
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
2718
1805
|
declareV1: Schema.Struct<{
|
|
@@ -2748,6 +1835,7 @@ declare const DeclareTransactionV1: Schema.Struct<{
|
|
|
2748
1835
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2749
1836
|
}>;
|
|
2750
1837
|
}>;
|
|
1838
|
+
type DeclareTransactionV1 = typeof DeclareTransactionV1.Type;
|
|
2751
1839
|
declare const DeclareTransactionV2: Schema.Struct<{
|
|
2752
1840
|
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
2753
1841
|
declareV2: Schema.Struct<{
|
|
@@ -2789,6 +1877,7 @@ declare const DeclareTransactionV2: Schema.Struct<{
|
|
|
2789
1877
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2790
1878
|
}>;
|
|
2791
1879
|
}>;
|
|
1880
|
+
type DeclareTransactionV2 = typeof DeclareTransactionV2.Type;
|
|
2792
1881
|
declare const DeclareTransactionV3: Schema.Struct<{
|
|
2793
1882
|
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
2794
1883
|
declareV3: Schema.Struct<{
|
|
@@ -2855,6 +1944,7 @@ declare const DeclareTransactionV3: Schema.Struct<{
|
|
|
2855
1944
|
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2856
1945
|
}>;
|
|
2857
1946
|
}>;
|
|
1947
|
+
type DeclareTransactionV3 = typeof DeclareTransactionV3.Type;
|
|
2858
1948
|
declare const DeployAccountTransactionV1: Schema.Struct<{
|
|
2859
1949
|
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
2860
1950
|
deployAccountV1: Schema.Struct<{
|
|
@@ -2896,6 +1986,7 @@ declare const DeployAccountTransactionV1: Schema.Struct<{
|
|
|
2896
1986
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2897
1987
|
}>;
|
|
2898
1988
|
}>;
|
|
1989
|
+
type DeployAccountTransactionV1 = typeof DeployAccountTransactionV1.Type;
|
|
2899
1990
|
declare const DeployAccountTransactionV3: Schema.Struct<{
|
|
2900
1991
|
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
2901
1992
|
deployAccountV3: Schema.Struct<{
|
|
@@ -2956,6 +2047,7 @@ declare const DeployAccountTransactionV3: Schema.Struct<{
|
|
|
2956
2047
|
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2957
2048
|
}>;
|
|
2958
2049
|
}>;
|
|
2050
|
+
type DeployAccountTransactionV3 = typeof DeployAccountTransactionV3.Type;
|
|
2959
2051
|
/** A transaction.
|
|
2960
2052
|
*
|
|
2961
2053
|
* @prop meta Transaction metadata.
|
|
@@ -3414,6 +2506,7 @@ declare const Transaction: Schema.Struct<{
|
|
|
3414
2506
|
}>;
|
|
3415
2507
|
type Transaction = typeof Transaction.Type;
|
|
3416
2508
|
declare const PriceUnit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
|
|
2509
|
+
type PriceUnit = typeof PriceUnit.Type;
|
|
3417
2510
|
declare const FeePayment: Schema.Struct<{
|
|
3418
2511
|
amount: Schema.transform<Schema.Struct<{
|
|
3419
2512
|
x0: typeof Schema.BigIntFromSelf;
|
|
@@ -3423,6 +2516,7 @@ declare const FeePayment: Schema.Struct<{
|
|
|
3423
2516
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3424
2517
|
unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
|
|
3425
2518
|
}>;
|
|
2519
|
+
type FeePayment = typeof FeePayment.Type;
|
|
3426
2520
|
declare const ComputationResources: Schema.Struct<{
|
|
3427
2521
|
steps: typeof Schema.BigIntFromSelf;
|
|
3428
2522
|
memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
@@ -3435,10 +2529,12 @@ declare const ComputationResources: Schema.Struct<{
|
|
|
3435
2529
|
keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
3436
2530
|
segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
3437
2531
|
}>;
|
|
2532
|
+
type ComputationResources = typeof ComputationResources.Type;
|
|
3438
2533
|
declare const DataAvailabilityResources: Schema.Struct<{
|
|
3439
2534
|
l1Gas: typeof Schema.BigIntFromSelf;
|
|
3440
2535
|
l1DataGas: typeof Schema.BigIntFromSelf;
|
|
3441
2536
|
}>;
|
|
2537
|
+
type DataAvailabilityResources = typeof DataAvailabilityResources.Type;
|
|
3442
2538
|
declare const ExecutionResources: Schema.Struct<{
|
|
3443
2539
|
computation: Schema.Struct<{
|
|
3444
2540
|
steps: typeof Schema.BigIntFromSelf;
|
|
@@ -3457,16 +2553,19 @@ declare const ExecutionResources: Schema.Struct<{
|
|
|
3457
2553
|
l1DataGas: typeof Schema.BigIntFromSelf;
|
|
3458
2554
|
}>;
|
|
3459
2555
|
}>;
|
|
2556
|
+
type ExecutionResources = typeof ExecutionResources.Type;
|
|
3460
2557
|
declare const ExecutionSucceeded: Schema.Struct<{
|
|
3461
2558
|
_tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
|
|
3462
2559
|
succeeded: Schema.Struct<{}>;
|
|
3463
2560
|
}>;
|
|
2561
|
+
type ExecutionSucceeded = typeof ExecutionSucceeded.Type;
|
|
3464
2562
|
declare const ExecutionReverted: Schema.Struct<{
|
|
3465
2563
|
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
3466
2564
|
reverted: Schema.Struct<{
|
|
3467
2565
|
reason: Schema.optional<typeof Schema.String>;
|
|
3468
2566
|
}>;
|
|
3469
2567
|
}>;
|
|
2568
|
+
type ExecutionReverted = typeof ExecutionReverted.Type;
|
|
3470
2569
|
/** Common fields for all transaction receipts. */
|
|
3471
2570
|
declare const TransactionReceiptMeta: Schema.Struct<{
|
|
3472
2571
|
transactionIndex: typeof Schema.Number;
|
|
@@ -3513,20 +2612,24 @@ declare const TransactionReceiptMeta: Schema.Struct<{
|
|
|
3513
2612
|
}>;
|
|
3514
2613
|
}>]>;
|
|
3515
2614
|
}>;
|
|
2615
|
+
type TransactionReceiptMeta = typeof TransactionReceiptMeta.Type;
|
|
3516
2616
|
declare const InvokeTransactionReceipt: Schema.Struct<{
|
|
3517
2617
|
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
3518
2618
|
invoke: Schema.Struct<{}>;
|
|
3519
2619
|
}>;
|
|
2620
|
+
type InvokeTransactionReceipt = typeof InvokeTransactionReceipt.Type;
|
|
3520
2621
|
declare const L1HandlerTransactionReceipt: Schema.Struct<{
|
|
3521
2622
|
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
3522
2623
|
l1Handler: Schema.Struct<{
|
|
3523
2624
|
messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
3524
2625
|
}>;
|
|
3525
2626
|
}>;
|
|
2627
|
+
type L1HandlerTransactionReceipt = typeof L1HandlerTransactionReceipt.Type;
|
|
3526
2628
|
declare const DeclareTransactionReceipt: Schema.Struct<{
|
|
3527
2629
|
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
3528
2630
|
declare: Schema.Struct<{}>;
|
|
3529
2631
|
}>;
|
|
2632
|
+
type DeclareTransactionReceipt = typeof DeclareTransactionReceipt.Type;
|
|
3530
2633
|
declare const DeployTransactionReceipt: Schema.Struct<{
|
|
3531
2634
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
3532
2635
|
deploy: Schema.Struct<{
|
|
@@ -3538,6 +2641,7 @@ declare const DeployTransactionReceipt: Schema.Struct<{
|
|
|
3538
2641
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3539
2642
|
}>;
|
|
3540
2643
|
}>;
|
|
2644
|
+
type DeployTransactionReceipt = typeof DeployTransactionReceipt.Type;
|
|
3541
2645
|
declare const DeployAccountTransactionReceipt: Schema.Struct<{
|
|
3542
2646
|
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
3543
2647
|
deployAccount: Schema.Struct<{
|
|
@@ -3549,6 +2653,7 @@ declare const DeployAccountTransactionReceipt: Schema.Struct<{
|
|
|
3549
2653
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3550
2654
|
}>;
|
|
3551
2655
|
}>;
|
|
2656
|
+
type DeployAccountTransactionReceipt = typeof DeployAccountTransactionReceipt.Type;
|
|
3552
2657
|
/** A transaction receipt.
|
|
3553
2658
|
*
|
|
3554
2659
|
* @prop meta Transaction receipt metadata.
|
|
@@ -3918,6 +3023,255 @@ declare const NonceUpdate: Schema.Struct<{
|
|
|
3918
3023
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3919
3024
|
}>;
|
|
3920
3025
|
type NonceUpdate = typeof NonceUpdate.Type;
|
|
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;
|
|
3921
3275
|
/** A block.
|
|
3922
3276
|
*
|
|
3923
3277
|
* @prop header The block header.
|
|
@@ -3925,6 +3279,7 @@ type NonceUpdate = typeof NonceUpdate.Type;
|
|
|
3925
3279
|
* @prop receipts The receipts of the transactions.
|
|
3926
3280
|
* @prop events The events emitted by the transactions.
|
|
3927
3281
|
* @prop messages The messages sent to L1 by the transactions.
|
|
3282
|
+
* @prop traces The transaction traces.
|
|
3928
3283
|
* @prop storageDiffs The changes to the storage.
|
|
3929
3284
|
* @prop contractChanges The changes to contracts and classes.
|
|
3930
3285
|
*/
|
|
@@ -4581,6 +3936,50 @@ declare const Block: Schema.Struct<{
|
|
|
4581
3936
|
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
4582
3937
|
messageIndexInTransaction: typeof Schema.Number;
|
|
4583
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
|
+
}>>;
|
|
4584
3983
|
storageDiffs: Schema.Array$<Schema.Struct<{
|
|
4585
3984
|
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4586
3985
|
contractAddress: Schema.transform<Schema.Struct<{
|
|
@@ -5098,325 +4497,1485 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
|
|
|
5098
4497
|
x2: typeof Schema.BigIntFromSelf;
|
|
5099
4498
|
x3: typeof Schema.BigIntFromSelf;
|
|
5100
4499
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5101
|
-
nonce: Schema.transform<Schema.Struct<{
|
|
4500
|
+
nonce: Schema.transform<Schema.Struct<{
|
|
4501
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4502
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4503
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4504
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4505
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4506
|
+
contractAddressSalt: Schema.transform<Schema.Struct<{
|
|
4507
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4508
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4509
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4510
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4511
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4512
|
+
constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4513
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4514
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4515
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4516
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4517
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4518
|
+
classHash: Schema.transform<Schema.Struct<{
|
|
4519
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4520
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4521
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4522
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4523
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4524
|
+
}>;
|
|
4525
|
+
}>, Schema.Struct<{
|
|
4526
|
+
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
4527
|
+
deployAccountV3: Schema.Struct<{
|
|
4528
|
+
signature: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4529
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4530
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4531
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4532
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4533
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4534
|
+
nonce: Schema.transform<Schema.Struct<{
|
|
4535
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4536
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4537
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4538
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4539
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4540
|
+
contractAddressSalt: Schema.transform<Schema.Struct<{
|
|
4541
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4542
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4543
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4544
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4545
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4546
|
+
constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4547
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4548
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4549
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4550
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4551
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4552
|
+
classHash: Schema.transform<Schema.Struct<{
|
|
4553
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4554
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4555
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4556
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4557
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4558
|
+
resourceBounds: Schema.Struct<{
|
|
4559
|
+
l1Gas: Schema.Struct<{
|
|
4560
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
4561
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
4562
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4563
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4564
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
4565
|
+
}>;
|
|
4566
|
+
l2Gas: Schema.Struct<{
|
|
4567
|
+
maxAmount: typeof Schema.BigIntFromSelf;
|
|
4568
|
+
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
4569
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4570
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4571
|
+
}>, typeof Schema.BigIntFromSelf>;
|
|
4572
|
+
}>;
|
|
4573
|
+
}>;
|
|
4574
|
+
tip: typeof Schema.BigIntFromSelf;
|
|
4575
|
+
paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4576
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4577
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4578
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4579
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4580
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4581
|
+
nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
4582
|
+
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
4583
|
+
}>;
|
|
4584
|
+
}>]>;
|
|
4585
|
+
}>>;
|
|
4586
|
+
receipts: Schema.Array$<Schema.Struct<{
|
|
4587
|
+
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
4588
|
+
meta: Schema.Struct<{
|
|
4589
|
+
transactionIndex: typeof Schema.Number;
|
|
4590
|
+
transactionHash: Schema.transform<Schema.Struct<{
|
|
4591
|
+
x0: typeof Schema.BigIntFromSelf;
|
|
4592
|
+
x1: typeof Schema.BigIntFromSelf;
|
|
4593
|
+
x2: typeof Schema.BigIntFromSelf;
|
|
4594
|
+
x3: typeof Schema.BigIntFromSelf;
|
|
4595
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
4596
|
+
actualFee: Schema.Struct<{
|
|
4597
|
+
amount: Schema.transform<Schema.Struct<{
|
|
5102
4598
|
x0: typeof Schema.BigIntFromSelf;
|
|
5103
4599
|
x1: typeof Schema.BigIntFromSelf;
|
|
5104
4600
|
x2: typeof Schema.BigIntFromSelf;
|
|
5105
4601
|
x3: typeof Schema.BigIntFromSelf;
|
|
5106
4602
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5107
|
-
|
|
4603
|
+
unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
|
|
4604
|
+
}>;
|
|
4605
|
+
executionResources: Schema.Struct<{
|
|
4606
|
+
computation: Schema.Struct<{
|
|
4607
|
+
steps: typeof Schema.BigIntFromSelf;
|
|
4608
|
+
memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4609
|
+
rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4610
|
+
pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4611
|
+
poseidonBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4612
|
+
ecOpBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4613
|
+
ecdsaBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4614
|
+
bitwiseBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4615
|
+
keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4616
|
+
segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
4617
|
+
}>;
|
|
4618
|
+
dataAvailability: Schema.Struct<{
|
|
4619
|
+
l1Gas: typeof Schema.BigIntFromSelf;
|
|
4620
|
+
l1DataGas: typeof Schema.BigIntFromSelf;
|
|
4621
|
+
}>;
|
|
4622
|
+
}>;
|
|
4623
|
+
executionResult: Schema.Union<[Schema.Struct<{
|
|
4624
|
+
_tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
|
|
4625
|
+
succeeded: Schema.Struct<{}>;
|
|
4626
|
+
}>, Schema.Struct<{
|
|
4627
|
+
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
4628
|
+
reverted: Schema.Struct<{
|
|
4629
|
+
reason: Schema.optional<typeof Schema.String>;
|
|
4630
|
+
}>;
|
|
4631
|
+
}>]>;
|
|
4632
|
+
}>;
|
|
4633
|
+
receipt: Schema.Union<[Schema.Struct<{
|
|
4634
|
+
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
4635
|
+
invoke: Schema.Struct<{}>;
|
|
4636
|
+
}>, Schema.Struct<{
|
|
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<{
|
|
5108
4648
|
x0: typeof Schema.BigIntFromSelf;
|
|
5109
4649
|
x1: typeof Schema.BigIntFromSelf;
|
|
5110
4650
|
x2: typeof Schema.BigIntFromSelf;
|
|
5111
4651
|
x3: typeof Schema.BigIntFromSelf;
|
|
5112
4652
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5119
|
-
classHash: Schema.transform<Schema.Struct<{
|
|
4653
|
+
}>;
|
|
4654
|
+
}>, Schema.Struct<{
|
|
4655
|
+
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
4656
|
+
deployAccount: Schema.Struct<{
|
|
4657
|
+
contractAddress: Schema.transform<Schema.Struct<{
|
|
5120
4658
|
x0: typeof Schema.BigIntFromSelf;
|
|
5121
4659
|
x1: typeof Schema.BigIntFromSelf;
|
|
5122
4660
|
x2: typeof Schema.BigIntFromSelf;
|
|
5123
4661
|
x3: typeof Schema.BigIntFromSelf;
|
|
5124
4662
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5125
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
|
+
}>;
|
|
5126
4752
|
}>, Schema.Struct<{
|
|
5127
|
-
_tag: Schema.PropertySignature<":", "
|
|
5128
|
-
|
|
5129
|
-
|
|
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<{
|
|
5130
4801
|
x0: typeof Schema.BigIntFromSelf;
|
|
5131
4802
|
x1: typeof Schema.BigIntFromSelf;
|
|
5132
4803
|
x2: typeof Schema.BigIntFromSelf;
|
|
5133
4804
|
x3: typeof Schema.BigIntFromSelf;
|
|
5134
4805
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5135
|
-
|
|
4806
|
+
compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5136
4807
|
x0: typeof Schema.BigIntFromSelf;
|
|
5137
4808
|
x1: typeof Schema.BigIntFromSelf;
|
|
5138
4809
|
x2: typeof Schema.BigIntFromSelf;
|
|
5139
4810
|
x3: typeof Schema.BigIntFromSelf;
|
|
5140
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5141
|
-
|
|
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<{
|
|
5142
4817
|
x0: typeof Schema.BigIntFromSelf;
|
|
5143
4818
|
x1: typeof Schema.BigIntFromSelf;
|
|
5144
4819
|
x2: typeof Schema.BigIntFromSelf;
|
|
5145
4820
|
x3: typeof Schema.BigIntFromSelf;
|
|
5146
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5147
|
-
|
|
4821
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4822
|
+
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5148
4823
|
x0: typeof Schema.BigIntFromSelf;
|
|
5149
4824
|
x1: typeof Schema.BigIntFromSelf;
|
|
5150
4825
|
x2: typeof Schema.BigIntFromSelf;
|
|
5151
4826
|
x3: typeof Schema.BigIntFromSelf;
|
|
5152
4827
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5153
|
-
|
|
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<{
|
|
5154
4833
|
x0: typeof Schema.BigIntFromSelf;
|
|
5155
4834
|
x1: typeof Schema.BigIntFromSelf;
|
|
5156
4835
|
x2: typeof Schema.BigIntFromSelf;
|
|
5157
4836
|
x3: typeof Schema.BigIntFromSelf;
|
|
5158
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5159
|
-
|
|
5160
|
-
l1Gas: Schema.Struct<{
|
|
5161
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
5162
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
5163
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5164
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5165
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
5166
|
-
}>;
|
|
5167
|
-
l2Gas: Schema.Struct<{
|
|
5168
|
-
maxAmount: typeof Schema.BigIntFromSelf;
|
|
5169
|
-
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
5170
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5171
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5172
|
-
}>, typeof Schema.BigIntFromSelf>;
|
|
5173
|
-
}>;
|
|
5174
|
-
}>;
|
|
5175
|
-
tip: typeof Schema.BigIntFromSelf;
|
|
5176
|
-
paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
|
|
4837
|
+
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
4838
|
+
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5177
4839
|
x0: typeof Schema.BigIntFromSelf;
|
|
5178
4840
|
x1: typeof Schema.BigIntFromSelf;
|
|
5179
4841
|
x2: typeof Schema.BigIntFromSelf;
|
|
5180
4842
|
x3: typeof Schema.BigIntFromSelf;
|
|
5181
4843
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5182
|
-
nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
5183
|
-
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
5184
4844
|
}>;
|
|
5185
4845
|
}>]>;
|
|
5186
4846
|
}>>;
|
|
5187
|
-
|
|
5188
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
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<{
|
|
5192
5188
|
x0: typeof Schema.BigIntFromSelf;
|
|
5193
5189
|
x1: typeof Schema.BigIntFromSelf;
|
|
5194
5190
|
x2: typeof Schema.BigIntFromSelf;
|
|
5195
5191
|
x3: typeof Schema.BigIntFromSelf;
|
|
5196
|
-
}
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
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<{}>;
|
|
5237
5686
|
}>, Schema.Struct<{
|
|
5238
|
-
_tag: Schema.PropertySignature<":", "
|
|
5239
|
-
|
|
5240
|
-
messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
5241
|
-
}>;
|
|
5687
|
+
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
5688
|
+
invokeV1: Schema.Struct<{}>;
|
|
5242
5689
|
}>, Schema.Struct<{
|
|
5243
|
-
_tag: Schema.PropertySignature<":", "
|
|
5244
|
-
|
|
5690
|
+
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
5691
|
+
invokeV3: Schema.Struct<{}>;
|
|
5245
5692
|
}>, Schema.Struct<{
|
|
5246
5693
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
5247
|
-
deploy: Schema.Struct<{
|
|
5248
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
5249
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5250
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5251
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5252
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5253
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5254
|
-
}>;
|
|
5694
|
+
deploy: Schema.Struct<{}>;
|
|
5255
5695
|
}>, Schema.Struct<{
|
|
5256
|
-
_tag: Schema.PropertySignature<":", "
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5285
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5286
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5287
|
-
eventIndex: typeof Schema.Number;
|
|
5288
|
-
transactionIndex: typeof Schema.Number;
|
|
5289
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
5290
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5291
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5292
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5293
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5294
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5295
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
5296
|
-
eventIndexInTransaction: typeof Schema.Number;
|
|
5297
|
-
}>>;
|
|
5298
|
-
messages: Schema.Array$<Schema.Struct<{
|
|
5299
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5300
|
-
fromAddress: Schema.transform<Schema.Struct<{
|
|
5301
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5302
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5303
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5304
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5305
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5306
|
-
toAddress: Schema.transform<Schema.Struct<{
|
|
5307
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5308
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5309
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5310
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5311
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5312
|
-
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<{
|
|
5313
5724
|
x0: typeof Schema.BigIntFromSelf;
|
|
5314
5725
|
x1: typeof Schema.BigIntFromSelf;
|
|
5315
5726
|
x2: typeof Schema.BigIntFromSelf;
|
|
5316
5727
|
x3: typeof Schema.BigIntFromSelf;
|
|
5317
5728
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
transactionHash: Schema.transform<Schema.Struct<{
|
|
5321
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5322
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5323
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5324
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5325
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5326
|
-
transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
5327
|
-
messageIndexInTransaction: typeof Schema.Number;
|
|
5328
|
-
}>>;
|
|
5329
|
-
storageDiffs: Schema.Array$<Schema.Struct<{
|
|
5330
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5331
|
-
contractAddress: Schema.transform<Schema.Struct<{
|
|
5332
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5333
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5334
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5335
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5336
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5337
|
-
storageEntries: Schema.Array$<Schema.Struct<{
|
|
5338
|
-
key: Schema.transform<Schema.Struct<{
|
|
5339
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5340
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5341
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5342
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5343
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
5344
|
-
value: Schema.transform<Schema.Struct<{
|
|
5729
|
+
keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
|
|
5730
|
+
value: Schema.UndefinedOr<Schema.Struct<{
|
|
5345
5731
|
x0: typeof Schema.BigIntFromSelf;
|
|
5346
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5347
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5348
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5349
|
-
}
|
|
5350
|
-
}
|
|
5351
|
-
}>>;
|
|
5352
|
-
contractChanges: Schema.Array$<Schema.Struct<{
|
|
5353
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5354
|
-
change: Schema.Union<[Schema.Struct<{
|
|
5355
|
-
_tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
|
|
5356
|
-
declaredClass: Schema.Struct<{
|
|
5357
|
-
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5358
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5359
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5360
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5361
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5362
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5363
|
-
compiledClassHash: Schema.optional<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
|
-
}>;
|
|
5370
|
-
}>, Schema.Struct<{
|
|
5371
|
-
_tag: Schema.PropertySignature<":", "replacedClass", "$case", ":", "replacedClass", false, never>;
|
|
5372
|
-
replacedClass: Schema.Struct<{
|
|
5373
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5374
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5375
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5376
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5377
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5378
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5379
|
-
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5380
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5381
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5382
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5383
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5384
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5385
|
-
}>;
|
|
5386
|
-
}>, Schema.Struct<{
|
|
5387
|
-
_tag: Schema.PropertySignature<":", "deployedContract", "$case", ":", "deployedContract", false, never>;
|
|
5388
|
-
deployedContract: Schema.Struct<{
|
|
5389
|
-
contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5390
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5391
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5392
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5393
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5394
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5395
|
-
classHash: Schema.optional<Schema.transform<Schema.Struct<{
|
|
5396
|
-
x0: typeof Schema.BigIntFromSelf;
|
|
5397
|
-
x1: typeof Schema.BigIntFromSelf;
|
|
5398
|
-
x2: typeof Schema.BigIntFromSelf;
|
|
5399
|
-
x3: typeof Schema.BigIntFromSelf;
|
|
5400
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
5401
|
-
}>;
|
|
5402
|
-
}>]>;
|
|
5403
|
-
}>>;
|
|
5404
|
-
nonceUpdates: Schema.Array$<Schema.Struct<{
|
|
5405
|
-
filterIds: Schema.Array$<typeof Schema.Number>;
|
|
5406
|
-
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<{
|
|
5407
5737
|
x0: typeof Schema.BigIntFromSelf;
|
|
5408
5738
|
x1: typeof Schema.BigIntFromSelf;
|
|
5409
5739
|
x2: typeof Schema.BigIntFromSelf;
|
|
5410
5740
|
x3: typeof Schema.BigIntFromSelf;
|
|
5411
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5412
|
-
|
|
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<{
|
|
5413
5753
|
x0: typeof Schema.BigIntFromSelf;
|
|
5414
5754
|
x1: typeof Schema.BigIntFromSelf;
|
|
5415
5755
|
x2: typeof Schema.BigIntFromSelf;
|
|
5416
5756
|
x3: typeof Schema.BigIntFromSelf;
|
|
5417
|
-
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never
|
|
5418
|
-
|
|
5419
|
-
|
|
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;
|
|
5420
5979
|
|
|
5421
5980
|
/** Returns the transaction receipt for the given transaction index. */
|
|
5422
5981
|
declare function getReceipt(transactionIndex: number, params: {
|
|
@@ -5472,6 +6031,7 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5472
6031
|
readonly includeReceipt?: boolean | undefined;
|
|
5473
6032
|
readonly includeMessages?: boolean | undefined;
|
|
5474
6033
|
readonly includeEvents?: boolean | undefined;
|
|
6034
|
+
readonly includeTrace?: boolean | undefined;
|
|
5475
6035
|
readonly transactionType?: {
|
|
5476
6036
|
readonly _tag: "invokeV0";
|
|
5477
6037
|
readonly invokeV0: {};
|
|
@@ -5517,6 +6077,7 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5517
6077
|
readonly strict?: boolean | undefined;
|
|
5518
6078
|
readonly includeTransaction?: boolean | undefined;
|
|
5519
6079
|
readonly includeSiblings?: boolean | undefined;
|
|
6080
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5520
6081
|
}[] | undefined;
|
|
5521
6082
|
readonly messages?: readonly {
|
|
5522
6083
|
readonly id?: number | undefined;
|
|
@@ -5524,6 +6085,7 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5524
6085
|
readonly includeReceipt?: boolean | undefined;
|
|
5525
6086
|
readonly includeEvents?: boolean | undefined;
|
|
5526
6087
|
readonly includeTransaction?: boolean | undefined;
|
|
6088
|
+
readonly includeTransactionTrace?: boolean | undefined;
|
|
5527
6089
|
readonly fromAddress?: `0x${string}` | undefined;
|
|
5528
6090
|
readonly toAddress?: `0x${string}` | undefined;
|
|
5529
6091
|
}[] | undefined;
|
|
@@ -5833,6 +6395,45 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5833
6395
|
};
|
|
5834
6396
|
};
|
|
5835
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
|
+
}[];
|
|
5836
6437
|
}>;
|
|
5837
6438
|
|
|
5838
|
-
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 };
|