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

Class BoundCheckSmc

proof_system/src/statement/bound_check_smc.rs:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
70#[cfg_attr(feature = "serde", serde(bound = ""))]
71pub struct BoundCheckSmc<E: Pairing> {
72 pub min: u64,
73 pub max: u64,
74 #[cfg_attr(feature = "serde", serde_as(as = "Option<ArkObjectBytes>"))]
75 pub params_and_comm_key: Option<SmcParamsAndCommitmentKey<E>>,
76 pub params_and_comm_key_ref: Option<usize>,
77}
78
79impl<E: Pairing> BoundCheckSmc<E> {
80 pub fn new_statement_from_params(

Callers 5

newMethod · 0.85
checkFunction · 0.85

Calls

no outgoing calls

Tested by 1

checkFunction · 0.68