Burn contract

Burning a coin

Public InputDescription
nullifiercoin nullifier
x coordinate of value point commitment
y coordinate of value point commitment
[commitment](../crypto/commitment.md] of tokenId as field element
rootroot of coin commitments merkle tree
datadata read during execution of burn spendHook contract
spendHookburn related contract
signature public x coordinate
signature public y coordinate
WitnessesDescription
valueburn value
tokentokenId
blinding term for burn value commitment
blinding term for tokenId commitment
snserial number for burn coin
spendHookcontract related contract
datadata read during spendHook execution
blinding term for data commitment
skcoin private key
poscoin commitment leaf position in the merkle tree
pathcoin commitment path in the merkle tree
signature secret key

Circuit checks