@ember-finance/sdk 1.0.9 → 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 (77) 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/apis/accounts-api.d.ts +22 -6
  6. package/dist/src/vaults/api/apis/accounts-api.js +17 -0
  7. package/dist/src/vaults/api/apis/vaults-api.d.ts +32 -14
  8. package/dist/src/vaults/api/apis/vaults-api.js +19 -0
  9. package/dist/src/vaults/api/base.d.ts +24 -0
  10. package/dist/src/vaults/api/base.js +19 -0
  11. package/dist/src/vaults/api/common.d.ts +37 -0
  12. package/dist/src/vaults/api/common.js +37 -0
  13. package/dist/src/vaults/api/configuration.d.ts +17 -0
  14. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +1 -0
  15. package/dist/src/vaults/api/models/account-transaction.d.ts +12 -0
  16. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +38 -0
  17. package/dist/src/vaults/api/models/apy-history.d.ts +13 -0
  18. package/dist/src/vaults/api/models/asset.d.ts +19 -0
  19. package/dist/src/vaults/api/models/borrowed.d.ts +16 -0
  20. package/dist/src/vaults/api/models/coin-price.d.ts +9 -0
  21. package/dist/src/vaults/api/models/deposit-transaction.d.ts +30 -0
  22. package/dist/src/vaults/api/models/exposure-coin.d.ts +14 -0
  23. package/dist/src/vaults/api/models/exposure-protocol.d.ts +25 -0
  24. package/dist/src/vaults/api/models/exposure.d.ts +11 -0
  25. package/dist/src/vaults/api/models/fee.d.ts +14 -0
  26. package/dist/src/vaults/api/models/history-interval.d.ts +5 -0
  27. package/dist/src/vaults/api/models/history-interval.js +5 -0
  28. package/dist/src/vaults/api/models/lp.d.ts +31 -0
  29. package/dist/src/vaults/api/models/manager.d.ts +22 -0
  30. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +13 -0
  31. package/dist/src/vaults/api/models/perps.d.ts +9 -0
  32. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +5 -0
  33. package/dist/src/vaults/api/models/pnl-history-interval.js +5 -0
  34. package/dist/src/vaults/api/models/pnl-history.d.ts +11 -0
  35. package/dist/src/vaults/api/models/position-value.d.ts +28 -0
  36. package/dist/src/vaults/api/models/position-value.js +5 -0
  37. package/dist/src/vaults/api/models/position.d.ts +13 -0
  38. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +25 -0
  39. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +19 -0
  40. package/dist/src/vaults/api/models/protocol-info.d.ts +14 -0
  41. package/dist/src/vaults/api/models/protocol.d.ts +13 -0
  42. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +1 -0
  43. package/dist/src/vaults/api/models/raw-event.d.ts +16 -0
  44. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +23 -0
  45. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +30 -0
  46. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +23 -0
  47. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +23 -0
  48. package/dist/src/vaults/api/models/reported-apy.d.ts +15 -0
  49. package/dist/src/vaults/api/models/request-processed-event.d.ts +25 -0
  50. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +23 -0
  51. package/dist/src/vaults/api/models/reward-token.d.ts +21 -0
  52. package/dist/src/vaults/api/models/reward.d.ts +14 -0
  53. package/dist/src/vaults/api/models/share-price-history.d.ts +9 -0
  54. package/dist/src/vaults/api/models/strategy.d.ts +19 -0
  55. package/dist/src/vaults/api/models/sub-account.d.ts +12 -0
  56. package/dist/src/vaults/api/models/supplied.d.ts +16 -0
  57. package/dist/src/vaults/api/models/tvl-history.d.ts +9 -0
  58. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +17 -0
  59. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +18 -0
  60. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +13 -0
  61. package/dist/src/vaults/api/models/vault-created-event.d.ts +22 -0
  62. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +23 -0
  63. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +19 -0
  64. package/dist/src/vaults/api/models/vault-detail.d.ts +85 -0
  65. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +13 -0
  66. package/dist/src/vaults/api/models/vault-info.d.ts +27 -0
  67. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +13 -0
  68. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +13 -0
  69. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +11 -0
  70. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +15 -0
  71. package/dist/src/vaults/api/models/vault-protocol.d.ts +13 -0
  72. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +13 -0
  73. package/dist/src/vaults/api/models/vault-slice.d.ts +15 -0
  74. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +17 -0
  75. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +19 -0
  76. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +19 -0
  77. package/package.json +4 -3
@@ -12,39 +12,70 @@
12
12
  import type { Asset } from "./asset";
13
13
  import type { Fee } from "./fee";
14
14
  import type { Reward } from "./reward";
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Lp
19
+ */
15
20
  export interface Lp {
21
+ /**
22
+ *
23
+ * @type {Asset}
24
+ * @memberof Lp
25
+ */
16
26
  coinA: Asset;
27
+ /**
28
+ *
29
+ * @type {Asset}
30
+ * @memberof Lp
31
+ */
17
32
  coinB: Asset;
18
33
  /**
19
34
  * The amount of coin A
35
+ * @type {string}
36
+ * @memberof Lp
20
37
  */
21
38
  coinAAmount: string;
22
39
  /**
23
40
  * The amount of coin B
41
+ * @type {string}
42
+ * @memberof Lp
24
43
  */
25
44
  coinBAmount: string;
26
45
  /**
27
46
  * The amount of coin A in e9 in USDC
47
+ * @type {string}
48
+ * @memberof Lp
28
49
  */
29
50
  coinAAmountUsdE9: string;
30
51
  /**
31
52
  * The amount of coin B in e9 in USDC
53
+ * @type {string}
54
+ * @memberof Lp
32
55
  */
33
56
  coinBAmountUsdE9: string;
34
57
  /**
35
58
  * The apr of the lp in percentage
59
+ * @type {string}
60
+ * @memberof Lp
36
61
  */
37
62
  apy: string;
38
63
  /**
39
64
  * The name of the pool
65
+ * @type {string}
66
+ * @memberof Lp
40
67
  */
41
68
  poolName: string;
42
69
  /**
43
70
  * The rewards of the lp
71
+ * @type {Array<Reward>}
72
+ * @memberof Lp
44
73
  */
45
74
  rewards: Array<Reward>;
46
75
  /**
47
76
  * The fees of the lp
77
+ * @type {Array<Fee>}
78
+ * @memberof Lp
48
79
  */
49
80
  fees: Array<Fee>;
50
81
  }
@@ -9,12 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Manager
16
+ */
12
17
  export interface Manager {
13
18
  /**
14
19
  * ID of the manager
20
+ * @type {string}
21
+ * @memberof Manager
15
22
  */
16
23
  id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Manager
28
+ */
17
29
  name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Manager
34
+ */
18
35
  logoUrl: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Manager
40
+ */
19
41
  websiteUrl: string;
20
42
  }
@@ -9,21 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MinWithdrawalSharesUpdatedEvent
16
+ */
12
17
  export interface MinWithdrawalSharesUpdatedEvent {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof MinWithdrawalSharesUpdatedEvent
15
22
  */
16
23
  vaultId?: string;
17
24
  /**
18
25
  * The previous min withdrawal shares
26
+ * @type {string}
27
+ * @memberof MinWithdrawalSharesUpdatedEvent
19
28
  */
20
29
  previousMinWithdrawalShares?: string;
21
30
  /**
22
31
  * The new min withdrawal shares
32
+ * @type {string}
33
+ * @memberof MinWithdrawalSharesUpdatedEvent
23
34
  */
24
35
  newMinWithdrawalShares?: string;
25
36
  /**
26
37
  * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof MinWithdrawalSharesUpdatedEvent
27
40
  */
28
41
  sequenceNumber?: string;
29
42
  }
@@ -10,13 +10,22 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Position } from "./position";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Perps
17
+ */
13
18
  export interface Perps {
14
19
  /**
15
20
  * Available balance in e9 in USDC
21
+ * @type {string}
22
+ * @memberof Perps
16
23
  */
17
24
  effectiveBalanceE9: string;
18
25
  /**
19
26
  * The positions of the perps
27
+ * @type {Array<Position>}
28
+ * @memberof Perps
20
29
  */
21
30
  positions: Array<Position>;
22
31
  }
