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 1
1
[package ]
2
2
name = " spl-elgamal-registry"
3
3
version = " 0.1.0"
4
- description = " Solana ElGamal Registry"
4
+ description = " Solana ElGamal Registry Program "
5
5
authors = [
" Solana Labs Maintainers <[email protected] >" ]
6
6
repository = " https://github.com/solana-labs/solana-program-library"
7
7
license = " Apache-2.0"
Original file line number Diff line number Diff line change 17
17
pub enum RegistryInstruction {
18
18
/// Initialize an ElGamal public key registry.
19
19
///
20
- /// 0. `[writeable , signer]` The funding account (must be a system account)
20
+ /// 0. `[writable , signer]` The funding account (must be a system account)
21
21
/// 1. `[writable]` The account to be created
22
22
/// 2. `[]` The wallet address (will also be the owner address for the
23
23
/// registry account)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pub mod state;
6
6
use solana_program:: pubkey:: Pubkey ;
7
7
8
8
/// 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";
10
10
11
11
/// Derives the ElGamal registry account address and seed for the given wallet
12
12
/// address
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ pub enum ConfidentialTransferInstruction {
487
487
/// Accounts expected by this instruction:
488
488
///
489
489
/// * Single owner/delegate
490
- /// 0. `[writeable ]` The SPL Token account.
490
+ /// 0. `[writable ]` The SPL Token account.
491
491
/// 1. `[]` The corresponding SPL Token mint.
492
492
/// 2. `[]` The ElGamal registry account.
493
493
/// 3. `[]` The account owner.
You can’t perform that action at this time.
0 commit comments