andyk
|
1b61edc6ff
|
add tests on liquiditySwap validation logic
|
2020-09-16 11:10:25 +03:00 |
|
andyk
|
214c51f365
|
disallow liquiditySwap with freezed reserve as to
|
2020-09-16 10:22:46 +03:00 |
|
Ernesto Boado
|
6177af3a70
|
Merge branch 'feat/pausable' into 'master'
Resolve "Add `pause` boolean affecting all actions on the LendingPool and aToken"
Closes #37
See merge request aave-tech/protocol-v2!44
|
2020-09-15 13:46:53 +00:00 |
|
eboado
|
aef8e68ce0
|
- Changed _paused visibility and added getter.
|
2020-09-15 15:46:19 +02:00 |
|
David Racero
|
89ca48e0b2
|
Merge branch 'master' into 'feat/pausable'
# Conflicts:
# contracts/tokenization/AToken.sol
|
2020-09-15 13:27:21 +00:00 |
|
Ernesto Boado
|
c64c4b732b
|
Merge branch 'fix/39' into 'master'
Resolve "Fix events on the debt side"
Closes #39
See merge request aave-tech/protocol-v2!48
|
2020-09-15 13:21:32 +00:00 |
|
The3D
|
3c3a01b80f
|
Updated events on debt tokens
|
2020-09-15 15:20:32 +02:00 |
|
Ernesto Boado
|
191f65c7f0
|
Merge branch 'feat/modifier-to-function' into 'master'
Change modifier to function to save code size
See merge request aave-tech/protocol-v2!47
|
2020-09-15 12:53:28 +00:00 |
|
Ernesto Boado
|
0beed34b66
|
Merge branch 'fix/38' into 'master'
Resolve "Fix events on AToken"
Closes #38
See merge request aave-tech/protocol-v2!46
|
2020-09-15 12:51:20 +00:00 |
|
The3D
|
b963afb0fb
|
Updated AToken, ERC20
|
2020-09-15 14:36:02 +02:00 |
|
David Racero
|
0150ba70e7
|
Merge feat/modifier-to-function fixes
|
2020-09-15 14:35:50 +02:00 |
|
David Racero
|
88ac98ab76
|
Fixes package-lock ci mistmatch. Fixes buidler config to prevent load types prior compilation.
|
2020-09-15 14:30:45 +02:00 |
|
David Racero
|
bfc46daadd
|
Change modifier to function to save code size
|
2020-09-15 14:25:00 +02:00 |
|
David Racero
|
38bec0b8de
|
Save some extra codesize.
|
2020-09-15 14:21:17 +02:00 |
|
David Racero
|
80d09848b3
|
Prevent buidler.config.ts to load constants and not depend from types, to allow clean repository to compile and generate types.
|
2020-09-15 13:25:27 +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
|
41978a9ee5
|
Fix ci package lock
|
2020-09-15 12:44:59 +02:00 |
|
David Racero
|
83bf3e5677
|
Trim PausablePool into LendingPool to save code size.
|
2020-09-15 11:56:08 +02:00 |
|
David Racero
|
eea47aedde
|
Minimize Pausable contract
|
2020-09-15 11:03:04 +02:00 |
|
David Racero
|
6842978706
|
Merge and fix conflicts
|
2020-09-15 10:57:04 +02:00 |
|
The-3D
|
227c0b4962
|
Merge branch '30-collateral-swap' into 'master'
Resolve "Collateral swap"
Closes #30
See merge request aave-tech/protocol-v2!38
|
2020-09-15 08:51:34 +00:00 |
|
eboado
|
0c94b24700
|
- Fixed description on swapLiquidity().
|
2020-09-15 10:43:22 +02:00 |
|
eboado
|
59996e1ece
|
- Refactor validation of swapLiquidity() to ValidationLogic.
- Added extra check on active reserves on swapLiquidity().
|
2020-09-15 10:28:39 +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 |
|
andyk
|
65775ca3bf
|
update collateralSwap signature in the delegate call
|
2020-09-15 09:46:24 +03:00 |
|
The-3D
|
155d249abf
|
Merge branch 'fix/35-isActive-liquidations' into 'master'
Fixes #35
Closes #35
See merge request aave-tech/protocol-v2!43
|
2020-09-14 19:34:24 +00: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 |
|
David Racero
|
59bfdc39f2
|
Fix conflicts
|
2020-09-14 19:59:00 +02:00 |
|
David Racero
|
4ec61ee993
|
When transfer, check pause at pool to save one external call.
|
2020-09-14 19:46:27 +02:00 |
|
The-3D
|
80da6f2e7a
|
Merge branch 'feat/36-permit-atoken' into 'master'
Feat/36 permit atoken
See merge request aave-tech/protocol-v2!45
|
2020-09-14 15:30:44 +00:00 |
|
eboado
|
0d36eab807
|
Merge branch 'master' into feat/36-permit-atoken
|
2020-09-14 17:27:12 +02:00 |
|
eboado
|
721dc1c832
|
- Fixed comment on permit().
|
2020-09-14 17:27:08 +02:00 |
|
Ernesto Boado
|
fce0baffd5
|
Merge branch '33-add-native-credit-delegation' into 'master'
Resolve "Add native credit delegation"
Closes #33
See merge request aave-tech/protocol-v2!40
|
2020-09-14 15:25:52 +00: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 |
|
andyk
|
9d757aaa37
|
fix docustring
|
2020-09-14 17:57:59 +03: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 |
|
David Racero
|
98ed475000
|
Remove Context and account from PausablePool events.
|
2020-09-14 15:59:11 +02:00 |
|
eboado
|
748312cf20
|
- Added permit() to aToken.
|
2020-09-14 15:57:11 +02:00 |
|
David Racero
|
775d003cc0
|
Keep standard paused() name function.
|
2020-09-14 15:33:24 +02:00 |
|
David Racero
|
6e0091a668
|
Added PausablePool contract to support errors by number.
|
2020-09-14 15:24:30 +02:00 |
|
andyk
|
7c67e0221c
|
extra comment
|
2020-09-14 16:16:54 +03:00 |
|
David Racero
|
202ddbdec4
|
Moved all pausable tests into their own Pausable test suite
|
2020-09-14 15:02:48 +02:00 |
|
andyk
|
35bff4bea2
|
add comment for getDebtTokenAddress function
|
2020-09-14 15:50:46 +03: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 |
|