2025-11-20 17:56:45 +08:00
|
|
|
package pump_parser
|
|
|
|
|
|
|
|
|
|
const (
|
2026-03-20 11:41:44 +08:00
|
|
|
MevAgentJito = "jito"
|
|
|
|
|
MevAgent0slot = "0slot"
|
|
|
|
|
MevAgentBlocxRoute = "blocxroute"
|
|
|
|
|
MevAgentNozomi = "nozomi"
|
|
|
|
|
MevAgentNextBlock = "nextblock"
|
|
|
|
|
MevAgentHelius = "helius"
|
|
|
|
|
MevAgentNode1 = "node1"
|
|
|
|
|
MevAgentFlashBlock = "flashBlock"
|
|
|
|
|
MevAgentUnknown = "unknown"
|
|
|
|
|
MevAgentBlockRazor = "blockrazor"
|
|
|
|
|
MevAgentFast = "fast"
|
|
|
|
|
MevAgentSoyas = "soyas"
|
|
|
|
|
MevAgentStellium = "stellium"
|
|
|
|
|
MevAgentAstralane = "astralane"
|
|
|
|
|
MevagentFa1con = "fa1con"
|
|
|
|
|
MevagentBlocksprint = "blocksprint"
|
|
|
|
|
MevAgentMoon = "moon"
|
|
|
|
|
MevAgentSpeedlanding = "speedlanding"
|
|
|
|
|
MevAgentAllenhark = "allenhark"
|
|
|
|
|
MevAgentRaiden = "raiden"
|
2026-05-13 16:52:55 +08:00
|
|
|
MevAgentZan = "zan"
|
|
|
|
|
MevAgentTunneling = "tunneling"
|
2025-11-20 17:56:45 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
EntryContractPumpFunAMM = "pumpFunAMM"
|
|
|
|
|
EntryContractPumpFun = "pumpFun"
|
|
|
|
|
EntryContractGMGN = "gmgn"
|
|
|
|
|
EntryContractAxiom = "axiom"
|
|
|
|
|
EntryContractBananaGun = "bananaGun"
|
|
|
|
|
EntryContractMoonshot = "moonshot"
|
|
|
|
|
EntryContractTrojan = "trojan"
|
|
|
|
|
EntryContractRaydiumAMMV4 = "raydiumAMMV4"
|
|
|
|
|
EntryContractRaydiumAMMRouting = "raydiumAMMRouting"
|
|
|
|
|
EntryContractRaydiumConcetratedLiquidity = "raydiumConcetratedLiquidity"
|
|
|
|
|
EntryContractRaydiumCPMM = "raydiumCPMM"
|
|
|
|
|
EntryContractMeteoraDLMM = "meteoraDLMM"
|
|
|
|
|
EntryContractMeteoraPools = "meteoraPools"
|
|
|
|
|
EntryContractJupiterAggregatorV6 = "jupiterAggregatorV6"
|
|
|
|
|
EntryContractJupiterPerps = "jupiterPerps"
|
|
|
|
|
EntryContractObricV2 = "obricV2"
|
|
|
|
|
EntryContractLoopscale = "loopscale"
|
|
|
|
|
EntryContractFragmetricLiquidStaking = "fragmetricLiquidStaking"
|
|
|
|
|
EntryContractPhoton = "photon"
|
|
|
|
|
EntryContractLfinitySwapV2 = "lfinitySwapV2"
|
|
|
|
|
EntryContractSolFi = "solFi"
|
|
|
|
|
EntryContractNumeraire = "numeraire"
|
|
|
|
|
EntryContractBloomRouter = "bloomRouter"
|
|
|
|
|
EntryContractOKXAggregatorV2 = "oKXAggregatorV2"
|
2025-12-22 17:56:40 +08:00
|
|
|
EntryContractOKXDexRouterV2 = "oKXDExRouterV2"
|
2025-11-20 17:56:45 +08:00
|
|
|
EntryContractFluxbeamDEX = "fluxbeamDEX"
|
|
|
|
|
EntryContractNovaBotsProgram = "novaBotsProgram"
|
|
|
|
|
EntryContractTaggedSearcher = "taggedSearcher"
|
2026-02-09 17:36:35 +08:00
|
|
|
EntryContractPadre = "padre"
|
2026-01-09 16:53:19 +08:00
|
|
|
EntryContractDFlow = "dflow"
|
|
|
|
|
EntryContractMaestroBot = "maestroBot"
|
|
|
|
|
EntryContractBonkBot = "bonkBot"
|
|
|
|
|
EntryContractBinanceWallet = "binanceWallet"
|
2025-11-20 17:56:45 +08:00
|
|
|
EntryContractMayhem = "pumpMayhem"
|
2025-12-31 16:53:39 +08:00
|
|
|
EntryContractTerm = "term"
|
2026-02-09 14:46:19 +08:00
|
|
|
EntryContractTradewiz = "tradewiz"
|
2026-02-09 17:36:35 +08:00
|
|
|
EntryContractDbot = "dbot"
|
|
|
|
|
EntryContractUnknown = "unknown"
|
2025-11-20 17:56:45 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
PlatformGMGN = "gmgn"
|
|
|
|
|
PlatformPhoton = "photon"
|
|
|
|
|
PlatformAxiom = "axiom"
|
|
|
|
|
PlatformPepe = "pepe" // pepeboost & xxyy
|
|
|
|
|
PlatformBullX = "bullx"
|
|
|
|
|
PlatformBanana = "banana"
|
|
|
|
|
PlatformTrojan = "trojan"
|
|
|
|
|
PlatformRaybot = "raybot"
|
|
|
|
|
PlatformMoonshot = "moonshot"
|
|
|
|
|
PlatformMEVX = "mevx"
|
|
|
|
|
PlatformTradeWiz = "tradewiz"
|
|
|
|
|
PlatformSolTradingBot = "soltradingbot"
|
|
|
|
|
PlatformMoonshotMoney = "moonshot.money"
|
|
|
|
|
PlatformMaestro = "maestro"
|
|
|
|
|
PlatformBonkBot = "bonkbot"
|
2025-12-22 17:56:40 +08:00
|
|
|
PlatformPadre = "padre"
|
2026-03-12 11:52:58 +08:00
|
|
|
PlatformDexScreener = "dexscreener"
|
2025-11-20 17:56:45 +08:00
|
|
|
|
|
|
|
|
// used to flag transactions impersonating platform users
|
|
|
|
|
PlatformFake = "fake"
|
|
|
|
|
PlatformNone = "none"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
SolProgramPump = "Pump"
|
|
|
|
|
SolProgramRaydiumV4 = "RaydiumV4"
|
|
|
|
|
SolProgramRaydiumCLMM = "RaydiumCLMM"
|
|
|
|
|
SolProgramRaydiumCPMM = "RaydiumCPMM"
|
|
|
|
|
SolProgramMeteoraDLMM = "MeteoraDLMM"
|
|
|
|
|
SolProgramOrcaWhirPool = "OrcaWhirPool"
|
|
|
|
|
SolProgramPumpAMM = "PumpAMM"
|
|
|
|
|
SolProgramMeteoraAmmV2 = "MeteoraAmmV2"
|
|
|
|
|
SolProgramMeteoraBondingCurve = "MeteoraBondingCurve"
|
|
|
|
|
SolProgramMeteoraPools = "MeteoraPools"
|
|
|
|
|
SolProgramRaydiumLaunchLab = "RaydiumLaunchLab"
|
|
|
|
|
SolProgramRaydiumLaunchLabBonk = "RaydiumLaunchLab-Bonk"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// PUMP
|
|
|
|
|
const (
|
|
|
|
|
NewPump = "pump"
|
|
|
|
|
NewRaydium = "raydium"
|
|
|
|
|
GraduatedSoon = "graduatedsoon"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func GetConditionByProgram(program string) []string {
|
|
|
|
|
if program == SolProgramRaydiumLaunchLabBonk {
|
|
|
|
|
return []string{SolProgramRaydiumLaunchLabBonk, SolProgramRaydiumV4, SolProgramRaydiumCPMM}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return []string{SolProgramPump, SolProgramPumpAMM}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const (
|
2026-04-16 16:40:21 +08:00
|
|
|
TxEventAddLP = "add"
|
|
|
|
|
TxEventRemoveLP = "remove"
|
|
|
|
|
TxEventBuy = "buy"
|
|
|
|
|
TxEventSell = "sell"
|
|
|
|
|
TxEventBuyFailed = "buy_failed"
|
|
|
|
|
TxEventSellFailed = "sell_failed"
|
|
|
|
|
TxEventBurn = "burn"
|
2026-04-20 14:16:20 +08:00
|
|
|
TxEventCreate = "create"
|
|
|
|
|
TxEventComplete = "complete"
|
|
|
|
|
TxEventMigrate = "migrate"
|
|
|
|
|
TxEventDeposit = "deposit"
|
|
|
|
|
TxEventWithdraw = "withdraw"
|
|
|
|
|
TxEventOpen = "open"
|
|
|
|
|
TxEventClose = "close"
|
|
|
|
|
TxEventClaimFee = "claim_fee"
|
|
|
|
|
|
|
|
|
|
TxEventAddLiquidity = "add_liquidity"
|
|
|
|
|
TxEventAddLiquidityOneSide = "add_liquidity_one_side"
|
|
|
|
|
TxEventRemoveLiquidity = "remove_liquidity"
|
|
|
|
|
TxEventRemoveLiquidityOneSide = "remove_liquidity_one_side"
|
2025-11-20 17:56:45 +08:00
|
|
|
)
|