Module storage_proofs_core::gadgets::constraint

source ·

Functions§

  • Adds a constraint to CS, enforcing a difference relationship between the allocated numbers a, b, and difference.
  • Adds a constraint to CS, enforcing an equality relationship between the allocated numbers a and b.
  • Adds a constraint to CS, enforcing a add relationship between the allocated numbers a, b, and sum.