@ember-finance/sdk 1.0.19 → 1.0.21
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/models/chain.d.ts +54 -0
- package/dist/src/vaults/api/models/chain.js +21 -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/strategy-account.d.ts +49 -0
- package/dist/src/vaults/api/models/strategy-account.js +15 -0
- package/dist/src/vaults/api/models/tag.d.ts +6 -0
- package/dist/src/vaults/api/models/vault-detail.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
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 Chain
|
|
16
|
+
*/
|
|
17
|
+
export interface Chain {
|
|
18
|
+
/**
|
|
19
|
+
* The identifier of the chain
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Chain
|
|
22
|
+
*/
|
|
23
|
+
identifier: string;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the chain
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Chain
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the chain
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Chain
|
|
34
|
+
*/
|
|
35
|
+
type: ChainTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The id of the network
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof Chain
|
|
40
|
+
*/
|
|
41
|
+
networkId?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The name of the blockchain explorer
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Chain
|
|
46
|
+
*/
|
|
47
|
+
explorerName: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const ChainTypeEnum: {
|
|
50
|
+
readonly Evm: "EVM";
|
|
51
|
+
readonly Solana: "SOLANA";
|
|
52
|
+
readonly Sui: "SUI";
|
|
53
|
+
};
|
|
54
|
+
export type ChainTypeEnum = (typeof ChainTypeEnum)[keyof typeof ChainTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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.ChainTypeEnum = void 0;
|
|
17
|
+
exports.ChainTypeEnum = {
|
|
18
|
+
Evm: "EVM",
|
|
19
|
+
Solana: "SOLANA",
|
|
20
|
+
Sui: "SUI"
|
|
21
|
+
};
|
|
@@ -4,6 +4,7 @@ export * from "./account-withdrawal-request";
|
|
|
4
4
|
export * from "./apy-history";
|
|
5
5
|
export * from "./asset";
|
|
6
6
|
export * from "./borrowed";
|
|
7
|
+
export * from "./chain";
|
|
7
8
|
export * from "./coin-price";
|
|
8
9
|
export * from "./deposit-transaction";
|
|
9
10
|
export * from "./ember-position";
|
|
@@ -40,6 +41,7 @@ export * from "./reward";
|
|
|
40
41
|
export * from "./reward-token";
|
|
41
42
|
export * from "./share-price-history";
|
|
42
43
|
export * from "./strategy";
|
|
44
|
+
export * from "./strategy-account";
|
|
43
45
|
export * from "./sub-account";
|
|
44
46
|
export * from "./supplied";
|
|
45
47
|
export * from "./tag";
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./account-withdrawal-request"), exports);
|
|
|
20
20
|
__exportStar(require("./apy-history"), exports);
|
|
21
21
|
__exportStar(require("./asset"), exports);
|
|
22
22
|
__exportStar(require("./borrowed"), exports);
|
|
23
|
+
__exportStar(require("./chain"), exports);
|
|
23
24
|
__exportStar(require("./coin-price"), exports);
|
|
24
25
|
__exportStar(require("./deposit-transaction"), exports);
|
|
25
26
|
__exportStar(require("./ember-position"), exports);
|
|
@@ -56,6 +57,7 @@ __exportStar(require("./reward"), exports);
|
|
|
56
57
|
__exportStar(require("./reward-token"), exports);
|
|
57
58
|
__exportStar(require("./share-price-history"), exports);
|
|
58
59
|
__exportStar(require("./strategy"), exports);
|
|
60
|
+
__exportStar(require("./strategy-account"), exports);
|
|
59
61
|
__exportStar(require("./sub-account"), exports);
|
|
60
62
|
__exportStar(require("./supplied"), exports);
|
|
61
63
|
__exportStar(require("./tag"), exports);
|
|
@@ -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
|
+
import type { Chain } from "./chain";
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StrategyAccount
|
|
17
|
+
*/
|
|
18
|
+
export interface StrategyAccount {
|
|
19
|
+
/**
|
|
20
|
+
* The address of the strategy account
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof StrategyAccount
|
|
23
|
+
*/
|
|
24
|
+
address: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the strategy account
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof StrategyAccount
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* The explorer url of the strategy account
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof StrategyAccount
|
|
35
|
+
*/
|
|
36
|
+
explorerUrl: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the strategy account is active
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof StrategyAccount
|
|
41
|
+
*/
|
|
42
|
+
isActive: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Chain}
|
|
46
|
+
* @memberof StrategyAccount
|
|
47
|
+
*/
|
|
48
|
+
chain: Chain;
|
|
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 });
|
|
@@ -14,6 +14,7 @@ import type { EmberPosition } from "./ember-position";
|
|
|
14
14
|
import type { Manager } from "./manager";
|
|
15
15
|
import type { ReportedApy } from "./reported-apy";
|
|
16
16
|
import type { RewardToken } from "./reward-token";
|
|
17
|
+
import type { StrategyAccount } from "./strategy-account";
|
|
17
18
|
import type { SubAccount } from "./sub-account";
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -111,6 +112,12 @@ export interface VaultDetail {
|
|
|
111
112
|
* @memberof VaultDetail
|
|
112
113
|
*/
|
|
113
114
|
managers: Array<Manager>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {Array<StrategyAccount>}
|
|
118
|
+
* @memberof VaultDetail
|
|
119
|
+
*/
|
|
120
|
+
strategyAccounts: Array<StrategyAccount>;
|
|
114
121
|
/**
|
|
115
122
|
*
|
|
116
123
|
* @type {Array<string>}
|