Function chain_impl_mockchain::rewards::tax_cut
source · pub fn tax_cut(
v: Value,
tax_type: &TaxType
) -> Result<TaxDistribution, ValueError>
Expand description
Tax some value into the tax value and what is remaining
pub fn tax_cut(
v: Value,
tax_type: &TaxType
) -> Result<TaxDistribution, ValueError>
Tax some value into the tax value and what is remaining