aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/ethereum-types/src/index.ts30
1 files changed, 5 insertions, 25 deletions
diff --git a/packages/ethereum-types/src/index.ts b/packages/ethereum-types/src/index.ts
index d21f69b79..2b878ca53 100644
--- a/packages/ethereum-types/src/index.ts
+++ b/packages/ethereum-types/src/index.ts
@@ -312,28 +312,6 @@ export type OutputField =
| 'ewasm.wast'
| 'ewasm.wasm';
-export interface CompilerSettings {
- remappings?: string[];
- optimizer?: {
- enabled: boolean;
- runs?: number;
- };
- evmVersion?: 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople';
- metadata?: {
- useLiteralContent: true;
- };
- libraries?: {
- [fileName: string]: {
- [libName: string]: string;
- };
- };
- outputSelection: {
- [fileName: string]: {
- [contractName: string]: OutputField[];
- };
- };
-}
-
export interface ContractNetworks {
[networkId: number]: ContractNetworkData;
}
@@ -411,9 +389,7 @@ export interface CompilerSettings {
runs?: number;
};
evmVersion?: 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople';
- metadata?: {
- useLiteralContent: true;
- };
+ metadata?: CompilerSettingsMetadata;
libraries?: {
[fileName: string]: {
[libName: string]: string;
@@ -426,6 +402,10 @@ export interface CompilerSettings {
};
}
+export interface CompilerSettingsMetadata {
+ useLiteralContent: true;
+}
+
export interface Source {
id: number;
}