@ember-finance/sdk 2.0.0 → 2.0.1

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 (341) hide show
  1. package/README.md +64 -60
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +1 -1
  4. package/dist/src/abis/index.js +10 -22
  5. package/dist/src/api/api.d.ts +2 -2
  6. package/dist/src/api/api.js +2 -18
  7. package/dist/src/api/apis/accounts-api.d.ts +9 -9
  8. package/dist/src/api/apis/accounts-api.js +63 -73
  9. package/dist/src/api/apis/vaults-api.d.ts +20 -20
  10. package/dist/src/api/apis/vaults-api.js +130 -140
  11. package/dist/src/api/base.d.ts +1 -1
  12. package/dist/src/api/base.js +7 -15
  13. package/dist/src/api/common.d.ts +2 -2
  14. package/dist/src/api/common.js +13 -25
  15. package/dist/src/api/configuration.js +2 -6
  16. package/dist/src/api/index.d.ts +3 -3
  17. package/dist/src/api/index.js +3 -19
  18. package/dist/src/api/models/account-transaction-transaction-data.d.ts +5 -5
  19. package/dist/src/api/models/account-transaction-transaction-data.js +1 -2
  20. package/dist/src/api/models/account-transaction.d.ts +1 -1
  21. package/dist/src/api/models/account-transaction.js +1 -4
  22. package/dist/src/api/models/account-withdrawal-request.d.ts +2 -2
  23. package/dist/src/api/models/account-withdrawal-request.js +1 -4
  24. package/dist/src/api/models/apy-history-v2.d.ts +1 -1
  25. package/dist/src/api/models/apy-history-v2.js +1 -2
  26. package/dist/src/api/models/apy-history.js +1 -2
  27. package/dist/src/api/models/asset.js +1 -2
  28. package/dist/src/api/models/borrowed.d.ts +1 -1
  29. package/dist/src/api/models/borrowed.js +1 -2
  30. package/dist/src/api/models/chain.js +1 -4
  31. package/dist/src/api/models/coin-price.js +1 -2
  32. package/dist/src/api/models/deposit-transaction.d.ts +2 -2
  33. package/dist/src/api/models/deposit-transaction.js +1 -2
  34. package/dist/src/api/models/ember-position.d.ts +1 -1
  35. package/dist/src/api/models/ember-position.js +1 -2
  36. package/dist/src/api/models/exposure-coin.d.ts +1 -1
  37. package/dist/src/api/models/exposure-coin.js +1 -2
  38. package/dist/src/api/models/exposure-protocol.d.ts +6 -6
  39. package/dist/src/api/models/exposure-protocol.js +1 -2
  40. package/dist/src/api/models/exposure.d.ts +2 -2
  41. package/dist/src/api/models/exposure.js +1 -2
  42. package/dist/src/api/models/fee.d.ts +1 -1
  43. package/dist/src/api/models/fee.js +1 -2
  44. package/dist/src/api/models/fees.js +1 -2
  45. package/dist/src/api/models/history-interval.js +1 -4
  46. package/dist/src/api/models/index.d.ts +78 -78
  47. package/dist/src/api/models/index.js +78 -94
  48. package/dist/src/api/models/lp.d.ts +3 -3
  49. package/dist/src/api/models/lp.js +1 -2
  50. package/dist/src/api/models/manager.js +1 -2
  51. package/dist/src/api/models/min-withdrawal-shares-updated-event.js +1 -2
  52. package/dist/src/api/models/perps.d.ts +1 -1
  53. package/dist/src/api/models/perps.js +1 -2
  54. package/dist/src/api/models/pnl-history-interval.js +1 -4
  55. package/dist/src/api/models/pnl-history.js +1 -2
  56. package/dist/src/api/models/poc-report-asset.js +1 -2
  57. package/dist/src/api/models/poc-report-assets.d.ts +1 -1
  58. package/dist/src/api/models/poc-report-assets.js +1 -2
  59. package/dist/src/api/models/poc-report-exchange.d.ts +1 -1
  60. package/dist/src/api/models/poc-report-exchange.js +1 -2
  61. package/dist/src/api/models/poc-report-exchanges.d.ts +1 -1
  62. package/dist/src/api/models/poc-report-exchanges.js +1 -2
  63. package/dist/src/api/models/poc-report-protocol.js +1 -2
  64. package/dist/src/api/models/poc-report-token.js +1 -2
  65. package/dist/src/api/models/poc-report-wallet.d.ts +2 -2
  66. package/dist/src/api/models/poc-report-wallet.js +1 -2
  67. package/dist/src/api/models/poc-report-wallets.d.ts +1 -1
  68. package/dist/src/api/models/poc-report-wallets.js +1 -2
  69. package/dist/src/api/models/position-history-interval.js +1 -4
  70. package/dist/src/api/models/position-history.js +1 -4
  71. package/dist/src/api/models/position-value.js +1 -4
  72. package/dist/src/api/models/position.js +1 -2
  73. package/dist/src/api/models/process-requests-summary-event.js +1 -2
  74. package/dist/src/api/models/proof-of-capital-report.d.ts +3 -3
  75. package/dist/src/api/models/proof-of-capital-report.js +1 -2
  76. package/dist/src/api/models/protocol-fee-collected-event.js +1 -2
  77. package/dist/src/api/models/protocol-info.d.ts +3 -3
  78. package/dist/src/api/models/protocol-info.js +1 -2
  79. package/dist/src/api/models/protocol.js +1 -2
  80. package/dist/src/api/models/raw-event-event-data.d.ts +17 -17
  81. package/dist/src/api/models/raw-event-event-data.js +1 -2
  82. package/dist/src/api/models/raw-event.d.ts +1 -1
  83. package/dist/src/api/models/raw-event.js +1 -4
  84. package/dist/src/api/models/redeem-request-cancelled-transaction.d.ts +2 -2
  85. package/dist/src/api/models/redeem-request-cancelled-transaction.js +1 -2
  86. package/dist/src/api/models/redeem-request-processed-transaction.d.ts +2 -2
  87. package/dist/src/api/models/redeem-request-processed-transaction.js +1 -2
  88. package/dist/src/api/models/redeem-request-skipped-transaction.d.ts +2 -2
  89. package/dist/src/api/models/redeem-request-skipped-transaction.js +1 -2
  90. package/dist/src/api/models/redeem-request-transaction.d.ts +2 -2
  91. package/dist/src/api/models/redeem-request-transaction.js +1 -2
  92. package/dist/src/api/models/reported-apy.js +1 -2
  93. package/dist/src/api/models/request-processed-event.js +1 -2
  94. package/dist/src/api/models/request-redeemed-event.js +1 -2
  95. package/dist/src/api/models/reward-token.js +1 -2
  96. package/dist/src/api/models/reward.d.ts +1 -1
  97. package/dist/src/api/models/reward.js +1 -2
  98. package/dist/src/api/models/share-price-history.js +1 -2
  99. package/dist/src/api/models/strategy-account.d.ts +1 -1
  100. package/dist/src/api/models/strategy-account.js +1 -2
  101. package/dist/src/api/models/strategy.js +1 -2
  102. package/dist/src/api/models/sub-account.d.ts +1 -1
  103. package/dist/src/api/models/sub-account.js +1 -2
  104. package/dist/src/api/models/supplied.d.ts +1 -1
  105. package/dist/src/api/models/supplied.js +1 -2
  106. package/dist/src/api/models/tag.js +1 -2
  107. package/dist/src/api/models/tvl-history.js +1 -2
  108. package/dist/src/api/models/ultra-coin-info.js +1 -2
  109. package/dist/src/api/models/update-vault-strategies.d.ts +1 -1
  110. package/dist/src/api/models/update-vault-strategies.js +1 -2
  111. package/dist/src/api/models/vault-admin-changed-event.js +1 -2
  112. package/dist/src/api/models/vault-created-event.js +1 -2
  113. package/dist/src/api/models/vault-deposit-event.js +1 -2
  114. package/dist/src/api/models/vault-deposit-without-minting-shares-event.js +1 -2
  115. package/dist/src/api/models/vault-detail.d.ts +7 -7
  116. package/dist/src/api/models/vault-detail.js +1 -4
  117. package/dist/src/api/models/vault-fee-percentage-updated-event.js +1 -2
  118. package/dist/src/api/models/vault-info.js +1 -2
  119. package/dist/src/api/models/vault-max-tvl-updated-event.js +1 -2
  120. package/dist/src/api/models/vault-operator-changed-event.js +1 -2
  121. package/dist/src/api/models/vault-paused-status-updated-event.js +1 -2
  122. package/dist/src/api/models/vault-platform-fee-charged-event.js +1 -2
  123. package/dist/src/api/models/vault-protocol.js +1 -2
  124. package/dist/src/api/models/vault-rate-updated-event.js +1 -2
  125. package/dist/src/api/models/vault-slice.js +1 -2
  126. package/dist/src/api/models/vault-sub-account-updated-event.js +1 -2
  127. package/dist/src/api/models/vault-withdrawal-without-redeeming-shares-event.js +1 -2
  128. package/dist/src/api/models/vaults-stats.js +1 -2
  129. package/dist/src/api/models/yield-aggregate-value.js +1 -2
  130. package/dist/src/api/v2/api.d.ts +2 -2
  131. package/dist/src/api/v2/api.js +2 -18
  132. package/dist/src/api/v2/apis/accounts-api.d.ts +9 -9
  133. package/dist/src/api/v2/apis/accounts-api.js +56 -66
  134. package/dist/src/api/v2/apis/vaults-api.d.ts +20 -20
  135. package/dist/src/api/v2/apis/vaults-api.js +114 -124
  136. package/dist/src/api/v2/base.d.ts +1 -1
  137. package/dist/src/api/v2/base.js +7 -15
  138. package/dist/src/api/v2/common.d.ts +2 -2
  139. package/dist/src/api/v2/common.js +13 -25
  140. package/dist/src/api/v2/configuration.js +2 -6
  141. package/dist/src/api/v2/index.d.ts +3 -3
  142. package/dist/src/api/v2/index.js +3 -19
  143. package/dist/src/api/v2/models/account-transaction-transaction-data.d.ts +5 -5
  144. package/dist/src/api/v2/models/account-transaction-transaction-data.js +1 -2
  145. package/dist/src/api/v2/models/account-transaction.d.ts +1 -1
  146. package/dist/src/api/v2/models/account-transaction.js +1 -4
  147. package/dist/src/api/v2/models/account-vault-position-history.js +1 -4
  148. package/dist/src/api/v2/models/account-withdrawal-request.d.ts +2 -2
  149. package/dist/src/api/v2/models/account-withdrawal-request.js +1 -4
  150. package/dist/src/api/v2/models/aggregated-account-position-history.js +1 -4
  151. package/dist/src/api/v2/models/aggregated-proof-of-capital-report.d.ts +2 -2
  152. package/dist/src/api/v2/models/aggregated-proof-of-capital-report.js +1 -2
  153. package/dist/src/api/v2/models/apy-averages.d.ts +1 -1
  154. package/dist/src/api/v2/models/apy-averages.js +1 -2
  155. package/dist/src/api/v2/models/apy-history-response.d.ts +1 -1
  156. package/dist/src/api/v2/models/apy-history-response.js +1 -2
  157. package/dist/src/api/v2/models/apy-history.js +1 -2
  158. package/dist/src/api/v2/models/apy-period-average.js +1 -2
  159. package/dist/src/api/v2/models/asset.js +1 -2
  160. package/dist/src/api/v2/models/borrowed.d.ts +1 -1
  161. package/dist/src/api/v2/models/borrowed.js +1 -2
  162. package/dist/src/api/v2/models/chain-vault-details.d.ts +2 -2
  163. package/dist/src/api/v2/models/chain-vault-details.js +1 -2
  164. package/dist/src/api/v2/models/chain.js +1 -4
  165. package/dist/src/api/v2/models/coin-price.js +1 -2
  166. package/dist/src/api/v2/models/deposit-transaction.d.ts +2 -2
  167. package/dist/src/api/v2/models/deposit-transaction.js +1 -2
  168. package/dist/src/api/v2/models/ember-position.d.ts +1 -1
  169. package/dist/src/api/v2/models/ember-position.js +1 -2
  170. package/dist/src/api/v2/models/evm-contracts.d.ts +5 -5
  171. package/dist/src/api/v2/models/evm-contracts.js +1 -2
  172. package/dist/src/api/v2/models/evm-deposit-token.js +1 -2
  173. package/dist/src/api/v2/models/evm-price-feed.js +1 -2
  174. package/dist/src/api/v2/models/evm-protocol-config.js +1 -2
  175. package/dist/src/api/v2/models/evm-protocol-info.d.ts +1 -1
  176. package/dist/src/api/v2/models/evm-protocol-info.js +1 -2
  177. package/dist/src/api/v2/models/evm-receipt-token.js +1 -2
  178. package/dist/src/api/v2/models/evm-vault.js +1 -2
  179. package/dist/src/api/v2/models/exposure-coin.d.ts +1 -1
  180. package/dist/src/api/v2/models/exposure-coin.js +1 -2
  181. package/dist/src/api/v2/models/exposure-protocol.d.ts +6 -6
  182. package/dist/src/api/v2/models/exposure-protocol.js +1 -2
  183. package/dist/src/api/v2/models/exposure.d.ts +2 -2
  184. package/dist/src/api/v2/models/exposure.js +1 -2
  185. package/dist/src/api/v2/models/fee.d.ts +1 -1
  186. package/dist/src/api/v2/models/fee.js +1 -2
  187. package/dist/src/api/v2/models/fees.js +1 -2
  188. package/dist/src/api/v2/models/history-interval.js +1 -4
  189. package/dist/src/api/v2/models/index.d.ts +100 -100
  190. package/dist/src/api/v2/models/index.js +100 -116
  191. package/dist/src/api/v2/models/lp.d.ts +3 -3
  192. package/dist/src/api/v2/models/lp.js +1 -2
  193. package/dist/src/api/v2/models/manager.js +1 -2
  194. package/dist/src/api/v2/models/min-withdrawal-shares-updated-event.js +1 -2
  195. package/dist/src/api/v2/models/perps.d.ts +1 -1
  196. package/dist/src/api/v2/models/perps.js +1 -2
  197. package/dist/src/api/v2/models/pnl-by-chain.js +1 -2
  198. package/dist/src/api/v2/models/pnl-history-interval.js +1 -4
  199. package/dist/src/api/v2/models/pnl-history.js +1 -2
  200. package/dist/src/api/v2/models/poc-report-asset.js +1 -2
  201. package/dist/src/api/v2/models/poc-report-assets.d.ts +1 -1
  202. package/dist/src/api/v2/models/poc-report-assets.js +1 -2
  203. package/dist/src/api/v2/models/poc-report-exchange.d.ts +1 -1
  204. package/dist/src/api/v2/models/poc-report-exchange.js +1 -2
  205. package/dist/src/api/v2/models/poc-report-exchanges.d.ts +1 -1
  206. package/dist/src/api/v2/models/poc-report-exchanges.js +1 -2
  207. package/dist/src/api/v2/models/poc-report-protocol.js +1 -2
  208. package/dist/src/api/v2/models/poc-report-token.js +1 -2
  209. package/dist/src/api/v2/models/poc-report-wallet.d.ts +2 -2
  210. package/dist/src/api/v2/models/poc-report-wallet.js +1 -2
  211. package/dist/src/api/v2/models/poc-report-wallets.d.ts +1 -1
  212. package/dist/src/api/v2/models/poc-report-wallets.js +1 -2
  213. package/dist/src/api/v2/models/position-history-interval.js +1 -4
  214. package/dist/src/api/v2/models/position-value.js +1 -4
  215. package/dist/src/api/v2/models/position.js +1 -2
  216. package/dist/src/api/v2/models/process-requests-summary-event.js +1 -2
  217. package/dist/src/api/v2/models/proof-of-capital-report-status.js +1 -4
  218. package/dist/src/api/v2/models/proof-of-capital-report.d.ts +4 -4
  219. package/dist/src/api/v2/models/proof-of-capital-report.js +1 -2
  220. package/dist/src/api/v2/models/protocol-fee-collected-event.js +1 -2
  221. package/dist/src/api/v2/models/protocol-pnl-history.js +1 -2
  222. package/dist/src/api/v2/models/protocol-tvl-history.js +1 -2
  223. package/dist/src/api/v2/models/protocol.js +1 -2
  224. package/dist/src/api/v2/models/raw-event-event-data.d.ts +17 -17
  225. package/dist/src/api/v2/models/raw-event-event-data.js +1 -2
  226. package/dist/src/api/v2/models/raw-event.d.ts +1 -1
  227. package/dist/src/api/v2/models/raw-event.js +1 -4
  228. package/dist/src/api/v2/models/redeem-request-cancelled-transaction.d.ts +2 -2
  229. package/dist/src/api/v2/models/redeem-request-cancelled-transaction.js +1 -2
  230. package/dist/src/api/v2/models/redeem-request-processed-transaction.d.ts +2 -2
  231. package/dist/src/api/v2/models/redeem-request-processed-transaction.js +1 -2
  232. package/dist/src/api/v2/models/redeem-request-skipped-transaction.d.ts +2 -2
  233. package/dist/src/api/v2/models/redeem-request-skipped-transaction.js +1 -2
  234. package/dist/src/api/v2/models/redeem-request-transaction.d.ts +2 -2
  235. package/dist/src/api/v2/models/redeem-request-transaction.js +1 -2
  236. package/dist/src/api/v2/models/reported-apy.js +1 -2
  237. package/dist/src/api/v2/models/request-processed-event.js +1 -2
  238. package/dist/src/api/v2/models/request-redeemed-event.js +1 -2
  239. package/dist/src/api/v2/models/reward-token.js +1 -2
  240. package/dist/src/api/v2/models/reward.d.ts +1 -1
  241. package/dist/src/api/v2/models/reward.js +1 -2
  242. package/dist/src/api/v2/models/share-price-history.js +1 -2
  243. package/dist/src/api/v2/models/strategy-account.d.ts +1 -1
  244. package/dist/src/api/v2/models/strategy-account.js +1 -2
  245. package/dist/src/api/v2/models/strategy.js +1 -2
  246. package/dist/src/api/v2/models/sub-account.d.ts +1 -1
  247. package/dist/src/api/v2/models/sub-account.js +1 -2
  248. package/dist/src/api/v2/models/sui-protocol-info.d.ts +3 -3
  249. package/dist/src/api/v2/models/sui-protocol-info.js +1 -2
  250. package/dist/src/api/v2/models/supplied.d.ts +1 -1
  251. package/dist/src/api/v2/models/supplied.js +1 -2
  252. package/dist/src/api/v2/models/tag.js +1 -2
  253. package/dist/src/api/v2/models/tvl-by-chain.js +1 -2
  254. package/dist/src/api/v2/models/tvl-history.d.ts +1 -1
  255. package/dist/src/api/v2/models/tvl-history.js +1 -2
  256. package/dist/src/api/v2/models/ultra-coin-info.js +1 -2
  257. package/dist/src/api/v2/models/update-vault-strategies.d.ts +1 -1
  258. package/dist/src/api/v2/models/update-vault-strategies.js +1 -2
  259. package/dist/src/api/v2/models/vault-admin-changed-event.js +1 -2
  260. package/dist/src/api/v2/models/vault-created-event.js +1 -2
  261. package/dist/src/api/v2/models/vault-deposit-eligibility.js +1 -2
  262. package/dist/src/api/v2/models/vault-deposit-event.js +1 -2
  263. package/dist/src/api/v2/models/vault-deposit-without-minting-shares-event.js +1 -2
  264. package/dist/src/api/v2/models/vault-detail.d.ts +8 -8
  265. package/dist/src/api/v2/models/vault-detail.js +1 -4
  266. package/dist/src/api/v2/models/vault-fee-percentage-updated-event.js +1 -2
  267. package/dist/src/api/v2/models/vault-info.js +1 -2
  268. package/dist/src/api/v2/models/vault-max-tvl-updated-event.js +1 -2
  269. package/dist/src/api/v2/models/vault-operator-changed-event.js +1 -2
  270. package/dist/src/api/v2/models/vault-paused-status-updated-event.js +1 -2
  271. package/dist/src/api/v2/models/vault-platform-fee-charged-event.js +1 -2
  272. package/dist/src/api/v2/models/vault-proof-of-capital-summary.d.ts +2 -2
  273. package/dist/src/api/v2/models/vault-proof-of-capital-summary.js +1 -2
  274. package/dist/src/api/v2/models/vault-protocol.js +1 -2
  275. package/dist/src/api/v2/models/vault-rate-updated-event.js +1 -2
  276. package/dist/src/api/v2/models/vault-slice.js +1 -2
  277. package/dist/src/api/v2/models/vault-sub-account-updated-event.js +1 -2
  278. package/dist/src/api/v2/models/vault-tag.js +1 -2
  279. package/dist/src/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +1 -2
  280. package/dist/src/api/v2/models/vaults-deployment-config-config.d.ts +2 -2
  281. package/dist/src/api/v2/models/vaults-deployment-config-config.js +1 -2
  282. package/dist/src/api/v2/models/vaults-deployment-config.d.ts +1 -1
  283. package/dist/src/api/v2/models/vaults-deployment-config.js +1 -4
  284. package/dist/src/api/v2/models/vaults-stats.js +1 -2
  285. package/dist/src/api/v2/models/yield-aggregate-value.js +1 -2
  286. package/dist/src/common/types.js +1 -2
  287. package/dist/src/ember-vaults.d.ts +17 -17
  288. package/dist/src/ember-vaults.js +33 -37
  289. package/dist/src/evm-vaults/index.d.ts +3 -3
  290. package/dist/src/evm-vaults/index.js +3 -19
  291. package/dist/src/evm-vaults/interfaces/index.js +1 -2
  292. package/dist/src/evm-vaults/on-chain-calls/admin.d.ts +3 -3
  293. package/dist/src/evm-vaults/on-chain-calls/admin.js +2 -6
  294. package/dist/src/evm-vaults/on-chain-calls/index.d.ts +7 -7
  295. package/dist/src/evm-vaults/on-chain-calls/index.js +7 -23
  296. package/dist/src/evm-vaults/on-chain-calls/onchain-calls.d.ts +3 -3
  297. package/dist/src/evm-vaults/on-chain-calls/onchain-calls.js +9 -13
  298. package/dist/src/evm-vaults/on-chain-calls/operator.d.ts +3 -3
  299. package/dist/src/evm-vaults/on-chain-calls/operator.js +2 -6
  300. package/dist/src/evm-vaults/on-chain-calls/tx-builder.d.ts +3 -3
  301. package/dist/src/evm-vaults/on-chain-calls/tx-builder.js +34 -41
  302. package/dist/src/evm-vaults/on-chain-calls/user.d.ts +3 -3
  303. package/dist/src/evm-vaults/on-chain-calls/user.js +8 -15
  304. package/dist/src/evm-vaults/on-chain-calls/vault-admin.d.ts +3 -3
  305. package/dist/src/evm-vaults/on-chain-calls/vault-admin.js +2 -6
  306. package/dist/src/evm-vaults/on-chain-calls/vault-reader.d.ts +3 -3
  307. package/dist/src/evm-vaults/on-chain-calls/vault-reader.js +12 -19
  308. package/dist/src/evm-vaults/utils/deployment-parser.d.ts +1 -1
  309. package/dist/src/evm-vaults/utils/deployment-parser.js +1 -5
  310. package/dist/src/evm-vaults/utils/index.d.ts +2 -2
  311. package/dist/src/evm-vaults/utils/index.js +2 -18
  312. package/dist/src/evm-vaults/utils/permit-utils.d.ts +2 -2
  313. package/dist/src/evm-vaults/utils/permit-utils.js +12 -53
  314. package/dist/src/index.d.ts +3 -3
  315. package/dist/src/index.js +3 -19
  316. package/dist/src/sui-vaults/index.d.ts +4 -4
  317. package/dist/src/sui-vaults/index.js +4 -20
  318. package/dist/src/sui-vaults/interfaces/bcs.js +15 -18
  319. package/dist/src/sui-vaults/interfaces/index.js +1 -2
  320. package/dist/src/sui-vaults/on-chain-calls/admin.d.ts +2 -2
  321. package/dist/src/sui-vaults/on-chain-calls/admin.js +13 -17
  322. package/dist/src/sui-vaults/on-chain-calls/index.d.ts +6 -6
  323. package/dist/src/sui-vaults/on-chain-calls/index.js +6 -22
  324. package/dist/src/sui-vaults/on-chain-calls/onchain-calls.d.ts +3 -3
  325. package/dist/src/sui-vaults/on-chain-calls/onchain-calls.js +8 -12
  326. package/dist/src/sui-vaults/on-chain-calls/operator.d.ts +2 -2
  327. package/dist/src/sui-vaults/on-chain-calls/operator.js +15 -19
  328. package/dist/src/sui-vaults/on-chain-calls/tx-builder.d.ts +2 -2
  329. package/dist/src/sui-vaults/on-chain-calls/tx-builder.js +46 -50
  330. package/dist/src/sui-vaults/on-chain-calls/user.d.ts +2 -2
  331. package/dist/src/sui-vaults/on-chain-calls/user.js +18 -22
  332. package/dist/src/sui-vaults/on-chain-calls/vault-admin.d.ts +2 -2
  333. package/dist/src/sui-vaults/on-chain-calls/vault-admin.js +10 -14
  334. package/dist/src/sui-vaults/on-chain-calls/vault.d.ts +1 -1
  335. package/dist/src/sui-vaults/on-chain-calls/vault.js +41 -30
  336. package/dist/src/sui-vaults/utils/common.js +3 -7
  337. package/dist/src/sui-vaults/utils/deployment-parser.d.ts +1 -1
  338. package/dist/src/sui-vaults/utils/deployment-parser.js +1 -5
  339. package/dist/src/sui-vaults/utils/index.d.ts +2 -2
  340. package/dist/src/sui-vaults/utils/index.js +2 -18
  341. package/package.json +28 -14
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { EvmContracts } from "./evm-contracts";
12
+ import type { EvmContracts } from "./evm-contracts.js";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Asset } from "./asset";
12
+ import type { Asset } from "./asset.js";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -9,12 +9,12 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Borrowed } from "./borrowed";
13
- import type { Lp } from "./lp";
14
- import type { Perps } from "./perps";
15
- import type { Protocol } from "./protocol";
16
- import type { Reward } from "./reward";
17
- import type { Supplied } from "./supplied";
12
+ import type { Borrowed } from "./borrowed.js";
13
+ import type { Lp } from "./lp.js";
14
+ import type { Perps } from "./perps.js";
15
+ import type { Protocol } from "./protocol.js";
16
+ import type { Reward } from "./reward.js";
17
+ import type { Supplied } from "./supplied.js";
18
18
  /**
19
19
  *
20
20
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ExposureCoin } from "./exposure-coin";
13
- import type { ExposureProtocol } from "./exposure-protocol";
12
+ import type { ExposureCoin } from "./exposure-coin.js";
13
+ import type { ExposureProtocol } from "./exposure-protocol.js";
14
14
  /**
15
15
  *
16
16
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Asset } from "./asset";
12
+ import type { Asset } from "./asset.js";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,4 +11,4 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
14
+ export {};
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,14 +11,12 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.HistoryInterval = void 0;
17
14
  /**
18
15
  *
19
16
  * @export
20
17
  * @enum {string}
21
18
  */
