This commit is contained in:
bijianing97
2026-01-15 17:44:39 +08:00
parent b76d2efc88
commit 6b4cadb118
3 changed files with 736 additions and 0 deletions

8
tx.go
View File

@@ -37,6 +37,14 @@ type Swap struct {
//For meteora dlmm
StartBinId int32
EndBinId int32
BinChanges []DlmmBinLiquidityChange
}
type DlmmBinLiquidityChange struct {
BinId int32
AmountX decimal.Decimal
AmountY decimal.Decimal
BpsToRemove uint16
}
type platformInfo struct {