MCPcopy Create free account
hub / github.com/docknetwork/crypto / BoundCheckBpp

Class BoundCheckBpp

proof_system/src/statement/bound_check_bpp.rs:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
21#[cfg_attr(feature = "serde", serde(bound = ""))]
22pub struct BoundCheckBpp<G: AffineRepr> {
23 pub min: u64,
24 pub max: u64,
25 #[cfg_attr(feature = "serde", serde_as(as = "Option<ArkObjectBytes>"))]
26 pub params: Option<BppSetupParams<G>>,
27 pub params_ref: Option<usize>,
28}
29
30impl<G: AffineRepr> BoundCheckBpp<G> {
31 pub fn new_statement_from_params<E: Pairing<G1Affine = G>>(

Callers 5

newMethod · 0.85
checkFunction · 0.85

Calls

no outgoing calls

Tested by 1

checkFunction · 0.68