Starfish Finance
  • Welcome to Starfish Finance
  • About Starfish Finance
  • Get Started
    • ๐Ÿ’ฐWallets & Networks
      • Add Tokens
      • Choose NFT as your Profile Pic
    • ๐Ÿ‘ฏJoin our Community
    • ๐Ÿช™Tokenomics
    • ๐Ÿคฉ$SEAN Utility
  • Entertainment-Fi
    • ๐Ÿ•น๏ธThe Entertainment-Fi
    • ๐Ÿ”ฎThe Prediction Market
      • How to predict the market
    • ๐Ÿช™The Coin Flip
      • How to flip a coin
  • DeFi x NFT-Fi
    • ๐ŸŒŠThe Vault
    • ๐Ÿ”ƒSwap
    • ๐Ÿ’ฐLiquidity
      • Invest Basics
      • Invest - Provide Liquidity
      • Withdraw - Remove Liquidity
      • Create Pool
    • ๐ŸŒŸDOT Liquid Staking
      • DOT XCM Transfer
      • Stake DOT
      • Unstake sDOT
      • Claim DOT & ASTR
    • โญStake
      • Pre-Staking
      • cSEAN
      • sSEAN
    • ๐Ÿง‘โ€๐ŸŒพFarm
    • ๐ŸƒNFT-Fi
      • Collateral Ratio
      • NFT as Collateral
      • Borrower
      • Lender
      • Interest Rate Model
      • Reserve Factor
      • Liquidation
      • Whitelisting NFT
      • NFT Price Feeds
      • NFT Tier Matrix
    • ๐Ÿš€Seabed Launch
      • Token Offerings
      • NFT Auction
    • ๐Ÿ›๏ธStarfishDAO
  • Concepts
    • Fees
    • Math
      • Stable Math
      • Weighted Math
  • Build
    • Contracts
Powered by GitBook
On this page
  • What is trading fee?
  • What are the fees for a trade?
  • What happens to the protocol fees?
  • How much do I pay for trade fees?
  • How do I get my share of trade fees?
  1. Concepts

Fees

What is trading fee?

Trading fee is a small percentage of the trade paid by traders to pool LPs, set by the pool creator or dynamically optimized by StarfishDAO. Additionally, StarfishDAO can vote to introduce a Protocol Trading Fee, which is a percentage of the Trading Fee. For instance, if a pool had a 1% fee, and governance introduced a 10% protocol fee - the total swap fee to the trader would remain at 1%, but now 0.9% would accrue to the pool's LPs, and 0.1% would accrue to the protocol fee collector contract.

All protocol fees are set to 50% at launch. After StarfishDAO is set up, SEAN holders can vote on protocol fees update.

What are the fees for a trade?

Starfish Pools are extremely customizable, and each pool can have a different fee. It is up to the pool creator to decide how high the fees should be, ranging from 0.0001% to 10%. When using the Smart Order Router, the fees will always be taken into account when finding the best price.

What happens to the protocol fees?

All protocol fees are kept in the ProtocolFeesCollector contract. It is up to Starfishโ€™s governance to decide whether and how these fees are used.

The Protocol Fees Collector contract is deployed at Astar:

Network
Contract Address

Shibuya

0x86E64D58281dC81c77C4b54C0771A9f66644E750

How much do I pay for trade fees?

When there is a trade in a pool, the pool collects a trade fee. The trade fee is denominated in the input token.

Example: Let's say Alice is swapping 100 USDC to SEAN in the USDC-SEAN pool with a delegated fee of 3%, the pool will keep 3 USDC (3% of USDC) and give her back an amount of SEAN worth 97 USDC.

How do I get my share of trade fees?

As the pool collects fees, your Starfish Pool Tokens (SPT) automatically collect fees because they represent your proportional share of the pool.

Let's say Alice, Bob, Charlie, and Daren all provide liquidity in the same pool starting out worth $100. After some time, it has earned many trade fees and is now worth $200. The pool itself grows while their proportional shares stay the same. They can experience the rise of value by exiting (withdrawing liquidity) to get back the underlying tokens.

Person
Proportional Share
Initial Value
Value After Trading

Alice

50%

$50

$100

Bob

30%

$30

$60

Charlie

10%

$10

$20

Daren

10%

$10

$20

PreviousStarfishDAONextMath

Last updated 2 years ago