Skip to main content

Module state

Module state 

Source

Structs§

Bank
Config
Escrow
Payment

Enums§

EscrowAccount

Functions§

bank_pda
Derive the PDA of the bank account.
config_pda
Derive the PDA of the config account.
escrow_pda
Derive the PDA of an escrow account.
payment_pda
Derive the PDA of a payment account.
sol_storage_pda
Derive the PDA of a SOL storage account. This account holds SOL for escrows and can be used for transfers (no data, just lamports).