Commit Graph

855 Commits

Author SHA1 Message Date
miguelmtzinf
b533f961d2 fix: Update fork-tests for ARC market 2021-11-03 13:49:40 +01:00
The3D
1ff6665aea Merge branch 'master' into feat/permissioned-market 2021-10-18 23:45:55 +02:00
sendra
59ed739172 added underlying symbol 2021-10-05 10:11:15 +02:00
kartojal
02016dcb0f fix: remove comments and indentation 2021-10-04 19:21:45 +02:00
sendra
de2e710ecb feat: new getter 2021-10-04 19:11:19 +02:00
kartojal
c49bac2d93 fix: missing commas at UiPoolDataProvider.sol 2021-10-04 19:11:10 +02:00
sendra
de1ab95318 fix: fixed order 2021-10-04 19:06:56 +02:00
kartojal
dab9f72a42 Merge branch 'fix/wrong-controller-order' of github.com:aave/protocol-v2 into feat/188-avalanche-market 2021-10-04 18:56:57 +02:00
sendra
d33b3c55a1 fix: fixed incentive controller order 2021-10-04 18:54:01 +02:00
kartojal
9c4fef510f Merge branch 'feat/avalanche-fix-uiprovider' of github.com:aave/protocol-v2 into feat/188-avalanche-market 2021-10-04 18:06:46 +02:00
sendra
4dea9b369a feat: fixed underlying symbol for avalanche 2021-10-04 17:46:54 +02:00
David Racero
dc65b0b62e
Merge branch 'master' into feat/188-avalanche-market 2021-09-20 11:04:24 +02:00
emilio
303600a526 fix: added return values to seize() 2021-09-01 17:34:25 +02:00
emilio
7a2eece3ad fix: updated condition on isPermissionAdminOf 2021-09-01 17:24:08 +02:00
Ernesto Boado
ccb43f026f
Merge pull request #55 from paraswap/paraswap
ParaSwap adapter for collateral swaps
2021-09-01 14:37:45 +02:00
karotjal
b27092bacc Merge branch 'feat/split-ui-dataprovider-logic' of github.com:aave/protocol-v2 into feat/188-avalanche-market 2021-08-24 11:42:20 +02:00
The3D
261bf737ea refactor: refactored modifiers 2021-08-04 13:49:09 +02:00
andyk
025a988a13 add poligon related temp hacks 2021-07-26 18:06:36 +02:00
David Racero
0e7bc49a37 feat: Replace AaveOracle to the latest version. Fix dev deployment scripts. 2021-07-20 16:41:38 +02:00
David Racero
95e9c3588c feat: support custom quote currencies. Added base scripts for custom atokens and rates. 2021-07-16 12:21:44 +02:00
andyk
d51ac1d6fe temp fix for UIPoolDataProvider on polygon 2021-07-14 15:56:41 +02:00
The3D
7ebd95e22e feat: implemented the seize function 2021-06-30 13:12:14 +02:00
The3D
b3f7c1e883 fix: fixed permission on repay 2021-06-30 09:48:58 +02:00
The3D
a5b3e0f122 docs: fixed comments for isUserPermissionAdminValid 2021-06-25 14:06:10 +02:00
The3D
24570c90c9 feat: added check on the permission admin validity on the borrow/deposit/liquidate actions 2021-06-25 14:04:19 +02:00
The3D
6d30477950 feat:store permissionAdmin per user 2021-06-25 11:10:01 +02:00
The3D
469fde27c5 Merge branch 'master' into feat/permissioned-market 2021-06-25 09:09:03 +02:00
andyk
7849be11f5 fix params order in getAssetData 2021-06-17 17:01:19 +03:00
andyk
12896ff412 add more functions to the UI data provider 2021-06-17 16:53:59 +03:00
sendra
5f34943922 fix incentives order 2021-06-16 12:47:12 +02:00
Jason Raymond Bell
258a9be607 Merge branch 'master' into paraswap 2021-06-15 16:52:42 +01:00
sendra
59e5bf418c updated comments 2021-06-14 11:45:56 +02:00
sendra
191e5b4319 case for when there is no user 2021-06-08 15:27:57 +02:00
sendra
07ea0e6434 pulled from master, and solved conflicts 2021-06-07 13:45:34 +02:00
sendra
6319733e82 added 0 address check in case we dont have incentives controller 2021-06-07 13:39:34 +02:00
Jason Raymond Bell
4fe36c8fa4 Introduce registry of valid Augustus addresses
Set in constructor of BaseParaSwapSellAdapter and validates before swap.
Created mock registry that only validates one address.
Changed the test fixtures to accomodate registry and added two new tests.
Updated deployment script.
Registry address left as a placeholder in package.json since not known yet.

Fixes MixBytes Warning 1.
2021-05-20 23:25:51 +01:00
The3D
f228a5d16a feat: changed behavior for the validation of depositors and borrowers in deposit() and repay() 2021-05-20 18:48:30 +02:00
Jason Raymond Bell
9d1cb50d76 Add reentrancy guard to adapter
Fixes MixBytes Warning 2.
2021-05-20 17:36:41 +01:00
Jason Raymond Bell
d8b8d50de8 Use better types than address
Fixes ABDK CVF-6, CVF-7, CVF-16, CVF-17, CVF-31 and CVF-32.
2021-05-20 16:50:20 +01:00
The3D
f2e8c2337d feat: adjusted lendingpool permissions 2021-05-20 17:08:33 +02:00
Jason Raymond Bell
bf7b19a181 Add comments to empty constructor bodies
Fixes ABDK CVF-4 and CVF-15.
2021-05-20 15:41:59 +01:00
Jason Raymond Bell
38bec942da Check lengths of all the arrays
Fixes ABDK CVF-5.
2021-05-20 15:00:22 +01:00
Jason Raymond Bell
afeb5fb996 Remove _usePermit function
Just use a simple check if deadline is set or not.

Fixes ABDK CVF-34 and CVF-35.
2021-05-20 14:47:10 +01:00
Jason Raymond Bell
5b45be6a44 Don't ignore return value of withdraw
Fixes MixBytes Warning 4.
2021-05-20 14:38:24 +01:00
Jason Raymond Bell
d26b1beb68 Fix _getDecimals function
Added a limit on number of decimals and changed return type to uint8.

Fixes MixBytes Warning 5 and ABDK CVF-30.
2021-05-20 14:14:51 +01:00
Jason Raymond Bell
11d0367d3c Explain code to overwrite fromAmount in comment
Fixes MixBytes Comment 1.
2021-05-20 14:00:34 +01:00
Jason Raymond Bell
b13a01d8b8 Rename _pullAToken function
Fixes MixBytes Comment 4.
2021-05-20 13:45:50 +01:00
Jason Raymond Bell
fe05ceccd6 Use safeTransfer for rescueTokens
Fixes MixBytes Warning 3.
2021-05-20 13:40:55 +01:00
The3D
088d2733cf feat: added isInAnyRole, isInAllRoles 2021-05-20 11:38:22 +02:00
The3D
f9a0c172dd Merge branch 'master' into feat/permissioned-market 2021-05-17 16:08:43 +02:00