@ember-finance/sdk 1.0.8 → 1.0.10

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 (105) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +0 -1
  3. package/dist/src/common/types.d.ts +0 -1
  4. package/dist/src/common/types.js +0 -1
  5. package/dist/src/vaults/api/api.d.ts +2 -2
  6. package/dist/src/vaults/api/apis/accounts-api.d.ts +178 -27
  7. package/dist/src/vaults/api/apis/accounts-api.js +208 -77
  8. package/dist/src/vaults/api/apis/vaults-api.d.ts +270 -40
  9. package/dist/src/vaults/api/apis/vaults-api.js +267 -194
  10. package/dist/src/vaults/api/base.d.ts +26 -2
  11. package/dist/src/vaults/api/base.js +21 -1
  12. package/dist/src/vaults/api/common.d.ts +38 -1
  13. package/dist/src/vaults/api/common.js +47 -17
  14. package/dist/src/vaults/api/configuration.d.ts +17 -0
  15. package/dist/src/vaults/api/configuration.js +4 -5
  16. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +6 -5
  17. package/dist/src/vaults/api/models/account-transaction.d.ts +26 -11
  18. package/dist/src/vaults/api/models/account-transaction.js +12 -7
  19. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +64 -23
  20. package/dist/src/vaults/api/models/account-withdrawal-request.js +13 -8
  21. package/dist/src/vaults/api/models/apy-history.d.ts +42 -0
  22. package/dist/src/vaults/api/models/apy-history.js +15 -0
  23. package/dist/src/vaults/api/models/asset.d.ts +26 -7
  24. package/dist/src/vaults/api/models/borrowed.d.ts +43 -0
  25. package/dist/src/vaults/api/models/borrowed.js +15 -0
  26. package/dist/src/vaults/api/models/coin-price.d.ts +30 -0
  27. package/dist/src/vaults/api/models/coin-price.js +15 -0
  28. package/dist/src/vaults/api/models/deposit-transaction.d.ts +40 -10
  29. package/dist/src/vaults/api/models/exposure-coin.d.ts +18 -4
  30. package/dist/src/vaults/api/models/exposure-protocol.d.ts +50 -3
  31. package/dist/src/vaults/api/models/exposure.d.ts +16 -5
  32. package/dist/src/vaults/api/models/fee.d.ts +37 -0
  33. package/dist/src/vaults/api/models/fee.js +15 -0
  34. package/dist/src/vaults/api/models/history-interval.d.ts +11 -7
  35. package/dist/src/vaults/api/models/history-interval.js +12 -6
  36. package/dist/src/vaults/api/models/index.d.ts +60 -43
  37. package/dist/src/vaults/api/models/index.js +17 -0
  38. package/dist/src/vaults/api/models/lp.d.ts +81 -0
  39. package/dist/src/vaults/api/models/lp.js +15 -0
  40. package/dist/src/vaults/api/models/manager.d.ts +26 -4
  41. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +17 -4
  42. package/dist/src/vaults/api/models/perps.d.ts +31 -0
  43. package/dist/src/vaults/api/models/perps.js +15 -0
  44. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +21 -0
  45. package/dist/src/vaults/api/models/pnl-history-interval.js +27 -0
  46. package/dist/src/vaults/api/models/pnl-history.d.ts +17 -2
  47. package/dist/src/vaults/api/models/position-value.d.ts +54 -0
  48. package/dist/src/vaults/api/models/position-value.js +15 -0
  49. package/dist/src/vaults/api/models/position.d.ts +42 -0
  50. package/dist/src/vaults/api/models/position.js +15 -0
  51. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +78 -0
  52. package/dist/src/vaults/api/models/process-requests-summary-event.js +15 -0
  53. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +60 -0
  54. package/dist/src/vaults/api/models/protocol-fee-collected-event.js +15 -0
  55. package/dist/src/vaults/api/models/protocol-info.d.ts +20 -6
  56. package/dist/src/vaults/api/models/protocol.d.ts +17 -13
  57. package/dist/src/vaults/api/models/protocol.js +0 -8
  58. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +19 -13
  59. package/dist/src/vaults/api/models/raw-event.d.ts +44 -20
  60. package/dist/src/vaults/api/models/raw-event.js +24 -14
  61. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +31 -8
  62. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +40 -10
  63. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +31 -8
  64. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +31 -8
  65. package/dist/src/vaults/api/models/reported-apy.d.ts +17 -2
  66. package/dist/src/vaults/api/models/request-processed-event.d.ts +35 -10
  67. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +32 -9
  68. package/dist/src/vaults/api/models/reward-token.d.ts +26 -5
  69. package/dist/src/vaults/api/models/reward.d.ts +37 -0
  70. package/dist/src/vaults/api/models/reward.js +15 -0
  71. package/dist/src/vaults/api/models/share-price-history.d.ts +11 -2
  72. package/dist/src/vaults/api/models/strategy.d.ts +26 -7
  73. package/dist/src/vaults/api/models/sub-account.d.ts +15 -3
  74. package/dist/src/vaults/api/models/supplied.d.ts +43 -0
  75. package/dist/src/vaults/api/models/supplied.js +15 -0
  76. package/dist/src/vaults/api/models/tvl-history.d.ts +11 -2
  77. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +23 -6
  78. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +24 -6
  79. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +17 -4
  80. package/dist/src/vaults/api/models/vault-created-event.d.ts +29 -7
  81. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +32 -9
  82. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
  83. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.js +15 -0
  84. package/dist/src/vaults/api/models/vault-detail.d.ts +125 -37
  85. package/dist/src/vaults/api/models/vault-detail.js +11 -6
  86. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +17 -4
  87. package/dist/src/vaults/api/models/vault-info.d.ts +38 -11
  88. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +17 -4
  89. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +17 -4
  90. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +14 -3
  91. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +48 -0
  92. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.js +15 -0
  93. package/dist/src/vaults/api/models/vault-protocol.d.ts +17 -4
  94. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +17 -4
  95. package/dist/src/vaults/api/models/vault-slice.d.ts +20 -5
  96. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +23 -6
  97. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
  98. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
  99. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +42 -0
  100. package/dist/src/vaults/api/models/yield-aggregate-value.js +15 -0
  101. package/dist/src/vaults/on-chain-calls/tx-builder.d.ts +8 -0
  102. package/dist/src/vaults/on-chain-calls/tx-builder.js +35 -0
  103. package/dist/src/vaults/on-chain-calls/user.d.ts +9 -0
  104. package/dist/src/vaults/on-chain-calls/user.js +16 -0
  105. package/package.json +5 -3
