We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 704be76 commit f17f6fbCopy full SHA for f17f6fb
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@reserve-protocol/dtf-rebalance-lib",
3
- "version": "2.4.3",
+ "version": "2.4.4",
4
"description": "Rebalancing library for DTFs in typescript",
5
"main": "dist/index.js",
6
"module": "dist/index.js",
src/open-auction.ts
@@ -545,7 +545,7 @@ export const getOpenAuction = (
545
const sellDownTo = (newWeights[i].high * newLimits.high * _supply + (D18n * D27n - 1n)) / D18n / D27n;
546
547
// {USD}
548
- const tradeThreshold = round == AuctionRound.EJECT ? ONE : ZERO;
+ const tradeThreshold = round == AuctionRound.EJECT ? ZERO : ONE;
549
550
if (_assets[i] < buyUpTo) {
551
// {wholeTok} = {tok} / {tok/wholeTok}
0 commit comments