@ember-finance/sdk 1.0.0 → 1.0.1
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/on-chain-calls/onchain-calls.js +1 -1
- package/package.json +7 -3
|
@@ -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
|
+
import type { Asset } from "./asset";
|
|
13
|
+
import type { VaultSlice } from "./vault-slice";
|
|
14
|
+
export interface DepositTransaction {
|
|
15
|
+
/**
|
|
16
|
+
* The timestamp of the event
|
|
17
|
+
*/
|
|
18
|
+
timestamp?: number;
|
|
19
|
+
/**
|
|
20
|
+
* The amount of the transaction
|
|
21
|
+
*/
|
|
22
|
+
depositAmount?: string;
|
|
23
|
+
depositCoin?: Asset;
|
|
24
|
+
/**
|
|
25
|
+
* The tx digest of the transaction
|
|
26
|
+
*/
|
|
27
|
+
txDigest?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The sequence number of the transaction
|
|
30
|
+
*/
|
|
31
|
+
sequenceNumber?: string;
|
|
32
|
+
vault?: VaultSlice;
|
|
33
|
+
/**
|
|
34
|
+
* The amount of the shares received
|
|
35
|
+
*/
|
|
36
|
+
receivedSharesAmount?: string;
|
|
37
|
+
receivedCoin?: Asset;
|
|
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,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 ExposureCoin {
|
|
14
|
+
coin: Asset;
|
|
15
|
+
/**
|
|
16
|
+
* The amount of the coin in e9 in USDC
|
|
17
|
+
*/
|
|
18
|
+
amountUsdE9: string;
|
|
19
|
+
/**
|
|
20
|
+
* The amount of the coin
|
|
21
|
+
*/
|
|
22
|
+
amount: 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,19 @@
|
|
|
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 { Protocol } from "./protocol";
|
|
13
|
+
export interface ExposureProtocol {
|
|
14
|
+
protocol: Protocol;
|
|
15
|
+
/**
|
|
16
|
+
* The exposure of the protocol
|
|
17
|
+
*/
|
|
18
|
+
amountUsdE9: string;
|
|
19
|
+
}
|
|
@@ -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 { ExposureCoin } from "./exposure-coin";
|
|
13
|
+
import type { ExposureProtocol } from "./exposure-protocol";
|
|
14
|
+
export interface Exposure {
|
|
15
|
+
/**
|
|
16
|
+
* The coins to which the account/vault is exposed
|
|
17
|
+
*/
|
|
18
|
+
coins: Array<ExposureCoin>;
|
|
19
|
+
/**
|
|
20
|
+
* The protocols to which the account/vault is exposed
|
|
21
|
+
*/
|
|
22
|
+
protocols: Array<ExposureProtocol>;
|
|
23
|
+
/**
|
|
24
|
+
* The net account value of the account/vault in e9 in USDC
|
|
25
|
+
*/
|
|
26
|
+
netAccountValueUsdE9: 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,18 @@
|
|
|
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 HistoryInterval: {
|
|
13
|
+
readonly _1h: "1h";
|
|
14
|
+
readonly _1d: "1d";
|
|
15
|
+
readonly _1w: "1w";
|
|
16
|
+
readonly _1mon: "1mon";
|
|
17
|
+
};
|
|
18
|
+
export type HistoryInterval = (typeof HistoryInterval)[keyof typeof HistoryInterval];
|
|
@@ -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.HistoryInterval = void 0;
|
|
17
|
+
exports.HistoryInterval = {
|
|
18
|
+
_1h: "1h",
|
|
19
|
+
_1d: "1d",
|
|
20
|
+
_1w: "1w",
|
|
21
|
+
_1mon: "1mon"
|
|
22
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from "./account-transaction";
|
|
2
|
+
export * from "./account-transaction-transaction-data";
|
|
3
|
+
export * from "./account-withdrawal-request";
|
|
4
|
+
export * from "./asset";
|
|
5
|
+
export * from "./deposit-transaction";
|
|
6
|
+
export * from "./exposure";
|
|
7
|
+
export * from "./exposure-coin";
|
|
8
|
+
export * from "./exposure-protocol";
|
|
9
|
+
export * from "./history-interval";
|
|
10
|
+
export * from "./manager";
|
|
11
|
+
export * from "./min-withdrawal-shares-updated-event";
|
|
12
|
+
export * from "./pnl-history";
|
|
13
|
+
export * from "./protocol";
|
|
14
|
+
export * from "./protocol-info";
|
|
15
|
+
export * from "./raw-event";
|
|
16
|
+
export * from "./raw-event-event-data";
|
|
17
|
+
export * from "./redeem-request-cancelled-transaction";
|
|
18
|
+
export * from "./redeem-request-processed-transaction";
|
|
19
|
+
export * from "./redeem-request-skipped-transaction";
|
|
20
|
+
export * from "./redeem-request-transaction";
|
|
21
|
+
export * from "./reported-apy";
|
|
22
|
+
export * from "./request-processed-event";
|
|
23
|
+
export * from "./request-redeemed-event";
|
|
24
|
+
export * from "./reward-token";
|
|
25
|
+
export * from "./share-price-history";
|
|
26
|
+
export * from "./strategy";
|
|
27
|
+
export * from "./sub-account";
|
|
28
|
+
export * from "./tvl-history";
|
|
29
|
+
export * from "./ultra-coin-info";
|
|
30
|
+
export * from "./update-vault-strategies";
|
|
31
|
+
export * from "./vault-admin-changed-event";
|
|
32
|
+
export * from "./vault-created-event";
|
|
33
|
+
export * from "./vault-deposit-event";
|
|
34
|
+
export * from "./vault-detail";
|
|
35
|
+
export * from "./vault-fee-percentage-updated-event";
|
|
36
|
+
export * from "./vault-info";
|
|
37
|
+
export * from "./vault-max-tvl-updated-event";
|
|
38
|
+
export * from "./vault-operator-changed-event";
|
|
39
|
+
export * from "./vault-paused-status-updated-event";
|
|
40
|
+
export * from "./vault-protocol";
|
|
41
|
+
export * from "./vault-rate-updated-event";
|
|
42
|
+
export * from "./vault-slice";
|
|
43
|
+
export * from "./vault-sub-account-updated-event";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account-transaction"), exports);
|
|
18
|
+
__exportStar(require("./account-transaction-transaction-data"), exports);
|
|
19
|
+
__exportStar(require("./account-withdrawal-request"), exports);
|
|
20
|
+
__exportStar(require("./asset"), exports);
|
|
21
|
+
__exportStar(require("./deposit-transaction"), exports);
|
|
22
|
+
__exportStar(require("./exposure"), exports);
|
|
23
|
+
__exportStar(require("./exposure-coin"), exports);
|
|
24
|
+
__exportStar(require("./exposure-protocol"), exports);
|
|
25
|
+
__exportStar(require("./history-interval"), exports);
|
|
26
|
+
__exportStar(require("./manager"), exports);
|
|
27
|
+
__exportStar(require("./min-withdrawal-shares-updated-event"), exports);
|
|
28
|
+
__exportStar(require("./pnl-history"), exports);
|
|
29
|
+
__exportStar(require("./protocol"), exports);
|
|
30
|
+
__exportStar(require("./protocol-info"), exports);
|
|
31
|
+
__exportStar(require("./raw-event"), exports);
|
|
32
|
+
__exportStar(require("./raw-event-event-data"), exports);
|
|
33
|
+
__exportStar(require("./redeem-request-cancelled-transaction"), exports);
|
|
34
|
+
__exportStar(require("./redeem-request-processed-transaction"), exports);
|
|
35
|
+
__exportStar(require("./redeem-request-skipped-transaction"), exports);
|
|
36
|
+
__exportStar(require("./redeem-request-transaction"), exports);
|
|
37
|
+
__exportStar(require("./reported-apy"), exports);
|
|
38
|
+
__exportStar(require("./request-processed-event"), exports);
|
|
39
|
+
__exportStar(require("./request-redeemed-event"), exports);
|
|
40
|
+
__exportStar(require("./reward-token"), exports);
|
|
41
|
+
__exportStar(require("./share-price-history"), exports);
|
|
42
|
+
__exportStar(require("./strategy"), exports);
|
|
43
|
+
__exportStar(require("./sub-account"), exports);
|
|
44
|
+
__exportStar(require("./tvl-history"), exports);
|
|
45
|
+
__exportStar(require("./ultra-coin-info"), exports);
|
|
46
|
+
__exportStar(require("./update-vault-strategies"), exports);
|
|
47
|
+
__exportStar(require("./vault-admin-changed-event"), exports);
|
|
48
|
+
__exportStar(require("./vault-created-event"), exports);
|
|
49
|
+
__exportStar(require("./vault-deposit-event"), exports);
|
|
50
|
+
__exportStar(require("./vault-detail"), exports);
|
|
51
|
+
__exportStar(require("./vault-fee-percentage-updated-event"), exports);
|
|
52
|
+
__exportStar(require("./vault-info"), exports);
|
|
53
|
+
__exportStar(require("./vault-max-tvl-updated-event"), exports);
|
|
54
|
+
__exportStar(require("./vault-operator-changed-event"), exports);
|
|
55
|
+
__exportStar(require("./vault-paused-status-updated-event"), exports);
|
|
56
|
+
__exportStar(require("./vault-protocol"), exports);
|
|
57
|
+
__exportStar(require("./vault-rate-updated-event"), exports);
|
|
58
|
+
__exportStar(require("./vault-slice"), exports);
|
|
59
|
+
__exportStar(require("./vault-sub-account-updated-event"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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 Manager {
|
|
13
|
+
/**
|
|
14
|
+
* ID of the manager
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
logoUrl: string;
|
|
19
|
+
websiteUrl: string;
|
|
20
|
+
}
|
|
@@ -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 MinWithdrawalSharesUpdatedEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the vault
|
|
15
|
+
*/
|
|
16
|
+
vaultId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous min withdrawal shares
|
|
19
|
+
*/
|
|
20
|
+
previousMinWithdrawalShares?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The new min withdrawal shares
|
|
23
|
+
*/
|
|
24
|
+
newMinWithdrawalShares?: 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,21 @@
|
|
|
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 PnlHistory {
|
|
13
|
+
/**
|
|
14
|
+
* The timestamp of the event
|
|
15
|
+
*/
|
|
16
|
+
timestamp: number;
|
|
17
|
+
/**
|
|
18
|
+
* The pnl of the event
|
|
19
|
+
*/
|
|
20
|
+
pnlE9: string;
|
|
21
|
+
}
|
|
@@ -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 { UltraCoinInfo } from "./ultra-coin-info";
|
|
13
|
+
import type { VaultInfo } from "./vault-info";
|
|
14
|
+
import type { VaultProtocol } from "./vault-protocol";
|
|
15
|
+
export interface ProtocolInfo {
|
|
16
|
+
VaultProtocol?: VaultProtocol;
|
|
17
|
+
/**
|
|
18
|
+
* List of ultra coins
|
|
19
|
+
*/
|
|
20
|
+
UltraCoins?: Array<UltraCoinInfo>;
|
|
21
|
+
/**
|
|
22
|
+
* Map of vaults by id
|
|
23
|
+
*/
|
|
24
|
+
Vaults?: {
|
|
25
|
+
[key: string]: VaultInfo;
|
|
26
|
+
};
|
|
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,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 Protocol {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the protocol
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the protocol
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* The logo url of the protocol
|
|
23
|
+
*/
|
|
24
|
+
logoUrl: string;
|
|
25
|
+
/**
|
|
26
|
+
* The website url of the protocol
|
|
27
|
+
*/
|
|
28
|
+
websiteUrl: string;
|
|
29
|
+
type: ProtocolTypeEnum;
|
|
30
|
+
}
|
|
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];
|
|
@@ -0,0 +1,23 @@
|
|
|
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.ProtocolTypeEnum = void 0;
|
|
17
|
+
exports.ProtocolTypeEnum = {
|
|
18
|
+
Amm: "AMM",
|
|
19
|
+
Perp: "Perp",
|
|
20
|
+
Lending: "Lending",
|
|
21
|
+
Yield: "Yield",
|
|
22
|
+
Bridge: "Bridge"
|
|
23
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { MinWithdrawalSharesUpdatedEvent } from "./min-withdrawal-shares-updated-event";
|
|
13
|
+
import type { RequestProcessedEvent } from "./request-processed-event";
|
|
14
|
+
import type { RequestRedeemedEvent } from "./request-redeemed-event";
|
|
15
|
+
import type { VaultAdminChangedEvent } from "./vault-admin-changed-event";
|
|
16
|
+
import type { VaultCreatedEvent } from "./vault-created-event";
|
|
17
|
+
import type { VaultDepositEvent } from "./vault-deposit-event";
|
|
18
|
+
import type { VaultFeePercentageUpdatedEvent } from "./vault-fee-percentage-updated-event";
|
|
19
|
+
import type { VaultMaxTvlUpdatedEvent } from "./vault-max-tvl-updated-event";
|
|
20
|
+
import type { VaultOperatorChangedEvent } from "./vault-operator-changed-event";
|
|
21
|
+
import type { VaultPausedStatusUpdatedEvent } from "./vault-paused-status-updated-event";
|
|
22
|
+
import type { VaultRateUpdatedEvent } from "./vault-rate-updated-event";
|
|
23
|
+
import type { VaultSubAccountUpdatedEvent } from "./vault-sub-account-updated-event";
|
|
24
|
+
/**
|
|
25
|
+
* @type RawEventEventData
|
|
26
|
+
* The data of the event
|
|
27
|
+
*/
|
|
28
|
+
export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent;
|
|
@@ -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,42 @@
|
|
|
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 { RawEventEventData } from "./raw-event-event-data";
|
|
13
|
+
export interface RawEvent {
|
|
14
|
+
/**
|
|
15
|
+
* The id of the event
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The timestamp of the event
|
|
20
|
+
*/
|
|
21
|
+
createdAt?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The type of the event
|
|
24
|
+
*/
|
|
25
|
+
eventType: RawEventEventTypeEnum;
|
|
26
|
+
eventData?: RawEventEventData;
|
|
27
|
+
}
|
|
28
|
+
export declare const RawEventEventTypeEnum: {
|
|
29
|
+
readonly RequestProcessedEvent: "RequestProcessedEvent";
|
|
30
|
+
readonly RequestRedeemedEvent: "RequestRedeemedEvent";
|
|
31
|
+
readonly VaultDepositEvent: "VaultDepositEvent";
|
|
32
|
+
readonly VaultPausedStatusUpdatedEvent: "VaultPausedStatusUpdatedEvent";
|
|
33
|
+
readonly VaultRateUpdatedEvent: "VaultRateUpdatedEvent";
|
|
34
|
+
readonly VaultCreatedEvent: "VaultCreatedEvent";
|
|
35
|
+
readonly VaultSubAccountUpdatedEvent: "VaultSubAccountUpdatedEvent";
|
|
36
|
+
readonly VaultFeePercentageUpdatedEvent: "VaultFeePercentageUpdatedEvent";
|
|
37
|
+
readonly MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent";
|
|
38
|
+
readonly VaultAdminChangedEvent: "VaultAdminChangedEvent";
|
|
39
|
+
readonly VaultOperatorChangedEvent: "VaultOperatorChangedEvent";
|
|
40
|
+
readonly VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent";
|
|
41
|
+
};
|
|
42
|
+
export type RawEventEventTypeEnum = (typeof RawEventEventTypeEnum)[keyof typeof RawEventEventTypeEnum];
|