@ember-finance/sdk 1.0.25 → 1.0.26
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/v2/api.d.ts +13 -0
- package/dist/src/vaults/api/v2/api.js +31 -0
- package/dist/src/vaults/api/v2/apis/accounts-api.d.ts +351 -0
- package/dist/src/vaults/api/v2/apis/accounts-api.js +656 -0
- package/dist/src/vaults/api/v2/apis/vaults-api.d.ts +570 -0
- package/dist/src/vaults/api/v2/apis/vaults-api.js +1150 -0
- package/dist/src/vaults/api/v2/base.d.ts +66 -0
- package/dist/src/vaults/api/v2/base.js +66 -0
- package/dist/src/vaults/api/v2/common.d.ts +65 -0
- package/dist/src/vaults/api/v2/common.js +152 -0
- package/dist/src/vaults/api/v2/configuration.d.ts +91 -0
- package/dist/src/vaults/api/v2/configuration.js +49 -0
- package/dist/src/vaults/api/v2/index.d.ts +14 -0
- package/dist/src/vaults/api/v2/index.js +32 -0
- package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.js +15 -0
- package/dist/src/vaults/api/v2/models/account-transaction.d.ts +45 -0
- package/dist/src/vaults/api/v2/models/account-transaction.js +23 -0
- package/dist/src/vaults/api/v2/models/account-vault-position-history.d.ts +89 -0
- package/dist/src/vaults/api/v2/models/account-vault-position-history.js +20 -0
- package/dist/src/vaults/api/v2/models/account-withdrawal-request.d.ts +107 -0
- package/dist/src/vaults/api/v2/models/account-withdrawal-request.js +24 -0
- package/dist/src/vaults/api/v2/models/aggregated-account-position-history.d.ts +59 -0
- package/dist/src/vaults/api/v2/models/aggregated-account-position-history.js +20 -0
- package/dist/src/vaults/api/v2/models/apy-history-response.d.ts +73 -0
- package/dist/src/vaults/api/v2/models/apy-history-response.js +15 -0
- package/dist/src/vaults/api/v2/models/apy-history.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/apy-history.js +15 -0
- package/dist/src/vaults/api/v2/models/asset.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/asset.js +15 -0
- package/dist/src/vaults/api/v2/models/borrowed.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/borrowed.js +15 -0
- package/dist/src/vaults/api/v2/models/chain-vault-details.d.ts +74 -0
- package/dist/src/vaults/api/v2/models/chain-vault-details.js +15 -0
- package/dist/src/vaults/api/v2/models/chain.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/chain.js +21 -0
- package/dist/src/vaults/api/v2/models/coin-price.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/coin-price.js +15 -0
- package/dist/src/vaults/api/v2/models/deposit-transaction.d.ts +68 -0
- package/dist/src/vaults/api/v2/models/deposit-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/ember-position.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/ember-position.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-contracts.d.ts +61 -0
- package/dist/src/vaults/api/v2/models/evm-contracts.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-deposit-token.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/evm-deposit-token.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-price-feed.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/evm-price-feed.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-config.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-config.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-info.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-info.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-receipt-token.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/evm-receipt-token.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-vault.d.ts +114 -0
- package/dist/src/vaults/api/v2/models/evm-vault.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure-coin.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/exposure-coin.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure-protocol.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/exposure-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure.d.ts +38 -0
- package/dist/src/vaults/api/v2/models/exposure.js +15 -0
- package/dist/src/vaults/api/v2/models/fee.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/fee.js +15 -0
- package/dist/src/vaults/api/v2/models/fees.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/fees.js +15 -0
- package/dist/src/vaults/api/v2/models/history-interval.d.ts +23 -0
- package/dist/src/vaults/api/v2/models/history-interval.js +27 -0
- package/dist/src/vaults/api/v2/models/index.d.ts +94 -0
- package/dist/src/vaults/api/v2/models/index.js +110 -0
- package/dist/src/vaults/api/v2/models/lp.d.ts +81 -0
- package/dist/src/vaults/api/v2/models/lp.js +15 -0
- package/dist/src/vaults/api/v2/models/manager.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/manager.js +15 -0
- package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/perps.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/perps.js +15 -0
- package/dist/src/vaults/api/v2/models/pnl-by-chain.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/pnl-by-chain.js +15 -0
- package/dist/src/vaults/api/v2/models/pnl-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/pnl-history-interval.js +26 -0
- package/dist/src/vaults/api/v2/models/pnl-history.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/pnl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-asset.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/poc-report-asset.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-assets.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-assets.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchange.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchange.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchanges.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchanges.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-protocol.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/poc-report-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-token.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/poc-report-token.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallet.d.ts +80 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallet.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallets.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallets.js +15 -0
- package/dist/src/vaults/api/v2/models/position-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/position-history-interval.js +26 -0
- package/dist/src/vaults/api/v2/models/position-value.d.ts +89 -0
- package/dist/src/vaults/api/v2/models/position-value.js +20 -0
- package/dist/src/vaults/api/v2/models/position.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/position.js +15 -0
- package/dist/src/vaults/api/v2/models/process-requests-summary-event.d.ts +78 -0
- package/dist/src/vaults/api/v2/models/process-requests-summary-event.js +15 -0
- package/dist/src/vaults/api/v2/models/proof-of-capital-report.d.ts +69 -0
- package/dist/src/vaults/api/v2/models/proof-of-capital-report.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-pnl-history.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/protocol-pnl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-tvl-history.d.ts +30 -0
- package/dist/src/vaults/api/v2/models/protocol-tvl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/raw-event-event-data.d.ts +34 -0
- package/dist/src/vaults/api/v2/models/raw-event-event-data.js +15 -0
- package/dist/src/vaults/api/v2/models/raw-event.d.ts +63 -0
- package/dist/src/vaults/api/v2/models/raw-event.js +35 -0
- package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.d.ts +68 -0
- package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/reported-apy.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/reported-apy.js +15 -0
- package/dist/src/vaults/api/v2/models/request-processed-event.d.ts +78 -0
- package/dist/src/vaults/api/v2/models/request-processed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/request-redeemed-event.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/request-redeemed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/reward-token.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/reward-token.js +15 -0
- package/dist/src/vaults/api/v2/models/reward.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/reward.js +15 -0
- package/dist/src/vaults/api/v2/models/share-price-history.d.ts +30 -0
- package/dist/src/vaults/api/v2/models/share-price-history.js +15 -0
- package/dist/src/vaults/api/v2/models/strategy-account.d.ts +49 -0
- package/dist/src/vaults/api/v2/models/strategy-account.js +15 -0
- package/dist/src/vaults/api/v2/models/strategy.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/strategy.js +15 -0
- package/dist/src/vaults/api/v2/models/sub-account.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/sub-account.js +15 -0
- package/dist/src/vaults/api/v2/models/sui-protocol-info.d.ts +41 -0
- package/dist/src/vaults/api/v2/models/sui-protocol-info.js +15 -0
- package/dist/src/vaults/api/v2/models/supplied.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/supplied.js +15 -0
- package/dist/src/vaults/api/v2/models/tag.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/tag.js +15 -0
- package/dist/src/vaults/api/v2/models/tvl-by-chain.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/tvl-by-chain.js +15 -0
- package/dist/src/vaults/api/v2/models/tvl-history.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/tvl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/ultra-coin-info.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/ultra-coin-info.js +15 -0
- package/dist/src/vaults/api/v2/models/update-vault-strategies.d.ts +61 -0
- package/dist/src/vaults/api/v2/models/update-vault-strategies.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-admin-changed-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-admin-changed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-created-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-created-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-event.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-detail.d.ts +196 -0
- package/dist/src/vaults/api/v2/models/vault-detail.js +22 -0
- package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-info.d.ts +84 -0
- package/dist/src/vaults/api/v2/models/vault-info.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-operator-changed-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-operator-changed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-protocol.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-rate-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-rate-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-slice.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-slice.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-tag.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-tag.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.d.ts +19 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.js +15 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config.js +20 -0
- package/dist/src/vaults/api/v2/models/vaults-stats.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vaults-stats.js +15 -0
- package/dist/src/vaults/api/v2/models/yield-aggregate-value.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/yield-aggregate-value.js +15 -0
- package/package.json +3 -2
|
@@ -0,0 +1,89 @@
|
|
|
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 AccountVaultPositionHistory
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountVaultPositionHistory {
|
|
18
|
+
/**
|
|
19
|
+
* The timestamp of the event
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AccountVaultPositionHistory
|
|
22
|
+
*/
|
|
23
|
+
timestamp: number;
|
|
24
|
+
/**
|
|
25
|
+
* The position value of the event
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccountVaultPositionHistory
|
|
28
|
+
*/
|
|
29
|
+
positionValueUsdE9: string;
|
|
30
|
+
/**
|
|
31
|
+
* The position value in terms of deposit coin amount
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AccountVaultPositionHistory
|
|
34
|
+
*/
|
|
35
|
+
positionValueInCoinAmount: string;
|
|
36
|
+
/**
|
|
37
|
+
* The shares of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccountVaultPositionHistory
|
|
40
|
+
*/
|
|
41
|
+
shares: string;
|
|
42
|
+
/**
|
|
43
|
+
* The unrealized yield in terms of deposit coin amount
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountVaultPositionHistory
|
|
46
|
+
*/
|
|
47
|
+
unrealizedYieldInCoinAmount: string;
|
|
48
|
+
/**
|
|
49
|
+
* The realized yield in terms of deposit coin amount
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AccountVaultPositionHistory
|
|
52
|
+
*/
|
|
53
|
+
realizedYieldInCoinAmount: string;
|
|
54
|
+
/**
|
|
55
|
+
* The total yield in terms of deposit coin amount
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AccountVaultPositionHistory
|
|
58
|
+
*/
|
|
59
|
+
totalYieldInCoinAmount: string;
|
|
60
|
+
/**
|
|
61
|
+
* The unrealized yield of the event
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AccountVaultPositionHistory
|
|
64
|
+
*/
|
|
65
|
+
unrealizedYieldUsdE9: string;
|
|
66
|
+
/**
|
|
67
|
+
* The realized yield of the event
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AccountVaultPositionHistory
|
|
70
|
+
*/
|
|
71
|
+
realizedYieldUsdE9: string;
|
|
72
|
+
/**
|
|
73
|
+
* The total yield of the event
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AccountVaultPositionHistory
|
|
76
|
+
*/
|
|
77
|
+
totalYieldUsdE9: string;
|
|
78
|
+
/**
|
|
79
|
+
* The status of the event
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AccountVaultPositionHistory
|
|
82
|
+
*/
|
|
83
|
+
status: AccountVaultPositionHistoryStatusEnum;
|
|
84
|
+
}
|
|
85
|
+
export declare const AccountVaultPositionHistoryStatusEnum: {
|
|
86
|
+
readonly Sync: "SYNC";
|
|
87
|
+
readonly OutOfSync: "OUT_OF_SYNC";
|
|
88
|
+
};
|
|
89
|
+
export type AccountVaultPositionHistoryStatusEnum = (typeof AccountVaultPositionHistoryStatusEnum)[keyof typeof AccountVaultPositionHistoryStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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.AccountVaultPositionHistoryStatusEnum = void 0;
|
|
17
|
+
exports.AccountVaultPositionHistoryStatusEnum = {
|
|
18
|
+
Sync: "SYNC",
|
|
19
|
+
OutOfSync: "OUT_OF_SYNC"
|
|
20
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
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 { VaultSlice } from "./vault-slice";
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AccountWithdrawalRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface AccountWithdrawalRequest {
|
|
20
|
+
/**
|
|
21
|
+
* The status of the withdrawal request
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AccountWithdrawalRequest
|
|
24
|
+
*/
|
|
25
|
+
status: AccountWithdrawalRequestStatusEnum;
|
|
26
|
+
/**
|
|
27
|
+
* The updated timestamp of the withdrawal request
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof AccountWithdrawalRequest
|
|
30
|
+
*/
|
|
31
|
+
updatedAt?: number;
|
|
32
|
+
/**
|
|
33
|
+
* The amount of the withdrawal request
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AccountWithdrawalRequest
|
|
36
|
+
*/
|
|
37
|
+
withdrawnAmount: string;
|
|
38
|
+
/**
|
|
39
|
+
* The receiver of the withdrawal request
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AccountWithdrawalRequest
|
|
42
|
+
*/
|
|
43
|
+
receiverAddress: string;
|
|
44
|
+
/**
|
|
45
|
+
* The shares amount of the withdrawal request
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AccountWithdrawalRequest
|
|
48
|
+
*/
|
|
49
|
+
requestedAgainstShares: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Asset}
|
|
53
|
+
* @memberof AccountWithdrawalRequest
|
|
54
|
+
*/
|
|
55
|
+
receiptCoin: Asset;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Asset}
|
|
59
|
+
* @memberof AccountWithdrawalRequest
|
|
60
|
+
*/
|
|
61
|
+
depositCoin: Asset;
|
|
62
|
+
/**
|
|
63
|
+
* The timestamp of the withdrawal request
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof AccountWithdrawalRequest
|
|
66
|
+
*/
|
|
67
|
+
requestedAt: number;
|
|
68
|
+
/**
|
|
69
|
+
* The timestamp of the withdrawal request
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof AccountWithdrawalRequest
|
|
72
|
+
*/
|
|
73
|
+
processedAt?: number;
|
|
74
|
+
/**
|
|
75
|
+
* The sequence number of the withdrawal request
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AccountWithdrawalRequest
|
|
78
|
+
*/
|
|
79
|
+
sequenceNumber: string;
|
|
80
|
+
/**
|
|
81
|
+
* The tx digest of the withdrawal request
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof AccountWithdrawalRequest
|
|
84
|
+
*/
|
|
85
|
+
txDigest?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {VaultSlice}
|
|
89
|
+
* @memberof AccountWithdrawalRequest
|
|
90
|
+
*/
|
|
91
|
+
vault: VaultSlice;
|
|
92
|
+
/**
|
|
93
|
+
* Chain identifier
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof AccountWithdrawalRequest
|
|
96
|
+
*/
|
|
97
|
+
chain?: string;
|
|
98
|
+
}
|
|
99
|
+
export declare const AccountWithdrawalRequestStatusEnum: {
|
|
100
|
+
readonly Pending: "Pending";
|
|
101
|
+
readonly PendingCancelling: "PendingCancelling";
|
|
102
|
+
readonly Cancelled: "Cancelled";
|
|
103
|
+
readonly Processed: "Processed";
|
|
104
|
+
readonly Skipped: "Skipped";
|
|
105
|
+
readonly Processed2: "Processed";
|
|
106
|
+
};
|
|
107
|
+
export type AccountWithdrawalRequestStatusEnum = (typeof AccountWithdrawalRequestStatusEnum)[keyof typeof AccountWithdrawalRequestStatusEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
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.AccountWithdrawalRequestStatusEnum = void 0;
|
|
17
|
+
exports.AccountWithdrawalRequestStatusEnum = {
|
|
18
|
+
Pending: "Pending",
|
|
19
|
+
PendingCancelling: "PendingCancelling",
|
|
20
|
+
Cancelled: "Cancelled",
|
|
21
|
+
Processed: "Processed",
|
|
22
|
+
Skipped: "Skipped",
|
|
23
|
+
Processed2: "Processed"
|
|
24
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
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 AggregatedAccountPositionHistory
|
|
16
|
+
*/
|
|
17
|
+
export interface AggregatedAccountPositionHistory {
|
|
18
|
+
/**
|
|
19
|
+
* The timestamp of the event
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AggregatedAccountPositionHistory
|
|
22
|
+
*/
|
|
23
|
+
timestamp: number;
|
|
24
|
+
/**
|
|
25
|
+
* The position value of the event
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AggregatedAccountPositionHistory
|
|
28
|
+
*/
|
|
29
|
+
positionValueUsdE9: string;
|
|
30
|
+
/**
|
|
31
|
+
* The unrealized yield of the event
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AggregatedAccountPositionHistory
|
|
34
|
+
*/
|
|
35
|
+
unrealizedYieldUsdE9: string;
|
|
36
|
+
/**
|
|
37
|
+
* The realized yield of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AggregatedAccountPositionHistory
|
|
40
|
+
*/
|
|
41
|
+
realizedYieldUsdE9: string;
|
|
42
|
+
/**
|
|
43
|
+
* The total yield of the event
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AggregatedAccountPositionHistory
|
|
46
|
+
*/
|
|
47
|
+
totalYieldUsdE9: string;
|
|
48
|
+
/**
|
|
49
|
+
* The status of the event
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AggregatedAccountPositionHistory
|
|
52
|
+
*/
|
|
53
|
+
status: AggregatedAccountPositionHistoryStatusEnum;
|
|
54
|
+
}
|
|
55
|
+
export declare const AggregatedAccountPositionHistoryStatusEnum: {
|
|
56
|
+
readonly Sync: "SYNC";
|
|
57
|
+
readonly OutOfSync: "OUT_OF_SYNC";
|
|
58
|
+
};
|
|
59
|
+
export type AggregatedAccountPositionHistoryStatusEnum = (typeof AggregatedAccountPositionHistoryStatusEnum)[keyof typeof AggregatedAccountPositionHistoryStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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.AggregatedAccountPositionHistoryStatusEnum = void 0;
|
|
17
|
+
exports.AggregatedAccountPositionHistoryStatusEnum = {
|
|
18
|
+
Sync: "SYNC",
|
|
19
|
+
OutOfSync: "OUT_OF_SYNC"
|
|
20
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { ApyHistory } from "./apy-history";
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApyHistoryResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ApyHistoryResponse {
|
|
19
|
+
/**
|
|
20
|
+
* The average total (vaults + lending) apy of the vault over the last 7 days
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApyHistoryResponse
|
|
23
|
+
*/
|
|
24
|
+
avg7dTotalApyE9: string;
|
|
25
|
+
/**
|
|
26
|
+
* The average total (vaults + lending) apy of the vault over the last 30 days
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApyHistoryResponse
|
|
29
|
+
*/
|
|
30
|
+
avg30dTotalApyE9: string;
|
|
31
|
+
/**
|
|
32
|
+
* The average total (vaults + lending) apy of the vault over the last 60 days
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ApyHistoryResponse
|
|
35
|
+
*/
|
|
36
|
+
avg60dTotalApyE9: string;
|
|
37
|
+
/**
|
|
38
|
+
* The average total (vaults + lending) apy of the vault over the last 90 days
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApyHistoryResponse
|
|
41
|
+
*/
|
|
42
|
+
avg90dTotalApyE9: string;
|
|
43
|
+
/**
|
|
44
|
+
* The average deposit (vault supply) apy of the vault over the last 7 days
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ApyHistoryResponse
|
|
47
|
+
*/
|
|
48
|
+
avg7dDepositApyE9: string;
|
|
49
|
+
/**
|
|
50
|
+
* The average deposit (vault supply) apy of the vault over the last 30 days
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ApyHistoryResponse
|
|
53
|
+
*/
|
|
54
|
+
avg30dDepositApyE9: string;
|
|
55
|
+
/**
|
|
56
|
+
* The average deposit (vault supply) apy of the vault over the last 60 days
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ApyHistoryResponse
|
|
59
|
+
*/
|
|
60
|
+
avg60dDepositApyE9: string;
|
|
61
|
+
/**
|
|
62
|
+
* The average deposit (vault supply) apy of the vault over the last 90 days
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ApyHistoryResponse
|
|
65
|
+
*/
|
|
66
|
+
avg90dDepositApyE9: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<ApyHistory>}
|
|
70
|
+
* @memberof ApyHistoryResponse
|
|
71
|
+
*/
|
|
72
|
+
data: Array<ApyHistory>;
|
|
73
|
+
}
|
|
@@ -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 ApyHistory
|
|
16
|
+
*/
|
|
17
|
+
export interface ApyHistory {
|
|
18
|
+
/**
|
|
19
|
+
* The timestamp of the event
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApyHistory
|
|
22
|
+
*/
|
|
23
|
+
timestamp: number;
|
|
24
|
+
/**
|
|
25
|
+
* The apy of the event
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApyHistory
|
|
28
|
+
*/
|
|
29
|
+
apyE9: string;
|
|
30
|
+
/**
|
|
31
|
+
* The target apy of the event
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApyHistory
|
|
34
|
+
*/
|
|
35
|
+
targetApyE9: string;
|
|
36
|
+
/**
|
|
37
|
+
* The lending apy of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApyHistory
|
|
40
|
+
*/
|
|
41
|
+
lendingApyE9: 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,66 @@
|
|
|
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 Asset
|
|
16
|
+
*/
|
|
17
|
+
export interface Asset {
|
|
18
|
+
/**
|
|
19
|
+
* The chain of the asset
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Asset
|
|
22
|
+
*/
|
|
23
|
+
chain: string;
|
|
24
|
+
/**
|
|
25
|
+
* The type of the asset, internal data
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Asset
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
* The decimals of the asset, internal data
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Asset
|
|
34
|
+
*/
|
|
35
|
+
decimals: number;
|
|
36
|
+
/**
|
|
37
|
+
* The logo of the asset, offchain data
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Asset
|
|
40
|
+
*/
|
|
41
|
+
logoUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* The symbol of the asset, internal data
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Asset
|
|
46
|
+
*/
|
|
47
|
+
symbol: string;
|
|
48
|
+
/**
|
|
49
|
+
* The address of the asset, internal data
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Asset
|
|
52
|
+
*/
|
|
53
|
+
address: string;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the asset, internal data
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Asset
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The price of the asset
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof Asset
|
|
64
|
+
*/
|
|
65
|
+
priceE9: string;
|
|
66
|
+
}
|
|
@@ -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,43 @@
|
|
|
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
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Borrowed
|
|
17
|
+
*/
|
|
18
|
+
export interface Borrowed {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Asset}
|
|
22
|
+
* @memberof Borrowed
|
|
23
|
+
*/
|
|
24
|
+
coin: Asset;
|
|
25
|
+
/**
|
|
26
|
+
* The amount of the borrowed
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Borrowed
|
|
29
|
+
*/
|
|
30
|
+
amount: string;
|
|
31
|
+
/**
|
|
32
|
+
* The amount of the borrowed in e9 in USDC
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Borrowed
|
|
35
|
+
*/
|
|
36
|
+
amountUsdE9: string;
|
|
37
|
+
/**
|
|
38
|
+
* The apy of the borrowed
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Borrowed
|
|
41
|
+
*/
|
|
42
|
+
apyE9: string;
|
|
43
|
+
}
|
|
@@ -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,74 @@
|
|
|
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 { SubAccount } from "./sub-account";
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChainVaultDetails
|
|
18
|
+
*/
|
|
19
|
+
export interface ChainVaultDetails {
|
|
20
|
+
/**
|
|
21
|
+
* The address of the vault
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ChainVaultDetails
|
|
24
|
+
*/
|
|
25
|
+
address?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Asset}
|
|
29
|
+
* @memberof ChainVaultDetails
|
|
30
|
+
*/
|
|
31
|
+
baseDepositCoin?: Asset;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Asset}
|
|
35
|
+
* @memberof ChainVaultDetails
|
|
36
|
+
*/
|
|
37
|
+
receiptCoin?: Asset;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<SubAccount>}
|
|
41
|
+
* @memberof ChainVaultDetails
|
|
42
|
+
*/
|
|
43
|
+
subAccounts?: Array<SubAccount>;
|
|
44
|
+
/**
|
|
45
|
+
* The total deposits of the vault equivalent to USD in e9
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ChainVaultDetails
|
|
48
|
+
*/
|
|
49
|
+
totalDepositsInUsdE9?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The total deposits of the vault
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ChainVaultDetails
|
|
54
|
+
*/
|
|
55
|
+
totalDeposits?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The total number of depositors of the vault
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ChainVaultDetails
|
|
60
|
+
*/
|
|
61
|
+
totalDepositorsCount?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The number of active depositors of the vault
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ChainVaultDetails
|
|
66
|
+
*/
|
|
67
|
+
activeDepositorsCount?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The supported coins of the vault, used for multi collateral vaults
|
|
70
|
+
* @type {Array<Asset>}
|
|
71
|
+
* @memberof ChainVaultDetails
|
|
72
|
+
*/
|
|
73
|
+
SupportedCoins?: Array<Asset>;
|
|
74
|
+
}
|