(abiType: AbiType)
| 41 | * @param abiType - Type to check. |
| 42 | */ |
| 43 | export function isWrappedFieldStruct(abiType: AbiType) { |
| 44 | return ( |
| 45 | abiType.kind === 'struct' && |
| 46 | abiType.fields.length === 1 && |
| 47 | abiType.fields[0].name === 'inner' && |
| 48 | abiType.fields[0].type.kind === 'field' |
| 49 | ); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Returns whether the ABI type is a PublicKeys struct from Aztec.nr. |
no outgoing calls
no test coverage detected