@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,11 +9,11 @@
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 { Manager } from './manager';
14
- import type { ReportedApy } from './reported-apy';
15
- import type { RewardToken } from './reward-token';
16
- import type { SubAccount } from './sub-account';
12
+ import type { Asset } from "./asset";
13
+ import type { Manager } from "./manager";
14
+ import type { ReportedApy } from "./reported-apy";
15
+ import type { RewardToken } from "./reward-token";
16
+ import type { SubAccount } from "./sub-account";
17
17
  /**
18
18
  *
19
19
  * @export
@@ -25,159 +25,156 @@ export interface VaultDetail {
25
25
  * @type {string}
26
26
  * @memberof VaultDetail
27
27
  */
28
- 'id': string;
28
+ id: string;
29
29
  /**
30
30
  *
31
31
  * @type {string}
32
32
  * @memberof VaultDetail
33
33
  */
34
- 'name': string;
34
+ name: string;
35
35
  /**
36
36
  * Name of the vault
37
37
  * @type {string}
38
38
  * @memberof VaultDetail
39
39
  */
40
- 'longName': string;
40
+ longName: string;
41
41
  /**
42
42
  * Strategy of the vault
43
43
  * @type {string}
44
44
  * @memberof VaultDetail
45
45
  */
46
- 'strategy': string;
46
+ strategy: string;
47
47
  /**
48
48
  * Address of the vault
49
49
  * @type {string}
50
50
  * @memberof VaultDetail
51
51
  */
52
- 'address': string;
52
+ address: string;
53
53
  /**
54
54
  * Description of the vault (offchain data)
55
55
  * @type {string}
56
56
  * @memberof VaultDetail
57
57
  */
58
- 'description': string;
58
+ description: string;
59
59
  /**
60
60
  * Logo of the vault (offchain data)
61
61
  * @type {string}
62
62
  * @memberof VaultDetail
63
63
  */
64
- 'logoUrl': string;
64
+ logoUrl: string;
65
65
  /**
66
66
  * Public type of the vault
67
67
  * @type {string}
68
68
  * @memberof VaultDetail
69
69
  */
70
- 'publicType': string;
70
+ publicType: string;
71
71
  /**
72
72
  * Internal type of the vault
73
73
  * @type {string}
74
74
  * @memberof VaultDetail
75
75
  */
76
- 'internalType'?: string;
76
+ internalType?: string;
77
77
  /**
78
78
  *
79
79
  * @type {Asset}
80
80
  * @memberof VaultDetail
81
81
  */
82
- 'receiptCoin': Asset;
82
+ receiptCoin: Asset;
83
83
  /**
84
84
  *
85
85
  * @type {Asset}
86
86
  * @memberof VaultDetail
87
87
  */
88
- 'depositCoin': Asset;
88
+ depositCoin: Asset;
89
89
  /**
90
90
  *
91
91
  * @type {Array<Manager>}
92
92
  * @memberof VaultDetail
93
93
  */
94
- 'managers': Array<Manager>;
94
+ managers: Array<Manager>;
95
95
  /**
96
96
  * The status of the vault
97
97
  * @type {string}
98
98
  * @memberof VaultDetail
99
99
  */
100
- 'status': VaultDetailStatusEnum;
100
+ status: VaultDetailStatusEnum;
101
101
  /**
102
102
  * Vault creation timestamp
103
103
  * @type {number}
104
104
  * @memberof VaultDetail
105
105
  */
106
- 'createdAt': number;
106
+ createdAt: number;
107
107
  /**
108
108
  * Expressed in basis points (1bps = 0.01%) in e9
109
109
  * @type {string}
110
110
  * @memberof VaultDetail
111
111
  */
112
- 'weeklyPerformanceFeeBpsE9': string;
112
+ weeklyPerformanceFeeBpsE9: string;
113
113
  /**
114
114
  *
115
115
  * @type {string}
116
116
  * @memberof VaultDetail
117
117
  */
118
- 'managementFeePercentE9': string;
118
+ managementFeePercentE9: string;
119
119
  /**
120
120
  *
121
121
  * @type {string}
122
122
  * @memberof VaultDetail
123
123
  */
124
- 'rateE9': string;
124
+ rateE9: string;
125
125
  /**
126
126
  * The maximum deposits allowed of the vault
127
127
  * @type {string}
128
128
  * @memberof VaultDetail
129
129
  */
