Skip to content

Commit

Permalink
sdk: add auctionDurationPct (#1333)
Browse files Browse the repository at this point in the history
* sdk: add auctionDurationPct

* undefined as default auctionDurationPct
  • Loading branch information
lowkeynicc authored Nov 14, 2024
1 parent a5c8313 commit 14f4f6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sdk/src/driftClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5305,7 +5305,8 @@ export class DriftClient {
subAccountId?: number,
cancelExistingOrders?: boolean,
settlePnl?: boolean,
exitEarlyIfSimFails?: boolean
exitEarlyIfSimFails?: boolean,
auctionDurationPercentage?: number
): Promise<{
placeAndTakeTx: Transaction | VersionedTransaction;
cancelExistingOrdersTx: Transaction | VersionedTransaction;
Expand Down Expand Up @@ -5333,7 +5334,7 @@ export class DriftClient {
makerInfo,
referrerInfo,
undefined,
undefined,
auctionDurationPercentage,
subAccountId
);

Expand Down

0 comments on commit 14f4f6c

Please sign in to comment.