Commit Graph

1717 Commits

Author SHA1 Message Date
miguelmtzinf
d9f7cafed3 fix: Update avalanche market addreses 2021-08-17 18:58:06 +02:00
miguelmtzinf
a000ed9134 fix: Fix comments and ts style warnings 2021-08-17 18:38:56 +02:00
miguelmtzinf
19cc58f30d fix: Fix harcoded gas limit value on helpers 2021-08-17 18:37:21 +02:00
miguelmtzinf
3119882c91 fix: Disable USDT as collateral 2021-08-17 13:19:29 +02:00
miguelmtzinf
9959589c0f feat: Add latest changes 2021-07-30 14:59:28 +02:00
miguelmtzinf
9bca4037be Merge branch 'feat/188-avalanche-usd-quote' into feat/188-avalanche-market 2021-07-30 14:46:36 +02:00
andyk
025a988a13 add poligon related temp hacks 2021-07-26 18:06:36 +02:00
miguelmtzinf
9982cdd7f8 feat: Update latest addresses of Avalanche market 2021-07-21 11:39:37 +02:00
miguelmtzinf
8d359e1fd2 feat: Add fixes to the avalanche deployment 2021-07-21 11:38:59 +02:00
David Racero
0e7bc49a37 feat: Replace AaveOracle to the latest version. Fix dev deployment scripts. 2021-07-20 16:41:38 +02:00
miguelmtzinf
d460ab4ed5 Merge remote-tracking branch 'origin/feat/usd-quote' into feat/188-avalanche-usd-quote 2021-07-16 12:23:00 +02:00
David Racero
4b217fff84 tests: fixed tests to support latest changes 2021-07-16 12:22:20 +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
miguelmtzinf
14fe2ba139 feat: Add Avalanche market config 2021-07-16 10:47:16 +02:00
miguelmtzinf
a0a6210902 feat: Add Avalanche network configuration 2021-07-16 10:46:07 +02:00
David Racero
6319f22ad5 tests: fixed tests to support latest changes 2021-07-14 16:56:03 +02:00
David Racero
79294d0524 feat: support custom quote currencies. Added base scripts for custom atokens and rates. 2021-07-14 16:41:32 +02:00
andyk
d51ac1d6fe temp fix for UIPoolDataProvider on polygon 2021-07-14 15:56:41 +02:00
The-3D
ca74be898b
Merge pull request #163 from aave/feat/hardhat-unlimited-codsize
feat: Add possibility to discard bytecode max size in hardhat conf
2021-07-05 18:33:29 +02:00
Hadrien Charlanes
b34499c530 feat: added possibility to discard bytecode max size 2021-06-21 09:42:50 +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
Andrey
4e3701c196
Merge pull request #77 from aave/feat/incentives-end-emission
Feat/incentives end emission
2021-06-17 15:53:09 +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
Jason Raymond Bell
0ec5e213ef Add AugustusRegistry address 2021-06-15 15:56:25 +01:00
sendra
59e5bf418c updated comments 2021-06-14 11:45:56 +02:00
sendra
3d3e53a153 correct matic oracle 2021-06-08 15:42:04 +02:00
sendra
191e5b4319 case for when there is no user 2021-06-08 15:27:57 +02:00
sendra
a6978ed6ba fix on deployment task 2021-06-08 14:24:48 +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
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
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
The-3D
53b27235ad
Merge pull request #126 from aave/feat/defender-integration
Add OpenZeppelin Defender Integration
2021-05-18 12:43:18 +02:00
miguelmtzinf
83d2989eb1 fix: Fix grammar typos on commments 2021-05-18 11:40:02 +02:00
miguelmtzinf
34c9bf209e fix: Fix typo of tenderlyRPC for tenderlyNetwork 2021-05-18 10:40:22 +02:00
miguelmtzinf
64d37bcc70 fix: Fix @tenderly/hardhat-tenderly to 1.1.0-beta.5 2021-05-18 09:59:05 +02:00
miguelmtzinf
1d78df4292 fix: Fix ts issue with DRE object 2021-05-17 18:15:04 +02:00
miguelmtzinf
e6684bf268 fix: Fix package-lock json 2021-05-17 18:01:52 +02:00
miguelmtzinf
93f9e6f678 feat: Add DEFENDER env variables to docker yml 2021-05-17 14:36:39 +02:00