Pool and Fee Config for Memecoin Pools
This section is under construction. More details will be added soon.
Current Fee System for Memecoin Pools
Dynamic Fee: For Memecoin Pools, Dynamic Fee is the % fee charged per swap. This fee is dynamic and set by the protocol, based on memecoin creator requests or market conditions.
Protocol Fee: Protocol Fee represents the amount of fees charged per swap that goes to the protocol or integrations that drive volume to the pool. Protocol Fee is a % of the Dynamic Fee.
The default global Fee Config for Memecoin Pools is currently (may change over time):
15% - when pool trading starts
10% - 35 min after pool trading starts (35 min after 15% starts)
7% - 95 min after pool trading starts (60 min after 10% starts)
5% - 215 min after pool trading starts (120 min after 7% starts)
2% - 335 min after pool trading starts (120 min after 5% starts)
1% - 455 min after pool trading starts (120 min after 2% starts)
0.5% - 24 hours after pool trading starts (985 min after 1% starts)
Note: Only the Meteora team is able to change the Dynamic Fee and Protocol Fee; projects have no backend access.
How to choose a suitable Pool Config from the list?
What fee parameters to choose depends on your project's needs. You will need to look at the pool config list and choose a suitable pool_config_key
with your preferred fee parameters.
If you want to create an Alpha Vault along with your new pool, you also need to find a pool_config_key
that is mapped to a vault_config_key
that meets your requirements.
Pool Config List
Pool config list: https://amm-v2.meteora.ag/swagger-ui/#/pools/get_all_pool_configs
If there is no existing config in the list that fits your project's requirement, a new config needs to be created.
Only the Meteora team can create a new config to add it to the preset pool config list.
Devnet API: https://devnet-amm-v2.meteora.ag/pool-configs You can also get the list of config keys from devnet API
Pool Config used by Meteora
By default, Meteora's frontend is currently using this pool config key for Memecoin Pool creation:
FiENCCbPi3rFh5pW2AJ59HC53yM32eLaCjMKxRqanKFJ
For the
FiENCCbPi3rFh5pW2AJ59HC53yM32eLaCjMKxRqanKFJ
pool config, it doesn't allow creation of any Alpha Vault, therefore it's fieldvault_config_key
is1111111...
Launchpads/Integrators may use their own custom pool config key, because they would want
custom
pool_creator_authority, to prevent front-running of the token launch pool.
What does each field in the Fee Config mean?
config_address = the pool config key
trade_fee_bps = pool trading fee
protocol_fee_bps = protocol fee charged from pool trading fee
activation_duration = used to determine when exactly the pool will start trading.
start trade time = current_time + activation_duration Or current_slot + activation_duration, depends on the activation_type
vault_config_key = alpha vault config key. If it is
11111111111111111111111111111111
, means no alpha vault. If not, the pool can create an alpha vault. Note: This is NOT the same as the vault address.pool_creator_authority = address which can use the pool config key to create a pool. If it is
11111111111111111111111111111111
, it's public and available for everyone to useactivation_type = pool activation type. 0 = slot, 1 = time
Pool Config Example
Sample fields:
{ "config_address": "FiENCCbPi3rFh5pW2AJ59HC53yM32eLaCjMKxRqanKFJ", "trade_fee_bps": 1500, "protocol_fee_bps": 2000, "activation_duration": 0, "vault_config_key": "11111111111111111111111111111111", "pool_creator_authority": "11111111111111111111111111111111", "activation_type": 0 },
User Flow Example
A pool config may or may not have an associated vault config. There's no vault config associated when the vault_config_key
is 11111111111111111111111111111111
When the pool config has a vault config, user can create the pool + Alpha Vault that is binded (auto-whitelisted) by the pool. The Alpha Vault created will inherit the parameters (Pro Rata / FCFS + buying_cap, vesting duration, etc.) from the vault config.
Let's say a user wants to create the pool ABC/SOL with an Alpha Vault, the user will need to:
Check for pool config that have
vault_config_key
not =1111...
, andpool_creator_authority
is the user or1111...
(accessible by the public)Based on the vault requirement the user wants, the user will need to:
a) Check all the pool configs from step 1, which are each mapped to a
vault_config_key
, as well asb) Check for vault config and look for one that fits the requirement
If the user finds a requirement that suits their needs, they can use that
pool_config_key
to create the pool, then use the pool config-mappedvault_config_key
to create the vault. As long asvault_config_key
is used, the vault is automatically whitelisted upon pool creation.
All the settings are already predefined by pool_config
+ its mapped vault_config_key
The permutations for pool config + Alpha vault are created by the Meteora team.
Pool Config Example
Alpha Vault Config Example
In this example above, only the pool_creator_authority
(5unTfT2kssBuNvHPY6LbJfJpLqEcdMxGYLWHwShaeTLi)
can use the pool config 8aPHoLN8ke6PhWeYA7ELi19fppptVYUCQvqKWR5yP1sn
to create a pool with the below settings:
1.5 %fee
20% protocol fee
pool start trade after 1512000 slot upon creation
slot based activation
and can create a binded Alpha Vault with FCFS config as shown below:
max deposit cap = 10 token
vested over 24106 slot after pool activate
deposit opens at 24107 slot before vault crank
every escrow maximum can only deposit 1 token
Full Pool and Vault Config List
Pool config list: https://amm-v2.meteora.ag/swagger-ui/#/pools/get_all_pool_configs
Vault config list: https://amm-v2.meteora.ag/swagger-ui/#/alpha_vault_config/get_all
If your preferred configs are not available in the pre-defined config lists above, please contact the Meteora team.
Last updated