Commit Graph

155 Commits

Author SHA1 Message Date
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
David Racero
1bfab49557 Initial setup. Add Alchemy key 2020-11-12 09:11:17 +01:00
David Racero
cf32c1f84f Fixes task related with LendingOracle. Add token verification task. 2020-11-10 21:16:31 +01:00
David Racero
6eb19a2d66 Move verification to a separate task and run after deployment. Speed up verification via more logic to prevent too many retries. 2020-11-10 13:23:30 +01:00
David Racero
8389410819 Use latest package 2020-11-09 19:28:13 +01:00
David Racero
b3870cc107 Use fallback verification if related sources causes Solidity bug. 2020-11-09 18:55:09 +01:00
David Racero
45f882b401 Upload source dependency graph instead of all source code while etherscan verification 2020-11-09 15:52:28 +01:00
David Racero
089dd2a55a Remove buidler gas estimation to fix conflict with hardhat estimation plugin 2020-11-09 09:51:44 +01:00
andyk
efb77fdf4c Merge branch 'master' into feat/data-helpers 2020-11-06 15:54:50 +03:00
David Racero
1c9eb2efbf Fix CI 2020-11-05 15:52:36 +01:00
David Racero
729b642ea5 Support Buidler to run solidity-coverage until is ported. 2020-11-05 14:43:17 +01:00
David Racero
21e57a1a37 Migrate buidler to hardhat 2020-11-05 12:18:20 +01:00
David Racero
8ab3bce12e Fixed conflicts 2020-11-05 09:20:50 +01:00
David Racero
5477ad2c8d Added configs 2020-11-04 16:33:03 +01:00
David Racero
fd46bf888a Print addresses after migration. Fix minor migration issues. 2020-11-02 14:45:00 +01:00
David Racero
d22a6f629b Remove LEND config and fix tests to use AAVE conversion 100:1 2020-11-02 12:37:57 +01:00
andyk
898d72dfb3 Merge branch 'master' into feat/data-helpers 2020-10-30 13:16:21 +03:00
andyk
18d7a44db5 removal of ReserveLogic.ReserveData from UI helper return 2020-10-30 13:14:42 +03:00
David Racero
0824f08214 Rollback package-lock 2020-10-29 18:44:49 +01:00
David Racero
a9e7fa3516 Added WETHGateway tests 2020-10-29 15:50:32 +01:00
David Racero
744befc46c Added deposit test for WETHGateway 2020-10-29 12:44:21 +01:00
David Racero
a966d9f53f Added new StringLib library with concat to reuse function in deployment helpers. 2020-10-28 18:39:19 +01:00
David Racero
0d87292867 Fix merge conflicts. Fix ETH to WETH symbol change 2020-10-28 15:49:50 +01:00
pol
52c21a38ba Merge branch 'master' of sendra.gitlab.com:aave-tech/protocol-v2 into feat/70-basic-flow-task 2020-10-27 10:49:34 +01:00
David Racero
95b94e46e2 Merge master 2020-10-26 10:41:24 +01:00
The3D
7b0a83fd8f Merge branch 'master' into fix/76-migration-scripts 2020-10-26 09:52:56 +01:00
pol
a3e1ae3268 removed buidler task 2020-10-23 16:36:11 +02:00
pol
9530dd115d added scenarios engine for subgraph testing 2020-10-23 15:20:29 +02:00
David Racero
cbc188e62a merge and add helper contracts 2020-10-23 15:18:01 +02:00
pol
1384afa534 merged conflicts 2020-10-23 13:04:09 +02:00
The3D
614244272e Added the gas reporter 2020-10-23 12:20:06 +02:00
David Racero
c9df20f74d Added .env support for docker-compose.yml. Add --verify again to package.json kovan script 2020-10-22 11:27:45 +02:00
David Racero
9496af6455 Replace compilation for glob file finder. Stop verify if it finds a critical error. 2020-10-22 11:17:21 +02:00
pol
13825879cb merged with master 2020-10-20 15:34:16 +02:00
The3D
7ddf18b823 Updated migration scripts to add custom proxy price providers 2020-10-20 12:19:07 +02:00
pol
bd42a8cfa5 added script to deploy docker net 2020-10-19 12:03:47 +02:00
pol
8de8727f66 WIP: basic flow 2020-10-16 17:41:31 +02:00
David Racero
ffc81df4ee Fix conflicts and renamings 2020-09-24 17:48:29 +02:00
David Racero
6cbcf39454 Fixed conflicts and merge changes 2020-09-15 17:24:50 +02:00
David Racero
59bfdc39f2 Fix conflicts 2020-09-14 19:59:00 +02:00
eboado
748312cf20 - Added permit() to aToken. 2020-09-14 15:57:11 +02:00
David Racero
5af23057fa Fix conflicts. 2020-09-14 15:53:34 +02:00
David Racero
202ddbdec4 Moved all pausable tests into their own Pausable test suite 2020-09-14 15:02:48 +02:00
David Racero
ad2581b0a0 Added pausable tests 2020-09-14 13:57:40 +02:00
David Racero
bbc11eb092 Added pausable to Pool actions and aTokens at transfer, triggered by LendingPoolConfigurator. Added basic test to aToken transfer. 2020-09-14 13:03:39 +02:00
David Racero
53112c0982 Merge changes 2020-09-09 21:26:52 +02:00
David Racero
113c481512 Fixed coverage random failing tests. Added coverage network and minimal config. 2020-09-09 21:24:20 +02:00
eboado
4b3abac526 Merge branch 'master' into feat/26-repay-collateral 2020-09-09 21:12:36 +02:00
David Racero
398335124f Added collateral test to flash liquidation 2020-09-09 15:43:02 +02:00
eboado
3aa0dbc570 - Added tests of repayWithCollateral(), only for self-liquidation. 2020-09-08 15:05:53 +02:00
David Racero
84d1ed0cb7 Added migration scripts for Uniswap and Aave with configuration and common tasks 2020-08-31 12:10:40 +02:00
David Racero
9de0fe2bc3 Fix conflicts. Stable config implementation. Migrate from constants to configuration files per pool. Skip script loads while compilation. 2020-08-25 17:15:27 +02:00
David Racero
cf70929eee Merge and fix conflicts 2020-08-25 14:15:35 +02:00
eboado
75da6e0fba - Adapted flashLoan() for partial debt opening. 2020-08-25 12:55:05 +02:00
David Racero
957f4921d6 Moved type outside of types due missing types prior compilation 2020-08-24 10:29:54 +02:00
David Racero
4ecf8a9b86 Sync package lock 2020-08-24 10:09:08 +02:00
David Racero
d7ee67cc21 fix npm script 2020-08-21 17:39:48 +02:00
David Racero
f9fddfba59 Fix conflicts 2020-08-21 17:19:25 +02:00
David Racero
0a173a587b Added pool configuration manager with "config" library. 2020-08-21 17:11:15 +02:00
andyk
83b499fd71 fix ci -5 2020-08-21 15:19:07 +03:00
andyk
2cc6aa9974 add test step to CI 2020-08-21 15:11:01 +03:00
David Racero
54d9e3a7ee Added missing stash work 2020-08-20 17:38:57 +02:00
andyk
d141d090e4 migrate to ethers v5 2020-08-19 15:23:41 +03:00
andyk
89ad335912 pretty print 2020-07-13 11:54:08 +03:00
The3D
f1743a5eac Fixed liquidation tests 2020-07-08 17:26:50 +02:00
andyk
7690b22e8e repo cleanup -1 2020-07-03 12:15:30 +03:00
The3D
1980773a58 Updated test cases 2020-06-26 21:28:18 +02:00
The3D
c298579908 Fixed tests 2020-06-26 16:58:52 +02:00
The3D
02d943b235 Refactoring migration 2020-06-21 01:40:03 +02:00
andyk
9e76bcf765 add prettier 2020-06-18 15:41:23 +03:00
eboado
2883c0f861 - Added extra test wallets. 2020-06-15 10:45:14 +02:00
eboado
57cc16e665 - Finished migration of configurator.spec.ts 2020-06-12 09:41:30 +02:00
eboado
6ef4ca54b5 - Updated buidler-ethers package to rc version to improve time performance of chain operations. 2020-06-11 17:32:38 +02:00