Protocol Configuration
Version 1: Community Token Configurations
- Protocol Fee - 1% for under 100K MC and 0.25% for over or equal to 100K MC
- Creator Fee - 0.1% for any MC
- Every pool is seeded with 1 Billion tokens and virtual 35 SOL
- USD volume threshold for creator fee claim - $0
- Migration Market Cap Threshold - 100K
Version 2: Creator Token Configurations
- Protocol Fee - 1% for under 100K MC and 0.5% for over or equal to 100K MC
- Creator Fee - 1% for any MC
- Every pool is seeded with 1 Billion tokens and virtual 35 SOL
- USD volume threshold for creator fee verification/claim - 100K
- Migration Market Cap Threshold - 100K
Pool State
You can decode the pool state using the IDL or the SDK. The pool state contains all the information about the pool, including the tokens, reserves, fees, and other parameters.state.rs
Key Information
- Fees
protocol_trading_fees
: Total Protocol Fee collected.creator_trading_fees
: Total Creator Fee collected.creator_trading_fees_claimed_by_creator
: Total Creator Fee claimed by the creator.creator_trading_fees_claimed_by_others
: Total Creator Fee claimed by others.liquidity_provider_trading_fees
: Total liquidity provider trading fees collected.creator_trading_fee_protocol_fees
: Total Creator-Protocol Fee collected.reflection_trading_fees
: Total Reflection Fee collected.
- Creator Fee Claim Status
creator_trading_fee_claim_status
: Indicates if the creator fee verification is pending or completed.0
: Unclaimed - The default state when the pool is created.1
: Submitted - The creator has submitted an application for verification.2
: Processed - The application has been processed.
- Trading Volume
trading_volume_usd
: The current trading volume (buy/sell) in USD.creator_trading_fee_trading_volume_threshold
: The threshold for Creator Fee claim.creator_trading_fee_trading_volume_threshold_reached_unix_timestamp
: Timestamp when the threshold was reached.
- Creator Fee Distribution
creator_trading_fee_distribution
: Indicates how the Creator Fee is to be distributed.0
: Community - By default, the fee is distributed to the community as additional reflections.1
: Creator - A creator can submit verification to claim the fee. Once approved,creator_trading_fee_distribution
is set to1
.2
: Blocked - Cannot be claimed by creator.3
: Shared - The fee is split between the creator and the flywheel.
- Migration
- You can use the
is_migrated
field to check if the pool has surpassed the market cap threshold (e.g. $100k)0
: Not migrated1
: Migrated
- You can use the