Update metora dlmm program parse

This commit is contained in:
bijianing97
2026-01-22 14:32:45 +08:00
parent 23f37cff2c
commit 36db4729d4
4 changed files with 8878 additions and 0 deletions

View File

@@ -48,6 +48,13 @@ type TxSignal struct {
ExactSOL bool `json:"exact_in"`
//Just for metaora DLMM
// ActiveBin is the active bin id provided by swap_with_price_impact(2).
ActiveBin int32 `json:"active_bin"`
// MaxPriceImpactBps is the price impact guard for swap_with_price_impact(2).
MaxPriceImpactBps uint16 `json:"max_price_impact_bps"`
// parsed values
Token0AmountUint64 uint64 `json:"-"`
Token1AmountUint64 uint64 `json:"-"`