@@ -9,30 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Protocol
16
+ */
12
17
  export interface Protocol {
13
18
  /**
14
19
  * The id of the protocol
20
+ * @type {string}
21
+ * @memberof Protocol
15
22
  */
16
- id: string;
23
+ 'id': string;
17
24
  /**
18
25
  * The name of the protocol
26
+ * @type {string}
27
+ * @memberof Protocol
19
28
  */
20
- name: string;
29
+ 'name': string;
21
30
  /**
22
31
  * The logo url of the protocol
32
+ * @type {string}
33
+ * @memberof Protocol
23
34
  */
24
- logoUrl: string;
35
+ 'logoUrl': string;
25
36
  /**
26
37
  * The website url of the protocol
38
+ * @type {string}
39
+ * @memberof Protocol
27
40
  */
28
- websiteUrl: string;
29
- type: ProtocolTypeEnum;
41
+ 'websiteUrl': string;
30
42
  }
31
- export declare const ProtocolTypeEnum: {
32
- readonly Amm: "AMM";
33
- readonly Perp: "Perp";
34
- readonly Lending: "Lending";
35
- readonly Yield: "Yield";
36
- readonly Bridge: "Bridge";
37
- };
38
- export type ProtocolTypeEnum = (typeof ProtocolTypeEnum)[keyof typeof ProtocolTypeEnum];
@@ -13,11 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProtocolTypeEnum = void 0;
17
- exports.ProtocolTypeEnum = {
18
- Amm: "AMM",
19
- Perp: "Perp",
20
- Lending: "Lending",
21
- Yield: "Yield",
22
- Bridge: "Bridge"
23
- };
@@ -9,20 +9,26 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MinWithdrawalSharesUpdatedEvent } from "./min-withdrawal-shares-updated-event";
13
- import type { RequestProcessedEvent } from "./request-processed-event";
14
- import type { RequestRedeemedEvent } from "./request-redeemed-event";
15
- import type { VaultAdminChangedEvent } from "./vault-admin-changed-event";
16
- import type { VaultCreatedEvent } from "./vault-created-event";
17
- import type { VaultDepositEvent } from "./vault-deposit-event";
18
- import type { VaultFeePercentageUpdatedEvent } from "./vault-fee-percentage-updated-event";
19
- import type { VaultMaxTvlUpdatedEvent } from "./vault-max-tvl-updated-event";
20
- import type { VaultOperatorChangedEvent } from "./vault-operator-changed-event";
21
- import type { VaultPausedStatusUpdatedEvent } from "./vault-paused-status-updated-event";
22
- import type { VaultRateUpdatedEvent } from "./vault-rate-updated-event";
23
- import type { VaultSubAccountUpdatedEvent } from "./vault-sub-account-updated-event";
12
+ import type { MinWithdrawalSharesUpdatedEvent } from './min-withdrawal-shares-updated-event';
13
+ import type { ProcessRequestsSummaryEvent } from './process-requests-summary-event';
14
+ import type { ProtocolFeeCollectedEvent } from './protocol-fee-collected-event';
15
+ import type { RequestProcessedEvent } from './request-processed-event';
16
+ import type { RequestRedeemedEvent } from './request-redeemed-event';
17
+ import type { VaultAdminChangedEvent } from './vault-admin-changed-event';
18
+ import type { VaultCreatedEvent } from './vault-created-event';
19
+ import type { VaultDepositEvent } from './vault-deposit-event';
20
+ import type { VaultDepositWithoutMintingSharesEvent } from './vault-deposit-without-minting-shares-event';
21
+ import type { VaultFeePercentageUpdatedEvent } from './vault-fee-percentage-updated-event';
22
+ import type { VaultMaxTvlUpdatedEvent } from './vault-max-tvl-updated-event';
23
+ import type { VaultOperatorChangedEvent } from './vault-operator-changed-event';
24
+ import type { VaultPausedStatusUpdatedEvent } from './vault-paused-status-updated-event';
25
+ import type { VaultPlatformFeeChargedEvent } from './vault-platform-fee-charged-event';
26
+ import type { VaultRateUpdatedEvent } from './vault-rate-updated-event';
27
+ import type { VaultSubAccountUpdatedEvent } from './vault-sub-account-updated-event';
28
+ import type { VaultWithdrawalWithoutRedeemingSharesEvent } from './vault-withdrawal-without-redeeming-shares-event';
24
29
  /**
25
30
  * @type RawEventEventData
26
31
  * The data of the event
32
+ * @export
27
33
  */
