pump-trader 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/index.js +1 -1
- package/index.ts +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -792,7 +792,8 @@ class PumpTrader {
|
|
|
792
792
|
DISCRIMINATORS.BUY,
|
|
793
793
|
u64(baseAmountOut),
|
|
794
794
|
u64(maxQuoteAmountIn),
|
|
795
|
-
|
|
795
|
+
// trackVolume = Some(false) to avoid recent overflow path in pump-amm buy accounting
|
|
796
|
+
Buffer.from([1, 0])
|
|
796
797
|
])
|
|
797
798
|
});
|
|
798
799
|
}
|
package/index.js
CHANGED
package/index.ts
CHANGED
|
@@ -1257,7 +1257,8 @@ export class PumpTrader {
|
|
|
1257
1257
|
DISCRIMINATORS.BUY,
|
|
1258
1258
|
u64(baseAmountOut),
|
|
1259
1259
|
u64(maxQuoteAmountIn),
|
|
1260
|
-
|
|
1260
|
+
// trackVolume = Some(false) to avoid recent overflow path in pump-amm buy accounting
|
|
1261
|
+
Buffer.from([1, 0])
|
|
1261
1262
|
])
|
|
1262
1263
|
});
|
|
1263
1264
|
}
|