solana/zk-token-sdk
samkim-crypto f9b0691eb4
[zk-token-sdk] rename and restructure `CloseAccount` and `WithdrawWithheld` proof instructions (#31608)
* rename and restruct ProofInstruction::VerifyCloseAccount to ProofInstruction::VerifyZeroBalance

* rename `PubkeySigmaProof` to `PubkeyValidityProof`

* refactor equality proofs into separate modules

* rename and restructure ProofInstruction::VerifyWithdrawWithheld to ProofInstruction::VerifyCiphertextCiphertextEquality

* add and reorg documentation for the proof instructions

* generalize ciphertext-ciphertext equality proof data constructor

* Update zk-token-sdk/src/instruction/ctxt_ctxt_equality.rs

Co-authored-by: Jon Cinque <joncinque@pm.me>

---------

Co-authored-by: Jon Cinque <joncinque@pm.me>
2023-05-18 08:43:00 +09:00
..
src [zk-token-sdk] rename and restructure `CloseAccount` and `WithdrawWithheld` proof instructions (#31608) 2023-05-18 08:43:00 +09:00
.gitignore Don't accidentally commit farf (#22349) 2022-01-06 17:24:33 -07:00
Cargo.toml Remove unused dependency (#30881) 2023-03-24 02:34:10 +00:00