starknet 5.19.2 → 5.19.3
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +323 -304
- package/dist/index.global.js +6 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2432,316 +2432,316 @@ interface TypedData {
|
|
|
2432
2432
|
message: Record<string, unknown>;
|
|
2433
2433
|
}
|
|
2434
2434
|
|
|
2435
|
-
type
|
|
2436
|
-
type
|
|
2437
|
-
type
|
|
2438
|
-
type
|
|
2439
|
-
type
|
|
2440
|
-
type
|
|
2441
|
-
type
|
|
2442
|
-
type
|
|
2443
|
-
type
|
|
2444
|
-
type
|
|
2445
|
-
type
|
|
2446
|
-
type
|
|
2447
|
-
type
|
|
2448
|
-
type
|
|
2449
|
-
type
|
|
2450
|
-
type
|
|
2451
|
-
type
|
|
2452
|
-
type
|
|
2453
|
-
declare const
|
|
2454
|
-
type
|
|
2455
|
-
declare const
|
|
2456
|
-
type
|
|
2457
|
-
type
|
|
2458
|
-
type
|
|
2459
|
-
type
|
|
2460
|
-
type
|
|
2461
|
-
type
|
|
2462
|
-
type
|
|
2463
|
-
type
|
|
2464
|
-
type
|
|
2465
|
-
type
|
|
2466
|
-
type
|
|
2467
|
-
type
|
|
2468
|
-
type
|
|
2469
|
-
type
|
|
2470
|
-
type
|
|
2471
|
-
type
|
|
2472
|
-
type
|
|
2473
|
-
type
|
|
2474
|
-
type
|
|
2475
|
-
type
|
|
2476
|
-
type
|
|
2477
|
-
type
|
|
2478
|
-
type
|
|
2479
|
-
type
|
|
2480
|
-
type
|
|
2481
|
-
type
|
|
2482
|
-
type
|
|
2483
|
-
type
|
|
2484
|
-
type
|
|
2485
|
-
type
|
|
2486
|
-
type
|
|
2487
|
-
type
|
|
2488
|
-
type
|
|
2489
|
-
type
|
|
2490
|
-
type
|
|
2491
|
-
type
|
|
2492
|
-
type
|
|
2493
|
-
type
|
|
2494
|
-
type
|
|
2495
|
-
type
|
|
2496
|
-
type
|
|
2497
|
-
type
|
|
2498
|
-
declare const
|
|
2499
|
-
type
|
|
2500
|
-
type
|
|
2501
|
-
type
|
|
2502
|
-
type
|
|
2503
|
-
type
|
|
2504
|
-
type
|
|
2505
|
-
type
|
|
2506
|
-
type
|
|
2507
|
-
type
|
|
2508
|
-
type
|
|
2509
|
-
type
|
|
2510
|
-
type
|
|
2511
|
-
type
|
|
2512
|
-
type
|
|
2513
|
-
type
|
|
2514
|
-
type
|
|
2515
|
-
type
|
|
2516
|
-
type
|
|
2517
|
-
type
|
|
2518
|
-
type
|
|
2519
|
-
type
|
|
2520
|
-
type
|
|
2521
|
-
type
|
|
2522
|
-
type
|
|
2523
|
-
type
|
|
2524
|
-
type
|
|
2525
|
-
type
|
|
2526
|
-
type
|
|
2527
|
-
type
|
|
2528
|
-
type
|
|
2529
|
-
type
|
|
2530
|
-
type
|
|
2531
|
-
type
|
|
2532
|
-
type
|
|
2533
|
-
declare const
|
|
2534
|
-
type
|
|
2535
|
-
type
|
|
2536
|
-
type
|
|
2537
|
-
type
|
|
2538
|
-
type
|
|
2539
|
-
type
|
|
2540
|
-
type
|
|
2541
|
-
type
|
|
2542
|
-
type
|
|
2543
|
-
type
|
|
2544
|
-
type
|
|
2545
|
-
type
|
|
2546
|
-
type
|
|
2547
|
-
type
|
|
2548
|
-
type
|
|
2549
|
-
type
|
|
2550
|
-
type
|
|
2551
|
-
type
|
|
2552
|
-
type
|
|
2553
|
-
type
|
|
2554
|
-
type
|
|
2555
|
-
type
|
|
2556
|
-
declare const
|
|
2557
|
-
type
|
|
2558
|
-
type
|
|
2559
|
-
type
|
|
2560
|
-
type
|
|
2561
|
-
type
|
|
2562
|
-
type
|
|
2563
|
-
type
|
|
2564
|
-
type
|
|
2565
|
-
type
|
|
2566
|
-
type
|
|
2567
|
-
type
|
|
2568
|
-
type
|
|
2569
|
-
type
|
|
2570
|
-
type
|
|
2571
|
-
type
|
|
2572
|
-
type
|
|
2573
|
-
type
|
|
2574
|
-
type
|
|
2575
|
-
type
|
|
2576
|
-
type
|
|
2577
|
-
declare const
|
|
2578
|
-
type
|
|
2579
|
-
type
|
|
2580
|
-
type
|
|
2581
|
-
declare const
|
|
2582
|
-
type
|
|
2583
|
-
type
|
|
2584
|
-
type
|
|
2585
|
-
declare const
|
|
2586
|
-
type
|
|
2587
|
-
type
|
|
2588
|
-
type
|
|
2589
|
-
type
|
|
2590
|
-
declare namespace index {
|
|
2435
|
+
type index$1_Abi = Abi;
|
|
2436
|
+
type index$1_AbiEntry = AbiEntry;
|
|
2437
|
+
type index$1_AbiEnums = AbiEnums;
|
|
2438
|
+
type index$1_AbiEvents = AbiEvents;
|
|
2439
|
+
type index$1_AbiStructs = AbiStructs;
|
|
2440
|
+
type index$1_AccountInvocationItem = AccountInvocationItem;
|
|
2441
|
+
type index$1_AccountInvocations = AccountInvocations;
|
|
2442
|
+
type index$1_AccountInvocationsFactoryDetails = AccountInvocationsFactoryDetails;
|
|
2443
|
+
type index$1_AllowArray<T> = AllowArray<T>;
|
|
2444
|
+
type index$1_Args = Args;
|
|
2445
|
+
type index$1_ArgsOrCalldata = ArgsOrCalldata;
|
|
2446
|
+
type index$1_ArgsOrCalldataWithOptions = ArgsOrCalldataWithOptions;
|
|
2447
|
+
type index$1_ArraySignatureType = ArraySignatureType;
|
|
2448
|
+
type index$1_AsyncContractFunction<T = any> = AsyncContractFunction<T>;
|
|
2449
|
+
type index$1_BigNumberish = BigNumberish;
|
|
2450
|
+
type index$1_BlockIdentifier = BlockIdentifier;
|
|
2451
|
+
type index$1_BlockNumber = BlockNumber;
|
|
2452
|
+
type index$1_BlockStatus = BlockStatus;
|
|
2453
|
+
declare const index$1_BlockStatus: typeof BlockStatus;
|
|
2454
|
+
type index$1_BlockTag = BlockTag;
|
|
2455
|
+
declare const index$1_BlockTag: typeof BlockTag;
|
|
2456
|
+
type index$1_Builtins = Builtins;
|
|
2457
|
+
type index$1_ByteCode = ByteCode;
|
|
2458
|
+
type index$1_Cairo1Event = Cairo1Event;
|
|
2459
|
+
type index$1_CairoAssembly = CairoAssembly;
|
|
2460
|
+
type index$1_CairoContract = CairoContract;
|
|
2461
|
+
type index$1_CairoEnum = CairoEnum;
|
|
2462
|
+
type index$1_CairoVersion = CairoVersion;
|
|
2463
|
+
type index$1_Call = Call;
|
|
2464
|
+
type index$1_CallContractResponse = CallContractResponse;
|
|
2465
|
+
type index$1_CallDetails = CallDetails;
|
|
2466
|
+
type index$1_CallL1Handler = CallL1Handler;
|
|
2467
|
+
type index$1_CallOptions = CallOptions;
|
|
2468
|
+
type index$1_CallStruct = CallStruct;
|
|
2469
|
+
type index$1_Calldata = Calldata;
|
|
2470
|
+
type index$1_CommonTransactionResponse = CommonTransactionResponse;
|
|
2471
|
+
type index$1_CompiledContract = CompiledContract;
|
|
2472
|
+
type index$1_CompiledSierra = CompiledSierra;
|
|
2473
|
+
type index$1_CompiledSierraCasm = CompiledSierraCasm;
|
|
2474
|
+
type index$1_CompleteDeclareContractPayload = CompleteDeclareContractPayload;
|
|
2475
|
+
type index$1_CompressedProgram = CompressedProgram;
|
|
2476
|
+
type index$1_ContractClassResponse = ContractClassResponse;
|
|
2477
|
+
type index$1_ContractEntryPoint = ContractEntryPoint;
|
|
2478
|
+
type index$1_ContractEntryPointFields = ContractEntryPointFields;
|
|
2479
|
+
type index$1_ContractFunction = ContractFunction;
|
|
2480
|
+
type index$1_ContractOptions = ContractOptions;
|
|
2481
|
+
type index$1_DeclareAndDeployContractPayload = DeclareAndDeployContractPayload;
|
|
2482
|
+
type index$1_DeclareContractPayload = DeclareContractPayload;
|
|
2483
|
+
type index$1_DeclareContractResponse = DeclareContractResponse;
|
|
2484
|
+
type index$1_DeclareContractTransaction = DeclareContractTransaction;
|
|
2485
|
+
type index$1_DeclareDeployUDCResponse = DeclareDeployUDCResponse;
|
|
2486
|
+
type index$1_DeclareSignerDetails = DeclareSignerDetails;
|
|
2487
|
+
type index$1_DeclareTransactionReceiptResponse = DeclareTransactionReceiptResponse;
|
|
2488
|
+
type index$1_DeclareTransactionResponse = DeclareTransactionResponse;
|
|
2489
|
+
type index$1_DeployAccountContractPayload = DeployAccountContractPayload;
|
|
2490
|
+
type index$1_DeployAccountContractTransaction = DeployAccountContractTransaction;
|
|
2491
|
+
type index$1_DeployAccountSignerDetails = DeployAccountSignerDetails;
|
|
2492
|
+
type index$1_DeployContractResponse = DeployContractResponse;
|
|
2493
|
+
type index$1_DeployContractUDCResponse = DeployContractUDCResponse;
|
|
2494
|
+
type index$1_DeployTransactionReceiptResponse = DeployTransactionReceiptResponse;
|
|
2495
|
+
type index$1_DeployedContractItem = DeployedContractItem;
|
|
2496
|
+
type index$1_Details = Details;
|
|
2497
|
+
type index$1_EntryPointType = EntryPointType;
|
|
2498
|
+
declare const index$1_EntryPointType: typeof EntryPointType;
|
|
2499
|
+
type index$1_EntryPointsByType = EntryPointsByType;
|
|
2500
|
+
type index$1_EnumAbi = EnumAbi;
|
|
2501
|
+
type index$1_EstimateFee = EstimateFee;
|
|
2502
|
+
type index$1_EstimateFeeAction = EstimateFeeAction;
|
|
2503
|
+
type index$1_EstimateFeeBulk = EstimateFeeBulk;
|
|
2504
|
+
type index$1_EstimateFeeDetails = EstimateFeeDetails;
|
|
2505
|
+
type index$1_EstimateFeeResponse = EstimateFeeResponse;
|
|
2506
|
+
type index$1_EstimateFeeResponseBulk = EstimateFeeResponseBulk;
|
|
2507
|
+
type index$1_Event = Event;
|
|
2508
|
+
type index$1_EventAbi = EventAbi;
|
|
2509
|
+
type index$1_EventEntry = EventEntry;
|
|
2510
|
+
type index$1_ExecutionResources = ExecutionResources;
|
|
2511
|
+
type index$1_FunctionAbi = FunctionAbi;
|
|
2512
|
+
type index$1_FunctionInvocation = FunctionInvocation;
|
|
2513
|
+
type index$1_GetBlockResponse = GetBlockResponse;
|
|
2514
|
+
type index$1_GetCodeResponse = GetCodeResponse;
|
|
2515
|
+
type index$1_GetContractAddressesResponse = GetContractAddressesResponse;
|
|
2516
|
+
type index$1_GetTransactionReceiptResponse = GetTransactionReceiptResponse;
|
|
2517
|
+
type index$1_GetTransactionResponse = GetTransactionResponse;
|
|
2518
|
+
type index$1_GetTransactionStatusResponse = GetTransactionStatusResponse;
|
|
2519
|
+
type index$1_HexCalldata = HexCalldata;
|
|
2520
|
+
type index$1_Invocation = Invocation;
|
|
2521
|
+
type index$1_Invocations = Invocations;
|
|
2522
|
+
type index$1_InvocationsDetails = InvocationsDetails;
|
|
2523
|
+
type index$1_InvocationsDetailsWithNonce = InvocationsDetailsWithNonce;
|
|
2524
|
+
type index$1_InvocationsSignerDetails = InvocationsSignerDetails;
|
|
2525
|
+
type index$1_InvokeFunctionResponse = InvokeFunctionResponse;
|
|
2526
|
+
type index$1_InvokeOptions = InvokeOptions;
|
|
2527
|
+
type index$1_InvokeTransactionReceiptResponse = InvokeTransactionReceiptResponse;
|
|
2528
|
+
type index$1_InvokeTransactionResponse = InvokeTransactionResponse;
|
|
2529
|
+
type index$1_LegacyCompiledContract = LegacyCompiledContract;
|
|
2530
|
+
type index$1_LegacyContractClass = LegacyContractClass;
|
|
2531
|
+
type index$1_LegacyEvent = LegacyEvent;
|
|
2532
|
+
type index$1_Litteral = Litteral;
|
|
2533
|
+
declare const index$1_Litteral: typeof Litteral;
|
|
2534
|
+
type index$1_MessageToL1 = MessageToL1;
|
|
2535
|
+
type index$1_MessageToL2 = MessageToL2;
|
|
2536
|
+
type index$1_MultiDeployContractResponse = MultiDeployContractResponse;
|
|
2537
|
+
type index$1_MultiType = MultiType;
|
|
2538
|
+
type index$1_Nonce = Nonce;
|
|
2539
|
+
type index$1_OptionalPayload<T> = OptionalPayload<T>;
|
|
2540
|
+
type index$1_ParsedEvent = ParsedEvent;
|
|
2541
|
+
type index$1_ParsedEvents = ParsedEvents;
|
|
2542
|
+
type index$1_ParsedStruct = ParsedStruct;
|
|
2543
|
+
type index$1_Program = Program;
|
|
2544
|
+
type index$1_ProviderOptions = ProviderOptions;
|
|
2545
|
+
type index$1_PythonicHints = PythonicHints;
|
|
2546
|
+
type index$1_RawArgs = RawArgs;
|
|
2547
|
+
type index$1_RawArgsArray = RawArgsArray;
|
|
2548
|
+
type index$1_RawArgsObject = RawArgsObject;
|
|
2549
|
+
type index$1_RawCalldata = RawCalldata;
|
|
2550
|
+
type index$1_RejectedTransactionReceiptResponse = RejectedTransactionReceiptResponse;
|
|
2551
|
+
type index$1_RejectedTransactionResponse = RejectedTransactionResponse;
|
|
2552
|
+
type index$1_Result = Result;
|
|
2553
|
+
type index$1_RevertedTransactionReceiptResponse = RevertedTransactionReceiptResponse;
|
|
2554
|
+
type index$1_RpcProviderOptions = RpcProviderOptions;
|
|
2555
|
+
type index$1_SIMULATION_FLAG = SIMULATION_FLAG;
|
|
2556
|
+
declare const index$1_SIMULATION_FLAG: typeof SIMULATION_FLAG;
|
|
2557
|
+
type index$1_SequencerHttpMethod = SequencerHttpMethod;
|
|
2558
|
+
type index$1_SequencerIdentifier = SequencerIdentifier;
|
|
2559
|
+
type index$1_SequencerProviderOptions = SequencerProviderOptions;
|
|
2560
|
+
type index$1_SierraContractClass = SierraContractClass;
|
|
2561
|
+
type index$1_SierraContractEntryPointFields = SierraContractEntryPointFields;
|
|
2562
|
+
type index$1_SierraEntryPointsByType = SierraEntryPointsByType;
|
|
2563
|
+
type index$1_SierraProgramDebugInfo = SierraProgramDebugInfo;
|
|
2564
|
+
type index$1_Signature = Signature;
|
|
2565
|
+
type index$1_SimulateTransactionDetails = SimulateTransactionDetails;
|
|
2566
|
+
type index$1_SimulateTransactionResponse = SimulateTransactionResponse;
|
|
2567
|
+
type index$1_SimulatedTransaction = SimulatedTransaction;
|
|
2568
|
+
type index$1_SimulationFlags = SimulationFlags;
|
|
2569
|
+
type index$1_StarkNetDomain = StarkNetDomain;
|
|
2570
|
+
type index$1_StarkNetMerkleType = StarkNetMerkleType;
|
|
2571
|
+
type index$1_StarkNetType = StarkNetType;
|
|
2572
|
+
type index$1_StateUpdateResponse = StateUpdateResponse;
|
|
2573
|
+
type index$1_Storage = Storage;
|
|
2574
|
+
type index$1_StructAbi = StructAbi;
|
|
2575
|
+
type index$1_SuccessfulTransactionReceiptResponse = SuccessfulTransactionReceiptResponse;
|
|
2576
|
+
type index$1_TransactionStatus = TransactionStatus;
|
|
2577
|
+
declare const index$1_TransactionStatus: typeof TransactionStatus;
|
|
2578
|
+
type index$1_Tupled = Tupled;
|
|
2579
|
+
type index$1_TypedData = TypedData;
|
|
2580
|
+
type index$1_Uint = Uint;
|
|
2581
|
+
declare const index$1_Uint: typeof Uint;
|
|
2582
|
+
type index$1_Uint256 = Uint256;
|
|
2583
|
+
type index$1_UniversalDeployerContractPayload = UniversalDeployerContractPayload;
|
|
2584
|
+
type index$1_ValidateType = ValidateType;
|
|
2585
|
+
declare const index$1_ValidateType: typeof ValidateType;
|
|
2586
|
+
type index$1_WeierstrassSignatureType = WeierstrassSignatureType;
|
|
2587
|
+
type index$1_getEstimateFeeBulkOptions = getEstimateFeeBulkOptions;
|
|
2588
|
+
type index$1_getSimulateTransactionOptions = getSimulateTransactionOptions;
|
|
2589
|
+
type index$1_waitForTransactionOptions = waitForTransactionOptions;
|
|
2590
|
+
declare namespace index$1 {
|
|
2591
2591
|
export {
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2592
|
+
index$1_Abi as Abi,
|
|
2593
|
+
index$1_AbiEntry as AbiEntry,
|
|
2594
|
+
index$1_AbiEnums as AbiEnums,
|
|
2595
|
+
index$1_AbiEvents as AbiEvents,
|
|
2596
|
+
index$1_AbiStructs as AbiStructs,
|
|
2597
|
+
index$1_AccountInvocationItem as AccountInvocationItem,
|
|
2598
|
+
index$1_AccountInvocations as AccountInvocations,
|
|
2599
|
+
index$1_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails,
|
|
2600
|
+
index$1_AllowArray as AllowArray,
|
|
2601
|
+
index$1_Args as Args,
|
|
2602
|
+
index$1_ArgsOrCalldata as ArgsOrCalldata,
|
|
2603
|
+
index$1_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions,
|
|
2604
|
+
index$1_ArraySignatureType as ArraySignatureType,
|
|
2605
|
+
index$1_AsyncContractFunction as AsyncContractFunction,
|
|
2606
|
+
index$1_BigNumberish as BigNumberish,
|
|
2607
|
+
index$1_BlockIdentifier as BlockIdentifier,
|
|
2608
|
+
index$1_BlockNumber as BlockNumber,
|
|
2609
|
+
index$1_BlockStatus as BlockStatus,
|
|
2610
|
+
index$1_BlockTag as BlockTag,
|
|
2611
|
+
index$1_Builtins as Builtins,
|
|
2612
|
+
index$1_ByteCode as ByteCode,
|
|
2613
|
+
index$1_Cairo1Event as Cairo1Event,
|
|
2614
|
+
index$1_CairoAssembly as CairoAssembly,
|
|
2615
|
+
index$1_CairoContract as CairoContract,
|
|
2616
|
+
index$1_CairoEnum as CairoEnum,
|
|
2617
|
+
index$1_CairoVersion as CairoVersion,
|
|
2618
|
+
index$1_Call as Call,
|
|
2619
|
+
index$1_CallContractResponse as CallContractResponse,
|
|
2620
|
+
index$1_CallDetails as CallDetails,
|
|
2621
|
+
index$1_CallL1Handler as CallL1Handler,
|
|
2622
|
+
index$1_CallOptions as CallOptions,
|
|
2623
|
+
index$1_CallStruct as CallStruct,
|
|
2624
|
+
index$1_Calldata as Calldata,
|
|
2625
|
+
index$1_CommonTransactionResponse as CommonTransactionResponse,
|
|
2626
|
+
index$1_CompiledContract as CompiledContract,
|
|
2627
|
+
index$1_CompiledSierra as CompiledSierra,
|
|
2628
|
+
index$1_CompiledSierraCasm as CompiledSierraCasm,
|
|
2629
|
+
index$1_CompleteDeclareContractPayload as CompleteDeclareContractPayload,
|
|
2630
|
+
index$1_CompressedProgram as CompressedProgram,
|
|
2631
2631
|
ContractClass$1 as ContractClass,
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2632
|
+
index$1_ContractClassResponse as ContractClassResponse,
|
|
2633
|
+
index$1_ContractEntryPoint as ContractEntryPoint,
|
|
2634
|
+
index$1_ContractEntryPointFields as ContractEntryPointFields,
|
|
2635
|
+
index$1_ContractFunction as ContractFunction,
|
|
2636
|
+
index$1_ContractOptions as ContractOptions,
|
|
2637
|
+
index$1_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload,
|
|
2638
|
+
index$1_DeclareContractPayload as DeclareContractPayload,
|
|
2639
|
+
index$1_DeclareContractResponse as DeclareContractResponse,
|
|
2640
|
+
index$1_DeclareContractTransaction as DeclareContractTransaction,
|
|
2641
|
+
index$1_DeclareDeployUDCResponse as DeclareDeployUDCResponse,
|
|
2642
|
+
index$1_DeclareSignerDetails as DeclareSignerDetails,
|
|
2643
|
+
index$1_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse,
|
|
2644
|
+
index$1_DeclareTransactionResponse as DeclareTransactionResponse,
|
|
2645
|
+
index$1_DeployAccountContractPayload as DeployAccountContractPayload,
|
|
2646
|
+
index$1_DeployAccountContractTransaction as DeployAccountContractTransaction,
|
|
2647
|
+
index$1_DeployAccountSignerDetails as DeployAccountSignerDetails,
|
|
2648
|
+
index$1_DeployContractResponse as DeployContractResponse,
|
|
2649
|
+
index$1_DeployContractUDCResponse as DeployContractUDCResponse,
|
|
2650
|
+
index$1_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse,
|
|
2651
|
+
index$1_DeployedContractItem as DeployedContractItem,
|
|
2652
|
+
index$1_Details as Details,
|
|
2653
|
+
index$1_EntryPointType as EntryPointType,
|
|
2654
|
+
index$1_EntryPointsByType as EntryPointsByType,
|
|
2655
|
+
index$1_EnumAbi as EnumAbi,
|
|
2656
|
+
index$1_EstimateFee as EstimateFee,
|
|
2657
|
+
index$1_EstimateFeeAction as EstimateFeeAction,
|
|
2658
|
+
index$1_EstimateFeeBulk as EstimateFeeBulk,
|
|
2659
|
+
index$1_EstimateFeeDetails as EstimateFeeDetails,
|
|
2660
|
+
index$1_EstimateFeeResponse as EstimateFeeResponse,
|
|
2661
|
+
index$1_EstimateFeeResponseBulk as EstimateFeeResponseBulk,
|
|
2662
|
+
index$1_Event as Event,
|
|
2663
|
+
index$1_EventAbi as EventAbi,
|
|
2664
|
+
index$1_EventEntry as EventEntry,
|
|
2665
|
+
index$1_ExecutionResources as ExecutionResources,
|
|
2666
|
+
index$1_FunctionAbi as FunctionAbi,
|
|
2667
|
+
index$1_FunctionInvocation as FunctionInvocation,
|
|
2668
|
+
index$1_GetBlockResponse as GetBlockResponse,
|
|
2669
|
+
index$1_GetCodeResponse as GetCodeResponse,
|
|
2670
|
+
index$1_GetContractAddressesResponse as GetContractAddressesResponse,
|
|
2671
|
+
index$1_GetTransactionReceiptResponse as GetTransactionReceiptResponse,
|
|
2672
|
+
index$1_GetTransactionResponse as GetTransactionResponse,
|
|
2673
|
+
index$1_GetTransactionStatusResponse as GetTransactionStatusResponse,
|
|
2674
|
+
index$1_HexCalldata as HexCalldata,
|
|
2675
|
+
index$1_Invocation as Invocation,
|
|
2676
|
+
index$1_Invocations as Invocations,
|
|
2677
|
+
index$1_InvocationsDetails as InvocationsDetails,
|
|
2678
|
+
index$1_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce,
|
|
2679
|
+
index$1_InvocationsSignerDetails as InvocationsSignerDetails,
|
|
2680
|
+
index$1_InvokeFunctionResponse as InvokeFunctionResponse,
|
|
2681
|
+
index$1_InvokeOptions as InvokeOptions,
|
|
2682
|
+
index$1_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse,
|
|
2683
|
+
index$1_InvokeTransactionResponse as InvokeTransactionResponse,
|
|
2684
|
+
index$1_LegacyCompiledContract as LegacyCompiledContract,
|
|
2685
|
+
index$1_LegacyContractClass as LegacyContractClass,
|
|
2686
|
+
index$1_LegacyEvent as LegacyEvent,
|
|
2687
|
+
index$1_Litteral as Litteral,
|
|
2688
|
+
index$1_MessageToL1 as MessageToL1,
|
|
2689
|
+
index$1_MessageToL2 as MessageToL2,
|
|
2690
|
+
index$1_MultiDeployContractResponse as MultiDeployContractResponse,
|
|
2691
|
+
index$1_MultiType as MultiType,
|
|
2692
|
+
index$1_Nonce as Nonce,
|
|
2693
|
+
index$1_OptionalPayload as OptionalPayload,
|
|
2694
|
+
index$1_ParsedEvent as ParsedEvent,
|
|
2695
|
+
index$1_ParsedEvents as ParsedEvents,
|
|
2696
|
+
index$1_ParsedStruct as ParsedStruct,
|
|
2697
|
+
index$1_Program as Program,
|
|
2698
|
+
index$1_ProviderOptions as ProviderOptions,
|
|
2699
|
+
index$1_PythonicHints as PythonicHints,
|
|
2700
2700
|
rpc as RPC,
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2701
|
+
index$1_RawArgs as RawArgs,
|
|
2702
|
+
index$1_RawArgsArray as RawArgsArray,
|
|
2703
|
+
index$1_RawArgsObject as RawArgsObject,
|
|
2704
|
+
index$1_RawCalldata as RawCalldata,
|
|
2705
|
+
index$1_RejectedTransactionReceiptResponse as RejectedTransactionReceiptResponse,
|
|
2706
|
+
index$1_RejectedTransactionResponse as RejectedTransactionResponse,
|
|
2707
|
+
index$1_Result as Result,
|
|
2708
|
+
index$1_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse,
|
|
2709
|
+
index$1_RpcProviderOptions as RpcProviderOptions,
|
|
2710
|
+
index$1_SIMULATION_FLAG as SIMULATION_FLAG,
|
|
2711
2711
|
sequencer as Sequencer,
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2712
|
+
index$1_SequencerHttpMethod as SequencerHttpMethod,
|
|
2713
|
+
index$1_SequencerIdentifier as SequencerIdentifier,
|
|
2714
|
+
index$1_SequencerProviderOptions as SequencerProviderOptions,
|
|
2715
|
+
index$1_SierraContractClass as SierraContractClass,
|
|
2716
|
+
index$1_SierraContractEntryPointFields as SierraContractEntryPointFields,
|
|
2717
|
+
index$1_SierraEntryPointsByType as SierraEntryPointsByType,
|
|
2718
|
+
index$1_SierraProgramDebugInfo as SierraProgramDebugInfo,
|
|
2719
|
+
index$1_Signature as Signature,
|
|
2720
|
+
index$1_SimulateTransactionDetails as SimulateTransactionDetails,
|
|
2721
|
+
index$1_SimulateTransactionResponse as SimulateTransactionResponse,
|
|
2722
|
+
index$1_SimulatedTransaction as SimulatedTransaction,
|
|
2723
|
+
index$1_SimulationFlags as SimulationFlags,
|
|
2724
|
+
index$1_StarkNetDomain as StarkNetDomain,
|
|
2725
|
+
index$1_StarkNetMerkleType as StarkNetMerkleType,
|
|
2726
|
+
index$1_StarkNetType as StarkNetType,
|
|
2727
|
+
index$1_StateUpdateResponse as StateUpdateResponse,
|
|
2728
|
+
index$1_Storage as Storage,
|
|
2729
|
+
index$1_StructAbi as StructAbi,
|
|
2730
|
+
index$1_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse,
|
|
2731
2731
|
TransactionExecutionStatus$1 as TransactionExecutionStatus,
|
|
2732
2732
|
TransactionFinalityStatus$1 as TransactionFinalityStatus,
|
|
2733
|
-
|
|
2733
|
+
index$1_TransactionStatus as TransactionStatus,
|
|
2734
2734
|
TransactionType$1 as TransactionType,
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2735
|
+
index$1_Tupled as Tupled,
|
|
2736
|
+
index$1_TypedData as TypedData,
|
|
2737
|
+
index$1_Uint as Uint,
|
|
2738
|
+
index$1_Uint256 as Uint256,
|
|
2739
|
+
index$1_UniversalDeployerContractPayload as UniversalDeployerContractPayload,
|
|
2740
|
+
index$1_ValidateType as ValidateType,
|
|
2741
|
+
index$1_WeierstrassSignatureType as WeierstrassSignatureType,
|
|
2742
|
+
index$1_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions,
|
|
2743
|
+
index$1_getSimulateTransactionOptions as getSimulateTransactionOptions,
|
|
2744
|
+
index$1_waitForTransactionOptions as waitForTransactionOptions,
|
|
2745
2745
|
};
|
|
2746
2746
|
}
|
|
2747
2747
|
|
|
@@ -4297,6 +4297,25 @@ declare namespace provider {
|
|
|
4297
4297
|
};
|
|
4298
4298
|
}
|
|
4299
4299
|
|
|
4300
|
+
declare function getAbiEvents(abi: Abi): AbiEvents;
|
|
4301
|
+
/**
|
|
4302
|
+
* Parse raw events and structure them into response object based on a contract structs and defined events
|
|
4303
|
+
* @param providerReceivedEvents ProviderEvent[] - Array of raw events
|
|
4304
|
+
* @param abiEvents AbiEvents - Events defined in the abi
|
|
4305
|
+
* @param abiStructs AbiStructs - Structs defined in the abi
|
|
4306
|
+
* @return ParsedEvents - parsed events corresponding to the abi
|
|
4307
|
+
*/
|
|
4308
|
+
declare function parseEvents(providerReceivedEvents: Array<Event>, abiEvents: AbiEvents, abiStructs: AbiStructs, abiEnums: AbiEnums): ParsedEvents;
|
|
4309
|
+
|
|
4310
|
+
declare const index_getAbiEvents: typeof getAbiEvents;
|
|
4311
|
+
declare const index_parseEvents: typeof parseEvents;
|
|
4312
|
+
declare namespace index {
|
|
4313
|
+
export {
|
|
4314
|
+
index_getAbiEvents as getAbiEvents,
|
|
4315
|
+
index_parseEvents as parseEvents,
|
|
4316
|
+
};
|
|
4317
|
+
}
|
|
4318
|
+
|
|
4300
4319
|
declare function addAddressPadding(address: BigNumberish): string;
|
|
4301
4320
|
declare function validateAndParseAddress(address: BigNumberish): string;
|
|
4302
4321
|
declare function getChecksumAddress(address: BigNumberish): string;
|
|
@@ -4533,4 +4552,4 @@ declare function parseUDCEvent(txReceipt: InvokeTransactionReceiptResponse): {
|
|
|
4533
4552
|
/** @deprecated prefer the 'num' naming */
|
|
4534
4553
|
declare const number: typeof num;
|
|
4535
4554
|
|
|
4536
|
-
export { Abi, AbiEntry, AbiEnums, AbiEvents, AbiStructs, Account, AccountInterface, AccountInvocationItem, AccountInvocations, AccountInvocationsFactoryDetails, AllowArray, Args, ArgsOrCalldata, ArgsOrCalldataWithOptions, ArraySignatureType, AsyncContractFunction, BigNumberish, BlockIdentifier, BlockNumber, BlockStatus, BlockTag, Builtins, ByteCode, Cairo1Event, CairoAssembly, CairoContract, CairoCustomEnum, CairoEnum, CairoEnumRaw, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoVersion, Call, CallContractResponse, CallData, CallDetails, CallL1Handler, CallOptions, CallStruct, Calldata, CommonTransactionResponse, CompiledContract, CompiledSierra, CompiledSierraCasm, CompleteDeclareContractPayload, CompressedProgram, Contract, ContractClass$1 as ContractClass, ContractClassResponse, ContractEntryPoint, ContractEntryPointFields, ContractFactory, ContractFactoryParams, ContractFunction, ContractInterface, ContractOptions, CustomError, DeclareAndDeployContractPayload, DeclareContractPayload, DeclareContractResponse, DeclareContractTransaction, DeclareDeployUDCResponse, DeclareSignerDetails, DeclareTransactionReceiptResponse, DeclareTransactionResponse, DeployAccountContractPayload, DeployAccountContractTransaction, DeployAccountSignerDetails, DeployContractResponse, DeployContractUDCResponse, DeployTransactionReceiptResponse, DeployedContractItem, Details, EntryPointType, EntryPointsByType, EnumAbi, EstimateFee, EstimateFeeAction, EstimateFeeBulk, EstimateFeeDetails, EstimateFeeResponse, EstimateFeeResponseBulk, Event, EventAbi, EventEntry, ExecutionResources, FunctionAbi, FunctionInvocation, GatewayError, GetBlockResponse, GetCodeResponse, GetContractAddressesResponse, GetTransactionReceiptResponse, GetTransactionResponse, GetTransactionStatusResponse, HexCalldata, HttpError, Invocation, Invocations, InvocationsDetails, InvocationsDetailsWithNonce, InvocationsSignerDetails, InvokeFunctionResponse, InvokeOptions, InvokeTransactionReceiptResponse, InvokeTransactionResponse, LegacyCompiledContract, LegacyContractClass, LegacyEvent, LibraryError, Litteral, MessageToL1, MessageToL2, MultiDeployContractResponse, MultiType, Nonce, OptionalPayload, ParsedEvent, ParsedEvents, ParsedStruct, Program, Provider, ProviderInterface, ProviderOptions, PythonicHints, rpc as RPC, RawArgs, RawArgsArray, RawArgsObject, RawCalldata, RejectedTransactionReceiptResponse, RejectedTransactionResponse, Result, RevertedTransactionReceiptResponse, RpcProvider, RpcProviderOptions, SIMULATION_FLAG, sequencer as Sequencer, SequencerHttpMethod, SequencerIdentifier, SequencerProvider, SequencerProviderOptions, SierraContractClass, SierraContractEntryPointFields, SierraEntryPointsByType, SierraProgramDebugInfo, Signature, Signer, SignerInterface, SimulateTransactionDetails, SimulateTransactionResponse, SimulatedTransaction, SimulationFlags, StarkNetDomain, StarkNetMerkleType, StarkNetType, StateUpdateResponse, Storage, StructAbi, SuccessfulTransactionReceiptResponse, TransactionExecutionStatus$1 as TransactionExecutionStatus, TransactionFinalityStatus$1 as TransactionFinalityStatus, TransactionStatus, TransactionType$1 as TransactionType, Tupled, TypedContract, TypedData, Uint, Uint256, UniversalDeployerContractPayload, ValidateType, WeierstrassSignatureType, addAddressPadding, buildUrl, cairo, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, getEstimateFeeBulkOptions, getSimulateTransactionOptions, hash, isSierra, isUrl, json, merkle, num, number, parseUDCEvent, provider, selector, shortString, splitArgsAndOptions, stark, starknetId, transaction, typedData, index as types, uint256$1 as uint256, validateAndParseAddress, validateChecksumAddress, waitForTransactionOptions };
|
|
4555
|
+
export { Abi, AbiEntry, AbiEnums, AbiEvents, AbiStructs, Account, AccountInterface, AccountInvocationItem, AccountInvocations, AccountInvocationsFactoryDetails, AllowArray, Args, ArgsOrCalldata, ArgsOrCalldataWithOptions, ArraySignatureType, AsyncContractFunction, BigNumberish, BlockIdentifier, BlockNumber, BlockStatus, BlockTag, Builtins, ByteCode, Cairo1Event, CairoAssembly, CairoContract, CairoCustomEnum, CairoEnum, CairoEnumRaw, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoVersion, Call, CallContractResponse, CallData, CallDetails, CallL1Handler, CallOptions, CallStruct, Calldata, CommonTransactionResponse, CompiledContract, CompiledSierra, CompiledSierraCasm, CompleteDeclareContractPayload, CompressedProgram, Contract, ContractClass$1 as ContractClass, ContractClassResponse, ContractEntryPoint, ContractEntryPointFields, ContractFactory, ContractFactoryParams, ContractFunction, ContractInterface, ContractOptions, CustomError, DeclareAndDeployContractPayload, DeclareContractPayload, DeclareContractResponse, DeclareContractTransaction, DeclareDeployUDCResponse, DeclareSignerDetails, DeclareTransactionReceiptResponse, DeclareTransactionResponse, DeployAccountContractPayload, DeployAccountContractTransaction, DeployAccountSignerDetails, DeployContractResponse, DeployContractUDCResponse, DeployTransactionReceiptResponse, DeployedContractItem, Details, EntryPointType, EntryPointsByType, EnumAbi, EstimateFee, EstimateFeeAction, EstimateFeeBulk, EstimateFeeDetails, EstimateFeeResponse, EstimateFeeResponseBulk, Event, EventAbi, EventEntry, ExecutionResources, FunctionAbi, FunctionInvocation, GatewayError, GetBlockResponse, GetCodeResponse, GetContractAddressesResponse, GetTransactionReceiptResponse, GetTransactionResponse, GetTransactionStatusResponse, HexCalldata, HttpError, Invocation, Invocations, InvocationsDetails, InvocationsDetailsWithNonce, InvocationsSignerDetails, InvokeFunctionResponse, InvokeOptions, InvokeTransactionReceiptResponse, InvokeTransactionResponse, LegacyCompiledContract, LegacyContractClass, LegacyEvent, LibraryError, Litteral, MessageToL1, MessageToL2, MultiDeployContractResponse, MultiType, Nonce, OptionalPayload, ParsedEvent, ParsedEvents, ParsedStruct, Program, Provider, ProviderInterface, ProviderOptions, PythonicHints, rpc as RPC, RawArgs, RawArgsArray, RawArgsObject, RawCalldata, RejectedTransactionReceiptResponse, RejectedTransactionResponse, Result, RevertedTransactionReceiptResponse, RpcProvider, RpcProviderOptions, SIMULATION_FLAG, sequencer as Sequencer, SequencerHttpMethod, SequencerIdentifier, SequencerProvider, SequencerProviderOptions, SierraContractClass, SierraContractEntryPointFields, SierraEntryPointsByType, SierraProgramDebugInfo, Signature, Signer, SignerInterface, SimulateTransactionDetails, SimulateTransactionResponse, SimulatedTransaction, SimulationFlags, StarkNetDomain, StarkNetMerkleType, StarkNetType, StateUpdateResponse, Storage, StructAbi, SuccessfulTransactionReceiptResponse, TransactionExecutionStatus$1 as TransactionExecutionStatus, TransactionFinalityStatus$1 as TransactionFinalityStatus, TransactionStatus, TransactionType$1 as TransactionType, Tupled, TypedContract, TypedData, Uint, Uint256, UniversalDeployerContractPayload, ValidateType, WeierstrassSignatureType, addAddressPadding, buildUrl, cairo, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, getEstimateFeeBulkOptions, getSimulateTransactionOptions, hash, isSierra, isUrl, json, merkle, num, number, parseUDCEvent, provider, selector, shortString, splitArgsAndOptions, stark, starknetId, transaction, typedData, index$1 as types, uint256$1 as uint256, validateAndParseAddress, validateChecksumAddress, waitForTransactionOptions };
|