(path: string)
| 136 | } |
| 137 | |
| 138 | export function parseContractPath(path: string) { |
| 139 | const parsedPath = parsePath(normalizeSlashes(path)) |
| 140 | |
| 141 | return { |
| 142 | name: normalizeName(parsedPath.name), |
| 143 | rawName: parsedPath.name, |
| 144 | path: parsedPath.dir.split('/').filter((x) => x), |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | export function parse(abi: RawAbiDefinition[], path: string, documentation?: DocumentationResult): Contract { |
| 149 | const constructors: FunctionWithoutOutputDeclaration[] = [] |
no test coverage detected
searching dependent graphs…