130
- 'maxDepositsAllowed': string;
130
+ maxDepositsAllowed: string;
131
131
  /**
132
132
  *
133
133
  * @type {number}
134
134
  * @memberof VaultDetail
135
135
  */
136
- 'withdrawalPeriodDays': number;
136
+ withdrawalPeriodDays: number;
137
137
  /**
138
138
  *
139
139
  * @type {ReportedApy}
140
140
  * @memberof VaultDetail
141
141
  */
142
- 'reportedApy': ReportedApy;
142
+ reportedApy: ReportedApy;
143
143
  /**
144
144
  *
145
145
  * @type {Array<RewardToken>}
146
146
  * @memberof VaultDetail
147
147
  */
148
- 'rewards': Array<RewardToken>;
148
+ rewards: Array<RewardToken>;
149
149
  /**
150
150
  *
151
151
  * @type {Array<SubAccount>}
152
152
  * @memberof VaultDetail
153
153
  */
154
- 'subAccounts': Array<SubAccount>;
154
+ subAccounts: Array<SubAccount>;
155
155
  /**
156
156
  * The total deposits of the vault equivalent to USD in e9
157
157
  * @type {string}
158
158
  * @memberof VaultDetail
159
159
  */
160
- 'totalDepositsInUsdE9': string;
160
+ totalDepositsInUsdE9: string;
161
161
  /**
162
162
  * The total deposits of the vault
163
163
  * @type {string}
164
164
  * @memberof VaultDetail
165
165
  */
166
- 'totalDeposits': string;
166
+ totalDeposits: string;
167
167
  /**
168
168
  * The minimum withdrawal shares of the vault
169
169
  * @type {string}
170
170
  * @memberof VaultDetail
171
171
  */
172
- 'minWithdrawalSharesE9': string;
173
- }
174
- /**
175
- * @export
176
- * @enum {string}
177
- */
178
- export declare enum VaultDetailStatusEnum {
179
- Active = "active",
180
- Paused = "paused",
181
- Deprecated = "deprecated",
182
- Beta = "beta"
172
+ minWithdrawalSharesE9: string;
183
173
  }
174
+ export declare const VaultDetailStatusEnum: {
175
+ readonly Active: "active";
176
+ readonly Paused: "paused";
177
+ readonly Deprecated: "deprecated";
178
+ readonly Beta: "beta";
179
+ };
180
+ export type VaultDetailStatusEnum = (typeof VaultDetailStatusEnum)[keyof typeof VaultDetailStatusEnum];
@@ -14,14 +14,9 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.VaultDetailStatusEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var VaultDetailStatusEnum;
22
- (function (VaultDetailStatusEnum) {
23
- VaultDetailStatusEnum["Active"] = "active";
24
- VaultDetailStatusEnum["Paused"] = "paused";
25
- VaultDetailStatusEnum["Deprecated"] = "deprecated";
26
- VaultDetailStatusEnum["Beta"] = "beta";
27
- })(VaultDetailStatusEnum || (exports.VaultDetailStatusEnum = VaultDetailStatusEnum = {}));
17
+ exports.VaultDetailStatusEnum = {
18
+ Active: "active",
19
+ Paused: "paused",
20
+ Deprecated: "deprecated",
21
+ Beta: "beta"
22
+ };
@@ -20,23 +20,23 @@ export interface VaultFeePercentageUpdatedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultFeePercentageUpdatedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The previous fee percentage of the vault
26
26
  * @type {string}
27
27
  * @memberof VaultFeePercentageUpdatedEvent
28
28
  */
29
- 'previousFeePercentage'?: string;
29
+ previousFeePercentage?: string;
30
30
  /**
31
31
  * The new rate of the vault
32
32
  * @type {string}
33
33
  * @memberof VaultFeePercentageUpdatedEvent
34
34
  */
35
- 'newFeePercentage'?: string;
35
+ newFeePercentage?: string;
36
36
  /**
37
37
  * The sequence number of the event
38
38
  * @type {string}
39
39
  * @memberof VaultFeePercentageUpdatedEvent
40
40
  */
41
- 'sequenceNumber'?: string;
41
+ sequenceNumber?: string;
42
42
  }
