@ember-finance/sdk 2.5.0-pre.8 → 2.5.0

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 (92) hide show
  1. package/dist/src/abis/ERC20Token.json +2 -2
  2. package/dist/src/abis/EmberETHVault.json +5 -279
  3. package/dist/src/abis/EmberProtocolConfig.json +2 -170
  4. package/dist/src/abis/EmberVault.json +2 -2
  5. package/dist/src/abis/EmberVaultMintBurnOFTAdapter.json +2 -43
  6. package/dist/src/api/models/poc-report-asset.d.ts +6 -0
  7. package/dist/src/api/models/poc-report-protocol.d.ts +30 -0
  8. package/dist/src/api/models/poc-report-token.d.ts +36 -0
  9. package/dist/src/api/models/poc-report-wallet.d.ts +10 -4
  10. package/dist/src/api/v2/apis/accounts-api.d.ts +0 -5
  11. package/dist/src/api/v2/apis/accounts-api.js +1 -6
  12. package/dist/src/api/v2/apis/vaults-api.d.ts +43 -16
  13. package/dist/src/api/v2/apis/vaults-api.js +84 -21
  14. package/dist/src/api/v2/models/account-transaction-transaction-data.d.ts +1 -5
  15. package/dist/src/api/v2/models/account-transaction.d.ts +0 -5
  16. package/dist/src/api/v2/models/account-transaction.js +1 -6
  17. package/dist/src/api/v2/models/chain-vault-details.d.ts +13 -14
  18. package/dist/src/api/v2/models/chain-vault-details.js +6 -1
  19. package/dist/src/api/v2/models/evm-contracts.d.ts +0 -16
  20. package/dist/src/api/v2/models/index.d.ts +4 -9
  21. package/dist/src/api/v2/models/index.js +4 -9
  22. package/dist/src/api/v2/models/poc-report-asset.d.ts +6 -0
  23. package/dist/src/api/v2/models/poc-report-protocol.d.ts +30 -0
  24. package/dist/src/api/v2/models/poc-report-token.d.ts +36 -0
  25. package/dist/src/api/v2/models/poc-report-wallet.d.ts +10 -4
  26. package/dist/src/api/v2/models/transparency-group.d.ts +55 -0
  27. package/dist/src/api/v2/models/transparency-row.d.ts +138 -0
  28. package/dist/src/api/v2/models/{fee-multiplier-tier.js → transparency-row.js} +10 -1
  29. package/dist/src/api/v2/models/transparency-view.d.ts +22 -0
  30. package/dist/src/api/v2/models/{evm-atomic-vault.js → transparency-view.js} +10 -1
  31. package/dist/src/api/v2/models/vault-detail.d.ts +0 -11
  32. package/dist/src/api/v2/models/vault-detail.js +0 -4
  33. package/dist/src/api/v2/models/vault-transparency-report.d.ts +82 -0
  34. package/dist/src/ember-vaults.d.ts +1 -2
  35. package/dist/src/evm-vaults/interfaces/index.d.ts +8 -0
  36. package/dist/src/evm-vaults/on-chain-calls/index.d.ts +0 -1
  37. package/dist/src/evm-vaults/on-chain-calls/index.js +0 -1
  38. package/dist/src/evm-vaults/on-chain-calls/onchain-calls.js +4 -1
  39. package/dist/src/evm-vaults/on-chain-calls/operator.d.ts +0 -10
  40. package/dist/src/evm-vaults/on-chain-calls/operator.js +0 -28
  41. package/dist/src/evm-vaults/on-chain-calls/tx-builder.d.ts +0 -109
  42. package/dist/src/evm-vaults/on-chain-calls/tx-builder.js +0 -281
  43. package/dist/src/evm-vaults/on-chain-calls/user.d.ts +0 -50
  44. package/dist/src/evm-vaults/on-chain-calls/user.js +0 -75
  45. package/dist/src/evm-vaults/on-chain-calls/vault-admin.d.ts +0 -55
  46. package/dist/src/evm-vaults/on-chain-calls/vault-admin.js +0 -122
  47. package/dist/src/evm-vaults/on-chain-calls/vault-reader.d.ts +0 -6
  48. package/dist/src/evm-vaults/on-chain-calls/vault-reader.js +0 -9
  49. package/dist/src/evm-vaults/utils/deployment-parser.d.ts +0 -8
  50. package/dist/src/evm-vaults/utils/deployment-parser.js +0 -11
  51. package/dist/src/sui-vaults/interfaces/index.d.ts +0 -15
  52. package/dist/src/sui-vaults/on-chain-calls/admin.d.ts +1 -37
  53. package/dist/src/sui-vaults/on-chain-calls/admin.js +0 -56
  54. package/dist/src/sui-vaults/on-chain-calls/index.d.ts +0 -1
  55. package/dist/src/sui-vaults/on-chain-calls/index.js +0 -1
  56. package/dist/src/sui-vaults/on-chain-calls/onchain-calls.d.ts +1 -2
  57. package/dist/src/sui-vaults/on-chain-calls/operator.d.ts +1 -129
  58. package/dist/src/sui-vaults/on-chain-calls/operator.js +0 -210
  59. package/dist/src/sui-vaults/on-chain-calls/tx-builder.d.ts +0 -482
  60. package/dist/src/sui-vaults/on-chain-calls/tx-builder.js +0 -1430
  61. package/dist/src/sui-vaults/on-chain-calls/user.d.ts +1 -107
  62. package/dist/src/sui-vaults/on-chain-calls/user.js +0 -190
  63. package/dist/src/sui-vaults/on-chain-calls/vault-admin.d.ts +1 -229
  64. package/dist/src/sui-vaults/on-chain-calls/vault-admin.js +0 -391
  65. package/dist/src/sui-vaults/on-chain-calls/vault.d.ts +1 -2
  66. package/dist/src/sui-vaults/utils/common.d.ts +1 -2
  67. package/dist/src/sui-vaults/utils/deployment-parser.d.ts +0 -12
  68. package/dist/src/sui-vaults/utils/deployment-parser.js +0 -24
  69. package/package.json +2 -3
  70. package/dist/src/abis/AtomicLiquidity.json +0 -4050
  71. package/dist/src/api/v2/models/escrow-claim-transaction.d.ts +0 -56
  72. package/dist/src/api/v2/models/evm-atomic-liquidity-lib.d.ts +0 -48
  73. package/dist/src/api/v2/models/evm-atomic-vault.d.ts +0 -102
  74. package/dist/src/api/v2/models/fee-multiplier-tier.d.ts +0 -30
  75. package/dist/src/api/v2/models/holdback-release-transaction.d.ts +0 -56
  76. package/dist/src/api/v2/models/holdback-release-transaction.js +0 -14
  77. package/dist/src/api/v2/models/instant-withdraw-config.d.ts +0 -109
  78. package/dist/src/api/v2/models/instant-withdraw-config.js +0 -14
  79. package/dist/src/api/v2/models/instant-withdraw-transaction.d.ts +0 -74
  80. package/dist/src/api/v2/models/instant-withdraw-transaction.js +0 -14
  81. package/dist/src/api/v2/models/instant-withdraw-via-swap-transaction.d.ts +0 -74
  82. package/dist/src/api/v2/models/instant-withdraw-via-swap-transaction.js +0 -14
  83. package/dist/src/api/v2/models/supported-ember-vault.d.ts +0 -42
  84. package/dist/src/api/v2/models/supported-ember-vault.js +0 -14
  85. package/dist/src/atomic/instant-withdraw.d.ts +0 -125
  86. package/dist/src/atomic/instant-withdraw.js +0 -122
  87. package/dist/src/evm-vaults/on-chain-calls/atomic-liquidity.d.ts +0 -98
  88. package/dist/src/evm-vaults/on-chain-calls/atomic-liquidity.js +0 -212
  89. package/dist/src/sui-vaults/on-chain-calls/atomic-liquidity.d.ts +0 -62
  90. package/dist/src/sui-vaults/on-chain-calls/atomic-liquidity.js +0 -174
  91. /package/dist/src/api/v2/models/{escrow-claim-transaction.js → transparency-group.js} +0 -0
  92. /package/dist/src/api/v2/models/{evm-atomic-liquidity-lib.js → vault-transparency-report.js} +0 -0
