@gainsnetwork/sdk 0.0.51-multi-collat-rc1 → 0.0.51-multi-collat-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/trade/types.d.ts +5 -4
- package/package.json +1 -1
package/lib/trade/types.d.ts
CHANGED
|
@@ -73,10 +73,6 @@ export type OpenInterest = {
|
|
|
73
73
|
max: number;
|
|
74
74
|
short: number;
|
|
75
75
|
};
|
|
76
|
-
export type OpenCollateral = {
|
|
77
|
-
long: number;
|
|
78
|
-
short: number;
|
|
79
|
-
};
|
|
80
76
|
export type PairDepth = {
|
|
81
77
|
onePercentDepthAboveUsd: number;
|
|
82
78
|
onePercentDepthBelowUsd: number;
|
|
@@ -176,3 +172,8 @@ export type OiWindow = PairOi;
|
|
|
176
172
|
export type OiWindows = {
|
|
177
173
|
[key: string]: OiWindow;
|
|
178
174
|
};
|
|
175
|
+
export type CollateralConfig = {
|
|
176
|
+
precision: number;
|
|
177
|
+
precisionDelta: number;
|
|
178
|
+
decimals?: number;
|
|
179
|
+
};
|