solana/zk-token-sdk/src
samkim-crypto 2d58bb287d
[zk-token-sdk] Add option to create proof context state in the proof verification program (#29996)
* extend verifiable trait

* add PodBool

* implement ZkProofData trait

* add proof context program to zk-token-proof program

* update tests  for close account

* add close account instruction

* reorganize tests

* complete tests

* clean up and add docs

* clean up pod

* add proof program state

* update tests

* move proof program tests as separate module

* clippy

* cargo sort

* cargo fmt

* re-organize visibility

* add context state description

* update maintainer reference

* change `VerifyProofData` and `ProofContextState` to pod

* add tests for mixing proof types

* add tests for self owned context state accounts

* cargo fmt

* remove unnecessary scoping and add comments on scopes

* re-organize proof instructions

* clippy

* update zk-token-proof-test to 1.16.0

* upgrade spl-token-2022 to 0.6.1

* reoganize proof type

* cargo lock

* remove ZkProofContext trait
2023-03-16 07:35:20 +09:00
..
curve25519 [zk-token-sdk] use canonical decoding for scalars (#28870) 2022-11-18 15:11:06 +09:00
encryption ledger: Remove `clippy::wrong_self_convention` (#29916) 2023-01-26 15:12:35 -08:00
instruction [zk-token-sdk] Add option to create proof context state in the proof verification program (#29996) 2023-03-16 07:35:20 +09:00
range_proof fixes errors from clippy::redundant_clone (#29536) 2023-01-05 18:42:19 +00:00
sigma_proofs [zk-token-sdk] reorganize errors (#29005) 2022-12-01 20:29:14 +09:00
zk_token_elgamal [zk-token-sdk] Add option to create proof context state in the proof verification program (#29996) 2023-03-16 07:35:20 +09:00
errors.rs [zk-token-sdk] reorganize errors (#29005) 2022-12-01 20:29:14 +09:00
lib.rs [zk-token-sdk] Add option to create proof context state in the proof verification program (#29996) 2023-03-16 07:35:20 +09:00
macros.rs [zk-token-sdk] reorganize errors (#29005) 2022-12-01 20:29:14 +09:00
transcript.rs [zk-token-sdk] add pubkey proof (#28392) 2022-10-14 20:15:20 +09:00
zk_token_proof_instruction.rs [zk-token-sdk] Add option to create proof context state in the proof verification program (#29996) 2023-03-16 07:35:20 +09:00
zk_token_proof_program.rs
zk_token_proof_state.rs [zk-token-sdk] Add option to create proof context state in the proof verification program (#29996) 2023-03-16 07:35:20 +09:00