Migrators
XPump
The Blast.fun migrator creates a new pool on Bluefin and adds liquidity. The liquidity position is saved and can later be used by the Admin or developer to claim fees based on the configuration.
public fun migrate_to_new_pool_v3<Meme, Quote, CoinTypeFee>(
config: &mut XPumpConfig,
bluefin_config: &mut GlobalConfig,
clock: &Clock,
ipx_treasury: &IPXTreasuryStandard,
meme_metadata: &CoinMetadata<Meme>,
quote_metadata: &CoinMetadata<Quote>,
migrator: MemezMigrator<Meme, Quote>,
fee: Coin<CoinTypeFee>,
ctx: &mut TxContext,
): Coin<Quote>
The Bluefin pool is initiated with the following parameters:
Tick Spacing: 200.
Initialized Price: Dynamically calculated based on the quote and meme coin balances to be added.
Tick Lower Index: 4294523696
Tick Upper Index: 443600
This is to ensure full range liquidity
Last updated
Was this helpful?