@gearbox-protocol/sdk 3.0.0-next.170 → 3.0.0-next.172

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.
@@ -16,12 +16,18 @@ const EXTRA_LM_MINING = {
16
16
  [sdk_gov_1.tokenDataByNetwork.Mainnet.sdGHOV3.toLowerCase()]: (timestamp) => {
17
17
  const REWARD_PERIOD = 14 * 24 * 60 * 60;
18
18
  // const REWARDS_FIRST_START = 1711641600;
19
- const REWARDS_FIRST_END = 1712844000;
19
+ // const REWARDS_FIRST_END = 1712844000;
20
20
  const REWARDS_SECOND_END = 1714150800;
21
- const REWARD_FIRST_PART = (0, formatter_1.toBN)("15000", sdk_gov_1.decimals.GHO);
21
+ const REWARDS_THIRD_END = REWARDS_SECOND_END + REWARD_PERIOD;
22
+ // const REWARD_FIRST_PART = toBN("15000", decimals.GHO);
22
23
  const REWARD_SECOND_PART = (0, formatter_1.toBN)("15000", sdk_gov_1.decimals.GHO);
23
- const reward = timestamp >= REWARDS_FIRST_END ? REWARD_SECOND_PART : REWARD_FIRST_PART;
24
- const finished = timestamp >= REWARDS_FIRST_END ? REWARDS_SECOND_END : REWARDS_FIRST_END;
24
+ const REWARD_THIRD_PART = (0, formatter_1.toBN)("15000", sdk_gov_1.decimals.GHO);
25
+ const reward = timestamp >= REWARDS_SECOND_END
26
+ ? REWARD_THIRD_PART
27
+ : REWARD_SECOND_PART;
28
+ const finished = timestamp >= REWARDS_SECOND_END
29
+ ? REWARDS_THIRD_END
30
+ : REWARDS_SECOND_END;
25
31
  return {
26
32
  balance: 0n,
27
33
  duration: REWARD_PERIOD,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-next.170",
3
+ "version": "3.0.0-next.172",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@gearbox-protocol/bots-v3": "^1.5.1",
34
- "@gearbox-protocol/sdk-gov": "^1.62.2",
34
+ "@gearbox-protocol/sdk-gov": "^1.64.6",
35
35
  "axios": "^1.2.6",
36
36
  "decimal.js-light": "^2.5.1",
37
37
  "deep-eql": "^4.1.0",