Structs§
- AbiParameter
- A named, typed parameter in a function ABI.
- Authorization
Selector - A 4-byte authorization selector used to identify authwit request types.
- Contract
Artifact - A deserialized contract artifact containing function metadata.
- Event
Selector - A field-element event selector used to identify contract events.
- Field
Layout - Describes the storage slot layout for a single contract storage field.
- Function
Artifact - Metadata for a single function within a contract artifact.
- Function
Selector - A 4-byte function selector used to identify contract functions.
- Note
Selector - A 7-bit note selector identifying a note type within a contract.
Enums§
- AbiDecoded
- A decoded ABI value, produced by
decode_from_abi. - AbiType
- ABI type representation for function parameters and return values.
- AbiValue
- A concrete ABI value used as a function argument or return value.
- Function
Type - The type of a contract function.
Functions§
- abi_
checker - Validate a contract artifact’s ABI for correctness.
- abi_
type_ signature - Convert an ABI type to its canonical Noir signature representation.
- abi_
type_ size - Compute the number of field elements an ABI type occupies when flattened.
- buffer_
as_ fields - Split a byte buffer into field elements for on-chain storage.
- buffer_
from_ fields - Reconstruct a byte buffer from field elements produced by
buffer_as_fields. - count_
arguments_ size - Compute the total flattened field-element count for a function’s parameters.
- decode_
from_ abi - Decode field elements back into typed ABI values.
- encode_
arguments - ABI-encode a function’s arguments into field elements.
- encode_
value - is_
address_ struct - Returns true if the ABI type represents an AztecAddress or EthAddress struct.
- is_
aztec_ address_ struct - Returns true if the ABI type is an
AztecAddressstruct. - is_
bounded_ vec_ struct - Returns true if the ABI type is a
BoundedVecstruct. - is_
eth_ address_ struct - Returns true if the ABI type is an
EthAddressstruct. - is_
function_ selector_ struct - Returns true if the ABI type is a
FunctionSelectorstruct. - is_
option_ struct - Returns true if the ABI type is an
Optionstruct. - is_
public_ keys_ struct - Returns true if the ABI type is a
PublicKeysstruct (Noir ABI representation). - is_
wrapped_ field_ struct - Returns true if the ABI type is a struct wrapping a single
inner: Field.
Type Aliases§
- Contract
Storage Layout - Maps storage field names to their slot layout descriptors.