@ember-finance/sdk 1.0.0 → 1.0.2
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/README.md +3 -3
- package/dist/src/vaults/api/api.d.ts +13 -0
- package/dist/src/vaults/api/api.js +31 -0
- package/dist/src/vaults/api/apis/accounts-api.d.ts +198 -0
- package/dist/src/vaults/api/apis/accounts-api.js +366 -0
- package/dist/src/vaults/api/apis/vaults-api.d.ts +441 -0
- package/dist/src/vaults/api/apis/vaults-api.js +903 -0
- package/dist/src/vaults/api/base.d.ts +42 -0
- package/dist/src/vaults/api/base.js +47 -0
- package/dist/src/vaults/api/common.d.ts +28 -0
- package/dist/src/vaults/api/common.js +115 -0
- package/dist/src/vaults/api/configuration.d.ts +74 -0
- package/dist/src/vaults/api/configuration.js +49 -0
- package/dist/src/vaults/api/index.d.ts +14 -0
- package/dist/src/vaults/api/index.js +32 -0
- package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +21 -0
- package/dist/src/vaults/api/models/account-transaction-transaction-data.js +15 -0
- package/dist/src/vaults/api/models/account-transaction.d.ts +27 -0
- package/dist/src/vaults/api/models/account-transaction.js +23 -0
- package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +63 -0
- package/dist/src/vaults/api/models/account-withdrawal-request.js +24 -0
- package/dist/src/vaults/api/models/asset.d.ts +41 -0
- package/dist/src/vaults/api/models/asset.js +15 -0
- package/dist/src/vaults/api/models/deposit-transaction.d.ts +38 -0
- package/dist/src/vaults/api/models/deposit-transaction.js +15 -0
- package/dist/src/vaults/api/models/exposure-coin.d.ts +23 -0
- package/dist/src/vaults/api/models/exposure-coin.js +15 -0
- package/dist/src/vaults/api/models/exposure-protocol.d.ts +19 -0
- package/dist/src/vaults/api/models/exposure-protocol.js +15 -0
- package/dist/src/vaults/api/models/exposure.d.ts +27 -0
- package/dist/src/vaults/api/models/exposure.js +15 -0
- package/dist/src/vaults/api/models/history-interval.d.ts +18 -0
- package/dist/src/vaults/api/models/history-interval.js +22 -0
- package/dist/src/vaults/api/models/index.d.ts +43 -0
- package/dist/src/vaults/api/models/index.js +59 -0
- package/dist/src/vaults/api/models/manager.d.ts +20 -0
- package/dist/src/vaults/api/models/manager.js +15 -0
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +29 -0
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.js +15 -0
- package/dist/src/vaults/api/models/pnl-history.d.ts +21 -0
- package/dist/src/vaults/api/models/pnl-history.js +15 -0
- package/dist/src/vaults/api/models/protocol-info.d.ts +27 -0
- package/dist/src/vaults/api/models/protocol-info.js +15 -0
- package/dist/src/vaults/api/models/protocol.d.ts +38 -0
- package/dist/src/vaults/api/models/protocol.js +23 -0
- package/dist/src/vaults/api/models/raw-event-event-data.d.ts +28 -0
- package/dist/src/vaults/api/models/raw-event-event-data.js +15 -0
- package/dist/src/vaults/api/models/raw-event.d.ts +42 -0
- package/dist/src/vaults/api/models/raw-event.js +30 -0
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +33 -0
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.js +15 -0
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +38 -0
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.js +15 -0
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +33 -0
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.js +15 -0
- package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +33 -0
- package/dist/src/vaults/api/models/redeem-request-transaction.js +15 -0
- package/dist/src/vaults/api/models/reported-apy.d.ts +15 -0
- package/dist/src/vaults/api/models/reported-apy.js +15 -0
- package/dist/src/vaults/api/models/request-processed-event.d.ts +53 -0
- package/dist/src/vaults/api/models/request-processed-event.js +15 -0
- package/dist/src/vaults/api/models/request-redeemed-event.d.ts +49 -0
- package/dist/src/vaults/api/models/request-redeemed-event.js +15 -0
- package/dist/src/vaults/api/models/reward-token.d.ts +27 -0
- package/dist/src/vaults/api/models/reward-token.js +15 -0
- package/dist/src/vaults/api/models/share-price-history.d.ts +21 -0
- package/dist/src/vaults/api/models/share-price-history.js +15 -0
- package/dist/src/vaults/api/models/strategy.d.ts +41 -0
- package/dist/src/vaults/api/models/strategy.js +15 -0
- package/dist/src/vaults/api/models/sub-account.d.ts +19 -0
- package/dist/src/vaults/api/models/sub-account.js +15 -0
- package/dist/src/vaults/api/models/tvl-history.d.ts +21 -0
- package/dist/src/vaults/api/models/tvl-history.js +15 -0
- package/dist/src/vaults/api/models/ultra-coin-info.d.ts +37 -0
- package/dist/src/vaults/api/models/ultra-coin-info.js +15 -0
- package/dist/src/vaults/api/models/update-vault-strategies.d.ts +31 -0
- package/dist/src/vaults/api/models/update-vault-strategies.js +15 -0
- package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +29 -0
- package/dist/src/vaults/api/models/vault-admin-changed-event.js +15 -0
- package/dist/src/vaults/api/models/vault-created-event.d.ts +38 -0
- package/dist/src/vaults/api/models/vault-created-event.js +15 -0
- package/dist/src/vaults/api/models/vault-deposit-event.d.ts +49 -0
- package/dist/src/vaults/api/models/vault-deposit-event.js +15 -0
- package/dist/src/vaults/api/models/vault-detail.d.ts +95 -0
- package/dist/src/vaults/api/models/vault-detail.js +22 -0
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +29 -0
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.js +15 -0
- package/dist/src/vaults/api/models/vault-info.d.ts +57 -0
- package/dist/src/vaults/api/models/vault-info.js +15 -0
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +29 -0
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.js +15 -0
- package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +29 -0
- package/dist/src/vaults/api/models/vault-operator-changed-event.js +15 -0
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +25 -0
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.js +15 -0
- package/dist/src/vaults/api/models/vault-protocol.d.ts +29 -0
- package/dist/src/vaults/api/models/vault-protocol.js +15 -0
- package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +29 -0
- package/dist/src/vaults/api/models/vault-rate-updated-event.js +15 -0
- package/dist/src/vaults/api/models/vault-slice.d.ts +33 -0
- package/dist/src/vaults/api/models/vault-slice.js +15 -0
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +37 -0
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.js +15 -0
- package/dist/src/vaults/{bluefin-vaults.d.ts → ember-vaults.d.ts} +5 -1
- package/dist/src/vaults/{bluefin-vaults.js → ember-vaults.js} +19 -4
- package/dist/src/vaults/index.d.ts +5 -0
- package/dist/src/vaults/index.js +21 -0
- package/dist/src/vaults/on-chain-calls/onchain-calls.js +1 -1
- package/package.json +7 -3
|
@@ -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,31 @@
|
|
|
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 { Strategy } from "./strategy";
|
|
13
|
+
export interface UpdateVaultStrategies {
|
|
14
|
+
strategies: Array<Strategy>;
|
|
15
|
+
/**
|
|
16
|
+
* The timestamp of the signature
|
|
17
|
+
*/
|
|
18
|
+
signedAt: number;
|
|
19
|
+
/**
|
|
20
|
+
* The id of the vault
|
|
21
|
+
*/
|
|
22
|
+
vaultId: string;
|
|
23
|
+
/**
|
|
24
|
+
* The target apy of the strategy
|
|
25
|
+
*/
|
|
26
|
+
targetApyE9: string;
|
|
27
|
+
/**
|
|
28
|
+
* The signature of the request body
|
|
29
|
+
*/
|
|
30
|
+
signature: string;
|
|
31
|
+
}
|
|
@@ -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 VaultAdminChangedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous admin of the vault
|
|
19
|
+
*/
|
|
20
|
+
previousAdmin?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The new admin of the vault
|
|
23
|
+
*/
|
|
24
|
+
newAdmin?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The sequence number of the event
|
|
27
|
+
*/
|
|
28
|
+
sequenceNumber?: 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,38 @@
|
|
|
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 VaultCreatedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the vault
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The address of the admin operator
|
|
23
|
+
*/
|
|
24
|
+
admin?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The address of the operator
|
|
27
|
+
*/
|
|
28
|
+
operator?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The type of the deposit asset
|
|
31
|
+
*/
|
|
32
|
+
depositCoinType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The type of the receipt token
|
|
35
|
+
*/
|
|
36
|
+
receiptCoinType?: string;
|
|
37
|
+
subAccounts?: Array<string>;
|
|
38
|
+
}
|
|
@@ -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,49 @@
|
|
|
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 VaultDepositEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The address of the account
|
|
19
|
+
*/
|
|
20
|
+
accountAddress?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The amount of the deposit
|
|
23
|
+
*/
|
|
24
|
+
totalAmount?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The amount of the shares minted
|
|
27
|
+
*/
|
|
28
|
+
sharesMinted?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The amount of the shares burnt
|
|
31
|
+
*/
|
|
32
|
+
previousBalance?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The amount of the shares burnt
|
|
35
|
+
*/
|
|
36
|
+
currentBalance?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The total amount of the shares
|
|
39
|
+
*/
|
|
40
|
+
totalShares?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The sequence number of the deposit
|
|
43
|
+
*/
|
|
44
|
+
sequenceNumber?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The type of the asset coin
|
|
47
|
+
*/
|
|
48
|
+
coinType?: string;
|
|
49
|
+
}
|
|
@@ -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,95 @@
|
|
|
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
|
+
import type { Manager } from "./manager";
|
|
14
|
+
import type { ReportedApy } from "./reported-apy";
|
|
15
|
+
import type { RewardToken } from "./reward-token";
|
|
16
|
+
import type { SubAccount } from "./sub-account";
|
|
17
|
+
export interface VaultDetail {
|
|
18
|
+
/**
|
|
19
|
+
* Object ID of the vault
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Name of the vault
|
|
25
|
+
*/
|
|
26
|
+
longName: string;
|
|
27
|
+
/**
|
|
28
|
+
* Strategy of the vault
|
|
29
|
+
*/
|
|
30
|
+
strategy: string;
|
|
31
|
+
/**
|
|
32
|
+
* Address of the vault
|
|
33
|
+
*/
|
|
34
|
+
address: string;
|
|
35
|
+
/**
|
|
36
|
+
* Description of the vault (offchain data)
|
|
37
|
+
*/
|
|
38
|
+
description: string;
|
|
39
|
+
/**
|
|
40
|
+
* Logo of the vault (offchain data)
|
|
41
|
+
*/
|
|
42
|
+
logoUrl: string;
|
|
43
|
+
/**
|
|
44
|
+
* Public type of the vault
|
|
45
|
+
*/
|
|
46
|
+
publicType: string;
|
|
47
|
+
/**
|
|
48
|
+
* Internal type of the vault
|
|
49
|
+
*/
|
|
50
|
+
internalType?: string;
|
|
51
|
+
receiptCoin: Asset;
|
|
52
|
+
depositCoin: Asset;
|
|
53
|
+
managers: Array<Manager>;
|
|
54
|
+
/**
|
|
55
|
+
* The status of the vault
|
|
56
|
+
*/
|
|
57
|
+
status: VaultDetailStatusEnum;
|
|
58
|
+
/**
|
|
59
|
+
* Vault creation timestamp
|
|
60
|
+
*/
|
|
61
|
+
createdAt: number;
|
|
62
|
+
/**
|
|
63
|
+
* Expressed in basis points (1bps = 0.01%) in e9
|
|
64
|
+
*/
|
|
65
|
+
weeklyPerformanceFeeBpsE9: string;
|
|
66
|
+
managementFeePercentE9: string;
|
|
67
|
+
rateE9: string;
|
|
68
|
+
/**
|
|
69
|
+
* The maximum deposits allowed of the vault
|
|
70
|
+
*/
|
|
71
|
+
maxDepositsAllowed: string;
|
|
72
|
+
withdrawalPeriodDays: number;
|
|
73
|
+
reportedApy: ReportedApy;
|
|
74
|
+
rewards: Array<RewardToken>;
|
|
75
|
+
subAccounts: Array<SubAccount>;
|
|
76
|
+
/**
|
|
77
|
+
* The total deposits of the vault equivalent to USD in e9
|
|
78
|
+
*/
|
|
79
|
+
totalDepositsInUsdE9: string;
|
|
80
|
+
/**
|
|
81
|
+
* The total deposits of the vault
|
|
82
|
+
*/
|
|
83
|
+
totalDeposits: string;
|
|
84
|
+
/**
|
|
85
|
+
* The minimum withdrawal shares of the vault
|
|
86
|
+
*/
|
|
87
|
+
minWithdrawalSharesE9: string;
|
|
88
|
+
}
|
|
89
|
+
export declare const VaultDetailStatusEnum: {
|
|
90
|
+
readonly Active: "active";
|
|
91
|
+
readonly Paused: "paused";
|
|
92
|
+
readonly Deprecated: "deprecated";
|
|
93
|
+
readonly Beta: "beta";
|
|
94
|
+
};
|
|
95
|
+
export type VaultDetailStatusEnum = (typeof VaultDetailStatusEnum)[keyof typeof VaultDetailStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
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.VaultDetailStatusEnum = void 0;
|
|
17
|
+
exports.VaultDetailStatusEnum = {
|
|
18
|
+
Active: "active",
|
|
19
|
+
Paused: "paused",
|
|
20
|
+
Deprecated: "deprecated",
|
|
21
|
+
Beta: "beta"
|
|
22
|
+
};
|
|
@@ -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 VaultFeePercentageUpdatedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous fee percentage of the vault
|
|
19
|
+
*/
|
|
20
|
+
previousFeePercentage?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The new rate of the vault
|
|
23
|
+
*/
|
|
24
|
+
newFeePercentage?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The sequence number of the event
|
|
27
|
+
*/
|
|
28
|
+
sequenceNumber?: 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,57 @@
|
|
|
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 VaultInfo {
|
|
13
|
+
/**
|
|
14
|
+
* The admin identifier for the vault
|
|
15
|
+
*/
|
|
16
|
+
Admin?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The operator identifier for the vault
|
|
19
|
+
*/
|
|
20
|
+
Operator?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the vault
|
|
23
|
+
*/
|
|
24
|
+
Name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The maximum rate change per update
|
|
27
|
+
*/
|
|
28
|
+
MaxRateChangePerUpdate?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The fee percentage for the vault
|
|
31
|
+
*/
|
|
32
|
+
FeePercentage?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The minimum withdrawal shares
|
|
35
|
+
*/
|
|
36
|
+
MinWithdrawalShares?: string;
|
|
37
|
+
/**
|
|
38
|
+
* List of sub-account identifiers
|
|
39
|
+
*/
|
|
40
|
+
SubAccounts?: Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The object identifier of the vault
|
|
43
|
+
*/
|
|
44
|
+
ObjectId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The receipt token type
|
|
47
|
+
*/
|
|
48
|
+
ReceiptCoinType?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The coin type for the vault
|
|
51
|
+
*/
|
|
52
|
+
DepositCoinType?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The number of decimals for the asset coin
|
|
55
|
+
*/
|
|
56
|
+
DepositCoinDecimals?: number;
|
|
57
|
+
}
|
|
@@ -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 VaultMaxTvlUpdatedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous operator of the vault
|
|
19
|
+
*/
|
|
20
|
+
previousMaxTvl?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The new operator of the vault
|
|
23
|
+
*/
|
|
24
|
+
newMaxTvl?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The sequence number of the event
|
|
27
|
+
*/
|
|
28
|
+
sequenceNumber?: 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,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 VaultOperatorChangedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous operator of the vault
|
|
19
|
+
*/
|
|
20
|
+
previousOperator?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The new operator of the vault
|
|
23
|
+
*/
|
|
24
|
+
newOperator?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The sequence number of the event
|
|
27
|
+
*/
|
|
28
|
+
sequenceNumber?: 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,25 @@
|
|
|
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 VaultPausedStatusUpdatedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The status of the vault
|
|
19
|
+
*/
|
|
20
|
+
status?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The sequence number of the event
|
|
23
|
+
*/
|
|
24
|
+
sequenceNumber?: string;
|
|
25
|
+
}
|
|
@@ -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 VaultProtocol {
|
|
13
|
+
/**
|
|
14
|
+
* The package identifier for the protocol
|
|
15
|
+
*/
|
|
16
|
+
Package?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The protocol configuration identifier
|
|
19
|
+
*/
|
|
20
|
+
ProtocolConfig?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The admin capability identifier
|
|
23
|
+
*/
|
|
24
|
+
AdminCap?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The upgrade capability identifier
|
|
27
|
+
*/
|
|
28
|
+
UpgradeCap?: 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,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 VaultRateUpdatedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous rate of the vault
|
|
19
|
+
*/
|
|
20
|
+
previousRate?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The new rate of the vault
|
|
23
|
+
*/
|
|
24
|
+
newRate?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The sequence number of the event
|
|
27
|
+
*/
|
|
28
|
+
sequenceNumber?: string;
|
|
29
|
+
}
|