David Racero
|
60c93a4d73
|
Remove debug console.logs
|
2020-10-16 12:07:35 +02:00 |
|
David Racero
|
628f0de639
|
Merge branch 'feat/66' into 67-use-factory-functions
|
2020-10-16 11:50:51 +02:00 |
|
David Racero
|
e0627ce66b
|
Added correct library placheholder hashes. Fix imports.
|
2020-10-16 11:27:09 +02:00 |
|
David Racero
|
03504849f1
|
Deployment function optimizations WIP
|
2020-10-15 19:19:02 +02:00 |
|
The3D
|
b4f8592775
|
Fixed #69
|
2020-10-15 17:57:54 +02:00 |
|
The3D
|
e4dc67ec7a
|
Updated test error messages
|
2020-10-15 17:20:22 +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
|
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
|
aea61d57ab
|
Fixed tests code
|
2020-10-12 20:07:17 +02:00 |
|
The3D
|
53d6114775
|
Merge branch 'master' into feat/18
|
2020-10-12 15:19:27 +02:00 |
|
The-3D
|
fc9b096f23
|
Merge branch 'fix/60-flashloan-attack' into 'master'
Fixes #60
Closes #60
See merge request aave-tech/protocol-v2!68
|
2020-10-12 13:11:38 +00: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 |
|
The3D
|
f3852d7081
|
Updated test on liquidation bonus
|
2020-10-06 11:36:29 +02:00 |
|
The3D
|
b88bdc8c2c
|
updated test on liquidation threshold, reserve factor
|
2020-10-06 11:34:50 +02:00 |
|
The3D
|
d77e5ce5be
|
Added test on disable stable borrow rate
|
2020-10-06 11:30:10 +02:00 |
|
The3D
|
b30ccd6dd2
|
Added test on disable stable borrow rate
|
2020-10-06 11:28:46 +02:00 |
|
The3D
|
35db5833fa
|
Added test on disable stable borrow rate
|
2020-10-06 11:27:53 +02:00 |
|
The3D
|
3fd4003aa0
|
Added test on deactivate as collateral
|
2020-10-06 11:20:45 +02:00 |
|
The3D
|
450cdfa95c
|
Updated tests on enableBorrowingOnReserve
|
2020-10-06 11:03:51 +02:00 |
|
The3D
|
bad45772c1
|
Updated tests on unfreeze
|
2020-10-06 11:02:34 +02:00 |
|
The3D
|
4d991e6709
|
Updated tests on freeze, borrowingEnabled
|
2020-10-06 10:59:33 +02:00 |
|
eboado
|
3343769510
|
- Added setter tests for setAddress() on LendingPoolAddressesProvider
|
2020-09-29 17:00:51 +02:00 |
|
eboado
|
099532ee48
|
- Added general setter and getter of address to LendingPoolAddressesProvider.
- Adapted style of LendingPoolAddressesProviderRegistry, adding public getter function in the process.
|
2020-09-29 16:31:21 +02:00 |
|
The3D
|
948bd960be
|
Initial commit
|
2020-09-28 19:33:39 +02:00 |
|
The3D
|
6d1fede2c9
|
Removed selected scenario from the scenario file
|
2020-09-25 13:48:42 +02:00 |
|
The3D
|
f0191909a2
|
Added more setUseReserveAsCollateral() scenarios tests
|
2020-09-25 11:51:35 +02:00 |
|
The3D
|
35044941b0
|
Fix test related to the LTV change
|
2020-09-25 11:20:12 +02:00 |
|
David Racero
|
ffc81df4ee
|
Fix conflicts and renamings
|
2020-09-24 17:48:29 +02:00 |
|
The3D
|
7be723c773
|
Adds 100% test coverage to the addressesProviderRegistry
|
2020-09-23 17:59:43 +02:00 |
|
The3D
|
7c892ec4ba
|
added test on removal of an addresses provider
|
2020-09-23 12:34:53 +02:00 |
|
The3D
|
2a5547570c
|
Adds another addresses provider test
|
2020-09-23 11:25:35 +02:00 |
|
The3D
|
06d16c6abf
|
Added initial test for the registry
|
2020-09-23 11:21:49 +02:00 |
|
The3D
|
12f1dbd0dc
|
Readded calculateAvailableBorrowsETH
|
2020-09-21 22:08:44 +02:00 |
|
The3D
|
2e30bb8b85
|
Fixed error on rebalance conditions, changed style of internal functions
|
2020-09-21 21:15:12 +02:00 |
|
The3D
|
75579e5d28
|
Merge branch 'master' into fix/45
|
2020-09-21 20:19:28 +02:00 |
|
The3D
|
07db321b4d
|
updated rebalance conditions,tests
|
2020-09-21 19:52:22 +02:00 |
|
The3D
|
8ed9b88163
|
fixed last tests on repayWithCollateral
|
2020-09-21 16:07:26 +02:00 |
|
The3D
|
56be9304c2
|
Fixed rebalance rate tests
|
2020-09-21 15:52:53 +02:00 |
|
The3D
|
6f9ff11e49
|
Fixed credit delegation tests
|
2020-09-21 15:35:22 +02:00 |
|
The3D
|
a1a45d392a
|
Updating rebalance rate tests
|
2020-09-21 15:27:53 +02:00 |
|
The3D
|
8792515f5b
|
fixed swap rate mode tests
|
2020-09-21 14:29:59 +02:00 |
|
The3D
|
c8b044aecf
|
Fixed borrow tests
|
2020-09-21 12:29:33 +02:00 |
|
The3D
|
52033bae21
|
Added console logs
|
2020-09-18 18:03:38 +02:00 |
|
The3D
|
5868a4844f
|
Updated testsW
|
2020-09-18 17:56:33 +02:00 |
|
The3D
|
13f6c264b3
|
Partially fixed repay tests
|
2020-09-17 19:05:22 +02:00 |
|
The3D
|
72e2102529
|
removed other console.log
|
2020-09-17 16:40:23 +02:00 |
|
The3D
|
6df8a7a6e0
|
Removed console.log
|
2020-09-17 16:38:15 +02:00 |
|
The3D
|
bfe0657b1a
|
Updated code to fix deposit and withdraw tests
|
2020-09-17 16:37:51 +02:00 |
|
The3D
|
e4890a14c2
|
Merge branch 'master' into fix/34
|
2020-09-17 11:55:38 +02:00 |
|
The3D
|
5b38bb144b
|
Updated borrow calculations on scenarios
|
2020-09-17 11:52:10 +02:00 |
|
The3D
|
7986a4704b
|
Fixed mintToTreasury function
|
2020-09-17 10:53:55 +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
|
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
|
83e0318bc6
|
add logic to set usageAsCollateralEnabled for the user if his balance was 0 before swap
|
2020-09-16 13:30:57 +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
|
1a7933762f
|
fix Upgradeability tests setup
|
2020-09-15 17:13:29 +03: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
|
38bec0b8de
|
Save some extra codesize.
|
2020-09-15 14:21:17 +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 |
|
David Racero
|
83bf3e5677
|
Trim PausablePool into LendingPool to save code size.
|
2020-09-15 11:56:08 +02:00 |
|
David Racero
|
6842978706
|
Merge and fix conflicts
|
2020-09-15 10:57:04 +02:00 |
|
eboado
|
8d391b9ab5
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-15 09:56:41 +02:00 |
|
eboado
|
172cb05b64
|
- Renamed collateralSwap() to swapDeposit().
- Added docs to sw
|
2020-09-15 09:51:23 +02:00 |
|
The3D
|
f428f69ebd
|
Merge branch 'master' into fix/34
|
2020-09-15 09:34:00 +02:00 |
|
andyk
|
65775ca3bf
|
update collateralSwap signature in the delegate call
|
2020-09-15 09:46:24 +03:00 |
|
eboado
|
fb15afda8e
|
Merge branch 'master' into fix/35-isActive-liquidations
|
2020-09-14 21:31:22 +02:00 |
|
eboado
|
c4904bc41c
|
Merge branch 'master' into 30-collateral-swap
|
2020-09-14 21:06:16 +02:00 |
|
The3D
|
d0d1db5e4d
|
Initial fix of the borrow tests
|
2020-09-14 20:04:49 +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 |
|
eboado
|
0d36eab807
|
Merge branch 'master' into feat/36-permit-atoken
|
2020-09-14 17:27:12 +02:00 |
|
eboado
|
a87dae445f
|
Merge branch 'master' into 33-add-native-credit-delegation
|
2020-09-14 17:24:55 +02:00 |
|
eboado
|
6d96be5f42
|
- Added extra natspecs
|
2020-09-14 17:18: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 |
|
The3D
|
b2ec4dd2fa
|
Renamed totalBorrowsStable, totalBorrowsVariable
|
2020-09-14 15:13:30 +02:00 |
|
The3D
|
bb4e1b5c4b
|
Fixed errors
|
2020-09-14 15:09:16 +02:00 |
|
David Racero
|
202ddbdec4
|
Moved all pausable tests into their own Pausable test suite
|
2020-09-14 15:02:48 +02:00 |
|
andyk
|
d135c25b39
|
add borrowRateMode check on credit delegation
|
2020-09-14 15:41:44 +03:00 |
|
David Racero
|
b8a7237458
|
Remove whenNotPaused modifier for configurator functions. Added more test cases.
|
2020-09-14 14:36:12 +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 |
|
andyk
|
c0c3133763
|
makecredit delegation per debt token
|
2020-09-14 13:52:05 +03: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 |
|
eboado
|
0911f907a8
|
Fixes #35
|
2020-09-13 10:08:14 +02:00 |
|
The3D
|
0d9a18813f
|
Added optimization on mint and burn
|
2020-09-12 13:18:17 +02:00 |
|
The3D
|
7383fc9786
|
Merge branch 'master' into fix/29
|
2020-09-11 16:47:47 +02:00 |
|
eboado
|
f355ae219f
|
Merge branch 'master' into 33-add-native-credit-delegation
|
2020-09-11 11:25:42 +02:00 |
|
eboado
|
d3f9cd2191
|
Merge branch 'master' into 32-deposit-on-behalf-of
|
2020-09-10 21:40:26 +02:00 |
|
The3D
|
73d7ca001c
|
added configurator tests
|
2020-09-10 13:52:07 +02:00 |
|
David Racero
|
831bc3d0eb
|
Added tests to check repay with collateral when is disabled
|
2020-09-10 13:05:26 +02:00 |
|
The3D
|
de8ae523c8
|
Fixed total supply, tests
|
2020-09-10 13:05:02 +02:00 |
|
andyk
|
1d2617a4ce
|
fix usageAsCollateral test
|
2020-09-10 13:31:43 +03: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 |
|
The3D
|
a67c56c09f
|
Removed interest redirection, fixed tests
|
2020-09-09 21:16:39 +02:00 |
|
eboado
|
4b3abac526
|
Merge branch 'master' into feat/26-repay-collateral
|
2020-09-09 21:12:36 +02:00 |
|
The3D
|
a3934152fe
|
updated interest redirection
|
2020-09-09 19:43:41 +02:00 |
|
The3D
|
0f06c3b72e
|
updated interest redirection tests
|
2020-09-09 17:20:36 +02:00 |
|
David Racero
|
23b7226a73
|
Fix bignumber global test config
|
2020-09-09 16:35:49 +02:00 |
|
David Racero
|
398335124f
|
Added collateral test to flash liquidation
|
2020-09-09 15:43:02 +02:00 |
|
David Racero
|
2b930e4cd7
|
Merge branch 'feat/26-repay-collateral' of gitlab.com:aave-tech/protocol-v2 into feat/26-repay-collateral
|
2020-09-09 14:47:56 +02:00 |
|
David Racero
|
f1bd569346
|
Added reentrancy test and full amount flash liquidation test
|
2020-09-09 14:47:33 +02:00 |
|
andyk
|
3173bee782
|
initial implementation of the credit delegation + basic tests
|
2020-09-09 15:33:05 +03:00 |
|
eboado
|
75c5c7c615
|
- Added test for user's usage as collateral on repayWithCollateral().
|
2020-09-09 14:22:35 +02:00 |
|
The3D
|
223690f5f1
|
Fixed test on transfer, updated interest redirection tests
|
2020-09-09 14:15:38 +02:00 |
|
eboado
|
91e064eb31
|
Merge branch 'feat/26-repay-collateral' of gitlab.com:aave-tech/protocol-v2 into feat/26-repay-collateral
|
2020-09-09 13:07:10 +02:00 |
|
eboado
|
37a9c7ad88
|
- Added reentrancy guard on repayWithCollateral() and test.
|
2020-09-09 13:06:46 +02:00 |
|
andyk
|
9d7bf388a6
|
initial changes + test
|
2020-09-09 13:47:27 +03:00 |
|
The3D
|
b0084aaf33
|
Fixes borrow, repay, swap rate mode, rebalance tests
|
2020-09-09 11:43:11 +02:00 |
|
andyk
|
77ca4b47f8
|
add failing test for setUsingAsCollateral
|
2020-09-09 12:36:13 +03:00 |
|
The3D
|
6454f040e8
|
Fixed withdrawal tests
|
2020-09-09 10:44:34 +02:00 |
|
The3D
|
90de5d2b0f
|
Fixed transfer tests
|
2020-09-09 10:03:19 +02:00 |
|
David Racero
|
863d888be6
|
Added flash-liquidation tests, mimics self-liquidation tests
|
2020-09-08 20:06:28 +02:00 |
|
eboado
|
56ddeceb94
|
- Added extra test of repayWithCollateral() on self-liquidation.
|
2020-09-08 16:25:16 +02:00 |
|
The3D
|
2e8f6ee02c
|
Updating withdrawal tests
|
2020-09-08 16:14:32 +02:00 |
|
eboado
|
3aa0dbc570
|
- Added tests of repayWithCollateral(), only for self-liquidation.
|
2020-09-08 15:05:53 +02:00 |
|
The3D
|
e3c422468d
|
Updated comment
|
2020-09-08 13:48:33 +02:00 |
|
The3D
|
03767e003f
|
Fixes deposits tests
|
2020-09-08 13:45:24 +02:00 |
|
andyk
|
4912f3bb73
|
update tests calculation logic on swap
|
2020-09-08 13:08:16 +03:00 |
|
andyk
|
aaab81bc15
|
add hf related test
|
2020-09-07 16:59:41 +03: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 |
|
The3D
|
9aad57978d
|
Merged master
|
2020-09-04 10:27:32 +02:00 |
|
David Racero
|
e2bc6fbc73
|
Fix tests missing param
|
2020-09-03 16:24:27 +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
|
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
|
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
|
957f4921d6
|
Moved type outside of types due missing types prior compilation
|
2020-08-24 10:29:54 +02:00 |
|
The3D
|
dfe865fc76
|
Removed unused code in tests
|
2020-08-24 01:46:15 +02:00 |
|
The3D
|
b2d8a9e053
|
Removed ETH specific logic in tests
|
2020-08-24 01:41:10 +02:00 |
|
The3D
|
4d054dd56d
|
Optimized MathUtils, ReserveLogic
|
2020-08-22 13:01:41 +02:00 |
|