@@ -9,6 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
12
17
  export declare const PnlHistoryInterval: {
13
18
  readonly _1d: "1d";
14
19
  readonly _1w: "1w";
@@ -14,6 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PnlHistoryInterval = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
17
22
  exports.PnlHistoryInterval = {
18
23
  _1d: "1d",
19
24
  _1w: "1w",
@@ -9,17 +9,28 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PnlHistory
16
+ */
12
17
  export interface PnlHistory {
13
18
  /**
14
19
  * The timestamp of the event
20
+ * @type {number}
21
+ * @memberof PnlHistory
15
22
  */
16
23
  timestamp: number;
17
24
  /**
18
25
  * The pnl of the event
26
+ * @type {string}
27
+ * @memberof PnlHistory
19
28
  */
20
29
  pnlE9: string;
21
30
  /**
22
31
  * The cumulative pnl of the event
32
+ * @type {string}
33
+ * @memberof PnlHistory
23
34
  */
24
35
  cumulativePnlE9: string;
25
36
  }
@@ -9,29 +9,57 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PositionValue
16
+ */
12
17
  export interface PositionValue {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof PositionValue
15
22
  */
16
23
  vaultId: string;
17
24
  /**
18
25
  * The position value of the account in e9 in USDC
26
+ * @type {string}
27
+ * @memberof PositionValue
19
28
  */
20
29
  positionValueUsdE9: string;
21
30
  /**
22
31
  * The shares of the account
32
+ * @type {string}
33
+ * @memberof PositionValue
23
34
  */
24
35
  shares: string;
25
36
  /**
26
37
  * The unrealized yield value of the account in e9 in USDC
38
+ * @type {string}
39
+ * @memberof PositionValue
27
40
  */
28
41
  unrealizedYieldUsdE9: string;
29
42
  /**
30
43
  * The realized yield value of the account in e9 in USDC
44
+ * @type {string}
45
+ * @memberof PositionValue
31
46
  */
32
47
  realizedYieldUsdE9: string;
33
48
  /**
34
49
  * The total yield value of the account in e9 in USDC
50
+ * @type {string}
51
+ * @memberof PositionValue
35
52
  */
36
53
  totalYieldUsdE9: string;
54
+ /**
55
+ * The status of the position
56
+ * @type {string}
57
+ * @memberof PositionValue
58
+ */
59
+ status: PositionValueStatusEnum;
37
60
  }
61
+ export declare const PositionValueStatusEnum: {
62
+ readonly Sync: "SYNC";
63
+ readonly OutOfSync: "OUT_OF_SYNC";
64
+ };
65
+ export type PositionValueStatusEnum = (typeof PositionValueStatusEnum)[keyof typeof PositionValueStatusEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PositionValueStatusEnum = void 0;
17
+ exports.PositionValueStatusEnum = {
18
+ Sync: "SYNC",
19
+ OutOfSync: "OUT_OF_SYNC"
20
+ };
@@ -9,21 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Position
16
+ */
12
17
  export interface Position {
13
18
  /**
14
19
  * The symbol of the position
20
+ * @type {string}
21
+ * @memberof Position
15
22
  */
16
23
  symbol: string;
17
24
  /**
18
25
  * The size of the position in e9
26
+ * @type {string}
27
+ * @memberof Position
19
28
  */
20
29
  sizeE9: string;
21
30
  /**
22
31
  * The side of the position
32
+ * @type {string}
33
+ * @memberof Position
23
34
  */
24
35
  side: string;
25
36
  /**
26
37
  * The margin of the position in e9
38
+ * @type {string}
39
+ * @memberof Position
27
40
  */
28
41
  marginE9: string;
29
42
  }
@@ -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 ProcessRequestsSummaryEvent
16
+ */
12
17
  export interface ProcessRequestsSummaryEvent {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof ProcessRequestsSummaryEvent
15
22
  */
16
23
  vaultId?: string;
17
24
  /**
18
25
  * The total number of requests processed
26
+ * @type {string}
27
+ * @memberof ProcessRequestsSummaryEvent
19
28
  */
20
29
  totalRequestProcessed?: string;
21
30
  /**
22
31
  * The number of requests skipped
32
+ * @type {string}
33
+ * @memberof ProcessRequestsSummaryEvent
23
34
  */
24
35
  requestsSkipped?: string;
25
36
  /**
26
37
  * The total number of shares burnt
38
+ * @type {string}
39
+ * @memberof ProcessRequestsSummaryEvent
27
40
  */
28
41
  totalSharesBurnt?: string;
29
42
  /**
30
43
  * The total amount withdrawn
44
+ * @type {string}
45
+ * @memberof ProcessRequestsSummaryEvent
31
46
  */
32
47
  totalAmountWithdrawn?: string;
33
48
  /**
34
49
  * The total number of shares in circulation
50
+ * @type {string}
51
+ * @memberof ProcessRequestsSummaryEvent
35
52
  */
36
53
  totalSharesInCirculation?: string;
37
54
  /**
38
55
  * The rate of the vault
56
+ * @type {string}
57
+ * @memberof ProcessRequestsSummaryEvent
39
58
  */
40
59
  rate?: string;
41
60
  /**
42
61
  * The number of requests cancelled
62
+ * @type {string}
63
+ * @memberof ProcessRequestsSummaryEvent
43
64
  */
44
65
  requestsCancelled?: string;
45
66
  /**
46
67
  * The total number of shares pending to burn
68
+ * @type {string}
69
+ * @memberof ProcessRequestsSummaryEvent
47
70
  */
48
71
  totalSharesPendingToBurn?: string;
49
72
  /**
50
73
  * The sequence number of the event
74
+ * @type {string}
75
+ * @memberof ProcessRequestsSummaryEvent
51
76
  */
52
77
  sequenceNumber?: string;
53
78
  }
@@ -9,33 +9,52 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProtocolFeeCollectedEvent
16
+ */
12
17
  export interface ProtocolFeeCollectedEvent {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof ProtocolFeeCollectedEvent
15
22
  */
16
23
  vaultId?: string;
17
24
  /**
18
25
  * The amount of the fee
26
+ * @type {string}
27
+ * @memberof ProtocolFeeCollectedEvent
19
28
  */
20
29
  feeAmount?: string;
21
30
  /**
22
31
  * The address of the recipient
32
+ * @type {string}
33
+ * @memberof ProtocolFeeCollectedEvent
23
34
  */
24
35
  recipientAddress?: string;
25
36
  /**
26
37
  * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof ProtocolFeeCollectedEvent
27
40
  */
28
41
  sequenceNumber?: string;
29
42
  /**
30
43
  * The type of the coin
44
+ * @type {string}
45
+ * @memberof ProtocolFeeCollectedEvent
31
46
  */
32
47
  coinType?: string;
33
48
  /**
34
49
  * The current balance of the vault
50
+ * @type {string}
51
+ * @memberof ProtocolFeeCollectedEvent
35
52
  */
36
53
  currentVaultBalance?: string;
37
54
  /**
38
55
  * The address of the recipient
56
+ * @type {string}
57
+ * @memberof ProtocolFeeCollectedEvent
39
58
  */
40
59
  recipient?: string;
41
60
  }
@@ -12,14 +12,28 @@
12
12
  import type { UltraCoinInfo } from "./ultra-coin-info";
13
13
  import type { VaultInfo } from "./vault-info";
14
14
  import type { VaultProtocol } from "./vault-protocol";
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ProtocolInfo
19
+ */
15
20
  export interface ProtocolInfo {
21
+ /**
22
+ *
23
+ * @type {VaultProtocol}
24
+ * @memberof ProtocolInfo
25
+ */
16
26
  VaultProtocol?: VaultProtocol;
17
27
  /**
18
28
  * List of ultra coins
29
+ * @type {Array<UltraCoinInfo>}
30
+ * @memberof ProtocolInfo
19
31
  */
20
32
  UltraCoins?: Array<UltraCoinInfo>;
21
33
  /**
22
34
  * Map of vaults by id
35
+ * @type {{ [key: string]: VaultInfo; }}
36
+ * @memberof ProtocolInfo
23
37
  */
24
38
  Vaults?: {
25
39
  [key: string]: VaultInfo;
@@ -9,21 +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
23
  id: string;
17
24
  /**
18
25
  * The name of the protocol
26
+ * @type {string}
27
+ * @memberof Protocol
19
28
  */
20
29
  name: string;
21
30
  /**
22
31
  * The logo url of the protocol
32
+ * @type {string}
33
+ * @memberof Protocol
23
34
  */
24
35
  logoUrl: string;
25
36
  /**
26
37
  * The website url of the protocol
38
+ * @type {string}
39
+ * @memberof Protocol
27
40
  */
28
41
  websiteUrl: string;
29
42
  }
@@ -29,5 +29,6 @@ import type { VaultWithdrawalWithoutRedeemingSharesEvent } from "./vault-withdra
29
29
  /**
30
30
  * @type RawEventEventData
31
31
  * The data of the event
32
+ * @export
32
33
  */
33
34
  export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | ProcessRequestsSummaryEvent | ProtocolFeeCollectedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultDepositWithoutMintingSharesEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultPlatformFeeChargedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent | VaultWithdrawalWithoutRedeemingSharesEvent;
@@ -10,19 +10,35 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
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
24
  id?: string;
18
25
  /**
19
26
  * The timestamp of the event
27
+ * @type {number}
28
+ * @memberof RawEvent
20
29
  */
21
30
  createdAt?: number;
22
31
  /**
23
32
  * The type of the event
33
+ * @type {string}
34
+ * @memberof RawEvent
24
35
  */
25
36
  eventType: RawEventEventTypeEnum;
37
+ /**
38
+ *
39
+ * @type {RawEventEventData}
40
+ * @memberof RawEvent
41
+ */
26
42
  eventData?: RawEventEventData;
27
43
  }
28
44
  export declare const RawEventEventTypeEnum: {
@@ -11,23 +11,46 @@
11
11
  */
12
12
  import type { Asset } from "./asset";
13
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
25
  timestamp?: number;
19
26
  /**
20
27
  * The amount of the transaction
28
+ * @type {string}
29
+ * @memberof RedeemRequestCancelledTransaction
21
30
  */
22
31
  amount?: string;
32
+ /**
33
+ *
34
+ * @type {Asset}
35
+ * @memberof RedeemRequestCancelledTransaction
36
+ */
23
37
  coin?: Asset;
38
+ /**
39
+ *
40
+ * @type {VaultSlice}
41
+ * @memberof RedeemRequestCancelledTransaction
42
+ */
24
43
  vault?: VaultSlice;
25
44
  /**
26
45
  * The tx digest of the transaction
46
+ * @type {string}
47
+ * @memberof RedeemRequestCancelledTransaction
27
48
  */
28
49
  txDigest?: string;
29
50
  /**
30
51
  * The sequence number of the transaction
52
+ * @type {string}
53
+ * @memberof RedeemRequestCancelledTransaction
31
54
  */
32
55
  sequenceNumber?: string;
33
56
  }
@@ -11,28 +11,58 @@
11
11
  */
12
12
  import type { Asset } from "./asset";
13
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
25
  timestamp?: number;
19
26
  /**
20
27
  * The amount of the shares redeemed
28
+ * @type {string}
29
+ * @memberof RedeemRequestProcessedTransaction
21
30
  */
22
31
  redeemSharesAmount?: string;
32
+ /**
33
+ *
34
+ * @type {Asset}
35
+ * @memberof RedeemRequestProcessedTransaction
36
+ */
23
37
  redeemCoin?: Asset;
38
+ /**
39
+ *
40
+ * @type {VaultSlice}
41
+ * @memberof RedeemRequestProcessedTransaction
42
+ */
24
43
  vault?: VaultSlice;
25
44
  /**
26
45
  * The tx digest of the transaction
46
+ * @type {string}
47
+ * @memberof RedeemRequestProcessedTransaction
27
48
  */
28
49
  txDigest?: string;
29
50
  /**
30
51
  * The sequence number of the transaction
52
+ * @type {string}
53
+ * @memberof RedeemRequestProcessedTransaction
31
54
  */
32
55
  sequenceNumber?: string;
56
+ /**
57
+ *
58
+ * @type {Asset}
59
+ * @memberof RedeemRequestProcessedTransaction
60
+ */
33
61
  receivedCoin?: Asset;
34
62
  /**
35
63
  * The amount of the shares received
64
+ * @type {string}
65
+ * @memberof RedeemRequestProcessedTransaction
36
66
  */
37
67
  receivedAmount?: string;
38
68
  }