@carrot-protocol/boost-http-client 0.2.15-group-refactor1-dev-dee3e7b → 0.2.15-group-refactor1-dev-8af3926
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/index.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/types.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -398,7 +398,7 @@ function parseBank(bankJson) {
|
|
|
398
398
|
assetMaintWeight: Number(bankJson.assetMaintWeight),
|
|
399
399
|
totalAssetShares: Number(bankJson.totalAssetShares),
|
|
400
400
|
assetShareValue: Number(bankJson.assetShareValue),
|
|
401
|
-
|
|
401
|
+
tokenYieldApy: Number(bankJson.tokenYieldApy),
|
|
402
402
|
liabilityAmount: new anchor_1.BN(bankJson.liabilityAmount, "hex"),
|
|
403
403
|
liabilityAmountUi: Number(bankJson.liabilityAmountUi),
|
|
404
404
|
liabilityInitWeight: Number(bankJson.liabilityInitWeight),
|
package/dist/types.d.ts
CHANGED
|
@@ -136,6 +136,7 @@ export interface Bank {
|
|
|
136
136
|
group: web3.PublicKey;
|
|
137
137
|
key: web3.PublicKey;
|
|
138
138
|
mint: web3.PublicKey;
|
|
139
|
+
tokenYieldApy: number;
|
|
139
140
|
supplyApy: number;
|
|
140
141
|
borrowApy: number;
|
|
141
142
|
utilizationRate: number;
|
|
@@ -145,7 +146,6 @@ export interface Bank {
|
|
|
145
146
|
assetMaintWeight: number;
|
|
146
147
|
totalAssetShares: number;
|
|
147
148
|
assetShareValue: number;
|
|
148
|
-
assetYieldApy: number;
|
|
149
149
|
liabilityAmount: BN;
|
|
150
150
|
liabilityAmountUi: number;
|
|
151
151
|
liabilityInitWeight: number;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -528,7 +528,7 @@ function parseBank(bankJson: any): Bank {
|
|
|
528
528
|
assetMaintWeight: Number(bankJson.assetMaintWeight),
|
|
529
529
|
totalAssetShares: Number(bankJson.totalAssetShares),
|
|
530
530
|
assetShareValue: Number(bankJson.assetShareValue),
|
|
531
|
-
|
|
531
|
+
tokenYieldApy: Number(bankJson.tokenYieldApy),
|
|
532
532
|
liabilityAmount: new BN(bankJson.liabilityAmount, "hex"),
|
|
533
533
|
liabilityAmountUi: Number(bankJson.liabilityAmountUi),
|
|
534
534
|
liabilityInitWeight: Number(bankJson.liabilityInitWeight),
|
package/src/types.ts
CHANGED
|
@@ -156,6 +156,7 @@ export interface Bank {
|
|
|
156
156
|
group: web3.PublicKey;
|
|
157
157
|
key: web3.PublicKey;
|
|
158
158
|
mint: web3.PublicKey;
|
|
159
|
+
tokenYieldApy: number;
|
|
159
160
|
supplyApy: number;
|
|
160
161
|
borrowApy: number;
|
|
161
162
|
utilizationRate: number;
|
|
@@ -165,7 +166,6 @@ export interface Bank {
|
|
|
165
166
|
assetMaintWeight: number;
|
|
166
167
|
totalAssetShares: number;
|
|
167
168
|
assetShareValue: number;
|
|
168
|
-
assetYieldApy: number;
|
|
169
169
|
liabilityAmount: BN;
|
|
170
170
|
liabilityAmountUi: number;
|
|
171
171
|
liabilityInitWeight: number;
|