fetch_proxy_data

Macro fetch_proxy_data 

Source
macro_rules! fetch_proxy_data {
    ( $data:expr, $signer:ident, $authority:ident ) => { ... };
    ( $data:expr, $signer:ident, $authority:ident, $program:ident, $remaining:expr ) => { ... };
}
Expand description

Fetches the data for a proxy asset.

This macro is used to fetch the data from the proxy extension of an asset.

ยงArguments

  1. data - expression representing the account data.
  2. signer - identifier to store the signer seeds.
  3. authority - identifier to store the authority pubkey.
  4. program - (optional) identifier to store the program pubkey.
  5. remaining - (optional) expression representing the remaining accounts array.