Skip to content

Commit 1531734

Browse files
authored
Merge pull request #326 from Gearbox-protocol/bera
feat: bera
2 parents 982f542 + 75f047e commit 1531734

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
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.13",
31+
"@gearbox-protocol/sdk-gov": "v2.34.0-next.20",
3232
"@wagmi/cli": "^2.1.13",
3333
"axios": "^1.2.6",
3434
"decimal.js-light": "^2.5.1",

src/apy/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ type ExtraFarmTokens = Extract<
3838
| "pumpBTC"
3939
| "PT_sUSDe_27MAR2025"
4040
| "DVstETH"
41+
| "beraSTONE"
4142
>;
4243

4344
// tokens with apy among them
@@ -105,6 +106,7 @@ const EXTRA_FARM_TOKENS: Record<ExtraFarmTokens, true> = {
105106
pumpBTC: true,
106107
PT_sUSDe_27MAR2025: true,
107108
DVstETH: true,
109+
beraSTONE: true,
108110
};
109111

110112
export const isExtraFarmToken = (t: unknown): t is ExtraFarmTokens => {

src/core/protocols.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export type ExtendedProtocols =
1717
| "Puffer"
1818
| "Mellow"
1919
| "Lombard"
20-
| "pumpBTC";
20+
| "pumpBTC"
21+
| "Stakestone";
2122

2223
const PROTOCOL_DATA: Record<ExtendedProtocols, ProtocolData> = {
2324
Uniswap: {
@@ -160,6 +161,10 @@ const PROTOCOL_DATA: Record<ExtendedProtocols, ProtocolData> = {
160161
name: "Equalizer",
161162
icon: "/protocols/equalizer.svg",
162163
},
164+
Stakestone: {
165+
name: "Stakestone",
166+
icon: "/protocols/stakestone.svg",
167+
},
163168
};
164169

165170
export const isExtendedProtocol = (t: unknown): t is ExtendedProtocols =>

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.13":
1208-
version "2.34.0-next.13"
1209-
resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-2.34.0-next.13.tgz#1c77421cbbf17936a79e1e10b42f291bdc9f6455"
1210-
integrity sha512-l3riUeIEf3oaVTYKpCSq+cTjCzp0MjtXoV0O8fEjGf39aa/2ilfVaMGlbkkMVdqPu4in2B9OkIRwwgdYrAWLvA==
1207+
"@gearbox-protocol/sdk-gov@v2.34.0-next.20":
1208+
version "2.34.0-next.20"
1209+
resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-2.34.0-next.20.tgz#4d506196057f8a3c07187ebdd2f547e777acbd4d"
1210+
integrity sha512-GieP0ugzd7StNL5Q/CErf7ohkHg4WDfYazb9jqYxgxWmtlLqquZ5M/O32K86JTQ5MCL/3VBCYDDT3WKlZQC1Aw==
12111211
dependencies:
12121212
ethers "6.12.1"
12131213
humanize-duration-ts "^2.1.1"

0 commit comments

Comments
 (0)