@ember-finance/sdk 1.0.8 → 1.0.10
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/src/common/types.d.ts +0 -1
- package/dist/src/common/types.js +0 -1
- package/dist/src/vaults/api/api.d.ts +2 -2
- package/dist/src/vaults/api/apis/accounts-api.d.ts +178 -27
- package/dist/src/vaults/api/apis/accounts-api.js +208 -77
- package/dist/src/vaults/api/apis/vaults-api.d.ts +270 -40
- package/dist/src/vaults/api/apis/vaults-api.js +267 -194
- package/dist/src/vaults/api/base.d.ts +26 -2
- package/dist/src/vaults/api/base.js +21 -1
- package/dist/src/vaults/api/common.d.ts +38 -1
- package/dist/src/vaults/api/common.js +47 -17
- package/dist/src/vaults/api/configuration.d.ts +17 -0
- package/dist/src/vaults/api/configuration.js +4 -5
- package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +6 -5
- package/dist/src/vaults/api/models/account-transaction.d.ts +26 -11
- package/dist/src/vaults/api/models/account-transaction.js +12 -7
- package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +64 -23
- package/dist/src/vaults/api/models/account-withdrawal-request.js +13 -8
- package/dist/src/vaults/api/models/apy-history.d.ts +42 -0
- package/dist/src/vaults/api/models/apy-history.js +15 -0
- package/dist/src/vaults/api/models/asset.d.ts +26 -7
- package/dist/src/vaults/api/models/borrowed.d.ts +43 -0
- package/dist/src/vaults/api/models/borrowed.js +15 -0
- package/dist/src/vaults/api/models/coin-price.d.ts +30 -0
- package/dist/src/vaults/api/models/coin-price.js +15 -0
- package/dist/src/vaults/api/models/deposit-transaction.d.ts +40 -10
- package/dist/src/vaults/api/models/exposure-coin.d.ts +18 -4
- package/dist/src/vaults/api/models/exposure-protocol.d.ts +50 -3
- package/dist/src/vaults/api/models/exposure.d.ts +16 -5
- package/dist/src/vaults/api/models/fee.d.ts +37 -0
- package/dist/src/vaults/api/models/fee.js +15 -0
- package/dist/src/vaults/api/models/history-interval.d.ts +11 -7
- package/dist/src/vaults/api/models/history-interval.js +12 -6
- package/dist/src/vaults/api/models/index.d.ts +60 -43
- package/dist/src/vaults/api/models/index.js +17 -0
- package/dist/src/vaults/api/models/lp.d.ts +81 -0
- package/dist/src/vaults/api/models/lp.js +15 -0
- package/dist/src/vaults/api/models/manager.d.ts +26 -4
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/perps.d.ts +31 -0
- package/dist/src/vaults/api/models/perps.js +15 -0
- package/dist/src/vaults/api/models/pnl-history-interval.d.ts +21 -0
- package/dist/src/vaults/api/models/pnl-history-interval.js +27 -0
- package/dist/src/vaults/api/models/pnl-history.d.ts +17 -2
- package/dist/src/vaults/api/models/position-value.d.ts +54 -0
- package/dist/src/vaults/api/models/position-value.js +15 -0
- package/dist/src/vaults/api/models/position.d.ts +42 -0
- package/dist/src/vaults/api/models/position.js +15 -0
- package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +78 -0
- package/dist/src/vaults/api/models/process-requests-summary-event.js +15 -0
- package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +60 -0
- package/dist/src/vaults/api/models/protocol-fee-collected-event.js +15 -0
- package/dist/src/vaults/api/models/protocol-info.d.ts +20 -6
- package/dist/src/vaults/api/models/protocol.d.ts +17 -13
- package/dist/src/vaults/api/models/protocol.js +0 -8
- package/dist/src/vaults/api/models/raw-event-event-data.d.ts +19 -13
- package/dist/src/vaults/api/models/raw-event.d.ts +44 -20
- package/dist/src/vaults/api/models/raw-event.js +24 -14
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +31 -8
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +40 -10
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +31 -8
- package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +31 -8
- package/dist/src/vaults/api/models/reported-apy.d.ts +17 -2
- package/dist/src/vaults/api/models/request-processed-event.d.ts +35 -10
- package/dist/src/vaults/api/models/request-redeemed-event.d.ts +32 -9
- package/dist/src/vaults/api/models/reward-token.d.ts +26 -5
- package/dist/src/vaults/api/models/reward.d.ts +37 -0
- package/dist/src/vaults/api/models/reward.js +15 -0
- package/dist/src/vaults/api/models/share-price-history.d.ts +11 -2
- package/dist/src/vaults/api/models/strategy.d.ts +26 -7
- package/dist/src/vaults/api/models/sub-account.d.ts +15 -3
- package/dist/src/vaults/api/models/supplied.d.ts +43 -0
- package/dist/src/vaults/api/models/supplied.js +15 -0
- package/dist/src/vaults/api/models/tvl-history.d.ts +11 -2
- package/dist/src/vaults/api/models/ultra-coin-info.d.ts +23 -6
- package/dist/src/vaults/api/models/update-vault-strategies.d.ts +24 -6
- package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-created-event.d.ts +29 -7
- package/dist/src/vaults/api/models/vault-deposit-event.d.ts +32 -9
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.js +15 -0
- package/dist/src/vaults/api/models/vault-detail.d.ts +125 -37
- package/dist/src/vaults/api/models/vault-detail.js +11 -6
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-info.d.ts +38 -11
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +14 -3
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +48 -0
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.js +15 -0
- package/dist/src/vaults/api/models/vault-protocol.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-slice.d.ts +20 -5
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +23 -6
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
- package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +42 -0
- package/dist/src/vaults/api/models/yield-aggregate-value.js +15 -0
- package/dist/src/vaults/on-chain-calls/tx-builder.d.ts +8 -0
- package/dist/src/vaults/on-chain-calls/tx-builder.js +35 -0
- package/dist/src/vaults/on-chain-calls/user.d.ts +9 -0
- package/dist/src/vaults/on-chain-calls/user.js +16 -0
- package/package.json +5 -3
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Asset } from './asset';
|
|
13
|
+
import type { Fee } from './fee';
|
|
14
|
+
import type { Reward } from './reward';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Lp
|
|
19
|
+
*/
|
|
20
|
+
export interface Lp {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Asset}
|
|
24
|
+
* @memberof Lp
|
|
25
|
+
*/
|
|
26
|
+
'coinA': Asset;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Asset}
|
|
30
|
+
* @memberof Lp
|
|
31
|
+
*/
|
|
32
|
+
'coinB': Asset;
|
|
33
|
+
/**
|
|
34
|
+
* The amount of coin A
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Lp
|
|
37
|
+
*/
|
|
38
|
+
'coinAAmount': string;
|
|
39
|
+
/**
|
|
40
|
+
* The amount of coin B
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Lp
|
|
43
|
+
*/
|
|
44
|
+
'coinBAmount': string;
|
|
45
|
+
/**
|
|
46
|
+
* The amount of coin A in e9 in USDC
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof Lp
|
|
49
|
+
*/
|
|
50
|
+
'coinAAmountUsdE9': string;
|
|
51
|
+
/**
|
|
52
|
+
* The amount of coin B in e9 in USDC
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Lp
|
|
55
|
+
*/
|
|
56
|
+
'coinBAmountUsdE9': string;
|
|
57
|
+
/**
|
|
58
|
+
* The apr of the lp in percentage
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof Lp
|
|
61
|
+
*/
|
|
62
|
+
'apy': string;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the pool
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof Lp
|
|
67
|
+
*/
|
|
68
|
+
'poolName': string;
|
|
69
|
+
/**
|
|
70
|
+
* The rewards of the lp
|
|
71
|
+
* @type {Array<Reward>}
|
|
72
|
+
* @memberof Lp
|
|
73
|
+
*/
|
|
74
|
+
'rewards': Array<Reward>;
|
|
75
|
+
/**
|
|
76
|
+
* The fees of the lp
|
|
77
|
+
* @type {Array<Fee>}
|
|
78
|
+
* @memberof Lp
|
|
79
|
+
*/
|
|
80
|
+
'fees': Array<Fee>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,12 +9,34 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Manager
|
|
16
|
+
*/
|
|
12
17
|
export interface Manager {
|
|
13
18
|
/**
|
|
14
19
|
* ID of the manager
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Manager
|
|
22
|
+
*/
|
|
23
|
+
'id': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Manager
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Manager
|
|
34
|
+
*/
|
|
35
|
+
'logoUrl': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Manager
|
|
15
40
|
*/
|
|
16
|
-
|
|
17
|
-
name: string;
|
|
18
|
-
logoUrl: string;
|
|
19
|
-
websiteUrl: string;
|
|
41
|
+
'websiteUrl': string;
|
|
20
42
|
}
|
|
@@ -9,21 +9,34 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MinWithdrawalSharesUpdatedEvent
|
|
16
|
+
*/
|
|
12
17
|
export interface MinWithdrawalSharesUpdatedEvent {
|
|
13
18
|
/**
|
|
14
19
|
* The id of the vault
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
15
22
|
*/
|
|
16
|
-
vaultId?: string;
|
|
23
|
+
'vaultId'?: string;
|
|
17
24
|
/**
|
|
18
25
|
* The previous min withdrawal shares
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
19
28
|
*/
|
|
20
|
-
previousMinWithdrawalShares?: string;
|
|
29
|
+
'previousMinWithdrawalShares'?: string;
|
|
21
30
|
/**
|
|
22
31
|
* The new min withdrawal shares
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
23
34
|
*/
|
|
24
|
-
newMinWithdrawalShares?: string;
|
|
35
|
+
'newMinWithdrawalShares'?: string;
|
|
25
36
|
/**
|
|
26
37
|
* The sequence number of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MinWithdrawalSharesUpdatedEvent
|
|
27
40
|
*/
|
|
28
|
-
sequenceNumber?: string;
|
|
41
|
+
'sequenceNumber'?: string;
|
|
29
42
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Position } from './position';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Perps
|
|
17
|
+
*/
|
|
18
|
+
export interface Perps {
|
|
19
|
+
/**
|
|
20
|
+
* Available balance in e9 in USDC
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Perps
|
|
23
|
+
*/
|
|
24
|
+
'effectiveBalanceE9': string;
|
|
25
|
+
/**
|
|
26
|
+
* The positions of the perps
|
|
27
|
+
* @type {Array<Position>}
|
|
28
|
+
* @memberof Perps
|
|
29
|
+
*/
|
|
30
|
+
'positions': Array<Position>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum PnlHistoryInterval {
|
|
18
|
+
_1d = "1d",
|
|
19
|
+
_1w = "1w",
|
|
20
|
+
_1mon = "1mon"
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PnlHistoryInterval = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var PnlHistoryInterval;
|
|
23
|
+
(function (PnlHistoryInterval) {
|
|
24
|
+
PnlHistoryInterval["_1d"] = "1d";
|
|
25
|
+
PnlHistoryInterval["_1w"] = "1w";
|
|
26
|
+
PnlHistoryInterval["_1mon"] = "1mon";
|
|
27
|
+
})(PnlHistoryInterval || (exports.PnlHistoryInterval = PnlHistoryInterval = {}));
|
|
@@ -9,13 +9,28 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PnlHistory
|
|
16
|
+
*/
|
|
12
17
|
export interface PnlHistory {
|
|
13
18
|
/**
|
|
14
19
|
* The timestamp of the event
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PnlHistory
|
|
15
22
|
*/
|
|
16
|
-
timestamp: number;
|
|
23
|
+
'timestamp': number;
|
|
17
24
|
/**
|
|
18
25
|
* The pnl of the event
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PnlHistory
|
|
28
|
+
*/
|
|
29
|
+
'pnlE9': string;
|
|
30
|
+
/**
|
|
31
|
+
* The cumulative pnl of the event
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PnlHistory
|
|
19
34
|
*/
|
|
20
|
-
|
|
35
|
+
'cumulativePnlE9': string;
|
|
21
36
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PositionValue
|
|
16
|
+
*/
|
|
17
|
+
export interface PositionValue {
|
|
18
|
+
/**
|
|
19
|
+
* The id of the vault
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PositionValue
|
|
22
|
+
*/
|
|
23
|
+
'vaultId': string;
|
|
24
|
+
/**
|
|
25
|
+
* The position value of the account in e9 in USDC
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PositionValue
|
|
28
|
+
*/
|
|
29
|
+
'positionValueUsdE9': string;
|
|
30
|
+
/**
|
|
31
|
+
* The shares of the account
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PositionValue
|
|
34
|
+
*/
|
|
35
|
+
'shares': string;
|
|
36
|
+
/**
|
|
37
|
+
* The unrealized yield value of the account in e9 in USDC
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PositionValue
|
|
40
|
+
*/
|
|
41
|
+
'unrealizedYieldUsdE9': string;
|
|
42
|
+
/**
|
|
43
|
+
* The realized yield value of the account in e9 in USDC
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PositionValue
|
|
46
|
+
*/
|
|
47
|
+
'realizedYieldUsdE9': string;
|
|
48
|
+
/**
|
|
49
|
+
* The total yield value of the account in e9 in USDC
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PositionValue
|
|
52
|
+
*/
|
|
53
|
+
'totalYieldUsdE9': string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Position
|
|
16
|
+
*/
|
|
17
|
+
export interface Position {
|
|
18
|
+
/**
|
|
19
|
+
* The symbol of the position
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Position
|
|
22
|
+
*/
|
|
23
|
+
'symbol': string;
|
|
24
|
+
/**
|
|
25
|
+
* The size of the position in e9
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Position
|
|
28
|
+
*/
|
|
29
|
+
'sizeE9': string;
|
|
30
|
+
/**
|
|
31
|
+
* The side of the position
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Position
|
|
34
|
+
*/
|
|
35
|
+
'side': string;
|
|
36
|
+
/**
|
|
37
|
+
* The margin of the position in e9
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Position
|
|
40
|
+
*/
|
|
41
|
+
'marginE9': string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProcessRequestsSummaryEvent
|
|
16
|
+
*/
|
|
17
|
+
export interface ProcessRequestsSummaryEvent {
|
|
18
|
+
/**
|
|
19
|
+
* The id of the vault
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
22
|
+
*/
|
|
23
|
+
'vaultId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The total number of requests processed
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
28
|
+
*/
|
|
29
|
+
'totalRequestProcessed'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The number of requests skipped
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
34
|
+
*/
|
|
35
|
+
'requestsSkipped'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The total number of shares burnt
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
40
|
+
*/
|
|
41
|
+
'totalSharesBurnt'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The total amount withdrawn
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
46
|
+
*/
|
|
47
|
+
'totalAmountWithdrawn'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The total number of shares in circulation
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
52
|
+
*/
|
|
53
|
+
'totalSharesInCirculation'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The rate of the vault
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
58
|
+
*/
|
|
59
|
+
'rate'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The number of requests cancelled
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
64
|
+
*/
|
|
65
|
+
'requestsCancelled'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The total number of shares pending to burn
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
70
|
+
*/
|
|
71
|
+
'totalSharesPendingToBurn'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The sequence number of the event
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ProcessRequestsSummaryEvent
|
|
76
|
+
*/
|
|
77
|
+
'sequenceNumber'?: string;
|
|
78
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProtocolFeeCollectedEvent
|
|
16
|
+
*/
|
|
17
|
+
export interface ProtocolFeeCollectedEvent {
|
|
18
|
+
/**
|
|
19
|
+
* The id of the vault
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
22
|
+
*/
|
|
23
|
+
'vaultId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The amount of the fee
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
28
|
+
*/
|
|
29
|
+
'feeAmount'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The address of the recipient
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
34
|
+
*/
|
|
35
|
+
'recipientAddress'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The sequence number of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
40
|
+
*/
|
|
41
|
+
'sequenceNumber'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The type of the coin
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
46
|
+
*/
|
|
47
|
+
'coinType'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The current balance of the vault
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
52
|
+
*/
|
|
53
|
+
'currentVaultBalance'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The address of the recipient
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProtocolFeeCollectedEvent
|
|
58
|
+
*/
|
|
59
|
+
'recipient'?: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,19 +9,33 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { UltraCoinInfo } from
|
|
13
|
-
import type { VaultInfo } from
|
|
14
|
-
import type { VaultProtocol } from
|
|
12
|
+
import type { UltraCoinInfo } from './ultra-coin-info';
|
|
13
|
+
import type { VaultInfo } from './vault-info';
|
|
14
|
+
import type { VaultProtocol } from './vault-protocol';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ProtocolInfo
|
|
19
|
+
*/
|
|
15
20
|
export interface ProtocolInfo {
|
|
16
|
-
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {VaultProtocol}
|
|
24
|
+
* @memberof ProtocolInfo
|
|
25
|
+
*/
|
|
26
|
+
'VaultProtocol'?: VaultProtocol;
|
|
17
27
|
/**
|
|
18
28
|
* List of ultra coins
|
|
29
|
+
* @type {Array<UltraCoinInfo>}
|
|
30
|
+
* @memberof ProtocolInfo
|
|
19
31
|
*/
|
|
20
|
-
UltraCoins?: Array<UltraCoinInfo>;
|
|
32
|
+
'UltraCoins'?: Array<UltraCoinInfo>;
|
|
21
33
|
/**
|
|
22
34
|
* Map of vaults by id
|
|
35
|
+
* @type {{ [key: string]: VaultInfo; }}
|
|
36
|
+
* @memberof ProtocolInfo
|
|
23
37
|
*/
|
|
24
|
-
Vaults?: {
|
|
38
|
+
'Vaults'?: {
|
|
25
39
|
[key: string]: VaultInfo;
|
|
26
40
|
};
|
|
27
41
|
}
|