Files
khadhroony-solana-project/crates/ksp-wallet-lib/src/capability.rs
2026-08-19 09:56:01 +02:00

16 lines
440 B
Rust

// file: crates/ksp-wallet-lib/src/capability.rs
// version: 1
/// Authorized capability represented by an unlocked Wallet handle.
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum WalletCapability {
/// Metadata access plus rotation of the current VIEW password only.
View,
/// Full Wallet ownership including signing and administration.
Owner,
}
#[cfg(test)]
#[path = "../unit_tests/capability.rs"]
mod tests;