| 69 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] |
| 70 | #[cfg_attr(feature = "serde", serde(bound = ""))] |
| 71 | pub 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 | |
| 79 | impl<E: Pairing> BoundCheckSmc<E> { |
| 80 | pub fn new_statement_from_params( |
no outgoing calls