Skip to content

Commit

Permalink
Merge branch 'feat/ledger-history-requests' into feat/spread-calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr authored May 22, 2024
2 parents d4b6391 + a70be44 commit 21667ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export interface OrderResponse {
export interface OpenOrder {
id: string;
status: string;
owner: string;
maker_address: string;
market: string;
asset_id: string;
Expand Down Expand Up @@ -198,6 +199,7 @@ export interface OpenOrderParams {

export interface MakerOrder {
order_id: string;
owner: string;
maker_address: string;
matched_amount: string;
price: string;
Expand All @@ -209,7 +211,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 +224,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 21667ba

Please sign in to comment.