Skip to main content

charge

Function charge 

Source
pub fn charge(
    ctx: impl AsContextMut<Data = StoreData>,
    rate: Rate,
    n: u64,
) -> Result<()>
Expand description

Charges n units of work at rate, before the work.