@@ -462,6 +462,42 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
462
462
  options: localVarRequestOptions
463
463
  };
464
464
  },
465
+ /**
466
+ * Returns the vault\'s active proof of capital report flattened into one row per position, with every grouping dimension attached (category, chain, chain type, wallet, protocol, asset). The frontend pivots the same rows into different views: group by chain then protocol for the exposure snapshot, by wallet for the wallet view, or by asset for an asset-first breakdown. Header aggregates and the chain-type split are included so the summary and donut need not be recomputed client-side.
467
+ * @summary Get the vault\'s proof of capital as flat exposure rows
468
+ * @param {string} vaultId The id of the vault
469
+ * @param {TransparencyView} [view] Which grouping the `groups` array should use. Defaults to `chains`. `rows` is unaffected and always returned, so a client that wants a different pivot can build it itself.
470
+ * @param {*} [options] Override http request option.
471
+ * @throws {RequiredError}
472
+ */
473
+ getVaultTransparency: async (vaultId, view, options = {}) => {
474
+ // verify required parameter 'vaultId' is not null or undefined
475
+ assertParamExists("getVaultTransparency", "vaultId", vaultId);
476
+ const localVarPath = `/api/v2/vaults/poc/{vaultId}/transparency`.replace(`{${"vaultId"}}`, encodeURIComponent(String(vaultId)));
477
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
478
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
479
+ let baseOptions;
480
+ if (configuration) {
481
+ baseOptions = configuration.baseOptions;
482
+ }
483
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
484
+ const localVarHeaderParameter = {};
485
+ const localVarQueryParameter = {};
486
+ if (view !== undefined) {
487
+ localVarQueryParameter["view"] = view;
488
+ }
489
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
490
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
491
+ localVarRequestOptions.headers = {
492
+ ...localVarHeaderParameter,
493
+ ...headersFromBaseOptions,
494
+ ...options.headers
495
+ };
496
+ return {
497
+ url: toPathString(localVarUrlObj),
498
+ options: localVarRequestOptions
499
+ };
500
+ },
465
501
  /**
466
502
  *
467
503
  * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -509,11 +545,10 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
509
545
  * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
510
546
  * @param {string} [chain] The identifier of the chain
511
547
  * @param {boolean} [includeHidden] Whether to include hidden vaults
512
- * @param {GetVaultsVaultTypeEnum} [vaultType] Filter vaults by flavor. When omitted, all vaults are returned (tokenized + atomic). Pass ATOMIC to return only atomic (atomic-liquidity) vaults, or TOKENIZED for only tokenized vaults.
513
548
  * @param {*} [options] Override http request option.
514
549
  * @throws {RequiredError}
515
550
  */
