@ember-finance/sdk 1.0.10 → 1.0.12

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 (84) hide show
  1. package/dist/src/vaults/api/api.d.ts +2 -2
  2. package/dist/src/vaults/api/apis/accounts-api.d.ts +112 -89
  3. package/dist/src/vaults/api/apis/accounts-api.js +288 -82
  4. package/dist/src/vaults/api/apis/vaults-api.d.ts +17 -154
  5. package/dist/src/vaults/api/apis/vaults-api.js +220 -121
  6. package/dist/src/vaults/api/base.d.ts +2 -2
  7. package/dist/src/vaults/api/base.js +1 -2
  8. package/dist/src/vaults/api/common.d.ts +1 -1
  9. package/dist/src/vaults/api/common.js +17 -10
  10. package/dist/src/vaults/api/configuration.js +5 -4
  11. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +5 -5
  12. package/dist/src/vaults/api/models/account-transaction.d.ts +11 -14
  13. package/dist/src/vaults/api/models/account-transaction.js +7 -12
  14. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +23 -26
  15. package/dist/src/vaults/api/models/account-withdrawal-request.js +8 -13
  16. package/dist/src/vaults/api/models/apy-history.d.ts +4 -4
  17. package/dist/src/vaults/api/models/asset.d.ts +7 -7
  18. package/dist/src/vaults/api/models/borrowed.d.ts +5 -5
  19. package/dist/src/vaults/api/models/coin-price.d.ts +2 -2
  20. package/dist/src/vaults/api/models/deposit-transaction.d.ts +10 -10
  21. package/dist/src/vaults/api/models/exposure-coin.d.ts +4 -4
  22. package/dist/src/vaults/api/models/exposure-protocol.d.ts +13 -13
  23. package/dist/src/vaults/api/models/exposure.d.ts +5 -5
  24. package/dist/src/vaults/api/models/fee.d.ts +4 -4
  25. package/dist/src/vaults/api/models/history-interval.d.ts +7 -6
  26. package/dist/src/vaults/api/models/history-interval.js +6 -7
  27. package/dist/src/vaults/api/models/index.d.ts +62 -60
  28. package/dist/src/vaults/api/models/index.js +2 -0
  29. package/dist/src/vaults/api/models/lp.d.ts +13 -13
  30. package/dist/src/vaults/api/models/manager.d.ts +4 -4
  31. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
  32. package/dist/src/vaults/api/models/perps.d.ts +3 -3
  33. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
  34. package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
  35. package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
  36. package/dist/src/vaults/api/models/position-history-interval.d.ts +22 -0
  37. package/dist/src/vaults/api/models/position-history-interval.js +26 -0
  38. package/dist/src/vaults/api/models/position-history.d.ts +65 -0
  39. package/dist/src/vaults/api/models/position-history.js +20 -0
  40. package/dist/src/vaults/api/models/position-value.d.ts +17 -6
  41. package/dist/src/vaults/api/models/position-value.js +5 -0
  42. package/dist/src/vaults/api/models/position.d.ts +4 -4
  43. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
  44. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
  45. package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
  46. package/dist/src/vaults/api/models/protocol.d.ts +4 -4
  47. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
  48. package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
  49. package/dist/src/vaults/api/models/raw-event.js +19 -24
  50. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
  51. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
  52. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
  53. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
  54. package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
  55. package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
  56. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
  57. package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
  58. package/dist/src/vaults/api/models/reward.d.ts +4 -4
  59. package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
  60. package/dist/src/vaults/api/models/strategy.d.ts +7 -7
  61. package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
  62. package/dist/src/vaults/api/models/supplied.d.ts +5 -5
  63. package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
  64. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
  65. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
  66. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
  67. package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
  68. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
  69. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
  70. package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
  71. package/dist/src/vaults/api/models/vault-detail.js +6 -11
  72. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
  73. package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
  74. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
  75. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
  76. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
  77. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
  78. package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
  79. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
  80. package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
  81. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
  82. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
  83. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
  84. package/package.json +1 -1
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
12
+ import type { Configuration } from "./configuration";
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from "axios";
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -27,7 +27,7 @@ exports.COLLECTION_FORMATS = {
27
27
  csv: ",",
28
28
  ssv: " ",
29
29
  tsv: "\t",
30
- pipes: "|",
30
+ pipes: "|"
31
31
  };
