@gearbox-protocol/sdk 3.0.0-next.140 → 3.0.0-next.142
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.
- package/lib/apy/defiLamaAPY.js +2 -0
- package/lib/apy/index.d.ts +1 -1
- package/lib/apy/index.js +1 -0
- package/lib/core/endpoint.js +1 -2
- package/package.json +2 -2
package/lib/apy/defiLamaAPY.js
CHANGED
|
@@ -36,11 +36,13 @@ const NORMAL_TO_LAMA = {
|
|
|
36
36
|
rETH: "d4b3c522-6127-4b89-bedf-83641cdcd2eb",
|
|
37
37
|
osETH: "4d01599c-69ae-41a3-bae1-5fab896f04c8",
|
|
38
38
|
auraB_rETH_STABLE_vault: "a4b5b995-99e7-4b8f-916d-8940b5627d70",
|
|
39
|
+
sUSDe: "66985a81-9c51-46ca-9977-42b4fe7bc6df",
|
|
39
40
|
},
|
|
40
41
|
Optimism: {},
|
|
41
42
|
Arbitrum: {
|
|
42
43
|
rETH: "d4b3c522-6127-4b89-bedf-83641cdcd2eb",
|
|
43
44
|
cbETH: "0f45d730-b279-4629-8e11-ccb5cc3038b4",
|
|
45
|
+
sfrxETH: "77020688-e1f9-443c-9388-e51ace15cc32",
|
|
44
46
|
},
|
|
45
47
|
};
|
|
46
48
|
// const CONVEX_TO_LAMA: Record<
|
package/lib/apy/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LPTokens, PartialRecord, SupportedToken } from "@gearbox-protocol/sdk-gov";
|
|
2
|
-
export type AdditionalTokenWithAPY = Extract<SupportedToken, "STETH" | "weETH" | "osETH" | "rETH" | "wstETH" | "ezETH" | "cbETH">;
|
|
2
|
+
export type AdditionalTokenWithAPY = Extract<SupportedToken, "STETH" | "weETH" | "osETH" | "rETH" | "wstETH" | "ezETH" | "cbETH" | "sfrxETH">;
|
|
3
3
|
export declare const additionalTokensWIthAPY: Record<AdditionalTokenWithAPY, true>;
|
|
4
4
|
export type TokensWithAPY = LPTokens | AdditionalTokenWithAPY;
|
|
5
5
|
export type LpTokensAPY = PartialRecord<TokensWithAPY, number>;
|
package/lib/apy/index.js
CHANGED
package/lib/core/endpoint.js
CHANGED
|
@@ -9,8 +9,7 @@ exports.TESTNET_CHAINS = {
|
|
|
9
9
|
};
|
|
10
10
|
const CHARTS_BACKEND_ADDRESSES = {
|
|
11
11
|
[sdk_gov_1.CHAINS.Mainnet]: "https://charts-server.fly.dev",
|
|
12
|
-
|
|
13
|
-
[sdk_gov_1.CHAINS.Arbitrum]: "https://charts-server.fly.dev",
|
|
12
|
+
[sdk_gov_1.CHAINS.Arbitrum]: "https://arbitrum.gearbox.foundation",
|
|
14
13
|
[sdk_gov_1.CHAINS.Local]: "https://charts-server.fly.dev",
|
|
15
14
|
[exports.TESTNET_CHAINS.Mainnet]: "https://testnet.gearbox.foundation",
|
|
16
15
|
// !& test server for Optimism
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.142",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "npx mocha -r ts-node/register -r dotenv/config 'src/**/*.spec.ts'"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@gearbox-protocol/sdk-gov": "^1.
|
|
33
|
+
"@gearbox-protocol/sdk-gov": "^1.42.0",
|
|
34
34
|
"axios": "^1.2.6",
|
|
35
35
|
"decimal.js-light": "^2.5.1",
|
|
36
36
|
"deep-eql": "^4.1.0",
|