(
file: string,
name: string,
nested: Record<string, readonly AbiParameter[]> = {},
)
| 406 | } |
| 407 | |
| 408 | function structComponents( |
| 409 | file: string, |
| 410 | name: string, |
| 411 | nested: Record<string, readonly AbiParameter[]> = {}, |
| 412 | ) { |
| 413 | return extractStruct(file, name).map(({ name, type }) => { |
| 414 | if (type === 'Flow') return { name, type: 'uint8' } |
| 415 | const components = nested[type] |
| 416 | if (components) return { components, name, type: 'tuple' } |
| 417 | return { name, type } |
| 418 | }) |
| 419 | } |
| 420 | |
| 421 | function routerCallbackDataParameter(checkout: string) { |
| 422 | const zone = Path.join(checkout, 'src/interfaces/external/tempo/IZone.sol') |
no test coverage detected