@ember-finance/sdk 1.0.16 → 1.0.18
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/apis/vaults-api.d.ts +68 -0
- package/dist/src/vaults/api/apis/vaults-api.js +148 -0
- package/dist/src/vaults/api/models/fees.d.ts +42 -0
- package/dist/src/vaults/api/models/fees.js +15 -0
- package/dist/src/vaults/api/models/index.d.ts +2 -0
- package/dist/src/vaults/api/models/index.js +2 -0
- package/dist/src/vaults/api/models/tag.d.ts +48 -0
- package/dist/src/vaults/api/models/tag.js +15 -0
- package/dist/src/vaults/api/models/vault-detail.d.ts +6 -0
- package/package.json +8 -3
|
@@ -15,6 +15,7 @@ import { type RequestArgs, BaseAPI } from "../base";
|
|
|
15
15
|
import type { ApyHistory } from "../models";
|
|
16
16
|
import type { CoinPrice } from "../models";
|
|
17
17
|
import type { Exposure } from "../models";
|
|
18
|
+
import type { Fees } from "../models";
|
|
18
19
|
import type { HistoryInterval } from "../models";
|
|
19
20
|
import type { PnlHistory } from "../models";
|
|
20
21
|
import type { PnlHistoryInterval } from "../models";
|
|
@@ -22,6 +23,7 @@ import type { ProtocolInfo } from "../models";
|
|
|
22
23
|
import type { RawEvent } from "../models";
|
|
23
24
|
import type { SharePriceHistory } from "../models";
|
|
24
25
|
import type { Strategy } from "../models";
|
|
26
|
+
import type { Tag } from "../models";
|
|
25
27
|
import type { TvlHistory } from "../models";
|
|
26
28
|
import type { UpdateVaultStrategies } from "../models";
|
|
27
29
|
import type { VaultDetail } from "../models";
|
|
@@ -31,6 +33,13 @@ import type { VaultsStats } from "../models";
|
|
|
31
33
|
* @export
|
|
32
34
|
*/
|
|
33
35
|
export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Get all tags
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getAllTags: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
43
|
/**
|
|
35
44
|
*
|
|
36
45
|
* @summary Get the price of the coins
|
|
@@ -39,6 +48,15 @@ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
39
48
|
* @throws {RequiredError}
|
|
40
49
|
*/
|
|
41
50
|
getCoinsPrice: (coinTypes?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Get the fees of the protocol
|
|
54
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
55
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getFees: (startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
60
|
/**
|
|
43
61
|
*
|
|
44
62
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -161,6 +179,13 @@ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
161
179
|
* @export
|
|
162
180
|
*/
|
|
163
181
|
export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @summary Get all tags
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
getAllTags(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tag>>>;
|
|
164
189
|
/**
|
|
165
190
|
*
|
|
166
191
|
* @summary Get the price of the coins
|
|
@@ -169,6 +194,15 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
|
169
194
|
* @throws {RequiredError}
|
|
170
195
|
*/
|
|
171
196
|
getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CoinPrice>>>;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @summary Get the fees of the protocol
|
|
200
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
201
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fees>>;
|
|
172
206
|
/**
|
|
173
207
|
*
|
|
174
208
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -291,6 +325,13 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
|
291
325
|
* @export
|
|
292
326
|
*/
|
|
293
327
|
export declare const VaultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @summary Get all tags
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
getAllTags(options?: RawAxiosRequestConfig): AxiosPromise<Array<Tag>>;
|
|
294
335
|
/**
|
|
295
336
|
*
|
|
296
337
|
* @summary Get the price of the coins
|
|
@@ -299,6 +340,15 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
|
|
|
299
340
|
* @throws {RequiredError}
|
|
300
341
|
*/
|
|
301
342
|
getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CoinPrice>>;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @summary Get the fees of the protocol
|
|
346
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
347
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): AxiosPromise<Fees>;
|
|
302
352
|
/**
|
|
303
353
|
*
|
|
304
354
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -423,6 +473,14 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
|
|
|
423
473
|
* @extends {BaseAPI}
|
|
424
474
|
*/
|
|
425
475
|
export declare class VaultsApi extends BaseAPI {
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @summary Get all tags
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
* @memberof VaultsApi
|
|
482
|
+
*/
|
|
483
|
+
getAllTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag[], any, {}>>;
|
|
426
484
|
/**
|
|
427
485
|
*
|
|
428
486
|
* @summary Get the price of the coins
|
|
@@ -432,6 +490,16 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
432
490
|
* @memberof VaultsApi
|
|
433
491
|
*/
|
|
434
492
|
getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CoinPrice[], any, {}>>;
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @summary Get the fees of the protocol
|
|
496
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
497
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
* @memberof VaultsApi
|
|
501
|
+
*/
|
|
502
|
+
getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fees, any, {}>>;
|
|
435
503
|
/**
|
|
436
504
|
*
|
|
437
505
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -29,6 +29,35 @@ const base_1 = require("../base");
|
|
|
29
29
|
*/
|
|
30
30
|
const VaultsApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Get all tags
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
getAllTags: async (options = {}) => {
|
|
39
|
+
const localVarPath = `/api/v1/vaults/tags`;
|
|
40
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
42
|
+
let baseOptions;
|
|
43
|
+
if (configuration) {
|
|
44
|
+
baseOptions = configuration.baseOptions;
|
|
45
|
+
}
|
|
46
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
47
|
+
const localVarHeaderParameter = {};
|
|
48
|
+
const localVarQueryParameter = {};
|
|
49
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
50
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51
|
+
localVarRequestOptions.headers = {
|
|
52
|
+
...localVarHeaderParameter,
|
|
53
|
+
...headersFromBaseOptions,
|
|
54
|
+
...options.headers
|
|
55
|
+
};
|
|
56
|
+
return {
|
|
57
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58
|
+
options: localVarRequestOptions
|
|
59
|
+
};
|
|
60
|
+
},
|
|
32
61
|
/**
|
|
33
62
|
*
|
|
34
63
|
* @summary Get the price of the coins
|
|
@@ -62,6 +91,47 @@ const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
62
91
|
options: localVarRequestOptions
|
|
63
92
|
};
|
|
64
93
|
},
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary Get the fees of the protocol
|
|
97
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
98
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
getFees: async (startTimestampInMs, endTimestampInMs, options = {}) => {
|
|
103
|
+
// verify required parameter 'startTimestampInMs' is not null or undefined
|
|
104
|
+
(0, common_1.assertParamExists)("getFees", "startTimestampInMs", startTimestampInMs);
|
|
105
|
+
// verify required parameter 'endTimestampInMs' is not null or undefined
|
|
106
|
+
(0, common_1.assertParamExists)("getFees", "endTimestampInMs", endTimestampInMs);
|
|
107
|
+
const localVarPath = `/api/v1/vaults/fees`;
|
|
108
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
109
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
110
|
+
let baseOptions;
|
|
111
|
+
if (configuration) {
|
|
112
|
+
baseOptions = configuration.baseOptions;
|
|
113
|
+
}
|
|
114
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
115
|
+
const localVarHeaderParameter = {};
|
|
116
|
+
const localVarQueryParameter = {};
|
|
117
|
+
if (startTimestampInMs !== undefined) {
|
|
118
|
+
localVarQueryParameter["startTimestampInMs"] = startTimestampInMs;
|
|
119
|
+
}
|
|
120
|
+
if (endTimestampInMs !== undefined) {
|
|
121
|
+
localVarQueryParameter["endTimestampInMs"] = endTimestampInMs;
|
|
122
|
+
}
|
|
123
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
+
localVarRequestOptions.headers = {
|
|
126
|
+
...localVarHeaderParameter,
|
|
127
|
+
...headersFromBaseOptions,
|
|
128
|
+
...options.headers
|
|
129
|
+
};
|
|
130
|
+
return {
|
|
131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions
|
|
133
|
+
};
|
|
134
|
+
},
|
|
65
135
|
/**
|
|
66
136
|
*
|
|
67
137
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -546,6 +616,19 @@ exports.VaultsApiAxiosParamCreator = VaultsApiAxiosParamCreator;
|
|
|
546
616
|
const VaultsApiFp = function (configuration) {
|
|
547
617
|
const localVarAxiosParamCreator = (0, exports.VaultsApiAxiosParamCreator)(configuration);
|
|
548
618
|
return {
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @summary Get all tags
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
*/
|
|
625
|
+
async getAllTags(options) {
|
|
626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTags(options);
|
|
627
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
628
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getAllTags"]?.[localVarOperationServerIndex]
|
|
629
|
+
?.url;
|
|
630
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
631
|
+
},
|
|
549
632
|
/**
|
|
550
633
|
*
|
|
551
634
|
* @summary Get the price of the coins
|
|
@@ -559,6 +642,21 @@ const VaultsApiFp = function (configuration) {
|
|
|
559
642
|
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getCoinsPrice"]?.[localVarOperationServerIndex]?.url;
|
|
560
643
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
561
644
|
},
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
* @summary Get the fees of the protocol
|
|
648
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
649
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @throws {RequiredError}
|
|
652
|
+
*/
|
|
653
|
+
async getFees(startTimestampInMs, endTimestampInMs, options) {
|
|
654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFees(startTimestampInMs, endTimestampInMs, options);
|
|
655
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
656
|
+
const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getFees"]?.[localVarOperationServerIndex]
|
|
657
|
+
?.url;
|
|
658
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
659
|
+
},
|
|
562
660
|
/**
|
|
563
661
|
*
|
|
564
662
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -751,6 +849,17 @@ exports.VaultsApiFp = VaultsApiFp;
|
|
|
751
849
|
const VaultsApiFactory = function (configuration, basePath, axios) {
|
|
752
850
|
const localVarFp = (0, exports.VaultsApiFp)(configuration);
|
|
753
851
|
return {
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @summary Get all tags
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
getAllTags(options) {
|
|
859
|
+
return localVarFp
|
|
860
|
+
.getAllTags(options)
|
|
861
|
+
.then(request => request(axios, basePath));
|
|
862
|
+
},
|
|
754
863
|
/**
|
|
755
864
|
*
|
|
756
865
|
* @summary Get the price of the coins
|
|
@@ -763,6 +872,19 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
|
|
|
763
872
|
.getCoinsPrice(coinTypes, options)
|
|
764
873
|
.then(request => request(axios, basePath));
|
|
765
874
|
},
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @summary Get the fees of the protocol
|
|
878
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
879
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
*/
|
|
883
|
+
getFees(startTimestampInMs, endTimestampInMs, options) {
|
|
884
|
+
return localVarFp
|
|
885
|
+
.getFees(startTimestampInMs, endTimestampInMs, options)
|
|
886
|
+
.then(request => request(axios, basePath));
|
|
887
|
+
},
|
|
766
888
|
/**
|
|
767
889
|
*
|
|
768
890
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -941,6 +1063,18 @@ exports.VaultsApiFactory = VaultsApiFactory;
|
|
|
941
1063
|
* @extends {BaseAPI}
|
|
942
1064
|
*/
|
|
943
1065
|
class VaultsApi extends base_1.BaseAPI {
|
|
1066
|
+
/**
|
|
1067
|
+
*
|
|
1068
|
+
* @summary Get all tags
|
|
1069
|
+
* @param {*} [options] Override http request option.
|
|
1070
|
+
* @throws {RequiredError}
|
|
1071
|
+
* @memberof VaultsApi
|
|
1072
|
+
*/
|
|
1073
|
+
getAllTags(options) {
|
|
1074
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1075
|
+
.getAllTags(options)
|
|
1076
|
+
.then(request => request(this.axios, this.basePath));
|
|
1077
|
+
}
|
|
944
1078
|
/**
|
|
945
1079
|
*
|
|
946
1080
|
* @summary Get the price of the coins
|
|
@@ -954,6 +1088,20 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
954
1088
|
.getCoinsPrice(coinTypes, options)
|
|
955
1089
|
.then(request => request(this.axios, this.basePath));
|
|
956
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
*
|
|
1093
|
+
* @summary Get the fees of the protocol
|
|
1094
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
1095
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof VaultsApi
|
|
1099
|
+
*/
|
|
1100
|
+
getFees(startTimestampInMs, endTimestampInMs, options) {
|
|
1101
|
+
return (0, exports.VaultsApiFp)(this.configuration)
|
|
1102
|
+
.getFees(startTimestampInMs, endTimestampInMs, options)
|
|
1103
|
+
.then(request => request(this.axios, this.basePath));
|
|
1104
|
+
}
|
|
957
1105
|
/**
|
|
958
1106
|
*
|
|
959
1107
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Fees
|
|
16
|
+
*/
|
|
17
|
+
export interface Fees {
|
|
18
|
+
/**
|
|
19
|
+
* The start timestamp of the fees
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Fees
|
|
22
|
+
*/
|
|
23
|
+
startTimestampInMs: number;
|
|
24
|
+
/**
|
|
25
|
+
* The end timestamp of the fees
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Fees
|
|
28
|
+
*/
|
|
29
|
+
endTimestampInMs: number;
|
|
30
|
+
/**
|
|
31
|
+
* The fees in e9 in USDC
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Fees
|
|
34
|
+
*/
|
|
35
|
+
feesUsdE9: string;
|
|
36
|
+
/**
|
|
37
|
+
* The revenue in e9 in USDC
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Fees
|
|
40
|
+
*/
|
|
41
|
+
revenueUsdE9: string;
|
|
42
|
+
}
|
|
@@ -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 });
|
|
@@ -11,6 +11,7 @@ export * from "./exposure";
|
|
|
11
11
|
export * from "./exposure-coin";
|
|
12
12
|
export * from "./exposure-protocol";
|
|
13
13
|
export * from "./fee";
|
|
14
|
+
export * from "./fees";
|
|
14
15
|
export * from "./history-interval";
|
|
15
16
|
export * from "./lp";
|
|
16
17
|
export * from "./manager";
|
|
@@ -41,6 +42,7 @@ export * from "./share-price-history";
|
|
|
41
42
|
export * from "./strategy";
|
|
42
43
|
export * from "./sub-account";
|
|
43
44
|
export * from "./supplied";
|
|
45
|
+
export * from "./tag";
|
|
44
46
|
export * from "./tvl-history";
|
|
45
47
|
export * from "./ultra-coin-info";
|
|
46
48
|
export * from "./update-vault-strategies";
|
|
@@ -27,6 +27,7 @@ __exportStar(require("./exposure"), exports);
|
|
|
27
27
|
__exportStar(require("./exposure-coin"), exports);
|
|
28
28
|
__exportStar(require("./exposure-protocol"), exports);
|
|
29
29
|
__exportStar(require("./fee"), exports);
|
|
30
|
+
__exportStar(require("./fees"), exports);
|
|
30
31
|
__exportStar(require("./history-interval"), exports);
|
|
31
32
|
__exportStar(require("./lp"), exports);
|
|
32
33
|
__exportStar(require("./manager"), exports);
|
|
@@ -57,6 +58,7 @@ __exportStar(require("./share-price-history"), exports);
|
|
|
57
58
|
__exportStar(require("./strategy"), exports);
|
|
58
59
|
__exportStar(require("./sub-account"), exports);
|
|
59
60
|
__exportStar(require("./supplied"), exports);
|
|
61
|
+
__exportStar(require("./tag"), exports);
|
|
60
62
|
__exportStar(require("./tvl-history"), exports);
|
|
61
63
|
__exportStar(require("./ultra-coin-info"), exports);
|
|
62
64
|
__exportStar(require("./update-vault-strategies"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Tag
|
|
16
|
+
*/
|
|
17
|
+
export interface Tag {
|
|
18
|
+
/**
|
|
19
|
+
* The id of the tag
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Tag
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the tag
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Tag
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The description of the tag
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Tag
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
* The rank of the tag
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof Tag
|
|
40
|
+
*/
|
|
41
|
+
rank: number;
|
|
42
|
+
/**
|
|
43
|
+
* The slug of the tag
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Tag
|
|
46
|
+
*/
|
|
47
|
+
slug: string;
|
|
48
|
+
}
|
|
@@ -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 });
|
|
@@ -111,6 +111,12 @@ export interface VaultDetail {
|
|
|
111
111
|
* @memberof VaultDetail
|
|
112
112
|
*/
|
|
113
113
|
managers: Array<Manager>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {Array<string>}
|
|
117
|
+
* @memberof VaultDetail
|
|
118
|
+
*/
|
|
119
|
+
tags: Array<string>;
|
|
114
120
|
/**
|
|
115
121
|
* The status of the vault
|
|
116
122
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-finance/sdk",
|
|
3
3
|
"description": "Ember Protocol SDK",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.18",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@firefly-exchange/library-sui": "^2.8.22",
|
|
44
44
|
"axios": "1.12.2",
|
|
45
|
-
"yargs": "^17.6.2",
|
|
46
45
|
"yarn": "^1.22.19"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
@@ -81,5 +80,11 @@
|
|
|
81
80
|
},
|
|
82
81
|
"files": [
|
|
83
82
|
"dist"
|
|
84
|
-
]
|
|
83
|
+
],
|
|
84
|
+
"resolutions": {
|
|
85
|
+
"markdown-it": ">=12.3.2",
|
|
86
|
+
"ajv": "^6.12.6",
|
|
87
|
+
"jsonpointer": ">=5.0.0",
|
|
88
|
+
"form-data": ">=3.0.4"
|
|
89
|
+
}
|
|
85
90
|
}
|