28
- export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent;
34
+ export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | ProcessRequestsSummaryEvent | ProtocolFeeCollectedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultDepositWithoutMintingSharesEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultPlatformFeeChargedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent | VaultWithdrawalWithoutRedeemingSharesEvent;
@@ -9,34 +9,58 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { RawEventEventData } from "./raw-event-event-data";
12
+ import type { RawEventEventData } from './raw-event-event-data';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RawEvent
17
+ */
13
18
  export interface RawEvent {
14
19
  /**
15
20
  * The id of the event
21
+ * @type {string}
22
+ * @memberof RawEvent
16
23
  */
17
- id?: string;
24
+ 'id'?: string;
18
25
  /**
19
26
  * The timestamp of the event
27
+ * @type {number}
28
+ * @memberof RawEvent
20
29
  */
21
- createdAt?: number;
30
+ 'createdAt'?: number;
22
31
  /**
23
32
  * The type of the event
33
+ * @type {string}
34
+ * @memberof RawEvent
24
35
  */
25
- eventType: RawEventEventTypeEnum;
26
- eventData?: RawEventEventData;
36
+ 'eventType': RawEventEventTypeEnum;
37
+ /**
38
+ *
39
+ * @type {RawEventEventData}
40
+ * @memberof RawEvent
41
+ */
42
+ 'eventData'?: RawEventEventData;
43
+ }
44
+ /**
45
+ * @export
46
+ * @enum {string}
47
+ */
48
+ export declare enum RawEventEventTypeEnum {
49
+ RequestProcessedEvent = "RequestProcessedEvent",
50
+ RequestRedeemedEvent = "RequestRedeemedEvent",
51
+ VaultDepositEvent = "VaultDepositEvent",
52
+ VaultPausedStatusUpdatedEvent = "VaultPausedStatusUpdatedEvent",
53
+ VaultRateUpdatedEvent = "VaultRateUpdatedEvent",
54
+ VaultCreatedEvent = "VaultCreatedEvent",
55
+ VaultSubAccountUpdatedEvent = "VaultSubAccountUpdatedEvent",
56
+ VaultFeePercentageUpdatedEvent = "VaultFeePercentageUpdatedEvent",
57
+ MinWithdrawalSharesUpdatedEvent = "MinWithdrawalSharesUpdatedEvent",
58
+ VaultAdminChangedEvent = "VaultAdminChangedEvent",
59
+ VaultOperatorChangedEvent = "VaultOperatorChangedEvent",
60
+ VaultMaxTvlUpdatedEvent = "VaultMaxTvlUpdatedEvent",
61
+ ProcessRequestsSummaryEvent = "ProcessRequestsSummaryEvent",
62
+ ProtocolFeeCollectedEvent = "ProtocolFeeCollectedEvent",
63
+ VaultWithdrawalWithoutRedeemingSharesEvent = "VaultWithdrawalWithoutRedeemingSharesEvent",
64
+ VaultDepositWithoutMintingSharesEvent = "VaultDepositWithoutMintingSharesEvent",
65
+ VaultPlatformFeeChargedEvent = "VaultPlatformFeeChargedEvent"
27
66
  }
28
- export declare const RawEventEventTypeEnum: {
29
- readonly RequestProcessedEvent: "RequestProcessedEvent";
30
- readonly RequestRedeemedEvent: "RequestRedeemedEvent";
31
- readonly VaultDepositEvent: "VaultDepositEvent";
32
- readonly VaultPausedStatusUpdatedEvent: "VaultPausedStatusUpdatedEvent";
33
- readonly VaultRateUpdatedEvent: "VaultRateUpdatedEvent";
34
- readonly VaultCreatedEvent: "VaultCreatedEvent";
35
- readonly VaultSubAccountUpdatedEvent: "VaultSubAccountUpdatedEvent";
36
- readonly VaultFeePercentageUpdatedEvent: "VaultFeePercentageUpdatedEvent";
37
- readonly MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent";
38
- readonly VaultAdminChangedEvent: "VaultAdminChangedEvent";
39
- readonly VaultOperatorChangedEvent: "VaultOperatorChangedEvent";
40
- readonly VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent";
41
- };
42
- export type RawEventEventTypeEnum = (typeof RawEventEventTypeEnum)[keyof typeof RawEventEventTypeEnum];
@@ -14,17 +14,27 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.RawEventEventTypeEnum = void 0;
17
- exports.RawEventEventTypeEnum = {
18
- RequestProcessedEvent: "RequestProcessedEvent",
19
- RequestRedeemedEvent: "RequestRedeemedEvent",
20
- VaultDepositEvent: "VaultDepositEvent",
21
- VaultPausedStatusUpdatedEvent: "VaultPausedStatusUpdatedEvent",
22
- VaultRateUpdatedEvent: "VaultRateUpdatedEvent",
23
- VaultCreatedEvent: "VaultCreatedEvent",
24
- VaultSubAccountUpdatedEvent: "VaultSubAccountUpdatedEvent",
25
- VaultFeePercentageUpdatedEvent: "VaultFeePercentageUpdatedEvent",
26
- MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent",
27
- VaultAdminChangedEvent: "VaultAdminChangedEvent",
28
- VaultOperatorChangedEvent: "VaultOperatorChangedEvent",
29
- VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent"
30
- };
17
+ /**
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var RawEventEventTypeEnum;
22
+ (function (RawEventEventTypeEnum) {
23
+ RawEventEventTypeEnum["RequestProcessedEvent"] = "RequestProcessedEvent";
24
+ RawEventEventTypeEnum["RequestRedeemedEvent"] = "RequestRedeemedEvent";
25
+ RawEventEventTypeEnum["VaultDepositEvent"] = "VaultDepositEvent";
26
+ RawEventEventTypeEnum["VaultPausedStatusUpdatedEvent"] = "VaultPausedStatusUpdatedEvent";
27
+ RawEventEventTypeEnum["VaultRateUpdatedEvent"] = "VaultRateUpdatedEvent";
28
+ RawEventEventTypeEnum["VaultCreatedEvent"] = "VaultCreatedEvent";
29
+ RawEventEventTypeEnum["VaultSubAccountUpdatedEvent"] = "VaultSubAccountUpdatedEvent";
30
+ RawEventEventTypeEnum["VaultFeePercentageUpdatedEvent"] = "VaultFeePercentageUpdatedEvent";
31
+ RawEventEventTypeEnum["MinWithdrawalSharesUpdatedEvent"] = "MinWithdrawalSharesUpdatedEvent";
32
+ RawEventEventTypeEnum["VaultAdminChangedEvent"] = "VaultAdminChangedEvent";
33
+ RawEventEventTypeEnum["VaultOperatorChangedEvent"] = "VaultOperatorChangedEvent";
34
+ RawEventEventTypeEnum["VaultMaxTvlUpdatedEvent"] = "VaultMaxTvlUpdatedEvent";
35
+ RawEventEventTypeEnum["ProcessRequestsSummaryEvent"] = "ProcessRequestsSummaryEvent";
36
+ RawEventEventTypeEnum["ProtocolFeeCollectedEvent"] = "ProtocolFeeCollectedEvent";
37
+ RawEventEventTypeEnum["VaultWithdrawalWithoutRedeemingSharesEvent"] = "VaultWithdrawalWithoutRedeemingSharesEvent";
38
+ RawEventEventTypeEnum["VaultDepositWithoutMintingSharesEvent"] = "VaultDepositWithoutMintingSharesEvent";
39
+ RawEventEventTypeEnum["VaultPlatformFeeChargedEvent"] = "VaultPlatformFeeChargedEvent";
40
+ })(RawEventEventTypeEnum || (exports.RawEventEventTypeEnum = RawEventEventTypeEnum = {}));
@@ -9,25 +9,48 @@
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
+ /**
15
+ *
16
+ * @export
17
+ * @interface RedeemRequestCancelledTransaction
18
+ */
14
19
  export interface RedeemRequestCancelledTransaction {
15
20
  /**
16
21
  * The timestamp of the event
22
+ * @type {number}
23
+ * @memberof RedeemRequestCancelledTransaction
17
24
  */
18
- timestamp?: number;
25
+ 'timestamp'?: number;
19
26
  /**
20
27
  * The amount of the transaction
28
+ * @type {string}
29
+ * @memberof RedeemRequestCancelledTransaction
30
+ */
31
+ 'amount'?: string;
32
+ /**
33
+ *
34
+ * @type {Asset}
35
+ * @memberof RedeemRequestCancelledTransaction
36
+ */
37
+ 'coin'?: Asset;
38
+ /**
39
+ *
40
+ * @type {VaultSlice}
41
+ * @memberof RedeemRequestCancelledTransaction
21
42
  */
22
- amount?: string;
23
- coin?: Asset;
24
- vault?: VaultSlice;
43
+ 'vault'?: VaultSlice;
25
44
  /**
26
45
  * The tx digest of the transaction
46
+ * @type {string}
47
+ * @memberof RedeemRequestCancelledTransaction
27
48
  */
28
- txDigest?: string;
49
+ 'txDigest'?: string;
29
50
  /**
30
51
  * The sequence number of the transaction
52
+ * @type {string}
53
+ * @memberof RedeemRequestCancelledTransaction
31
54
  */
32
- sequenceNumber?: string;
55
+ 'sequenceNumber'?: string;
33
56
  }
@@ -9,30 +9,60 @@
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
+ /**
15
+ *
16
+ * @export
17
+ * @interface RedeemRequestProcessedTransaction
18
+ */
14
19
  export interface RedeemRequestProcessedTransaction {
15
20
  /**
16
21
  * The timestamp of the event
22
+ * @type {number}
23
+ * @memberof RedeemRequestProcessedTransaction
17
24
  */
18
- timestamp?: number;
25
+ 'timestamp'?: number;
19
26
  /**
20
27
  * The amount of the shares redeemed
28
+ * @type {string}
29
+ * @memberof RedeemRequestProcessedTransaction
30
+ */
31
+ 'redeemSharesAmount'?: string;
32
+ /**
33
+ *
34
+ * @type {Asset}
35
+ * @memberof RedeemRequestProcessedTransaction
21
36
  */
22
- redeemSharesAmount?: string;
23
- redeemCoin?: Asset;
24
- vault?: VaultSlice;
37
+ 'redeemCoin'?: Asset;
38
+ /**
39
+ *
40
+ * @type {VaultSlice}
41
+ * @memberof RedeemRequestProcessedTransaction
42
+ */
43
+ 'vault'?: VaultSlice;
25
44
  /**
26
45
  * The tx digest of the transaction
46
+ * @type {string}
47
+ * @memberof RedeemRequestProcessedTransaction
27
48
  */
28
- txDigest?: string;
49
+ 'txDigest'?: string;
29
50
  /**
30
51
  * The sequence number of the transaction
52
+ * @type {string}
53
+ * @memberof RedeemRequestProcessedTransaction
54
+ */
55
+ 'sequenceNumber'?: string;
56
+ /**
57
+ *
58
+ * @type {Asset}
59
+ * @memberof RedeemRequestProcessedTransaction
31
60
  */
32
- sequenceNumber?: string;
33
- receivedCoin?: Asset;
61
+ 'receivedCoin'?: Asset;
34
62
  /**
35
63
  * The amount of the shares received
64
+ * @type {string}
65
+ * @memberof RedeemRequestProcessedTransaction
36
66
  */
37
- receivedAmount?: string;
67
+ 'receivedAmount'?: string;
38
68
  }
@@ -9,25 +9,48 @@
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
+ /**
15
+ *
16
+ * @export
17
+ * @interface RedeemRequestSkippedTransaction
18
+ */
14
19
  export interface RedeemRequestSkippedTransaction {
15
20
  /**
16
21
  * The timestamp of the event
22
+ * @type {number}
23
+ * @memberof RedeemRequestSkippedTransaction
17
24
  */
18
- timestamp?: number;
25
+ 'timestamp'?: number;
19
26
  /**
20
27
  * The amount of the transaction
28
+ * @type {string}
29
+ * @memberof RedeemRequestSkippedTransaction
30
+ */
31
+ 'amount'?: string;
32
+ /**
33
+ *
34
+ * @type {Asset}
35
+ * @memberof RedeemRequestSkippedTransaction
36
+ */
37
+ 'coin'?: Asset;
38
+ /**
39
+ *
40
+ * @type {VaultSlice}
41
+ * @memberof RedeemRequestSkippedTransaction
21
42
  */
22
- amount?: string;
23
- coin?: Asset;
24
- vault?: VaultSlice;
43
+ 'vault'?: VaultSlice;
25
44
  /**
26
45
  * The tx digest of the transaction
46
+ * @type {string}
47
+ * @memberof RedeemRequestSkippedTransaction
27
48
  */
28
- txDigest?: string;
49
+ 'txDigest'?: string;
29
50
  /**
30
51
  * The sequence number of the transaction
52
+ * @type {string}
53
+ * @memberof RedeemRequestSkippedTransaction
31
54
  */
32
- sequenceNumber?: string;
55
+ 'sequenceNumber'?: string;
33
56
  }
@@ -9,25 +9,48 @@
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
+ /**
15
+ *
16
+ * @export
17
+ * @interface RedeemRequestTransaction
18
+ */
14
19
  export interface RedeemRequestTransaction {
15
20
  /**
16
21
  * The timestamp of the event
22
+ * @type {number}
23
+ * @memberof RedeemRequestTransaction
17
24
  */
18
- timestamp?: number;
25
+ 'timestamp'?: number;
19
26
  /**
20
27
  * The amount of the transaction
28
+ * @type {string}
29
+ * @memberof RedeemRequestTransaction
30
+ */
31
+ 'amount'?: string;
32
+ /**
33
+ *
34
+ * @type {Asset}
35
+ * @memberof RedeemRequestTransaction
36
+ */
37
+ 'coin'?: Asset;
38
+ /**
39
+ *
40
+ * @type {VaultSlice}
41
+ * @memberof RedeemRequestTransaction
21
42
  */
22
- amount?: string;
23
- coin?: Asset;
24
- vault?: VaultSlice;
43
+ 'vault'?: VaultSlice;
25
44
  /**
26
45
  * The tx digest of the transaction
46
+ * @type {string}
47
+ * @memberof RedeemRequestTransaction
27
48
  */
28
- txDigest?: string;
49
+ 'txDigest'?: string;
29
50
  /**
30
51
  * The sequence number of the transaction
52
+ * @type {string}
53
+ * @memberof RedeemRequestTransaction
31
54
  */
32
- sequenceNumber?: string;
55
+ 'sequenceNumber'?: string;
33
56
  }
@@ -9,7 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ReportedApy
16
+ */
12
17
  export interface ReportedApy {
13
- apyE9: string;
14
- updatedAt: string;
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ReportedApy
22
+ */
23
+ 'apyE9': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ReportedApy
28
+ */
29
+ 'updatedAt': string;
15
30
  }
@@ -9,45 +9,70 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RequestProcessedEvent
16
+ */
12
17
  export interface RequestProcessedEvent {
13
18
  /**
14
19
  * The id of the request
20
+ * @type {string}
21
+ * @memberof RequestProcessedEvent
15
22
  */
16
- vaultId?: string;
23
+ 'vaultId'?: string;
17
24
  /**
18
25
  * The sender address of the request
26
+ * @type {string}
27
+ * @memberof RequestProcessedEvent
19
28
  */
20
- ownerAddress?: string;
29
+ 'ownerAddress'?: string;
21
30
  /**
22
31
  * The receiver address of the request
32
+ * @type {string}
33
+ * @memberof RequestProcessedEvent
23
34
  */
24
- receiverAddress?: string;
35
+ 'receiverAddress'?: string;
25
36
  /**
26
37
  * The amount of the request
38
+ * @type {string}
39
+ * @memberof RequestProcessedEvent
27
40
  */
28
- withdrawAmount?: string;
41
+ 'withdrawAmount'?: string;
29
42
  /**
30
43
  * The amount of the request
44
+ * @type {string}
45
+ * @memberof RequestProcessedEvent
31
46
  */
32
- shares?: string;
47
+ 'shares'?: string;
33
48
  /**
34
49
  * The timestamp of the request
50
+ * @type {number}
51
+ * @memberof RequestProcessedEvent
35
52
  */
36
- requestTimestamp?: number;
53
+ 'requestTimestamp'?: number;
37
54
  /**
38
55
  * The timestamp of the request
56
+ * @type {number}
57
+ * @memberof RequestProcessedEvent
39
58
  */
40
- processedTimestamp?: number;
59
+ 'processedTimestamp'?: number;
41
60
  /**
42
61
  * Whether the request is skipped due to blacklisted address
62
+ * @type {boolean}
63
+ * @memberof RequestProcessedEvent
43
64
  */
44
- skipped?: boolean;
65
+ 'skipped'?: boolean;
45
66
  /**
46
67
  * The sequence number of the request
68
+ * @type {string}
69
+ * @memberof RequestProcessedEvent
47
70
  */
48
- sequenceNumber?: string;
71
+ 'sequenceNumber'?: string;
49
72
  /**
50
73
  * The type of the asset coin
74
+ * @type {string}
75
+ * @memberof RequestProcessedEvent
51
76
  */
52
- coinType?: string;
77
+ 'coinType'?: string;
53
78
  }
@@ -9,41 +9,64 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RequestRedeemedEvent
16
+ */
12
17
  export interface RequestRedeemedEvent {
13
18
  /**
14
19
  * The id of the request
20
+ * @type {string}
21
+ * @memberof RequestRedeemedEvent
15
22
  */
16
- vaultId?: string;
23
+ 'vaultId'?: string;
17
24
  /**
18
25
  * The sender address of the request
26
+ * @type {string}
27
+ * @memberof RequestRedeemedEvent
19
28
  */
20
- ownerAddress?: string;
29
+ 'ownerAddress'?: string;
21
30
  /**
22
31
  * The receiver address of the request
32
+ * @type {string}
33
+ * @memberof RequestRedeemedEvent
23
34
  */
24
- receiverAddress?: string;
35
+ 'receiverAddress'?: string;
25
36
  /**
26
37
  * The amount of the request
38
+ * @type {string}
39
+ * @memberof RequestRedeemedEvent
27
40
  */
28
- shares?: string;
41
+ 'shares'?: string;
29
42
  /**
30
43
  * The timestamp of the request
44
+ * @type {number}
45
+ * @memberof RequestRedeemedEvent
31
46
  */
32
- timestamp?: number;
47
+ 'timestamp'?: number;
33
48
  /**
34
49
  * The timestamp of the request
50
+ * @type {string}
51
+ * @memberof RequestRedeemedEvent
35
52
  */
36
- totalSharesInCirculation?: string;
53
+ 'totalSharesInCirculation'?: string;
37
54
  /**
38
55
  * The amount of the request
56
+ * @type {string}
57
+ * @memberof RequestRedeemedEvent
39
58
  */
40
- totalSharesPendingToBurn?: string;
59
+ 'totalSharesPendingToBurn'?: string;
41
60
  /**
42
61
  * The sequence number of the request
62
+ * @type {string}
63
+ * @memberof RequestRedeemedEvent
43
64
  */
44
- sequenceNumber?: string;
65
+ 'sequenceNumber'?: string;
45
66
  /**
46
67
  * The type of the asset coin
68
+ * @type {string}
69
+ * @memberof RequestRedeemedEvent
47
70
  */
48
- coinType?: string;
71
+ 'coinType'?: string;
49
72
  }