@sentio/api 1.0.4-rc.7 → 1.0.4-rc.9
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/src/types.gen.d.ts +1 -220
- package/package.json +1 -1
- package/src/types.gen.ts +1 -220
package/dist/src/types.gen.d.ts
CHANGED
|
@@ -513,17 +513,6 @@ export declare namespace analytic_service {
|
|
|
513
513
|
type QuerySqlResultResponse = {
|
|
514
514
|
executionInfo?: ExecutionInfo;
|
|
515
515
|
};
|
|
516
|
-
type QuerySegmentationResponse = {
|
|
517
|
-
results?: Array<QuerySegmentationResponseResult>;
|
|
518
|
-
};
|
|
519
|
-
type QuerySegmentationResponseResult = {
|
|
520
|
-
matrix?: common.Matrix;
|
|
521
|
-
error?: string;
|
|
522
|
-
alias?: string;
|
|
523
|
-
id?: string;
|
|
524
|
-
computeStats?: common.ComputeStats;
|
|
525
|
-
color?: string;
|
|
526
|
-
};
|
|
527
516
|
type QueryTableResponse = {
|
|
528
517
|
table?: Table;
|
|
529
518
|
computeStats?: common.ComputeStats;
|
|
@@ -578,18 +567,6 @@ export declare namespace analytic_service {
|
|
|
578
567
|
source?: string;
|
|
579
568
|
cachePolicy?: common.CachePolicy;
|
|
580
569
|
};
|
|
581
|
-
type SegmentationRequest = {
|
|
582
|
-
projectOwner?: string;
|
|
583
|
-
projectSlug?: string;
|
|
584
|
-
projectId?: string;
|
|
585
|
-
version?: number;
|
|
586
|
-
timeRange?: common.TimeRangeLite;
|
|
587
|
-
queries?: Array<common.SegmentationQuery>;
|
|
588
|
-
formulas?: Array<common.Formula>;
|
|
589
|
-
debug?: boolean;
|
|
590
|
-
limit?: number;
|
|
591
|
-
offset?: number;
|
|
592
|
-
};
|
|
593
570
|
type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT' | 'EXPORT' | 'USER_MATERIALIZED_VIEW_CREATOR' | 'SQL_ALERT';
|
|
594
571
|
type SyncExecuteSqlResponse = {
|
|
595
572
|
runtimeCost?: string;
|
|
@@ -1427,16 +1404,6 @@ export declare namespace common {
|
|
|
1427
1404
|
createdAt?: string;
|
|
1428
1405
|
syncAt?: string;
|
|
1429
1406
|
};
|
|
1430
|
-
type ProjectVariables = {
|
|
1431
|
-
projectId?: string;
|
|
1432
|
-
variables?: Array<ProjectVariablesVariable>;
|
|
1433
|
-
};
|
|
1434
|
-
type ProjectVariablesVariable = {
|
|
1435
|
-
key?: string;
|
|
1436
|
-
value?: string;
|
|
1437
|
-
isSecret?: boolean;
|
|
1438
|
-
updatedAt?: string;
|
|
1439
|
-
};
|
|
1440
1407
|
type ProjectView = {
|
|
1441
1408
|
id?: string;
|
|
1442
1409
|
projectId?: string;
|
|
@@ -2533,12 +2500,6 @@ export declare namespace processor_service {
|
|
|
2533
2500
|
errorRecord?: common.ErrorRecord;
|
|
2534
2501
|
};
|
|
2535
2502
|
type ChainStateStatusState = 'UNKNOWN' | 'ERROR' | 'CATCHING_UP' | 'PROCESSING_LATEST' | 'QUEUING';
|
|
2536
|
-
type DownloadProcessorResponse = {
|
|
2537
|
-
url?: string;
|
|
2538
|
-
};
|
|
2539
|
-
type GetProcessorResponse = {
|
|
2540
|
-
processor?: Processor;
|
|
2541
|
-
};
|
|
2542
2503
|
type GetProcessorSourceFilesResponse = {
|
|
2543
2504
|
sourceFiles?: Array<ProcessorSourceFile>;
|
|
2544
2505
|
};
|
|
@@ -2573,91 +2534,22 @@ export declare namespace processor_service {
|
|
|
2573
2534
|
entitySchema?: string;
|
|
2574
2535
|
snChainId?: string;
|
|
2575
2536
|
snRequiredChains?: Array<string>;
|
|
2537
|
+
entitySchemaVersion?: number;
|
|
2576
2538
|
};
|
|
2577
2539
|
type GetProcessorStatusResponseProcessorStatus = {
|
|
2578
2540
|
state?: GetProcessorStatusResponseProcessorStatusState;
|
|
2579
2541
|
errorRecord?: common.ErrorRecord;
|
|
2580
2542
|
};
|
|
2581
2543
|
type GetProcessorStatusResponseProcessorStatusState = 'UNKNOWN' | 'ERROR' | 'STARTING' | 'PROCESSING';
|
|
2582
|
-
type GetProcessorWithProjectResponse = {
|
|
2583
|
-
processor?: Processor;
|
|
2584
|
-
project?: common.Project;
|
|
2585
|
-
};
|
|
2586
|
-
type GetProcessorsResponse = {
|
|
2587
|
-
processors?: Array<Processor>;
|
|
2588
|
-
};
|
|
2589
2544
|
type NetworkOverride = {
|
|
2590
2545
|
chain?: string;
|
|
2591
2546
|
host?: string;
|
|
2592
2547
|
};
|
|
2593
|
-
/**
|
|
2594
|
-
* This represents a processor which backend works on.
|
|
2595
|
-
*/
|
|
2596
|
-
type Processor = {
|
|
2597
|
-
/**
|
|
2598
|
-
* The unique processor id.
|
|
2599
|
-
*/
|
|
2600
|
-
processorId?: string;
|
|
2601
|
-
/**
|
|
2602
|
-
* The project this processor belongs to.
|
|
2603
|
-
*/
|
|
2604
|
-
projectId?: string;
|
|
2605
|
-
/**
|
|
2606
|
-
* The version of the code_url below.
|
|
2607
|
-
*/
|
|
2608
|
-
version?: number;
|
|
2609
|
-
sdkVersion?: string;
|
|
2610
|
-
/**
|
|
2611
|
-
* Call should be able to fetch the code to run from code_url.
|
|
2612
|
-
*/
|
|
2613
|
-
codeUrl?: string;
|
|
2614
|
-
chainStates?: Array<ChainState>;
|
|
2615
|
-
/**
|
|
2616
|
-
* If non empty, this is the contract associated with the processor.
|
|
2617
|
-
*/
|
|
2618
|
-
contractId?: string;
|
|
2619
|
-
versionState?: ProcessorVersionState;
|
|
2620
|
-
debug?: boolean;
|
|
2621
|
-
/**
|
|
2622
|
-
* The timescale-db sharding index of this processor.
|
|
2623
|
-
*/
|
|
2624
|
-
timescaleShardingIndex?: number;
|
|
2625
|
-
versionLabel?: string;
|
|
2626
|
-
ipfsHash?: string;
|
|
2627
|
-
debugFork?: string;
|
|
2628
|
-
/**
|
|
2629
|
-
* The created timestamp of the processor.
|
|
2630
|
-
*/
|
|
2631
|
-
createdAt?: string;
|
|
2632
|
-
/**
|
|
2633
|
-
* The clickhouse sharding index of this processor.
|
|
2634
|
-
*/
|
|
2635
|
-
clickhouseShardingIndex?: number;
|
|
2636
|
-
k8sClusterId?: number;
|
|
2637
|
-
enableMaterializedView?: boolean;
|
|
2638
|
-
referenceProjectId?: string;
|
|
2639
|
-
networkOverrides?: Array<NetworkOverride>;
|
|
2640
|
-
eventlogMigrateStatus?: number;
|
|
2641
|
-
eventlogVersion?: number;
|
|
2642
|
-
pause?: boolean;
|
|
2643
|
-
pauseAt?: string;
|
|
2644
|
-
pauseReason?: string;
|
|
2645
|
-
entitySchemaVersion?: number;
|
|
2646
|
-
driverVersion?: number;
|
|
2647
|
-
numWorkers?: number;
|
|
2648
|
-
isBinary?: boolean;
|
|
2649
|
-
chainId?: string;
|
|
2650
|
-
requiredChains?: Array<string>;
|
|
2651
|
-
createTxHash?: string;
|
|
2652
|
-
};
|
|
2653
2548
|
type ProcessorSourceFile = {
|
|
2654
2549
|
path?: string;
|
|
2655
2550
|
content?: string;
|
|
2656
2551
|
};
|
|
2657
2552
|
type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
|
|
2658
|
-
type UpdateChainProcessorStatusResponse = {
|
|
2659
|
-
[key: string]: unknown;
|
|
2660
|
-
};
|
|
2661
2553
|
type ActivatePendingVersionData = {
|
|
2662
2554
|
body?: never;
|
|
2663
2555
|
path: {
|
|
@@ -2752,25 +2644,9 @@ export declare namespace solidity_service {
|
|
|
2752
2644
|
chainId?: string;
|
|
2753
2645
|
forkId?: string;
|
|
2754
2646
|
};
|
|
2755
|
-
type CompileSourceInternalResponse = {
|
|
2756
|
-
failure?: Failure;
|
|
2757
|
-
};
|
|
2758
|
-
type CompilerOptions = {
|
|
2759
|
-
language?: string;
|
|
2760
|
-
version?: string;
|
|
2761
|
-
settings?: Settings;
|
|
2762
|
-
specializations?: Specializations;
|
|
2763
|
-
};
|
|
2764
|
-
type ContractKeyInfo = {
|
|
2765
|
-
preprocessKey?: string;
|
|
2766
|
-
compilationKey?: string;
|
|
2767
|
-
};
|
|
2768
2647
|
type CreateForkResponse = {
|
|
2769
2648
|
fork?: Fork;
|
|
2770
2649
|
};
|
|
2771
|
-
type DecodeStateDiffResponse = {
|
|
2772
|
-
result?: string;
|
|
2773
|
-
};
|
|
2774
2650
|
type EstimatedPrice = {
|
|
2775
2651
|
confidence?: number;
|
|
2776
2652
|
price?: number;
|
|
@@ -2798,10 +2674,6 @@ export declare namespace solidity_service {
|
|
|
2798
2674
|
chainConfig?: BaseChainConfig;
|
|
2799
2675
|
nodeAdditionalHeaders?: string;
|
|
2800
2676
|
};
|
|
2801
|
-
type Failure = {
|
|
2802
|
-
error?: string;
|
|
2803
|
-
reason?: string;
|
|
2804
|
-
};
|
|
2805
2677
|
type Fork = {
|
|
2806
2678
|
id?: string;
|
|
2807
2679
|
type?: ForkType;
|
|
@@ -2853,31 +2725,6 @@ export declare namespace solidity_service {
|
|
|
2853
2725
|
page?: number;
|
|
2854
2726
|
pageSize?: number;
|
|
2855
2727
|
};
|
|
2856
|
-
type GetStorageSummaryInternalResponse = {
|
|
2857
|
-
results?: Array<StorageSummaryResult>;
|
|
2858
|
-
};
|
|
2859
|
-
type GetTraceCallInternalRequestBundle = {
|
|
2860
|
-
transactions?: Array<{
|
|
2861
|
-
[key: string]: unknown;
|
|
2862
|
-
}>;
|
|
2863
|
-
blockOverride?: BlockOverrides;
|
|
2864
|
-
};
|
|
2865
|
-
type GetTraceCallInternalRequestStateContext = {
|
|
2866
|
-
blockNumber?: string;
|
|
2867
|
-
transactionIndex?: number;
|
|
2868
|
-
};
|
|
2869
|
-
type GetTraceCallInternalResponse = {
|
|
2870
|
-
result?: Array<Array<{
|
|
2871
|
-
[key: string]: unknown;
|
|
2872
|
-
}>>;
|
|
2873
|
-
outputs?: Array<Array<{
|
|
2874
|
-
[key: string]: unknown;
|
|
2875
|
-
}>>;
|
|
2876
|
-
error?: string;
|
|
2877
|
-
};
|
|
2878
|
-
type GetTraceTransactionInternalResponse = {
|
|
2879
|
-
result?: string;
|
|
2880
|
-
};
|
|
2881
2728
|
type ListForksResponse = {
|
|
2882
2729
|
forks?: Array<Fork>;
|
|
2883
2730
|
};
|
|
@@ -2889,11 +2736,6 @@ export declare namespace solidity_service {
|
|
|
2889
2736
|
rpcEndpoint?: string;
|
|
2890
2737
|
version?: string;
|
|
2891
2738
|
};
|
|
2892
|
-
type Metadata = {
|
|
2893
|
-
useLiteralContent?: boolean;
|
|
2894
|
-
bytecodeHash?: string;
|
|
2895
|
-
appendCBOR?: boolean;
|
|
2896
|
-
};
|
|
2897
2739
|
type NodeEnvironment = {
|
|
2898
2740
|
chainId?: string;
|
|
2899
2741
|
baseFee?: string;
|
|
@@ -2905,34 +2747,6 @@ export declare namespace solidity_service {
|
|
|
2905
2747
|
forkBlockNumber?: string;
|
|
2906
2748
|
forkRetryBackoff?: string;
|
|
2907
2749
|
};
|
|
2908
|
-
type Optimizer = {
|
|
2909
|
-
enabled?: boolean;
|
|
2910
|
-
runs?: number;
|
|
2911
|
-
details?: OptimizerDetails;
|
|
2912
|
-
};
|
|
2913
|
-
type OptimizerDetails = {
|
|
2914
|
-
peephole?: boolean;
|
|
2915
|
-
jumpdestRemover?: boolean;
|
|
2916
|
-
yul?: boolean;
|
|
2917
|
-
yulDetails?: OptimizerDetailsYulDetails;
|
|
2918
|
-
};
|
|
2919
|
-
type OptimizerDetailsYulDetails = {
|
|
2920
|
-
stackAllocation?: boolean;
|
|
2921
|
-
optimizerSteps?: string;
|
|
2922
|
-
};
|
|
2923
|
-
type PreProcessCompilationInternalResponse = {
|
|
2924
|
-
preprocessedAddresses?: Array<string>;
|
|
2925
|
-
};
|
|
2926
|
-
type Settings = {
|
|
2927
|
-
remappings?: Array<string>;
|
|
2928
|
-
optimizer?: Optimizer;
|
|
2929
|
-
evmVersion?: string;
|
|
2930
|
-
metadata?: Metadata;
|
|
2931
|
-
viaIR?: boolean;
|
|
2932
|
-
compilationTarget?: {
|
|
2933
|
-
[key: string]: string;
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
2750
|
type SimulateTransactionBundleResponse = {
|
|
2937
2751
|
bundleId?: string;
|
|
2938
2752
|
simulations?: Array<Simulation>;
|
|
@@ -3003,32 +2817,6 @@ export declare namespace solidity_service {
|
|
|
3003
2817
|
simulation: Simulation;
|
|
3004
2818
|
};
|
|
3005
2819
|
type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK' | 'ETHERSCAN_V2';
|
|
3006
|
-
type SourceInfo = {
|
|
3007
|
-
contractName?: string;
|
|
3008
|
-
options?: CompilerOptions;
|
|
3009
|
-
};
|
|
3010
|
-
type SourceMultiFile = {
|
|
3011
|
-
source?: {
|
|
3012
|
-
[key: string]: string;
|
|
3013
|
-
};
|
|
3014
|
-
compilerSettings?: string;
|
|
3015
|
-
};
|
|
3016
|
-
type SourceSpec = {
|
|
3017
|
-
id?: string;
|
|
3018
|
-
multiFile?: SourceMultiFile;
|
|
3019
|
-
standardJson?: {
|
|
3020
|
-
[key: string]: unknown;
|
|
3021
|
-
};
|
|
3022
|
-
metadata?: {
|
|
3023
|
-
[key: string]: unknown;
|
|
3024
|
-
};
|
|
3025
|
-
solidityVersion?: string;
|
|
3026
|
-
contractName?: string;
|
|
3027
|
-
constructorArgs?: string;
|
|
3028
|
-
};
|
|
3029
|
-
type Specializations = {
|
|
3030
|
-
constructorArguments?: string;
|
|
3031
|
-
};
|
|
3032
2820
|
type StateOverride = {
|
|
3033
2821
|
state?: {
|
|
3034
2822
|
[key: string]: string;
|
|
@@ -3039,13 +2827,6 @@ export declare namespace solidity_service {
|
|
|
3039
2827
|
balance?: string;
|
|
3040
2828
|
code?: string;
|
|
3041
2829
|
};
|
|
3042
|
-
type StorageSummaryResult = {
|
|
3043
|
-
address?: string;
|
|
3044
|
-
codeAddress?: string;
|
|
3045
|
-
stateVariables?: Array<{
|
|
3046
|
-
[key: string]: unknown;
|
|
3047
|
-
}>;
|
|
3048
|
-
};
|
|
3049
2830
|
type UpdateForkResponse = {
|
|
3050
2831
|
fork?: Fork;
|
|
3051
2832
|
};
|
package/package.json
CHANGED
package/src/types.gen.ts
CHANGED
|
@@ -517,17 +517,6 @@ export namespace analytic_service {
|
|
|
517
517
|
export type QuerySqlResultResponse = {
|
|
518
518
|
executionInfo?: ExecutionInfo;
|
|
519
519
|
};
|
|
520
|
-
export type QuerySegmentationResponse = {
|
|
521
|
-
results?: Array<QuerySegmentationResponseResult>;
|
|
522
|
-
};
|
|
523
|
-
export type QuerySegmentationResponseResult = {
|
|
524
|
-
matrix?: common.Matrix;
|
|
525
|
-
error?: string;
|
|
526
|
-
alias?: string;
|
|
527
|
-
id?: string;
|
|
528
|
-
computeStats?: common.ComputeStats;
|
|
529
|
-
color?: string;
|
|
530
|
-
};
|
|
531
520
|
export type QueryTableResponse = {
|
|
532
521
|
table?: Table;
|
|
533
522
|
computeStats?: common.ComputeStats;
|
|
@@ -582,18 +571,6 @@ export namespace analytic_service {
|
|
|
582
571
|
source?: string;
|
|
583
572
|
cachePolicy?: common.CachePolicy;
|
|
584
573
|
};
|
|
585
|
-
export type SegmentationRequest = {
|
|
586
|
-
projectOwner?: string;
|
|
587
|
-
projectSlug?: string;
|
|
588
|
-
projectId?: string;
|
|
589
|
-
version?: number;
|
|
590
|
-
timeRange?: common.TimeRangeLite;
|
|
591
|
-
queries?: Array<common.SegmentationQuery>;
|
|
592
|
-
formulas?: Array<common.Formula>;
|
|
593
|
-
debug?: boolean;
|
|
594
|
-
limit?: number;
|
|
595
|
-
offset?: number;
|
|
596
|
-
};
|
|
597
574
|
export type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT' | 'EXPORT' | 'USER_MATERIALIZED_VIEW_CREATOR' | 'SQL_ALERT';
|
|
598
575
|
export type SyncExecuteSqlResponse = {
|
|
599
576
|
runtimeCost?: string;
|
|
@@ -1432,16 +1409,6 @@ export namespace common {
|
|
|
1432
1409
|
createdAt?: string;
|
|
1433
1410
|
syncAt?: string;
|
|
1434
1411
|
};
|
|
1435
|
-
export type ProjectVariables = {
|
|
1436
|
-
projectId?: string;
|
|
1437
|
-
variables?: Array<ProjectVariablesVariable>;
|
|
1438
|
-
};
|
|
1439
|
-
export type ProjectVariablesVariable = {
|
|
1440
|
-
key?: string;
|
|
1441
|
-
value?: string;
|
|
1442
|
-
isSecret?: boolean;
|
|
1443
|
-
updatedAt?: string;
|
|
1444
|
-
};
|
|
1445
1412
|
export type ProjectView = {
|
|
1446
1413
|
id?: string;
|
|
1447
1414
|
projectId?: string;
|
|
@@ -2545,12 +2512,6 @@ export namespace processor_service {
|
|
|
2545
2512
|
errorRecord?: common.ErrorRecord;
|
|
2546
2513
|
};
|
|
2547
2514
|
export type ChainStateStatusState = 'UNKNOWN' | 'ERROR' | 'CATCHING_UP' | 'PROCESSING_LATEST' | 'QUEUING';
|
|
2548
|
-
export type DownloadProcessorResponse = {
|
|
2549
|
-
url?: string;
|
|
2550
|
-
};
|
|
2551
|
-
export type GetProcessorResponse = {
|
|
2552
|
-
processor?: Processor;
|
|
2553
|
-
};
|
|
2554
2515
|
export type GetProcessorSourceFilesResponse = {
|
|
2555
2516
|
sourceFiles?: Array<ProcessorSourceFile>;
|
|
2556
2517
|
};
|
|
@@ -2585,91 +2546,22 @@ export namespace processor_service {
|
|
|
2585
2546
|
entitySchema?: string;
|
|
2586
2547
|
snChainId?: string;
|
|
2587
2548
|
snRequiredChains?: Array<string>;
|
|
2549
|
+
entitySchemaVersion?: number;
|
|
2588
2550
|
};
|
|
2589
2551
|
export type GetProcessorStatusResponseProcessorStatus = {
|
|
2590
2552
|
state?: GetProcessorStatusResponseProcessorStatusState;
|
|
2591
2553
|
errorRecord?: common.ErrorRecord;
|
|
2592
2554
|
};
|
|
2593
2555
|
export type GetProcessorStatusResponseProcessorStatusState = 'UNKNOWN' | 'ERROR' | 'STARTING' | 'PROCESSING';
|
|
2594
|
-
export type GetProcessorWithProjectResponse = {
|
|
2595
|
-
processor?: Processor;
|
|
2596
|
-
project?: common.Project;
|
|
2597
|
-
};
|
|
2598
|
-
export type GetProcessorsResponse = {
|
|
2599
|
-
processors?: Array<Processor>;
|
|
2600
|
-
};
|
|
2601
2556
|
export type NetworkOverride = {
|
|
2602
2557
|
chain?: string;
|
|
2603
2558
|
host?: string;
|
|
2604
2559
|
};
|
|
2605
|
-
/**
|
|
2606
|
-
* This represents a processor which backend works on.
|
|
2607
|
-
*/
|
|
2608
|
-
export type Processor = {
|
|
2609
|
-
/**
|
|
2610
|
-
* The unique processor id.
|
|
2611
|
-
*/
|
|
2612
|
-
processorId?: string;
|
|
2613
|
-
/**
|
|
2614
|
-
* The project this processor belongs to.
|
|
2615
|
-
*/
|
|
2616
|
-
projectId?: string;
|
|
2617
|
-
/**
|
|
2618
|
-
* The version of the code_url below.
|
|
2619
|
-
*/
|
|
2620
|
-
version?: number;
|
|
2621
|
-
sdkVersion?: string;
|
|
2622
|
-
/**
|
|
2623
|
-
* Call should be able to fetch the code to run from code_url.
|
|
2624
|
-
*/
|
|
2625
|
-
codeUrl?: string;
|
|
2626
|
-
chainStates?: Array<ChainState>;
|
|
2627
|
-
/**
|
|
2628
|
-
* If non empty, this is the contract associated with the processor.
|
|
2629
|
-
*/
|
|
2630
|
-
contractId?: string;
|
|
2631
|
-
versionState?: ProcessorVersionState;
|
|
2632
|
-
debug?: boolean;
|
|
2633
|
-
/**
|
|
2634
|
-
* The timescale-db sharding index of this processor.
|
|
2635
|
-
*/
|
|
2636
|
-
timescaleShardingIndex?: number;
|
|
2637
|
-
versionLabel?: string;
|
|
2638
|
-
ipfsHash?: string;
|
|
2639
|
-
debugFork?: string;
|
|
2640
|
-
/**
|
|
2641
|
-
* The created timestamp of the processor.
|
|
2642
|
-
*/
|
|
2643
|
-
createdAt?: string;
|
|
2644
|
-
/**
|
|
2645
|
-
* The clickhouse sharding index of this processor.
|
|
2646
|
-
*/
|
|
2647
|
-
clickhouseShardingIndex?: number;
|
|
2648
|
-
k8sClusterId?: number;
|
|
2649
|
-
enableMaterializedView?: boolean;
|
|
2650
|
-
referenceProjectId?: string;
|
|
2651
|
-
networkOverrides?: Array<NetworkOverride>;
|
|
2652
|
-
eventlogMigrateStatus?: number;
|
|
2653
|
-
eventlogVersion?: number;
|
|
2654
|
-
pause?: boolean;
|
|
2655
|
-
pauseAt?: string;
|
|
2656
|
-
pauseReason?: string;
|
|
2657
|
-
entitySchemaVersion?: number;
|
|
2658
|
-
driverVersion?: number;
|
|
2659
|
-
numWorkers?: number;
|
|
2660
|
-
isBinary?: boolean;
|
|
2661
|
-
chainId?: string;
|
|
2662
|
-
requiredChains?: Array<string>;
|
|
2663
|
-
createTxHash?: string;
|
|
2664
|
-
};
|
|
2665
2560
|
export type ProcessorSourceFile = {
|
|
2666
2561
|
path?: string;
|
|
2667
2562
|
content?: string;
|
|
2668
2563
|
};
|
|
2669
2564
|
export type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
|
|
2670
|
-
export type UpdateChainProcessorStatusResponse = {
|
|
2671
|
-
[key: string]: unknown;
|
|
2672
|
-
};
|
|
2673
2565
|
export type ActivatePendingVersionData = {
|
|
2674
2566
|
body?: never;
|
|
2675
2567
|
path: {
|
|
@@ -2765,25 +2657,9 @@ export namespace solidity_service {
|
|
|
2765
2657
|
chainId?: string;
|
|
2766
2658
|
forkId?: string;
|
|
2767
2659
|
};
|
|
2768
|
-
export type CompileSourceInternalResponse = {
|
|
2769
|
-
failure?: Failure;
|
|
2770
|
-
};
|
|
2771
|
-
export type CompilerOptions = {
|
|
2772
|
-
language?: string;
|
|
2773
|
-
version?: string;
|
|
2774
|
-
settings?: Settings;
|
|
2775
|
-
specializations?: Specializations;
|
|
2776
|
-
};
|
|
2777
|
-
export type ContractKeyInfo = {
|
|
2778
|
-
preprocessKey?: string;
|
|
2779
|
-
compilationKey?: string;
|
|
2780
|
-
};
|
|
2781
2660
|
export type CreateForkResponse = {
|
|
2782
2661
|
fork?: Fork;
|
|
2783
2662
|
};
|
|
2784
|
-
export type DecodeStateDiffResponse = {
|
|
2785
|
-
result?: string;
|
|
2786
|
-
};
|
|
2787
2663
|
export type EstimatedPrice = {
|
|
2788
2664
|
confidence?: number;
|
|
2789
2665
|
price?: number;
|
|
@@ -2811,10 +2687,6 @@ export namespace solidity_service {
|
|
|
2811
2687
|
chainConfig?: BaseChainConfig;
|
|
2812
2688
|
nodeAdditionalHeaders?: string;
|
|
2813
2689
|
};
|
|
2814
|
-
export type Failure = {
|
|
2815
|
-
error?: string;
|
|
2816
|
-
reason?: string;
|
|
2817
|
-
};
|
|
2818
2690
|
export type Fork = {
|
|
2819
2691
|
id?: string;
|
|
2820
2692
|
type?: ForkType;
|
|
@@ -2866,31 +2738,6 @@ export namespace solidity_service {
|
|
|
2866
2738
|
page?: number;
|
|
2867
2739
|
pageSize?: number;
|
|
2868
2740
|
};
|
|
2869
|
-
export type GetStorageSummaryInternalResponse = {
|
|
2870
|
-
results?: Array<StorageSummaryResult>;
|
|
2871
|
-
};
|
|
2872
|
-
export type GetTraceCallInternalRequestBundle = {
|
|
2873
|
-
transactions?: Array<{
|
|
2874
|
-
[key: string]: unknown;
|
|
2875
|
-
}>;
|
|
2876
|
-
blockOverride?: BlockOverrides;
|
|
2877
|
-
};
|
|
2878
|
-
export type GetTraceCallInternalRequestStateContext = {
|
|
2879
|
-
blockNumber?: string;
|
|
2880
|
-
transactionIndex?: number;
|
|
2881
|
-
};
|
|
2882
|
-
export type GetTraceCallInternalResponse = {
|
|
2883
|
-
result?: Array<Array<{
|
|
2884
|
-
[key: string]: unknown;
|
|
2885
|
-
}>>;
|
|
2886
|
-
outputs?: Array<Array<{
|
|
2887
|
-
[key: string]: unknown;
|
|
2888
|
-
}>>;
|
|
2889
|
-
error?: string;
|
|
2890
|
-
};
|
|
2891
|
-
export type GetTraceTransactionInternalResponse = {
|
|
2892
|
-
result?: string;
|
|
2893
|
-
};
|
|
2894
2741
|
export type ListForksResponse = {
|
|
2895
2742
|
forks?: Array<Fork>;
|
|
2896
2743
|
};
|
|
@@ -2902,11 +2749,6 @@ export namespace solidity_service {
|
|
|
2902
2749
|
rpcEndpoint?: string;
|
|
2903
2750
|
version?: string;
|
|
2904
2751
|
};
|
|
2905
|
-
export type Metadata = {
|
|
2906
|
-
useLiteralContent?: boolean;
|
|
2907
|
-
bytecodeHash?: string;
|
|
2908
|
-
appendCBOR?: boolean;
|
|
2909
|
-
};
|
|
2910
2752
|
export type NodeEnvironment = {
|
|
2911
2753
|
chainId?: string;
|
|
2912
2754
|
baseFee?: string;
|
|
@@ -2918,34 +2760,6 @@ export namespace solidity_service {
|
|
|
2918
2760
|
forkBlockNumber?: string;
|
|
2919
2761
|
forkRetryBackoff?: string;
|
|
2920
2762
|
};
|
|
2921
|
-
export type Optimizer = {
|
|
2922
|
-
enabled?: boolean;
|
|
2923
|
-
runs?: number;
|
|
2924
|
-
details?: OptimizerDetails;
|
|
2925
|
-
};
|
|
2926
|
-
export type OptimizerDetails = {
|
|
2927
|
-
peephole?: boolean;
|
|
2928
|
-
jumpdestRemover?: boolean;
|
|
2929
|
-
yul?: boolean;
|
|
2930
|
-
yulDetails?: OptimizerDetailsYulDetails;
|
|
2931
|
-
};
|
|
2932
|
-
export type OptimizerDetailsYulDetails = {
|
|
2933
|
-
stackAllocation?: boolean;
|
|
2934
|
-
optimizerSteps?: string;
|
|
2935
|
-
};
|
|
2936
|
-
export type PreProcessCompilationInternalResponse = {
|
|
2937
|
-
preprocessedAddresses?: Array<string>;
|
|
2938
|
-
};
|
|
2939
|
-
export type Settings = {
|
|
2940
|
-
remappings?: Array<string>;
|
|
2941
|
-
optimizer?: Optimizer;
|
|
2942
|
-
evmVersion?: string;
|
|
2943
|
-
metadata?: Metadata;
|
|
2944
|
-
viaIR?: boolean;
|
|
2945
|
-
compilationTarget?: {
|
|
2946
|
-
[key: string]: string;
|
|
2947
|
-
};
|
|
2948
|
-
};
|
|
2949
2763
|
export type SimulateTransactionBundleResponse = {
|
|
2950
2764
|
bundleId?: string;
|
|
2951
2765
|
simulations?: Array<Simulation>;
|
|
@@ -3016,32 +2830,6 @@ export namespace solidity_service {
|
|
|
3016
2830
|
simulation: Simulation;
|
|
3017
2831
|
};
|
|
3018
2832
|
export type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK' | 'ETHERSCAN_V2';
|
|
3019
|
-
export type SourceInfo = {
|
|
3020
|
-
contractName?: string;
|
|
3021
|
-
options?: CompilerOptions;
|
|
3022
|
-
};
|
|
3023
|
-
export type SourceMultiFile = {
|
|
3024
|
-
source?: {
|
|
3025
|
-
[key: string]: string;
|
|
3026
|
-
};
|
|
3027
|
-
compilerSettings?: string;
|
|
3028
|
-
};
|
|
3029
|
-
export type SourceSpec = {
|
|
3030
|
-
id?: string;
|
|
3031
|
-
multiFile?: SourceMultiFile;
|
|
3032
|
-
standardJson?: {
|
|
3033
|
-
[key: string]: unknown;
|
|
3034
|
-
};
|
|
3035
|
-
metadata?: {
|
|
3036
|
-
[key: string]: unknown;
|
|
3037
|
-
};
|
|
3038
|
-
solidityVersion?: string;
|
|
3039
|
-
contractName?: string;
|
|
3040
|
-
constructorArgs?: string;
|
|
3041
|
-
};
|
|
3042
|
-
export type Specializations = {
|
|
3043
|
-
constructorArguments?: string;
|
|
3044
|
-
};
|
|
3045
2833
|
export type StateOverride = {
|
|
3046
2834
|
state?: {
|
|
3047
2835
|
[key: string]: string;
|
|
@@ -3052,13 +2840,6 @@ export namespace solidity_service {
|
|
|
3052
2840
|
balance?: string;
|
|
3053
2841
|
code?: string;
|
|
3054
2842
|
};
|
|
3055
|
-
export type StorageSummaryResult = {
|
|
3056
|
-
address?: string;
|
|
3057
|
-
codeAddress?: string;
|
|
3058
|
-
stateVariables?: Array<{
|
|
3059
|
-
[key: string]: unknown;
|
|
3060
|
-
}>;
|
|
3061
|
-
};
|
|
3062
2843
|
export type UpdateForkResponse = {
|
|
3063
2844
|
fork?: Fork;
|
|
3064
2845
|
};
|