| 20 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] |
| 21 | #[cfg_attr(feature = "serde", serde(bound = ""))] |
| 22 | pub 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 | |
| 30 | impl<G: AffineRepr> BoundCheckBpp<G> { |
| 31 | pub fn new_statement_from_params<E: Pairing<G1Affine = G>>( |
no outgoing calls