fn is_operation_allowed(pool_id: CurrencyId, operation: Operation) -> bool {
		match operation {
			Operation::Deposit => !Self::pause_keepers(pool_id).deposit_paused,
			Operation::Redeem => !Self::pause_keepers(pool_id).redeem_paused,
			Operation::Borrow => !Self::pause_keepers(pool_id).borrow_paused,
			Operation::Repay => !Self::pause_keepers(pool_id).repay_paused,
			Operation::Transfer => !Self::pause_keepers(pool_id).transfer_paused,
		}
	}
/// Checks if a specific operation is allowed on a pool.
///
/// Return true - if operation is allowed, false - if operation is unallowed.
Checks if a specific operation is allowed on a pool.
Return true - if operation is allowed, false - if operation is unallowed.
Checks if a specific operation is allowed on a pool . Return true - if operation is allowed false - if operation is unallowed .
fn is_operation_allowed(pool_id: CurrencyId, operation: Operation) -> bool {
		match operation {
			Operation::Deposit => !Self::pause_keepers(pool_id).deposit_paused,
			Operation::Redeem => !Self::pause_keepers(pool_id).redeem_paused,
			Operation::Borrow => !Self::pause_keepers(pool_id).borrow_paused,
			Operation::Repay => !Self::pause_keepers(pool_id).repay_paused,
			Operation::Transfer => !Self::pause_keepers(pool_id).transfer_paused,
		}
	}
fn is_operation_allowed ( pool_id : CurrencyId , operation : Operation ) -> bool { match operation { Operation :: Deposit => ! Self :: pause_keepers ( pool_id ) . deposit_paused , Operation :: Redeem => ! Self :: pause_keepers ( pool_id ) . redeem_paused , Operation :: Borrow => ! Self :: pause_keepers ( pool_id ) . borrow_paused , Operation :: Repay => ! Self :: pause_keepers ( pool_id ) . repay_paused , Operation :: Transfer => ! Self :: pause_keepers ( pool_id ) . transfer_paused , } }
Checks if a specific operation is allowed on a pool.
Checks if a specific operation is allowed on a pool .
pool_id
CurrencyId
operation
Operation
pool_id
CurrencyId
operation
Operation