-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed BUG Any protocol and pool to Aave V3 Asset [sc-15714] * Added refinance supported networks check * Added dpm and owner addresses to raw positon info * Type Fix * Added comment * Disabled emode for stablecoins disabled on aave * Updated emode logic * Added missing params
- Loading branch information
1 parent
0a79993
commit d535728
Showing
13 changed files
with
83 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { NetworkNames } from 'blockchain/networks' | ||
|
||
export const isRefinanceSupportedNetwork = (networkName: NetworkNames) => { | ||
return networkName === NetworkNames.ethereumMainnet | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1 @@ | ||
export const emodeStablecoinTokensUpperCase = [ | ||
'ADAI', | ||
'AETHDAI', | ||
'AETHLUSD', | ||
'AETHPYUSD', | ||
'AETHSDAI', | ||
'AETHUSDC', | ||
'AETHUSDT', | ||
'AUSDC', | ||
'AUSDT', | ||
'CDAI', | ||
'CRVUSD', | ||
'CUSDC', | ||
'CUSDCV3', | ||
'DAI', | ||
'FRAX', | ||
'GHO', | ||
'GUSD', | ||
'PYUSD', | ||
'SDAI', | ||
'SUSD', | ||
'SUSDE', | ||
'USDC.E', | ||
'USDC', | ||
'USDE', | ||
'USDT', | ||
] | ||
export const emodeStablecoinTokensSparkUpperCase = ['SDAI', 'USDC', 'USDT'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters