@gearbox-protocol/sdk 3.0.0-vfour.339 → 3.0.0-vfour.340

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.
@@ -36,7 +36,6 @@ var import_viem = require("viem");
36
36
  var import_iAirdropDistributor = require("../../../abi/iAirdropDistributor.js");
37
37
  var import_iFarmingPool = require("../../../abi/iFarmingPool.js");
38
38
  var import_chain = require("../../chain/index.js");
39
- var import_constants = require("../../constants/index.js");
40
39
  var import_utils = require("../../utils/index.js");
41
40
  var import_endpoint = require("../core/endpoint.js");
42
41
  var import_math = require("../utils/math.js");
@@ -144,7 +143,6 @@ class GearboxRewardsApi {
144
143
  }));
145
144
  const mc = await provider.multicall({
146
145
  allowFailure: false,
147
- multicallAddress: import_constants.MULTICALL_ADDRESS,
148
146
  contracts: [...farmInfoCalls, ...farmSupplyCalls, ...rewardTokenCalls]
149
147
  });
150
148
  const mcResponse = mc;
@@ -257,7 +255,6 @@ class GearboxRewardsApi {
257
255
  const [gearboxLmResponse, merkleXYZLMResponse] = await Promise.allSettled([
258
256
  provider.multicall({
259
257
  allowFailure: false,
260
- multicallAddress: import_constants.MULTICALL_ADDRESS,
261
258
  contracts: poolTokens.map((address) => ({
262
259
  address,
263
260
  abi: import_iFarmingPool.iFarmingPoolAbi,
@@ -3,7 +3,6 @@ import { getAddress, getContract } from "viem";
3
3
  import { iAirdropDistributorAbi } from "../../../abi/iAirdropDistributor.js";
4
4
  import { iFarmingPoolAbi } from "../../../abi/iFarmingPool.js";
5
5
  import { chains } from "../../chain/index.js";
6
- import { MULTICALL_ADDRESS } from "../../constants/index.js";
7
6
  import { toBigInt, TypedObjectUtils } from "../../utils/index.js";
8
7
  import { GearboxBackendApi } from "../core/endpoint.js";
9
8
  import { BigIntMath } from "../utils/math.js";
@@ -111,7 +110,6 @@ class GearboxRewardsApi {
111
110
  }));
112
111
  const mc = await provider.multicall({
113
112
  allowFailure: false,
114
- multicallAddress: MULTICALL_ADDRESS,
115
113
  contracts: [...farmInfoCalls, ...farmSupplyCalls, ...rewardTokenCalls]
116
114
  });
117
115
  const mcResponse = mc;
@@ -224,7 +222,6 @@ class GearboxRewardsApi {
224
222
  const [gearboxLmResponse, merkleXYZLMResponse] = await Promise.allSettled([
225
223
  provider.multicall({
226
224
  allowFailure: false,
227
- multicallAddress: MULTICALL_ADDRESS,
228
225
  contracts: poolTokens.map((address) => ({
229
226
  address,
230
227
  abi: iFarmingPoolAbi,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-vfour.339",
3
+ "version": "3.0.0-vfour.340",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",