@newos/cli
Version:
Command-line interface for the NewOS
18 lines • 1.07 kB
TypeScript
import { ValidationInfo, BuildArtifacts, StorageLayoutInfo, Operation, Contract } from '@newos/upgrades';
import { ContractInterface } from '../models/files/NetworkFile';
export default class ValidationLogger {
contract: Contract;
existingContractInfo: ContractInterface;
constructor(contract: Contract, existingContractInfo?: ContractInterface);
get contractName(): string;
log(validations: ValidationInfo, buildArtifacts?: BuildArtifacts): void;
logImportsEthereumPackageContracts(EthereumPackageContracts: string[] | null): 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;
}
//# sourceMappingURL=ValidationLogger.d.ts.map