Commit Graph

182 Commits

Author SHA1 Message Date
The3D
1ff6665aea Merge branch 'master' into feat/permissioned-market 2021-10-18 23:45:55 +02:00
David Racero
dc65b0b62e
Merge branch 'master' into feat/188-avalanche-market 2021-09-20 11:04:24 +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
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
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
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
07ea0e6434 pulled from master, and solved conflicts 2021-06-07 13:45: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
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
sendra
701c0793ce fix: merged with master 2021-04-26 12:51:04 +02:00
The3D
3542b88202 feat: added permissioned market implementation to the public repo 2021-04-23 20:30:07 +02:00
The3D
6230f2b034 Merge branch 'master' into protocol-2.5 2021-04-23 18:59:12 +02:00
David Racero
2a19131b7a feat: Updated to new interface of Incentives Controller 2021-04-21 18:00:00 +02:00
sendra
8000d838a3 Updated to new asset struct interface 2021-04-21 17:45:19 +02:00
sendra
21fc210901 fix: updated interface to last version 2021-04-19 17:17:30 +02:00
sendra
5e5962372e feature: added emission end timestamp. Return struct instead, to save on stack space 2021-04-16 17:48:19 +02:00
Hadrien Charlanes
2ae2680834 Added permit to IAToken interface 2021-04-02 09:24:27 +02:00
sendra
e81ddb4e2f Added incentives information to UI data provider contract 2021-03-29 17:10:35 +02:00
sendra
f9cf541be1 Added incentives data to ui helper 2021-03-23 18:52:51 +01:00
Jason Raymond Bell
bf635b6d50 Merge branch 'master' into paraswap 2021-03-18 16:46:02 +00:00
Jason Raymond Bell
242826ded6 ParaSwap adapter for collateral swaps
Complete with unit tests (using a mock AugustusSwapper contract).

Has similar functionality/tests as for existing Uniswap adapter.

Fixed a couple bugs in tests for Uniswap adapters.
2021-03-18 15:44:52 +00:00
Pierrick Turelier
b7aed31f79
feat(IAToken): add UNDERLYING_ASSET_ADDRESS function 2021-03-15 21:42:33 +01:00
The3D
7f44a0c242 Removed unused param in struct 2021-03-05 10:36:55 +01:00
The3D
03dc5370ee Added initialized events 2021-03-01 18:33:48 +01:00
The3D
bc1a237f34 Added handleRepayment() function 2021-03-01 17:47:27 +01:00
The3D
e735d40a3b Merge branch 'feat/light-deployments' of github.com:aave/protocol-v2 into feat/light-deployments 2021-03-01 15:58:41 +01:00
The3D
03a410230d Updated interest rate strategy to generalize fetching of the available liquidity 2021-03-01 15:58:31 +01:00
The3D
77fab5d3bb Added encoded parameter to reserve initialization 2021-02-26 18:17:10 +01:00
Zer0dot
e729926543 Merge branch 'master' into feat/light-deployments-update 2021-02-05 10:03:11 -05:00
eboado
80fd095723 - Implemented protocol changes to enable re-usage of implementations. 2021-01-28 11:05:19 +01:00
David Racero
6a503eb0a8 Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI. 2021-01-27 15:43:34 +01:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00
eboado
aa7c124a11 - Added credit delegation interface to debt tokens. 2020-11-30 18:16:25 +01:00
Andrey Ko
a32d1ce404 Merge branch 'feat/uniswap-adapter-flashloan' into '178-add-uniswap-adapters'
Add Uniswap adapter for liquidity swap and repay with collateral using flashloan

See merge request aave-tech/protocol-v2!106
2020-11-30 10:21:46 +00:00
eboado
18ce2b3637 - Added view to getMarketId() 2020-11-30 09:23:31 +01:00
eboado
5e9ccb5244 - Added getter to _marketId 2020-11-27 10:00:11 +01:00
The-3D
b7bae0cb67 Merge branch 'feat/166-market-id' into 'master'
- Added marketId and setter on LendingPoolAddressesProvider

Closes #166

See merge request aave-tech/protocol-v2!189
2020-11-26 16:13:04 +00:00
eboado
3f070d67ec - Added set of usage as collateral to true on liquidator receiving aToken. 2020-11-26 16:44:32 +01:00
The-3D
e1f636ccd6 Merge branch 'fix/163-tokenization-docs' into 'master'
- Reviewed documentation of protocol/tokenization

Closes #163

See merge request aave-tech/protocol-v2!187
2020-11-26 14:08:28 +00:00
eboado
fa11327b59 - Added marketId and setter on LendingPoolAddressesProvider 2020-11-26 13:09:49 +01:00
eboado
e418bcc01e - Added return of withdraw amount to withdraw() 2020-11-26 11:02:26 +01:00
eboado
3206c5297f - Added return value to repay() 2020-11-26 10:58:38 +01:00
eboado
997d29a009 - Added extra comment on IStableDebtToken 2020-11-26 10:51:43 +01:00
eboado
3cbb122a2d - Fixed typo on IStableDebtToken 2020-11-26 10:38:50 +01:00