@@ -20,65 +20,65 @@ export interface VaultInfo {
20
20
  * @type {string}
21
21
  * @memberof VaultInfo
22
22
  */
23
- 'Admin'?: string;
23
+ Admin?: string;
24
24
  /**
25
25
  * The operator identifier for the vault
26
26
  * @type {string}
27
27
  * @memberof VaultInfo
28
28
  */
29
- 'Operator'?: string;
29
+ Operator?: string;
30
30
  /**
31
31
  * The name of the vault
32
32
  * @type {string}
33
33
  * @memberof VaultInfo
34
34
  */
35
- 'Name'?: string;
35
+ Name?: string;
36
36
  /**
37
37
  * The maximum rate change per update
38
38
  * @type {string}
39
39
  * @memberof VaultInfo
40
40
  */
41
- 'MaxRateChangePerUpdate'?: string;
41
+ MaxRateChangePerUpdate?: string;
42
42
  /**
43
43
  * The fee percentage for the vault
44
44
  * @type {string}
45
45
  * @memberof VaultInfo
46
46
  */
47
- 'FeePercentage'?: string;
47
+ FeePercentage?: string;
48
48
  /**
49
49
  * The minimum withdrawal shares
50
50
  * @type {string}
51
51
  * @memberof VaultInfo
52
52
  */
53
- 'MinWithdrawalShares'?: string;
53
+ MinWithdrawalShares?: string;
54
54
  /**
55
55
  * List of sub-account identifiers
56
56
  * @type {Array<string>}
57
57
  * @memberof VaultInfo
58
58
  */
59
- 'SubAccounts'?: Array<string>;
59
+ SubAccounts?: Array<string>;
60
60
  /**
61
61
  * The object identifier of the vault
62
62
  * @type {string}
63
63
  * @memberof VaultInfo
64
64
  */
65
- 'ObjectId'?: string;
65
+ ObjectId?: string;
66
66
  /**
67
67
  * The receipt token type
68
68
  * @type {string}
69
69
  * @memberof VaultInfo
70
70
  */
71
- 'ReceiptCoinType'?: string;
71
+ ReceiptCoinType?: string;
72
72
  /**
73
73
  * The coin type for the vault
74
74
  * @type {string}
75
75
  * @memberof VaultInfo
76
76
  */
77
- 'DepositCoinType'?: string;
77
+ DepositCoinType?: string;
78
78
  /**
79
79
  * The number of decimals for the asset coin
80
80
  * @type {number}
81
81
  * @memberof VaultInfo
82
82
  */
83
- 'DepositCoinDecimals'?: number;
83
+ DepositCoinDecimals?: number;
84
84
  }
@@ -20,23 +20,23 @@ export interface VaultMaxTvlUpdatedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultMaxTvlUpdatedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The previous operator of the vault
26
26
  * @type {string}
27
27
  * @memberof VaultMaxTvlUpdatedEvent
28
28
  */
29
- 'previousMaxTvl'?: string;
29
+ previousMaxTvl?: string;
30
30
  /**
31
31
  * The new operator of the vault
32
32
  * @type {string}
33
33
  * @memberof VaultMaxTvlUpdatedEvent
34
34
  */
35
- 'newMaxTvl'?: string;
35
+ newMaxTvl?: string;
36
36
  /**
37
37
  * The sequence number of the event
38
38
  * @type {string}
39
39
  * @memberof VaultMaxTvlUpdatedEvent
40
40
  */
41
- 'sequenceNumber'?: string;
41
+ sequenceNumber?: string;
42
42
  }
@@ -20,23 +20,23 @@ export interface VaultOperatorChangedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultOperatorChangedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The previous operator of the vault
26
26
  * @type {string}
27
27
  * @memberof VaultOperatorChangedEvent
28
28
  */
29
- 'previousOperator'?: string;
29
+ previousOperator?: string;
30
30
  /**
31
31
  * The new operator of the vault
32
32
  * @type {string}
33
33
  * @memberof VaultOperatorChangedEvent
34
34
  */
35
- 'newOperator'?: string;
35
+ newOperator?: string;
36
36
  /**
37
37
  * The sequence number of the event
38
38
  * @type {string}
39
39
  * @memberof VaultOperatorChangedEvent
40
40
  */
41
- 'sequenceNumber'?: string;
41
+ sequenceNumber?: string;
42
42
  }
@@ -20,17 +20,17 @@ export interface VaultPausedStatusUpdatedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultPausedStatusUpdatedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The status of the vault
26
26
  * @type {boolean}
