Macro levana_perpswap_cosmos::perp_ensure
source · macro_rules! perp_ensure { ($val:expr, $id:expr, $domain:expr, $($t:tt)*) => { ... }; }
Expand description
Ensure a condition is true, otherwise returns from the function with an error.