David Racero
|
9317df9252
|
Added boilerplate deployment, getters and tests.
|
2020-10-28 18:06:24 +01:00 |
|
David Racero
|
0d87292867
|
Fix merge conflicts. Fix ETH to WETH symbol change
|
2020-10-28 15:49:50 +01:00 |
|
eboado
|
6be8b1c5fd
|
- Added validations on ReserveConfiguration's numeric setters.
|
2020-10-28 10:54:09 +01:00 |
|
David Truong
|
8e64702013
|
Merge branch 'master' into 'feat/74'
# Conflicts:
# deployed-contracts.json
|
2020-10-27 13:54:18 +00:00 |
|
Ernesto Boado
|
c34a22e79f
|
Merge branch 'feat/70-basic-flow-task' into 'master'
Feat/70 basic flow task
See merge request aave-tech/protocol-v2!83
|
2020-10-27 13:00:32 +00:00 |
|
David Truong
|
a517d5d11d
|
- implement test for onBehalfOf flashloan borrow debt
|
2020-10-27 13:10:10 +01:00 |
|
The-3D
|
b1fdd59c39
|
Merge branch 'feat/86-linear-interest-optimization' into 'master'
Fixes #86
Closes #86
See merge request aave-tech/protocol-v2!93
|
2020-10-27 12:02:32 +00:00 |
|
eboado
|
e88d9dc81b
|
- Optimized calculateLinearInterest() on MathUtils.
|
2020-10-27 12:44:30 +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 |
|
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
|
e17f2ec814
|
Added collateral enable and stable migration optimization.
|
2020-10-26 17:43:10 +01:00 |
|
The-3D
|
85168f8ea7
|
Merge branch 'fix/78' into 'master'
Resolve "Extend flashloans to allow flashborrowing of multiple currencies"
Closes #78
See merge request aave-tech/protocol-v2!87
|
2020-10-26 13:14:42 +00:00 |
|
David Truong
|
d2b52ced8f
|
Merge commit 'ea66bf317030bd8e4caf9fdfe5b3933adc187fcc' into feat/74
|
2020-10-26 13:29:59 +01:00 |
|
David Truong
|
24d5c4766f
|
[WIP] Adding onBehalfOf to flashloan
|
2020-10-26 13:27:31 +01:00 |
|
David Racero
|
95b94e46e2
|
Merge master
|
2020-10-26 10:41:24 +01:00 |
|
David Racero
|
e6be323e51
|
Remove unneeded factory
|
2020-10-23 18:41:52 +02:00 |
|
The3D
|
6398fe4260
|
Fix comments, tests
|
2020-10-23 18:41:08 +02:00 |
|
David Racero
|
1c7ce57b2b
|
Aggregated deployments for initialization, atokens and debtTokens
|
2020-10-23 18:38:27 +02:00 |
|
pol
|
59ccd2aac3
|
mock swap addapter removed from everywhere
|
2020-10-23 16:56:30 +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 |
|
The3D
|
a2e2450bb3
|
Finalized implementation, fixed tests
|
2020-10-22 20:37:50 +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
|
fd61ab9018
|
Merge master
|
2020-10-22 18:17:24 +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 |
|
The3D
|
b7efa920ca
|
Remove swapLiquidity/repayWithCollateral
|
2020-10-22 11:50:04 +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
|
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 |
|