This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
confidential-transfer/elgamal-registry
program-2022/src/extension/confidential_transfer Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " spl-elgamal-registry"
33version = " 0.1.0"
4- description = " Solana ElGamal Registry"
4+ description = " Solana ElGamal Registry Program "
55authors = [
" Solana Labs Maintainers <[email protected] >" ]
66repository = " https://github.com/solana-labs/solana-program-library"
77license = " Apache-2.0"
Original file line number Diff line number Diff line change 1717pub enum RegistryInstruction {
1818 /// Initialize an ElGamal public key registry.
1919 ///
20- /// 0. `[writeable , signer]` The funding account (must be a system account)
20+ /// 0. `[writable , signer]` The funding account (must be a system account)
2121 /// 1. `[writable]` The account to be created
2222 /// 2. `[]` The wallet address (will also be the owner address for the
2323 /// registry account)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pub mod state;
66use solana_program:: pubkey:: Pubkey ;
77
88/// Seed for the ElGamal registry program-derived address
9- pub const REGISTRY_ADDRESS_SEED : & [ u8 ] = "elgamal-registry" . as_bytes ( ) ;
9+ pub const REGISTRY_ADDRESS_SEED : & [ u8 ] = b "elgamal-registry";
1010
1111/// Derives the ElGamal registry account address and seed for the given wallet
1212/// address
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ pub enum ConfidentialTransferInstruction {
487487 /// Accounts expected by this instruction:
488488 ///
489489 /// * Single owner/delegate
490- /// 0. `[writeable ]` The SPL Token account.
490+ /// 0. `[writable ]` The SPL Token account.
491491 /// 1. `[]` The corresponding SPL Token mint.
492492 /// 2. `[]` The ElGamal registry account.
493493 /// 3. `[]` The account owner.
You can’t perform that action at this time.
0 commit comments