27
27
  * @memberof VaultPausedStatusUpdatedEvent
28
28
  */
29
- 'status'?: boolean;
29
+ status?: boolean;
30
30
  /**
31
31
  * The sequence number of the event
32
32
  * @type {string}
33
33
  * @memberof VaultPausedStatusUpdatedEvent
34
34
  */
35
- 'sequenceNumber'?: string;
35
+ sequenceNumber?: string;
36
36
  }
@@ -20,29 +20,29 @@ export interface VaultPlatformFeeChargedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultPlatformFeeChargedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The amount of the fee
26
26
  * @type {string}
27
27
  * @memberof VaultPlatformFeeChargedEvent
28
28
  */
29
- 'feeAmount'?: string;
29
+ feeAmount?: string;
30
30
  /**
31
31
  * The sequence number of the event
32
32
  * @type {string}
33
33
  * @memberof VaultPlatformFeeChargedEvent
34
34
  */
35
- 'sequenceNumber'?: string;
35
+ sequenceNumber?: string;
36
36
  /**
37
37
  * The total amount of the fee accrued
38
38
  * @type {string}
39
39
  * @memberof VaultPlatformFeeChargedEvent
40
40
  */
41
- 'totalFeeAccrued'?: string;
41
+ totalFeeAccrued?: string;
42
42
  /**
43
43
  * The timestamp of the last charged
44
44
  * @type {string}
45
45
  * @memberof VaultPlatformFeeChargedEvent
46
46
  */
47
- 'lastChargedAt'?: string;
47
+ lastChargedAt?: string;
48
48
  }
@@ -20,23 +20,23 @@ export interface VaultProtocol {
20
20
  * @type {string}
21
21
  * @memberof VaultProtocol
22
22
  */
23
- 'Package'?: string;
23
+ Package?: string;
24
24
  /**
25
25
  * The protocol configuration identifier
26
26
  * @type {string}
27
27
  * @memberof VaultProtocol
28
28
  */
29
- 'ProtocolConfig'?: string;
29
+ ProtocolConfig?: string;
30
30
  /**
31
31
  * The admin capability identifier
32
32
  * @type {string}
33
33
  * @memberof VaultProtocol
34
34
  */
35
- 'AdminCap'?: string;
35
+ AdminCap?: string;
36
36
  /**
37
37
  * The upgrade capability identifier
38
38
  * @type {string}
39
39
  * @memberof VaultProtocol
40
40
  */
41
- 'UpgradeCap'?: string;
41
+ UpgradeCap?: string;
42
42
  }
@@ -20,23 +20,23 @@ export interface VaultRateUpdatedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultRateUpdatedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The previous rate of the vault
26
26
  * @type {string}
27
27
  * @memberof VaultRateUpdatedEvent
28
28
  */
29
- 'previousRate'?: string;
29
+ previousRate?: string;
30
30
  /**
31
31
  * The new rate of the vault
32
32
  * @type {string}
33
33
  * @memberof VaultRateUpdatedEvent
34
34
  */
35
- 'newRate'?: string;
35
+ newRate?: string;
36
36
  /**
37
37
  * The sequence number of the event
38
38
  * @type {string}
39
39
  * @memberof VaultRateUpdatedEvent
40
40
  */
41
- 'sequenceNumber'?: string;
41
+ sequenceNumber?: string;
42
42
  }
@@ -20,29 +20,29 @@ export interface VaultSlice {
20
20
  * @type {string}
21
21
  * @memberof VaultSlice
22
22
  */
23
- 'id'?: string;
23
+ id?: string;
24
24
  /**
25
25
  * The name of the vault
26
26
  * @type {string}
27
27
  * @memberof VaultSlice
28
28
  */
29
- 'name'?: string;
29
+ name?: string;
30
30
  /**
31
31
  * The long name of the vault
32
32
  * @type {string}
33
33
  * @memberof VaultSlice
34
34
  */
35
- 'longName'?: string;
35
+ longName?: string;
36
36
  /**
37
37
  * The logo url of the vault
38
38
  * @type {string}
39
39
  * @memberof VaultSlice
40
40
  */
41
- 'logoUrl'?: string;
41
+ logoUrl?: string;
42
42
  /**
43
43
  * The public type of the vault
44
44
  * @type {string}
45
45
  * @memberof VaultSlice
46
46
  */
47
- 'publicType'?: string;
47
+ publicType?: string;
48
48
  }
