UNPKG

470 BTypeScriptView Raw
1import Web3 from 'web3';
2import { compilationInterface } from 'types';
3/**
4 * @dev Deploy all contracts from compilation result
5 * @param compileResult compilation result
6 * @param web3 web3 object
7 * @param withDoubleGas If true, try deployment with gas double of estimation (used for Out-of-gas error only)
8 * @param callback Callback
9 */
10export declare function deployAll(compileResult: compilationInterface, web3: Web3, withDoubleGas: boolean, callback: any): void;