2020-04-12 18:27:01 +02:00
|
|
|
export interface ForwardProps {
|
|
|
|
created_at: string;
|
|
|
|
fee: number;
|
|
|
|
fee_mtokens: string;
|
|
|
|
incoming_channel: string;
|
|
|
|
mtokens: string;
|
|
|
|
outgoing_channel: string;
|
|
|
|
tokens: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ForwardCompleteProps {
|
|
|
|
forwards: ForwardProps[];
|
|
|
|
next: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ListProps {
|
|
|
|
[key: string]: ForwardProps[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReduceObjectProps {
|
|
|
|
fee: number;
|
|
|
|
tokens: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface FinalProps {
|
|
|
|
fee: number;
|
|
|
|
tokens: number;
|
|
|
|
amount: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface FinalList {
|
|
|
|
[key: string]: FinalProps;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface CountProps {
|
|
|
|
[key: string]: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ChannelCounts {
|
|
|
|
name: string;
|
|
|
|
count: number;
|
|
|
|
}
|
2020-06-01 08:36:33 +02:00
|
|
|
|
|
|
|
export interface InOutProps {
|
|
|
|
tokens: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface InOutListProps {
|
|
|
|
[key: string]: InOutProps[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface PaymentProps {
|
|
|
|
created_at: string;
|
|
|
|
is_confirmed: boolean;
|
|
|
|
tokens: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface PaymentsProps {
|
|
|
|
payments: PaymentProps[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface InvoiceProps {
|
|
|
|
created_at: string;
|
|
|
|
is_confirmed: boolean;
|
|
|
|
received: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface InvoicesProps {
|
|
|
|
invoices: InvoiceProps[];
|
|
|
|
next: string;
|
|
|
|
}
|