Skip to content

Commit

Permalink
fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed May 22, 2024
1 parent 2fc4249 commit b98b2a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export interface OpenOrderParams {

export interface MakerOrder {
order_id: string;
owner: string;
maker_address: string;
matched_amount: string;
price: string;
Expand All @@ -209,7 +210,7 @@ export interface MakerOrder {
export interface Trade {
id: string;

taker_order: string;
taker_order_id: string;

market: string;
asset_id: string;
Expand All @@ -222,10 +223,11 @@ export interface Trade {
last_update: string;
outcome: string;
bucket_index: number;
owner: string;
maker_address: string;
maker_orders: MakerOrder[];
transaction_hash: string;
type: "TAKER" | "MAKER";
trader_side: "TAKER" | "MAKER";
}

export enum Chain {
Expand Down

0 comments on commit b98b2a1

Please sign in to comment.