Commit Graph

113 Commits

Author SHA1 Message Date
miguelmtzinf
d6a0f34ba2 feat: Add optimistic kovan market 2021-07-29 18:25:01 +02:00
miguelmtzinf
7708bc6d2f feat: Add support for custom quote currencies 2021-07-23 13:09:12 +02:00
miguelmtzinf
329a48cd03 feat: Add defender utils and use of signer 2021-05-17 14:35:21 +02:00
David Racero
37ba4765ea fix: solve conflicts from master 2021-05-14 09:26:22 +02:00
David Racero
2cdfbbbc5d feat: Added support to fork any chain. Added deployment scripts to Github Actions 2021-05-10 15:34:31 +02:00
David Racero
d16c680b7c Integrate polygon verifier into verification tools and Hardhat tasks 2021-03-11 16:55:04 +01:00
David Racero
d673d54f75 First iteration of a Polygon block explorer smart contract verifier 2021-03-04 16:10:39 +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
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
53139ce991 Removed useless space 2021-02-24 16:42:41 -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
Zer0dot
379761b56f Testing mumbai network deployment, Oracles fail 2021-02-19 18:50:24 -05:00
Zer0dot
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -05:00
Zer0dot
2601dbb2df Updated helpers 2021-02-05 21:51:12 -05:00
Zer0dot
039e00fdb0 Moved gas-tracker.ts into ./helpers and updated references 2021-02-04 17:57:03 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
Zer0dot
97a6179703 Added all UNI-V2 pairs and configs 2021-01-19 20:58:21 -05:00
root
a9aff29b77 Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support. 2021-01-15 15:48:54 +00:00
Zer0dot
ed17b5a037 Slight cleanup 2021-01-14 20:59:14 -05:00
Zer0dot
ccb6e36760 Slight cleanup 2021-01-14 18:56:18 -05:00
David Racero
16a7398574 Fixed tests. Add uniswap adapter test to package.json script 2021-01-14 11:53:48 +01:00
Zer0dot
688b62fed2 Added gas tracking 2021-01-11 21:15:47 -05:00
Zer0dot
57986b76a8 Testing 2020-12-25 00:47:30 -05:00
Gerardo Nardelli
43d05c2bdf Refactor repayAdapter to flash loan the debt asset instead of the collateral 2020-11-20 15:53:50 -03:00
Gerardo Nardelli
b48b50208a Support using all the collateral for a debt repay 2020-11-20 09:06:28 -03:00
Gerardo Nardelli
9478381992 Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-helpers.ts
#	test/helpers/make-suite.ts
2020-11-19 09:32:52 -03:00
David Racero
53d92ccfe4 Added permit domain check test. Update typechain and typescript to support new ethers 5 generated typings. Updated ethers to support _TypedDataEncoder for domain hash. 2020-11-18 19:18:02 +01:00
Gerardo Nardelli
092f9c983b Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-getters.ts
2020-11-17 13:21:41 -03:00
David Racero
b275fedfe8 Remove Uniswap V1 config and scripts. Renamed config to markets. 2020-11-17 09:33:45 +01:00
David Racero
27365697ac Added mainnet check list. Remove deployed contracts. Update README.md 2020-11-16 19:22:22 +01:00
David Racero
0d40682054 Added initial README. Digging into Tenderly. Added initial mainnet fork with buidler. 2020-11-16 16:08:07 +01:00
David Racero
84053c7b1d Added latest update from Tenderly 2020-11-16 10:19:14 +01:00
David Racero
d1c6943cd3 Initial implementation of Tenderly plugin 2020-11-12 14:12:26 +01:00
Gerardo Nardelli
a7115f019e Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-getters.ts
#	helpers/types.ts
2020-11-10 11:40:25 -03:00
Gerardo Nardelli
cf9c8855c3 Pull the correct amount of atokens from user to avoid leftovers in repay adapter 2020-11-10 10:38:24 -03:00
David Racero
ce3db28503 Added tokenization verifications 2020-11-10 14:18:48 +01:00
David Racero
6eb19a2d66 Move verification to a separate task and run after deployment. Speed up verification via more logic to prevent too many retries. 2020-11-10 13:23:30 +01:00
Gerardo Nardelli
6e9defe14c Add repayAllDebt flag to repay the whole debt with collateral 2020-11-09 16:53:03 -03:00
Gerardo Nardelli
4fb43f7aff Remove not used batch capabilities on repay adapter 2020-11-09 15:27:18 -03:00
Gerardo Nardelli
3f779e2e9f Merge branch 'master' into feat/uniswap-adapter-flashloan
# Conflicts:
#	helpers/contracts-deployments.ts
#	helpers/types.ts
#	test/__setup.spec.ts
#	test/helpers/make-suite.ts
2020-11-06 14:26:31 -03:00
Gerardo Nardelli
6aeabbe00b Add build params unit tests helpers 2020-11-06 12:12:40 -03:00
David Racero
51b3fb1669 Fix migration logic 2020-11-05 15:31:35 +01:00
David Racero
729b642ea5 Support Buidler to run solidity-coverage until is ported. 2020-11-05 14:43:17 +01:00
David Racero
21e57a1a37 Migrate buidler to hardhat 2020-11-05 12:18:20 +01:00
David Racero
cbc188e62a merge and add helper contracts 2020-10-23 15:18:01 +02:00
The3D
76031c878f Fixed console messages 2020-10-21 13:35:52 +02:00
David Racero
d864836ec5 Added waitForTx for lendingpoool 2020-10-21 11:50:54 +02:00
David Racero
4ee41dbece Added waitForTx to missing methods. 2020-10-21 11:42:27 +02:00