TRENDDocs
Programs

Events

The fields of the events an indexer reads, generated from the IDL.

What is live today

TREND runs on its own dev validator. The mainnet programs are not deployed: their ids are reserved and no launch exists there. Statement as of 2026-10-10.

Every table below is generated from the IDL the programs are built with when this site is built. Field names are the IDL's camel case. Types are Anchor types: u64 is a 64-bit unsigned integer, pubkey a 32-byte address, Vec<u64> a list. Amounts are base units; convert with the right decimals (units).

Every value-changing event carries launch, primaryMint, slot and seq. See Index launches from chain for what to do with them.

A buy on the curve

curveBuy, discriminator [225, 49, 207, 252, 44, 64, 69, 149]

FieldType
launchpubkey
primaryMintpubkey
buyerpubkey
depositsVec<u64>
feesVec<u64>
dnaUnitsNetu64
primaryOutu64
virtualPrimaryReserveu64
virtualDnaReserveu64
inventoryRemainingu64
progressBpsu16
slotu64
sequ64
feesAccruedLamportsu64

deposits and fees are per component, in recipe order. primaryOut is the launch tokens delivered.

A sell on the curve

curveSell, discriminator [187, 174, 54, 128, 0, 58, 139, 89]

FieldType
launchpubkey
primaryMintpubkey
sellerpubkey
primaryInu64
dnaUnitsOutu64
componentOutsVec<u64>
feesVec<u64>
virtualPrimaryReserveu64
virtualDnaReserveu64
inventoryRemainingu64
progressBpsu16
slotu64
sequ64
feesAccruedLamportsu64

componentOuts and fees are per component, in recipe order. primaryIn is the launch tokens given up.

The curve completed

graduationTriggered, discriminator [225, 114, 140, 64, 171, 27, 31, 47]

FieldType
launchpubkey
primaryMintpubkey
graduatedAti64
inventoryRemainingu64
finalVirtualPrimaryReserveu64
finalVirtualDnaReserveu64
slotu64
sequ64

The migration finished

migrationFinalized, discriminator [222, 117, 101, 143, 114, 79, 14, 202]

FieldType
launchpubkey
primaryMintpubkey
dnaMintpubkey
dnaTotalu64
poolsVec<pubkey>
positionsVec<pubkey>
phaseBitsu16
finalizedAti64
slotu64
sequ64

A launch was created

launchCreated, discriminator [59, 38, 190, 230, 33, 34, 89, 20]

FieldType
launchpubkey
primaryMintpubkey
creatorpubkey
componentMintsVec<pubkey>
componentQuantitiesVec<u64>
componentDecimalsbytes
primaryDecimalsu8
totalSupplyu64
curveInventoryu64
migrationInventoryu64
feeBpsu16
creatorFeeShareBpsu16
virtualPrimaryReserveu64
virtualDnaReserveu64
graduationBoundaryu64
createdAti64
slotu64
sequ64

A launch was activated

launchActivated, discriminator [184, 208, 163, 44, 237, 101, 24, 165]

FieldType
launchpubkey
primaryMintpubkey
activatedAti64
opensAti64
slotu64
sequ64

A migration pool was created

migrationPoolCreated, discriminator [138, 112, 120, 68, 76, 189, 59, 6]

FieldType
launchpubkey
primaryMintpubkey
indexu8
poolpubkey
positionpubkey
positionNftMintpubkey
dnaMintpubkey
otherMintpubkey
dnaAmountu64
otherAmountu64
deviationBpsu64
toleranceBpsu16
poolCreatedBitsu8
phaseBitsu16
slotu64
sequ64

All the others

The IDL lists every event of both programs, including administrative ones. They are in the downloaded files under events, with their field types under types.

On this page