pub fn make_burn_call(
coins: Vec<OwnCoin>,
tree: MerkleTree,
burn_zkbin: ZkBinary,
burn_pk: ProvingKey,
) -> Result<(MoneyBurnParamsV1, BurnCallDebris, Vec<OwnCoin>)>Expand description
Make a simple burn call to permanently destroy coins.
coins: Set ofOwnCoinwe’re given to burn in this calltree: Merkle tree of coins used to create inclusion proofsburn_zkbin:Burn_V1zkas circuit ZkBinaryburn_pk: Proving key for theBurn_V1zk circuit
Returns a tuple of:
- The actual call data
- Secret values such as blinds
- A list of the spent coins