32
32
  /**
33
33
  *
@@ -45,7 +45,6 @@ class BaseAPI {
45
45
  }
46
46
  }
47
47
  exports.BaseAPI = BaseAPI;
48
- ;
49
48
  /**
50
49
  *
51
50
  * @export
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
14
+ import type { AxiosInstance, AxiosResponse } from "axios";
15
15
  /**
16
16
  *
17
17
  * @export
@@ -19,7 +19,7 @@ const base_1 = require("./base");
19
19
  *
20
20
  * @export
21
21
  */
22
- exports.DUMMY_BASE_URL = 'https://example.com';
22
+ exports.DUMMY_BASE_URL = "https://example.com";
23
23
  /**
24
24
  *
25
25
  * @throws {RequiredError}
@@ -37,7 +37,7 @@ exports.assertParamExists = assertParamExists;
37
37
  */
38
38
  const setApiKeyToObject = async function (object, keyParamName, configuration) {
39
39
  if (configuration && configuration.apiKey) {
40
- const localVarApiKeyValue = typeof configuration.apiKey === 'function'
40
+ const localVarApiKeyValue = typeof configuration.apiKey === "function"
41
41
  ? await configuration.apiKey(keyParamName)
42
42
  : await configuration.apiKey;
43
43
  object[keyParamName] = localVarApiKeyValue;
@@ -50,7 +50,10 @@ exports.setApiKeyToObject = setApiKeyToObject;
50
50
  */
51
51
  const setBasicAuthToObject = function (object, configuration) {
52
52
  if (configuration && (configuration.username || configuration.password)) {
53
- object["auth"] = { username: configuration.username, password: configuration.password };
53
+ object["auth"] = {
54
+ username: configuration.username,
55
+ password: configuration.password
56
+ };
54
57
  }
55
58
  };
56
59
  exports.setBasicAuthToObject = setBasicAuthToObject;
@@ -60,7 +63,7 @@ exports.setBasicAuthToObject = setBasicAuthToObject;
60
63
  */
61
64
  const setBearerAuthToObject = async function (object, configuration) {
62
65
  if (configuration && configuration.accessToken) {
63
- const accessToken = typeof configuration.accessToken === 'function'
66
+ const accessToken = typeof configuration.accessToken === "function"
64
67
  ? await configuration.accessToken()
65
68
  : await configuration.accessToken;
66
69
  object["Authorization"] = "Bearer " + accessToken;
@@ -73,7 +76,7 @@ exports.setBearerAuthToObject = setBearerAuthToObject;
73
76
  */
74
77
  const setOAuthToObject = async function (object, name, scopes, configuration) {
75
78
  if (configuration && configuration.accessToken) {
76
- const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
79
+ const localVarAccessTokenValue = typeof configuration.accessToken === "function"
77
80
  ? await configuration.accessToken(name, scopes)
78
81
  : await configuration.accessToken;
79
82
  object["Authorization"] = "Bearer " + localVarAccessTokenValue;
@@ -88,7 +91,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
88
91
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
89
92
  }
90
93
  else {
91
- Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
94
+ Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
92
95
  }
93
96
  }
94
97
  else {
@@ -115,13 +118,13 @@ exports.setSearchParams = setSearchParams;
115
118
  * @export
116
119
  */
117
120
  const serializeDataIfNeeded = function (value, requestOptions, configuration) {
118
- const nonString = typeof value !== 'string';
121
+ const nonString = typeof value !== "string";
119
122
  const needsSerialization = nonString && configuration && configuration.isJsonMime
120
- ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
123
+ ? configuration.isJsonMime(requestOptions.headers["Content-Type"])
121
124
  : nonString;
122
125
  return needsSerialization
123
126
  ? JSON.stringify(value !== undefined ? value : {})
124
- : (value || "");
127
+ : value || "";
125
128
  };
126
129
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
127
130
  /**
@@ -138,7 +141,11 @@ exports.toPathString = toPathString;
138
141
  */
139
142
  const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
140
143
  return (axios = globalAxios, basePath = BASE_PATH) => {
141
- const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
144
+ const axiosRequestArgs = {
145
+ ...axiosArgs.options,
146
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) +
147
+ axiosArgs.url
148
+ };
142
149
  return axios.request(axiosRequestArgs);
143
150
  };
144
151
  };
@@ -25,8 +25,8 @@ class Configuration {
25
25
  this.baseOptions = {
26
26
  ...param.baseOptions,
27
27
  headers: {
28
- ...param.baseOptions?.headers,
29
- },
28
+ ...param.baseOptions?.headers
29
+ }
30
30
  };
31
31
  this.formDataCtor = param.formDataCtor;
32
32
  }
@@ -41,8 +41,9 @@ class Configuration {
41
41
  * @return True if the given MIME is JSON, false otherwise.
42
42
  */
43
43
  isJsonMime(mime) {
44
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
45
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
44
+ const jsonMime = new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$", "i");
45
+ return (mime !== null &&
46
+ (jsonMime.test(mime) || mime.toLowerCase() === "application/json-patch+json"));
46
47
  }
47
48
  }
48
49
  exports.Configuration = Configuration;
@@ -9,11 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { DepositTransaction } from './deposit-transaction';
13
- import type { RedeemRequestCancelledTransaction } from './redeem-request-cancelled-transaction';
14
- import type { RedeemRequestProcessedTransaction } from './redeem-request-processed-transaction';
15
- import type { RedeemRequestSkippedTransaction } from './redeem-request-skipped-transaction';
16
- import type { RedeemRequestTransaction } from './redeem-request-transaction';
12
+ import type { DepositTransaction } from "./deposit-transaction";
13
+ import type { RedeemRequestCancelledTransaction } from "./redeem-request-cancelled-transaction";
14
+ import type { RedeemRequestProcessedTransaction } from "./redeem-request-processed-transaction";
15
+ import type { RedeemRequestSkippedTransaction } from "./redeem-request-skipped-transaction";
16
+ import type { RedeemRequestTransaction } from "./redeem-request-transaction";
17
17
  /**
18
18
  * @type AccountTransactionTransactionData
19
19
  * The data of the transaction
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { AccountTransactionTransactionData } from './account-transaction-transaction-data';
12
+ import type { AccountTransactionTransactionData } from "./account-transaction-transaction-data";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -21,22 +21,19 @@ export interface AccountTransaction {
21
21
  * @type {string}
22
22
  * @memberof AccountTransaction
23
23
  */
24
- 'transactionType': AccountTransactionTransactionTypeEnum;
24
+ transactionType: AccountTransactionTransactionTypeEnum;
25
25
  /**
26
26
  *
27
27
  * @type {AccountTransactionTransactionData}
28
28
  * @memberof AccountTransaction
29
29
  */
30
- 'transactionData'?: AccountTransactionTransactionData;
31
- }
32
- /**
33
- * @export
34
- * @enum {string}
35
- */
36
- export declare enum AccountTransactionTransactionTypeEnum {
37
- Deposit = "Deposit",
38
- RedeemRequest = "RedeemRequest",
39
- RedeemRequestProcessed = "RedeemRequestProcessed",
40
- RedeemRequestSkipped = "RedeemRequestSkipped",
41
- RedeemRequestCancelled = "RedeemRequestCancelled"
30
+ transactionData?: AccountTransactionTransactionData;
42
31
  }
32
+ export declare const AccountTransactionTransactionTypeEnum: {
33
+ readonly Deposit: "Deposit";
34
+ readonly RedeemRequest: "RedeemRequest";
35
+ readonly RedeemRequestProcessed: "RedeemRequestProcessed";
36
+ readonly RedeemRequestSkipped: "RedeemRequestSkipped";
37
+ readonly RedeemRequestCancelled: "RedeemRequestCancelled";
38
+ };
39
+ export type AccountTransactionTransactionTypeEnum = (typeof AccountTransactionTransactionTypeEnum)[keyof typeof AccountTransactionTransactionTypeEnum];
@@ -14,15 +14,10 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AccountTransactionTransactionTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var AccountTransactionTransactionTypeEnum;
22
- (function (AccountTransactionTransactionTypeEnum) {
23
- AccountTransactionTransactionTypeEnum["Deposit"] = "Deposit";
24
- AccountTransactionTransactionTypeEnum["RedeemRequest"] = "RedeemRequest";
25
- AccountTransactionTransactionTypeEnum["RedeemRequestProcessed"] = "RedeemRequestProcessed";
26
- AccountTransactionTransactionTypeEnum["RedeemRequestSkipped"] = "RedeemRequestSkipped";
27
- AccountTransactionTransactionTypeEnum["RedeemRequestCancelled"] = "RedeemRequestCancelled";
28
- })(AccountTransactionTransactionTypeEnum || (exports.AccountTransactionTransactionTypeEnum = AccountTransactionTransactionTypeEnum = {}));
17
+ exports.AccountTransactionTransactionTypeEnum = {
18
+ Deposit: "Deposit",
19
+ RedeemRequest: "RedeemRequest",
20
+ RedeemRequestProcessed: "RedeemRequestProcessed",
21
+ RedeemRequestSkipped: "RedeemRequestSkipped",
22
+ RedeemRequestCancelled: "RedeemRequestCancelled"
23
+ };
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Asset } from './asset';
13
- import type { VaultSlice } from './vault-slice';
12
+ import type { Asset } from "./asset";
13
+ import type { VaultSlice } from "./vault-slice";
14
14
  /**
15
15
  *
16
16
  * @export
@@ -22,83 +22,80 @@ export interface AccountWithdrawalRequest {
22
22
  * @type {string}
23
23
  * @memberof AccountWithdrawalRequest
24
24
  */