516
- getVaults: async (vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options = {}) => {
551
+ getVaults: async (vaultId, receiptCoinSymbol, chain, includeHidden, options = {}) => {
517
552
  const localVarPath = `/api/v2/vaults`;
518
553
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
519
554
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -536,9 +571,6 @@ export const VaultsApiAxiosParamCreator = function (configuration) {
536
571
  if (includeHidden !== undefined) {
537
572
  localVarQueryParameter["includeHidden"] = includeHidden;
538
573
  }
539
- if (vaultType !== undefined) {
540
- localVarQueryParameter["vaultType"] = vaultType;
541
- }
542
574
  setSearchParams(localVarUrlObj, localVarQueryParameter);
543
575
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
544
576
  localVarRequestOptions.headers = {
@@ -786,6 +818,20 @@ export const VaultsApiFp = function (configuration) {
786
818
  const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultSharePriceHistory"]?.[localVarOperationServerIndex]?.url;
787
819
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
788
820
  },
821
+ /**
822
+ * Returns the vault\'s active proof of capital report flattened into one row per position, with every grouping dimension attached (category, chain, chain type, wallet, protocol, asset). The frontend pivots the same rows into different views: group by chain then protocol for the exposure snapshot, by wallet for the wallet view, or by asset for an asset-first breakdown. Header aggregates and the chain-type split are included so the summary and donut need not be recomputed client-side.
823
+ * @summary Get the vault\'s proof of capital as flat exposure rows
824
+ * @param {string} vaultId The id of the vault
825
+ * @param {TransparencyView} [view] Which grouping the `groups` array should use. Defaults to `chains`. `rows` is unaffected and always returned, so a client that wants a different pivot can build it itself.
826
+ * @param {*} [options] Override http request option.
827
+ * @throws {RequiredError}
828
+ */
829
+ async getVaultTransparency(vaultId, view, options) {
830
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultTransparency(vaultId, view, options);
831
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
832
+ const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaultTransparency"]?.[localVarOperationServerIndex]?.url;
833
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
834
+ },
789
835
  /**
790
836
  *
791
837
  * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -808,12 +854,11 @@ export const VaultsApiFp = function (configuration) {
808
854
  * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
809
855
  * @param {string} [chain] The identifier of the chain
810
856
  * @param {boolean} [includeHidden] Whether to include hidden vaults
811
- * @param {GetVaultsVaultTypeEnum} [vaultType] Filter vaults by flavor. When omitted, all vaults are returned (tokenized + atomic). Pass ATOMIC to return only atomic (atomic-liquidity) vaults, or TOKENIZED for only tokenized vaults.
812
857
  * @param {*} [options] Override http request option.
813
858
  * @throws {RequiredError}
814
859
  */
815
- async getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options) {
816
- const localVarAxiosArgs = await localVarAxiosParamCreator.getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options);
860
+ async getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, options) {
861
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, options);
817
862
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
818
863
  const localVarOperationServerBasePath = operationServerMap["VaultsApi.getVaults"]?.[localVarOperationServerIndex]
819
864
  ?.url;
@@ -1006,6 +1051,19 @@ export const VaultsApiFactory = function (configuration, basePath, axios) {
1006
1051
  .getVaultSharePriceHistory(vaultId, limit, interval, options)
1007
1052
  .then(request => request(axios, basePath));
1008
1053
  },
1054
+ /**
1055
+ * Returns the vault\'s active proof of capital report flattened into one row per position, with every grouping dimension attached (category, chain, chain type, wallet, protocol, asset). The frontend pivots the same rows into different views: group by chain then protocol for the exposure snapshot, by wallet for the wallet view, or by asset for an asset-first breakdown. Header aggregates and the chain-type split are included so the summary and donut need not be recomputed client-side.
1056
+ * @summary Get the vault\'s proof of capital as flat exposure rows
1057
+ * @param {string} vaultId The id of the vault
1058
+ * @param {TransparencyView} [view] Which grouping the `groups` array should use. Defaults to `chains`. `rows` is unaffected and always returned, so a client that wants a different pivot can build it itself.
1059
+ * @param {*} [options] Override http request option.
1060
+ * @throws {RequiredError}
1061
+ */
1062
+ getVaultTransparency(vaultId, view, options) {
1063
+ return localVarFp
1064
+ .getVaultTransparency(vaultId, view, options)
1065
+ .then(request => request(axios, basePath));
1066
+ },
1009
1067
  /**
1010
1068
  *
1011
1069
  * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -1027,13 +1085,12 @@ export const VaultsApiFactory = function (configuration, basePath, axios) {
1027
1085
  * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
1028
1086
  * @param {string} [chain] The identifier of the chain
1029
1087
  * @param {boolean} [includeHidden] Whether to include hidden vaults
1030
- * @param {GetVaultsVaultTypeEnum} [vaultType] Filter vaults by flavor. When omitted, all vaults are returned (tokenized + atomic). Pass ATOMIC to return only atomic (atomic-liquidity) vaults, or TOKENIZED for only tokenized vaults.
1031
1088
  * @param {*} [options] Override http request option.
1032
1089
  * @throws {RequiredError}
1033
1090
  */
1034
- getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options) {
1091
+ getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, options) {
1035
1092
  return localVarFp
1036
- .getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options)
1093
+ .getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, options)
1037
1094
  .then(request => request(axios, basePath));
