Delta proof¶
Instance¶
Name | Type | Description |
---|---|---|
delta |
DeltaHash |
Transaction delta (computed from compliance unit deltas by adding them together) |
expectedBalance |
Balance |
Balanced transactions have delta pre-image 0 for all involved kinds, for unbalanced transactions expectedBalance is a non-zero value |
Witness¶
- Resource delta pre-images
Constraints¶
delta = sum(unit.delta() for unit in action.units for action in tx)
- can be checked outside of the circuit since all values are publicdelta
's preimage's quantity component isexpectedBalance