UNPKG

@daostack/upgrades

Version:
18 lines 836 B
import { Operation } from './Layout'; import Contract from '../artifacts/Contract.js'; import { StorageInfo } from '../utils/ContractAST'; import { BuildArtifacts } from '..'; export interface ValidationInfo { hasConstructor: boolean; hasSelfDestruct: boolean; hasDelegateCall: boolean; hasInitialValuesInDeclarations: boolean; uninitializedBaseContracts: any[]; storageUncheckedVars?: StorageInfo[]; storageDiff?: Operation[]; importsEthereumPackageContracts?: string[]; } export declare function validate(contract: Contract, existingContractInfo?: any, buildArtifacts?: BuildArtifacts): ValidationInfo; export declare function newValidationErrors(validations: any, existingValidations?: any): any; export declare function validationPasses(validations: any): boolean; //# sourceMappingURL=index.d.ts.map