@ember-finance/sdk 1.0.10 → 1.0.11

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 (79) hide show
  1. package/dist/src/vaults/api/api.d.ts +2 -2
  2. package/dist/src/vaults/api/apis/accounts-api.d.ts +29 -94
  3. package/dist/src/vaults/api/apis/accounts-api.js +116 -85
  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 +60 -60
  28. package/dist/src/vaults/api/models/lp.d.ts +13 -13
  29. package/dist/src/vaults/api/models/manager.d.ts +4 -4
  30. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
  31. package/dist/src/vaults/api/models/perps.d.ts +3 -3
  32. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
  33. package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
  34. package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
  35. package/dist/src/vaults/api/models/position-value.d.ts +17 -6
  36. package/dist/src/vaults/api/models/position-value.js +5 -0
  37. package/dist/src/vaults/api/models/position.d.ts +4 -4
  38. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
  39. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
  40. package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
  41. package/dist/src/vaults/api/models/protocol.d.ts +4 -4
  42. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
  43. package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
  44. package/dist/src/vaults/api/models/raw-event.js +19 -24
  45. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
  46. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
  47. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
  48. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
  49. package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
  50. package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
  51. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
  52. package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
  53. package/dist/src/vaults/api/models/reward.d.ts +4 -4
  54. package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
  55. package/dist/src/vaults/api/models/strategy.d.ts +7 -7
  56. package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
  57. package/dist/src/vaults/api/models/supplied.d.ts +5 -5
  58. package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
  59. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
  60. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
  61. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
  62. package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
  63. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
  64. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
  65. package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
  66. package/dist/src/vaults/api/models/vault-detail.js +6 -11
  67. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
  68. package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
  69. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
  70. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
  71. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
  72. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
  73. package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
  74. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
  75. package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
  76. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
  77. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
  78. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
  79. package/package.json +1 -1
@@ -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.11",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",