Module psyoptions::fees[][src]

Modules

fee_owner_key

The fee_owner_key will own all of the associated accounts where token fees are paid to. In the future this should be a program derived address owned by a fully decntralized fee sweeping program.

Constants

NFT_MINT_LAMPORTS

Markets with an NFT or not enough underlying assets per contract to warrent a 3bps fee will be charged 1/2 a SOL to MINT. This is arbitrarily made up and subject to change based on feedback and eventually governance.

Functions

check_or_create_fee_account

Given an SPL Token Mint key and associated fee account (the fee account the instruction passed in) validate that the fee_account is correct for the fee mint. If the account is not initialized then call the create instruction.

fee_amount

Calculates the fee for Minting and Exercising.

transfer_fee