macro_rules! burn {
($asset_id:expr, $amount:expr) => { ... };
}Expand description
Burn the asset
ยงUsage
use we_cdk::*;
#[action]
fn _constructor() {
let asset_id: Binary = base58!("DnK5Xfi2wXUJx9BjK9X6ZpFdTLdq2GtWH9pWrcxcmrhB");
let amount: Integer = 100;
burn!(asset_id, amount);
}