David Racero
|
7282f7678b
|
Allow WETHGateway to be used by multiple pools. Remove logger.
|
2020-11-02 17:51:54 +01:00 |
|
David Racero
|
a4a02e761b
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-11-02 16:54:22 +01:00 |
|
David Racero
|
cd687b7a0c
|
Fix conflicts
|
2020-11-02 16:53:02 +01:00 |
|
David Racero
|
fd46bf888a
|
Print addresses after migration. Fix minor migration issues.
|
2020-11-02 14:45:00 +01:00 |
|
The3D
|
1b021dca18
|
Added tests
|
2020-11-02 14:44:11 +01:00 |
|
The3D
|
dae912ba3f
|
add delegation aware aToken to the contract ids
|
2020-11-02 13:25:24 +01:00 |
|
The3D
|
473336955e
|
added deployment function for delegation aware aToken
|
2020-11-02 13:22:26 +01:00 |
|
andyk
|
9ce6d3347f
|
Merge branch 'master' into feat/data-helpers
|
2020-11-02 14:46:23 +03:00 |
|
David Racero
|
d22a6f629b
|
Remove LEND config and fix tests to use AAVE conversion 100:1
|
2020-11-02 12:37:57 +01:00 |
|
David Racero
|
e9d21ef74d
|
Fixed conflicts
|
2020-11-02 10:20:59 +01:00 |
|
Ernesto Boado
|
282e6093bb
|
Merge branch 'fix/51' into 'master'
Resolve "Remove the disable as collateral function on LendingPoolConfigurator"
Closes #51
See merge request aave-tech/protocol-v2!60
|
2020-10-31 17:41:48 +00:00 |
|
emilio
|
07429b0a57
|
Fixed P_IS_PAUSED
|
2020-10-31 13:55:19 +01:00 |
|
emilio
|
05d426645d
|
Changed freezed to frozen
|
2020-10-31 13:47:16 +01:00 |
|
emilio
|
3f7bb806ac
|
Merge branch 'master' into fix/51
|
2020-10-31 13:10:26 +01:00 |
|
Gerardo Nardelli
|
e7183536b3
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-deployments.ts
# helpers/contracts-getters.ts
|
2020-10-30 17:01:39 -03:00 |
|
David Racero
|
1ac0a45394
|
Fix conflicts
|
2020-10-30 16:52:44 +01:00 |
|
eboado
|
cba766d282
|
Merge branch 'master' into feat/102-batch-delegation-allowance
|
2020-10-30 16:04:31 +01:00 |
|
David Racero
|
b3cc9d1a62
|
Fix conflicts
|
2020-10-30 13:40:06 +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 |
|
Gerardo Nardelli
|
fc358b7c14
|
merge fixes
|
2020-10-29 17:29:41 -03:00 |
|
Gerardo Nardelli
|
17095c3ae1
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-helpers.ts
# helpers/types.ts
# test/__setup.spec.ts
# test/helpers/make-suite.ts
|
2020-10-29 16:49:25 -03:00 |
|
David Racero
|
2892e69df0
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-10-29 16:20:12 +01:00 |
|
Ernesto Boado
|
6b26e39d5f
|
Merge branch 'feat/74' into 'master'
Feat/74 - Add `onBehalf` for flashloan(), to open debt if debt mode selected
Closes #74
See merge request aave-tech/protocol-v2!96
|
2020-10-29 15:08:18 +00:00 |
|
David Racero
|
e6d913d251
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 97-create-a-utility-contract-to-deposit-withdraw-repay-with-eth
|
2020-10-29 15:50:37 +01:00 |
|
David Racero
|
c187440f84
|
Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into fix/75-improve-migration-scripts
|
2020-10-29 14:11:00 +01:00 |
|
David Racero
|
744befc46c
|
Added deposit test for WETHGateway
|
2020-10-29 12:44:21 +01:00 |
|
David Racero
|
9317df9252
|
Added boilerplate deployment, getters and tests.
|
2020-10-28 18:06:24 +01:00 |
|
David Racero
|
13737e0994
|
Show WETH instead of ETH
|
2020-10-28 11:27:16 +01:00 |
|
eboado
|
6be8b1c5fd
|
- Added validations on ReserveConfiguration's numeric setters.
|
2020-10-28 10:54:09 +01:00 |
|
Gerardo Nardelli
|
723e3f82a6
|
Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
# helpers/contracts-helpers.ts
# test/__setup.spec.ts
# test/helpers/make-suite.ts
|
2020-10-27 09:26:43 -03:00 |
|
Gerardo Nardelli
|
a05b75b467
|
Add uniswap adapters unit tests
|
2020-10-27 09:18:30 -03:00 |
|
David Truong
|
a517d5d11d
|
- implement test for onBehalfOf flashloan borrow debt
|
2020-10-27 13:10:10 +01:00 |
|
David Racero
|
1ef22f036b
|
Fix conflicts
|
2020-10-27 12:12:05 +01:00 |
|
David Truong
|
e0660bda7b
|
Merge remote-tracking branch 'origin/master' into feat/74
# Conflicts:
# contracts/interfaces/ILendingPool.sol
# contracts/lendingpool/LendingPool.sol
# test/flashloan.spec.ts
|
2020-10-27 12:05:48 +01:00 |
|
emilio
|
1f8efbd4f5
|
Removed swapAdapter from the migration scripts
|
2020-10-27 11:08:11 +01:00 |
|
David Racero
|
161fb63f19
|
Added borrow rates deployment optimization and minor tweaks for deployment helpers
|
2020-10-27 10:58:51 +01:00 |
|
David Racero
|
e17f2ec814
|
Added collateral enable and stable migration optimization.
|
2020-10-26 17:43:10 +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 |
|
David Racero
|
e6be323e51
|
Remove unneeded factory
|
2020-10-23 18:41:52 +02:00 |
|
David Racero
|
1c7ce57b2b
|
Aggregated deployments for initialization, atokens and debtTokens
|
2020-10-23 18:38:27 +02:00 |
|
David Racero
|
cbc188e62a
|
merge and add helper contracts
|
2020-10-23 15:18:01 +02:00 |
|
The3D
|
302a19a1bc
|
Merge branch 'master' into fix/73
|
2020-10-22 19:20:57 +02:00 |
|
David Racero
|
64df1eeb36
|
Removed mock swap
|
2020-10-22 18:27:23 +02:00 |
|
David Racero
|
3b2b843b7b
|
Fixes typings errors.
|
2020-10-22 18:14:56 +02:00 |
|
David Racero
|
bb0df73449
|
WIP test erroring
|
2020-10-22 17:32:50 +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 |
|
The3D
|
76031c878f
|
Fixed console messages
|
2020-10-21 13:35:52 +02:00 |
|
David Racero
|
d864836ec5
|
Added waitForTx for lendingpoool
|
2020-10-21 11:50:54 +02:00 |
|
David Racero
|
4ee41dbece
|
Added waitForTx to missing methods.
|
2020-10-21 11:42:27 +02:00 |
|
The3D
|
7ddf18b823
|
Updated migration scripts to add custom proxy price providers
|
2020-10-20 12:19:07 +02:00 |
|
emilio
|
19756cdbe8
|
fixed PVE001, PVE009(1)
|
2020-10-19 18:29:32 +02:00 |
|
David Racero
|
60c93a4d73
|
Remove debug console.logs
|
2020-10-16 12:07:35 +02:00 |
|
David Racero
|
e0627ce66b
|
Added correct library placheholder hashes. Fix imports.
|
2020-10-16 11:27:09 +02:00 |
|
David Racero
|
7556f25c1a
|
Moved all deployments outside of helpers with wrapper.
|
2020-10-15 20:28:12 +02:00 |
|
David Racero
|
03504849f1
|
Deployment function optimizations WIP
|
2020-10-15 19:19:02 +02:00 |
|
David Racero
|
88a2cb21f4
|
Move contract getters to their own file. Use factory connect. Fix imports
|
2020-10-15 13:57:03 +02:00 |
|
David Racero
|
479aa3ef8e
|
Updated numbers
|
2020-10-15 09:38:46 +02:00 |
|
David Racero
|
57ffc9c613
|
Reorg errors library, sorted by error number, added prefix to each constant and a prefix glossary.
|
2020-10-14 11:03:32 +02:00 |
|
The3D
|
543c3f5c9c
|
Merge branch 'master' into fix/62
|
2020-10-13 13:41:57 +02:00 |
|
The3D
|
53d6114775
|
Merge branch 'master' into feat/18
|
2020-10-12 15:19:27 +02:00 |
|
The3D
|
d150458604
|
Merge branch 'master' into feat/18
|
2020-10-08 15:41:48 +02:00 |
|
eboado
|
273070fada
|
Added return uint256 validation to flashLoan()
|
2020-10-07 16:20:32 +02:00 |
|
David Racero
|
ffc81df4ee
|
Fix conflicts and renamings
|
2020-09-24 17:48:29 +02:00 |
|
The3D
|
06d16c6abf
|
Added initial test for the registry
|
2020-09-23 11:21:49 +02:00 |
|
The3D
|
e4890a14c2
|
Merge branch 'master' into fix/34
|
2020-09-17 11:55:38 +02:00 |
|
The3D
|
570a81a1b2
|
Fixed aToken deployment function
|
2020-09-16 16:44:27 +02:00 |
|
The3D
|
274b63713d
|
Merge branch 'master' into fix/34
|
2020-09-16 16:34:29 +02:00 |
|
andyk
|
9594571761
|
Merge branch 'master' into 41-rename-liqudiationmanager
|
2020-09-16 15:22:55 +01:00 |
|
andyk
|
373bac109b
|
small comments fixes
|
2020-09-16 15:45:49 +03:00 |
|
andyk
|
2a6248c6d2
|
misc renaming
|
2020-09-16 15:09:42 +03:00 |
|
Ernesto Boado
|
b182731074
|
Merge branch 'feat/pei-integration' into 'master'
Integration of pei
See merge request aave-tech/protocol-v2!49
|
2020-09-16 11:17:05 +00:00 |
|
andyk
|
66113d64a2
|
rename LendingPoolLiquidationManager -> LendingPoolCollateralManager
|
2020-09-16 13:41:12 +03:00 |
|
andyk
|
1b61edc6ff
|
add tests on liquiditySwap validation logic
|
2020-09-16 11:10:25 +03:00 |
|
andyk
|
125644cc54
|
Merge branch 'master' into feat/pei-integration
|
2020-09-15 18:43:55 +03:00 |
|
andyk
|
5b7b4c517f
|
fix ci:test env
|
2020-09-15 18:25:34 +03:00 |
|
David Racero
|
6cbcf39454
|
Fixed conflicts and merge changes
|
2020-09-15 17:24:50 +02:00 |
|
andyk
|
84cf68e58e
|
fix deployment and tests
|
2020-09-15 17:02:21 +03:00 |
|
The3D
|
c6a3588792
|
Merge branch 'master' into fix/34
|
2020-09-15 15:33:09 +02:00 |
|
David Racero
|
aa834ee904
|
Added missing whenNotPaused to new functions. Changed IS_PAUSED error code to 58 to prevent error collision. Added new pausable tests.
|
2020-09-15 13:13:28 +02:00 |
|
The3D
|
f428f69ebd
|
Merge branch 'master' into fix/34
|
2020-09-15 09:34:00 +02:00 |
|
eboado
|
c4904bc41c
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-14 21:06:16 +02:00 |
|
David Racero
|
59bfdc39f2
|
Fix conflicts
|
2020-09-14 19:59:00 +02:00 |
|
The3D
|
d542f098c1
|
fixed deposit, withdraw tests
|
2020-09-14 19:25:45 +02:00 |
|
David Racero
|
64066a14ec
|
Rename IS_ACTIVE to NOT_PAUSED error.
|
2020-09-14 16:09:57 +02:00 |
|
eboado
|
c531b87703
|
Merge branch 'master' into feat/36-permit-atoken
|
2020-09-14 16:02:53 +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
|
6e0091a668
|
Added PausablePool contract to support errors by number.
|
2020-09-14 15:24:30 +02:00 |
|
David Racero
|
ad2581b0a0
|
Added pausable tests
|
2020-09-14 13:57:40 +02:00 |
|
The3D
|
d1ffac6380
|
Merge branch 'master' into fix/34
|
2020-09-14 11:33:34 +02:00 |
|
The3D
|
a64edb3011
|
Removed interest redirection leftovers
|
2020-09-14 11:13:53 +02:00 |
|
The3D
|
dbf1a0b9e7
|
Merge branch 'master' into fix/34
|
2020-09-14 09:22:39 +02:00 |
|
eboado
|
7a8a0d6ac5
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-14 08:58:37 +02:00 |
|
The3D
|
de8ae523c8
|
Fixed total supply, tests
|
2020-09-10 13:05:02 +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 |
|
eboado
|
3aa0dbc570
|
- Added tests of repayWithCollateral(), only for self-liquidation.
|
2020-09-08 15:05:53 +02:00 |
|
andyk
|
212cf76f23
|
add base tests
|
2020-09-07 16:48:46 +03:00 |
|
eboado
|
819cc65abd
|
Merge branch 'master' into feat/27-new-erc20
|
2020-09-04 17:10:32 +02:00 |
|
emilio
|
48438f59f5
|
Added a new test to check an invalid interest rate mode
|
2020-09-03 16:29:14 +02:00 |
|
emilio
|
db99b6eca6
|
Merge branch 'master' into fix/23
|
2020-09-03 15:41:36 +02:00 |
|
pol
|
07007fa933
|
Fixed sintax errors
|
2020-09-03 11:17:49 +02:00 |
|
pol
|
714c2ff3fd
|
Refactored as per the PR comments
|
2020-09-03 10:33:15 +02:00 |
|
pol
|
288d8f2889
|
Added LendingPoolLiquidationManager error messages to error lib, and updated tests.
|
2020-09-02 18:53:39 +02:00 |
|
pol
|
5b5f8ae74a
|
cleaned comments
|
2020-09-02 18:18:17 +02:00 |
|
pol
|
76b4fc6b2d
|
All tests working. WIP look at old error messages to remove them all
|
2020-09-02 17:54:34 +02:00 |
|
pol
|
6122826ef4
|
fixed getting error codes from error lib
|
2020-09-02 16:34:15 +02:00 |
|
pol
|
7b4812c956
|
Moved error messages to error lib
|
2020-09-02 15:48:38 +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
|
b3896fa4e3
|
WIP full migrations
|
2020-08-26 12:38:52 +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 |
|
David Racero
|
4d96f57539
|
WIP Config boilerplate
|
2020-08-24 16:18:10 +02:00 |
|
David Racero
|
957f4921d6
|
Moved type outside of types due missing types prior compilation
|
2020-08-24 10:29:54 +02:00 |
|
The3D
|
928770d9d5
|
Updated flashloans V2
|
2020-08-24 01:22:14 +02:00 |
|
The3D
|
d833157cf4
|
Updated flashloans to transferFrom the receiver instead of checking that the funds where sent back
|
2020-08-23 18:38:34 +02:00 |
|
David Racero
|
fdb64abfda
|
Added missing helper
|
2020-08-21 17:34:43 +02:00 |
|
David Racero
|
f9fddfba59
|
Fix conflicts
|
2020-08-21 17:19:25 +02:00 |
|
David Racero
|
82ee09caef
|
Added initialize task
|
2020-08-21 13:07:32 +02:00 |
|
David Racero
|
54d9e3a7ee
|
Added missing stash work
|
2020-08-20 17:38:57 +02:00 |
|
David Racero
|
383f7fc3bb
|
WIP: Added dev-deployment scripts. Moved some helpers and mocks outside of test setup.
|
2020-08-20 17:35:05 +02:00 |
|
andyk
|
1a2bfcbf45
|
remove FeeProvider setters and getters
|
2020-08-19 19:06:32 +03:00 |
|
andyk
|
d60f7b6272
|
removal of TokenDistributor, FeeProvider and FlashLoanVars
|
2020-08-19 18:56:51 +03:00 |
|
andyk
|
d141d090e4
|
migrate to ethers v5
|
2020-08-19 15:23:41 +03:00 |
|
emilio
|
7b51fde8e7
|
Added tests for debt tokens upgradeability
|
2020-08-18 12:16:48 +02:00 |
|
emilio
|
3247fb8784
|
Added mock debt tokens for test
|
2020-08-18 11:39:34 +02:00 |
|
emilio
|
674b885b31
|
Updated initReserve() with proxies
|
2020-08-17 21:28:50 +02:00 |
|
emilio
|
3c3e4d146a
|
First refactor of the tests; replaced ETH with WETH in the configuration
|
2020-08-13 13:06:23 +02:00 |
|
emilio
|
413b648b41
|
implementation
|
2020-08-11 09:36:46 +02:00 |
|
The3D
|
b387bcf845
|
Added upgradeability tests
|
2020-08-10 20:20:08 +02:00 |
|
emilio
|
49bca9febb
|
Optimized aToken - turned pool and underlying asset address into immutables
|
2020-08-08 19:21:23 +02:00 |
|
emilio
|
50bb9d39b0
|
Merge branch 'master' into feat/10
|
2020-08-07 19:32:34 +02:00 |
|
emilio
|
cf3f68653f
|
Updated setup script
|
2020-08-07 19:29:13 +02:00 |
|
emilio
|
f9115b7030
|
refactored UserLogic
|
2020-08-06 09:52:15 +02:00 |
|
emilio
|
8df5182c59
|
Fixed bugs in user configuration
|
2020-08-06 00:46:22 +02:00 |
|
The3D
|
692cc87f62
|
Updated PercentageMath to support two decimals of precision
|
2020-07-27 16:14:21 +02:00 |
|
andyk
|
89ad335912
|
pretty print
|
2020-07-13 11:54:08 +03:00 |
|
emilio
|
a3326fc86d
|
Updated LendingPool to add a method to retrieve debt tokens
|
2020-07-09 16:27:19 +02:00 |
|
emilio
|
8f86b44076
|
Removed CoreLibrary
|
2020-07-09 00:16:05 +02:00 |
|
andyk
|
7690b22e8e
|
repo cleanup -1
|
2020-07-03 12:15:30 +03:00 |
|
The3D
|
a784e42b78
|
Initial commit
|
2020-06-30 14:09:28 +02:00 |
|
The3D
|
abc0d3edb6
|
Fixed tests
|
2020-06-27 04:13:32 +02:00 |
|
The3D
|
51fee50e50
|
Fixed setup
|
2020-06-26 14:34:44 +02:00 |
|
The3D
|
9a92cb08f7
|
Fixed validation logic artifact
|
2020-06-26 00:39:28 +02:00 |
|
The3D
|
02d943b235
|
Refactoring migration
|
2020-06-21 01:40:03 +02:00 |
|
andyk
|
d1f21118c1
|
initial refactoring of liquidation-atoken.spec
|
2020-06-18 17:36:37 +03:00 |
|
eboado
|
595d169f5d
|
- Migrated all the scenarios tests, except for borrow-repay-variable
|
2020-06-13 11:12:49 +02:00 |
|
eboado
|
ef3e5b2cbb
|
- Finished migration of basic structure of scenarios and deposit story.
|
2020-06-12 22:12:53 +02:00 |
|
eboado
|
0b17abc6eb
|
- Finished migration of flashloan.spec.ts.
- Fixed issue with buidlerevm snapshotting.
|
2020-06-12 15:41:52 +02:00 |
|
eboado
|
99cbb5f0a4
|
- Fixed typo on configurator.spec test name.
- Unified error messages for tests on types.ts.
- Finished migration of core-modifiers.spec.ts.
|
2020-06-12 10:39:42 +02:00 |
|
eboado
|
070b46552a
|
- Finished migration o atoken-transfer tests.
|
2020-06-10 13:46:42 +02:00 |
|
eboado
|
466fa2cafc
|
- Changed ganache version
|
2020-06-10 12:31:08 +02:00 |
|
eboado
|
84466f11b5
|
- Added ganache as buidler network option
|
2020-06-10 10:31:33 +02:00 |
|
eboado
|
2379fe7ae7
|
- Temporary removed nonReentrant from LendingPool, until this fix on ReentrancyGuard is released to prod https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2171.
|
2020-06-09 16:36:33 +02:00 |
|
eboado
|
18e19b4f84
|
- Added getAllReservesTokens for AaveProtocolTestHelpers.
|
2020-06-09 11:11:19 +02:00 |
|
eboado
|
0453a49f8f
|
- Fixed issue on AaveProtocolTestHelpers.
- Migrated atoken-modifiers tests.
|
2020-06-08 21:06:26 +02:00 |
|
eboado
|
21e6697eda
|
- Added AaveProtocolTestHelpers
|
2020-06-08 17:36:40 +02:00 |
|
eboado
|
82de55fdbf
|
- Added mocha __setup script with snapshotting
|
2020-06-08 14:03:40 +02:00 |
|
eboado
|
03a6249875
|
- Ported LendingPoolAddressesProvider test.
|
2020-06-03 12:44:10 +02:00 |
|
eboado
|
0ca8e30fb2
|
Initial commit
|
2020-05-29 16:55:31 +02:00 |
|