pub fn calculate_cost<T: Config>(
owner: &NamespaceOwnership<T>,
missing_paths: &[NamespacePath],
) -> Result<(<<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance), DispatchError>
Expand description
Calculates the total cost for registering, (Fee, Deposit)