chore(): fix use-before-define type check

This commit is contained in:
tiagosiebler
2023-02-13 17:24:00 +00:00
parent 6fa204e8bd
commit 7bdd44b595

View File

@@ -80,11 +80,6 @@ export interface AssetInfoResponseV3 {
}; };
} }
export interface SupportedDepositListResponseV3 {
configList: SupportedDepositV3[];
nextPageCursor: string;
}
interface SupportedDepositV3 { interface SupportedDepositV3 {
coin: string; coin: string;
chain: string; chain: string;
@@ -94,8 +89,8 @@ interface SupportedDepositV3 {
minDepositAmount: string; minDepositAmount: string;
} }
export interface DepositRecordQueryResponseV3 { export interface SupportedDepositListResponseV3 {
rows: DepositRecordV3[]; configList: SupportedDepositV3[];
nextPageCursor: string; nextPageCursor: string;
} }
@@ -114,6 +109,11 @@ interface DepositRecordV3 {
blockHash: string; blockHash: string;
} }
export interface DepositRecordQueryResponseV3 {
rows: DepositRecordV3[];
nextPageCursor: string;
}
export interface WithdrawRecordsQueryResponseV3 { export interface WithdrawRecordsQueryResponseV3 {
rows: { rows: {
coin: string; coin: string;