1038
1095
  },
1039
1096
  /**
@@ -1233,6 +1290,20 @@ export class VaultsApi extends BaseAPI {
1233
1290
  .getVaultSharePriceHistory(vaultId, limit, interval, options)
1234
1291
  .then(request => request(this.axios, this.basePath));
1235
1292
  }
1293
+ /**
1294
+ * Returns the vault\'s active proof of capital report flattened into one row per position, with every grouping dimension attached (category, chain, chain type, wallet, protocol, asset). The frontend pivots the same rows into different views: group by chain then protocol for the exposure snapshot, by wallet for the wallet view, or by asset for an asset-first breakdown. Header aggregates and the chain-type split are included so the summary and donut need not be recomputed client-side.
1295
+ * @summary Get the vault\'s proof of capital as flat exposure rows
1296
+ * @param {string} vaultId The id of the vault
1297
+ * @param {TransparencyView} [view] Which grouping the `groups` array should use. Defaults to `chains`. `rows` is unaffected and always returned, so a client that wants a different pivot can build it itself.
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ * @memberof VaultsApi
1301
+ */
1302
+ getVaultTransparency(vaultId, view, options) {
1303
+ return VaultsApiFp(this.configuration)
1304
+ .getVaultTransparency(vaultId, view, options)
1305
+ .then(request => request(this.axios, this.basePath));
1306
+ }
1236
1307
  /**
1237
1308
  *
1238
1309
  * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -1255,14 +1326,13 @@ export class VaultsApi extends BaseAPI {
1255
1326
  * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
1256
1327
  * @param {string} [chain] The identifier of the chain
1257
1328
  * @param {boolean} [includeHidden] Whether to include hidden vaults
1258
- * @param {GetVaultsVaultTypeEnum} [vaultType] Filter vaults by flavor. When omitted, all vaults are returned (tokenized + atomic). Pass ATOMIC to return only atomic (atomic-liquidity) vaults, or TOKENIZED for only tokenized vaults.
1259
1329
  * @param {*} [options] Override http request option.
1260
1330
  * @throws {RequiredError}
1261
1331
  * @memberof VaultsApi
1262
1332
  */
1263
- getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options) {
1333
+ getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, options) {
1264
1334
  return VaultsApiFp(this.configuration)
1265
- .getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, vaultType, options)
1335
+ .getVaults(vaultId, receiptCoinSymbol, chain, includeHidden, options)
1266
1336
  .then(request => request(this.axios, this.basePath));
1267
1337
  }