@@ -20,35 +20,35 @@ export interface VaultSubAccountUpdatedEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultSubAccountUpdatedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The address of the account
26
26
  * @type {string}
27
27
  * @memberof VaultSubAccountUpdatedEvent
28
28
  */
29
- 'accountAddress'?: string;
29
+ accountAddress?: string;
30
30
  /**
31
31
  * The status of the sub account
32
32
  * @type {boolean}
33
33
  * @memberof VaultSubAccountUpdatedEvent
34
34
  */
35
- 'status'?: boolean;
35
+ status?: boolean;
36
36
  /**
37
37
  * The sequence number of the event
38
38
  * @type {string}
39
39
  * @memberof VaultSubAccountUpdatedEvent
40
40
  */
41
- 'sequenceNumber'?: string;
41
+ sequenceNumber?: string;
42
42
  /**
43
43
  * The new sub accounts of the vault
44
44
  * @type {Array<string>}
45
45
  * @memberof VaultSubAccountUpdatedEvent
46
46
  */
47
- 'newSubAccounts'?: Array<string>;
47
+ newSubAccounts?: Array<string>;
48
48
  /**
49
49
  * The previous sub accounts of the vault
50
50
  * @type {Array<string>}
51
51
  * @memberof VaultSubAccountUpdatedEvent
52
52
  */
53
- 'previousSubAccounts'?: Array<string>;
53
+ previousSubAccounts?: Array<string>;
54
54
  }
@@ -20,41 +20,41 @@ export interface VaultWithdrawalWithoutRedeemingSharesEvent {
20
20
  * @type {string}
21
21
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The sequence number of the event
26
26
  * @type {string}
27
27
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
28
28
  */
29
- 'sequenceNumber'?: string;
29
+ sequenceNumber?: string;
30
30
  /**
31
31
  * The address of the sub account
32
32
  * @type {string}
33
33
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
34
34
  */
35
- 'subAccount'?: string;
35
+ subAccount?: string;
36
36
  /**
37
37
  * The previous balance of the vault
38
38
  * @type {string}
39
39
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
40
40
  */
41
- 'previousBalance'?: string;
41
+ previousBalance?: string;
42
42
  /**
43
43
  * The new balance of the vault
44
44
  * @type {string}
45
45
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
46
46
  */
47
- 'newBalance'?: string;
47
+ newBalance?: string;
48
48
  /**
49
49
  * The type of the coin
50
50
  * @type {string}
51
51
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
52
52
  */
53
- 'coinType'?: string;
53
+ coinType?: string;
54
54
  /**
55
55
  * The amount of the shares
56
56
  * @type {string}
57
57
  * @memberof VaultWithdrawalWithoutRedeemingSharesEvent
58
58
  */
59
- 'amount'?: string;
59
+ amount?: string;
60
60
  }
@@ -20,23 +20,29 @@ export interface YieldAggregateValue {
20
20
  * @type {string}
21
21
  * @memberof YieldAggregateValue
22
22
  */
23
- 'unrealizedYieldUsdE9': string;
23
+ unrealizedYieldUsdE9: string;
24
24
  /**
25
25
  * The realized yield value of the account in e9 in USDC
26
26
  * @type {string}
27
27
  * @memberof YieldAggregateValue
28
28
  */
29
- 'realizedYieldUsdE9': string;
29
+ realizedYieldUsdE9: string;
30
30
  /**
31
31
  * The total yield value of the account in e9 in USDC
32
32
  * @type {string}
33
33
  * @memberof YieldAggregateValue
34
34
  */
35
- 'totalYieldUsdE9': string;
35
+ totalYieldUsdE9: string;
36
36
  /**
37
37
  * The total deposits of the account in e9 in USDC
38
38
  * @type {string}
39
39
  * @memberof YieldAggregateValue
40
40
  */
41
- 'totalDepositsUsdE9': string;
41
+ totalDepositsUsdE9: string;
42
+ /**
43
+ * The validity of the yield aggregate value
44
+ * @type {boolean}
45
+ * @memberof YieldAggregateValue
46
+ */
47
+ isValid: boolean;
42
48
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-finance/sdk",
3
3
  "description": "Ember Protocol SDK",
4
- "version": "1.0.10",
4
+ "version": "1.0.12",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",