okxv2 parser

This commit is contained in:
thloyi
2026-01-07 15:39:32 +08:00
parent 2504636fb0
commit 156fd9b0bf
4 changed files with 387 additions and 13 deletions

View File

@@ -275,6 +275,9 @@ func ParseTransaction(update *SubscribeUpdateTransaction, loader *AddressTables)
case jupiterV6ProgramID:
txRes, err := parseJupiterV6Instruction(versioned, i)
parsed = appendParsed(parsed, txRes, err, txHash, "jupiterv6", jupiterV6ProgramID.String())
case okxDexRouteV2ProgramID:
txRes, err := parseOkxDexRouteV2Instruction(versioned, i)
parsed = appendParsed(parsed, txRes, err, txHash, "okxdexroutev2", okxDexRouteV2ProgramID.String())
}
}