1268
1338
  /**
@@ -1290,10 +1360,3 @@ export class VaultsApi extends BaseAPI {
1290
1360
  .then(request => request(this.axios, this.basePath));
1291
1361
  }
1292
1362
  }
1293
- /**
1294
- * @export
1295
- */
1296
- export const GetVaultsVaultTypeEnum = {
1297
- Tokenized: "TOKENIZED",
1298
- Atomic: "ATOMIC"
1299
- };
@@ -10,10 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { DepositTransaction } from "./deposit-transaction.js";
13
- import type { EscrowClaimTransaction } from "./escrow-claim-transaction.js";
14
- import type { HoldbackReleaseTransaction } from "./holdback-release-transaction.js";
15
- import type { InstantWithdrawTransaction } from "./instant-withdraw-transaction.js";
16
- import type { InstantWithdrawViaSwapTransaction } from "./instant-withdraw-via-swap-transaction.js";
17
13
  import type { ParkingLotDepositTransaction } from "./parking-lot-deposit-transaction.js";
18
14
  import type { RedeemRequestCancelledTransaction } from "./redeem-request-cancelled-transaction.js";
19
15
  import type { RedeemRequestProcessedTransaction } from "./redeem-request-processed-transaction.js";
@@ -24,4 +20,4 @@ import type { RedeemRequestTransaction } from "./redeem-request-transaction.js";
24
20
  * The data of the transaction
25
21
  * @export
26
22
  */
27
- export type AccountTransactionTransactionData = DepositTransaction | EscrowClaimTransaction | HoldbackReleaseTransaction | InstantWithdrawTransaction | InstantWithdrawViaSwapTransaction | ParkingLotDepositTransaction | RedeemRequestCancelledTransaction | RedeemRequestProcessedTransaction | RedeemRequestSkippedTransaction | RedeemRequestTransaction;
23
+ export type AccountTransactionTransactionData = DepositTransaction | ParkingLotDepositTransaction | RedeemRequestCancelledTransaction | RedeemRequestProcessedTransaction | RedeemRequestSkippedTransaction | RedeemRequestTransaction;
@@ -46,10 +46,5 @@ export declare const AccountTransactionTransactionTypeEnum: {
46
46
  readonly RedeemRequestProcessed: "RedeemRequestProcessed";
47
47
  readonly RedeemRequestSkipped: "RedeemRequestSkipped";
48
48
  readonly RedeemRequestCancelled: "RedeemRequestCancelled";
49
- readonly InstantWithdraw: "InstantWithdraw";
50
- readonly InstantWithdrawViaSwap: "InstantWithdrawViaSwap";
51
- readonly InstantWithdrawSwapHoldbackRelease: "InstantWithdrawSwapHoldbackRelease";
52
- readonly HoldbackClaimed: "HoldbackClaimed";
53
- readonly WithdrawalClaimed: "WithdrawalClaimed";
54
49
  };
55
50
  export type AccountTransactionTransactionTypeEnum = (typeof AccountTransactionTransactionTypeEnum)[keyof typeof AccountTransactionTransactionTypeEnum];
@@ -21,10 +21,5 @@ export const AccountTransactionTransactionTypeEnum = {
21
21
  RedeemRequest: "RedeemRequest",
22
22
  RedeemRequestProcessed: "RedeemRequestProcessed",
23
23
  RedeemRequestSkipped: "RedeemRequestSkipped",
24
- RedeemRequestCancelled: "RedeemRequestCancelled",
25
- InstantWithdraw: "InstantWithdraw",
26
- InstantWithdrawViaSwap: "InstantWithdrawViaSwap",
27
- InstantWithdrawSwapHoldbackRelease: "InstantWithdrawSwapHoldbackRelease",
28
- HoldbackClaimed: "HoldbackClaimed",
29
- WithdrawalClaimed: "WithdrawalClaimed"
24
+ RedeemRequestCancelled: "RedeemRequestCancelled"
30
25
  };
@@ -10,9 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Asset } from "./asset.js";
13
- import type { InstantWithdrawConfig } from "./instant-withdraw-config.js";
14
13
  import type { SubAccount } from "./sub-account.js";
15
- import type { SupportedEmberVault } from "./supported-ember-vault.js";
16
14
  import type { VaultParkingLotInfo } from "./vault-parking-lot-info.js";
17
15
  /**
18
16
  *
@@ -44,18 +42,6 @@ export interface ChainVaultDetails {
44
42
  * @memberof ChainVaultDetails
45
43
  */
46
44
  baseDepositCoin: Asset;
