Commit Graph

127 Commits

Author SHA1 Message Date
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
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
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
fb3c0fc119 Added amm:main:full:migration task 2021-02-24 17:36:16 -05:00
Zer0dot
d41edec1ab Merged feat/lp-market-updated-deployment 2021-02-23 10:59:02 -05:00
Hadrien Charlanes
da2ade5d3b Added Weth gateway contract in config, updated deployment 2021-02-22 17:25:12 +01:00
Zer0dot
5e0005e32c Set Matic gas limit to 7.5 gwei & added task 2021-02-19 21:58:10 -05:00
Zer0dot
379761b56f Testing mumbai network deployment, Oracles fail 2021-02-19 18:50:24 -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
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -05:00
Zer0dot
01a662680f Separated tests by market. Replace WETH9 symbol with 'UniWETH' to run test-lp. WIP. 2021-02-06 22:10:29 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
David Racero
3f6dd8a0f0 Update hardhat to latest version. Add timeout to advanceTimeAndBlock function. 2021-02-01 17:54:02 +01:00
David Racero
d464b0d592 Pull master and fix conflicts 2021-01-29 13:27:12 +01:00
The-3D
57d9d48bf8 Merge branch '201-add-protocol-contracts-to-the-npm' into 'master'
Add protocol contracts to the npm

Closes #201

See merge request aave-tech/protocol-v2!224
2021-01-29 09:13:42 +00:00
David Racero
80cfc7d0fe Add fixed format scenario test 2021-01-28 09:51:52 +01:00
David Racero
da0b13757a Fix scenario and rename jobs 2021-01-27 16:57:26 +01:00
David Racero
abb17b004d Fix pre-commit 2021-01-27 15:46:04 +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
David Racero
9169e0db62 Add notes about how to use NPM package to import contract or artifacts 2021-01-26 13:46:48 +01:00
David Racero
56ba85e946 Add publish to Gitlab CI 2021-01-26 12:56:36 +01:00
David Racero
c7a8f41d46 Added test fixes to support latest stable fix 2021-01-21 00:42:39 +01:00
David Racero
16a7398574 Fixed tests. Add uniswap adapter test to package.json script 2021-01-14 11:53:48 +01:00
David Racero
46c753cea1 Solve conflicts 2021-01-12 12:11:03 +01:00
Ernesto Boado
3782bfda1a Merge branch 'add-task-deploy-new-asset' into 'master'
Add task deploy new assets before AIP

See merge request aave-tech/protocol-v2!210
2021-01-08 10:01:38 +00: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
David Racero
43df62a9c9 Fix README.md steps for mainnet fork. Added console fork mode. Fix infura subdomain in mainnet fork mode. 2021-01-07 13:45:18 +01:00
Zer0dot
57986b76a8 Testing 2020-12-25 00:47:30 -05:00
andyk
41efe9e811 add WETH to constructor of swap adapters 2020-12-02 19:56:38 +04:00
Ernesto Boado
8e0d64cd73 Merge branch '181-check-configuration-and-scripts' into 'master'
Use registry address from config at verification. Fix Provider verify. Fix WalletProvider verify.

Closes #181

See merge request aave-tech/protocol-v2!206
2020-12-02 10:48:52 +00:00
The3D
8113cdaef1 Updated migration scripts to receive external parameters 2020-12-02 11:18:31 +01:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00
eboado
3778ad6163 - Added all contributors to package.json 2020-12-02 08:58:31 +01:00
David Racero
e0025184a0 Added resume initialization task 2020-12-01 12:39:54 +01:00
andyk
6ce019c04a add deployment task for UniswapRepayAdapter 2020-12-01 14:27:57 +04:00
David Racero
a2c9e0074f Add kovan print config 2020-11-30 19:47:16 +01:00
David Racero
ac63cfaf05 Minor changes to deploy scripts. Fix token verify errors. Added new task for print providers config. 2020-11-30 19:25:06 +01:00
andyk
a21757d0fc adoption to the latest 2020-11-30 17:14:29 +04:00
David Racero
53d92ccfe4 Added permit domain check test. Update typechain and typescript to support new ethers 5 generated typings. Updated ethers to support _TypedDataEncoder for domain hash. 2020-11-18 19:18:02 +01:00
David Racero
12d17179d6 Renamed ChainlinkProxyPriceProvider to AaveOracle 2020-11-17 10:24:24 +01:00
David Racero
b275fedfe8 Remove Uniswap V1 config and scripts. Renamed config to markets. 2020-11-17 09:33:45 +01:00
David Racero
27365697ac Added mainnet check list. Remove deployed contracts. Update README.md 2020-11-16 19:22:22 +01:00
David Racero
0d40682054 Added initial README. Digging into Tenderly. Added initial mainnet fork with buidler. 2020-11-16 16:08:07 +01:00
David Racero
d0ea8d2e32 Added buidler mainnent fork 2020-11-16 11:09:23 +01:00
David Racero
84053c7b1d Added latest update from Tenderly 2020-11-16 10:19:14 +01:00
David Racero
d1c6943cd3 Initial implementation of Tenderly plugin 2020-11-12 14:12:26 +01:00