@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.
Files changed (205) hide show
  1. package/dist/src/vaults/api/v2/api.d.ts +13 -0
  2. package/dist/src/vaults/api/v2/api.js +31 -0
  3. package/dist/src/vaults/api/v2/apis/accounts-api.d.ts +351 -0
  4. package/dist/src/vaults/api/v2/apis/accounts-api.js +656 -0
  5. package/dist/src/vaults/api/v2/apis/vaults-api.d.ts +570 -0
  6. package/dist/src/vaults/api/v2/apis/vaults-api.js +1150 -0
  7. package/dist/src/vaults/api/v2/base.d.ts +66 -0
  8. package/dist/src/vaults/api/v2/base.js +66 -0
  9. package/dist/src/vaults/api/v2/common.d.ts +65 -0
  10. package/dist/src/vaults/api/v2/common.js +152 -0
  11. package/dist/src/vaults/api/v2/configuration.d.ts +91 -0
  12. package/dist/src/vaults/api/v2/configuration.js +49 -0
  13. package/dist/src/vaults/api/v2/index.d.ts +14 -0
  14. package/dist/src/vaults/api/v2/index.js +32 -0
  15. package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.d.ts +22 -0
  16. package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.js +15 -0
  17. package/dist/src/vaults/api/v2/models/account-transaction.d.ts +45 -0
  18. package/dist/src/vaults/api/v2/models/account-transaction.js +23 -0
  19. package/dist/src/vaults/api/v2/models/account-vault-position-history.d.ts +89 -0
  20. package/dist/src/vaults/api/v2/models/account-vault-position-history.js +20 -0
  21. package/dist/src/vaults/api/v2/models/account-withdrawal-request.d.ts +107 -0
  22. package/dist/src/vaults/api/v2/models/account-withdrawal-request.js +24 -0
  23. package/dist/src/vaults/api/v2/models/aggregated-account-position-history.d.ts +59 -0
  24. package/dist/src/vaults/api/v2/models/aggregated-account-position-history.js +20 -0
  25. package/dist/src/vaults/api/v2/models/apy-history-response.d.ts +73 -0
  26. package/dist/src/vaults/api/v2/models/apy-history-response.js +15 -0
  27. package/dist/src/vaults/api/v2/models/apy-history.d.ts +42 -0
  28. package/dist/src/vaults/api/v2/models/apy-history.js +15 -0
  29. package/dist/src/vaults/api/v2/models/asset.d.ts +66 -0
  30. package/dist/src/vaults/api/v2/models/asset.js +15 -0
  31. package/dist/src/vaults/api/v2/models/borrowed.d.ts +43 -0
  32. package/dist/src/vaults/api/v2/models/borrowed.js +15 -0
  33. package/dist/src/vaults/api/v2/models/chain-vault-details.d.ts +74 -0
  34. package/dist/src/vaults/api/v2/models/chain-vault-details.js +15 -0
  35. package/dist/src/vaults/api/v2/models/chain.d.ts +60 -0
  36. package/dist/src/vaults/api/v2/models/chain.js +21 -0
  37. package/dist/src/vaults/api/v2/models/coin-price.d.ts +36 -0
  38. package/dist/src/vaults/api/v2/models/coin-price.js +15 -0
  39. package/dist/src/vaults/api/v2/models/deposit-transaction.d.ts +68 -0
  40. package/dist/src/vaults/api/v2/models/deposit-transaction.js +15 -0
  41. package/dist/src/vaults/api/v2/models/ember-position.d.ts +31 -0
  42. package/dist/src/vaults/api/v2/models/ember-position.js +15 -0
  43. package/dist/src/vaults/api/v2/models/evm-contracts.d.ts +61 -0
  44. package/dist/src/vaults/api/v2/models/evm-contracts.js +15 -0
  45. package/dist/src/vaults/api/v2/models/evm-deposit-token.d.ts +66 -0
  46. package/dist/src/vaults/api/v2/models/evm-deposit-token.js +15 -0
  47. package/dist/src/vaults/api/v2/models/evm-price-feed.d.ts +54 -0
  48. package/dist/src/vaults/api/v2/models/evm-price-feed.js +15 -0
  49. package/dist/src/vaults/api/v2/models/evm-protocol-config.d.ts +48 -0
  50. package/dist/src/vaults/api/v2/models/evm-protocol-config.js +15 -0
  51. package/dist/src/vaults/api/v2/models/evm-protocol-info.d.ts +37 -0
  52. package/dist/src/vaults/api/v2/models/evm-protocol-info.js +15 -0
  53. package/dist/src/vaults/api/v2/models/evm-receipt-token.d.ts +72 -0
  54. package/dist/src/vaults/api/v2/models/evm-receipt-token.js +15 -0
  55. package/dist/src/vaults/api/v2/models/evm-vault.d.ts +114 -0
  56. package/dist/src/vaults/api/v2/models/evm-vault.js +15 -0
  57. package/dist/src/vaults/api/v2/models/exposure-coin.d.ts +37 -0
  58. package/dist/src/vaults/api/v2/models/exposure-coin.js +15 -0
  59. package/dist/src/vaults/api/v2/models/exposure-protocol.d.ts +66 -0
  60. package/dist/src/vaults/api/v2/models/exposure-protocol.js +15 -0
  61. package/dist/src/vaults/api/v2/models/exposure.d.ts +38 -0
  62. package/dist/src/vaults/api/v2/models/exposure.js +15 -0
  63. package/dist/src/vaults/api/v2/models/fee.d.ts +37 -0
  64. package/dist/src/vaults/api/v2/models/fee.js +15 -0
  65. package/dist/src/vaults/api/v2/models/fees.d.ts +42 -0
  66. package/dist/src/vaults/api/v2/models/fees.js +15 -0
  67. package/dist/src/vaults/api/v2/models/history-interval.d.ts +23 -0
  68. package/dist/src/vaults/api/v2/models/history-interval.js +27 -0
  69. package/dist/src/vaults/api/v2/models/index.d.ts +94 -0
  70. package/dist/src/vaults/api/v2/models/index.js +110 -0
  71. package/dist/src/vaults/api/v2/models/lp.d.ts +81 -0
  72. package/dist/src/vaults/api/v2/models/lp.js +15 -0
  73. package/dist/src/vaults/api/v2/models/manager.d.ts +42 -0
  74. package/dist/src/vaults/api/v2/models/manager.js +15 -0
  75. package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.d.ts +42 -0
  76. package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.js +15 -0
  77. package/dist/src/vaults/api/v2/models/perps.d.ts +31 -0
  78. package/dist/src/vaults/api/v2/models/perps.js +15 -0
  79. package/dist/src/vaults/api/v2/models/pnl-by-chain.d.ts +48 -0
  80. package/dist/src/vaults/api/v2/models/pnl-by-chain.js +15 -0
  81. package/dist/src/vaults/api/v2/models/pnl-history-interval.d.ts +22 -0
  82. package/dist/src/vaults/api/v2/models/pnl-history-interval.js +26 -0
  83. package/dist/src/vaults/api/v2/models/pnl-history.d.ts +48 -0
  84. package/dist/src/vaults/api/v2/models/pnl-history.js +15 -0
  85. package/dist/src/vaults/api/v2/models/poc-report-asset.d.ts +54 -0
  86. package/dist/src/vaults/api/v2/models/poc-report-asset.js +15 -0
  87. package/dist/src/vaults/api/v2/models/poc-report-assets.d.ts +37 -0
  88. package/dist/src/vaults/api/v2/models/poc-report-assets.js +15 -0
  89. package/dist/src/vaults/api/v2/models/poc-report-exchange.d.ts +43 -0
  90. package/dist/src/vaults/api/v2/models/poc-report-exchange.js +15 -0
  91. package/dist/src/vaults/api/v2/models/poc-report-exchanges.d.ts +37 -0
  92. package/dist/src/vaults/api/v2/models/poc-report-exchanges.js +15 -0
  93. package/dist/src/vaults/api/v2/models/poc-report-protocol.d.ts +36 -0
  94. package/dist/src/vaults/api/v2/models/poc-report-protocol.js +15 -0
  95. package/dist/src/vaults/api/v2/models/poc-report-token.d.ts +36 -0
  96. package/dist/src/vaults/api/v2/models/poc-report-token.js +15 -0
  97. package/dist/src/vaults/api/v2/models/poc-report-wallet.d.ts +80 -0
  98. package/dist/src/vaults/api/v2/models/poc-report-wallet.js +15 -0
  99. package/dist/src/vaults/api/v2/models/poc-report-wallets.d.ts +37 -0
  100. package/dist/src/vaults/api/v2/models/poc-report-wallets.js +15 -0
  101. package/dist/src/vaults/api/v2/models/position-history-interval.d.ts +22 -0
  102. package/dist/src/vaults/api/v2/models/position-history-interval.js +26 -0
  103. package/dist/src/vaults/api/v2/models/position-value.d.ts +89 -0
  104. package/dist/src/vaults/api/v2/models/position-value.js +20 -0
  105. package/dist/src/vaults/api/v2/models/position.d.ts +42 -0
  106. package/dist/src/vaults/api/v2/models/position.js +15 -0
  107. package/dist/src/vaults/api/v2/models/process-requests-summary-event.d.ts +78 -0
  108. package/dist/src/vaults/api/v2/models/process-requests-summary-event.js +15 -0
  109. package/dist/src/vaults/api/v2/models/proof-of-capital-report.d.ts +69 -0
  110. package/dist/src/vaults/api/v2/models/proof-of-capital-report.js +15 -0
  111. package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.d.ts +60 -0
  112. package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.js +15 -0
  113. package/dist/src/vaults/api/v2/models/protocol-pnl-history.d.ts +36 -0
  114. package/dist/src/vaults/api/v2/models/protocol-pnl-history.js +15 -0
  115. package/dist/src/vaults/api/v2/models/protocol-tvl-history.d.ts +30 -0
  116. package/dist/src/vaults/api/v2/models/protocol-tvl-history.js +15 -0
  117. package/dist/src/vaults/api/v2/models/protocol.d.ts +42 -0
  118. package/dist/src/vaults/api/v2/models/protocol.js +15 -0
  119. package/dist/src/vaults/api/v2/models/raw-event-event-data.d.ts +34 -0
  120. package/dist/src/vaults/api/v2/models/raw-event-event-data.js +15 -0
  121. package/dist/src/vaults/api/v2/models/raw-event.d.ts +63 -0
  122. package/dist/src/vaults/api/v2/models/raw-event.js +35 -0
  123. package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.d.ts +56 -0
  124. package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.js +15 -0
  125. package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.d.ts +68 -0
  126. package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.js +15 -0
  127. package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.d.ts +56 -0
  128. package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.js +15 -0
  129. package/dist/src/vaults/api/v2/models/redeem-request-transaction.d.ts +56 -0
  130. package/dist/src/vaults/api/v2/models/redeem-request-transaction.js +15 -0
  131. package/dist/src/vaults/api/v2/models/reported-apy.d.ts +42 -0
  132. package/dist/src/vaults/api/v2/models/reported-apy.js +15 -0
  133. package/dist/src/vaults/api/v2/models/request-processed-event.d.ts +78 -0
  134. package/dist/src/vaults/api/v2/models/request-processed-event.js +15 -0
  135. package/dist/src/vaults/api/v2/models/request-redeemed-event.d.ts +72 -0
  136. package/dist/src/vaults/api/v2/models/request-redeemed-event.js +15 -0
  137. package/dist/src/vaults/api/v2/models/reward-token.d.ts +48 -0
  138. package/dist/src/vaults/api/v2/models/reward-token.js +15 -0
  139. package/dist/src/vaults/api/v2/models/reward.d.ts +37 -0
  140. package/dist/src/vaults/api/v2/models/reward.js +15 -0
  141. package/dist/src/vaults/api/v2/models/share-price-history.d.ts +30 -0
  142. package/dist/src/vaults/api/v2/models/share-price-history.js +15 -0
  143. package/dist/src/vaults/api/v2/models/strategy-account.d.ts +49 -0
  144. package/dist/src/vaults/api/v2/models/strategy-account.js +15 -0
  145. package/dist/src/vaults/api/v2/models/strategy.d.ts +60 -0
  146. package/dist/src/vaults/api/v2/models/strategy.js +15 -0
  147. package/dist/src/vaults/api/v2/models/sub-account.d.ts +31 -0
  148. package/dist/src/vaults/api/v2/models/sub-account.js +15 -0
  149. package/dist/src/vaults/api/v2/models/sui-protocol-info.d.ts +41 -0
  150. package/dist/src/vaults/api/v2/models/sui-protocol-info.js +15 -0
  151. package/dist/src/vaults/api/v2/models/supplied.d.ts +43 -0
  152. package/dist/src/vaults/api/v2/models/supplied.js +15 -0
  153. package/dist/src/vaults/api/v2/models/tag.d.ts +60 -0
  154. package/dist/src/vaults/api/v2/models/tag.js +15 -0
  155. package/dist/src/vaults/api/v2/models/tvl-by-chain.d.ts +36 -0
  156. package/dist/src/vaults/api/v2/models/tvl-by-chain.js +15 -0
  157. package/dist/src/vaults/api/v2/models/tvl-history.d.ts +43 -0
  158. package/dist/src/vaults/api/v2/models/tvl-history.js +15 -0
  159. package/dist/src/vaults/api/v2/models/ultra-coin-info.d.ts +54 -0
  160. package/dist/src/vaults/api/v2/models/ultra-coin-info.js +15 -0
  161. package/dist/src/vaults/api/v2/models/update-vault-strategies.d.ts +61 -0
  162. package/dist/src/vaults/api/v2/models/update-vault-strategies.js +15 -0
  163. package/dist/src/vaults/api/v2/models/vault-admin-changed-event.d.ts +42 -0
  164. package/dist/src/vaults/api/v2/models/vault-admin-changed-event.js +15 -0
  165. package/dist/src/vaults/api/v2/models/vault-created-event.d.ts +60 -0
  166. package/dist/src/vaults/api/v2/models/vault-created-event.js +15 -0
  167. package/dist/src/vaults/api/v2/models/vault-deposit-event.d.ts +72 -0
  168. package/dist/src/vaults/api/v2/models/vault-deposit-event.js +15 -0
  169. package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
  170. package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.js +15 -0
  171. package/dist/src/vaults/api/v2/models/vault-detail.d.ts +196 -0
  172. package/dist/src/vaults/api/v2/models/vault-detail.js +22 -0
  173. package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.d.ts +42 -0
  174. package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.js +15 -0
  175. package/dist/src/vaults/api/v2/models/vault-info.d.ts +84 -0
  176. package/dist/src/vaults/api/v2/models/vault-info.js +15 -0
  177. package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.d.ts +42 -0
  178. package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.js +15 -0
  179. package/dist/src/vaults/api/v2/models/vault-operator-changed-event.d.ts +42 -0
  180. package/dist/src/vaults/api/v2/models/vault-operator-changed-event.js +15 -0
  181. package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.d.ts +36 -0
  182. package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.js +15 -0
  183. package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.d.ts +48 -0
  184. package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.js +15 -0
  185. package/dist/src/vaults/api/v2/models/vault-protocol.d.ts +42 -0
  186. package/dist/src/vaults/api/v2/models/vault-protocol.js +15 -0
  187. package/dist/src/vaults/api/v2/models/vault-rate-updated-event.d.ts +42 -0
  188. package/dist/src/vaults/api/v2/models/vault-rate-updated-event.js +15 -0
  189. package/dist/src/vaults/api/v2/models/vault-slice.d.ts +48 -0
  190. package/dist/src/vaults/api/v2/models/vault-slice.js +15 -0
  191. package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.d.ts +54 -0
  192. package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.js +15 -0
  193. package/dist/src/vaults/api/v2/models/vault-tag.d.ts +48 -0
  194. package/dist/src/vaults/api/v2/models/vault-tag.js +15 -0
  195. package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
  196. package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
  197. package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.d.ts +19 -0
  198. package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.js +15 -0
  199. package/dist/src/vaults/api/v2/models/vaults-deployment-config.d.ts +42 -0
  200. package/dist/src/vaults/api/v2/models/vaults-deployment-config.js +20 -0
  201. package/dist/src/vaults/api/v2/models/vaults-stats.d.ts +42 -0
  202. package/dist/src/vaults/api/v2/models/vaults-stats.js +15 -0
  203. package/dist/src/vaults/api/v2/models/yield-aggregate-value.d.ts +48 -0
  204. package/dist/src/vaults/api/v2/models/yield-aggregate-value.js +15 -0
  205. package/package.json +3 -2
