@drift-labs/jit-proxy
Advanced tools
Comparing version
@@ -111,2 +111,9 @@ "use strict"; | ||
const orderSlot = Math.min(signedMsgOrderParamsMessage.slot.toNumber(), this.slotSubscriber.getSlot()); | ||
/** | ||
* Base asset amount equalling u64::max is a special case that signals to program | ||
* to bring taker to max leverage. Program will calculate the max base asset amount to do this | ||
* once the tx lands on chain. | ||
* | ||
* You will see this is base asset amount is ffffffffffffffff | ||
*/ | ||
const signedMsgOrder = { | ||
@@ -113,0 +120,0 @@ status: sdk_1.OrderStatus.OPEN, |
{ | ||
"name": "@drift-labs/jit-proxy", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "clean": "rm -rf lib", |
@@ -256,2 +256,10 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ | ||
); | ||
/** | ||
* Base asset amount equalling u64::max is a special case that signals to program | ||
* to bring taker to max leverage. Program will calculate the max base asset amount to do this | ||
* once the tx lands on chain. | ||
* | ||
* You will see this is base asset amount is ffffffffffffffff | ||
*/ | ||
const signedMsgOrder: Order = { | ||
@@ -258,0 +266,0 @@ status: OrderStatus.OPEN, |
135541
0.5%4214
0.33%