Function psyoptions::fees::fee_amount [−][src]
pub fn fee_amount(asset_quantity: u64) -> u64
Expand description
Calculates the fee for Minting and Exercising.
NOTE: SPL Tokens have an arbitrary amount of decimals. So an option market
for an NFT will have underlying_amount_per_contract
and should return a
mint fee of 0. This is something to keep in mind.