Function refund_storage_fee

Source
pub fn refund_storage_fee<T: Config>(
    total_storage_fee: <T as Config>::Balance,
    paid_bundle_storage_fees: BTreeMap<OperatorId, u32>,
) -> Result<(), Error>
Expand description

Refund the paid bundle storage fee of a particular domain block back to the operator, the amount to refund to a particular operator is determined by the total storage fee collected from the domain user and the percentage of bundle storage that the operator have submitted for the domain block.