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
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
David Racero
befb447148
Added configs to support tenderly fork rpcs. Added new price feeds addresses. Fix owner signer issues.
2021-03-02 17:21:04 +01:00
The3D
eb9077f25e
Refactored interest rate strategies tests
2021-03-01 20:26:08 +01:00
The3D
682a7d13fe
Updated tests
2021-02-26 19:18:38 +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
71127888a6
Updated Matic deployment script
2021-02-24 16:49:23 -05:00
Zer0dot
6508aa6127
Fixed small error
2021-02-24 16:44:45 -05:00
Zer0dot
46be3c6e8a
Clarified comment
2021-02-24 16:43:57 -05:00
Zer0dot
53139ce991
Removed useless space
2021-02-24 16:42:41 -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
1c16f9f074
COMMENTED OUT MATIC-BREAKING code
2021-02-19 21:58:39 -05:00
Zer0dot
f9f29b312c
Added generic debt token deployments
2021-02-19 21:58:25 -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
e4f4bb0cdb
Brought branch up to speed with light deployment update
2021-02-18 09:38:13 -05:00
Zer0dot
f196a3be7a
Added Balancer WBTCWETH. Renamed tokens to show underlying AMM.
2021-02-15 22:50:16 -05:00
Zer0dot
e72c07ae6d
Cleanup & added a comment for clarity on a potentially deprecated function.
2021-02-12 21:49:53 -05:00
Zer0dot
283cf2ce97
Added re-using collateral manager functionality
2021-02-11 22:54:04 -05:00
Zer0dot
0652b09ffd
Slight fixes for tests to run and removed old gas tracker
2021-02-10 19:11:41 -05:00
Zer0dot
0a3da08c9c
Added a few comments for clarity
2021-02-10 18:47:31 -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
6fbed47205
Fixed deploy-new-asset script
2021-02-08 16:18:49 -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
2601dbb2df
Updated helpers
2021-02-05 21:51:12 -05:00
Zer0dot
dad66ef2d4
Adapted deployments and tests
2021-02-05 11:19:40 -05:00
Zer0dot
039e00fdb0
Moved gas-tracker.ts into ./helpers and updated references
2021-02-04 17:57:03 -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
9431541593
More fixes, some stable tests fail WIP
2021-02-02 17:44:46 -05:00
Zer0dot
d63ae5405f
Fixed missing gas estimation
2021-02-01 18:42:01 -05:00
Zer0dot
221c19c910
Tentative fix in init-helpers for light deployment
2021-02-01 18:23:11 -05:00
David Racero
f106502c72
Add retries to scenarios to prevent random networking bug.
2021-02-01 19:24:50 +01:00
David Racero
3f6dd8a0f0
Update hardhat to latest version. Add timeout to advanceTimeAndBlock function.
2021-02-01 17:54:02 +01:00