@sentio/api 1.0.4-rc.8 → 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 +0 -220
- package/package.json +1 -1
- package/src/types.gen.ts +0 -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
|
};
|
|
@@ -2580,85 +2541,15 @@ export declare namespace processor_service {
|
|
|
2580
2541
|
errorRecord?: common.ErrorRecord;
|
|
2581
2542
|
};
|
|
2582
2543
|
type GetProcessorStatusResponseProcessorStatusState = 'UNKNOWN' | 'ERROR' | 'STARTING' | 'PROCESSING';
|
|
2583
|
-
type GetProcessorWithProjectResponse = {
|
|
2584
|
-
processor?: Processor;
|
|
2585
|
-
project?: common.Project;
|
|
2586
|
-
};
|
|
2587
|
-
type GetProcessorsResponse = {
|
|
2588
|
-
processors?: Array<Processor>;
|
|
2589
|
-
};
|
|
2590
2544
|
type NetworkOverride = {
|
|
2591
2545
|
chain?: string;
|
|
2592
2546
|
host?: string;
|
|
2593
2547
|
};
|
|
2594
|
-
/**
|
|
2595
|
-
* This represents a processor which backend works on.
|
|
2596
|
-
*/
|
|
2597
|
-
type Processor = {
|
|
2598
|
-
/**
|
|
2599
|
-
* The unique processor id.
|
|
2600
|
-
*/
|
|
2601
|
-
processorId?: string;
|
|
2602
|
-
/**
|
|
2603
|
-
* The project this processor belongs to.
|
|
2604
|
-
*/
|
|
2605
|
-
projectId?: string;
|
|
2606
|
-
/**
|
|
2607
|
-
* The version of the code_url below.
|
|
2608
|
-
*/
|
|
2609
|
-
version?: number;
|
|
2610
|
-
sdkVersion?: string;
|
|
2611
|
-
/**
|
|
2612
|
-
* Call should be able to fetch the code to run from code_url.
|
|
2613
|
-
*/
|
|
2614
|
-
codeUrl?: string;
|
|
2615
|
-
chainStates?: Array<ChainState>;
|
|
2616
|
-
/**
|
|
2617
|
-
* If non empty, this is the contract associated with the processor.
|
|
2618
|
-
*/
|
|
2619
|
-
contractId?: string;
|
|
2620
|
-
versionState?: ProcessorVersionState;
|
|
2621
|
-
debug?: boolean;
|
|
2622
|
-
/**
|
|
2623
|
-
* The timescale-db sharding index of this processor.
|
|
2624
|
-
*/
|
|
2625
|
-
timescaleShardingIndex?: number;
|
|
2626
|
-
versionLabel?: string;
|
|
2627
|
-
ipfsHash?: string;
|
|
2628
|
-
debugFork?: string;
|
|
2629
|
-
/**
|
|
2630
|
-
* The created timestamp of the processor.
|
|
2631
|
-
*/
|
|
2632
|
-
createdAt?: string;
|
|
2633
|
-
/**
|
|
2634
|
-
* The clickhouse sharding index of this processor.
|
|
2635
|
-
*/
|
|
2636
|
-
clickhouseShardingIndex?: number;
|
|
2637
|
-
k8sClusterId?: number;
|
|
2638
|
-
enableMaterializedView?: boolean;
|
|
2639
|
-
referenceProjectId?: string;
|
|
2640
|
-
networkOverrides?: Array<NetworkOverride>;
|
|
2641
|
-
eventlogMigrateStatus?: number;
|
|
2642
|
-
eventlogVersion?: number;
|
|
2643
|
-
pause?: boolean;
|
|
2644
|
-
pauseAt?: string;
|
|
2645
|
-
pauseReason?: string;
|
|
2646
|
-
entitySchemaVersion?: number;
|
|
2647
|
-
driverVersion?: number;
|
|
2648
|
-
numWorkers?: number;
|
|
2649
|
-
isBinary?: boolean;
|
|
2650
|
-
chainId?: string;
|
|
2651
|
-
requiredChains?: Array<string>;
|
|
2652
|
-
createTxHash?: string;
|
|
2653
|
-
};
|
|
2654
2548
|
type ProcessorSourceFile = {
|
|
2655
2549
|
path?: string;
|
|
2656
2550
|
content?: string;
|
|
2657
2551
|
};
|
|
2658
2552
|
type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
|
|
2659
|
-
type UpdateChainProcessorStatusResponse = {
|
|
2660
|
-
[key: string]: unknown;
|
|
2661
|
-
};
|
|
2662
2553
|
type ActivatePendingVersionData = {
|
|
2663
2554
|
body?: never;
|
|
2664
2555
|
path: {
|
|
@@ -2753,25 +2644,9 @@ export declare namespace solidity_service {
|
|
|
2753
2644
|
chainId?: string;
|
|
2754
2645
|
forkId?: string;
|
|
2755
2646
|
};
|
|
2756
|
-
type CompileSourceInternalResponse = {
|
|
2757
|
-
failure?: Failure;
|
|
2758
|
-
};
|
|
2759
|
-
type CompilerOptions = {
|
|
2760
|
-
language?: string;
|
|
2761
|
-
version?: string;
|
|
2762
|
-
settings?: Settings;
|
|
2763
|
-
specializations?: Specializations;
|
|
2764
|
-
};
|
|
2765
|
-
type ContractKeyInfo = {
|
|
2766
|
-
preprocessKey?: string;
|
|
2767
|
-
compilationKey?: string;
|
|
2768
|
-
};
|
|
2769
2647
|
type CreateForkResponse = {
|
|
2770
2648
|
fork?: Fork;
|
|
2771
2649
|
};
|
|
2772
|
-
type DecodeStateDiffResponse = {
|
|
2773
|
-
result?: string;
|
|
2774
|
-
};
|
|
2775
2650
|
type EstimatedPrice = {
|
|
2776
2651
|
confidence?: number;
|
|
2777
2652
|
price?: number;
|
|
@@ -2799,10 +2674,6 @@ export declare namespace solidity_service {
|
|
|
2799
2674
|
chainConfig?: BaseChainConfig;
|
|
2800
2675
|
nodeAdditionalHeaders?: string;
|
|
2801
2676
|
};
|
|
2802
|
-
type Failure = {
|
|
2803
|
-
error?: string;
|
|
2804
|
-
reason?: string;
|
|
2805
|
-
};
|
|
2806
2677
|
type Fork = {
|
|
2807
2678
|
id?: string;
|
|
2808
2679
|
type?: ForkType;
|
|
@@ -2854,31 +2725,6 @@ export declare namespace solidity_service {
|
|
|
2854
2725
|
page?: number;
|
|
2855
2726
|
pageSize?: number;
|
|
2856
2727
|
};
|
|
2857
|
-
type GetStorageSummaryInternalResponse = {
|
|
2858
|
-
results?: Array<StorageSummaryResult>;
|
|
2859
|
-
};
|
|
2860
|
-
type GetTraceCallInternalRequestBundle = {
|
|
2861
|
-
transactions?: Array<{
|
|
2862
|
-
[key: string]: unknown;
|
|
2863
|
-
}>;
|
|
2864
|
-
blockOverride?: BlockOverrides;
|
|
2865
|
-
};
|
|
2866
|
-
type GetTraceCallInternalRequestStateContext = {
|
|
2867
|
-
blockNumber?: string;
|
|
2868
|
-
transactionIndex?: number;
|
|
2869
|
-
};
|
|
2870
|
-
type GetTraceCallInternalResponse = {
|
|
2871
|
-
result?: Array<Array<{
|
|
2872
|
-
[key: string]: unknown;
|
|
2873
|
-
}>>;
|
|
2874
|
-
outputs?: Array<Array<{
|
|
2875
|
-
[key: string]: unknown;
|
|
2876
|
-
}>>;
|
|
2877
|
-
error?: string;
|
|
2878
|
-
};
|
|
2879
|
-
type GetTraceTransactionInternalResponse = {
|
|
2880
|
-
result?: string;
|
|
2881
|
-
};
|
|
2882
2728
|
type ListForksResponse = {
|
|
2883
2729
|
forks?: Array<Fork>;
|
|
2884
2730
|
};
|
|
@@ -2890,11 +2736,6 @@ export declare namespace solidity_service {
|
|
|
2890
2736
|
rpcEndpoint?: string;
|
|
2891
2737
|
version?: string;
|
|
2892
2738
|
};
|
|
2893
|
-
type Metadata = {
|
|
2894
|
-
useLiteralContent?: boolean;
|
|
2895
|
-
bytecodeHash?: string;
|
|
2896
|
-
appendCBOR?: boolean;
|
|
2897
|
-
};
|
|
2898
2739
|
type NodeEnvironment = {
|
|
2899
2740
|
chainId?: string;
|
|
2900
2741
|
baseFee?: string;
|
|
@@ -2906,34 +2747,6 @@ export declare namespace solidity_service {
|
|
|
2906
2747
|
forkBlockNumber?: string;
|
|
2907
2748
|
forkRetryBackoff?: string;
|
|
2908
2749
|
};
|
|
2909
|
-
type Optimizer = {
|
|
2910
|
-
enabled?: boolean;
|
|
2911
|
-
runs?: number;
|
|
2912
|
-
details?: OptimizerDetails;
|
|
2913
|
-
};
|
|
2914
|
-
type OptimizerDetails = {
|
|
2915
|
-
peephole?: boolean;
|
|
2916
|
-
jumpdestRemover?: boolean;
|
|
2917
|
-
yul?: boolean;
|
|
2918
|
-
yulDetails?: OptimizerDetailsYulDetails;
|
|
2919
|
-
};
|
|
2920
|
-
type OptimizerDetailsYulDetails = {
|
|
2921
|
-
stackAllocation?: boolean;
|
|
2922
|
-
optimizerSteps?: string;
|
|
2923
|
-
};
|
|
2924
|
-
type PreProcessCompilationInternalResponse = {
|
|
2925
|
-
preprocessedAddresses?: Array<string>;
|
|
2926
|
-
};
|
|
2927
|
-
type Settings = {
|
|
2928
|
-
remappings?: Array<string>;
|
|
2929
|
-
optimizer?: Optimizer;
|
|
2930
|
-
evmVersion?: string;
|
|
2931
|
-
metadata?: Metadata;
|
|
2932
|
-
viaIR?: boolean;
|
|
2933
|
-
compilationTarget?: {
|
|
2934
|
-
[key: string]: string;
|
|
2935
|
-
};
|
|
2936
|
-
};
|
|
2937
2750
|
type SimulateTransactionBundleResponse = {
|
|
2938
2751
|
bundleId?: string;
|
|
2939
2752
|
simulations?: Array<Simulation>;
|
|
@@ -3004,32 +2817,6 @@ export declare namespace solidity_service {
|
|
|
3004
2817
|
simulation: Simulation;
|
|
3005
2818
|
};
|
|
3006
2819
|
type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK' | 'ETHERSCAN_V2';
|
|
3007
|
-
type SourceInfo = {
|
|
3008
|
-
contractName?: string;
|
|
3009
|
-
options?: CompilerOptions;
|
|
3010
|
-
};
|
|
3011
|
-
type SourceMultiFile = {
|
|
3012
|
-
source?: {
|
|
3013
|
-
[key: string]: string;
|
|
3014
|
-
};
|
|
3015
|
-
compilerSettings?: string;
|
|
3016
|
-
};
|
|
3017
|
-
type SourceSpec = {
|
|
3018
|
-
id?: string;
|
|
3019
|
-
multiFile?: SourceMultiFile;
|
|
3020
|
-
standardJson?: {
|
|
3021
|
-
[key: string]: unknown;
|
|
3022
|
-
};
|
|
3023
|
-
metadata?: {
|
|
3024
|
-
[key: string]: unknown;
|
|
3025
|
-
};
|
|
3026
|
-
solidityVersion?: string;
|
|
3027
|
-
contractName?: string;
|
|
3028
|
-
constructorArgs?: string;
|
|
3029
|
-
};
|
|
3030
|
-
type Specializations = {
|
|
3031
|
-
constructorArguments?: string;
|
|
3032
|
-
};
|
|
3033
2820
|
type StateOverride = {
|
|
3034
2821
|
state?: {
|
|
3035
2822
|
[key: string]: string;
|
|
@@ -3040,13 +2827,6 @@ export declare namespace solidity_service {
|
|
|
3040
2827
|
balance?: string;
|
|
3041
2828
|
code?: string;
|
|
3042
2829
|
};
|
|
3043
|
-
type StorageSummaryResult = {
|
|
3044
|
-
address?: string;
|
|
3045
|
-
codeAddress?: string;
|
|
3046
|
-
stateVariables?: Array<{
|
|
3047
|
-
[key: string]: unknown;
|
|
3048
|
-
}>;
|
|
3049
|
-
};
|
|
3050
2830
|
type UpdateForkResponse = {
|
|
3051
2831
|
fork?: Fork;
|
|
3052
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
|
};
|
|
@@ -2592,85 +2553,15 @@ export namespace processor_service {
|
|
|
2592
2553
|
errorRecord?: common.ErrorRecord;
|
|
2593
2554
|
};
|
|
2594
2555
|
export type GetProcessorStatusResponseProcessorStatusState = 'UNKNOWN' | 'ERROR' | 'STARTING' | 'PROCESSING';
|
|
2595
|
-
export type GetProcessorWithProjectResponse = {
|
|
2596
|
-
processor?: Processor;
|
|
2597
|
-
project?: common.Project;
|
|
2598
|
-
};
|
|
2599
|
-
export type GetProcessorsResponse = {
|
|
2600
|
-
processors?: Array<Processor>;
|
|
2601
|
-
};
|
|
2602
2556
|
export type NetworkOverride = {
|
|
2603
2557
|
chain?: string;
|
|
2604
2558
|
host?: string;
|
|
2605
2559
|
};
|
|
2606
|
-
/**
|
|
2607
|
-
* This represents a processor which backend works on.
|
|
2608
|
-
*/
|
|
2609
|
-
export type Processor = {
|
|
2610
|
-
/**
|
|
2611
|
-
* The unique processor id.
|
|
2612
|
-
*/
|
|
2613
|
-
processorId?: string;
|
|
2614
|
-
/**
|
|
2615
|
-
* The project this processor belongs to.
|
|
2616
|
-
*/
|
|
2617
|
-
projectId?: string;
|
|
2618
|
-
/**
|
|
2619
|
-
* The version of the code_url below.
|
|
2620
|
-
*/
|
|
2621
|
-
version?: number;
|
|
2622
|
-
sdkVersion?: string;
|
|
2623
|
-
/**
|
|
2624
|
-
* Call should be able to fetch the code to run from code_url.
|
|
2625
|
-
*/
|
|
2626
|
-
codeUrl?: string;
|
|
2627
|
-
chainStates?: Array<ChainState>;
|
|
2628
|
-
/**
|
|
2629
|
-
* If non empty, this is the contract associated with the processor.
|
|
2630
|
-
*/
|
|
2631
|
-
contractId?: string;
|
|
2632
|
-
versionState?: ProcessorVersionState;
|
|
2633
|
-
debug?: boolean;
|
|
2634
|
-
/**
|
|
2635
|
-
* The timescale-db sharding index of this processor.
|
|
2636
|
-
*/
|
|
2637
|
-
timescaleShardingIndex?: number;
|
|
2638
|
-
versionLabel?: string;
|
|
2639
|
-
ipfsHash?: string;
|
|
2640
|
-
debugFork?: string;
|
|
2641
|
-
/**
|
|
2642
|
-
* The created timestamp of the processor.
|
|
2643
|
-
*/
|
|
2644
|
-
createdAt?: string;
|
|
2645
|
-
/**
|
|
2646
|
-
* The clickhouse sharding index of this processor.
|
|
2647
|
-
*/
|
|
2648
|
-
clickhouseShardingIndex?: number;
|
|
2649
|
-
k8sClusterId?: number;
|
|
2650
|
-
enableMaterializedView?: boolean;
|
|
2651
|
-
referenceProjectId?: string;
|
|
2652
|
-
networkOverrides?: Array<NetworkOverride>;
|
|
2653
|
-
eventlogMigrateStatus?: number;
|
|
2654
|
-
eventlogVersion?: number;
|
|
2655
|
-
pause?: boolean;
|
|
2656
|
-
pauseAt?: string;
|
|
2657
|
-
pauseReason?: string;
|
|
2658
|
-
entitySchemaVersion?: number;
|
|
2659
|
-
driverVersion?: number;
|
|
2660
|
-
numWorkers?: number;
|
|
2661
|
-
isBinary?: boolean;
|
|
2662
|
-
chainId?: string;
|
|
2663
|
-
requiredChains?: Array<string>;
|
|
2664
|
-
createTxHash?: string;
|
|
2665
|
-
};
|
|
2666
2560
|
export type ProcessorSourceFile = {
|
|
2667
2561
|
path?: string;
|
|
2668
2562
|
content?: string;
|
|
2669
2563
|
};
|
|
2670
2564
|
export type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE';
|
|
2671
|
-
export type UpdateChainProcessorStatusResponse = {
|
|
2672
|
-
[key: string]: unknown;
|
|
2673
|
-
};
|
|
2674
2565
|
export type ActivatePendingVersionData = {
|
|
2675
2566
|
body?: never;
|
|
2676
2567
|
path: {
|
|
@@ -2766,25 +2657,9 @@ export namespace solidity_service {
|
|
|
2766
2657
|
chainId?: string;
|
|
2767
2658
|
forkId?: string;
|
|
2768
2659
|
};
|
|
2769
|
-
export type CompileSourceInternalResponse = {
|
|
2770
|
-
failure?: Failure;
|
|
2771
|
-
};
|
|
2772
|
-
export type CompilerOptions = {
|
|
2773
|
-
language?: string;
|
|
2774
|
-
version?: string;
|
|
2775
|
-
settings?: Settings;
|
|
2776
|
-
specializations?: Specializations;
|
|
2777
|
-
};
|
|
2778
|
-
export type ContractKeyInfo = {
|
|
2779
|
-
preprocessKey?: string;
|
|
2780
|
-
compilationKey?: string;
|
|
2781
|
-
};
|
|
2782
2660
|
export type CreateForkResponse = {
|
|
2783
2661
|
fork?: Fork;
|
|
2784
2662
|
};
|
|
2785
|
-
export type DecodeStateDiffResponse = {
|
|
2786
|
-
result?: string;
|
|
2787
|
-
};
|
|
2788
2663
|
export type EstimatedPrice = {
|
|
2789
2664
|
confidence?: number;
|
|
2790
2665
|
price?: number;
|
|
@@ -2812,10 +2687,6 @@ export namespace solidity_service {
|
|
|
2812
2687
|
chainConfig?: BaseChainConfig;
|
|
2813
2688
|
nodeAdditionalHeaders?: string;
|
|
2814
2689
|
};
|
|
2815
|
-
export type Failure = {
|
|
2816
|
-
error?: string;
|
|
2817
|
-
reason?: string;
|
|
2818
|
-
};
|
|
2819
2690
|
export type Fork = {
|
|
2820
2691
|
id?: string;
|
|
2821
2692
|
type?: ForkType;
|
|
@@ -2867,31 +2738,6 @@ export namespace solidity_service {
|
|
|
2867
2738
|
page?: number;
|
|
2868
2739
|
pageSize?: number;
|
|
2869
2740
|
};
|
|
2870
|
-
export type GetStorageSummaryInternalResponse = {
|
|
2871
|
-
results?: Array<StorageSummaryResult>;
|
|
2872
|
-
};
|
|
2873
|
-
export type GetTraceCallInternalRequestBundle = {
|
|
2874
|
-
transactions?: Array<{
|
|
2875
|
-
[key: string]: unknown;
|
|
2876
|
-
}>;
|
|
2877
|
-
blockOverride?: BlockOverrides;
|
|
2878
|
-
};
|
|
2879
|
-
export type GetTraceCallInternalRequestStateContext = {
|
|
2880
|
-
blockNumber?: string;
|
|
2881
|
-
transactionIndex?: number;
|
|
2882
|
-
};
|
|
2883
|
-
export type GetTraceCallInternalResponse = {
|
|
2884
|
-
result?: Array<Array<{
|
|
2885
|
-
[key: string]: unknown;
|
|
2886
|
-
}>>;
|
|
2887
|
-
outputs?: Array<Array<{
|
|
2888
|
-
[key: string]: unknown;
|
|
2889
|
-
}>>;
|
|
2890
|
-
error?: string;
|
|
2891
|
-
};
|
|
2892
|
-
export type GetTraceTransactionInternalResponse = {
|
|
2893
|
-
result?: string;
|
|
2894
|
-
};
|
|
2895
2741
|
export type ListForksResponse = {
|
|
2896
2742
|
forks?: Array<Fork>;
|
|
2897
2743
|
};
|
|
@@ -2903,11 +2749,6 @@ export namespace solidity_service {
|
|
|
2903
2749
|
rpcEndpoint?: string;
|
|
2904
2750
|
version?: string;
|
|
2905
2751
|
};
|
|
2906
|
-
export type Metadata = {
|
|
2907
|
-
useLiteralContent?: boolean;
|
|
2908
|
-
bytecodeHash?: string;
|
|
2909
|
-
appendCBOR?: boolean;
|
|
2910
|
-
};
|
|
2911
2752
|
export type NodeEnvironment = {
|
|
2912
2753
|
chainId?: string;
|
|
2913
2754
|
baseFee?: string;
|
|
@@ -2919,34 +2760,6 @@ export namespace solidity_service {
|
|
|
2919
2760
|
forkBlockNumber?: string;
|
|
2920
2761
|
forkRetryBackoff?: string;
|
|
2921
2762
|
};
|
|
2922
|
-
export type Optimizer = {
|
|
2923
|
-
enabled?: boolean;
|
|
2924
|
-
runs?: number;
|
|
2925
|
-
details?: OptimizerDetails;
|
|
2926
|
-
};
|
|
2927
|
-
export type OptimizerDetails = {
|
|
2928
|
-
peephole?: boolean;
|
|
2929
|
-
jumpdestRemover?: boolean;
|
|
2930
|
-
yul?: boolean;
|
|
2931
|
-
yulDetails?: OptimizerDetailsYulDetails;
|
|
2932
|
-
};
|
|
2933
|
-
export type OptimizerDetailsYulDetails = {
|
|
2934
|
-
stackAllocation?: boolean;
|
|
2935
|
-
optimizerSteps?: string;
|
|
2936
|
-
};
|
|
2937
|
-
export type PreProcessCompilationInternalResponse = {
|
|
2938
|
-
preprocessedAddresses?: Array<string>;
|
|
2939
|
-
};
|
|
2940
|
-
export type Settings = {
|
|
2941
|
-
remappings?: Array<string>;
|
|
2942
|
-
optimizer?: Optimizer;
|
|
2943
|
-
evmVersion?: string;
|
|
2944
|
-
metadata?: Metadata;
|
|
2945
|
-
viaIR?: boolean;
|
|
2946
|
-
compilationTarget?: {
|
|
2947
|
-
[key: string]: string;
|
|
2948
|
-
};
|
|
2949
|
-
};
|
|
2950
2763
|
export type SimulateTransactionBundleResponse = {
|
|
2951
2764
|
bundleId?: string;
|
|
2952
2765
|
simulations?: Array<Simulation>;
|
|
@@ -3017,32 +2830,6 @@ export namespace solidity_service {
|
|
|
3017
2830
|
simulation: Simulation;
|
|
3018
2831
|
};
|
|
3019
2832
|
export type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK' | 'ETHERSCAN_V2';
|
|
3020
|
-
export type SourceInfo = {
|
|
3021
|
-
contractName?: string;
|
|
3022
|
-
options?: CompilerOptions;
|
|
3023
|
-
};
|
|
3024
|
-
export type SourceMultiFile = {
|
|
3025
|
-
source?: {
|
|
3026
|
-
[key: string]: string;
|
|
3027
|
-
};
|
|
3028
|
-
compilerSettings?: string;
|
|
3029
|
-
};
|
|
3030
|
-
export type SourceSpec = {
|
|
3031
|
-
id?: string;
|
|
3032
|
-
multiFile?: SourceMultiFile;
|
|
3033
|
-
standardJson?: {
|
|
3034
|
-
[key: string]: unknown;
|
|
3035
|
-
};
|
|
3036
|
-
metadata?: {
|
|
3037
|
-
[key: string]: unknown;
|
|
3038
|
-
};
|
|
3039
|
-
solidityVersion?: string;
|
|
3040
|
-
contractName?: string;
|
|
3041
|
-
constructorArgs?: string;
|
|
3042
|
-
};
|
|
3043
|
-
export type Specializations = {
|
|
3044
|
-
constructorArguments?: string;
|
|
3045
|
-
};
|
|
3046
2833
|
export type StateOverride = {
|
|
3047
2834
|
state?: {
|
|
3048
2835
|
[key: string]: string;
|
|
@@ -3053,13 +2840,6 @@ export namespace solidity_service {
|
|
|
3053
2840
|
balance?: string;
|
|
3054
2841
|
code?: string;
|
|
3055
2842
|
};
|
|
3056
|
-
export type StorageSummaryResult = {
|
|
3057
|
-
address?: string;
|
|
3058
|
-
codeAddress?: string;
|
|
3059
|
-
stateVariables?: Array<{
|
|
3060
|
-
[key: string]: unknown;
|
|
3061
|
-
}>;
|
|
3062
|
-
};
|
|
3063
2843
|
export type UpdateForkResponse = {
|
|
3064
2844
|
fork?: Fork;
|
|
3065
2845
|
};
|