Skip to content

Commit

Permalink
rm DLOBApiClient
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Dec 10, 2024
1 parent 4bf852e commit d741f42
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 300 deletions.
13 changes: 0 additions & 13 deletions sdk/src/dlob/DLOB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,6 @@ export class DLOB {
return true;
}

public initFromOrders(dlobOrders: DLOBOrders, slot: number): boolean {
if (this.initialized) {
return false;
}

for (const { user, order } of dlobOrders) {
this.insertOrder(order, user.toString(), slot, false);
}

this.initialized = true;
return true;
}

public handleOrderRecord(record: OrderRecord, slot: number): void {
this.insertOrder(record.order, record.user.toString(), slot, false);
}
Expand Down
39 changes: 0 additions & 39 deletions sdk/src/dlob/DLOBApiClient.ts

This file was deleted.

248 changes: 0 additions & 248 deletions sdk/src/dlob/dlobIdl.json

This file was deleted.

0 comments on commit d741f42

Please sign in to comment.