@gearbox-protocol/periphery-v3 1.3.2 → 1.3.3

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.
@@ -225,7 +225,7 @@ contract DataCompressorV3_00 is IDataCompressorV3_00, ContractsRegisterTrait, Li
225
225
  balance.isQuoted = tokenMask & quotedTokensMask == 0 ? false : true;
226
226
 
227
227
  if (balance.isQuoted) {
228
- (balance.quota,) = pqk.getQuota(_creditAccount, balance.token);
228
+ (balance.quota, balance.quotaCumulativeIndexLU) = pqk.getQuota(_creditAccount, balance.token);
229
229
  balance.quotaRate = pqk.getQuotaRate(balance.token);
230
230
 
231
231
  quotaRevenue += balance.quota * balance.quotaRate;
@@ -16,6 +16,7 @@ struct TokenBalance {
16
16
  bool isQuoted;
17
17
  uint256 quota;
18
18
  uint16 quotaRate;
19
+ uint256 quotaCumulativeIndexLU;
19
20
  }
20
21
 
21
22
  struct QuotaInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/periphery-v3",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:Gearbox-protocol/periphery-v3.git",
6
6
  "author": "Mikael <26343374+0xmikko@users.noreply.github.com>",