chore(): Cleaned up naming and types
This commit is contained in:
@@ -48,7 +48,7 @@ export interface SetCollateralCoinParamsV5 {
|
||||
collateralSwitch: 'ON' | 'OFF';
|
||||
}
|
||||
|
||||
export interface GetTransactionLogParamsClassicV5 {
|
||||
export interface getClassicTransactionLogsParamsV5 {
|
||||
currency?: string;
|
||||
baseCoin?: string;
|
||||
type?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export interface GetExchangeBrokerEarningParamsV5 {
|
||||
export interface GetExchangeBrokerEarningsParamsV5 {
|
||||
bizType?: 'SPOT' | 'DERIVATIVES' | 'OPTIONS';
|
||||
begin?: string;
|
||||
end?: string;
|
||||
@@ -7,7 +7,7 @@ export interface GetExchangeBrokerEarningParamsV5 {
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
export interface getBrokerSubAccountDepositRecords {
|
||||
export interface GetBrokerSubAccountDepositsV5 {
|
||||
subMemberId?: string;
|
||||
coin?: string;
|
||||
startTime?: number;
|
||||
|
||||
@@ -1,62 +1,59 @@
|
||||
interface EarningDetailV5 {
|
||||
userId: string;
|
||||
bizType: 'SPOT' | 'DERIVATIVES' | 'OPTIONS';
|
||||
symbol: string;
|
||||
coin: string;
|
||||
earning: string;
|
||||
markupEarning: string;
|
||||
baseFeeEarning: string;
|
||||
orderId: string;
|
||||
execTime: string;
|
||||
}
|
||||
|
||||
interface TotalEarningCategoryV5 {
|
||||
coin: string;
|
||||
earning: string;
|
||||
}
|
||||
|
||||
export interface ExchangeBrokerEarningResultV5 {
|
||||
totalEarningCat: {
|
||||
spot: TotalEarningCategoryV5[];
|
||||
derivatives: TotalEarningCategoryV5[];
|
||||
options: TotalEarningCategoryV5[];
|
||||
total: TotalEarningCategoryV5[];
|
||||
};
|
||||
details: EarningDetailV5[];
|
||||
nextPageCursor: string;
|
||||
}
|
||||
userId: string;
|
||||
bizType: 'SPOT' | 'DERIVATIVES' | 'OPTIONS';
|
||||
symbol: string;
|
||||
coin: string;
|
||||
earning: string;
|
||||
markupEarning: string;
|
||||
baseFeeEarning: string;
|
||||
orderId: string;
|
||||
execTime: string;
|
||||
}
|
||||
|
||||
interface TotalEarningCategoryV5 {
|
||||
coin: string;
|
||||
earning: string;
|
||||
}
|
||||
|
||||
export interface ExchangeBrokerEarningResultV5 {
|
||||
totalEarningCat: {
|
||||
spot: TotalEarningCategoryV5[];
|
||||
derivatives: TotalEarningCategoryV5[];
|
||||
options: TotalEarningCategoryV5[];
|
||||
total: TotalEarningCategoryV5[];
|
||||
};
|
||||
details: EarningDetailV5[];
|
||||
nextPageCursor: string;
|
||||
}
|
||||
|
||||
export interface ExchangeBrokerAccountInfoV5 {
|
||||
subAcctQty: string;
|
||||
maxSubAcctQty: string;
|
||||
baseFeeRebateRate: {
|
||||
spot: string;
|
||||
derivatives: string;
|
||||
};
|
||||
markupFeeRebateRate: {
|
||||
spot: string;
|
||||
derivatives: string;
|
||||
};
|
||||
ts: string;
|
||||
}
|
||||
export interface ExchangeBrokerAccountInfoV5 {
|
||||
subAcctQty: string;
|
||||
maxSubAcctQty: string;
|
||||
baseFeeRebateRate: {
|
||||
spot: string;
|
||||
derivatives: string;
|
||||
};
|
||||
markupFeeRebateRate: {
|
||||
spot: string;
|
||||
derivatives: string;
|
||||
};
|
||||
ts: string;
|
||||
}
|
||||
|
||||
export interface SubAccountDepositRecordV5 {
|
||||
subMemberId: string;
|
||||
coin: string;
|
||||
chain: string;
|
||||
amount: string;
|
||||
txID: string;
|
||||
status: number;
|
||||
toAddress: string;
|
||||
tag: string;
|
||||
depositFee: string;
|
||||
successAt: string;
|
||||
confirmations: string;
|
||||
txIndex: string;
|
||||
blockHash: string;
|
||||
batchReleaseLimit: string;
|
||||
depositType: string;
|
||||
}
|
||||
|
||||
export interface ExchangeBrokerSubAccountDepositRecordV5 {
|
||||
subMemberId: string;
|
||||
coin: string;
|
||||
chain: string;
|
||||
amount: string;
|
||||
txID: string;
|
||||
status: number;
|
||||
toAddress: string;
|
||||
tag: string;
|
||||
depositFee: string;
|
||||
successAt: string;
|
||||
confirmations: string;
|
||||
txIndex: string;
|
||||
blockHash: string;
|
||||
batchReleaseLimit: string;
|
||||
depositType: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user