File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ export interface iAssetBase<T> {
204
204
USD : T ;
205
205
REN : T ;
206
206
ENJ : T ;
207
+ xSUSHI : T ;
207
208
}
208
209
209
210
export type iAssetsWithoutETH < T > = Omit < iAssetBase < T > , 'ETH' > ;
@@ -232,6 +233,7 @@ export type iAavePoolAssets<T> = Pick<
232
233
| 'UNI'
233
234
| 'REN'
234
235
| 'ENJ'
236
+ | 'xSUSHI'
235
237
> ;
236
238
237
239
export type iMultiPoolsAssets < T > = iAssetCommon < T > | iAavePoolAssets < T > ;
@@ -262,6 +264,7 @@ export enum TokenContractId {
262
264
YFI = 'YFI' ,
263
265
UNI = 'UNI' ,
264
266
ENJ = 'ENJ' ,
267
+ xSUSHI = 'xSUSHI'
265
268
}
266
269
267
270
export interface IReserveParams extends IReserveBorrowParams , IReserveCollateralParams {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const MOCK_CHAINLINK_AGGREGATORS_PRICES = {
23
23
WBTC : oneEther . multipliedBy ( '47.332685' ) . toFixed ( ) ,
24
24
YFI : oneEther . multipliedBy ( '22.407436' ) . toFixed ( ) ,
25
25
ZRX : oneEther . multipliedBy ( '0.001151' ) . toFixed ( ) ,
26
+ xSUSHI : oneEther . multipliedBy ( '0.00913428586' ) . toFixed ( ) ,
26
27
USD : '5848466240000000' ,
27
28
} ;
28
29
// ----------------
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
22
22
strategyWBTC ,
23
23
strategyWETH ,
24
24
strategyYFI ,
25
+ strategyXSUSHI ,
25
26
} from './reservesConfigs' ;
26
27
27
28
// ----------------
@@ -53,6 +54,7 @@ export const AaveConfig: IAaveConfiguration = {
53
54
WETH : strategyWETH ,
54
55
YFI : strategyYFI ,
55
56
ZRX : strategyZRX ,
57
+ xSUSHI : strategyXSUSHI ,
56
58
} ,
57
59
ReserveAssets : {
58
60
[ eEthereumNetwork . buidlerevm ] : { } ,
@@ -123,6 +125,7 @@ export const AaveConfig: IAaveConfiguration = {
123
125
WETH : '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' ,
124
126
YFI : '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e' ,
125
127
ZRX : '0xE41d2489571d322189246DaFA5ebDe1F4699F498' ,
128
+ xSUSHI : '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272' ,
126
129
} ,
127
130
[ EthereumNetwork . tenderlyMain ] : {
128
131
AAVE : '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9' ,
@@ -145,6 +148,7 @@ export const AaveConfig: IAaveConfiguration = {
145
148
WETH : '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' ,
146
149
YFI : '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e' ,
147
150
ZRX : '0xE41d2489571d322189246DaFA5ebDe1F4699F498' ,
151
+ xSUSHI : '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272' ,
148
152
} ,
149
153
} ,
150
154
} ;
Original file line number Diff line number Diff line change @@ -340,4 +340,21 @@ export const strategyZRX: IReserveParams = {
340
340
reserveDecimals : '18' ,
341
341
aTokenImpl : eContractid . AToken ,
342
342
reserveFactor : '2000'
343
+ } ;
344
+
345
+ export const strategyXSUSHI : IReserveParams = {
346
+ optimalUtilizationRate : new BigNumber ( 0.45 ) . multipliedBy ( oneRay ) . toFixed ( ) ,
347
+ baseVariableBorrowRate : '0' ,
348
+ variableRateSlope1 : new BigNumber ( 0.07 ) . multipliedBy ( oneRay ) . toFixed ( ) ,
349
+ variableRateSlope2 : new BigNumber ( 3 ) . multipliedBy ( oneRay ) . toFixed ( ) ,
350
+ stableRateSlope1 : '0' ,
351
+ stableRateSlope2 : '0' ,
352
+ baseLTVAsCollateral : '2500' ,
353
+ liquidationThreshold : '4500' ,
354
+ liquidationBonus : '11500' ,
355
+ borrowingEnabled : true ,
356
+ stableBorrowRateEnabled : false ,
357
+ reserveDecimals : '18' ,
358
+ aTokenImpl : eContractid . AToken ,
359
+ reserveFactor : '3500' ,
343
360
} ;
You can’t perform that action at this time.
0 commit comments