Function contract::ndpc_utils::calculate_payment
source ·
[−]pub fn calculate_payment(
product_price: U512,
shipping_price: U512,
tax_price: U512,
fee: u64
) -> PaymentDetails
Expand description
Calculates the amount of motes that need to be transfered to producer, and droplinked account