@gearbox-protocol/sdk 0.0.102 → 0.0.103
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/.eslintignore +4 -0
- package/.eslintrc.js +52 -0
- package/.husky/pre-push +4 -0
- package/lib/apy/convexAPY.js +3 -5
- package/lib/apy/lidoAPY.js +8 -9
- package/lib/contracts/contracts.d.ts +3 -3
- package/lib/contracts/contracts.js +2 -2
- package/lib/core/constants.d.ts +1 -1
- package/lib/core/constants.js +2 -2
- package/lib/core/creditAccount.js +7 -5
- package/lib/core/creditManager.d.ts +1 -1
- package/lib/core/creditManager.js +1 -7
- package/lib/core/creditSession.js +14 -3
- package/lib/core/eventOrTx.d.ts +1 -1
- package/lib/core/events.d.ts +19 -19
- package/lib/core/events.js +23 -21
- package/lib/core/pool.d.ts +1 -1
- package/lib/core/pool.js +1 -7
- package/lib/core/price.js +6 -1
- package/lib/core/strategy.d.ts +1 -3
- package/lib/core/strategy.js +14 -13
- package/lib/core/tokenDistributor.js +1 -1
- package/lib/core/transactions.d.ts +18 -3
- package/lib/core/transactions.js +39 -3
- package/lib/index.d.ts +1 -2
- package/lib/index.js +1 -1
- package/lib/oracles/priceFeeds.js +1 -1
- package/lib/pathfinder/convexLP.d.ts +1 -1
- package/lib/pathfinder/convexLP.js +26 -29
- package/lib/pathfinder/curveLP.d.ts +1 -1
- package/lib/pathfinder/curveLP.js +5 -7
- package/lib/pathfinder/path.d.ts +1 -1
- package/lib/pathfinder/path.js +38 -42
- package/lib/pathfinder/trade.d.ts +1 -2
- package/lib/pathfinder/tradeTypes.d.ts +5 -5
- package/lib/pathfinder/yVault.d.ts +2 -2
- package/lib/pathfinder/yVault.js +18 -15
- package/lib/strategies/curve.d.ts +6 -60
- package/lib/strategies/curve.js +6 -0
- package/lib/strategies/uniswapV2.js +3 -19
- package/lib/strategies/uniswapV3.js +1 -1
- package/lib/strategies/yearn.js +15 -11
- package/lib/tokens/convex.d.ts +3 -3
- package/lib/tokens/curveLP.d.ts +2 -2
- package/lib/tokens/curveLP.js +1 -1
- package/lib/tokens/gear.d.ts +2 -2
- package/lib/tokens/gear.js +1 -1
- package/lib/tokens/normal.d.ts +1 -1
- package/lib/tokens/token.js +4 -4
- package/lib/tokens/tokenData.d.ts +3 -1
- package/lib/tokens/tokenData.js +10 -8
- package/lib/tokens/yearn.d.ts +3 -3
- package/lib/utils/errors.d.ts +6 -0
- package/lib/utils/errors.js +13 -0
- package/lib/utils/formatter.d.ts +1 -1
- package/lib/utils/formatter.js +17 -14
- package/lib/utils/loading.d.ts +2 -1
- package/lib/utils/loading.js +9 -13
- package/lib/utils/mappers.js +2 -2
- package/lib/utils/network.js +2 -2
- package/lib/utils/repeater.js +12 -24
- package/lib/utils/validate.js +1 -1
- package/package.json +26 -8
- package/src/apy/convexAPY.ts +6 -6
- package/src/apy/lidoAPY.ts +12 -11
- package/src/contracts/contracts.ts +8 -7
- package/src/core/constants.ts +1 -1
- package/src/core/creditAccount.ts +28 -5
- package/src/core/creditManager.ts +29 -4
- package/src/core/creditOperation.ts +7 -7
- package/src/core/creditSession.ts +25 -5
- package/src/core/errors.ts +1 -0
- package/src/core/eventOrTx.ts +8 -5
- package/src/core/events.ts +85 -24
- package/src/core/history.ts +46 -46
- package/src/core/operations.ts +6 -0
- package/src/core/pool.ts +16 -4
- package/src/core/price.ts +7 -3
- package/src/core/strategy.ts +27 -23
- package/src/core/tokenDistributor.ts +2 -2
- package/src/core/transactions.ts +427 -350
- package/src/index.ts +1 -3
- package/src/oracles/priceFeeds.ts +523 -523
- package/src/pathfinder/contracts.ts +15 -13
- package/src/pathfinder/convexLP.ts +29 -25
- package/src/pathfinder/curveLP.ts +57 -53
- package/src/pathfinder/path.ts +17 -9
- package/src/pathfinder/priority.ts +11 -11
- package/src/pathfinder/trade.ts +84 -77
- package/src/pathfinder/tradeTypes.ts +98 -94
- package/src/pathfinder/yVault.ts +26 -11
- package/src/payload/token.ts +3 -3
- package/src/strategies/convex.ts +217 -210
- package/src/strategies/creditFacade.ts +70 -53
- package/src/strategies/curve.ts +263 -194
- package/src/strategies/lido.ts +33 -37
- package/src/strategies/uniswapV2.ts +90 -112
- package/src/strategies/uniswapV3.ts +114 -91
- package/src/strategies/yearn.ts +58 -62
- package/src/tokens/connectors.ts +6 -6
- package/src/tokens/convex.ts +297 -296
- package/src/tokens/curveLP.ts +170 -165
- package/src/tokens/gear.ts +47 -45
- package/src/tokens/normal.ts +801 -802
- package/src/tokens/token.ts +9 -5
- package/src/tokens/tokenData.ts +19 -9
- package/src/tokens/tokenType.ts +11 -11
- package/src/tokens/yearn.ts +126 -124
- package/src/utils/errors.ts +11 -0
- package/src/utils/formatter.ts +22 -18
- package/src/utils/loading.ts +14 -6
- package/src/utils/mappers.ts +8 -6
- package/src/utils/multicall.ts +2 -0
- package/src/utils/network.ts +21 -21
- package/src/utils/repeater.ts +2 -2
- package/src/utils/validate.ts +1 -1
- package/lib/utils/events.d.ts +0 -2
- package/lib/utils/events.js +0 -13
- package/src/utils/events.ts +0 -10
|
@@ -1,546 +1,546 @@
|
|
|
1
|
-
import {OracleType, TokenPriceFeedData} from "./oracles";
|
|
2
|
-
import {SupportedToken} from "../tokens/token";
|
|
1
|
+
import { OracleType, TokenPriceFeedData } from "./oracles";
|
|
2
|
+
import { SupportedToken } from "../tokens/token";
|
|
3
3
|
|
|
4
4
|
export const priceFeedsByNetwork: Record<SupportedToken, TokenPriceFeedData> = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
GUSD: {
|
|
97
|
-
priceFeedUSD: {
|
|
98
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
99
|
-
address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
|
|
100
|
-
kovan: "0x36AD5755A58c5faB253D5e40e7F0f86293d6A5f9"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
LINK: {
|
|
105
|
-
priceFeedETH: {
|
|
106
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
107
|
-
address: "0xDC530D9457755926550b59e8ECcdaE7624181557",
|
|
108
|
-
kovan: "0x3Af8C569ab77af5230596Acf0E8c2F9351d24C38"
|
|
109
|
-
},
|
|
110
|
-
priceFeedUSD: {
|
|
111
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
112
|
-
address: "0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c",
|
|
113
|
-
kovan: "0x396c5E36DD0a0F5a5D33dae44368D4193f69a1F0"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
SNX: {
|
|
118
|
-
priceFeedETH: {
|
|
119
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
120
|
-
address: "0x79291A9d692Df95334B1a0B3B4AE6bC606782f8c",
|
|
121
|
-
kovan: "0xF9A76ae7a1075Fe7d646b06fF05Bd48b9FA5582e"
|
|
122
|
-
},
|
|
123
|
-
priceFeedUSD: {
|
|
124
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
125
|
-
address: "0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699",
|
|
126
|
-
kovan: "0x31f93DA9823d737b7E44bdee0DF389Fe62Fd1AcD"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
SUSHI: {
|
|
131
|
-
priceFeedETH: {
|
|
132
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
133
|
-
address: "0xe572CeF69f43c2E488b33924AF04BDacE19079cf",
|
|
134
|
-
kovan: "0x6A8b2Aae8bf973EdA172C1f0e450c9D4e3C2E360"
|
|
135
|
-
},
|
|
136
|
-
priceFeedUSD: {
|
|
137
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
138
|
-
address: "0xcc70f09a6cc17553b2e31954cd36e4a2d89501f7",
|
|
139
|
-
kovan: "0x40D447115370C4B65A0d8C63275033C54A3ed61F"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
UNI: {
|
|
144
|
-
priceFeedETH: {
|
|
145
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
146
|
-
address: "0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e",
|
|
147
|
-
kovan: "0x006A9A6c0A6b5230d89f05eb1e4603AA6B1508BE"
|
|
148
|
-
},
|
|
149
|
-
priceFeedUSD: {
|
|
150
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
151
|
-
address: "0x553303d460EE0afB37EdFf9bE42922D8FF63220e",
|
|
152
|
-
kovan: "0xDA5904BdBfB4EF12a3955aEcA103F51dc87c7C39"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
USDC: {
|
|
157
|
-
priceFeedETH: {
|
|
158
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
159
|
-
address: "0x986b5E1e1755e3C2440e960477f25201B0a8bbD4",
|
|
160
|
-
kovan: "0x64EaC61A2DFda2c3Fa04eED49AA33D021AeC8838"
|
|
161
|
-
},
|
|
162
|
-
priceFeedUSD: {
|
|
163
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
164
|
-
address: "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
|
|
165
|
-
kovan: "0x9211c6b3BF41A10F78539810Cf5c64e1BB78Ec60"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
|
|
169
|
-
USDT: {
|
|
170
|
-
priceFeedETH: {
|
|
171
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
172
|
-
address: "0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46",
|
|
173
|
-
kovan: "0x0bF499444525a23E7Bb61997539725cA2e928138"
|
|
174
|
-
},
|
|
175
|
-
priceFeedUSD: {
|
|
176
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
177
|
-
address: "0x3e7d1eab13ad0104d2750b8863b489d65364e32d",
|
|
178
|
-
kovan: "0x2ca5A90D34cA333661083F89D831f757A9A50148"
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
WBTC: {
|
|
183
|
-
priceFeedETH: {
|
|
184
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
185
|
-
address: "0xdeb288F737066589598e9214E782fa5A8eD689e8",
|
|
186
|
-
kovan: "0xB4F231198CAA3446fd4623e59f2EF27e7A58A54b"
|
|
187
|
-
},
|
|
188
|
-
priceFeedUSD: {
|
|
189
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
190
|
-
address: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c",
|
|
191
|
-
kovan: "0x6135b13325bfC4B00278B4abC5e20bbce2D6580e"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
|
|
195
|
-
WETH: {
|
|
196
|
-
priceFeedUSD: {
|
|
197
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
198
|
-
address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
|
|
199
|
-
kovan: "0x9326BFA02ADD2366b30bacB125260Af641031331"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
|
|
203
|
-
YFI: {
|
|
204
|
-
priceFeedETH: {
|
|
205
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
206
|
-
address: "0x7c5d4F8345e66f68099581Db340cd65B078C41f4",
|
|
207
|
-
kovan: "0x29d651D233ffFdec4Df5244a9cE842FB253fAA09"
|
|
208
|
-
},
|
|
209
|
-
priceFeedUSD: {
|
|
210
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
211
|
-
address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
|
|
212
|
-
kovan: "0x7f6a535B75E2c815f8865CF39Ad847971AcCC3bE"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
-
/// UPDATE
|
|
217
|
-
STETH: {
|
|
218
|
-
priceFeedETH: {
|
|
219
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
220
|
-
address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8",
|
|
221
|
-
kovan: "0x087154969f935218e10f621D81e523C8f46C6dF9"
|
|
222
|
-
},
|
|
223
|
-
priceFeedUSD: {
|
|
224
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
225
|
-
address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8",
|
|
226
|
-
kovan: "0x94dd77F85E0B1e6942B044E604EBA4869369453c"
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
|
|
230
|
-
FTM: {
|
|
231
|
-
priceFeedETH: {
|
|
232
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
233
|
-
address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b",
|
|
234
|
-
kovan: "0xdCd1eB60388F340d7bF6584aa4295D95b355686c"
|
|
235
|
-
},
|
|
236
|
-
priceFeedUSD: {
|
|
237
|
-
type: OracleType.ZERO_ORACLE
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
CVX: {
|
|
242
|
-
priceFeedUSD: {
|
|
243
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
244
|
-
address: "0xd962fc30a72a84ce50161031391756bf2876af5d",
|
|
245
|
-
kovan: "0xa6CeAbA9326C3a7Ed6A03A1cb0809A397ed286ae"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
5
|
+
"1INCH": {
|
|
6
|
+
priceFeedETH: {
|
|
7
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
8
|
+
address: "0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8",
|
|
9
|
+
kovan: "0x5b65757C2d37c4FDc3c029ECb8F2C7AD3FD361C9"
|
|
10
|
+
},
|
|
11
|
+
priceFeedUSD: {
|
|
12
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
13
|
+
address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9",
|
|
14
|
+
kovan: "0xb32946c38C4F2e3e44Ce2aB059BfFec163816A4E"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
AAVE: {
|
|
19
|
+
priceFeedETH: {
|
|
20
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
21
|
+
address: "0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012",
|
|
22
|
+
kovan: "0x3e12e9aE09F4ce9D5809E4b863bF4eef16f9949C"
|
|
23
|
+
},
|
|
24
|
+
priceFeedUSD: {
|
|
25
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
26
|
+
address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9",
|
|
27
|
+
kovan: "0xF1594a023a3e061765c11af09EC6B7c63e2e9Ab5"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
COMP: {
|
|
32
|
+
priceFeedETH: {
|
|
33
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
34
|
+
address: "0x1B39Ee86Ec5979ba5C322b826B3ECb8C79991699",
|
|
35
|
+
kovan: "0x2d2fAc1CBf67b24d3643ce084f3758115b1dCFe0"
|
|
36
|
+
},
|
|
37
|
+
priceFeedUSD: {
|
|
38
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
39
|
+
address: "0xdbd020CAeF83eFd542f4De03e3cF0C28A4428bd5",
|
|
40
|
+
kovan: "0xECF93D14d25E02bA2C13698eeDca9aA98348EFb6"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
CRV: {
|
|
45
|
+
priceFeedETH: {
|
|
46
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
47
|
+
address: "0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e",
|
|
48
|
+
kovan: "0x57F80b54722B294F0C1942AA70468Bb46437AD19"
|
|
49
|
+
},
|
|
50
|
+
priceFeedUSD: {
|
|
51
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
52
|
+
address: "0xcd627aa160a6fa45eb793d19ef54f5062f20f33f",
|
|
53
|
+
kovan: "0x55fe324Ece17b6902c2b3776c1baB1095Eb5deB0"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
DAI: {
|
|
58
|
+
priceFeedETH: {
|
|
59
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
60
|
+
address: "0x773616E4d11A78F511299002da57A0a94577F1f4",
|
|
61
|
+
kovan: "0x22B58f1EbEDfCA50feF632bD73368b2FdA96D541"
|
|
62
|
+
},
|
|
63
|
+
priceFeedUSD: {
|
|
64
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
65
|
+
address: "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9",
|
|
66
|
+
kovan: "0x777A68032a88E5A84678A77Af2CD65A7b3c0775a"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
DPI: {
|
|
71
|
+
priceFeedETH: {
|
|
72
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
73
|
+
address: "0x029849bbc0b1d93b85a8b6190e979fd38F5760E2",
|
|
74
|
+
kovan: "0x4c1b676445935dA58a48b6dA8B2564684d80fAEE"
|
|
75
|
+
},
|
|
76
|
+
priceFeedUSD: {
|
|
77
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
78
|
+
address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2",
|
|
79
|
+
kovan: "0x39EcBDd1069C795e65Aa3355cC42F3acD29797d8"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
FEI: {
|
|
84
|
+
priceFeedETH: {
|
|
85
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
86
|
+
address: "0x7f0d2c2838c6ac24443d13e23d99490017bde370",
|
|
87
|
+
kovan: "0x1E13BFc6e358410f4F94EAC84C1008A138FB115B"
|
|
88
|
+
},
|
|
89
|
+
priceFeedUSD: {
|
|
90
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
91
|
+
address: "0x31e0a88fecb6ec0a411dbe0e9e76391498296ee9",
|
|
92
|
+
kovan: "0x9FE550626246234EF48a1176e8e2452A14CbbA24"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
248
95
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
},
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
96
|
+
GUSD: {
|
|
97
|
+
priceFeedUSD: {
|
|
98
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
99
|
+
address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
|
|
100
|
+
kovan: "0x36AD5755A58c5faB253D5e40e7F0f86293d6A5f9"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
LINK: {
|
|
105
|
+
priceFeedETH: {
|
|
106
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
107
|
+
address: "0xDC530D9457755926550b59e8ECcdaE7624181557",
|
|
108
|
+
kovan: "0x3Af8C569ab77af5230596Acf0E8c2F9351d24C38"
|
|
109
|
+
},
|
|
110
|
+
priceFeedUSD: {
|
|
111
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
112
|
+
address: "0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c",
|
|
113
|
+
kovan: "0x396c5E36DD0a0F5a5D33dae44368D4193f69a1F0"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
SNX: {
|
|
118
|
+
priceFeedETH: {
|
|
119
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
120
|
+
address: "0x79291A9d692Df95334B1a0B3B4AE6bC606782f8c",
|
|
121
|
+
kovan: "0xF9A76ae7a1075Fe7d646b06fF05Bd48b9FA5582e"
|
|
122
|
+
},
|
|
123
|
+
priceFeedUSD: {
|
|
124
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
125
|
+
address: "0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699",
|
|
126
|
+
kovan: "0x31f93DA9823d737b7E44bdee0DF389Fe62Fd1AcD"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
SUSHI: {
|
|
131
|
+
priceFeedETH: {
|
|
132
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
133
|
+
address: "0xe572CeF69f43c2E488b33924AF04BDacE19079cf",
|
|
134
|
+
kovan: "0x6A8b2Aae8bf973EdA172C1f0e450c9D4e3C2E360"
|
|
135
|
+
},
|
|
136
|
+
priceFeedUSD: {
|
|
137
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
138
|
+
address: "0xcc70f09a6cc17553b2e31954cd36e4a2d89501f7",
|
|
139
|
+
kovan: "0x40D447115370C4B65A0d8C63275033C54A3ed61F"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
UNI: {
|
|
144
|
+
priceFeedETH: {
|
|
145
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
146
|
+
address: "0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e",
|
|
147
|
+
kovan: "0x006A9A6c0A6b5230d89f05eb1e4603AA6B1508BE"
|
|
148
|
+
},
|
|
149
|
+
priceFeedUSD: {
|
|
150
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
151
|
+
address: "0x553303d460EE0afB37EdFf9bE42922D8FF63220e",
|
|
152
|
+
kovan: "0xDA5904BdBfB4EF12a3955aEcA103F51dc87c7C39"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
USDC: {
|
|
157
|
+
priceFeedETH: {
|
|
158
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
159
|
+
address: "0x986b5E1e1755e3C2440e960477f25201B0a8bbD4",
|
|
160
|
+
kovan: "0x64EaC61A2DFda2c3Fa04eED49AA33D021AeC8838"
|
|
161
|
+
},
|
|
162
|
+
priceFeedUSD: {
|
|
163
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
164
|
+
address: "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
|
|
165
|
+
kovan: "0x9211c6b3BF41A10F78539810Cf5c64e1BB78Ec60"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
USDT: {
|
|
170
|
+
priceFeedETH: {
|
|
171
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
172
|
+
address: "0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46",
|
|
173
|
+
kovan: "0x0bF499444525a23E7Bb61997539725cA2e928138"
|
|
174
|
+
},
|
|
175
|
+
priceFeedUSD: {
|
|
176
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
177
|
+
address: "0x3e7d1eab13ad0104d2750b8863b489d65364e32d",
|
|
178
|
+
kovan: "0x2ca5A90D34cA333661083F89D831f757A9A50148"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
|
|
182
|
+
WBTC: {
|
|
183
|
+
priceFeedETH: {
|
|
184
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
185
|
+
address: "0xdeb288F737066589598e9214E782fa5A8eD689e8",
|
|
186
|
+
kovan: "0xB4F231198CAA3446fd4623e59f2EF27e7A58A54b"
|
|
187
|
+
},
|
|
188
|
+
priceFeedUSD: {
|
|
189
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
190
|
+
address: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c",
|
|
191
|
+
kovan: "0x6135b13325bfC4B00278B4abC5e20bbce2D6580e"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
270
194
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
address: "0x91e9331556ed76c9393055719986409e11b56f73",
|
|
306
|
-
kovan: "0xEfAe1275132C3D2EE009148748e3e3e384095E5f"
|
|
307
|
-
},
|
|
308
|
-
priceFeedUSD: {
|
|
309
|
-
type: OracleType.ZERO_ORACLE
|
|
310
|
-
}
|
|
311
|
-
},
|
|
195
|
+
WETH: {
|
|
196
|
+
priceFeedUSD: {
|
|
197
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
198
|
+
address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
|
|
199
|
+
kovan: "0x9326BFA02ADD2366b30bacB125260Af641031331"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
|
|
203
|
+
YFI: {
|
|
204
|
+
priceFeedETH: {
|
|
205
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
206
|
+
address: "0x7c5d4F8345e66f68099581Db340cd65B078C41f4",
|
|
207
|
+
kovan: "0x29d651D233ffFdec4Df5244a9cE842FB253fAA09"
|
|
208
|
+
},
|
|
209
|
+
priceFeedUSD: {
|
|
210
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
211
|
+
address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
|
|
212
|
+
kovan: "0x7f6a535B75E2c815f8865CF39Ad847971AcCC3bE"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
|
|
216
|
+
/// UPDATE
|
|
217
|
+
STETH: {
|
|
218
|
+
priceFeedETH: {
|
|
219
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
220
|
+
address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8",
|
|
221
|
+
kovan: "0x087154969f935218e10f621D81e523C8f46C6dF9"
|
|
222
|
+
},
|
|
223
|
+
priceFeedUSD: {
|
|
224
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
225
|
+
address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8",
|
|
226
|
+
kovan: "0x94dd77F85E0B1e6942B044E604EBA4869369453c"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
312
229
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
},
|
|
319
|
-
priceFeedUSD: {
|
|
320
|
-
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
321
|
-
token: "DAI"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
yvUSDC: {
|
|
325
|
-
priceFeedETH: {
|
|
326
|
-
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
327
|
-
token: "USDC",
|
|
328
|
-
deployedKovan: ""
|
|
329
|
-
},
|
|
330
|
-
priceFeedUSD: {
|
|
331
|
-
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
332
|
-
token: "USDC"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
yvWETH: {
|
|
336
|
-
priceFeedUSD: {
|
|
337
|
-
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
338
|
-
token: "WETH"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
yvWBTC: {
|
|
342
|
-
priceFeedUSD: {
|
|
343
|
-
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
344
|
-
token: "WBTC"
|
|
345
|
-
}
|
|
230
|
+
FTM: {
|
|
231
|
+
priceFeedETH: {
|
|
232
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
233
|
+
address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b",
|
|
234
|
+
kovan: "0xdCd1eB60388F340d7bF6584aa4295D95b355686c"
|
|
346
235
|
},
|
|
236
|
+
priceFeedUSD: {
|
|
237
|
+
type: OracleType.ZERO_ORACLE
|
|
238
|
+
}
|
|
239
|
+
},
|
|
347
240
|
|
|
348
|
-
|
|
241
|
+
CVX: {
|
|
242
|
+
priceFeedUSD: {
|
|
243
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
244
|
+
address: "0xd962fc30a72a84ce50161031391756bf2876af5d",
|
|
245
|
+
kovan: "0xa6CeAbA9326C3a7Ed6A03A1cb0809A397ed286ae"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
349
248
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
249
|
+
FRAX: {
|
|
250
|
+
priceFeedUSD: {
|
|
251
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
252
|
+
address: "0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd",
|
|
253
|
+
kovan: "0xD696fF0750F753A605236Ab499E5432e0FdeCd72"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
LUSD: {
|
|
257
|
+
priceFeedUSD: {
|
|
258
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
259
|
+
address: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
|
|
260
|
+
kovan: "0xc17F8AE0c6C060F76303Be13f5f059144b38e75e"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
sUSD: {
|
|
264
|
+
priceFeedUSD: {
|
|
265
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
266
|
+
address: "0xad35bd71b9afe6e4bdc266b345c198eadef9ad94",
|
|
267
|
+
kovan: "0xe45b2D1e60d94209ef36e2E66a232daefc418de2"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
356
270
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
271
|
+
FXS: {
|
|
272
|
+
priceFeedUSD: {
|
|
273
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
274
|
+
address: "0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f",
|
|
275
|
+
kovan: "0xC6f5343637279AF7e2a4e12066Fb5ae567275E5F"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
LDO: {
|
|
279
|
+
priceFeedETH: {
|
|
280
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
281
|
+
address: "0x4e844125952d32acdf339be976c98e22f6f318db",
|
|
282
|
+
kovan: "0x6204148EF888786A2988E7b09c8e0A67e32cb387"
|
|
283
|
+
},
|
|
284
|
+
priceFeedUSD: {
|
|
285
|
+
type: OracleType.ZERO_ORACLE
|
|
286
|
+
}
|
|
369
287
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
}
|
|
288
|
+
// ADD ETH-> DAI Oracle!
|
|
289
|
+
},
|
|
290
|
+
LQTY: {
|
|
291
|
+
priceFeedUSD: {
|
|
292
|
+
type: OracleType.ZERO_ORACLE
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
SPELL: {
|
|
296
|
+
priceFeedUSD: {
|
|
297
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
298
|
+
address: "0x8c110b94c5f1d347facf5e1e938ab2db60e3c9a8",
|
|
299
|
+
kovan: "0x68da666AcD151A3edB62c1ad1b748cCcFca026d7"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
LUNA: {
|
|
303
|
+
priceFeedETH: {
|
|
304
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
305
|
+
address: "0x91e9331556ed76c9393055719986409e11b56f73",
|
|
306
|
+
kovan: "0xEfAe1275132C3D2EE009148748e3e3e384095E5f"
|
|
307
|
+
},
|
|
308
|
+
priceFeedUSD: {
|
|
309
|
+
type: OracleType.ZERO_ORACLE
|
|
310
|
+
}
|
|
311
|
+
},
|
|
376
312
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
313
|
+
yvDAI: {
|
|
314
|
+
priceFeedETH: {
|
|
315
|
+
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
316
|
+
token: "DAI",
|
|
317
|
+
deployedKovan: ""
|
|
382
318
|
},
|
|
319
|
+
priceFeedUSD: {
|
|
320
|
+
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
321
|
+
token: "DAI"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
yvUSDC: {
|
|
325
|
+
priceFeedETH: {
|
|
326
|
+
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
327
|
+
token: "USDC",
|
|
328
|
+
deployedKovan: ""
|
|
329
|
+
},
|
|
330
|
+
priceFeedUSD: {
|
|
331
|
+
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
332
|
+
token: "USDC"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
yvWETH: {
|
|
336
|
+
priceFeedUSD: {
|
|
337
|
+
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
338
|
+
token: "WETH"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
yvWBTC: {
|
|
342
|
+
priceFeedUSD: {
|
|
343
|
+
type: OracleType.YEARN_TOKEN_ORACLE,
|
|
344
|
+
token: "WBTC"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
383
347
|
|
|
384
|
-
|
|
385
|
-
priceFeedUSD: {
|
|
386
|
-
type: OracleType.CURVE_LP_ORACLE,
|
|
387
|
-
assets: ["GUSD", "DAI", "USDC", "USDT"]
|
|
388
|
-
}
|
|
389
|
-
},
|
|
348
|
+
// CURVE LP TOKENS
|
|
390
349
|
|
|
391
|
-
|
|
350
|
+
"3Crv": {
|
|
351
|
+
priceFeedUSD: {
|
|
352
|
+
type: OracleType.CURVE_LP_ORACLE,
|
|
353
|
+
assets: ["DAI", "USDC", "USDT"]
|
|
354
|
+
}
|
|
355
|
+
},
|
|
392
356
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
357
|
+
steCRV: {
|
|
358
|
+
priceFeedUSD: {
|
|
359
|
+
type: OracleType.CURVE_LP_ORACLE,
|
|
360
|
+
assets: ["STETH", "WETH"]
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
FRAX3CRV: {
|
|
364
|
+
priceFeedUSD: {
|
|
365
|
+
type: OracleType.CURVE_LP_ORACLE,
|
|
366
|
+
assets: ["FRAX", "DAI", "USDC", "USDT"]
|
|
367
|
+
}
|
|
368
|
+
},
|
|
405
369
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
},
|
|
413
|
-
cvxsteCRV: {
|
|
414
|
-
priceFeedUSD: {
|
|
415
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
416
|
-
curveSymbol: "steCRV"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
cvxFRAX3CRV: {
|
|
420
|
-
priceFeedUSD: {
|
|
421
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
422
|
-
curveSymbol: "FRAX3CRV"
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
cvxLUSD3CRV: {
|
|
426
|
-
priceFeedUSD: {
|
|
427
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
428
|
-
curveSymbol: "LUSD3CRV"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
cvxcrvPlain3andSUSD: {
|
|
432
|
-
priceFeedUSD: {
|
|
433
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
434
|
-
curveSymbol: "crvPlain3andSUSD"
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
cvxgusd3CRV: {
|
|
438
|
-
priceFeedUSD: {
|
|
439
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
440
|
-
curveSymbol: "gusd3CRV"
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
// CVX tokens
|
|
444
|
-
stkcvx3Crv: {
|
|
445
|
-
priceFeedUSD: {
|
|
446
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
447
|
-
curveSymbol: "3Crv"
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
stkcvxsteCRV: {
|
|
451
|
-
priceFeedUSD: {
|
|
452
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
453
|
-
curveSymbol: "steCRV"
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
stkcvxFRAX3CRV: {
|
|
457
|
-
priceFeedUSD: {
|
|
458
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
459
|
-
curveSymbol: "FRAX3CRV"
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
stkcvxLUSD3CRV: {
|
|
463
|
-
priceFeedUSD: {
|
|
464
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
465
|
-
curveSymbol: "LUSD3CRV"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
stkcvxcrvPlain3andSUSD: {
|
|
469
|
-
priceFeedUSD: {
|
|
470
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
471
|
-
curveSymbol: "crvPlain3andSUSD"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
stkcvxgusd3CRV: {
|
|
475
|
-
priceFeedUSD: {
|
|
476
|
-
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
477
|
-
curveSymbol: "gusd3CRV"
|
|
478
|
-
}
|
|
479
|
-
},
|
|
370
|
+
LUSD3CRV: {
|
|
371
|
+
priceFeedUSD: {
|
|
372
|
+
type: OracleType.CURVE_LP_ORACLE,
|
|
373
|
+
assets: ["LUSD", "DAI", "USDC", "USDT"]
|
|
374
|
+
}
|
|
375
|
+
},
|
|
480
376
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
},
|
|
488
|
-
priceFeedUSD: {
|
|
489
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
490
|
-
address: "",
|
|
491
|
-
kovan: ""
|
|
492
|
-
}
|
|
493
|
-
},
|
|
377
|
+
crvPlain3andSUSD: {
|
|
378
|
+
priceFeedUSD: {
|
|
379
|
+
type: OracleType.CURVE_LP_ORACLE,
|
|
380
|
+
assets: ["DAI", "USDC", "USDT", "sUSD"]
|
|
381
|
+
}
|
|
382
|
+
},
|
|
494
383
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
priceFeedUSD: {
|
|
502
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
503
|
-
address: "",
|
|
504
|
-
kovan: ""
|
|
505
|
-
}
|
|
506
|
-
},
|
|
384
|
+
gusd3CRV: {
|
|
385
|
+
priceFeedUSD: {
|
|
386
|
+
type: OracleType.CURVE_LP_ORACLE,
|
|
387
|
+
assets: ["GUSD", "DAI", "USDC", "USDT"]
|
|
388
|
+
}
|
|
389
|
+
},
|
|
507
390
|
|
|
508
|
-
|
|
509
|
-
priceFeedETH: {
|
|
510
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
511
|
-
address: "",
|
|
512
|
-
kovan: ""
|
|
513
|
-
},
|
|
514
|
-
priceFeedUSD: {
|
|
515
|
-
type: OracleType.CHAINLINK_ORACLE,
|
|
516
|
-
address: "",
|
|
517
|
-
kovan: ""
|
|
518
|
-
}
|
|
519
|
-
},
|
|
391
|
+
// YEARN- CURVE TOKENS
|
|
520
392
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
393
|
+
yvCurve_stETH: {
|
|
394
|
+
priceFeedUSD: {
|
|
395
|
+
type: OracleType.YEARN_CURVE_LP_ORACLE,
|
|
396
|
+
curveSymbol: "steCRV"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
yvCurve_FRAX: {
|
|
400
|
+
priceFeedUSD: {
|
|
401
|
+
type: OracleType.YEARN_CURVE_LP_ORACLE,
|
|
402
|
+
curveSymbol: "FRAX3CRV"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
533
405
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
406
|
+
// CVX tokens
|
|
407
|
+
cvx3Crv: {
|
|
408
|
+
priceFeedUSD: {
|
|
409
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
410
|
+
curveSymbol: "3Crv"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
cvxsteCRV: {
|
|
414
|
+
priceFeedUSD: {
|
|
415
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
416
|
+
curveSymbol: "steCRV"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
cvxFRAX3CRV: {
|
|
420
|
+
priceFeedUSD: {
|
|
421
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
422
|
+
curveSymbol: "FRAX3CRV"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
cvxLUSD3CRV: {
|
|
426
|
+
priceFeedUSD: {
|
|
427
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
428
|
+
curveSymbol: "LUSD3CRV"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
cvxcrvPlain3andSUSD: {
|
|
432
|
+
priceFeedUSD: {
|
|
433
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
434
|
+
curveSymbol: "crvPlain3andSUSD"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
cvxgusd3CRV: {
|
|
438
|
+
priceFeedUSD: {
|
|
439
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
440
|
+
curveSymbol: "gusd3CRV"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
// CVX tokens
|
|
444
|
+
stkcvx3Crv: {
|
|
445
|
+
priceFeedUSD: {
|
|
446
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
447
|
+
curveSymbol: "3Crv"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
stkcvxsteCRV: {
|
|
451
|
+
priceFeedUSD: {
|
|
452
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
453
|
+
curveSymbol: "steCRV"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
stkcvxFRAX3CRV: {
|
|
457
|
+
priceFeedUSD: {
|
|
458
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
459
|
+
curveSymbol: "FRAX3CRV"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
stkcvxLUSD3CRV: {
|
|
463
|
+
priceFeedUSD: {
|
|
464
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
465
|
+
curveSymbol: "LUSD3CRV"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
stkcvxcrvPlain3andSUSD: {
|
|
469
|
+
priceFeedUSD: {
|
|
470
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
471
|
+
curveSymbol: "crvPlain3andSUSD"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
stkcvxgusd3CRV: {
|
|
475
|
+
priceFeedUSD: {
|
|
476
|
+
type: OracleType.LIKE_CURVE_LP_ORACLE,
|
|
477
|
+
curveSymbol: "gusd3CRV"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
|
|
481
|
+
// GEARBOX
|
|
482
|
+
dDAI: {
|
|
483
|
+
priceFeedETH: {
|
|
484
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
485
|
+
address: "",
|
|
486
|
+
kovan: ""
|
|
487
|
+
},
|
|
488
|
+
priceFeedUSD: {
|
|
489
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
490
|
+
address: "",
|
|
491
|
+
kovan: ""
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
|
|
495
|
+
dUSDC: {
|
|
496
|
+
priceFeedETH: {
|
|
497
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
498
|
+
address: "",
|
|
499
|
+
kovan: ""
|
|
500
|
+
},
|
|
501
|
+
priceFeedUSD: {
|
|
502
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
503
|
+
address: "",
|
|
504
|
+
kovan: ""
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
|
|
508
|
+
dWBTC: {
|
|
509
|
+
priceFeedETH: {
|
|
510
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
511
|
+
address: "",
|
|
512
|
+
kovan: ""
|
|
513
|
+
},
|
|
514
|
+
priceFeedUSD: {
|
|
515
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
516
|
+
address: "",
|
|
517
|
+
kovan: ""
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
|
|
521
|
+
dWETH: {
|
|
522
|
+
priceFeedETH: {
|
|
523
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
524
|
+
address: "",
|
|
525
|
+
kovan: ""
|
|
526
|
+
},
|
|
527
|
+
priceFeedUSD: {
|
|
528
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
529
|
+
address: "",
|
|
530
|
+
kovan: ""
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
|
|
534
|
+
GEAR: {
|
|
535
|
+
priceFeedETH: {
|
|
536
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
537
|
+
address: "",
|
|
538
|
+
kovan: ""
|
|
539
|
+
},
|
|
540
|
+
priceFeedUSD: {
|
|
541
|
+
type: OracleType.CHAINLINK_ORACLE,
|
|
542
|
+
address: "",
|
|
543
|
+
kovan: ""
|
|
545
544
|
}
|
|
545
|
+
}
|
|
546
546
|
};
|