22
- exports.HistoryInterval = {
19
+ export const HistoryInterval = {
23
20
  _1h: "1h",
24
21
  _1d: "1d",
25
22
  _1w: "1w",
@@ -1,100 +1,100 @@
1
- export * from "./account-transaction";
2
- export * from "./account-transaction-transaction-data";
3
- export * from "./account-vault-position-history";
4
- export * from "./account-withdrawal-request";
5
- export * from "./aggregated-account-position-history";
6
- export * from "./aggregated-proof-of-capital-report";
7
- export * from "./apy-averages";
8
- export * from "./apy-history";
9
- export * from "./apy-history-response";
10
- export * from "./apy-period-average";
11
- export * from "./asset";
12
- export * from "./borrowed";
13
- export * from "./chain";
14
- export * from "./chain-vault-details";
15
- export * from "./coin-price";
16
- export * from "./deposit-transaction";
17
- export * from "./ember-position";
18
- export * from "./evm-contracts";
19
- export * from "./evm-deposit-token";
20
- export * from "./evm-price-feed";
21
- export * from "./evm-protocol-config";
22
- export * from "./evm-protocol-info";
23
- export * from "./evm-receipt-token";
24
- export * from "./evm-vault";
25
- export * from "./exposure";
26
- export * from "./exposure-coin";
27
- export * from "./exposure-protocol";
28
- export * from "./fee";
29
- export * from "./fees";
30
- export * from "./history-interval";
31
- export * from "./lp";
32
- export * from "./manager";
33
- export * from "./min-withdrawal-shares-updated-event";
34
- export * from "./perps";
35
- export * from "./pnl-by-chain";
36
- export * from "./pnl-history";
37
- export * from "./pnl-history-interval";
38
- export * from "./poc-report-asset";
39
- export * from "./poc-report-assets";
40
- export * from "./poc-report-exchange";
41
- export * from "./poc-report-exchanges";
42
- export * from "./poc-report-protocol";
43
- export * from "./poc-report-token";
44
- export * from "./poc-report-wallet";
45
- export * from "./poc-report-wallets";
46
- export * from "./position";
47
- export * from "./position-history-interval";
48
- export * from "./position-value";
49
- export * from "./process-requests-summary-event";
50
- export * from "./proof-of-capital-report";
51
- export * from "./proof-of-capital-report-status";
52
- export * from "./protocol";
53
- export * from "./protocol-fee-collected-event";
54
- export * from "./protocol-pnl-history";
55
- export * from "./protocol-tvl-history";
56
- export * from "./raw-event";
57
- export * from "./raw-event-event-data";
58
- export * from "./redeem-request-cancelled-transaction";
59
- export * from "./redeem-request-processed-transaction";
60
- export * from "./redeem-request-skipped-transaction";
61
- export * from "./redeem-request-transaction";
62
- export * from "./reported-apy";
63
- export * from "./request-processed-event";
64
- export * from "./request-redeemed-event";
65
- export * from "./reward";
66
- export * from "./reward-token";
67
- export * from "./share-price-history";
68
- export * from "./strategy";
69
- export * from "./strategy-account";
70
- export * from "./sub-account";
71
- export * from "./sui-protocol-info";
72
- export * from "./supplied";
73
- export * from "./tag";
74
- export * from "./tvl-by-chain";
75
- export * from "./tvl-history";
76
- export * from "./ultra-coin-info";
77
- export * from "./update-vault-strategies";
78
- export * from "./vault-admin-changed-event";
79
- export * from "./vault-created-event";
80
- export * from "./vault-deposit-eligibility";
81
- export * from "./vault-deposit-event";
82
- export * from "./vault-deposit-without-minting-shares-event";
83
- export * from "./vault-detail";
84
- export * from "./vault-fee-percentage-updated-event";
85
- export * from "./vault-info";
86
- export * from "./vault-max-tvl-updated-event";
87
- export * from "./vault-operator-changed-event";
88
- export * from "./vault-paused-status-updated-event";
89
- export * from "./vault-platform-fee-charged-event";
90
- export * from "./vault-proof-of-capital-summary";
91
- export * from "./vault-protocol";
92
- export * from "./vault-rate-updated-event";
93
- export * from "./vault-slice";
94
- export * from "./vault-sub-account-updated-event";
95
- export * from "./vault-tag";
96
- export * from "./vault-withdrawal-without-redeeming-shares-event";
97
- export * from "./vaults-deployment-config";
98
- export * from "./vaults-deployment-config-config";
99
- export * from "./vaults-stats";
100
- export * from "./yield-aggregate-value";
1
+ export * from "./account-transaction.js";
2
+ export * from "./account-transaction-transaction-data.js";
3
+ export * from "./account-vault-position-history.js";
4
+ export * from "./account-withdrawal-request.js";
5
+ export * from "./aggregated-account-position-history.js";
6
+ export * from "./aggregated-proof-of-capital-report.js";
7
+ export * from "./apy-averages.js";
8
+ export * from "./apy-history.js";
9
+ export * from "./apy-history-response.js";
10
+ export * from "./apy-period-average.js";
11
+ export * from "./asset.js";
12
+ export * from "./borrowed.js";
13
+ export * from "./chain.js";
14
+ export * from "./chain-vault-details.js";
15
+ export * from "./coin-price.js";
16
+ export * from "./deposit-transaction.js";
17
+ export * from "./ember-position.js";
18
+ export * from "./evm-contracts.js";
19
+ export * from "./evm-deposit-token.js";
20
+ export * from "./evm-price-feed.js";
21
+ export * from "./evm-protocol-config.js";
22
+ export * from "./evm-protocol-info.js";
23
+ export * from "./evm-receipt-token.js";
24
+ export * from "./evm-vault.js";
25
+ export * from "./exposure.js";
26
+ export * from "./exposure-coin.js";
27
+ export * from "./exposure-protocol.js";
28
+ export * from "./fee.js";
29
+ export * from "./fees.js";
30
+ export * from "./history-interval.js";
31
+ export * from "./lp.js";
32
+ export * from "./manager.js";
33
+ export * from "./min-withdrawal-shares-updated-event.js";
34
+ export * from "./perps.js";
35
+ export * from "./pnl-by-chain.js";
36
+ export * from "./pnl-history.js";
37
+ export * from "./pnl-history-interval.js";
38
+ export * from "./poc-report-asset.js";
39
+ export * from "./poc-report-assets.js";
40
+ export * from "./poc-report-exchange.js";
41
+ export * from "./poc-report-exchanges.js";
42
+ export * from "./poc-report-protocol.js";
43
+ export * from "./poc-report-token.js";
44
+ export * from "./poc-report-wallet.js";
45
+ export * from "./poc-report-wallets.js";
46
+ export * from "./position.js";
47
+ export * from "./position-history-interval.js";
48
+ export * from "./position-value.js";
49
+ export * from "./process-requests-summary-event.js";
50
+ export * from "./proof-of-capital-report.js";
51
+ export * from "./proof-of-capital-report-status.js";
52
+ export * from "./protocol.js";
53
+ export * from "./protocol-fee-collected-event.js";
54
+ export * from "./protocol-pnl-history.js";
55
+ export * from "./protocol-tvl-history.js";
56
+ export * from "./raw-event.js";
57
+ export * from "./raw-event-event-data.js";
58
+ export * from "./redeem-request-cancelled-transaction.js";
59
+ export * from "./redeem-request-processed-transaction.js";
60
+ export * from "./redeem-request-skipped-transaction.js";
61
+ export * from "./redeem-request-transaction.js";
62
+ export * from "./reported-apy.js";
63
+ export * from "./request-processed-event.js";
64
+ export * from "./request-redeemed-event.js";
65
+ export * from "./reward.js";
66
+ export * from "./reward-token.js";
67
+ export * from "./share-price-history.js";
68
+ export * from "./strategy.js";
69
+ export * from "./strategy-account.js";
70
+ export * from "./sub-account.js";
71
+ export * from "./sui-protocol-info.js";
72
+ export * from "./supplied.js";
73
+ export * from "./tag.js";
74
+ export * from "./tvl-by-chain.js";
75
+ export * from "./tvl-history.js";
76
+ export * from "./ultra-coin-info.js";
77
+ export * from "./update-vault-strategies.js";
78
+ export * from "./vault-admin-changed-event.js";
79
+ export * from "./vault-created-event.js";
80
+ export * from "./vault-deposit-eligibility.js";
81
+ export * from "./vault-deposit-event.js";
82
+ export * from "./vault-deposit-without-minting-shares-event.js";
83
+ export * from "./vault-detail.js";
84
+ export * from "./vault-fee-percentage-updated-event.js";
85
+ export * from "./vault-info.js";
86
+ export * from "./vault-max-tvl-updated-event.js";
87
+ export * from "./vault-operator-changed-event.js";
88
+ export * from "./vault-paused-status-updated-event.js";
89
+ export * from "./vault-platform-fee-charged-event.js";
90
+ export * from "./vault-proof-of-capital-summary.js";
91
+ export * from "./vault-protocol.js";
92
+ export * from "./vault-rate-updated-event.js";
93
+ export * from "./vault-slice.js";
94
+ export * from "./vault-sub-account-updated-event.js";
95
+ export * from "./vault-tag.js";
96
+ export * from "./vault-withdrawal-without-redeeming-shares-event.js";
97
+ export * from "./vaults-deployment-config.js";
98
+ export * from "./vaults-deployment-config-config.js";
99
+ export * from "./vaults-stats.js";
100
+ export * from "./yield-aggregate-value.js";