Skip to content

Commit

Permalink
fix javadoc warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Aug 29, 2024
1 parent 99fcdfa commit ebca3e4
Show file tree
Hide file tree
Showing 8 changed files with 1,314 additions and 1,315 deletions.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencyResolutionManagement {
}
versionCatalogs {
libs {
from("software.sava:solana-version-catalog:0.0.4")
from("software.sava:solana-version-catalog:0.0.8")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,61 @@ public final class AddressLookupTableProgram {

private enum Instructions implements Discriminator {

/// Create an address lookup table
///
/// # Account references
/// 0. `[WRITE]` Uninitialized address lookup table account
/// 1. `[SIGNER]` Account used to derive and control the new address lookup table.
/// 2. `[SIGNER, WRITE]` Account that will fund the new address lookup table.
/// 3. `[]` System program for CPI.
// Create an address lookup table
//
// # Account references
// 0. '[WRITE]' Uninitialized address lookup table account
// 1. '[SIGNER]' Account used to derive and control the new address lookup table.
// 2. '[SIGNER, WRITE]' Account that will fund the new address lookup table.
// 3. '[]' System program for CPI.
CreateLookupTable {
/// A recent slot must be used in the derivation path
/// for each initialized table. When closing table accounts,
/// the initialization slot must no longer be "recent" to prevent
/// address tables from being recreated with reordered or
/// otherwise malicious addresses.
// A recent slot must be used in the derivation path
// for each initialized table. When closing table accounts,
// the initialization slot must no longer be "recent" to prevent
// address tables from being recreated with reordered or
// otherwise malicious addresses.
// recent_slot: Slot,
// /// Address tables are always initialized at program-derived
// /// addresses using the funding address, recent blockhash, and
// /// the user-passed `bump_seed`.
// // Address tables are always initialized at program-derived
// // addresses using the funding address, recent blockhash, and
// // the user-passed 'bump_seed'.
// bump_seed: u8,
},

/// Permanently freeze an address lookup table, making it immutable.
///
/// # Account references
/// 0. `[WRITE]` Address lookup table account to freeze
/// 1. `[SIGNER]` Current authority
// Permanently freeze an address lookup table, making it immutable.
//
// # Account references
// 0. '[WRITE]' Address lookup table account to freeze
// 1. '[SIGNER]' Current authority
FreezeLookupTable,

/// Extend an address lookup table with new addresses. Funding account and
/// system program account references are only required if the lookup table
/// account requires additional lamports to cover the rent-exempt balance
/// after being extended.
///
/// # Account references
/// 0. `[WRITE]` Address lookup table account to extend
/// 1. `[SIGNER]` Current authority
/// 2. `[SIGNER, WRITE, OPTIONAL]` Account that will fund the table reallocation
/// 3. `[OPTIONAL]` System program for CPI.
// Extend an address lookup table with new addresses. Funding account and
// system program account references are only required if the lookup table
// account requires additional lamports to cover the rent-exempt balance
// after being extended.
//
// # Account references
// 0. '[WRITE]' Address lookup table account to extend
// 1. '[SIGNER]' Current authority
// 2. '[SIGNER, WRITE, OPTIONAL]' Account that will fund the table reallocation
// 3. '[OPTIONAL]' System program for CPI.
ExtendLookupTable {
// new_addresses: Vec<Pubkey>
},

/// Deactivate an address lookup table, making it unusable and
/// eligible for closure after a short period of time.
///
/// # Account references
/// 0. `[WRITE]` Address lookup table account to deactivate
/// 1. `[SIGNER]` Current authority
// Deactivate an address lookup table, making it unusable and
// eligible for closure after a short period of time.
//
// # Account references
// 0. '[WRITE]' Address lookup table account to deactivate
// 1. '[SIGNER]' Current authority
DeactivateLookupTable,

/// Close an address lookup table account
///
/// # Account references
/// 0. `[WRITE]` Address lookup table account to close
/// 1. `[SIGNER]` Current authority
/// 2. `[WRITE]` Recipient of closed account lamports
// Close an address lookup table account
//
// # Account references
// 0. '[WRITE]' Address lookup table account to close
// 1. '[SIGNER]' Current authority
// 2. '[WRITE]' Recipient of closed account lamports
CloseLookupTable;

private final byte[] data;
Expand Down
Loading

0 comments on commit ebca3e4

Please sign in to comment.