@ember-finance/sdk 1.0.8 → 1.0.9

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 (52) hide show
  1. package/dist/src/vaults/api/apis/accounts-api.d.ts +73 -3
  2. package/dist/src/vaults/api/apis/accounts-api.js +145 -0
  3. package/dist/src/vaults/api/apis/vaults-api.d.ts +100 -25
  4. package/dist/src/vaults/api/apis/vaults-api.js +161 -8
  5. package/dist/src/vaults/api/models/apy-history.d.ts +29 -0
  6. package/dist/src/vaults/api/models/apy-history.js +15 -0
  7. package/dist/src/vaults/api/models/borrowed.d.ts +27 -0
  8. package/dist/src/vaults/api/models/borrowed.js +15 -0
  9. package/dist/src/vaults/api/models/coin-price.d.ts +21 -0
  10. package/dist/src/vaults/api/models/coin-price.js +15 -0
  11. package/dist/src/vaults/api/models/exposure-protocol.d.ts +23 -1
  12. package/dist/src/vaults/api/models/fee.d.ts +23 -0
  13. package/dist/src/vaults/api/models/fee.js +15 -0
  14. package/dist/src/vaults/api/models/index.d.ts +17 -0
  15. package/dist/src/vaults/api/models/index.js +17 -0
  16. package/dist/src/vaults/api/models/lp.d.ts +50 -0
  17. package/dist/src/vaults/api/models/lp.js +15 -0
  18. package/dist/src/vaults/api/models/perps.d.ts +22 -0
  19. package/dist/src/vaults/api/models/perps.js +15 -0
  20. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +17 -0
  21. package/dist/src/vaults/api/models/pnl-history-interval.js +21 -0
  22. package/dist/src/vaults/api/models/pnl-history.d.ts +4 -0
  23. package/dist/src/vaults/api/models/position-value.d.ts +37 -0
  24. package/dist/src/vaults/api/models/position-value.js +15 -0
  25. package/dist/src/vaults/api/models/position.d.ts +29 -0
  26. package/dist/src/vaults/api/models/position.js +15 -0
  27. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +53 -0
  28. package/dist/src/vaults/api/models/process-requests-summary-event.js +15 -0
  29. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +41 -0
  30. package/dist/src/vaults/api/models/protocol-fee-collected-event.js +15 -0
  31. package/dist/src/vaults/api/models/protocol.d.ts +0 -9
  32. package/dist/src/vaults/api/models/protocol.js +0 -8
  33. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +6 -1
  34. package/dist/src/vaults/api/models/raw-event.d.ts +5 -0
  35. package/dist/src/vaults/api/models/raw-event.js +6 -1
  36. package/dist/src/vaults/api/models/reward.d.ts +23 -0
  37. package/dist/src/vaults/api/models/reward.js +15 -0
  38. package/dist/src/vaults/api/models/supplied.d.ts +27 -0
  39. package/dist/src/vaults/api/models/supplied.js +15 -0
  40. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +41 -0
  41. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.js +15 -0
  42. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +33 -0
  43. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.js +15 -0
  44. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +41 -0
  45. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
  46. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +29 -0
  47. package/dist/src/vaults/api/models/yield-aggregate-value.js +15 -0
  48. package/dist/src/vaults/on-chain-calls/tx-builder.d.ts +8 -0
  49. package/dist/src/vaults/on-chain-calls/tx-builder.js +35 -0
  50. package/dist/src/vaults/on-chain-calls/user.d.ts +9 -0
  51. package/dist/src/vaults/on-chain-calls/user.js +16 -0
  52. package/package.json +3 -2
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Position } from "./position";
13
+ export interface Perps {
14
+ /**
15
+ * Available balance in e9 in USDC
16
+ */
17
+ effectiveBalanceE9: string;
18
+ /**
19
+ * The positions of the perps
20
+ */
21
+ positions: Array<Position>;
22
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare const PnlHistoryInterval: {
13
+ readonly _1d: "1d";
14
+ readonly _1w: "1w";
15
+ readonly _1mon: "1mon";
16
+ };
17
+ export type PnlHistoryInterval = (typeof PnlHistoryInterval)[keyof typeof PnlHistoryInterval];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PnlHistoryInterval = void 0;
17
+ exports.PnlHistoryInterval = {
18
+ _1d: "1d",
19
+ _1w: "1w",
20
+ _1mon: "1mon"
21
+ };
@@ -18,4 +18,8 @@ export interface PnlHistory {
18
18
  * The pnl of the event
19
19
  */
20
20
  pnlE9: string;
21
+ /**
22
+ * The cumulative pnl of the event
23
+ */
24
+ cumulativePnlE9: string;
21
25
  }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface PositionValue {
13
+ /**
14
+ * The id of the vault
15
+ */
16
+ vaultId: string;
17
+ /**
18
+ * The position value of the account in e9 in USDC
19
+ */
20
+ positionValueUsdE9: string;
21
+ /**
22
+ * The shares of the account
23
+ */
24
+ shares: string;
25
+ /**
26
+ * The unrealized yield value of the account in e9 in USDC
27
+ */
28
+ unrealizedYieldUsdE9: string;
29
+ /**
30
+ * The realized yield value of the account in e9 in USDC
31
+ */
32
+ realizedYieldUsdE9: string;
33
+ /**
34
+ * The total yield value of the account in e9 in USDC
35
+ */
36
+ totalYieldUsdE9: string;
37
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface Position {
13
+ /**
14
+ * The symbol of the position
15
+ */
16
+ symbol: string;
17
+ /**
18
+ * The size of the position in e9
19
+ */
20
+ sizeE9: string;
21
+ /**
22
+ * The side of the position
23
+ */
24
+ side: string;
25
+ /**
26
+ * The margin of the position in e9
27
+ */
28
+ marginE9: string;
29
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ProcessRequestsSummaryEvent {
13
+ /**
14
+ * The id of the vault
15
+ */
16
+ vaultId?: string;
17
+ /**
18
+ * The total number of requests processed
19
+ */
20
+ totalRequestProcessed?: string;
21
+ /**
22
+ * The number of requests skipped
23
+ */
24
+ requestsSkipped?: string;
25
+ /**
26
+ * The total number of shares burnt
27
+ */
28
+ totalSharesBurnt?: string;
29
+ /**
30
+ * The total amount withdrawn
31
+ */
32
+ totalAmountWithdrawn?: string;
33
+ /**
34
+ * The total number of shares in circulation
35
+ */
36
+ totalSharesInCirculation?: string;
37
+ /**
38
+ * The rate of the vault
39
+ */
40
+ rate?: string;
41
+ /**
42
+ * The number of requests cancelled
43
+ */
44
+ requestsCancelled?: string;
45
+ /**
46
+ * The total number of shares pending to burn
47
+ */
48
+ totalSharesPendingToBurn?: string;
49
+ /**
50
+ * The sequence number of the event
51
+ */
52
+ sequenceNumber?: string;
53
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ProtocolFeeCollectedEvent {
13
+ /**
14
+ * The id of the vault
15
+ */
16
+ vaultId?: string;
17
+ /**
18
+ * The amount of the fee
19
+ */
20
+ feeAmount?: string;
21
+ /**
22
+ * The address of the recipient
23
+ */
24
+ recipientAddress?: string;
25
+ /**
26
+ * The sequence number of the event
27
+ */
28
+ sequenceNumber?: string;
29
+ /**
30
+ * The type of the coin
31
+ */
32
+ coinType?: string;
33
+ /**
34
+ * The current balance of the vault
35
+ */
36
+ currentVaultBalance?: string;
37
+ /**
38
+ * The address of the recipient
39
+ */
40
+ recipient?: string;
41
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,13 +26,4 @@ export interface Protocol {
26
26
  * The website url of the protocol
27
27
  */
28
28
  websiteUrl: string;
29
- type: ProtocolTypeEnum;
30
29
  }
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
- };
@@ -10,19 +10,24 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
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";
13
15
  import type { RequestProcessedEvent } from "./request-processed-event";
14
16
  import type { RequestRedeemedEvent } from "./request-redeemed-event";
15
17
  import type { VaultAdminChangedEvent } from "./vault-admin-changed-event";
16
18
  import type { VaultCreatedEvent } from "./vault-created-event";
17
19
  import type { VaultDepositEvent } from "./vault-deposit-event";
20
+ import type { VaultDepositWithoutMintingSharesEvent } from "./vault-deposit-without-minting-shares-event";
18
21
  import type { VaultFeePercentageUpdatedEvent } from "./vault-fee-percentage-updated-event";
19
22
  import type { VaultMaxTvlUpdatedEvent } from "./vault-max-tvl-updated-event";
20
23
  import type { VaultOperatorChangedEvent } from "./vault-operator-changed-event";
21
24
  import type { VaultPausedStatusUpdatedEvent } from "./vault-paused-status-updated-event";
25
+ import type { VaultPlatformFeeChargedEvent } from "./vault-platform-fee-charged-event";
22
26
  import type { VaultRateUpdatedEvent } from "./vault-rate-updated-event";
23
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
27
32
  */
28
- export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent;
33
+ export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | ProcessRequestsSummaryEvent | ProtocolFeeCollectedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultDepositWithoutMintingSharesEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultPlatformFeeChargedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent | VaultWithdrawalWithoutRedeemingSharesEvent;
@@ -38,5 +38,10 @@ export declare const RawEventEventTypeEnum: {
38
38
  readonly VaultAdminChangedEvent: "VaultAdminChangedEvent";
39
39
  readonly VaultOperatorChangedEvent: "VaultOperatorChangedEvent";
40
40
  readonly VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent";
41
+ readonly ProcessRequestsSummaryEvent: "ProcessRequestsSummaryEvent";
42
+ readonly ProtocolFeeCollectedEvent: "ProtocolFeeCollectedEvent";
43
+ readonly VaultWithdrawalWithoutRedeemingSharesEvent: "VaultWithdrawalWithoutRedeemingSharesEvent";
44
+ readonly VaultDepositWithoutMintingSharesEvent: "VaultDepositWithoutMintingSharesEvent";
45
+ readonly VaultPlatformFeeChargedEvent: "VaultPlatformFeeChargedEvent";
41
46
  };
42
47
  export type RawEventEventTypeEnum = (typeof RawEventEventTypeEnum)[keyof typeof RawEventEventTypeEnum];
@@ -26,5 +26,10 @@ exports.RawEventEventTypeEnum = {
26
26
  MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent",
27
27
  VaultAdminChangedEvent: "VaultAdminChangedEvent",
28
28
  VaultOperatorChangedEvent: "VaultOperatorChangedEvent",
29
- VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent"
29
+ VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent",
30
+ ProcessRequestsSummaryEvent: "ProcessRequestsSummaryEvent",
31
+ ProtocolFeeCollectedEvent: "ProtocolFeeCollectedEvent",
32
+ VaultWithdrawalWithoutRedeemingSharesEvent: "VaultWithdrawalWithoutRedeemingSharesEvent",
33
+ VaultDepositWithoutMintingSharesEvent: "VaultDepositWithoutMintingSharesEvent",
34
+ VaultPlatformFeeChargedEvent: "VaultPlatformFeeChargedEvent"
30
35
  };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Asset } from "./asset";
13
+ export interface Reward {
14
+ coin: Asset;
15
+ /**
16
+ * The amount of the reward
17
+ */
18
+ amount: string;
19
+ /**
20
+ * The amount of the reward in e9 in USDC
21
+ */
22
+ amountUsdE9: string;
23
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Asset } from "./asset";
13
+ export interface Supplied {
14
+ coin: Asset;
15
+ /**
16
+ * The amount of the supplied
17
+ */
18
+ amount: string;
19
+ /**
20
+ * The amount of the supplied in e9 in USDC
21
+ */
22
+ amountUsdE9: string;
23
+ /**
24
+ * The apy of the supplied
25
+ */
26
+ apyE9: string;
27
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface VaultDepositWithoutMintingSharesEvent {
13
+ /**
14
+ * The id of the vault
15
+ */
16
+ vaultId?: string;
17
+ /**
18
+ * The sequence number of the event
19
+ */
20
+ sequenceNumber?: string;
21
+ /**
22
+ * The type of the coin
23
+ */
24
+ coinType?: string;
25
+ /**
26
+ * The amount of the shares
27
+ */
28
+ amount?: string;
29
+ /**
30
+ * The address of the sub account
31
+ */
32
+ subAccount?: string;
33
+ /**
34
+ * The new balance of the vault
35
+ */
36
+ newBalance?: string;
37
+ /**
38
+ * The previous balance of the vault
39
+ */
40
+ previousBalance?: string;
41
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface VaultPlatformFeeChargedEvent {
13
+ /**
14
+ * The id of the vault
15
+ */
16
+ vaultId?: string;
17
+ /**
18
+ * The amount of the fee
19
+ */
20
+ feeAmount?: string;
21
+ /**
22
+ * The sequence number of the event
23
+ */
24
+ sequenceNumber?: string;
25
+ /**
26
+ * The total amount of the fee accrued
27
+ */
28
+ totalFeeAccrued?: string;
29
+ /**
30
+ * The timestamp of the last charged
31
+ */
32
+ lastChargedAt?: string;
33
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface VaultWithdrawalWithoutRedeemingSharesEvent {
13
+ /**
14
+ * The id of the vault
15
+ */
16
+ vaultId?: string;
17
+ /**
18
+ * The sequence number of the event
19
+ */
20
+ sequenceNumber?: string;
21
+ /**
22
+ * The address of the sub account
23
+ */
24
+ subAccount?: string;
25
+ /**
26
+ * The previous balance of the vault
27
+ */
28
+ previousBalance?: string;
29
+ /**
30
+ * The new balance of the vault
31
+ */
32
+ newBalance?: string;
33
+ /**
34
+ * The type of the coin
35
+ */
36
+ coinType?: string;
37
+ /**
38
+ * The amount of the shares
39
+ */
40
+ amount?: string;
41
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Ember Protocol Vaults API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });