pub struct MintProofContext {
pub mint_amount_ciphertext_lo: PodMintAmountCiphertext,
pub mint_amount_ciphertext_hi: PodMintAmountCiphertext,
pub mint_pubkeys: MintPubkeys,
pub new_supply_ciphertext: PodElGamalCiphertext,
}Expand description
The proof context information needed to process a confidential mint instruction
Fields§
§mint_amount_ciphertext_lo: PodMintAmountCiphertext§mint_amount_ciphertext_hi: PodMintAmountCiphertext§mint_pubkeys: MintPubkeys§new_supply_ciphertext: PodElGamalCiphertextImplementations§
Source§impl MintProofContext
impl MintProofContext
pub fn verify_and_extract( equality_proof_context: &CiphertextCommitmentEqualityProofContext, ciphertext_validity_proof_context: &BatchedGroupedCiphertext3HandlesValidityProofContext, range_proof_context: &BatchedRangeProofContext, ) -> Result<Self, TokenProofExtractionError>
Auto Trait Implementations§
impl Freeze for MintProofContext
impl RefUnwindSafe for MintProofContext
impl Send for MintProofContext
impl Sync for MintProofContext
impl Unpin for MintProofContext
impl UnsafeUnpin for MintProofContext
impl UnwindSafe for MintProofContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more