Commit Graph

13 Commits

Author SHA1 Message Date
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
14e2ab47d9 Add task to deploy ParaSwapLiquiditySwapAdapter
Note that it didn't actually work as written since gasPrice was set too low
and also the verifyContract didn't work (so I had to verify it manually).

Deployed to mainnet at 0xC91864A5A1E2F52aDdfb69e31b89a3b7783733c3.
2021-03-29 17:19:26 +01:00
David Racero
63ce8bc2bb Revert "add withFlash flage to getAmountIn/Out"
This reverts commit 3d2a877770.
2021-01-12 13:20:32 +01:00
andyk
3d2a877770 add withFlash flage to getAmountIn/Out 2020-12-09 13:29:25 +04:00
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04:00
The3D
8113cdaef1 Updated migration scripts to receive external parameters 2020-12-02 11:18:31 +01:00
andyk
6ce019c04a add deployment task for UniswapRepayAdapter 2020-12-01 14:27:57 +04:00
David Racero
a21d823646 Remove console logs 2020-11-30 14:32:01 +01:00
David Racero
c22533f139 Add lending provider kovan address at deploy-UniswapRepayAdapter task 2020-11-30 14:27:56 +01:00
andyk
a21757d0fc adoption to the latest 2020-11-30 17:14:29 +04:00
andyk
898d72dfb3 Merge branch 'master' into feat/data-helpers 2020-10-30 13:16:21 +03:00
andyk
7690b22e8e repo cleanup -1 2020-07-03 12:15:30 +03:00
eboado
0ca8e30fb2 Initial commit 2020-05-29 16:55:31 +02:00