47
- /**
48
- * For EMBER/source vaults that an atomic facility supports: the instant-withdraw (swap-with-holdback) terms offered for this vault\'s shares, one entry per atomic facility. Omitted for vaults with no instant-withdraw offering (incl. atomic vaults themselves).
49
- * @type {Array<InstantWithdrawConfig>}
50
- * @memberof ChainVaultDetails
51
- */
52
- instantWithdrawConfig?: Array<InstantWithdrawConfig>;
53
- /**
54
- * For ATOMIC vaults: the ember/source vaults this facility supports for instant withdrawal (minimal refs; the terms live on each ember vault\'s instantWithdrawConfig). Omitted for non-atomic vaults.
55
- * @type {Array<SupportedEmberVault>}
56
- * @memberof ChainVaultDetails
57
- */
58
- supportedEmberVaults?: Array<SupportedEmberVault>;
59
45
  /**
60
46
  *
61
47
  * @type {Asset}
@@ -110,6 +96,12 @@ export interface ChainVaultDetails {
110
96
  * @memberof ChainVaultDetails
111
97
  */
112
98
  covered: boolean;
99
+ /**
100
+ * Per-chain lifecycle status of this vault deployment
101
+ * @type {string}
102
+ * @memberof ChainVaultDetails
103
+ */
104
+ status: ChainVaultDetailsStatusEnum;
113
105
  /**
114
106
  * True if this on-chain vault gates deposits through a parking lot (async deposits) — i.e. it has an active deposit parking lot. Only set for EVM vaults; always false/absent for Sui. Convenience flag equivalent to `parkingLot != null`.
115
107
  * @type {boolean}
@@ -123,3 +115,10 @@ export interface ChainVaultDetails {
123
115
  */
124
116
  parkingLot?: VaultParkingLotInfo;
125
117
  }
118
+ export declare const ChainVaultDetailsStatusEnum: {
119
+ readonly Active: "active";
120
+ readonly Paused: "paused";
121
+ readonly Deprecated: "deprecated";
122
+ readonly Beta: "beta";
123
+ };
124
+ export type ChainVaultDetailsStatusEnum = (typeof ChainVaultDetailsStatusEnum)[keyof typeof ChainVaultDetailsStatusEnum];
@@ -11,4 +11,9 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export {};
14
+ export const ChainVaultDetailsStatusEnum = {
15
+ Active: "active",
16
+ Paused: "paused",
17
+ Deprecated: "deprecated",
18
+ Beta: "beta"
19
+ };
@@ -9,8 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { EvmAtomicLiquidityLib } from "./evm-atomic-liquidity-lib.js";
13
- import type { EvmAtomicVault } from "./evm-atomic-vault.js";
14
12
  import type { EvmDepositParkingLot } from "./evm-deposit-parking-lot.js";
15
13
  import type { EvmDepositToken } from "./evm-deposit-token.js";
16
14
  import type { EvmOFTAdapter } from "./evm-oftadapter.js";
@@ -94,18 +92,4 @@ export interface EvmContracts {
94
92
  timelocks?: {
95
93
  [key: string]: EvmTimelock;
96
94
  };
97
- /**
98
- *
99
- * @type {EvmAtomicLiquidityLib}
100
- * @memberof EvmContracts
101
- */
102
- atomicLiquidityLib?: EvmAtomicLiquidityLib;
103
- /**
104
- * Map of Atomic Liquidity Vaults by name
105
- * @type {{ [key: string]: EvmAtomicVault; }}
106
- * @memberof EvmContracts
107
- */
108
- atomicLiquidityVaults?: {
109
- [key: string]: EvmAtomicVault;
110
- };
111
95
  }
@@ -18,9 +18,6 @@ export * from "./coin-price.js";
18
18
  export * from "./defi-integration.js";
19
19
  export * from "./deposit-transaction.js";
20
20
  export * from "./ember-position.js";
21
- export * from "./escrow-claim-transaction.js";
22
- export * from "./evm-atomic-liquidity-lib.js";
23
- export * from "./evm-atomic-vault.js";
24
21
  export * from "./evm-contracts.js";
25
22
  export * from "./evm-deposit-parking-lot.js";
26
23
  export * from "./evm-deposit-token.js";
@@ -37,13 +34,8 @@ export * from "./exposure.js";
37
34
  export * from "./exposure-coin.js";
38
35
  export * from "./exposure-protocol.js";
39
36
  export * from "./fee.js";
40
- export * from "./fee-multiplier-tier.js";
41
37
  export * from "./fees.js";
42
38
  export * from "./history-interval.js";
43
- export * from "./holdback-release-transaction.js";
44
- export * from "./instant-withdraw-config.js";
45
- export * from "./instant-withdraw-transaction.js";
46
- export * from "./instant-withdraw-via-swap-transaction.js";
47
39
  export * from "./lp.js";
48
40
  export * from "./manager.js";
49
41
  export * from "./min-withdrawal-shares-updated-event.js";
@@ -87,8 +79,10 @@ export * from "./strategy-account.js";
87
79
  export * from "./sub-account.js";
88
80
  export * from "./sui-protocol-info.js";
89
81
  export * from "./supplied.js";
90
- export * from "./supported-ember-vault.js";
91
82
  export * from "./tag.js";
