@ember-finance/sdk 1.0.10 → 1.0.11
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/dist/src/vaults/api/api.d.ts +2 -2
- package/dist/src/vaults/api/apis/accounts-api.d.ts +29 -94
- package/dist/src/vaults/api/apis/accounts-api.js +116 -85
- package/dist/src/vaults/api/apis/vaults-api.d.ts +17 -154
- package/dist/src/vaults/api/apis/vaults-api.js +220 -121
- package/dist/src/vaults/api/base.d.ts +2 -2
- package/dist/src/vaults/api/base.js +1 -2
- package/dist/src/vaults/api/common.d.ts +1 -1
- package/dist/src/vaults/api/common.js +17 -10
- package/dist/src/vaults/api/configuration.js +5 -4
- package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +5 -5
- package/dist/src/vaults/api/models/account-transaction.d.ts +11 -14
- package/dist/src/vaults/api/models/account-transaction.js +7 -12
- package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +23 -26
- package/dist/src/vaults/api/models/account-withdrawal-request.js +8 -13
- package/dist/src/vaults/api/models/apy-history.d.ts +4 -4
- package/dist/src/vaults/api/models/asset.d.ts +7 -7
- package/dist/src/vaults/api/models/borrowed.d.ts +5 -5
- package/dist/src/vaults/api/models/coin-price.d.ts +2 -2
- package/dist/src/vaults/api/models/deposit-transaction.d.ts +10 -10
- package/dist/src/vaults/api/models/exposure-coin.d.ts +4 -4
- package/dist/src/vaults/api/models/exposure-protocol.d.ts +13 -13
- package/dist/src/vaults/api/models/exposure.d.ts +5 -5
- package/dist/src/vaults/api/models/fee.d.ts +4 -4
- package/dist/src/vaults/api/models/history-interval.d.ts +7 -6
- package/dist/src/vaults/api/models/history-interval.js +6 -7
- package/dist/src/vaults/api/models/index.d.ts +60 -60
- package/dist/src/vaults/api/models/lp.d.ts +13 -13
- package/dist/src/vaults/api/models/manager.d.ts +4 -4
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/perps.d.ts +3 -3
- package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
- package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
- package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
- package/dist/src/vaults/api/models/position-value.d.ts +17 -6
- package/dist/src/vaults/api/models/position-value.js +5 -0
- package/dist/src/vaults/api/models/position.d.ts +4 -4
- package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
- package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
- package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
- package/dist/src/vaults/api/models/protocol.d.ts +4 -4
- package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
- package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
- package/dist/src/vaults/api/models/raw-event.js +19 -24
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
- package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
- package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
- package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
- package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
- package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
- package/dist/src/vaults/api/models/reward.d.ts +4 -4
- package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
- package/dist/src/vaults/api/models/strategy.d.ts +7 -7
- package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
- package/dist/src/vaults/api/models/supplied.d.ts +5 -5
- package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
- package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
- package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
- package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
- package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
- package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
- package/dist/src/vaults/api/models/vault-detail.js +6 -11
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
- package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
- package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ExposureCoin } from
|
|
13
|
-
import type { ExposureProtocol } from
|
|
12
|
+
import type { ExposureCoin } from "./exposure-coin";
|
|
13
|
+
import type { ExposureProtocol } from "./exposure-protocol";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -22,17 +22,17 @@ export interface Exposure {
|
|
|
22
22
|
* @type {Array<ExposureCoin>}
|
|
23
23
|
* @memberof Exposure
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
coins: Array<ExposureCoin>;
|
|
26
26
|
/**
|
|
27
27
|
* The protocols to which the account/vault is exposed
|
|
28
28
|
* @type {Array<ExposureProtocol>}
|
|
29
29
|
* @memberof Exposure
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
protocols: Array<ExposureProtocol>;
|
|
32
32
|
/**
|
|
33
33
|
* The net account value of the account/vault in e9 in USDC
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof Exposure
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
netAccountValueUsdE9: string;
|
|
38
38
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Asset } from
|
|
12
|
+
import type { Asset } from "./asset";
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -21,17 +21,17 @@ export interface Fee {
|
|
|
21
21
|
* @type {Asset}
|
|
22
22
|
* @memberof Fee
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
coin: Asset;
|
|
25
25
|
/**
|
|
26
26
|
* The amount of the fee
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof Fee
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
amount: string;
|
|
31
31
|
/**
|
|
32
32
|
* The amount of the fee in e9 in USDC
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof Fee
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
amountUsdE9: string;
|
|
37
37
|
}
|
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
_1h
|
|
19
|
-
_1d
|
|
20
|
-
_1w
|
|
21
|
-
_1mon
|
|
22
|
-
}
|
|
17
|
+
export declare const HistoryInterval: {
|
|
18
|
+
readonly _1h: "1h";
|
|
19
|
+
readonly _1d: "1d";
|
|
20
|
+
readonly _1w: "1w";
|
|
21
|
+
readonly _1mon: "1mon";
|
|
22
|
+
};
|
|
23
|
+
export type HistoryInterval = (typeof HistoryInterval)[keyof typeof HistoryInterval];
|
|
@@ -19,10 +19,9 @@ exports.HistoryInterval = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(HistoryInterval || (exports.HistoryInterval = HistoryInterval = {}));
|
|
22
|
+
exports.HistoryInterval = {
|
|
23
|
+
_1h: "1h",
|
|
24
|
+
_1d: "1d",
|
|
25
|
+
_1w: "1w",
|
|
26
|
+
_1mon: "1mon"
|
|
27
|
+
};
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
43
|
-
export * from
|
|
44
|
-
export * from
|
|
45
|
-
export * from
|
|
46
|
-
export * from
|
|
47
|
-
export * from
|
|
48
|
-
export * from
|
|
49
|
-
export * from
|
|
50
|
-
export * from
|
|
51
|
-
export * from
|
|
52
|
-
export * from
|
|
53
|
-
export * from
|
|
54
|
-
export * from
|
|
55
|
-
export * from
|
|
56
|
-
export * from
|
|
57
|
-
export * from
|
|
58
|
-
export * from
|
|
59
|
-
export * from
|
|
60
|
-
export * from
|
|
1
|
+
export * from "./account-transaction";
|
|
2
|
+
export * from "./account-transaction-transaction-data";
|
|
3
|
+
export * from "./account-withdrawal-request";
|
|
4
|
+
export * from "./apy-history";
|
|
5
|
+
export * from "./asset";
|
|
6
|
+
export * from "./borrowed";
|
|
7
|
+
export * from "./coin-price";
|
|
8
|
+
export * from "./deposit-transaction";
|
|
9
|
+
export * from "./exposure";
|
|
10
|
+
export * from "./exposure-coin";
|
|
11
|
+
export * from "./exposure-protocol";
|
|
12
|
+
export * from "./fee";
|
|
13
|
+
export * from "./history-interval";
|
|
14
|
+
export * from "./lp";
|
|
15
|
+
export * from "./manager";
|
|
16
|
+
export * from "./min-withdrawal-shares-updated-event";
|
|
17
|
+
export * from "./perps";
|
|
18
|
+
export * from "./pnl-history";
|
|
19
|
+
export * from "./pnl-history-interval";
|
|
20
|
+
export * from "./position";
|
|
21
|
+
export * from "./position-value";
|
|
22
|
+
export * from "./process-requests-summary-event";
|
|
23
|
+
export * from "./protocol";
|
|
24
|
+
export * from "./protocol-fee-collected-event";
|
|
25
|
+
export * from "./protocol-info";
|
|
26
|
+
export * from "./raw-event";
|
|
27
|
+
export * from "./raw-event-event-data";
|
|
28
|
+
export * from "./redeem-request-cancelled-transaction";
|
|
29
|
+
export * from "./redeem-request-processed-transaction";
|
|
30
|
+
export * from "./redeem-request-skipped-transaction";
|
|
31
|
+
export * from "./redeem-request-transaction";
|
|
32
|
+
export * from "./reported-apy";
|
|
33
|
+
export * from "./request-processed-event";
|
|
34
|
+
export * from "./request-redeemed-event";
|
|
35
|
+
export * from "./reward";
|
|
36
|
+
export * from "./reward-token";
|
|
37
|
+
export * from "./share-price-history";
|
|
38
|
+
export * from "./strategy";
|
|
39
|
+
export * from "./sub-account";
|
|
40
|
+
export * from "./supplied";
|
|
41
|
+
export * from "./tvl-history";
|
|
42
|
+
export * from "./ultra-coin-info";
|
|
43
|
+
export * from "./update-vault-strategies";
|
|
44
|
+
export * from "./vault-admin-changed-event";
|
|
45
|
+
export * from "./vault-created-event";
|
|
46
|
+
export * from "./vault-deposit-event";
|
|
47
|
+
export * from "./vault-deposit-without-minting-shares-event";
|
|
48
|
+
export * from "./vault-detail";
|
|
49
|
+
export * from "./vault-fee-percentage-updated-event";
|
|
50
|
+
export * from "./vault-info";
|
|
51
|
+
export * from "./vault-max-tvl-updated-event";
|
|
52
|
+
export * from "./vault-operator-changed-event";
|
|
53
|
+
export * from "./vault-paused-status-updated-event";
|
|
54
|
+
export * from "./vault-platform-fee-charged-event";
|
|
55
|
+
export * from "./vault-protocol";
|
|
56
|
+
export * from "./vault-rate-updated-event";
|
|
57
|
+
export * from "./vault-slice";
|
|
58
|
+
export * from "./vault-sub-account-updated-event";
|
|
59
|
+
export * from "./vault-withdrawal-without-redeeming-shares-event";
|
|
60
|
+
export * from "./yield-aggregate-value";
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Asset } from
|
|
13
|
-
import type { Fee } from
|
|
14
|
-
import type { Reward } from
|
|
12
|
+
import type { Asset } from "./asset";
|
|
13
|
+
import type { Fee } from "./fee";
|
|
14
|
+
import type { Reward } from "./reward";
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -23,59 +23,59 @@ export interface Lp {
|
|
|
23
23
|
* @type {Asset}
|
|
24
24
|
* @memberof Lp
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
coinA: Asset;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {Asset}
|
|
30
30
|
* @memberof Lp
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
coinB: Asset;
|
|
33
33
|
/**
|
|
34
34
|
* The amount of coin A
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof Lp
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
coinAAmount: string;
|
|
39
39
|
/**
|
|
40
40
|
* The amount of coin B
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof Lp
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
coinBAmount: string;
|
|
45
45
|
/**
|
|
46
46
|
* The amount of coin A in e9 in USDC
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof Lp
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
coinAAmountUsdE9: string;
|
|
51
51
|
/**
|
|
52
52
|
* The amount of coin B in e9 in USDC
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof Lp
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
coinBAmountUsdE9: string;
|
|
57
57
|
/**
|
|
58
58
|
* The apr of the lp in percentage
|
|
59
59
|
* @type {string}
|
|
60
60
|
* @memberof Lp
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
apy: string;
|
|
63
63
|
/**
|
|
64
64
|
* The name of the pool
|
|
65
65
|
* @type {string}
|
|
66
66
|
* @memberof Lp
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
poolName: string;
|
|
69
69
|
/**
|
|
70
70
|
* The rewards of the lp
|
|
71
71
|
* @type {Array<Reward>}
|
|
72
72
|
* @memberof Lp
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
rewards: Array<Reward>;
|
|
75
75
|
/**
|
|
76
76
|
* The fees of the lp
|
|
77
77
|
* @type {Array<Fee>}
|
|
78
78
|
* @memberof Lp
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
fees: Array<Fee>;
|
|
81
81
|
}
|
|
@@ -20,23 +20,23 @@ export interface Manager {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Manager
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Manager
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
name: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Manager
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
logoUrl: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Manager
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
websiteUrl: string;
|
|
42
42
|
}
|
|
@@ -20,23 +20,23 @@ export interface MinWithdrawalSharesUpdatedEvent {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
vaultId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The previous min withdrawal shares
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
previousMinWithdrawalShares?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The new min withdrawal shares
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
newMinWithdrawalShares?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The sequence number of the event
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
sequenceNumber?: string;
|
|
42
42
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Position } from
|
|
12
|
+
import type { Position } from "./position";
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -21,11 +21,11 @@ export interface Perps {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof Perps
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
effectiveBalanceE9: string;
|
|
25
25
|
/**
|
|
26
26
|
* The positions of the perps
|
|
27
27
|
* @type {Array<Position>}
|
|
28
28
|
* @memberof Perps
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
positions: Array<Position>;
|
|
31
31
|
}
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
_1d
|
|
19
|
-
_1w
|
|
20
|
-
_1mon
|
|
21
|
-
}
|
|
17
|
+
export declare const PnlHistoryInterval: {
|
|
18
|
+
readonly _1d: "1d";
|
|
19
|
+
readonly _1w: "1w";
|
|
20
|
+
readonly _1mon: "1mon";
|
|
21
|
+
};
|
|
22
|
+
export type PnlHistoryInterval = (typeof PnlHistoryInterval)[keyof typeof PnlHistoryInterval];
|
|
@@ -19,9 +19,8 @@ exports.PnlHistoryInterval = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(PnlHistoryInterval || (exports.PnlHistoryInterval = PnlHistoryInterval = {}));
|
|
22
|
+
exports.PnlHistoryInterval = {
|
|
23
|
+
_1d: "1d",
|
|
24
|
+
_1w: "1w",
|
|
25
|
+
_1mon: "1mon"
|
|
26
|
+
};
|
|
@@ -20,17 +20,17 @@ export interface PnlHistory {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof PnlHistory
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
timestamp: number;
|
|
24
24
|
/**
|
|
25
25
|
* The pnl of the event
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PnlHistory
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
pnlE9: string;
|
|
30
30
|
/**
|
|
31
31
|
* The cumulative pnl of the event
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PnlHistory
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
cumulativePnlE9: string;
|
|
36
36
|
}
|
|
@@ -20,35 +20,46 @@ export interface PositionValue {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PositionValue
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
vaultId: string;
|
|
24
24
|
/**
|
|
25
25
|
* The position value of the account in e9 in USDC
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PositionValue
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
positionValueUsdE9: string;
|
|
30
30
|
/**
|
|
31
31
|
* The shares of the account
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PositionValue
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
shares: string;
|
|
36
36
|
/**
|
|
37
37
|
* The unrealized yield value of the account in e9 in USDC
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PositionValue
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
unrealizedYieldUsdE9: string;
|
|
42
42
|
/**
|
|
43
43
|
* The realized yield value of the account in e9 in USDC
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PositionValue
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
realizedYieldUsdE9: string;
|
|
48
48
|
/**
|
|
49
49
|
* The total yield value of the account in e9 in USDC
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof PositionValue
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
totalYieldUsdE9: string;
|
|
54
|
+
/**
|
|
55
|
+
* The status of the position
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PositionValue
|
|
58
|
+
*/
|
|
59
|
+
status: PositionValueStatusEnum;
|
|
54
60
|
}
|
|
61
|
+
export declare const PositionValueStatusEnum: {
|
|
62
|
+
readonly Sync: "SYNC";
|
|
63
|
+
readonly OutOfSync: "OUT_OF_SYNC";
|
|
64
|
+
};
|
|
65
|
+
export type PositionValueStatusEnum = (typeof PositionValueStatusEnum)[keyof typeof PositionValueStatusEnum];
|
|
@@ -20,23 +20,23 @@ export interface Position {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Position
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
symbol: string;
|
|
24
24
|
/**
|
|
25
25
|
* The size of the position in e9
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Position
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
sizeE9: string;
|
|
30
30
|
/**
|
|
31
31
|
* The side of the position
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Position
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
side: string;
|
|
36
36
|
/**
|
|
37
37
|
* The margin of the position in e9
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Position
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
marginE9: string;
|
|
42
42
|
}
|
|
@@ -20,59 +20,59 @@ export interface ProcessRequestsSummaryEvent {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ProcessRequestsSummaryEvent
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
vaultId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The total number of requests processed
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ProcessRequestsSummaryEvent
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
totalRequestProcessed?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The number of requests skipped
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ProcessRequestsSummaryEvent
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
requestsSkipped?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The total number of shares burnt
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ProcessRequestsSummaryEvent
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
totalSharesBurnt?: string;
|
|
42
42
|
/**
|
|
43
43
|
* The total amount withdrawn
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ProcessRequestsSummaryEvent
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
totalAmountWithdrawn?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The total number of shares in circulation
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ProcessRequestsSummaryEvent
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
totalSharesInCirculation?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The rate of the vault
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof ProcessRequestsSummaryEvent
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
rate?: string;
|
|
60
60
|
/**
|
|
61
61
|
* The number of requests cancelled
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof ProcessRequestsSummaryEvent
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
requestsCancelled?: string;
|
|
66
66
|
/**
|
|
67
67
|
* The total number of shares pending to burn
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof ProcessRequestsSummaryEvent
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
totalSharesPendingToBurn?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The sequence number of the event
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ProcessRequestsSummaryEvent
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
sequenceNumber?: string;
|
|
78
78
|
}
|
|
@@ -20,41 +20,41 @@ export interface ProtocolFeeCollectedEvent {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ProtocolFeeCollectedEvent
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
vaultId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The amount of the fee
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ProtocolFeeCollectedEvent
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
feeAmount?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The address of the recipient
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ProtocolFeeCollectedEvent
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
recipientAddress?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The sequence number of the event
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ProtocolFeeCollectedEvent
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
sequenceNumber?: string;
|
|
42
42
|
/**
|
|
43
43
|
* The type of the coin
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ProtocolFeeCollectedEvent
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
coinType?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The current balance of the vault
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ProtocolFeeCollectedEvent
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
currentVaultBalance?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The address of the recipient
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof ProtocolFeeCollectedEvent
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
recipient?: string;
|
|
60
60
|
}
|