25
- 'status': AccountWithdrawalRequestStatusEnum;
25
+ status: AccountWithdrawalRequestStatusEnum;
26
26
  /**
27
27
  * The updated timestamp of the withdrawal request
28
28
  * @type {number}
29
29
  * @memberof AccountWithdrawalRequest
30
30
  */
31
- 'updatedAt'?: number;
31
+ updatedAt?: number;
32
32
  /**
33
33
  * The amount of the withdrawal request
34
34
  * @type {string}
35
35
  * @memberof AccountWithdrawalRequest
36
36
  */
37
- 'withdrawnAmount': string;
37
+ withdrawnAmount: string;
38
38
  /**
39
39
  * The receiver of the withdrawal request
40
40
  * @type {string}
41
41
  * @memberof AccountWithdrawalRequest
42
42
  */
43
- 'receiverAddress': string;
43
+ receiverAddress: string;
44
44
  /**
45
45
  * The shares amount of the withdrawal request
46
46
  * @type {string}
47
47
  * @memberof AccountWithdrawalRequest
48
48
  */
49
- 'requestedAgainstShares': string;
49
+ requestedAgainstShares: string;
50
50
  /**
51
51
  *
52
52
  * @type {Asset}
53
53
  * @memberof AccountWithdrawalRequest
54
54
  */
