2022-08-30 18:49:16 +00:00
|
|
|
export interface Order {
|
2022-09-09 17:18:04 +00:00
|
|
|
id: number;
|
|
|
|
created_at: Date;
|
|
|
|
expires_at: Date;
|
|
|
|
type: number;
|
|
|
|
currency: number;
|
|
|
|
amount: string;
|
|
|
|
base_amount?: number;
|
|
|
|
has_range: boolean;
|
|
|
|
min_amount: number;
|
|
|
|
max_amount: number;
|
|
|
|
payment_method: string;
|
|
|
|
is_explicit: false;
|
|
|
|
premium: number;
|
|
|
|
satoshis: number;
|
2022-09-11 17:59:01 +00:00
|
|
|
satoshis_now: number;
|
2022-09-09 17:18:04 +00:00
|
|
|
bondless_taker: boolean;
|
2022-10-02 20:54:45 +00:00
|
|
|
bond_size: number;
|
2022-09-09 17:18:04 +00:00
|
|
|
maker: number;
|
|
|
|
escrow_duration: number;
|
|
|
|
maker_nick: string;
|
|
|
|
price: number;
|
|
|
|
maker_status: 'Active' | 'Seen recently' | 'Inactive';
|
2022-08-30 18:49:16 +00:00
|
|
|
}
|
|
|
|
|
2022-10-20 17:24:53 +00:00
|
|
|
export interface Book {
|
|
|
|
orders: Order[];
|
|
|
|
loading: boolean;
|
|
|
|
}
|
|
|
|
|
2022-09-09 17:18:04 +00:00
|
|
|
export default Order;
|