2022-11-07 10:13:02 +00:00
|
|
|
export interface PublicOrder {
|
2022-09-09 17:18:04 +00:00
|
|
|
id: number;
|
|
|
|
created_at: Date;
|
|
|
|
expires_at: Date;
|
|
|
|
type: number;
|
2024-09-12 08:10:27 +00:00
|
|
|
currency: number | null;
|
2022-09-09 17:18:04 +00:00
|
|
|
amount: string;
|
2024-10-11 13:57:42 +00:00
|
|
|
base_price?: number;
|
2022-09-09 17:18:04 +00:00
|
|
|
has_range: boolean;
|
2024-09-12 08:10:27 +00:00
|
|
|
min_amount: string | null;
|
|
|
|
max_amount: string | null;
|
2022-09-09 17:18:04 +00:00
|
|
|
payment_method: string;
|
|
|
|
is_explicit: false;
|
2024-09-12 08:10:27 +00:00
|
|
|
premium: string;
|
|
|
|
satoshis: number | null;
|
|
|
|
satoshis_now: number | null;
|
|
|
|
latitude: number | null;
|
|
|
|
longitude: number | null;
|
|
|
|
bond_size: string;
|
|
|
|
maker: number | null;
|
2022-09-09 17:18:04 +00:00
|
|
|
escrow_duration: number;
|
|
|
|
maker_nick: string;
|
2023-12-02 11:31:21 +00:00
|
|
|
maker_hash_id: string;
|
2024-09-12 08:10:27 +00:00
|
|
|
price: number | null;
|
|
|
|
maker_status?: 'Active' | 'Seen recently' | 'Inactive';
|
2023-10-27 10:01:59 +00:00
|
|
|
coordinatorShortAlias?: string;
|
2022-08-30 18:49:16 +00:00
|
|
|
}
|
|
|
|
|
2022-10-20 17:24:53 +00:00
|
|
|
export interface Book {
|
2022-11-07 10:13:02 +00:00
|
|
|
orders: PublicOrder[];
|
2022-10-20 17:24:53 +00:00
|
|
|
loading: boolean;
|
|
|
|
}
|
|
|
|
|
2022-11-07 10:13:02 +00:00
|
|
|
export default PublicOrder;
|