Add a new function to an existing Aztec contract
Adds a new function to an existing Aztec contract with proper privacy attributes and state management.
/plugin marketplace add critesjosh/aztec-claude-plugin/plugin install critesjosh-aztec@critesjosh/aztec-claude-pluginAdd a new function to the Aztec contract based on this description: "$ARGUMENTS"
First, read the existing contract to understand its structure and storage
Determine the appropriate function type:
Implement the function with:
#[external("private")], #[external("public")], #[view], #[only_self], etc.)If the function needs to communicate between private and public domains, implement the enqueue pattern correctly
Add any necessary imports or storage variables
Ensure the function follows Aztec best practices and integrates well with the existing contract.