Skip to main content

sol_storage_pda

Function sol_storage_pda 

Source
pub fn sol_storage_pda(
    mint: Pubkey,
    bank: Pubkey,
    escrow: Pubkey,
) -> (Pubkey, u8)
Expand description

Derive the PDA of a SOL storage account. This account holds SOL for escrows and can be used for transfers (no data, just lamports).