@gearbox-protocol/sdk 0.0.74 → 0.0.77
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/contracts/contracts.js +6 -6
- package/lib/index.d.ts +9 -3
- package/lib/index.js +12 -5
- package/lib/tokens/convex.js +10 -10
- package/lib/tokens/token.js +6 -6
- package/package.json +1 -1
- package/src/contracts/contracts.ts +6 -6
- package/src/index.ts +20 -10
- package/src/tokens/convex.ts +10 -10
- package/src/tokens/token.ts +6 -6
|
@@ -72,12 +72,12 @@ exports.contractsByNetwork = {
|
|
|
72
72
|
YEARN_CURVE_FRAX_VAULT: token_1.tokenDataByNetwork.Kovan.yvCurve_FRAX,
|
|
73
73
|
YEARN_CURVE_STETH_VAULT: token_1.tokenDataByNetwork.Kovan.yvCurve_stETH,
|
|
74
74
|
// CONVEX
|
|
75
|
-
CONVEX_BOOSTER: "",
|
|
76
|
-
CONVEX_3CRV_POOL: "",
|
|
77
|
-
CONVEX_GUSD_POOL: "",
|
|
78
|
-
CONVEX_SUSD_POOL: "",
|
|
79
|
-
CONVEX_STECRV_POOL: "",
|
|
80
|
-
CONVEX_FRAX3CRV_POOL: "",
|
|
75
|
+
CONVEX_BOOSTER: "0x6cf009c9f0C3eFea2487CED54C11f2AeaBE76141",
|
|
76
|
+
CONVEX_3CRV_POOL: "0x9103EC8d5167afb6247B477f2973e55cA7af5cC4",
|
|
77
|
+
CONVEX_GUSD_POOL: "0x77C00282CeA8b9d65DC7608119Fe118946041685",
|
|
78
|
+
CONVEX_SUSD_POOL: "0xE37bbe5f655253076B014931D3637e31ddA61F88",
|
|
79
|
+
CONVEX_STECRV_POOL: "0x015c158325E59686cd4e49A4603e705C23B46aDF",
|
|
80
|
+
CONVEX_FRAX3CRV_POOL: "0x5e1302c2969641f79C4504F368BD663d7B22EAE5",
|
|
81
81
|
CONVEX_CLAIM_ZAP: "",
|
|
82
82
|
// LIDO
|
|
83
83
|
LIDO_STETH_GATEWAY: "0x0aaEB0372c2a32088D4F2c9a6ECfB3fFc7Fa2ffF"
|
package/lib/index.d.ts
CHANGED
|
@@ -10,8 +10,6 @@ export * from "./contracts/protocols";
|
|
|
10
10
|
export * from "./oracles/priceFeeds";
|
|
11
11
|
export * from "./core/operations";
|
|
12
12
|
export * from "./oracles/oracles";
|
|
13
|
-
export * from "./tokens/token";
|
|
14
|
-
export * from "./tokens/tokenData";
|
|
15
13
|
export * from "./core/tokenDistributor";
|
|
16
14
|
export * from "./pathfinder/trade";
|
|
17
15
|
export * from "./core/transactions";
|
|
@@ -28,11 +26,19 @@ export * from "./utils/math";
|
|
|
28
26
|
export * from "./payload/graphPayload";
|
|
29
27
|
export * from "./types/index";
|
|
30
28
|
export type { IDataCompressor, IWETHGateway } from "./types";
|
|
29
|
+
export { TokenType } from "./tokens/tokenType";
|
|
30
|
+
export * from "./tokens/token";
|
|
31
|
+
export * from "./tokens/tokenData";
|
|
32
|
+
export * from "./tokens/connectors";
|
|
33
|
+
export * from "./tokens/convex";
|
|
34
|
+
export * from "./tokens/curveLP";
|
|
35
|
+
export * from "./tokens/gear";
|
|
36
|
+
export * from "./tokens/normal";
|
|
37
|
+
export * from "./tokens/yearn";
|
|
31
38
|
export * from "./core/history";
|
|
32
39
|
export { MultiCallContract } from "./utils/multicall";
|
|
33
40
|
export { callRepeater } from "./utils/repeater";
|
|
34
41
|
export { getContractName } from "./contracts/contractsRegister";
|
|
35
42
|
export { AdapterInterface } from "./contracts/adapters";
|
|
36
43
|
export { objectEntries, swapKeyValue, keyToLowercase } from "./utils/mappers";
|
|
37
|
-
export { TokenType } from "./tokens/tokenType";
|
|
38
44
|
export { SwapType } from "./pathfinder/tradeTypes";
|
package/lib/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.SwapType = exports.
|
|
17
|
+
exports.SwapType = exports.keyToLowercase = exports.swapKeyValue = exports.objectEntries = exports.AdapterInterface = exports.getContractName = exports.callRepeater = exports.MultiCallContract = exports.TokenType = void 0;
|
|
18
18
|
__exportStar(require("./core/constants"), exports);
|
|
19
19
|
__exportStar(require("./core/creditAccount"), exports);
|
|
20
20
|
__exportStar(require("./core/creditManager"), exports);
|
|
@@ -27,8 +27,6 @@ __exportStar(require("./contracts/protocols"), exports);
|
|
|
27
27
|
__exportStar(require("./oracles/priceFeeds"), exports);
|
|
28
28
|
__exportStar(require("./core/operations"), exports);
|
|
29
29
|
__exportStar(require("./oracles/oracles"), exports);
|
|
30
|
-
__exportStar(require("./tokens/token"), exports);
|
|
31
|
-
__exportStar(require("./tokens/tokenData"), exports);
|
|
32
30
|
__exportStar(require("./core/tokenDistributor"), exports);
|
|
33
31
|
__exportStar(require("./pathfinder/trade"), exports);
|
|
34
32
|
__exportStar(require("./core/transactions"), exports);
|
|
@@ -44,6 +42,17 @@ __exportStar(require("./utils/events"), exports);
|
|
|
44
42
|
__exportStar(require("./utils/math"), exports);
|
|
45
43
|
__exportStar(require("./payload/graphPayload"), exports);
|
|
46
44
|
__exportStar(require("./types/index"), exports);
|
|
45
|
+
// Tokens
|
|
46
|
+
var tokenType_1 = require("./tokens/tokenType");
|
|
47
|
+
Object.defineProperty(exports, "TokenType", { enumerable: true, get: function () { return tokenType_1.TokenType; } });
|
|
48
|
+
__exportStar(require("./tokens/token"), exports);
|
|
49
|
+
__exportStar(require("./tokens/tokenData"), exports);
|
|
50
|
+
__exportStar(require("./tokens/connectors"), exports);
|
|
51
|
+
__exportStar(require("./tokens/convex"), exports);
|
|
52
|
+
__exportStar(require("./tokens/curveLP"), exports);
|
|
53
|
+
__exportStar(require("./tokens/gear"), exports);
|
|
54
|
+
__exportStar(require("./tokens/normal"), exports);
|
|
55
|
+
__exportStar(require("./tokens/yearn"), exports);
|
|
47
56
|
__exportStar(require("./core/history"), exports);
|
|
48
57
|
var multicall_1 = require("./utils/multicall");
|
|
49
58
|
Object.defineProperty(exports, "MultiCallContract", { enumerable: true, get: function () { return multicall_1.MultiCallContract; } });
|
|
@@ -57,7 +66,5 @@ var mappers_1 = require("./utils/mappers");
|
|
|
57
66
|
Object.defineProperty(exports, "objectEntries", { enumerable: true, get: function () { return mappers_1.objectEntries; } });
|
|
58
67
|
Object.defineProperty(exports, "swapKeyValue", { enumerable: true, get: function () { return mappers_1.swapKeyValue; } });
|
|
59
68
|
Object.defineProperty(exports, "keyToLowercase", { enumerable: true, get: function () { return mappers_1.keyToLowercase; } });
|
|
60
|
-
var tokenType_1 = require("./tokens/tokenType");
|
|
61
|
-
Object.defineProperty(exports, "TokenType", { enumerable: true, get: function () { return tokenType_1.TokenType; } });
|
|
62
69
|
var tradeTypes_1 = require("./pathfinder/tradeTypes");
|
|
63
70
|
Object.defineProperty(exports, "SwapType", { enumerable: true, get: function () { return tradeTypes_1.SwapType; } });
|
package/lib/tokens/convex.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.convexTokens = {
|
|
|
11
11
|
symbol: "cvx3Crv",
|
|
12
12
|
type: tokenType_1.TokenType.CONVEX_LP_TOKEN,
|
|
13
13
|
pool: "CONVEX_3CRV_POOL",
|
|
14
|
-
pid:
|
|
14
|
+
pid: 9,
|
|
15
15
|
underlying: "3Crv",
|
|
16
16
|
stakedToken: "stkcvx3Crv",
|
|
17
17
|
lpActions: [
|
|
@@ -33,7 +33,7 @@ exports.convexTokens = {
|
|
|
33
33
|
symbol: "cvxsteCRV",
|
|
34
34
|
type: tokenType_1.TokenType.CONVEX_LP_TOKEN,
|
|
35
35
|
pool: "CONVEX_STECRV_POOL",
|
|
36
|
-
pid:
|
|
36
|
+
pid: 25,
|
|
37
37
|
underlying: "steCRV",
|
|
38
38
|
stakedToken: "stkcvxsteCRV",
|
|
39
39
|
lpActions: [
|
|
@@ -55,7 +55,7 @@ exports.convexTokens = {
|
|
|
55
55
|
symbol: "cvxFRAX3CRV",
|
|
56
56
|
type: tokenType_1.TokenType.CONVEX_LP_TOKEN,
|
|
57
57
|
pool: "CONVEX_FRAX3CRV_POOL",
|
|
58
|
-
pid:
|
|
58
|
+
pid: 32,
|
|
59
59
|
underlying: "FRAX3CRV",
|
|
60
60
|
stakedToken: "stkcvxFRAX3CRV",
|
|
61
61
|
lpActions: [
|
|
@@ -77,7 +77,7 @@ exports.convexTokens = {
|
|
|
77
77
|
symbol: "cvxcrvPlain3andSUSD",
|
|
78
78
|
type: tokenType_1.TokenType.CONVEX_LP_TOKEN,
|
|
79
79
|
pool: "CONVEX_SUSD_POOL",
|
|
80
|
-
pid:
|
|
80
|
+
pid: 4,
|
|
81
81
|
underlying: "crvPlain3andSUSD",
|
|
82
82
|
stakedToken: "stkcvxcrvPlain3andSUSD",
|
|
83
83
|
lpActions: [
|
|
@@ -99,7 +99,7 @@ exports.convexTokens = {
|
|
|
99
99
|
symbol: "cvxgusd3CRV",
|
|
100
100
|
type: tokenType_1.TokenType.CONVEX_LP_TOKEN,
|
|
101
101
|
pool: "CONVEX_GUSD_POOL",
|
|
102
|
-
pid:
|
|
102
|
+
pid: 10,
|
|
103
103
|
underlying: "gusd3CRV",
|
|
104
104
|
stakedToken: "stkcvxgusd3CRV",
|
|
105
105
|
lpActions: [
|
|
@@ -122,7 +122,7 @@ exports.convexTokens = {
|
|
|
122
122
|
symbol: "stkcvx3Crv",
|
|
123
123
|
type: tokenType_1.TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
124
124
|
pool: "CONVEX_3CRV_POOL",
|
|
125
|
-
pid:
|
|
125
|
+
pid: 9,
|
|
126
126
|
underlying: "3Crv",
|
|
127
127
|
lpToken: "cvx3Crv",
|
|
128
128
|
lpActions: [
|
|
@@ -144,7 +144,7 @@ exports.convexTokens = {
|
|
|
144
144
|
symbol: "stkcvxsteCRV",
|
|
145
145
|
type: tokenType_1.TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
146
146
|
pool: "CONVEX_STECRV_POOL",
|
|
147
|
-
pid:
|
|
147
|
+
pid: 25,
|
|
148
148
|
underlying: "steCRV",
|
|
149
149
|
lpToken: "cvxsteCRV",
|
|
150
150
|
lpActions: [
|
|
@@ -166,7 +166,7 @@ exports.convexTokens = {
|
|
|
166
166
|
symbol: "stkcvxFRAX3CRV",
|
|
167
167
|
type: tokenType_1.TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
168
168
|
pool: "CONVEX_FRAX3CRV_POOL",
|
|
169
|
-
pid:
|
|
169
|
+
pid: 32,
|
|
170
170
|
underlying: "FRAX3CRV",
|
|
171
171
|
lpToken: "cvxFRAX3CRV",
|
|
172
172
|
lpActions: [
|
|
@@ -188,7 +188,7 @@ exports.convexTokens = {
|
|
|
188
188
|
symbol: "stkcvxcrvPlain3andSUSD",
|
|
189
189
|
type: tokenType_1.TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
190
190
|
pool: "CONVEX_SUSD_POOL",
|
|
191
|
-
pid:
|
|
191
|
+
pid: 4,
|
|
192
192
|
underlying: "crvPlain3andSUSD",
|
|
193
193
|
lpToken: "cvxcrvPlain3andSUSD",
|
|
194
194
|
lpActions: [
|
|
@@ -210,7 +210,7 @@ exports.convexTokens = {
|
|
|
210
210
|
symbol: "stkcvxgusd3CRV",
|
|
211
211
|
type: tokenType_1.TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
212
212
|
pool: "CONVEX_GUSD_POOL",
|
|
213
|
-
pid:
|
|
213
|
+
pid: 10,
|
|
214
214
|
underlying: "gusd3CRV",
|
|
215
215
|
lpToken: "cvxgusd3CRV",
|
|
216
216
|
lpActions: [
|
package/lib/tokens/token.js
CHANGED
|
@@ -110,7 +110,7 @@ exports.tokenDataByNetwork = {
|
|
|
110
110
|
/// UPDATE
|
|
111
111
|
STETH: "0xab8281DD69F1aeeA1FDf5ee3Ae85Bb74E7bB1564",
|
|
112
112
|
FTM: "0x5DE02cFf707eBC43f58DFB022518c18C66147b1E",
|
|
113
|
-
CVX: "
|
|
113
|
+
CVX: "0x3628e6e51d685037378e07d2E176E56e67adeB72",
|
|
114
114
|
FRAX: "0x301b0B83E5F5deC5233075368B8b459CEedc0948",
|
|
115
115
|
FXS: "0x25eb8A9B30981d1F04C306829FEBc855FA86695A",
|
|
116
116
|
LDO: "0x99bB41898474aDb38e098fFdB0cD17d2619cA3ef",
|
|
@@ -133,11 +133,11 @@ exports.tokenDataByNetwork = {
|
|
|
133
133
|
crvPlain3andSUSD: "0x4dD5A029690CC4Ac688A1ccEd7AF8687592Ee3D7",
|
|
134
134
|
gusd3CRV: "0xC9770ff0d47f7c97A579E4a99Ac5fAeC4991a3C6",
|
|
135
135
|
// CONVEX LP TOKENS
|
|
136
|
-
cvx3Crv: "",
|
|
137
|
-
cvxsteCRV: "",
|
|
138
|
-
cvxFRAX3CRV: "",
|
|
139
|
-
cvxcrvPlain3andSUSD: "",
|
|
140
|
-
cvxgusd3CRV: "",
|
|
136
|
+
cvx3Crv: "0xdce2f3d8D3AfF3F78dbBC6fa37dFe9f19a4F0DEB",
|
|
137
|
+
cvxsteCRV: "0x49C2f90602D3A4297aC6794F41d97CBF9a6C8E0f",
|
|
138
|
+
cvxFRAX3CRV: "0x4c92f26Da430e69827aE865Aec738a34e5b92f3F",
|
|
139
|
+
cvxcrvPlain3andSUSD: "0x51d37907114f5c3034eD8495B9DDE50BED5A03dC",
|
|
140
|
+
cvxgusd3CRV: "0xc194629156003f53F352c81E93502f909E60a37C",
|
|
141
141
|
// CONVEX PHANTOM TOKEN ADDRESSES
|
|
142
142
|
stkcvx3Crv: "",
|
|
143
143
|
stkcvxsteCRV: "",
|
package/package.json
CHANGED
|
@@ -109,12 +109,12 @@ export const contractsByNetwork: Record<
|
|
|
109
109
|
YEARN_CURVE_STETH_VAULT: tokenDataByNetwork.Kovan.yvCurve_stETH,
|
|
110
110
|
|
|
111
111
|
// CONVEX
|
|
112
|
-
CONVEX_BOOSTER: "",
|
|
113
|
-
CONVEX_3CRV_POOL: "",
|
|
114
|
-
CONVEX_GUSD_POOL: "",
|
|
115
|
-
CONVEX_SUSD_POOL: "",
|
|
116
|
-
CONVEX_STECRV_POOL: "",
|
|
117
|
-
CONVEX_FRAX3CRV_POOL: "",
|
|
112
|
+
CONVEX_BOOSTER: "0x6cf009c9f0C3eFea2487CED54C11f2AeaBE76141",
|
|
113
|
+
CONVEX_3CRV_POOL: "0x9103EC8d5167afb6247B477f2973e55cA7af5cC4",
|
|
114
|
+
CONVEX_GUSD_POOL: "0x77C00282CeA8b9d65DC7608119Fe118946041685",
|
|
115
|
+
CONVEX_SUSD_POOL: "0xE37bbe5f655253076B014931D3637e31ddA61F88",
|
|
116
|
+
CONVEX_STECRV_POOL: "0x015c158325E59686cd4e49A4603e705C23B46aDF",
|
|
117
|
+
CONVEX_FRAX3CRV_POOL: "0x5e1302c2969641f79C4504F368BD663d7B22EAE5",
|
|
118
118
|
CONVEX_CLAIM_ZAP: "",
|
|
119
119
|
|
|
120
120
|
// LIDO
|
package/src/index.ts
CHANGED
|
@@ -10,8 +10,7 @@ export * from "./contracts/protocols";
|
|
|
10
10
|
export * from "./oracles/priceFeeds";
|
|
11
11
|
export * from "./core/operations";
|
|
12
12
|
export * from "./oracles/oracles";
|
|
13
|
-
|
|
14
|
-
export * from "./tokens/tokenData";
|
|
13
|
+
|
|
15
14
|
export * from "./core/tokenDistributor";
|
|
16
15
|
export * from "./pathfinder/trade";
|
|
17
16
|
export * from "./core/transactions";
|
|
@@ -28,13 +27,24 @@ export * from "./utils/math";
|
|
|
28
27
|
export * from "./payload/graphPayload";
|
|
29
28
|
export * from "./types/index";
|
|
30
29
|
|
|
31
|
-
export type {IDataCompressor, IWETHGateway} from "./types";
|
|
30
|
+
export type { IDataCompressor, IWETHGateway } from "./types";
|
|
31
|
+
|
|
32
|
+
// Tokens
|
|
33
|
+
export { TokenType } from "./tokens/tokenType";
|
|
34
|
+
export * from "./tokens/token";
|
|
35
|
+
export * from "./tokens/tokenData";
|
|
36
|
+
export * from "./tokens/connectors";
|
|
37
|
+
export * from "./tokens/convex";
|
|
38
|
+
export * from "./tokens/curveLP";
|
|
39
|
+
export * from "./tokens/gear";
|
|
40
|
+
export * from "./tokens/normal";
|
|
41
|
+
export * from "./tokens/yearn";
|
|
32
42
|
|
|
33
43
|
export * from "./core/history";
|
|
34
|
-
export {MultiCallContract} from "./utils/multicall";
|
|
35
|
-
export {callRepeater} from "./utils/repeater";
|
|
36
|
-
export {getContractName} from "./contracts/contractsRegister";
|
|
37
|
-
export {AdapterInterface} from "./contracts/adapters";
|
|
38
|
-
export {objectEntries, swapKeyValue, keyToLowercase} from "./utils/mappers";
|
|
39
|
-
|
|
40
|
-
export {SwapType} from "./pathfinder/tradeTypes";
|
|
44
|
+
export { MultiCallContract } from "./utils/multicall";
|
|
45
|
+
export { callRepeater } from "./utils/repeater";
|
|
46
|
+
export { getContractName } from "./contracts/contractsRegister";
|
|
47
|
+
export { AdapterInterface } from "./contracts/adapters";
|
|
48
|
+
export { objectEntries, swapKeyValue, keyToLowercase } from "./utils/mappers";
|
|
49
|
+
|
|
50
|
+
export { SwapType } from "./pathfinder/tradeTypes";
|
package/src/tokens/convex.ts
CHANGED
|
@@ -48,7 +48,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
48
48
|
symbol: "cvx3Crv",
|
|
49
49
|
type: TokenType.CONVEX_LP_TOKEN,
|
|
50
50
|
pool: "CONVEX_3CRV_POOL",
|
|
51
|
-
pid:
|
|
51
|
+
pid: 9,
|
|
52
52
|
underlying: "3Crv",
|
|
53
53
|
stakedToken: "stkcvx3Crv",
|
|
54
54
|
lpActions: [
|
|
@@ -72,7 +72,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
72
72
|
symbol: "cvxsteCRV",
|
|
73
73
|
type: TokenType.CONVEX_LP_TOKEN,
|
|
74
74
|
pool: "CONVEX_STECRV_POOL",
|
|
75
|
-
pid:
|
|
75
|
+
pid: 25,
|
|
76
76
|
underlying: "steCRV",
|
|
77
77
|
stakedToken: "stkcvxsteCRV",
|
|
78
78
|
lpActions: [
|
|
@@ -96,7 +96,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
96
96
|
symbol: "cvxFRAX3CRV",
|
|
97
97
|
type: TokenType.CONVEX_LP_TOKEN,
|
|
98
98
|
pool: "CONVEX_FRAX3CRV_POOL",
|
|
99
|
-
pid:
|
|
99
|
+
pid: 32,
|
|
100
100
|
underlying: "FRAX3CRV",
|
|
101
101
|
stakedToken: "stkcvxFRAX3CRV",
|
|
102
102
|
lpActions: [
|
|
@@ -120,7 +120,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
120
120
|
symbol: "cvxcrvPlain3andSUSD",
|
|
121
121
|
type: TokenType.CONVEX_LP_TOKEN,
|
|
122
122
|
pool: "CONVEX_SUSD_POOL",
|
|
123
|
-
pid:
|
|
123
|
+
pid: 4,
|
|
124
124
|
underlying: "crvPlain3andSUSD",
|
|
125
125
|
stakedToken: "stkcvxcrvPlain3andSUSD",
|
|
126
126
|
lpActions: [
|
|
@@ -144,7 +144,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
144
144
|
symbol: "cvxgusd3CRV",
|
|
145
145
|
type: TokenType.CONVEX_LP_TOKEN,
|
|
146
146
|
pool: "CONVEX_GUSD_POOL",
|
|
147
|
-
pid:
|
|
147
|
+
pid: 10,
|
|
148
148
|
underlying: "gusd3CRV",
|
|
149
149
|
stakedToken: "stkcvxgusd3CRV",
|
|
150
150
|
lpActions: [
|
|
@@ -169,7 +169,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
169
169
|
symbol: "stkcvx3Crv",
|
|
170
170
|
type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
171
171
|
pool: "CONVEX_3CRV_POOL",
|
|
172
|
-
pid:
|
|
172
|
+
pid: 9,
|
|
173
173
|
underlying: "3Crv",
|
|
174
174
|
lpToken: "cvx3Crv",
|
|
175
175
|
lpActions: [
|
|
@@ -193,7 +193,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
193
193
|
symbol: "stkcvxsteCRV",
|
|
194
194
|
type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
195
195
|
pool: "CONVEX_STECRV_POOL",
|
|
196
|
-
pid:
|
|
196
|
+
pid: 25,
|
|
197
197
|
underlying: "steCRV",
|
|
198
198
|
lpToken: "cvxsteCRV",
|
|
199
199
|
lpActions: [
|
|
@@ -217,7 +217,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
217
217
|
symbol: "stkcvxFRAX3CRV",
|
|
218
218
|
type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
219
219
|
pool: "CONVEX_FRAX3CRV_POOL",
|
|
220
|
-
pid:
|
|
220
|
+
pid: 32,
|
|
221
221
|
underlying: "FRAX3CRV",
|
|
222
222
|
lpToken: "cvxFRAX3CRV",
|
|
223
223
|
lpActions: [
|
|
@@ -241,7 +241,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
241
241
|
symbol: "stkcvxcrvPlain3andSUSD",
|
|
242
242
|
type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
243
243
|
pool: "CONVEX_SUSD_POOL",
|
|
244
|
-
pid:
|
|
244
|
+
pid: 4,
|
|
245
245
|
underlying: "crvPlain3andSUSD",
|
|
246
246
|
lpToken: "cvxcrvPlain3andSUSD",
|
|
247
247
|
lpActions: [
|
|
@@ -265,7 +265,7 @@ export const convexTokens: Record<ConvexLPToken | ConvexStakedPhantomToken,
|
|
|
265
265
|
symbol: "stkcvxgusd3CRV",
|
|
266
266
|
type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
|
|
267
267
|
pool: "CONVEX_GUSD_POOL",
|
|
268
|
-
pid:
|
|
268
|
+
pid: 10,
|
|
269
269
|
underlying: "gusd3CRV",
|
|
270
270
|
lpToken: "cvxgusd3CRV",
|
|
271
271
|
lpActions: [
|
package/src/tokens/token.ts
CHANGED
|
@@ -168,7 +168,7 @@ export const tokenDataByNetwork: Record<
|
|
|
168
168
|
/// UPDATE
|
|
169
169
|
STETH: "0xab8281DD69F1aeeA1FDf5ee3Ae85Bb74E7bB1564",
|
|
170
170
|
FTM: "0x5DE02cFf707eBC43f58DFB022518c18C66147b1E",
|
|
171
|
-
CVX: "
|
|
171
|
+
CVX: "0x3628e6e51d685037378e07d2E176E56e67adeB72",
|
|
172
172
|
FRAX: "0x301b0B83E5F5deC5233075368B8b459CEedc0948",
|
|
173
173
|
FXS: "0x25eb8A9B30981d1F04C306829FEBc855FA86695A",
|
|
174
174
|
LDO: "0x99bB41898474aDb38e098fFdB0cD17d2619cA3ef",
|
|
@@ -194,11 +194,11 @@ export const tokenDataByNetwork: Record<
|
|
|
194
194
|
gusd3CRV: "0xC9770ff0d47f7c97A579E4a99Ac5fAeC4991a3C6",
|
|
195
195
|
|
|
196
196
|
// CONVEX LP TOKENS
|
|
197
|
-
cvx3Crv: "",
|
|
198
|
-
cvxsteCRV: "",
|
|
199
|
-
cvxFRAX3CRV: "",
|
|
200
|
-
cvxcrvPlain3andSUSD: "",
|
|
201
|
-
cvxgusd3CRV: "",
|
|
197
|
+
cvx3Crv: "0xdce2f3d8D3AfF3F78dbBC6fa37dFe9f19a4F0DEB",
|
|
198
|
+
cvxsteCRV: "0x49C2f90602D3A4297aC6794F41d97CBF9a6C8E0f",
|
|
199
|
+
cvxFRAX3CRV: "0x4c92f26Da430e69827aE865Aec738a34e5b92f3F",
|
|
200
|
+
cvxcrvPlain3andSUSD: "0x51d37907114f5c3034eD8495B9DDE50BED5A03dC",
|
|
201
|
+
cvxgusd3CRV: "0xc194629156003f53F352c81E93502f909E60a37C",
|
|
202
202
|
|
|
203
203
|
// CONVEX PHANTOM TOKEN ADDRESSES
|
|
204
204
|
stkcvx3Crv: "",
|