(codeLines: string[], context: FileContext, imports: string[])
| 76 | } |
| 77 | |
| 78 | function generateSolFile(codeLines: string[], context: FileContext, imports: string[]) { |
| 79 | let code = arrJoiner([ |
| 80 | ...generateFileHeader(true, context.opts.unsafe, imports), |
| 81 | ...codeLines, |
| 82 | ]) |
| 83 | code = prettierFormat( |
| 84 | context.opts.noComments ? strip(code) : code |
| 85 | ); |
| 86 | return code; |
| 87 | } |
| 88 | |
| 89 | export class UnpackerGen { |
| 90 | static createLibrary(structsAndEnums: Array<AbiStruct | AbiEnum>, context: FileContext): { |
no test coverage detected