Skip to content

Commit

Permalink
types adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed May 13, 2024
1 parent 6b53a06 commit ef74495
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions examples/getOpenOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,19 @@ async function main() {
asset_id:
// eslint-disable-next-line max-len
"52114319501245915516055106046884209969926127482827954674443846427813813222426", // NO
owner: creds.key,
}),
);
console.log(
await clobClient.getOpenOrders({
asset_id:
// eslint-disable-next-line max-len
"71321045679252212594626385532706912750332728571942532289631379312455583992563", // YES
owner: creds.key,
}),
);

console.log(
await clobClient.getOpenOrders({
market: "0x5f65177b394277fd294cd75650044e32ba009a95022d88a0c1d565897d72f8f1",
owner: creds.key,
}),
);
}
Expand Down
2 changes: 0 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ export type OpenOrdersResponse = OpenOrder[];

export interface TradeParams {
id?: string;
owner?: string;
maker_address?: string;
market?: string;
asset_id?: string;
Expand All @@ -198,7 +197,6 @@ export interface TradeParams {

export interface OpenOrderParams {
id?: string;
owner?: string;
market?: string;
asset_id?: string;
}
Expand Down

0 comments on commit ef74495

Please sign in to comment.