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
Jason Raymond Bell
14e2ab47d9
Add task to deploy ParaSwapLiquiditySwapAdapter
...
Note that it didn't actually work as written since gasPrice was set too low
and also the verifyContract didn't work (so I had to verify it manually).
Deployed to mainnet at 0xC91864A5A1E2F52aDdfb69e31b89a3b7783733c3.
2021-03-29 17:19:26 +01:00
Jason Raymond Bell
29772961ac
Simplify ASM for copying revert reason
2021-03-19 00:16:39 +00: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
The-3D
3d3dfc01ba
Merge pull request #48 from aave/config/replace-lp-aggregators
...
Update LP oracles with latest oracle interface
2021-03-10 19:53:39 +01:00
David Racero
671a6878bf
Update LP oracles with latest oracle interface
2021-03-10 18:17:52 +01:00
The-3D
7e39178e8f
Merge pull request #14 from aave/feat/light-deployments
...
Enable light deployment of the protocol
2021-03-05 13:53:35 +01:00
The3D
12cda094b4
Merge branch 'master' into feat/light-deployments
2021-03-05 13:46:11 +01:00
The3D
4d8445c473
Merge branch 'feat/light-deployments' of github.com:aave/protocol-v2 into feat/light-deployments
2021-03-05 10:37:04 +01:00
The3D
7f44a0c242
Removed unused param in struct
2021-03-05 10:36:55 +01:00
David Racero
d9026b7122
Support fork connection.
2021-03-03 12:25:10 +01:00
David Racero
befb447148
Added configs to support tenderly fork rpcs. Added new price feeds addresses. Fix owner signer issues.
2021-03-02 17:21:04 +01:00
The3D
eb9077f25e
Refactored interest rate strategies tests
2021-03-01 20:26:08 +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
682a7d13fe
Updated tests
2021-02-26 19:18:38 +01:00
The3D
77fab5d3bb
Added encoded parameter to reserve initialization
2021-02-26 18:17:10 +01:00
The-3D
e33eb615d0
Merge pull request #43 from aave/feat/lp-market-updated-deployment
...
Feat/lp market updated deployment
2021-02-26 17:51:14 +01:00
Zer0dot
8635e9403b
Updated reserve configs and included BptBALWETH
2021-02-26 09:41:07 -05:00
The-3D
554a2ed7ca
Merge pull request #19 from sushiswap/master
...
PR to list new asset: Added xSUSHI risk parameters
2021-02-25 15:55:09 +01:00
Zer0dot
ce7d011e20
Initial setup for BptBALWETH
2021-02-24 17:58:20 -05:00
Zer0dot
fb3c0fc119
Added amm:main:full:migration task
2021-02-24 17:36:16 -05:00
Zer0dot
e34fe479b4
Merge branch 'feat/l2-markets' into feat/lp-market-updated-deployment
2021-02-24 17:30:35 -05:00
Zer0dot
2f005c63b7
Merge branch 'feat/lp-market-updated-deployment' into feat/l2-markets
2021-02-24 17:13:51 -05:00
Zer0dot
91cdef9ca4
Merge pull request #36 from aave/config-clean-up
...
Config updated to reflect new networks.
2021-02-24 17:01:04 -05:00
Zer0dot
70b1a6bdce
Merge pull request #42 from aave/config-clean-up-updated-amm
...
Updated a few small errors & changed "Lp" to "Amm"
2021-02-24 16:50:03 -05:00
Zer0dot
71127888a6
Updated Matic deployment script
2021-02-24 16:49:23 -05:00
Zer0dot
6508aa6127
Fixed small error
2021-02-24 16:44:45 -05:00
Zer0dot
46be3c6e8a
Clarified comment
2021-02-24 16:43:57 -05:00
Zer0dot
53139ce991
Removed useless space
2021-02-24 16:42:41 -05:00
Zer0dot
b2d344e189
Changed USDCDAI to DAIUSDC to fit pair order
2021-02-24 10:55:52 -05:00
Zer0dot
735fc5c6c7
Removed useless space
2021-02-23 11:05:46 -05:00
Zer0dot
b4936499a7
Fixed resuable addresses to match implementations
2021-02-23 10:59:20 -05:00
Zer0dot
d41edec1ab
Merged feat/lp-market-updated-deployment
2021-02-23 10:59:02 -05:00
Hadrien Charlanes
e3846332db
Cleaned up more conf, getParanetwork working now. Added weth Gateway Matic
2021-02-23 15:43:24 +01:00
Hadrien Charlanes
029a349d90
Prepared XDAI configs, updated matic with new LendingPool and LendingPoolConfigurator
2021-02-23 10:01:32 +01:00
Zer0dot
599c2759f1
Fixed & tested etherscan verification (on Kovan)
2021-02-23 08:34:24 +01:00
Zer0dot
50e2828008
Updated to reuse LendingPool & Configurator if possible
2021-02-23 08:34:02 +01:00
Zer0dot
82c09164e1
Fixed & tested etherscan verification (on Kovan)
2021-02-22 22:25:58 -05:00
Zer0dot
68447a5837
Updated to reuse LendingPool & Configurator if possible
2021-02-22 22:25:48 -05:00
Zer0dot
c1142d4810
Changed "Lp"/"lp" prefix to "Amm"/"amm"
2021-02-22 15:59:51 -05:00
Hadrien Charlanes
32a0aef1a9
Added wethgateway config to matic
2021-02-22 18:08:17 +01:00
Zer0dot
c072f3c8e0
Updated LP config
2021-02-22 18:08:17 +01:00