Fields
Commitment
NoteAdded(index, noteCommitment, noteCiphertext).
nullifiersHash makes every commitment unique. Two notes with the same owner, value and trapdoors still differ, because they come from different spends. This prevents the Faerie Gold attack, where a sender creates two identical notes and only one can ever be spent.
Special cases
- Deposit notes
- Swap output notes
Created by the contract on approval:
rkTrapdoor = 0valueTrapdoor = revocationPublicKeyHashfrom the gatekeepernullifiersHash = depositIndex, which is unique per deposit