Skip to content

Commit

Permalink
remove balance commitment from swap claim body definition
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei authored and redshiftzero committed Jun 3, 2024
1 parent 963a4e6 commit 0fe77ad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/protocol/src/dex/action/swap_claim.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Each swap claim contains a SwapClaimBody and a zk-SNARK swap claim proof[^1].

## [SwapClaim Body](#swapclaim-body)

The body of a `SwapClaim` has five parts:
The body of a `SwapClaim` has four parts:

1. A revealed `Nullifier`, which nullifies the swap commitment being claimed;
2. A balance commitment, which commits to the value balance of the spent note;
3. Note commitments for each of the two output notes minted by the `SwapClaim`;
4. The prepaid `Fee` being consumed by the `SwapClaim`;
5. The `BatchSwapOutputData` corresponding to the block in which the swap was executed.
2. Note commitments for each of the two output notes minted by the `SwapClaim`;
3. The prepaid `Fee` being consumed by the `SwapClaim`;
4. The `BatchSwapOutputData` corresponding to the block in which the swap was executed.

## Invariants

Expand Down

0 comments on commit 0fe77ad

Please sign in to comment.