punm parser
This commit is contained in:
106
enum.go
Normal file
106
enum.go
Normal file
@@ -0,0 +1,106 @@
|
||||
package pump_parser
|
||||
|
||||
const (
|
||||
MevAgentJito = "jito"
|
||||
MevAgent0slot = "0slot"
|
||||
MevAgentBlocxRoute = "blocxroute"
|
||||
MevAgentNozomi = "nozomi"
|
||||
MevAgentNextBlock = "nextblock"
|
||||
MevAgentHelius = "helius"
|
||||
MevAgentNode1 = "node1"
|
||||
MevAgentFlashBlock = "flashBlock"
|
||||
MevAgentUnknown = "unknown"
|
||||
MevAgentBlockRazor = "blockrazor"
|
||||
)
|
||||
|
||||
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"
|
||||
EntryContractFluxbeamDEX = "fluxbeamDEX"
|
||||
EntryContractNovaBotsProgram = "novaBotsProgram"
|
||||
EntryContractTaggedSearcher = "taggedSearcher"
|
||||
EntryContractMayhem = "pumpMayhem"
|
||||
EntryContractUnknown = "unknown"
|
||||
)
|
||||
|
||||
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"
|
||||
|
||||
// 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 (
|
||||
TxEventAddLP = "add"
|
||||
TxEventRemoveLP = "remove"
|
||||
TxEventBuy = "buy"
|
||||
TxEventSell = "sell"
|
||||
TxEventBurn = "burn"
|
||||
)
|
||||
Reference in New Issue
Block a user