MCPcopy Create free account
hub / github.com/AztecProtocol/aztec-packages / isAztecAddressStruct

Function isAztecAddressStruct

yarn-project/stdlib/src/abi/utils.ts:26–28  ·  view source on GitHub ↗
(abiType: AbiType)

Source from the content-addressed store, hash-verified

24 * @returns Boolean.
25 */
26export function isAztecAddressStruct(abiType: AbiType) {
27 return abiType.kind === 'struct' && abiType.path.endsWith('address::AztecAddress');
28}
29
30/**
31 * Returns whether the ABI type is an Function Selector defined in Aztec.nr.

Callers 3

abiTypeToTypescriptFunction · 0.90
decodeNextMethod · 0.85
isAddressStructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected