Fix SimpleContractArtifact
type
This commit is contained in:
parent
21f39079c8
commit
895281989c
@ -1,7 +1,7 @@
|
|||||||
// tslint:disable:max-file-line-count
|
// tslint:disable:max-file-line-count
|
||||||
|
|
||||||
import { BigNumber } from 'bignumber.js';
|
import { BigNumber } from 'bignumber.js';
|
||||||
import { ContractAbi, ContractNetworks, StandardContractOutput } from 'ethereum-types';
|
import { ContractAbi, ContractNetworks, DevdocOutput } from 'ethereum-types';
|
||||||
|
|
||||||
// HACK: Rather then extending from OrderWithoutExchangeAddress
|
// HACK: Rather then extending from OrderWithoutExchangeAddress
|
||||||
// we don't, because our docs don't expand inherited types, and it's unnecessarily
|
// we don't, because our docs don't expand inherited types, and it's unnecessarily
|
||||||
@ -630,6 +630,20 @@ export interface Stats {
|
|||||||
export interface SimpleContractArtifact {
|
export interface SimpleContractArtifact {
|
||||||
schemaVersion: string;
|
schemaVersion: string;
|
||||||
contractName: string;
|
contractName: string;
|
||||||
compilerOutput: StandardContractOutput;
|
compilerOutput: SimpleStandardContractOutput;
|
||||||
networks: ContractNetworks;
|
networks: ContractNetworks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface SimpleStandardContractOutput {
|
||||||
|
abi: ContractAbi;
|
||||||
|
evm: SimpleEvmOutput;
|
||||||
|
devdoc?: DevdocOutput;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SimpleEvmOutput {
|
||||||
|
bytecode: SimpleEvmBytecodeOutput;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SimpleEvmBytecodeOutput {
|
||||||
|
object: string;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user