Account
Account information for user registration in the privacy system.This structure contains the public information needed to identify and communicate with users in the privacy-preserving system. # Registration Process - Users register their public key with the contract - The public key is used for encrypted communication - Only the owner can register their own account
Fully qualified path: obscura::structs::Account
#[derive(Debug, Drop, PartialEq, Serde)]
pub struct Account {
pub owner: ContractAddress,
pub public_key: ByteArray,
}
Members
owner
The owner's contract address that controls this account. Must match the caller's address during registration.
Fully qualified path: obscura::structs::Account::owner
pub owner: ContractAddress
public_key
The public key used for encrypted communication and transaction verification. Used to encrypt transaction outputs and verify transaction signatures.
Fully qualified path: obscura::structs::Account::public_key
pub public_key: ByteArray