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
d9026b7122
Support fork connection.
2021-03-03 12:25:10 +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
Zer0dot
71127888a6
Updated Matic deployment script
2021-02-24 16:49:23 -05:00
Zer0dot
735fc5c6c7
Removed useless space
2021-02-23 11:05:46 -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
Zer0dot
599c2759f1
Fixed & tested etherscan verification (on Kovan)
2021-02-23 08:34:24 +01:00
Zer0dot
50e2828008
Updated to reuse LendingPool & Configurator if possible
2021-02-23 08:34:02 +01:00
Zer0dot
f023ce09c5
Slight fixed for fork deployment
2021-02-22 17:26:22 +01:00
Hadrien Charlanes
18aac08061
Added full script and config for kovan
2021-02-22 17:26:06 +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
384f00f15e
Fixed issues before deployment
2021-02-19 21:59:14 -05:00
Zer0dot
379761b56f
Testing mumbai network deployment, Oracles fail
2021-02-19 18:50:24 -05:00
Zer0dot
51ea7364e1
(Same functionality) Updated LP mainnet
2021-02-19 18:31:04 -05:00
Zer0dot
5965ef09d4
Fixed names & added prefixes
2021-02-19 15:50:06 -05:00
Zer0dot
f44879e625
Fixed missing "waitForTx"
2021-02-18 16:50:15 -05:00
Zer0dot
5ca1a4f05b
Re-enabled Sec 3
2021-02-18 16:49:29 -05:00
Zer0dot
0c2b92a0c8
Removed useless import
2021-02-12 21:40:20 -05:00
Zer0dot
313e3146f4
Added functionality to re-use Aave/Lending Rate Oracles
2021-02-12 11:08:36 -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
9fb097e687
Removed old console lo
2021-02-10 18:36:51 -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
8f68b3b444
Updated package.json task name
2021-02-08 17:42:43 -05:00
Zer0dot
6fbed47205
Fixed deploy-new-asset script
2021-02-08 16:18:49 -05:00
Zer0dot
655f9751f7
Replaced "Uniswap" market name & references with "Lp"
2021-02-08 11:05:10 -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
David Racero
d464b0d592
Pull master and fix conflicts
2021-01-29 13:27:12 +01:00
David Racero
6a503eb0a8
Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI.
2021-01-27 15:43:34 +01:00
Zer0dot
073b30d8c9
Added assets & fixed test
2021-01-20 21:44:19 -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
ed17b5a037
Slight cleanup
2021-01-14 20:59:14 -05:00
David Racero
63ce8bc2bb
Revert "add withFlash flage to getAmountIn/Out"
...
This reverts commit 3d2a877770
.
2021-01-12 13:20:32 +01:00
David Racero
46c753cea1
Solve conflicts
2021-01-12 12:11:03 +01:00
Zer0dot
688b62fed2
Added gas tracking
2021-01-11 21:15:47 -05:00
Zer0dot
0472cc27f2
Cleanup (Removed unneeded dev deployment)
2021-01-10 20:40:23 -05:00
Zer0dot
36e5642f24
Removed dev task
2021-01-10 19:57:58 -05:00
Zer0dot
ced0bc3dfe
Setup testing on Kovan. Error on oracle deployment
2021-01-07 20:27:39 -05:00
dhadrien
334718a077
added package.json script
2021-01-07 16:36:54 +01:00
Zer0dot
1669d6587a
Fixed UNI prefix error in setup.spec
2021-01-01 21:14:02 -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
dhadrien
ec77c690b8
Fixed script, working
2020-12-22 10:46:56 +01:00
dhadrien
a3403631be
added task for deploying new asset
2020-12-21 17:13:51 +01:00
andyk
3d2a877770
add withFlash flage to getAmountIn/Out
2020-12-09 13:29:25 +04:00