Skip to main content

derive_report_address

Function derive_report_address 

Source
pub fn derive_report_address<NONCE: Into<Nonce>>(
    creator: &Pubkey,
    nonce: NONCE,
) -> (Pubkey, u8)
Expand description

Derive the PDA for an rex report account

§Arguments

  • creator - The creator of the rex
  • nonce - The nonce of the rex

§Returns

A tuple containing the PDA and the bump seed