Commit Graph

1286 Commits

Author SHA1 Message Date
Gerardo Nardelli
43d05c2bdf Refactor repayAdapter to flash loan the debt asset instead of the collateral 2020-11-20 15:53:50 -03:00
Ernesto Boado
0ccfcd2b2c Merge branch 'fix/157' into 'master'
Resolve "Upgrade to solidity 0.6.12"

Closes #157

See merge request aave-tech/protocol-v2!176
2020-11-20 16:25:35 +00:00
David Racero
d5ff8ded62 Test envs 2020-11-20 16:01:00 +01:00
David Racero
84b1c1a9d9 Missing run 2020-11-20 15:59:02 +01:00
David Racero
3856104f67 Added env variables to docker-compose.test.yml 2020-11-20 15:44:43 +01:00
Gerardo Nardelli
b48b50208a Support using all the collateral for a debt repay 2020-11-20 09:06:28 -03:00
David Racero
4034c75536 Support custom aToken deployments 2020-11-20 12:11:57 +01:00
The3D
f1778b88d4 Removed the ^ on solidity version 2020-11-20 11:45:20 +01:00
The3D
8c03180f89 Updated solidity version 2020-11-20 11:41:58 +01:00
David Racero
2231452bac Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 155-use-the-delegationawareatoken-for-the-uni-deployment 2020-11-20 11:41:32 +01:00
David Racero
27b05921d0 Fix CI 2020-11-20 11:40:01 +01:00
David Racero
92168f500b Fixes missing param at deployDefaultReserveInterestRateStrategy. Update WalletBalanceProvider to add provider argument. Minor fixes migration script. 2020-11-20 11:32:17 +01:00
David Racero
e04c7092fc Change wrong ID from deployment scripts 2020-11-20 10:57:52 +01:00
Ernesto Boado
886f2fbc70 Merge branch 'fix/156' into 'master'
Resolve "Add the OTIMAL_UTILIZATION_RATE as an immutable in DefaultInterestRateStrategy"

Closes #156

See merge request aave-tech/protocol-v2!173
2020-11-20 09:18:49 +00:00
The3D
151146c95b removed bigNumber import 2020-11-20 10:14:37 +01:00
The3D
75c7d52031 removed hardhat console 2020-11-20 10:13:14 +01:00
Gerardo Nardelli
8a303c6195 Refactor repayMode in repayAdapter 2020-11-19 16:39:00 -03:00
The3D
8aa46e9c4f Fixes tests 2020-11-19 19:24:41 +01:00
The3D
d5f0e9ebf9 Updated migration scripts 2020-11-19 18:11:53 +01:00
David Racero
39dcb51fee Add missing symbol in name. 2020-11-19 17:47:56 +01:00
David Racero
1c26eeef87 Add UNI aDelegatedToken 2020-11-19 17:46:23 +01:00
The3D
3f5822f5f6 Updated DefaultInterestRateStrategy 2020-11-19 17:17:11 +01:00
eboado
0c6ec03cec - Reviewed comments on DefaultReserveInterestRateStrategy and interface. 2020-11-19 14:48:15 +01:00
eboado
97aa76b13c - Moved StringLib to deployments/ 2020-11-19 14:23:46 +01:00
eboado
a5f9332234 - Fixed comments on LendingPoolAddressesProviderRegistry and removed useless getter. 2020-11-19 14:21:36 +01:00
Gerardo Nardelli
9478381992 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-helpers.ts
#	test/helpers/make-suite.ts
2020-11-19 09:32:52 -03:00
eboado
4192a5d992 - Improved docs of LendingPoolAddressesProvider 2020-11-19 12:52:34 +01:00
The-3D
56d25e81cb Merge branch 'fix/152-borrow-comment' into 'master'
Fixed innacuracy on borrow() comments.

Closes #152

See merge request aave-tech/protocol-v2!172
2020-11-19 10:49:56 +00:00
eboado
94ce7c649f - Fixed innacuracy on borrow() comments. 2020-11-19 10:46:10 +01:00
Ernesto Boado
5ae277841f Merge branch '151-review-aave-reserves-and-oracles-config' into 'master'
Review Aave reserves config, add permit domain test

Closes #151

See merge request aave-tech/protocol-v2!171
2020-11-19 09:22:30 +00:00
David Racero
3e005b4aaa Fix CI ethereumjs 2020-11-18 19:22:30 +01: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
61b935ce41 Fixes dev tasks 2020-11-18 10:35:42 +01:00
David Racero
edac705301 Check Reserves and Oracles config. Removed unneded config related with old uniswap v1. 2020-11-18 10:33:44 +01:00
Gerardo Nardelli
2e70cc6288 remove .only in tests 2020-11-17 13:31:05 -03:00
Gerardo Nardelli
092f9c983b Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-getters.ts
2020-11-17 13:21:41 -03:00
Ernesto Boado
200c02e081 Merge branch '140-setup-mainnet-fork-simulation-environment-based-on-tenderly' into 'master'
Add Mainnet fork, deployment check-list, add Tenderly integration

Closes #140

See merge request aave-tech/protocol-v2!160
2020-11-17 11:58:01 +00:00
David Racero
12d17179d6 Renamed ChainlinkProxyPriceProvider to AaveOracle 2020-11-17 10:24:24 +01:00
David Racero
f33324a09c Merge branch '140-setup-mainnet-fork-simulation-environment-based-on-tenderly' of gitlab.com:aave-tech/protocol-v2 into 140-setup-mainnet-fork-simulation-environment-based-on-tenderly 2020-11-17 09:34:22 +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
e09e660c85 Update README.md 2020-11-17 07:18:10 +00: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
Ernesto Boado
d9a66d3167 Merge branch 'fix/145-2' into 'master'
Resolve "Improve input parameters validation on LendingPoolConfigurator setters"

Closes #145

See merge request aave-tech/protocol-v2!170
2020-11-13 16:00:36 +00:00
Gerardo Nardelli
d0d0e869d0 Fix flash loan fee usage in _getAmountsIn 2020-11-13 12:30:14 -03:00
Gerardo Nardelli
101c775789 Avoid param override in repay adapter 2020-11-13 12:28:57 -03:00
Gerardo Nardelli
4c693d1947 Update amountToSwap calc in liquidity swap adapter 2020-11-13 12:27:18 -03:00
The3D
b66253bfe9 Removed separate setters 2020-11-13 15:48:38 +01:00