@gearbox-protocol/sdk 3.0.0-vfour.270 → 3.0.0-vfour.271
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.
|
@@ -23,12 +23,12 @@ __export(CreditAccountsService_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(CreditAccountsService_exports);
|
|
24
24
|
var import_viem = require("viem");
|
|
25
25
|
var import_compressors = require("../../abi/compressors.js");
|
|
26
|
+
var import_iBaseRewardPool = require("../../abi/iBaseRewardPool.js");
|
|
26
27
|
var import_v300 = require("../../abi/v300.js");
|
|
27
28
|
var import_base = require("../base/index.js");
|
|
28
29
|
var import_constants = require("../constants/index.js");
|
|
29
30
|
var import_market = require("../market/index.js");
|
|
30
31
|
var import_router = require("../router/index.js");
|
|
31
|
-
var import_sdk_legacy = require("../sdk-legacy/index.js");
|
|
32
32
|
var import_utils = require("../utils/index.js");
|
|
33
33
|
var import_viem2 = require("../utils/viem/index.js");
|
|
34
34
|
class CreditAccountsService extends import_base.SDKConstruct {
|
|
@@ -156,7 +156,7 @@ class CreditAccountsService extends import_base.SDKConstruct {
|
|
|
156
156
|
const key = [adapter, stakedPhantomToken].join("-");
|
|
157
157
|
if (!acc[key]) {
|
|
158
158
|
const callData = (0, import_viem.encodeFunctionData)({
|
|
159
|
-
abi:
|
|
159
|
+
abi: import_iBaseRewardPool.iBaseRewardPoolAbi,
|
|
160
160
|
functionName: "getReward",
|
|
161
161
|
args: []
|
|
162
162
|
});
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
iPeripheryCompressorAbi,
|
|
5
5
|
iRewardsCompressorAbi
|
|
6
6
|
} from "../../abi/compressors.js";
|
|
7
|
+
import { iBaseRewardPoolAbi } from "../../abi/iBaseRewardPool.js";
|
|
7
8
|
import { iCreditFacadeV300MulticallAbi } from "../../abi/v300.js";
|
|
8
9
|
import { SDKConstruct } from "../base/index.js";
|
|
9
10
|
import {
|
|
@@ -18,7 +19,6 @@ import { rawTxToMulticallPriceUpdate } from "../market/index.js";
|
|
|
18
19
|
import {
|
|
19
20
|
assetsMap
|
|
20
21
|
} from "../router/index.js";
|
|
21
|
-
import { iBaseRewardPoolAbi } from "../sdk-legacy/index.js";
|
|
22
22
|
import { childLogger } from "../utils/index.js";
|
|
23
23
|
import { simulateMulticall } from "../utils/viem/index.js";
|
|
24
24
|
class CreditAccountsService extends SDKConstruct {
|