55
- 'receiptCoin': Asset;
55
+ receiptCoin: Asset;
56
56
  /**
57
57
  *
58
58
  * @type {Asset}
59
59
  * @memberof AccountWithdrawalRequest
60
60
  */
61
- 'depositCoin': Asset;
61
+ depositCoin: Asset;
62
62
  /**
63
63
  * The timestamp of the withdrawal request
64
64
  * @type {number}
65
65
  * @memberof AccountWithdrawalRequest
66
66
  */
67
- 'requestedAt': number;
67
+ requestedAt: number;
68
68
  /**
69
69
  * The timestamp of the withdrawal request
70
70
  * @type {number}
71
71
  * @memberof AccountWithdrawalRequest
72
72
  */
73
- 'processedAt'?: number;
73
+ processedAt?: number;
74
74
  /**
75
75
  * The sequence number of the withdrawal request
76
76
  * @type {string}
77
77
  * @memberof AccountWithdrawalRequest
78
78
  */
79
- 'sequenceNumber': string;
79
+ sequenceNumber: string;
80
80
  /**
81
81
  * The tx digest of the withdrawal request
82
82
  * @type {string}
83
83
  * @memberof AccountWithdrawalRequest
84
84
  */
85
- 'txDigest'?: string;
85
+ txDigest?: string;
86
86
  /**
87
87
  *
88
88
  * @type {VaultSlice}
89
89
  * @memberof AccountWithdrawalRequest
90
90
  */
