Skip to main content

process

Function process 

Source
pub fn process(
    program_id: &Pubkey,
    accounts: &[AccountInfo],
    data: &[u8],
) -> ProgramResult
Expand description

Refund escrow after timeout

Accounts: 0. [signer, writable] Payer - original escrow creator (receives refund)

  1. [writable] Escrow state account (PDA)
  2. [writable] Escrow vault account (PDA)
  3. [] System program

Data:

  • mail_id_low: u64 (8 bytes)
  • mail_id_high: u64 (8 bytes)