Where the fee goes when your rung fills, how you collect it, and how the platform key can collect it for you.
The split
The pool's fee on a swap step is shared between LP liquidity and orders by what each filled. The orders' part is split 50% to Meteora and 50% to the makers on that tick. The maker share is paid in the order's output token when the tick is canceled.
The referral share
Every order placed through the site names the platform key as its referral. At cancel, 20% of the order's maker share goes to the referral when the canceller passes the referral's token account and the referral is not the owner; otherwise the owner keeps it all. The site always passes it, so you keep 80% of the maker share, 40% of the fee. If you cancel from another interface without that account, you keep the full maker share. That income buys and burns $DLMM (see Fees and the burn).
Auto-collect
- From My orders, turn on auto-collect. You sign
update_limit_order_delegate_permissionwith the CancelLimitOrder permission, an approval of amount 0 on the order NFT. - The keeper reads the ticks of orders that name it and cancels the ones that filled.
- The program pays only your associated token accounts. A delegate cannot send proceeds anywhere else.
- When the ladder is done, close the order yourself to get the rent back.
Turn it off at any time by setting the permission back to zero.