💵Fee Structure

There are 3 fee's that are charged for a position, they are itemized in the table below. All the fee configs can be viewed on a vault's associated protoConfig account.

ValueTypeDescription

tokenADripTriggerSpread

Fee in Basis Points.

This spread is applied on every drip for a vault. This can be thought of as a spread on the users source token (token A) whenever a swap is done. This fee is sent to the user that initiates the swap (can be anyone).

tokenBWithdrawalSpread

Fee in Basis Points.

This spread is applied on the accrued destination asset for a position (token b) and is sent to the vault treasuryTokenBAccount.

tokenBReferralSpread

Fee in Basis Points.

This spread is applied on the accrued destination asset for a position (token b) and is sent to the referrer that was specified during the deposit instruction. See Deposit for details on how to specify the referrer programatically.

If a user deposits, creates a position and closes their position before any drips have occurred, not fees are taken and all of their source tokens (token A) are returned.

Last updated