83
+ export * from "./transparency-group.js";
84
+ export * from "./transparency-row.js";
85
+ export * from "./transparency-view.js";
92
86
  export * from "./tvl-by-chain.js";
93
87
  export * from "./tvl-history.js";
94
88
  export * from "./ultra-coin-info.js";
@@ -112,6 +106,7 @@ export * from "./vault-rate-updated-event.js";
112
106
  export * from "./vault-slice.js";
113
107
  export * from "./vault-sub-account-updated-event.js";
114
108
  export * from "./vault-tag.js";
109
+ export * from "./vault-transparency-report.js";
115
110
  export * from "./vault-withdrawal-without-redeeming-shares-event.js";
116
111
  export * from "./vaults-deployment-config.js";
117
112
  export * from "./vaults-deployment-config-config.js";
@@ -18,9 +18,6 @@ export * from "./coin-price.js";
18
18
  export * from "./defi-integration.js";
19
19
  export * from "./deposit-transaction.js";
20
20
  export * from "./ember-position.js";
21
- export * from "./escrow-claim-transaction.js";
22
- export * from "./evm-atomic-liquidity-lib.js";
23
- export * from "./evm-atomic-vault.js";
24
21
  export * from "./evm-contracts.js";
25
22
  export * from "./evm-deposit-parking-lot.js";
26
23
  export * from "./evm-deposit-token.js";
@@ -37,13 +34,8 @@ export * from "./exposure.js";
37
34
  export * from "./exposure-coin.js";
38
35
  export * from "./exposure-protocol.js";
39
36
  export * from "./fee.js";
40
- export * from "./fee-multiplier-tier.js";
41
37
  export * from "./fees.js";
42
38
  export * from "./history-interval.js";
43
- export * from "./holdback-release-transaction.js";
44
- export * from "./instant-withdraw-config.js";
45
- export * from "./instant-withdraw-transaction.js";
46
- export * from "./instant-withdraw-via-swap-transaction.js";
47
39
  export * from "./lp.js";
48
40
  export * from "./manager.js";
49
41
  export * from "./min-withdrawal-shares-updated-event.js";
@@ -87,8 +79,10 @@ export * from "./strategy-account.js";
87
79
  export * from "./sub-account.js";
88
80
  export * from "./sui-protocol-info.js";
89
81
  export * from "./supplied.js";
90
- export * from "./supported-ember-vault.js";
91
82
  export * from "./tag.js";
83
+ export * from "./transparency-group.js";
84
+ export * from "./transparency-row.js";
85
+ export * from "./transparency-view.js";
92
86
  export * from "./tvl-by-chain.js";
93
87
  export * from "./tvl-history.js";
94
88
  export * from "./ultra-coin-info.js";
@@ -112,6 +106,7 @@ export * from "./vault-rate-updated-event.js";
112
106
  export * from "./vault-slice.js";
113
107
  export * from "./vault-sub-account-updated-event.js";
114
108
  export * from "./vault-tag.js";
109
+ export * from "./vault-transparency-report.js";
115
110
  export * from "./vault-withdrawal-without-redeeming-shares-event.js";
116
111
  export * from "./vaults-deployment-config.js";
117
112
  export * from "./vaults-deployment-config-config.js";
@@ -51,4 +51,10 @@ export interface PocReportAsset {
51
51
  * @memberof PocReportAsset
52
52
  */
53
53
  percentageE9: string;
54
+ /**
55
+ * The asset icon url, when known
56
+ * @type {string}
57
+ * @memberof PocReportAsset
58
+ */
59
+ logoUrl?: string;
54
60
  }
@@ -33,4 +33,34 @@ export interface PocReportProtocol {
33
33
  * @memberof PocReportProtocol
34
34
  */
35
35
  percentageE9: string;
36
+ /**
37
+ * The protocol icon url, when the data provider supplies one
38
+ * @type {string}
39
+ * @memberof PocReportProtocol
40
+ */
41
+ logoUrl?: string;
42
+ /**
43
+ * The protocol website url, for linking out of the UI
44
+ * @type {string}
45
+ * @memberof PocReportProtocol
46
+ */
47
+ websiteUrl?: string;
48
+ /**
49
+ * The chain this position is actually on, as reported by the data provider, rather than the chain of the wallet holding it. Positions are reported per protocol and chain, so the same protocol on two chains stays two entries.
50
+ * @type {string}
51
+ * @memberof PocReportProtocol
52
+ */
53
+ chain?: string;
54
+ /**
55
+ * The display name of the chain this position is on
56
+ * @type {string}
57
+ * @memberof PocReportProtocol
58
+ */
59
+ chainName?: string;
60
+ /**
61
+ * Chain icon as supplied by the data provider. Present for chains our own catalogue does not have a row for, so the UI can still show one.
62
+ * @type {string}
63
+ * @memberof PocReportProtocol
64
+ */
65
+ chainLogoUrl?: string;
36
66
  }
