Skip to main content

compute_token_purchase_from_shielded_pool_fee

Function compute_token_purchase_from_shielded_pool_fee 

Source
pub fn compute_token_purchase_from_shielded_pool_fee(
    token_actions: usize,
    fee_actions: usize,
    platform_version: &PlatformVersion,
) -> Result<Credits, ProtocolError>
Expand description

The fee of a TokenPurchaseFromShieldedPool: both bundles plus the contract owner’s credit balance write and the token supply item.