Commit Graph

1839 Commits

Author SHA1 Message Date
The3D
ce052c669f refactor: partially fixed mint to treasury tests 2021-05-07 20:04:24 +02:00
David Racero
607d3c9a24 tasks: Full migration scripts now deploys independent markets. Added new task to attach a new market to the LendingPoolAddressesProviderRegistry. 2021-05-07 16:59:24 +02:00
The3D
550a4abe7d Merge branch 'protocol-2.5' into feat/gas-optimization-3 2021-05-07 16:42:52 +02:00
David Racero
57cc6579e1 feat: Remove debug logs 2021-05-07 15:18:37 +02:00
David Racero
9b78daa189 fix: fix kovan deployment. Prevent to init tokens without address. Added deployRegistry flag to scripts. 2021-05-07 15:15:15 +02:00
The-3D
b698cc748e
Merge pull request #102 from aave/feat/gas-optimization-1
Protocol 2.5 - gas optimization 1
2021-05-07 14:03:17 +02:00
The3D
50ea61fe70 Merge branch 'feat/gas-optimization-1' into feat/gas-optimization-2 2021-05-07 11:24:58 +02:00
The3D
759e163cb3 Merge branch 'protocol-2.5' into feat/gas-optimization-1 2021-05-07 11:22:38 +02:00
The3D
506b8bccfe Merge branch 'master' into protocol-2.5 2021-05-06 21:29:12 +02:00
The3D
c6dbc98926 test: initial test for mintToTreasury() 2021-05-06 16:21:55 +02:00
The-3D
77fe998e9f
Merge pull request #64 from aave/feat/protocol-2.5/repayPermit-depositPermit
RepayWithPermit, depositWithPermit
2021-05-05 13:12:22 +02:00
Hadrien Charlanes
39ab410ba5 fix: grammar comment 2021-05-05 13:05:02 +02:00
Hadrien Charlanes
6a952901d9 doc: documented new reserveConfigurationMap data structure 2021-04-30 17:43:00 +02:00
Hadrien Charlanes
1bec527091 test: tested supply cap 2021-04-30 17:35:46 +02:00
Hadrien Charlanes
1de5a303f4 feat: implemented supply cap 2021-04-30 17:35:16 +02:00
Hadrien Charlanes
be859bd270 test: added supply cap tests in configurator test 2021-04-30 16:55:31 +02:00
Hadrien Charlanes
6a0d27c0de fix-refactor: Refactored tests with new getCaps function, fixed contract supplyCap mask 2021-04-30 16:48:09 +02:00
Hadrien Charlanes
f624783a36 feat-refactor: added supplyCap and refactored borrowCap 2021-04-30 16:17:05 +02:00
Hadrien Charlanes
cd2eb0af58 fix: added missing await to tess txs 2021-04-30 12:14:48 +02:00
Hadrien Charlanes
c8ff80b6a3 clean: removed console log 2021-04-30 12:08:09 +02:00
Hadrien Charlanes
c907d15e22 feat: borrowCap from 32 bits (4 billion max cap) to 48 bits (280 trilly) 2021-04-30 12:06:14 +02:00
Hadrien Charlanes
08e14b7565 test: added more precised cap test 2021-04-30 11:02:28 +02:00
Hadrien Charlanes
dac8812c3c test: testing borrow cap overflow, max borrow cap 2021-04-30 09:36:46 +02:00
Hadrien Charlanes
c7bf3e861f fix: updated test name 2021-04-30 09:28:35 +02:00
The3D
5f0fb4bec9 refactor: changed the behavior of mintToTreasury 2021-04-29 20:40:37 +02:00
The3D
bce4c6b674 test: fixed tests to adapt the error messages 2021-04-29 19:56:22 +02:00
The3D
ed987ac46e refactor: removed balanceDecreaseAllowed 2021-04-29 19:55:52 +02:00
Hadrien Charlanes
41c53842f7 test: added tests for borrow cap 2021-04-29 18:11:57 +02:00
Hadrien Charlanes
be1181e26f flex: added contributor 2021-04-29 13:53:37 +02:00
Andrey
644350c18e
Merge pull request #61 from aave/feat/update-dataproviderhelper-incentives
Added incentives data to ui helper
2021-04-29 12:11:51 +03:00
Hadrien Charlanes
9c02b5d79b test: finish tested configurator part of borrowCap 2021-04-29 10:34:28 +02:00
Hadrien Charlanes
01e23fffc8 test: updated test to check borrowCap 2021-04-29 10:16:29 +02:00
Hadrien Charlanes
be4fc154ba config: added borrowCap config to matic, amm markets, all default to max borrow cap 2021-04-29 10:16:12 +02:00
Hadrien Charlanes
a9fce4dd4b feat: Added setBorrowCap in lendingpoolconfigurator 2021-04-29 09:51:37 +02:00
Hadrien Charlanes
32cfe739c7 fix-test: fixed max Borrow Cap, adapted test asset init, asset config 2021-04-28 17:42:41 +02:00
The-3D
4b8fabfca7
Merge pull request #4 from PabiGamito/master
Register mock tokens in json database
2021-04-27 19:28:59 +02:00
Hadrien Charlanes
6054fa0bd5 feat: Added borrowCap to enableBorrowing Configurato 2021-04-27 19:08:49 +02:00
Hadrien Charlanes
9a8eb294a0 fix: borrowCap from 16 to 32 bits 2021-04-27 19:04:29 +02:00
Hadrien Charlanes
05ca0c4ed1 fix: Addded decimals in borrowCap require 2021-04-27 19:01:28 +02:00
Hadrien Charlanes
7e02877966 refactor: fixed stack too deep 2021-04-27 18:37:13 +02:00
Hadrien Charlanes
03103fb63d adding stack too deep 2021-04-27 18:26:08 +02:00
The3D
45acc0b854 refactor: improved variables naming 2021-04-27 17:21:36 +02:00
The3D
ada4994c7f refactor: Replaced balanceOf() with scaledBalanceOf() + normalizedIncome/debt 2021-04-27 15:31:11 +02:00
Hadrien Charlanes
10a083d8f0 fix: typo 2021-04-27 09:46:39 +02:00
Hadrien Charlanes
b294a96ef4 refactor: changed function definitions order for more clarity 2021-04-27 09:45:49 +02:00
Hadrien Charlanes
0b89528871 doc: added signature paramters to natspec docs 2021-04-27 09:44:18 +02:00
sendra
c1c2cffd26 remove try catch as it doesnt catch the implementation exeption 2021-04-26 17:51:39 +02:00
sendra
d36b9fd14c added other catch 2021-04-26 16:43:21 +02:00
sendra
f5f3adeb0f removed error from catch so it catches everything 2021-04-26 16:29:30 +02:00
sendra
acc2207d81 added kovan config 2021-04-26 15:57:26 +02:00