@ember-finance/sdk 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/vaults/api/api.d.ts +2 -2
- package/dist/src/vaults/api/apis/accounts-api.d.ts +112 -89
- package/dist/src/vaults/api/apis/accounts-api.js +288 -82
- package/dist/src/vaults/api/apis/vaults-api.d.ts +17 -154
- package/dist/src/vaults/api/apis/vaults-api.js +220 -121
- package/dist/src/vaults/api/base.d.ts +2 -2
- package/dist/src/vaults/api/base.js +1 -2
- package/dist/src/vaults/api/common.d.ts +1 -1
- package/dist/src/vaults/api/common.js +17 -10
- package/dist/src/vaults/api/configuration.js +5 -4
- package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +5 -5
- package/dist/src/vaults/api/models/account-transaction.d.ts +11 -14
- package/dist/src/vaults/api/models/account-transaction.js +7 -12
- package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +23 -26
- package/dist/src/vaults/api/models/account-withdrawal-request.js +8 -13
- package/dist/src/vaults/api/models/apy-history.d.ts +4 -4
- package/dist/src/vaults/api/models/asset.d.ts +7 -7
- package/dist/src/vaults/api/models/borrowed.d.ts +5 -5
- package/dist/src/vaults/api/models/coin-price.d.ts +2 -2
- package/dist/src/vaults/api/models/deposit-transaction.d.ts +10 -10
- package/dist/src/vaults/api/models/exposure-coin.d.ts +4 -4
- package/dist/src/vaults/api/models/exposure-protocol.d.ts +13 -13
- package/dist/src/vaults/api/models/exposure.d.ts +5 -5
- package/dist/src/vaults/api/models/fee.d.ts +4 -4
- package/dist/src/vaults/api/models/history-interval.d.ts +7 -6
- package/dist/src/vaults/api/models/history-interval.js +6 -7
- package/dist/src/vaults/api/models/index.d.ts +62 -60
- package/dist/src/vaults/api/models/index.js +2 -0
- package/dist/src/vaults/api/models/lp.d.ts +13 -13
- package/dist/src/vaults/api/models/manager.d.ts +4 -4
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/perps.d.ts +3 -3
- package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
- package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
- package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
- package/dist/src/vaults/api/models/position-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/models/position-history-interval.js +26 -0
- package/dist/src/vaults/api/models/position-history.d.ts +65 -0
- package/dist/src/vaults/api/models/position-history.js +20 -0
- package/dist/src/vaults/api/models/position-value.d.ts +17 -6
- package/dist/src/vaults/api/models/position-value.js +5 -0
- package/dist/src/vaults/api/models/position.d.ts +4 -4
- package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
- package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
- package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
- package/dist/src/vaults/api/models/protocol.d.ts +4 -4
- package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
- package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
- package/dist/src/vaults/api/models/raw-event.js +19 -24
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
- package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
- package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
- package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
- package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
- package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
- package/dist/src/vaults/api/models/reward.d.ts +4 -4
- package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
- package/dist/src/vaults/api/models/strategy.d.ts +7 -7
- package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
- package/dist/src/vaults/api/models/supplied.d.ts +5 -5
- package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
- package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
- package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
- package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
- package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
- package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
- package/dist/src/vaults/api/models/vault-detail.js +6 -11
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
- package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
- package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
- package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
- package/package.json +1 -1
|
@@ -20,23 +20,23 @@ export interface Position {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Position
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
symbol: string;
|
|
24
24
|
/**
|
|
25
25
|
* The size of the position in e9
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Position
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
sizeE9: string;
|
|
30
30
|
/**
|
|
31
31
|
* The side of the position
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Position
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
side: string;
|
|
36
36
|
/**
|
|
37
37
|
* The margin of the position in e9
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Position
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
marginE9: string;
|
|
42
42
|
}
|
|
@@ -20,59 +20,59 @@ export interface ProcessRequestsSummaryEvent {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ProcessRequestsSummaryEvent
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
vaultId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The total number of requests processed
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ProcessRequestsSummaryEvent
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
totalRequestProcessed?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The number of requests skipped
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ProcessRequestsSummaryEvent
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
requestsSkipped?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The total number of shares burnt
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ProcessRequestsSummaryEvent
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
totalSharesBurnt?: string;
|
|
42
42
|
/**
|
|
43
43
|
* The total amount withdrawn
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ProcessRequestsSummaryEvent
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
totalAmountWithdrawn?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The total number of shares in circulation
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ProcessRequestsSummaryEvent
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
totalSharesInCirculation?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The rate of the vault
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof ProcessRequestsSummaryEvent
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
rate?: string;
|
|
60
60
|
/**
|
|
61
61
|
* The number of requests cancelled
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof ProcessRequestsSummaryEvent
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
requestsCancelled?: string;
|
|
66
66
|
/**
|
|
67
67
|
* The total number of shares pending to burn
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof ProcessRequestsSummaryEvent
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
totalSharesPendingToBurn?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The sequence number of the event
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ProcessRequestsSummaryEvent
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
sequenceNumber?: string;
|
|
78
78
|
}
|
|
@@ -20,41 +20,41 @@ export interface ProtocolFeeCollectedEvent {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ProtocolFeeCollectedEvent
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
vaultId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The amount of the fee
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ProtocolFeeCollectedEvent
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
feeAmount?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The address of the recipient
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ProtocolFeeCollectedEvent
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
recipientAddress?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The sequence number of the event
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ProtocolFeeCollectedEvent
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
sequenceNumber?: string;
|
|
42
42
|
/**
|
|
43
43
|
* The type of the coin
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ProtocolFeeCollectedEvent
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
coinType?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The current balance of the vault
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ProtocolFeeCollectedEvent
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
currentVaultBalance?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The address of the recipient
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof ProtocolFeeCollectedEvent
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
recipient?: string;
|
|
60
60
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { UltraCoinInfo } from
|
|
13
|
-
import type { VaultInfo } from
|
|
14
|
-
import type { VaultProtocol } from
|
|
12
|
+
import type { UltraCoinInfo } from "./ultra-coin-info";
|
|
13
|
+
import type { VaultInfo } from "./vault-info";
|
|
14
|
+
import type { VaultProtocol } from "./vault-protocol";
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -23,19 +23,19 @@ export interface ProtocolInfo {
|
|
|
23
23
|
* @type {VaultProtocol}
|
|
24
24
|
* @memberof ProtocolInfo
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
VaultProtocol?: VaultProtocol;
|
|
27
27
|
/**
|
|
28
28
|
* List of ultra coins
|
|
29
29
|
* @type {Array<UltraCoinInfo>}
|
|
30
30
|
* @memberof ProtocolInfo
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
UltraCoins?: Array<UltraCoinInfo>;
|
|
33
33
|
/**
|
|
34
34
|
* Map of vaults by id
|
|
35
35
|
* @type {{ [key: string]: VaultInfo; }}
|
|
36
36
|
* @memberof ProtocolInfo
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
Vaults?: {
|
|
39
39
|
[key: string]: VaultInfo;
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -20,23 +20,23 @@ export interface Protocol {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Protocol
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
* The name of the protocol
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Protocol
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
name: string;
|
|
30
30
|
/**
|
|
31
31
|
* The logo url of the protocol
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Protocol
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
logoUrl: string;
|
|
36
36
|
/**
|
|
37
37
|
* The website url of the protocol
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Protocol
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
websiteUrl: string;
|
|
42
42
|
}
|
|
@@ -9,23 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { MinWithdrawalSharesUpdatedEvent } from
|
|
13
|
-
import type { ProcessRequestsSummaryEvent } from
|
|
14
|
-
import type { ProtocolFeeCollectedEvent } from
|
|
15
|
-
import type { RequestProcessedEvent } from
|
|
16
|
-
import type { RequestRedeemedEvent } from
|
|
17
|
-
import type { VaultAdminChangedEvent } from
|
|
18
|
-
import type { VaultCreatedEvent } from
|
|
19
|
-
import type { VaultDepositEvent } from
|
|
20
|
-
import type { VaultDepositWithoutMintingSharesEvent } from
|
|
21
|
-
import type { VaultFeePercentageUpdatedEvent } from
|
|
22
|
-
import type { VaultMaxTvlUpdatedEvent } from
|
|
23
|
-
import type { VaultOperatorChangedEvent } from
|
|
24
|
-
import type { VaultPausedStatusUpdatedEvent } from
|
|
25
|
-
import type { VaultPlatformFeeChargedEvent } from
|
|
26
|
-
import type { VaultRateUpdatedEvent } from
|
|
27
|
-
import type { VaultSubAccountUpdatedEvent } from
|
|
28
|
-
import type { VaultWithdrawalWithoutRedeemingSharesEvent } from
|
|
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";
|
|
29
29
|
/**
|
|
30
30
|
* @type RawEventEventData
|
|
31
31
|
* The data of the event
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { RawEventEventData } from
|
|
12
|
+
import type { RawEventEventData } from "./raw-event-event-data";
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -21,46 +21,43 @@ export interface RawEvent {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RawEvent
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
id?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The timestamp of the event
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof RawEvent
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
createdAt?: number;
|
|
31
31
|
/**
|
|
32
32
|
* The type of the event
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof RawEvent
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
eventType: RawEventEventTypeEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {RawEventEventData}
|
|
40
40
|
* @memberof RawEvent
|
|
41
41
|
*/
|
|
42
|
-
|
|
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"
|
|
42
|
+
eventData?: RawEventEventData;
|
|
66
43
|
}
|
|
44
|
+
export declare const RawEventEventTypeEnum: {
|
|
45
|
+
readonly RequestProcessedEvent: "RequestProcessedEvent";
|
|
46
|
+
readonly RequestRedeemedEvent: "RequestRedeemedEvent";
|
|
47
|
+
readonly VaultDepositEvent: "VaultDepositEvent";
|
|
48
|
+
readonly VaultPausedStatusUpdatedEvent: "VaultPausedStatusUpdatedEvent";
|
|
49
|
+
readonly VaultRateUpdatedEvent: "VaultRateUpdatedEvent";
|
|
50
|
+
readonly VaultCreatedEvent: "VaultCreatedEvent";
|
|
51
|
+
readonly VaultSubAccountUpdatedEvent: "VaultSubAccountUpdatedEvent";
|
|
52
|
+
readonly VaultFeePercentageUpdatedEvent: "VaultFeePercentageUpdatedEvent";
|
|
53
|
+
readonly MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent";
|
|
54
|
+
readonly VaultAdminChangedEvent: "VaultAdminChangedEvent";
|
|
55
|
+
readonly VaultOperatorChangedEvent: "VaultOperatorChangedEvent";
|
|
56
|
+
readonly VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent";
|
|
57
|
+
readonly ProcessRequestsSummaryEvent: "ProcessRequestsSummaryEvent";
|
|
58
|
+
readonly ProtocolFeeCollectedEvent: "ProtocolFeeCollectedEvent";
|
|
59
|
+
readonly VaultWithdrawalWithoutRedeemingSharesEvent: "VaultWithdrawalWithoutRedeemingSharesEvent";
|
|
60
|
+
readonly VaultDepositWithoutMintingSharesEvent: "VaultDepositWithoutMintingSharesEvent";
|
|
61
|
+
readonly VaultPlatformFeeChargedEvent: "VaultPlatformFeeChargedEvent";
|
|
62
|
+
};
|
|
63
|
+
export type RawEventEventTypeEnum = (typeof RawEventEventTypeEnum)[keyof typeof RawEventEventTypeEnum];
|
|
@@ -14,27 +14,22 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RawEventEventTypeEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
RawEventEventTypeEnum["ProtocolFeeCollectedEvent"] = "ProtocolFeeCollectedEvent";
|
|
37
|
-
RawEventEventTypeEnum["VaultWithdrawalWithoutRedeemingSharesEvent"] = "VaultWithdrawalWithoutRedeemingSharesEvent";
|
|
38
|
-
RawEventEventTypeEnum["VaultDepositWithoutMintingSharesEvent"] = "VaultDepositWithoutMintingSharesEvent";
|
|
39
|
-
RawEventEventTypeEnum["VaultPlatformFeeChargedEvent"] = "VaultPlatformFeeChargedEvent";
|
|
40
|
-
})(RawEventEventTypeEnum || (exports.RawEventEventTypeEnum = RawEventEventTypeEnum = {}));
|
|
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
|
+
ProcessRequestsSummaryEvent: "ProcessRequestsSummaryEvent",
|
|
31
|
+
ProtocolFeeCollectedEvent: "ProtocolFeeCollectedEvent",
|
|
32
|
+
VaultWithdrawalWithoutRedeemingSharesEvent: "VaultWithdrawalWithoutRedeemingSharesEvent",
|
|
33
|
+
VaultDepositWithoutMintingSharesEvent: "VaultDepositWithoutMintingSharesEvent",
|
|
34
|
+
VaultPlatformFeeChargedEvent: "VaultPlatformFeeChargedEvent"
|
|
35
|
+
};
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Asset } from
|
|
13
|
-
import type { VaultSlice } from
|
|
12
|
+
import type { Asset } from "./asset";
|
|
13
|
+
import type { VaultSlice } from "./vault-slice";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -22,35 +22,35 @@ export interface RedeemRequestCancelledTransaction {
|
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof RedeemRequestCancelledTransaction
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
timestamp?: number;
|
|
26
26
|
/**
|
|
27
27
|
* The amount of the transaction
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RedeemRequestCancelledTransaction
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
amount?: string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Asset}
|
|
35
35
|
* @memberof RedeemRequestCancelledTransaction
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
coin?: Asset;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {VaultSlice}
|
|
41
41
|
* @memberof RedeemRequestCancelledTransaction
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
vault?: VaultSlice;
|
|
44
44
|
/**
|
|
45
45
|
* The tx digest of the transaction
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof RedeemRequestCancelledTransaction
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
txDigest?: string;
|
|
50
50
|
/**
|
|
51
51
|
* The sequence number of the transaction
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof RedeemRequestCancelledTransaction
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
sequenceNumber?: string;
|
|
56
56
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Asset } from
|
|
13
|
-
import type { VaultSlice } from
|
|
12
|
+
import type { Asset } from "./asset";
|
|
13
|
+
import type { VaultSlice } from "./vault-slice";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -22,47 +22,47 @@ export interface RedeemRequestProcessedTransaction {
|
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof RedeemRequestProcessedTransaction
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
timestamp?: number;
|
|
26
26
|
/**
|
|
27
27
|
* The amount of the shares redeemed
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RedeemRequestProcessedTransaction
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
redeemSharesAmount?: string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Asset}
|
|
35
35
|
* @memberof RedeemRequestProcessedTransaction
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
redeemCoin?: Asset;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {VaultSlice}
|
|
41
41
|
* @memberof RedeemRequestProcessedTransaction
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
vault?: VaultSlice;
|
|
44
44
|
/**
|
|
45
45
|
* The tx digest of the transaction
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof RedeemRequestProcessedTransaction
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
txDigest?: string;
|
|
50
50
|
/**
|
|
51
51
|
* The sequence number of the transaction
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof RedeemRequestProcessedTransaction
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
sequenceNumber?: string;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {Asset}
|
|
59
59
|
* @memberof RedeemRequestProcessedTransaction
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
receivedCoin?: Asset;
|
|
62
62
|
/**
|
|
63
63
|
* The amount of the shares received
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof RedeemRequestProcessedTransaction
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
receivedAmount?: string;
|
|
68
68
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Asset } from
|
|
13
|
-
import type { VaultSlice } from
|
|
12
|
+
import type { Asset } from "./asset";
|
|
13
|
+
import type { VaultSlice } from "./vault-slice";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -22,35 +22,35 @@ export interface RedeemRequestSkippedTransaction {
|
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof RedeemRequestSkippedTransaction
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
timestamp?: number;
|
|
26
26
|
/**
|
|
27
27
|
* The amount of the transaction
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RedeemRequestSkippedTransaction
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
amount?: string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Asset}
|
|
35
35
|
* @memberof RedeemRequestSkippedTransaction
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
coin?: Asset;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {VaultSlice}
|
|
41
41
|
* @memberof RedeemRequestSkippedTransaction
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
vault?: VaultSlice;
|
|
44
44
|
/**
|
|
45
45
|
* The tx digest of the transaction
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof RedeemRequestSkippedTransaction
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
txDigest?: string;
|
|
50
50
|
/**
|
|
51
51
|
* The sequence number of the transaction
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof RedeemRequestSkippedTransaction
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
sequenceNumber?: string;
|
|
56
56
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Asset } from
|
|
13
|
-
import type { VaultSlice } from
|
|
12
|
+
import type { Asset } from "./asset";
|
|
13
|
+
import type { VaultSlice } from "./vault-slice";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -22,35 +22,35 @@ export interface RedeemRequestTransaction {
|
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof RedeemRequestTransaction
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
timestamp?: number;
|
|
26
26
|
/**
|
|
27
27
|
* The amount of the transaction
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RedeemRequestTransaction
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
amount?: string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Asset}
|
|
35
35
|
* @memberof RedeemRequestTransaction
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
coin?: Asset;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {VaultSlice}
|
|
41
41
|
* @memberof RedeemRequestTransaction
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
vault?: VaultSlice;
|
|
44
44
|
/**
|
|
45
45
|
* The tx digest of the transaction
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof RedeemRequestTransaction
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
txDigest?: string;
|
|
50
50
|
/**
|
|
51
51
|
* The sequence number of the transaction
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof RedeemRequestTransaction
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
sequenceNumber?: string;
|
|
56
56
|
}
|