@gearbox-protocol/sdk 2.1.30 → 2.1.31

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.
@@ -2,7 +2,7 @@ import { TradeType } from "../pathfinder/tradeTypes";
2
2
  import { NormalToken } from "./normal";
3
3
  import type { TokenBase } from "./token";
4
4
  import { TokenType } from "./tokenType";
5
- export type BalancerLPToken = "50OHM_50DAI" | "50OHM_50WETH" | "OHM_wstETH";
5
+ export type BalancerLPToken = "50OHM_50DAI" | "50OHM_50WETH" | "OHM_wstETH" | "USDC-DAI-USDT";
6
6
  export type BalancerLpTokenData = {
7
7
  symbol: BalancerLPToken;
8
8
  type: TokenType.BALANCER_LP_TOKEN;
@@ -46,6 +46,20 @@ exports.balancerLpTokens = {
46
46
  },
47
47
  ],
48
48
  },
49
+ "USDC-DAI-USDT": {
50
+ name: "Balancer USDC-DAI-USDT",
51
+ symbol: "USDC-DAI-USDT",
52
+ type: tokenType_1.TokenType.BALANCER_LP_TOKEN,
53
+ underlying: ["USDC", "DAI", "USDT"],
54
+ poolId: "0x79c58f70905f734641735bc61e45c19dd9ad60bc0000000000000000000004e7",
55
+ lpActions: [
56
+ {
57
+ type: tradeTypes_1.TradeType.BalancerExit,
58
+ contract: "BALANCER_VAULT",
59
+ tokenOut: ["USDC", "DAI", "USDT"],
60
+ },
61
+ ],
62
+ },
49
63
  };
50
64
  const isBalancerLPToken = (t) => typeof t === "string" && !!exports.balancerLpTokens[t];
51
65
  exports.isBalancerLPToken = isBalancerLPToken;
@@ -97,6 +97,7 @@ exports.decimals = {
97
97
  "50OHM_50DAI": 18,
98
98
  "50OHM_50WETH": 18,
99
99
  OHM_wstETH: 18,
100
+ "USDC-DAI-USDT": 18,
100
101
  aDAI: 18,
101
102
  aUSDC: 6,
102
103
  aUSDT: 6,
@@ -125,6 +125,7 @@ exports.tokenDataByNetwork = {
125
125
  "50OHM_50DAI": "0x76FCf0e8C7Ff37A47a799FA2cd4c13cDe0D981C9",
126
126
  "50OHM_50WETH": "0xD1eC5e215E8148D76F4460e4097FD3d5ae0A3558",
127
127
  OHM_wstETH: "0xd4f79CA0Ac83192693bce4699d0c10C66Aa6Cf0F",
128
+ "USDC-DAI-USDT": "0x79c58f70905f734641735bc61e45c19dd9ad60bc",
128
129
  // GEARBOX
129
130
  dDAI: "0x6CFaF95457d7688022FC53e7AbE052ef8DFBbdBA",
130
131
  dUSDC: "0xc411dB5f5Eb3f7d552F9B8454B2D74097ccdE6E3",
@@ -250,6 +251,7 @@ exports.tokenDataByNetwork = {
250
251
  "50OHM_50DAI": constants_1.NOT_DEPLOYED,
251
252
  "50OHM_50WETH": "0x89dc7e71e362faF88D92288fE2311D25c6a1B5E0",
252
253
  OHM_wstETH: constants_1.NOT_DEPLOYED,
254
+ "USDC-DAI-USDT": constants_1.NOT_DEPLOYED,
253
255
  // GEARBOX
254
256
  dDAI: constants_1.NOT_DEPLOYED,
255
257
  dUSDC: constants_1.NOT_DEPLOYED,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "2.1.30",
3
+ "version": "2.1.31",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",