diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-24 00:06:38 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-24 00:06:38 +0800 |
commit | f9b222c12728ed004688521314932a2a0062f5bd (patch) | |
tree | 5f6bee113a9477efeabaa232dc43c66c82c50c67 /packages | |
parent | 28f077b16f5fc5f08f95bb2ad00724e6ea89dd00 (diff) | |
download | dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.tar dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.tar.gz dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.tar.bz2 dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.tar.lz dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.tar.xz dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.tar.zst dexon-0x-contracts-f9b222c12728ed004688521314932a2a0062f5bd.zip |
Remove duplicate type and remove nested interface
Diffstat (limited to 'packages')
-rw-r--r-- | packages/ethereum-types/src/index.ts | 30 |
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; } |