91
- 'vault': VaultSlice;
92
- }
93
- /**
94
- * @export
95
- * @enum {string}
96
- */
97
- export declare enum AccountWithdrawalRequestStatusEnum {
98
- Pending = "Pending",
99
- PendingCancelling = "PendingCancelling",
100
- Cancelled = "Cancelled",
101
- Processed = "Processed",
102
- Skipped = "Skipped",
103
- Processed2 = "Processed"
91
+ vault: VaultSlice;
104
92
  }
93
+ export declare const AccountWithdrawalRequestStatusEnum: {
94
+ readonly Pending: "Pending";
95
+ readonly PendingCancelling: "PendingCancelling";
96
+ readonly Cancelled: "Cancelled";
97
+ readonly Processed: "Processed";
98
+ readonly Skipped: "Skipped";
99
+ readonly Processed2: "Processed";
100
+ };
101
+ export type AccountWithdrawalRequestStatusEnum = (typeof AccountWithdrawalRequestStatusEnum)[keyof typeof AccountWithdrawalRequestStatusEnum];
@@ -14,16 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AccountWithdrawalRequestStatusEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var AccountWithdrawalRequestStatusEnum;
22
- (function (AccountWithdrawalRequestStatusEnum) {
23
- AccountWithdrawalRequestStatusEnum["Pending"] = "Pending";
24
- AccountWithdrawalRequestStatusEnum["PendingCancelling"] = "PendingCancelling";
25
- AccountWithdrawalRequestStatusEnum["Cancelled"] = "Cancelled";
26
- AccountWithdrawalRequestStatusEnum["Processed"] = "Processed";
27
- AccountWithdrawalRequestStatusEnum["Skipped"] = "Skipped";
28
- AccountWithdrawalRequestStatusEnum["Processed2"] = "Processed";
29
- })(AccountWithdrawalRequestStatusEnum || (exports.AccountWithdrawalRequestStatusEnum = AccountWithdrawalRequestStatusEnum = {}));
17
+ exports.AccountWithdrawalRequestStatusEnum = {
18
+ Pending: "Pending",
19
+ PendingCancelling: "PendingCancelling",
20
+ Cancelled: "Cancelled",
21
+ Processed: "Processed",
22
+ Skipped: "Skipped",
23
+ Processed2: "Processed"
24
+ };
@@ -20,23 +20,23 @@ export interface ApyHistory {
20
20
  * @type {number}
21
21
  * @memberof ApyHistory
22
22
  */
23
- 'timestamp': number;
23
+ timestamp: number;
24
24
  /**
25
25
  * The apy of the event
26
26
  * @type {string}
27
27
  * @memberof ApyHistory
28
28
  */
29
- 'apyE9': string;
29
+ apyE9: string;
30
30
  /**
31
31
  * The target apy of the event
32
32
  * @type {string}
33
33
  * @memberof ApyHistory
34
34
  */
35
- 'targetApyE9': string;
35
+ targetApyE9: string;
36
36
  /**
37
37
  * The lending apy of the event
38
38
  * @type {string}
39
39
  * @memberof ApyHistory
40
40
  */
41
- 'lendingApyE9': string;
41
+ lendingApyE9: string;
42
42
  }
