INNER CODE UNIT · Rust

from

renegade-fi/renegade · crates/circuits/circuit-types/src/lib.rs:119

    fn from(value: AuthenticatedScalar) -> Self {
        Self(value)
    }
}

#[cfg(feature = "proof-system-types")]
impl From<AuthenticatedBool> for AuthenticatedScalar {
    fn from(value: AuthenticatedBool) -> Self {
        value.0
    }
}

// -----------
// | Helpers |
// -----------

/// Get the maximum representable price
pub fn max_price() -> FixedPoint {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…