@ember-finance/sdk 1.0.18 → 1.0.19
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.
|
@@ -33,4 +33,28 @@ export interface PnlHistory {
|
|
|
33
33
|
* @memberof PnlHistory
|
|
34
34
|
*/
|
|
35
35
|
cumulativePnlE9: string;
|
|
36
|
+
/**
|
|
37
|
+
* The pnl in terms of usd
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PnlHistory
|
|
40
|
+
*/
|
|
41
|
+
pnlUsdE9: string;
|
|
42
|
+
/**
|
|
43
|
+
* The cumulative pnl in terms of usd
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PnlHistory
|
|
46
|
+
*/
|
|
47
|
+
cumulativePnlUsdE9: string;
|
|
48
|
+
/**
|
|
49
|
+
* The pnl in terms of deposit coin amount
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PnlHistory
|
|
52
|
+
*/
|
|
53
|
+
pnlInCoinAmount: string;
|
|
54
|
+
/**
|
|
55
|
+
* The cumulative pnl in terms of deposit coin amount
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PnlHistory
|
|
58
|
+
*/
|
|
59
|
+
cumulativePnlInCoinAmount: string;
|
|
36
60
|
}
|
|
@@ -27,12 +27,36 @@ export interface PositionHistory {
|
|
|
27
27
|
* @memberof PositionHistory
|
|
28
28
|
*/
|
|
29
29
|
positionValueUsdE9: string;
|
|
30
|
+
/**
|
|
31
|
+
* The position value in terms of deposit coin amount
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PositionHistory
|
|
34
|
+
*/
|
|
35
|
+
positionValueInCoinAmount: string;
|
|
30
36
|
/**
|
|
31
37
|
* The shares of the event
|
|
32
38
|
* @type {string}
|
|
33
39
|
* @memberof PositionHistory
|
|
34
40
|
*/
|
|
35
41
|
shares: string;
|
|
42
|
+
/**
|
|
43
|
+
* The unrealized yield in terms of deposit coin amount
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PositionHistory
|
|
46
|
+
*/
|
|
47
|
+
unrealizedYieldInCoinAmount: string;
|
|
48
|
+
/**
|
|
49
|
+
* The realized yield in terms of deposit coin amount
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PositionHistory
|
|
52
|
+
*/
|
|
53
|
+
realizedYieldInCoinAmount: string;
|
|
54
|
+
/**
|
|
55
|
+
* The total yield in terms of deposit coin amount
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PositionHistory
|
|
58
|
+
*/
|
|
59
|
+
totalYieldInCoinAmount: string;
|
|
36
60
|
/**
|
|
37
61
|
* The unrealized yield of the event
|
|
38
62
|
* @type {string}
|
|
@@ -27,6 +27,12 @@ export interface PositionValue {
|
|
|
27
27
|
* @memberof PositionValue
|
|
28
28
|
*/
|
|
29
29
|
positionValueUsdE9: string;
|
|
30
|
+
/**
|
|
31
|
+
* The position value of the account in terms of deposit coin amount
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PositionValue
|
|
34
|
+
*/
|
|
35
|
+
positionValueInCoinAmount: string;
|
|
30
36
|
/**
|
|
31
37
|
* The shares of the account
|
|
32
38
|
* @type {string}
|
|
@@ -39,18 +45,36 @@ export interface PositionValue {
|
|
|
39
45
|
* @memberof PositionValue
|
|
40
46
|
*/
|
|
41
47
|
unrealizedYieldUsdE9: string;
|
|
48
|
+
/**
|
|
49
|
+
* The unrealized yield of the account in terms of deposit coin amount
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PositionValue
|
|
52
|
+
*/
|
|
53
|
+
unrealizedYieldInCoinAmount: string;
|
|
42
54
|
/**
|
|
43
55
|
* The realized yield value of the account in e9 in USDC
|
|
44
56
|
* @type {string}
|
|
45
57
|
* @memberof PositionValue
|
|
46
58
|
*/
|
|
47
59
|
realizedYieldUsdE9: string;
|
|
60
|
+
/**
|
|
61
|
+
* The realized yield of the account in terms of deposit coin amount
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PositionValue
|
|
64
|
+
*/
|
|
65
|
+
realizedYieldInCoinAmount: string;
|
|
48
66
|
/**
|
|
49
67
|
* The total yield value of the account in e9 in USDC
|
|
50
68
|
* @type {string}
|
|
51
69
|
* @memberof PositionValue
|
|
52
70
|
*/
|
|
53
71
|
totalYieldUsdE9: string;
|
|
72
|
+
/**
|
|
73
|
+
* The total yield of the account in terms of deposit coin amount
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PositionValue
|
|
76
|
+
*/
|
|
77
|
+
totalYieldInCoinAmount: string;
|
|
54
78
|
/**
|
|
55
79
|
* The status of the position
|
|
56
80
|
* @type {string}
|
|
@@ -27,4 +27,16 @@ export interface TvlHistory {
|
|
|
27
27
|
* @memberof TvlHistory
|
|
28
28
|
*/
|
|
29
29
|
tvlE9: string;
|
|
30
|
+
/**
|
|
31
|
+
* The tvl in terms of usd
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TvlHistory
|
|
34
|
+
*/
|
|
35
|
+
tvlUsdE9: string;
|
|
36
|
+
/**
|
|
37
|
+
* The tvl in terms of deposit coin amount
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TvlHistory
|
|
40
|
+
*/
|
|
41
|
+
tvlInCoinAmount: string;
|
|
30
42
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-finance/sdk",
|
|
3
3
|
"description": "Ember Protocol SDK",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.19",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -86,5 +86,6 @@
|
|
|
86
86
|
"ajv": "^6.12.6",
|
|
87
87
|
"jsonpointer": ">=5.0.0",
|
|
88
88
|
"form-data": ">=3.0.4"
|
|
89
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
90
91
|
}
|