@authereum/zos
Version:
Command-line interface for the ZeppelinOS smart contract platform
17 lines (16 loc) • 928 B
TypeScript
import { ValidationInfo, BuildArtifacts, StorageLayoutInfo, Operation, Contract } from 'zos-lib';
import { ContractInterface } from '../models/files/NetworkFile';
export default class ValidationLogger {
contract: Contract;
existingContractInfo: ContractInterface;
constructor(contract: Contract, existingContractInfo?: ContractInterface);
readonly contractName: string;
log(validations: ValidationInfo, buildArtifacts?: BuildArtifacts): void;
logHasSelfDestruct(hasSelfDestruct: boolean): void;
logHasDelegateCall(hasDelegateCall: boolean): void;
logHasInitialValuesInDeclarations(hasInitialValuesInDeclarations: boolean): void;
logHasConstructor(hasConstructor: boolean): void;
logUninitializedBaseContracts(uninitializedBaseContracts: any): void;
logUncheckedVars(vars: any): void;
logStorageLayoutDiffs(storageDiff: Operation[], updatedStorageInfo: StorageLayoutInfo): void;
}