@@ -33,4 +33,40 @@ export interface PocReportToken {
33
33
  * @memberof PocReportToken
34
34
  */
35
35
  percentageE9: string;
36
+ /**
37
+ * The token icon url, when the data provider supplies one
38
+ * @type {string}
39
+ * @memberof PocReportToken
40
+ */
41
+ logoUrl?: string;
42
+ /**
43
+ * The asset symbol (e.g. USDC). Preferred over name when grouping by asset.
44
+ * @type {string}
45
+ * @memberof PocReportToken
46
+ */
47
+ symbol?: string;
48
+ /**
49
+ * The token contract address, when known
50
+ * @type {string}
51
+ * @memberof PocReportToken
52
+ */
53
+ address?: string;
54
+ /**
55
+ * The chain this holding is actually on, as reported by the data provider. This is the chain of the position, not of the wallet holding it — one wallet reports holdings on many chains. Absent when the provider did not say, in which case the wallet\'s chain is the best available answer.
56
+ * @type {string}
57
+ * @memberof PocReportToken
58
+ */
59
+ chain?: string;
60
+ /**
61
+ * The display name of the chain this holding is on
62
+ * @type {string}
63
+ * @memberof PocReportToken
64
+ */
65
+ chainName?: string;
66
+ /**
67
+ * Chain icon as supplied by the data provider. Present for chains our own catalogue does not have a row for, so the UI can still show one.
68
+ * @type {string}
69
+ * @memberof PocReportToken
70
+ */
71
+ chainLogoUrl?: string;
36
72
  }
@@ -24,17 +24,17 @@ export interface PocReportWallet {
24
24
  */
25
25
  name: string;
26
26
  /**
27
- * The blockchain network identifier (e.g., ethereum, sui)
27
+ * The chain the wallet is on, when it is on exactly one. Absent for accounts that are not chain-specific: an EVM address is indexed across every chain it touches, so no single chain describes it. When absent, read each position\'s own chain and treat a position without one as not attributed to a chain — do not substitute a chain here.
28
28
  * @type {string}
29
29
  * @memberof PocReportWallet
30
30
  */
31
- chain: string;
31
+ chain?: string;
32
32
  /**
33
- * The human-readable blockchain name (e.g., Ethereum, Sui)
33
+ * Display name of the wallet\'s chain. Absent whenever chain is absent.
34
34
  * @type {string}
35
35
  * @memberof PocReportWallet
36
36
  */
37
- chainName: string;
37
+ chainName?: string;
38
38
  /**
39
39
  * The wallet address
40
40
  * @type {string}
@@ -77,4 +77,10 @@ export interface PocReportWallet {
77
77
  * @memberof PocReportWallet
78
78
  */
79
79
  protocols?: Array<PocReportProtocol>;
80
+ /**
81
+ * Chain type of the account (EVM/SUI/SOLANA). Lets a consumer type a position whose specific chain is missing from the chains catalogue: every position under an EVM account is on some EVM chain, even one we have no row for.
82
+ * @type {string}
83
+ * @memberof PocReportWallet
84
+ */
85
+ chainType?: string;
80
86
  }
@@ -0,0 +1,55 @@
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: 2.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 { TransparencyRow } from "./transparency-row.js";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TransparencyGroup
17
+ */
18
+ export interface TransparencyGroup {
19
+ /**
20
+ * Stable identifier for the group: the chain identifier, the wallet address, or the asset symbol, depending on the view. Positions that cannot be attributed for the requested view are collected under a single group whose key starts with \"unattributed\".
21
+ * @type {string}
22
+ * @memberof TransparencyGroup
23
+ */
24
+ key: string;
25
+ /**
26
+ * Display name for the group (chain name, wallet name or asset symbol)
27
+ * @type {string}
28
+ * @memberof TransparencyGroup
29
+ */
30
+ label: string;
31
+ /**
32
+ * Icon for the group subject, when one is known
33
+ * @type {string}
34
+ * @memberof TransparencyGroup
35
+ */
36
+ logoUrl?: string;
37
+ /**
38
+ * Sum of the group\'s rows in e9 USD
39
+ * @type {string}
40
+ * @memberof TransparencyGroup
41
+ */
42
+ valueUsdE9: string;
43
+ /**
44
+ * The group\'s share of total exposure in e9
45
+ * @type {string}
46
+ * @memberof TransparencyGroup
47
+ */
48
+ percentageOfNavE9: string;
49
+ /**
50
+ * The positions in this group, ordered by value, largest first
51
+ * @type {Array<TransparencyRow>}
52
+ * @memberof TransparencyGroup
53
+ */
54
+ rows: Array<TransparencyRow>;
55
+ }