Trading Fee
Introduction
Pilgrim Protocol charges the user a trading fee on:
trading rounds on a
PilgrimPair
poolon a buyout event of the metaNFT or NFT
on delisting, i.e. reclaiming ownership of the locked NFT
This section describes how trading fees are quantitatively calculated on Pilgrim, and detailed fee distribution logic.
TL;DR:
Pilgrim Protocol charges two types of fees on every round trade: a base fee and a round fee.
The base fee is taken in the form of base tokens, and is used to buy back PIL for distribution to xPIL stakers. Additional PIL rewards are given to round traders as well.
The round fee is taken in the form of rounds, and is sent to the metaNFT owner. This is given in addition to fee subsidizations from the Protocol Treasury, denominated in PIL tokens.
An NFT fee is also charged when NFTs or metaNFTs are traded. This is used to buy back PIL for distribution to xPIL stakers.
Pilgrim is a decentralized protocol; no centralized party takes fees accumulated from the protocol directly.
Fee Calculation Methodology
Definition
Base Fee Ratio:
Round Fee Ratio:
NFT Fee Ratio:
Base Fee Function: : A function which calculates how much base tokens are charged as fees.
Round Fee Function: : A function which calculates how much base tokens are charged as fees. Note that the result is also a multiple of .
NFT Fee Function: : A function which calculates how much base tokens are charged as fees when metaNFTs or NFTs are traded.
Buying Rounds: Exchanging Base Tokens to Rounds
When a user pays base tokens, they receive rounds.
The protocol receives base tokens -- e.g. PIL, WETH, USDC, etc.
base tokens are taken from provided base tokens. The resulting number of base tokens is .
Apply Pilgrim AMM logic: rounds are minted.
rounds are removed from initially minted rounds. The resulting number of rounds returned is
Selling Rounds: Exchanging Rounds to Base Tokens
When a user pays rounds, they receive base tokens.
The protocol receives rounds.
rounds are taken from provided rounds. The resulting number of rounds is .
Apply Pilgrim AMM logic: base tokens are withdrawn from the protocol.
base tokens are removed from withdrawn liquidity. The resulting number of base tokens returned is .
Trading NFTs, metaNFTs, or delisting NFTs
When a user pays base tokens, metaNFT holders and round holders receive base tokens in total.
The protocol receives base tokens.
base tokens are taken from provided base tokens. The resulting number of base tokens is .
Last updated