Skip to main content

Module circuit

Module circuit 

Source
Expand description

Shared circuit gadgets used by the governance ZKP circuits.

Modules§

address_ownership
Address ownership gadget: shared CommitIvk + pk_d derivation.
elgamal
El Gamal encryption integrity gadget for vote proof (ZKP #2).
mul_chip
poseidon_merkle
Shared Poseidon-based Merkle tree gadgets.
spend_authority
Spend authority gadget – 1:1 copy from the upstream Orchard action circuit.
van_integrity
VAN (Vote Authority Note) integrity gadget.
vote_commitment
Vote Commitment integrity gadget.