@ember-finance/sdk 1.0.26 → 1.0.28
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.
|
@@ -22,53 +22,53 @@ export interface ChainVaultDetails {
|
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof ChainVaultDetails
|
|
24
24
|
*/
|
|
25
|
-
address
|
|
25
|
+
address: string;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {Asset}
|
|
29
29
|
* @memberof ChainVaultDetails
|
|
30
30
|
*/
|
|
31
|
-
baseDepositCoin
|
|
31
|
+
baseDepositCoin: Asset;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Asset}
|
|
35
35
|
* @memberof ChainVaultDetails
|
|
36
36
|
*/
|
|
37
|
-
receiptCoin
|
|
37
|
+
receiptCoin: Asset;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {Array<SubAccount>}
|
|
41
41
|
* @memberof ChainVaultDetails
|
|
42
42
|
*/
|
|
43
|
-
subAccounts
|
|
43
|
+
subAccounts: Array<SubAccount>;
|
|
44
44
|
/**
|
|
45
45
|
* The total deposits of the vault equivalent to USD in e9
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof ChainVaultDetails
|
|
48
48
|
*/
|
|
49
|
-
totalDepositsInUsdE9
|
|
49
|
+
totalDepositsInUsdE9: string;
|
|
50
50
|
/**
|
|
51
51
|
* The total deposits of the vault
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof ChainVaultDetails
|
|
54
54
|
*/
|
|
55
|
-
totalDeposits
|
|
55
|
+
totalDeposits: string;
|
|
56
56
|
/**
|
|
57
57
|
* The total number of depositors of the vault
|
|
58
58
|
* @type {string}
|
|
59
59
|
* @memberof ChainVaultDetails
|
|
60
60
|
*/
|
|
61
|
-
totalDepositorsCount
|
|
61
|
+
totalDepositorsCount: string;
|
|
62
62
|
/**
|
|
63
63
|
* The number of active depositors of the vault
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof ChainVaultDetails
|
|
66
66
|
*/
|
|
67
|
-
activeDepositorsCount
|
|
67
|
+
activeDepositorsCount: string;
|
|
68
68
|
/**
|
|
69
69
|
* The supported coins of the vault, used for multi collateral vaults
|
|
70
70
|
* @type {Array<Asset>}
|
|
71
71
|
* @memberof ChainVaultDetails
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
supportedCoins: Array<Asset>;
|
|
74
74
|
}
|
|
@@ -44,13 +44,19 @@ export interface Chain {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof Chain
|
|
46
46
|
*/
|
|
47
|
-
explorerName
|
|
47
|
+
explorerName?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The logo url of the chain
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof Chain
|
|
52
52
|
*/
|
|
53
53
|
logoUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The wagmi chain id of the chain
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Chain
|
|
58
|
+
*/
|
|
59
|
+
wagmiChainId?: string;
|
|
54
60
|
}
|
|
55
61
|
export declare const ChainTypeEnum: {
|
|
56
62
|
readonly Evm: "EVM";
|
|
@@ -20,29 +20,29 @@ export interface RewardToken {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RewardToken
|
|
22
22
|
*/
|
|
23
|
-
symbol
|
|
23
|
+
symbol: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RewardToken
|
|
28
28
|
*/
|
|
29
|
-
imgUrl
|
|
29
|
+
imgUrl: string;
|
|
30
30
|
/**
|
|
31
31
|
* The address of the reward token
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof RewardToken
|
|
34
34
|
*/
|
|
35
|
-
address
|
|
35
|
+
address: string;
|
|
36
36
|
/**
|
|
37
37
|
* The name of the reward token
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof RewardToken
|
|
40
40
|
*/
|
|
41
|
-
name
|
|
41
|
+
name: string;
|
|
42
42
|
/**
|
|
43
43
|
* The decimals of the reward token
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof RewardToken
|
|
46
46
|
*/
|
|
47
|
-
decimals
|
|
47
|
+
decimals: number;
|
|
48
48
|
}
|
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.28",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
"types": "./dist/src/vaults/index.d.ts",
|
|
18
18
|
"import": "./dist/src/vaults/index.js",
|
|
19
19
|
"require": "./dist/src/vaults/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./vaults/v2": {
|
|
22
|
+
"types": "./dist/src/vaults/api/v2/index.d.ts",
|
|
23
|
+
"import": "./dist/src/vaults/api/v2/index.js",
|
|
24
|
+
"require": "./dist/src/vaults/api/v2/index.js"
|
|
20
25
|
}
|
|
21
26
|
},
|
|
22
27
|
"scripts": {
|