Commit Graph

184 Commits

Author SHA1 Message Date
sendra
0895e6f75d feat: added all helper versions 2021-12-17 16:23:11 +01:00
sendra
67aefa8a66 feat: added UiPoolDataProvider V2 with eth markets oracle case 2021-12-06 16:29:34 +01:00
David Racero
dc65b0b62e
Merge branch 'master' into feat/188-avalanche-market 2021-09-20 11:04:24 +02:00
David Racero
984e19cdf3 config: revised risk config 2021-08-27 13:22:07 +02:00
miguelmtzinf
a000ed9134 fix: Fix comments and ts style warnings 2021-08-17 18:38:56 +02:00
David Racero
0e7bc49a37 feat: Replace AaveOracle to the latest version. Fix dev deployment scripts. 2021-07-20 16:41:38 +02:00
David Racero
95e9c3588c feat: support custom quote currencies. Added base scripts for custom atokens and rates. 2021-07-16 12:21:44 +02:00
miguelmtzinf
a0a6210902 feat: Add Avalanche network configuration 2021-07-16 10:46:07 +02:00
Jason Raymond Bell
258a9be607 Merge branch 'master' into paraswap 2021-06-15 16:52:42 +01:00
Jason Raymond Bell
4fe36c8fa4 Introduce registry of valid Augustus addresses
Set in constructor of BaseParaSwapSellAdapter and validates before swap.
Created mock registry that only validates one address.
Changed the test fixtures to accomodate registry and added two new tests.
Updated deployment script.
Registry address left as a placeholder in package.json since not known yet.

Fixes MixBytes Warning 1.
2021-05-20 23:25:51 +01:00
David Racero
ae8f7aa21f Fixed config. Fixed WETHGateway initialiation with WrappedNativeToken. Added AaveProtocolDataProvider init at addresses provider registry. 2021-03-31 14:13:44 +02:00
David Racero
55201296f2 Added AAVE to Matic market config 2021-03-29 17:28:20 +02:00
David Racero
d7cf033e62 Added sidechain task to follow guidelines. Added IncentivesController to config. 2021-03-26 15:20:24 +01:00
Jason Raymond Bell
bf635b6d50 Merge branch 'master' into paraswap 2021-03-18 16:46:02 +00:00
Jason Raymond Bell
242826ded6 ParaSwap adapter for collateral swaps
Complete with unit tests (using a mock AugustusSwapper contract).

Has similar functionality/tests as for existing Uniswap adapter.

Fixed a couple bugs in tests for Uniswap adapters.
2021-03-18 15:44:52 +00:00
The3D
12cda094b4 Merge branch 'master' into feat/light-deployments 2021-03-05 13:46:11 +01:00
The-3D
554a2ed7ca
Merge pull request #19 from sushiswap/master
PR to list new asset: Added xSUSHI risk parameters
2021-02-25 15:55:09 +01:00
Zer0dot
ce7d011e20 Initial setup for BptBALWETH 2021-02-24 17:58:20 -05:00
Zer0dot
b2d344e189 Changed USDCDAI to DAIUSDC to fit pair order 2021-02-24 10:55:52 -05:00
Zer0dot
d41edec1ab Merged feat/lp-market-updated-deployment 2021-02-23 10:59:02 -05:00
Hadrien Charlanes
e3846332db Cleaned up more conf, getParanetwork working now. Added weth Gateway Matic 2021-02-23 15:43:24 +01:00
Hadrien Charlanes
029a349d90 Prepared XDAI configs, updated matic with new LendingPool and LendingPoolConfigurator 2021-02-23 10:01:32 +01:00
Zer0dot
50e2828008 Updated to reuse LendingPool & Configurator if possible 2021-02-23 08:34:02 +01:00
Hadrien Charlanes
06d75ac7c7 Cleaned up config 2021-02-22 18:08:17 +01:00
Hadrien Charlanes
da2ade5d3b Added Weth gateway contract in config, updated deployment 2021-02-22 17:25:12 +01:00
Zer0dot
b3e14bc033 Fixed MATIC WETHGateway adaptation, uses wMATIC 2021-02-21 20:05:11 -05:00
Zer0dot
ec4df02f84 Fixed tests, moved MOCK_CHAINLING_AGGREGATORS_PRICES to constants.ts 2021-02-21 18:55:27 -05:00
Zer0dot
379761b56f Testing mumbai network deployment, Oracles fail 2021-02-19 18:50:24 -05:00
Zer0dot
016cdacc5f Added MATIC token to types 2021-02-19 17:38:54 -05:00
Zer0dot
71c5d7b080 Merge branch 'feat/lp-market-updated-deployment' into feat/l2-markets 2021-02-19 16:44:41 -05:00
Zer0dot
6d0daf033d Began adaptation to new networks 2021-02-19 16:44:27 -05:00
Zer0dot
5965ef09d4 Fixed names & added prefixes 2021-02-19 15:50:06 -05:00
Zer0dot
f196a3be7a Added Balancer WBTCWETH. Renamed tokens to show underlying AMM. 2021-02-15 22:50:16 -05:00
Zer0dot
283cf2ce97 Added re-using collateral manager functionality 2021-02-11 22:54:04 -05:00
Zer0dot
fda95dd318 Added optimized deployment functionality 2021-02-10 18:23:05 -05:00
Zer0dot
4b39c42169 Unoptimized but functional light deployment 2021-02-10 13:52:51 -05:00
Zer0dot
0bf9810158 Replaced "Uni" prefix with "Lp" for tokens 2021-02-08 11:24:01 -05:00
Zer0dot
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
dangerousfood
5d6332d6ea add xSushi 2021-02-03 11:18:03 -06:00
Zer0dot
073b30d8c9 Added assets & fixed test 2021-01-20 21:44:19 -05:00
Zer0dot
97a6179703 Added all UNI-V2 pairs and configs 2021-01-19 20:58:21 -05:00
root
a9aff29b77 Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support. 2021-01-15 15:48:54 +00:00
Zer0dot
ccb6e36760 Slight cleanup 2021-01-14 18:56:18 -05:00
Zer0dot
917f632980 Added unique prefix functionality 2021-01-13 01:05:44 -05:00
Zer0dot
0472cc27f2 Cleanup (Removed unneeded dev deployment) 2021-01-10 20:40:23 -05:00
Zer0dot
4637476bbd Removed UNI prefix, cleaned up 2020-12-30 01:04:06 -05:00
Zer0dot
57986b76a8 Testing 2020-12-25 00:47:30 -05:00
Zer0dot
9e001ec0b6 Initial testing 2020-12-22 18:48:02 -05:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00