Skip to content

Commit 45abac1

Browse files
committed
fix: sdk gov
1 parent 6c79d6a commit 45abac1

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"test": "npx mocha -r ts-node/register -r dotenv/config 'src/**/*.spec.ts'"
2929
},
3030
"dependencies": {
31-
"@gearbox-protocol/sdk-gov": "v2.34.0-next.36",
31+
"@gearbox-protocol/sdk-gov": "v2.34.0-next.37",
3232
"@wagmi/cli": "^2.1.13",
3333
"axios": "^1.2.6",
3434
"decimal.js-light": "^2.5.1",

src/apy/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type ExtraFarmTokens = Extract<
4040
| "DVstETH"
4141
| "beraSTONE"
4242
| "PT_sUSDe_29MAY2025"
43+
| "tETH"
4344
>;
4445

4546
// tokens with apy among them
@@ -72,6 +73,7 @@ type ExtraTokensWithAPY = Extract<
7273
| "PT_sUSDe_27MAR2025"
7374
| "DVstETH"
7475
| "PT_sUSDe_29MAY2025"
76+
| "tETH"
7577
>;
7678

7779
// LRT & LST tokens among them
@@ -110,6 +112,7 @@ const EXTRA_FARM_TOKENS: Record<ExtraFarmTokens, true> = {
110112
DVstETH: true,
111113
beraSTONE: true,
112114
PT_sUSDe_29MAY2025: true,
115+
tETH: true,
113116
};
114117

115118
export const isExtraFarmToken = (t: unknown): t is ExtraFarmTokens => {
@@ -149,6 +152,7 @@ const EXTRA_TOKENS_WITH_APY: Record<ExtraTokensWithAPY, true> = {
149152
PT_corn_pumpBTC_26DEC2024: true,
150153
PT_sUSDe_27MAR2025: true,
151154
PT_sUSDe_29MAY2025: true,
155+
tETH: true,
152156
};
153157

154158
const isExtraTokenWithAPY = (t: unknown): t is ExtraTokensWithAPY => {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,10 +1204,10 @@
12041204
humanize-duration-ts "^2.1.1"
12051205
zod "^3.23.8"
12061206

1207-
"@gearbox-protocol/sdk-gov@v2.34.0-next.36":
1208-
version "2.34.0-next.36"
1209-
resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-2.34.0-next.36.tgz#93ab8565f01d1175b47fe2a63ddf0d7224777d03"
1210-
integrity sha512-VDUVFj2JvXyCcWDY+k4aD3dR2y3dcqVzJbufIB+GqeooJAGtUVU5tOMCM+W5Mm6vYFSF927NXNpfWirTzAFSTA==
1207+
"@gearbox-protocol/sdk-gov@v2.34.0-next.37":
1208+
version "2.34.0-next.37"
1209+
resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-2.34.0-next.37.tgz#c3df1c46dad4642f994acd61640ac9b93247ed14"
1210+
integrity sha512-j58LBXp7pIoK8iVwjiq/Auzzb3ThCZxQ0hQWqsI7NLQsikynrnNY9jiEv8jXz2OK2WlCwksyXMXGzEzF7uvTiw==
12111211
dependencies:
12121212
ethers "6.12.1"
12131213
humanize-duration-ts "^2.1.1"

0 commit comments

Comments
 (0)