@@ -20,41 +20,41 @@ export interface Asset {
20
20
  * @type {string}
21
21
  * @memberof Asset
22
22
  */
23
- 'type': string;
23
+ type: string;
24
24
  /**
25
25
  * The decimals of the asset, internal data
26
26
  * @type {number}
27
27
  * @memberof Asset
28
28
  */
29
- 'decimals': number;
29
+ decimals: number;
30
30
  /**
31
31
  * The logo of the asset, offchain data
32
32
  * @type {string}
33
33
  * @memberof Asset
34
34
  */
35
- 'logoUrl': string;
35
+ logoUrl: string;
36
36
  /**
37
37
  * The symbol of the asset, internal data
38
38
  * @type {string}
39
39
  * @memberof Asset
40
40
  */
41
- 'symbol': string;
41
+ symbol: string;
42
42
  /**
43
43
  * The address of the asset, internal data
44
44
  * @type {string}
45
45
  * @memberof Asset
46
46
  */
47
- 'address': string;
47
+ address: string;
48
48
  /**
49
49
  * The name of the asset, internal data
50
50
  * @type {string}
51
51
  * @memberof Asset
52
52
  */
53
- 'name': string;
53
+ name: string;
54
54
  /**
55
55
  * The price of the asset
56
56
  * @type {string}
57
57
  * @memberof Asset
58
58
  */
59
- 'priceE9': string;
59
+ priceE9: string;
60
60
  }
@@ -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";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -21,23 +21,23 @@ export interface Borrowed {
21
21
  * @type {Asset}
22
22
  * @memberof Borrowed
23
23
  */
24
- 'coin': Asset;
24
+ coin: Asset;
25
25
  /**
26
26
  * The amount of the borrowed
27
27
  * @type {string}
28
28
  * @memberof Borrowed
29
29
  */
30
- 'amount': string;
30
+ amount: string;
31
31
  /**
32
32
  * The amount of the borrowed in e9 in USDC
33
33
  * @type {string}
34
34
  * @memberof Borrowed
35
35
  */
36
- 'amountUsdE9': string;
36
+ amountUsdE9: string;
37
37
  /**
38
38
  * The apy of the borrowed
39
39
  * @type {string}
40
40
  * @memberof Borrowed
41
41
  */
42
- 'apyE9': string;
42
+ apyE9: string;
43
43
  }
@@ -20,11 +20,11 @@ export interface CoinPrice {
20
20
  * @type {string}
21
21
  * @memberof CoinPrice
22
22
  */
23
- 'coinType': string;
23
+ coinType: string;
24
24
  /**
25
25
  * The price of the coin in e9
26
26
  * @type {string}
27
27
  * @memberof CoinPrice
28
28
  */
29
- 'priceE9': string;
29
+ priceE9: string;
30
30
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Asset } from './asset';
13
- import type { VaultSlice } from './vault-slice';
12
+ import type { Asset } from "./asset";
13
+ import type { VaultSlice } from "./vault-slice";
14
14
  /**
15
15
  *
16
16
  * @export
@@ -22,47 +22,47 @@ export interface DepositTransaction {
22
22
  * @type {number}
23
23
  * @memberof DepositTransaction
24
24
  */
25
- 'timestamp'?: number;
25
+ timestamp?: number;
26
26
  /**
27
27
  * The amount of the transaction
28
28
  * @type {string}
29
29
  * @memberof DepositTransaction
30
30
  */
31
- 'depositAmount'?: string;
31
+ depositAmount?: string;
32
32
  /**
33
33
  *
34
34
  * @type {Asset}
35
35
  * @memberof DepositTransaction
36
36
  */
