defuse/tokens/imt.rs
1use defuse_core::tokens::imt::ImtTokens;
2use near_sdk::{AccountId, ext_contract};
3
4#[ext_contract(ext_imt_burn)]
5pub trait ImtBurner {
6 /// Burn a set of imt tokens, within the intents contract
7 ///
8 /// NOTE: MUST attach 1 yⓃ for security purposes.
9 fn imt_burn(&mut self, minter_id: AccountId, tokens: ImtTokens, memo: Option<String>);
10}