macro_rules! derive_ata_const {
($wallet:expr, $mint:expr, $bump:expr) => { ... };
}Expand description
Derive an ATA address at compile time. Requires known bump.
ⓘ
const MY_ATA: Address = derive_ata_const!(
WALLET_BYTES,
MINT_BYTES,
BUMP,
);