Type Alias SnarkAmount

Source
pub type SnarkAmount = CheckedAmount<Fp>;

Aliased Type§

pub struct SnarkAmount(Fp<MontBackend<FqConfig, 4>, 4>);

Tuple Fields§

§0: Fp<MontBackend<FqConfig, 4>, 4>

Trait Implementations§

Source§

impl AmountInterface for SnarkAmount

Source§

type W = Witness<Fp<MontBackend<FqConfig, 4>, 4>>

Source§

type Bool = CircuitVar<Boolean>

Source§

fn zero() -> Self

Source§

fn of_constant_fee(fee: Fee) -> Self