Struct wasm_utils::proof::AnchorProofInput
source · [−]pub struct AnchorProofInput {Show 16 fields
pub exponentiation: i8,
pub width: usize,
pub curve: Curve,
pub backend: Backend,
pub secrets: Vec<u8>,
pub nullifier: Vec<u8>,
pub recipient: Vec<u8>,
pub relayer: Vec<u8>,
pub pk: Vec<u8>,
pub refund: u128,
pub fee: u128,
pub chain_id: u128,
pub leaves: Vec<Vec<u8>>,
pub leaf_index: u64,
pub roots: Vec<Vec<u8>>,
pub commitment: [u8; 32],
}Fields
exponentiation: i8width: usizecurve: Curvebackend: Backendsecrets: Vec<u8>nullifier: Vec<u8>recipient: Vec<u8>relayer: Vec<u8>pk: Vec<u8>refund: u128fee: u128chain_id: u128leaves: Vec<Vec<u8>>leaf_index: u64roots: Vec<Vec<u8>>get roots for linkable tree
commitment: [u8; 32]EMPTY commitment if withdrawing [0u8;32] not EMPTY if refreshing
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for AnchorProofInput
impl Send for AnchorProofInput
impl Sync for AnchorProofInput
impl Unpin for AnchorProofInput
impl UnwindSafe for AnchorProofInput
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more