BurnProof66305

BurnProof66305

new BurnProof66305(currentTotalValueNote, newTotalValueNote, burnedNotes, sender)

Construct a burn proof. A burn proof artificially destroys AZTEC notes, without a transfer of public ERC20 tokens. It keeps track of the total number of AZTEC notes burned using the variables currentTotalValueNote and newTotalValueNote, notes whose value represents the number burned.

The balancing relationship being satisfied is:

currentTotalValue = newTotalValue + mintedNotesValue

Parameters:
Name Type Description
currentTotalValueNote Object

note whose value represents the total current value of burned notes

newTotalValueNote Object

note whose value represents the new total value ofburned notes

burnedNotes Array.<Object>

notes to be minted or burned

sender string

Ethereum address of the transaction sender

Source: