Commit Graph

154 Commits

Author SHA1 Message Date
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
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
miguelmtzinf
64d37bcc70 fix: Fix @tenderly/hardhat-tenderly to 1.1.0-beta.5 2021-05-18 09:59:05 +02:00
miguelmtzinf
d6f92a6fad feat: Add defender-relay-client dependency 2021-05-17 14:06:48 +02:00
David Racero
9b06eb1477 feat: Improve readability of fork configuration. Support FORK_BLOCK_NUMBER enviroment variable. 2021-05-14 14:47:19 +02:00
David Racero
37ba4765ea fix: solve conflicts from master 2021-05-14 09:26:22 +02:00
The-3D
b4ed523a64
Merge pull request #68 from aave/polygon-verifier
Polygon integration
2021-05-12 12:49:57 +02:00
David Racero
51c0ccaca3
Merge branch 'master' into fix/101-support-registry-config 2021-05-11 15:10:32 +02:00
David Racero
4f7ce7e202
Merge branch 'master' into polygon-verifier 2021-05-11 12:55:17 +02:00
David Racero
6c0bbadacb
Merge branch 'master' into feat/add-compile-prior-tests 2021-05-11 12:35:15 +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
e41a18c33a fix: fixed logic of address provider registration 2021-05-10 10:16:13 +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
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
sendra
701c0793ce fix: merged with master 2021-04-26 12:51:04 +02:00
David Racero
e6f6fce787 feat: add github actions to run tests at master and pull requests 2021-04-23 18:04:43 +02:00
The3D
c46b3932f3 config: updated package.json 2021-04-23 16:07:14 +02:00
sendra
360d37f9f8 fix: updated mainnet task to deploy ui helper 2021-04-19 17:23:45 +02:00
The3D
94790ecc46 Fixed interface update 2021-04-12 11:10:22 +02:00
sendra
a5ab0a6e3b added mumbai addresses 2021-04-09 10:57:01 +02:00
David Racero
ae8f7aa21f Fixed config. Fixed WETHGateway initialiation with WrappedNativeToken. Added AaveProtocolDataProvider init at addresses provider registry. 2021-03-31 14:13:44 +02:00
sendra
516cbc7349 updated deployment scripts 2021-03-30 13:17:08 +02: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
David Racero
d7cf033e62 Added sidechain task to follow guidelines. Added IncentivesController to config. 2021-03-26 15:20:24 +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
l3lackcurtains
44f8b40c75 Fix two scripts in package.json 2021-03-16 14:52:40 -07:00
David Racero
d16c680b7c Integrate polygon verifier into verification tools and Hardhat tasks 2021-03-11 16:55:04 +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
Zer0dot
fb3c0fc119 Added amm:main:full:migration task 2021-02-24 17:36:16 -05:00
Zer0dot
d41edec1ab Merged feat/lp-market-updated-deployment 2021-02-23 10:59:02 -05:00
Hadrien Charlanes
da2ade5d3b Added Weth gateway contract in config, updated deployment 2021-02-22 17:25:12 +01:00
Zer0dot
5e0005e32c Set Matic gas limit to 7.5 gwei & added task 2021-02-19 21:58:10 -05:00
Zer0dot
379761b56f Testing mumbai network deployment, Oracles fail 2021-02-19 18:50:24 -05:00
Zer0dot
4b39c42169 Unoptimized but functional light deployment 2021-02-10 13:52:51 -05:00
Zer0dot
8f68b3b444 Updated package.json task name 2021-02-08 17:42:43 -05:00
Zer0dot
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -05:00
Zer0dot
01a662680f Separated tests by market. Replace WETH9 symbol with 'UniWETH' to run test-lp. WIP. 2021-02-06 22:10:29 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
David Racero
0f7a68a9f8 (feat) run compile prior running tests at package.json script 2021-02-02 15:05:25 +01:00
David Racero
3f6dd8a0f0 Update hardhat to latest version. Add timeout to advanceTimeAndBlock function. 2021-02-01 17:54:02 +01:00
David Racero
d464b0d592 Pull master and fix conflicts 2021-01-29 13:27:12 +01:00
The-3D
57d9d48bf8 Merge branch '201-add-protocol-contracts-to-the-npm' into 'master'
Add protocol contracts to the npm

Closes #201

See merge request aave-tech/protocol-v2!224
2021-01-29 09:13:42 +00:00
David Racero
80cfc7d0fe Add fixed format scenario test 2021-01-28 09:51:52 +01:00
David Racero
da0b13757a Fix scenario and rename jobs 2021-01-27 16:57:26 +01:00
David Racero
abb17b004d Fix pre-commit 2021-01-27 15:46:04 +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
David Racero
9169e0db62 Add notes about how to use NPM package to import contract or artifacts 2021-01-26 13:46:48 +01:00