@@ -0,0 +1,72 @@
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 VaultDepositEvent
16
+ */
17
+ export interface VaultDepositEvent {
18
+ /**
19
+ * The id of the vault
20
+ * @type {string}
21
+ * @memberof VaultDepositEvent
22
+ */
23
+ vaultId?: string;
24
+ /**
25
+ * The address of the account
26
+ * @type {string}
27
+ * @memberof VaultDepositEvent
28
+ */
29
+ accountAddress?: string;
30
+ /**
31
+ * The amount of the deposit
32
+ * @type {string}
33
+ * @memberof VaultDepositEvent
34
+ */
35
+ totalAmount?: string;
36
+ /**
37
+ * The amount of the shares minted
38
+ * @type {string}
39
+ * @memberof VaultDepositEvent
40
+ */
41
+ sharesMinted?: string;
42
+ /**
43
+ * The amount of the shares burnt
44
+ * @type {string}
45
+ * @memberof VaultDepositEvent
46
+ */
47
+ previousBalance?: string;
48
+ /**
49
+ * The amount of the shares burnt
50
+ * @type {string}
51
+ * @memberof VaultDepositEvent
52
+ */
53
+ currentBalance?: string;
54
+ /**
55
+ * The total amount of the shares
56
+ * @type {string}
57
+ * @memberof VaultDepositEvent
58
+ */
59
+ totalShares?: string;
60
+ /**
61
+ * The sequence number of the deposit
62
+ * @type {string}
63
+ * @memberof VaultDepositEvent
64
+ */
65
+ sequenceNumber?: string;
66
+ /**
67
+ * The type of the asset coin
68
+ * @type {string}
69
+ * @memberof VaultDepositEvent
70
+ */
71
+ coinType?: string;
72
+ }
@@ -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 VaultDepositWithoutMintingSharesEvent
16
+ */
17
+ export interface VaultDepositWithoutMintingSharesEvent {
18
+ /**
19
+ * The id of the vault
20
+ * @type {string}
21
+ * @memberof VaultDepositWithoutMintingSharesEvent
22
+ */
23
+ vaultId?: string;
24
+ /**
25
+ * The sequence number of the event
26
+ * @type {string}
27
+ * @memberof VaultDepositWithoutMintingSharesEvent
28
+ */
29
+ sequenceNumber?: string;
30
+ /**
31
+ * The type of the coin
32
+ * @type {string}
33
+ * @memberof VaultDepositWithoutMintingSharesEvent
34
+ */
35
+ coinType?: string;
36
+ /**
37
+ * The amount of the shares
38
+ * @type {string}
39
+ * @memberof VaultDepositWithoutMintingSharesEvent
40
+ */
41
+ amount?: string;
42
+ /**
43
+ * The address of the sub account
44
+ * @type {string}
45
+ * @memberof VaultDepositWithoutMintingSharesEvent
46
+ */
47
+ subAccount?: string;
48
+ /**
49
+ * The new balance of the vault
50
+ * @type {string}
51
+ * @memberof VaultDepositWithoutMintingSharesEvent
52
+ */
53
+ newBalance?: string;
54
+ /**
55
+ * The previous balance of the vault
56
+ * @type {string}
57
+ * @memberof VaultDepositWithoutMintingSharesEvent
58
+ */
59
+ previousBalance?: 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 });
@@ -0,0 +1,196 @@
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 { ChainVaultDetails } from "./chain-vault-details";
13
+ import type { EmberPosition } from "./ember-position";
14
+ import type { Manager } from "./manager";
15
+ import type { ReportedApy } from "./reported-apy";
16
+ import type { RewardToken } from "./reward-token";
17
+ import type { StrategyAccount } from "./strategy-account";
18
+ import type { VaultTag } from "./vault-tag";
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface VaultDetail
23
+ */
24
+ export interface VaultDetail {
25
+ /**
26
+ * Offchain UUID of the vault
27
+ * @type {string}
28
+ * @memberof VaultDetail
29
+ */
30
+ id: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof VaultDetail
35
+ */
36
+ name: string;
37
+ /**
38
+ * Name of the vault
39
+ * @type {string}
40
+ * @memberof VaultDetail
41
+ */
42
+ longName: string;
43
+ /**
44
+ * Map of chain ID to vault address
45
+ * @type {{ [key: string]: ChainVaultDetails; }}
46
+ * @memberof VaultDetail
47
+ */
48
+ detailsByChain: {
49
+ [key: string]: ChainVaultDetails;
50
+ };
51
+ /**
52
+ * Strategy of the vault
53
+ * @type {string}
54
+ * @memberof VaultDetail
55
+ */
56
+ strategy: string;
57
+ /**
58
+ * Description of the vault (offchain data)
59
+ * @type {string}
60
+ * @memberof VaultDetail
61
+ */
62
+ description: string;
63
+ /**
64
+ * Logo of the vault (offchain data)
65
+ * @type {string}
66
+ * @memberof VaultDetail
67
+ */
68
+ logoUrl: string;
69
+ /**
70
+ * Public type of the vault
71
+ * @type {string}
72
+ * @memberof VaultDetail
73
+ */
74
+ publicType: string;
75
+ /**
76
+ * Internal type of the vault
77
+ * @type {string}
78
+ * @memberof VaultDetail
79
+ */
80
+ internalType?: string;
81
+ /**
82
+ * The aggregated total number of depositors of the vault
83
+ * @type {string}
84
+ * @memberof VaultDetail
85
+ */
86
+ totalDepositorsCount: string;
87
+ /**
88
+ * The aggregated number of active depositors of the vault
89
+ * @type {string}
90
+ * @memberof VaultDetail
91
+ */
92
+ activeDepositorsCount: string;
93
+ /**
94
+ *
95
+ * @type {EmberPosition}
96
+ * @memberof VaultDetail
97
+ */
98
+ requiredEmberPosition?: EmberPosition;
99
+ /**
100
+ *
101
+ * @type {Array<Manager>}
102
+ * @memberof VaultDetail
103
+ */
104
+ managers: Array<Manager>;
105
+ /**
106
+ *
107
+ * @type {Array<StrategyAccount>}
108
+ * @memberof VaultDetail
109
+ */
110
+ strategyAccounts: Array<StrategyAccount>;
111
+ /**
112
+ *
113
+ * @type {Array<VaultTag>}
114
+ * @memberof VaultDetail
115
+ */
116
+ tags: Array<VaultTag>;
117
+ /**
118
+ * The status of the vault
119
+ * @type {string}
120
+ * @memberof VaultDetail
121
+ */
122
+ status: VaultDetailStatusEnum;
123
+ /**
124
+ * Vault creation timestamp
125
+ * @type {number}
126
+ * @memberof VaultDetail
127
+ */
128
+ createdAt: number;
129
+ /**
130
+ * Expressed in basis points (1bps = 0.01%) in e9
131
+ * @type {string}
132
+ * @memberof VaultDetail
133
+ */
134
+ weeklyPerformanceFeeBpsE9: string;
135
+ /**
136
+ *
137
+ * @type {string}
138
+ * @memberof VaultDetail
139
+ */
140
+ managementFeePercentE18: string;
141
+ /**
142
+ *
143
+ * @type {string}
144
+ * @memberof VaultDetail
145
+ */
146
+ rateE18?: string;
147
+ /**
148
+ * The maximum deposits allowed of the vault in e18 form
149
+ * @type {string}
150
+ * @memberof VaultDetail
151
+ */
152
+ maxDepositsAllowedE18?: string;
153
+ /**
154
+ *
155
+ * @type {number}
156
+ * @memberof VaultDetail
157
+ */
158
+ withdrawalPeriodDays: number;
159
+ /**
160
+ *
161
+ * @type {ReportedApy}
162
+ * @memberof VaultDetail
163
+ */
164
+ reportedApy: ReportedApy;
165
+ /**
166
+ *
167
+ * @type {Array<RewardToken>}
168
+ * @memberof VaultDetail
169
+ */
170
+ rewards: Array<RewardToken>;
171
+ /**
172
+ * The aggregatedtotal deposits of the vault equivalent to USD in e9
173
+ * @type {string}
174
+ * @memberof VaultDetail
175
+ */
176
+ totalDepositsInUsdE9: string;
177
+ /**
178
+ * The aggregated total deposits of the vault in e18 form
179
+ * @type {string}
180
+ * @memberof VaultDetail
181
+ */
182
+ totalDepositsE9: string;
183
+ /**
184
+ * The minimum withdrawal shares of the vault in e18 form
185
+ * @type {string}
186
+ * @memberof VaultDetail
187
+ */
188
+ minWithdrawalSharesE18: string;
189
+ }
190
+ export declare const VaultDetailStatusEnum: {
191
+ readonly Active: "active";
192
+ readonly Paused: "paused";
193
+ readonly Deprecated: "deprecated";
194
+ readonly Beta: "beta";
195
+ };
196
+ export type VaultDetailStatusEnum = (typeof VaultDetailStatusEnum)[keyof typeof VaultDetailStatusEnum];
@@ -0,0 +1,22 @@
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.VaultDetailStatusEnum = void 0;
17
+ exports.VaultDetailStatusEnum = {
18
+ Active: "active",
19
+ Paused: "paused",
20
+ Deprecated: "deprecated",
21
+ Beta: "beta"
22
+ };
@@ -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 VaultFeePercentageUpdatedEvent
16
+ */
17
+ export interface VaultFeePercentageUpdatedEvent {
18
+ /**
19
+ * The id of the vault
20
+ * @type {string}
21
+ * @memberof VaultFeePercentageUpdatedEvent
22
+ */
23
+ vaultId?: string;
24
+ /**
25
+ * The previous fee percentage of the vault
26
+ * @type {string}
27
+ * @memberof VaultFeePercentageUpdatedEvent
28
+ */
29
+ previousFeePercentage?: string;
30
+ /**
31
+ * The new rate of the vault
32
+ * @type {string}
33
+ * @memberof VaultFeePercentageUpdatedEvent
34
+ */
35
+ newFeePercentage?: string;
36
+ /**
37
+ * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof VaultFeePercentageUpdatedEvent
40
+ */
41
+ sequenceNumber?: 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,84 @@
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 VaultInfo
16
+ */
17
+ export interface VaultInfo {
18
+ /**
19
+ * The admin identifier for the vault
20
+ * @type {string}
21
+ * @memberof VaultInfo
22
+ */
23
+ Admin?: string;
24
+ /**
25
+ * The operator identifier for the vault
26
+ * @type {string}
27
+ * @memberof VaultInfo
28
+ */
29
+ Operator?: string;
30
+ /**
31
+ * The name of the vault
32
+ * @type {string}
33
+ * @memberof VaultInfo
34
+ */
35
+ Name?: string;
36
+ /**
37
+ * The maximum rate change per update
38
+ * @type {string}
39
+ * @memberof VaultInfo
40
+ */
41
+ MaxRateChangePerUpdate?: string;
42
+ /**
43
+ * The fee percentage for the vault
44
+ * @type {string}
45
+ * @memberof VaultInfo
46
+ */
47
+ FeePercentage?: string;
48
+ /**
49
+ * The minimum withdrawal shares
50
+ * @type {string}
51
+ * @memberof VaultInfo
52
+ */
53
+ MinWithdrawalShares?: string;
54
+ /**
55
+ * List of sub-account identifiers
56
+ * @type {Array<string>}
57
+ * @memberof VaultInfo
58
+ */
59
+ SubAccounts?: Array<string>;
60
+ /**
61
+ * The object identifier of the vault
62
+ * @type {string}
63
+ * @memberof VaultInfo
64
+ */
65
+ ObjectId?: string;
66
+ /**
67
+ * The receipt token type
68
+ * @type {string}
69
+ * @memberof VaultInfo
70
+ */
71
+ ReceiptCoinType?: string;
72
+ /**
73
+ * The coin type for the vault
74
+ * @type {string}
75
+ * @memberof VaultInfo
76
+ */
77
+ DepositCoinType?: string;
78
+ /**
79
+ * The number of decimals for the asset coin
80
+ * @type {number}
81
+ * @memberof VaultInfo
82
+ */
83
+ DepositCoinDecimals?: number;
84
+ }
@@ -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 VaultMaxTvlUpdatedEvent
16
+ */
17
+ export interface VaultMaxTvlUpdatedEvent {
18
+ /**
19
+ * The id of the vault
20
+ * @type {string}
21
+ * @memberof VaultMaxTvlUpdatedEvent
22
+ */
23
+ vaultId?: string;
24
+ /**
25
+ * The previous operator of the vault
26
+ * @type {string}
27
+ * @memberof VaultMaxTvlUpdatedEvent
28
+ */
29
+ previousMaxTvl?: string;
30
+ /**
31
+ * The new operator of the vault
32
+ * @type {string}
33
+ * @memberof VaultMaxTvlUpdatedEvent
34
+ */
35
+ newMaxTvl?: string;
36
+ /**
37
+ * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof VaultMaxTvlUpdatedEvent
40
+ */
41
+ sequenceNumber?: 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,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 VaultOperatorChangedEvent
16
+ */
17
+ export interface VaultOperatorChangedEvent {
18
+ /**
19
+ * The id of the vault
20
+ * @type {string}
21
+ * @memberof VaultOperatorChangedEvent
22
+ */
23
+ vaultId?: string;
24
+ /**
25
+ * The previous operator of the vault
26
+ * @type {string}
27
+ * @memberof VaultOperatorChangedEvent
28
+ */
29
+ previousOperator?: string;
30
+ /**
31
+ * The new operator of the vault
32
+ * @type {string}
33
+ * @memberof VaultOperatorChangedEvent
34
+ */
35
+ newOperator?: string;
36
+ /**
37
+ * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof VaultOperatorChangedEvent
40
+ */
41
+ sequenceNumber?: 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,36 @@
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 VaultPausedStatusUpdatedEvent
16
+ */
17
+ export interface VaultPausedStatusUpdatedEvent {
18
+ /**
19
+ * The id of the vault
20
+ * @type {string}
21
+ * @memberof VaultPausedStatusUpdatedEvent
22
+ */
23
+ vaultId?: string;
24
+ /**
25
+ * The status of the vault
26
+ * @type {boolean}
27
+ * @memberof VaultPausedStatusUpdatedEvent
28
+ */
29
+ status?: boolean;
30
+ /**
31
+ * The sequence number of the event
32
+ * @type {string}
33
+ * @memberof VaultPausedStatusUpdatedEvent
34
+ */
35
+ sequenceNumber?: string;
36
+ }