Skip to content

Commit

Permalink
[token-cli] Enable configuring confidential transfer account (#5540)
Browse files Browse the repository at this point in the history
* add `configure-confidential-transfer-account` command

* add `enable-confidential-transfers` and `disable-confidential-transfers` commands

* add `enable-non-confidential-transfers` and `disable-non-confidential-transfers` commands

* rename `confidential-transfers` to `confidential-credits` for confidential account configure commands

* clippy

* remove unnecessary realloc logic

* use match bindings to remove duplicate code

* prevent `maximum_credit_counter` from being initialized to default on invalid number

* add optional mint address argument to derive ATA

* Apply suggestions from code review

Co-authored-by: Jon Cinque <[email protected]>

* make token and address arguments consistent for confidential transfer commands

* Apply suggestions from code review

Co-authored-by: Jon Cinque <[email protected]>

---------

Co-authored-by: Jon Cinque <[email protected]>
  • Loading branch information
samkim-crypto and joncinque authored Oct 18, 2023
1 parent 5ce6eac commit acabef3
Showing 1 changed file with 541 additions and 9 deletions.
Loading

0 comments on commit acabef3

Please sign in to comment.