packages/compile-common/src/shims/NewToLegacy.ts
Function forContract
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function forContract(contract: CompiledContract): any {
const {
contractName,
sourcePath,
source,
Function forBytecode
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function forBytecode(bytecode: any): any {
if (!bytecode) {
return bytecode;
}
if (typeof bytecode === "string") {