Trait mangata_support::traits::FeeLockTriggerTrait
source · pub trait FeeLockTriggerTrait<AccountId, Balance, CurrencyId> {
// Required methods
fn process_fee_lock(who: &AccountId) -> DispatchResult;
fn can_unlock_fee(who: &AccountId) -> DispatchResult;
fn is_whitelisted(token_id: CurrencyId) -> bool;
fn get_swap_valuation_for_token(
valuating_token_id: CurrencyId,
valuating_token_amount: Balance
) -> Option<Balance>;
fn unlock_fee(who: &AccountId) -> DispatchResult;
}