37
- 'depositCoin'?: Asset;
37
+ depositCoin?: Asset;
38
38
  /**
39
39
  * The tx digest of the transaction
40
40
  * @type {string}
41
41
  * @memberof DepositTransaction
42
42
  */
43
- 'txDigest'?: string;
43
+ txDigest?: string;
44
44
  /**
45
45
  * The sequence number of the transaction
46
46
  * @type {string}
47
47
  * @memberof DepositTransaction
48
48
  */
49
- 'sequenceNumber'?: string;
49
+ sequenceNumber?: string;
50
50
  /**
51
51
  *
52
52
  * @type {VaultSlice}
53
53
  * @memberof DepositTransaction
54
54
  */
55
- 'vault'?: VaultSlice;
55
+ vault?: VaultSlice;
56
56
  /**
57
57
  * The amount of the shares received
58
58
  * @type {string}
59
59
  * @memberof DepositTransaction
60
60
  */
61
- 'receivedSharesAmount'?: string;
61
+ receivedSharesAmount?: string;
62
62
  /**
63
63
  *
64
64
  * @type {Asset}
65
65
  * @memberof DepositTransaction
66
66
  */
67
- 'receivedCoin'?: Asset;
67
+ receivedCoin?: Asset;
68
68
  }
@@ -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";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -21,17 +21,17 @@ export interface ExposureCoin {
21
21
  * @type {Asset}
22
22
  * @memberof ExposureCoin
23
23
  */
24
- 'coin': Asset;
24
+ coin: Asset;
25
25
  /**
26
26
  * The amount of the coin in e9 in USDC
27
27
  * @type {string}
28
28
  * @memberof ExposureCoin
29
29
  */
30
- 'amountUsdE9': string;
30
+ amountUsdE9: string;
31
31
  /**
32
32
  * The amount of the coin
33
33
  * @type {string}
34
34
  * @memberof ExposureCoin
35
35
  */
36
- 'amount': string;
36
+ amount: string;
37
37
  }
@@ -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";
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";
18
18
  /**
19
19
  *
20
20
  * @export
@@ -26,41 +26,41 @@ export interface ExposureProtocol {
26
26
  * @type {Protocol}
27
27
  * @memberof ExposureProtocol
28
28
  */
29
- 'protocol': Protocol;
29
+ protocol: Protocol;
30
30
  /**
31
31
  * The exposure of the protocol
32
32
  * @type {string}
33
33
  * @memberof ExposureProtocol
34
34
  */
35
- 'netValueUsdE9': string;
35
+ netValueUsdE9: string;
36
36
  /**
37
37
  * The lps of the protocol
38
38
  * @type {Array<Lp>}
39
39
  * @memberof ExposureProtocol
40
40
  */
41
- 'lps': Array<Lp>;
41
+ lps: Array<Lp>;
42
42
  /**
43
43
  * The borrowed of the protocol
44
44
  * @type {Array<Borrowed>}
45
45
  * @memberof ExposureProtocol
46
46
  */
47
- 'borrowed': Array<Borrowed>;
47
+ borrowed: Array<Borrowed>;
48
48
  /**
49
49
  * The supplied of the protocol
50
50
  * @type {Array<Supplied>}
51
51
  * @memberof ExposureProtocol
52
52
  */
53
- 'supplied': Array<Supplied>;
53
+ supplied: Array<Supplied>;
54
54
  /**
55
55
  * The rewards of the protocol
56
56
  * @type {Array<Reward>}
57
57
  * @memberof ExposureProtocol
58
58
  */
59
- 'rewards': Array<Reward>;
59
+ rewards: Array<Reward>;
60
60
  /**
61
61
  *
62
62
  * @type {Perps}
63
63
  * @memberof ExposureProtocol
64
64
  */
65
- 'perps': Perps;
65
+ perps: Perps;
66
66
  }