dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
quote_mint
tokens in the bonding curve + a portion of the base_mint
tokens are migrated to form the liquidity pool of the new tokenStep 1: Create DBC Config Key
Step 2: Create DBC Token Pool
Step 3: Trade DBC Token Pool
Step 4: Migrate to DAMM Pool
quote_mint
tokens (pool_state::quote_reserve >= pool_config::migration_quote_threshold
), our migrator keeper will automatically migrate the DBC pool to a DAMM Pool.
migration_quote_threshold
and a portion of the base_mint
tokens will form the liquidity pool of the DAMM Pool.Step 5: Trade on graduated DAMM v1/v2 Pool
migration_fee_option == 0:
8f848CEy8eY6PhJ3VcemtBDzPPSD4Vq7aJczLZ3o8MmXmigration_fee_option == 1:
HBxB8Lf14Yj8pqeJ8C4qDb5ryHL7xwpuykz31BLNYr7Smigration_fee_option == 2:
7v5vBdUQHTNeqk1HnduiXcgbvCyVEZ612HLmYkQoAkikmigration_fee_option == 3:
EkvP7d5yKxovj884d2DwmBQbrHUWRLGK6bympzrkXGjamigration_fee_option == 4:
9EZYAJrcqNWNQzP2trzZesP7XKMHA1jEomHzbRsdX8R2migration_fee_option == 5:
8cdKo87jZU2R12KY1BUjjRPwyjgdNjLGqSGQyrDshhudmigration_fee_option == 0:
7F6dnUcRuyM2TwR8myT1dYypFXpPSxqwKNSFNkxyNESdmigration_fee_option == 1:
2nHK1kju6XjphBLbNxpM5XRGFj7p9U8vvNzyZiha1z6kmigration_fee_option == 2:
Hv8Lmzmnju6m7kcokVKvwqz7QPmdX9XfKjJsXz8RXcjpmigration_fee_option == 3:
2c4cYd4reUYVRAB9kUUkrq55VPyy2FNQ3FDL4o12JXmqmigration_fee_option == 4:
AkmQWebAwFvWk55wBoCr5D62C6VVDTzi84NJuD9H7cFDmigration_fee_option == 5:
DbCRBj8McvPYHJG1ukj8RE15h2dCNUdTAESG49XpQ44upool_config.migration_quote_threshold
requirements:
pool_config.migration_quote_threshold
requirements:
quote_mint
token)object
(includes base_fee
and optional dynamic_fee
)base_fee
or just a fixed fee.0 | 1
number
0
.0 | 1
0 | 1
number
(6-9)number
number
number
number
number
address
address
address
object
number
number
leftover_receiver
(configured in config key).number
0 | 1
number
number
array
of (square price, liquidity)