solana/zk-token-sdk/src/zk_token_elgamal
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
..
convert.rs [zk-token-sdk] reorganize errors (#29005) 2022-12-01 20:29:14 +09:00
decryption.rs fix: replace rust cfg annotations that use bpf by target_os solana 2022-05-18 20:39:43 -07:00
mod.rs Zk token sdk clean decryption (#23478) 2022-03-04 15:57:19 -04:00
ops.rs [zk-token-sdk] divide fee encryption into two ciphertexts (#28472) 2022-11-30 15:11:38 +09:00
pod.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