This commit is contained in:
cachalots
2026-02-11 17:49:43 +08:00
parent 3fdd4c4490
commit 852ad4b382
4 changed files with 21 additions and 13 deletions

5
tx.go
View File

@@ -47,6 +47,8 @@ type Swap struct {
StartBinId int32
EndBinId int32
BinChanges []DlmmBinLiquidityChange
ConsumeUnit uint64
}
type DlmmBinLiquidityChange struct {
@@ -98,6 +100,9 @@ type Tx struct {
// update tokenInfo
Token map[solana.PublicKey]TokenMeta `gorm:"-"`
ComputeUnitsConsumed uint64 `json:"compute_units_consumed"`
CuLimit uint32 `json:"cu_limit"`
// todo pool info ??
}