macro_rules! hopper_check {
($account:expr, $( $constraint:tt )+) => { ... };
}Expand description
Composable account constraint checking.
ⓘ
hopper_check!(vault,
owner = program_id,
writable,
signer,
disc = Vault::DISC,
size >= Vault::LEN,
);