Type Alias SnarkBalance

Source
pub type SnarkBalance = CheckedBalance<Fp>;

Aliased Type§

pub struct SnarkBalance(Fp256<FpParameters>);

Tuple Fields§

§0: Fp256<FpParameters>

Trait Implementations§

Source§

impl BalanceInterface for SnarkBalance

Source§

type W = Witness<Fp256<FpParameters>>

Source§

type Bool = CircuitVar<Boolean>

Source§

type Amount = CheckedAmount<Fp256<FpParameters>>

Source§

type SignedAmount = CheckedSigned<Fp256<FpParameters>, CheckedAmount<Fp256<FpParameters>>>

Source§

fn add_signed_amount_flagged( &self, signed_amount: Self::SignedAmount, w: &mut Self::W, ) -> (Self, Self::Bool)