Commit Graph

1350 Commits

Author SHA1 Message Date
Lasse Herskind
00e7480c42 test: Add tests for static aToken with liquidity mining 2021-05-31 16:47:25 +02:00
Lasse Herskind
c4175e015c feat: Add contracts for static aToken with liquidity mining 2021-05-31 16:46:44 +02:00
Lasse Herskind
18d104e558 feature: vamtoken + attack 2021-05-31 16:23:28 +02:00
Lasse Herskind
b3f616ce5b fix: Update coverage calls 2021-05-31 16:21:41 +02:00
eboado
a3e11800a4 - Added basic flow test of StaticAToken + template of other tests needed 2021-02-17 13:10:24 +01:00
eboado
7c555ba55a - Added return params for deposit and withdrawal
- Fixed amountToBurn and amountToWithdraw on _withdraw()
2021-02-17 13:01:52 +01:00
eboado
068a17ca62 - Added possibility of withdraw using dynamic amounts 2021-02-17 10:47:19 +01:00
eboado
1fa797ec40 - Fixed _withdraw() logic StaticAToken 2021-02-16 11:51:06 +01:00
eboado
8352ada9e1 - Fixed recipient of aTokens 2021-02-16 10:19:15 +01:00
eboado
28cb41b8ca - Initial version of StaticAToken 2021-02-15 11:10:01 +01:00
Ernesto Boado
2708551bcf
Merge pull request #23 from aave/gitlab-merge
Bring GitHub up to date with GitLab
2021-02-05 10:07:34 +01:00
Zer0dot
32ddc01ba9 Fixed slight merge errors 2021-02-04 14:12:08 -05:00
Zer0dot
39e994f533 Checked out unmerged readme from gitlab 2021-02-04 13:47:19 -05:00
Zer0dot
fc5129ec44 Checked out unmerged audit file from gitlab 2021-02-04 13:45:56 -05:00
Zer0dot
0d1e673f56 Removed an un-merged line break 2021-02-04 13:43:59 -05:00
Zer0dot
d3de30ff55 Merge remote-tracking branch 'gitlab/master' into gitlab-merge 2021-02-04 12:54:38 -05:00
Ernesto Boado
de6437b54e
Merge pull request #20 from aave/fix/adapter-reserve
Fixed memory usage adapter
2021-02-04 08:46:42 +01:00
dhadrien
9e62528b98 Fixed memory usage 2021-02-03 15:57:34 +01:00
The-3D
776a6a4aae Merge branch 'fix/hardhat-time-error' into 'master'
Fix master test suite at CI

See merge request aave-tech/protocol-v2!226
2021-02-03 09:43:49 +00:00
David Racero
56e5efd47b Add a comment to specify why retries are being used at scenarios tests suite 2021-02-03 09:22:22 +00:00
David Racero
f106502c72 Add retries to scenarios to prevent random networking bug. 2021-02-01 19:24:50 +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
a4a6d3d437 WIP change implementation of increaseTime 2021-02-01 16:40:11 +01:00
emilio
00f414b681 Updated test description 2021-02-01 16:16:42 +01:00
Ernesto Boado
f48c8d7395 Merge branch '183-flash-liquidation-adapter' into 'master'
Flash liquidation adapter

Closes #183

See merge request aave-tech/protocol-v2!212
2021-02-01 14:55:03 +00:00
Ernesto Boado
9b509eadbb
Merge pull request #17 from aave/fix/eth-eth-repay-w-collateral
Fix eth->eth repay with collateral
2021-02-01 15:18:32 +01:00
andyk
9f94f04b6c fix eth->eth repay with collateral 2021-02-01 17:13:53 +03:00
David Racero
211dca7a07 Add new variable borrowedAssetLeftovers to improve readability 2021-02-01 13:24:07 +01:00
The-3D
480e1a22a8
Merge pull request #16 from aave/github/feat/15-sp-report
Adds SigmaPrime audit report
2021-02-01 09:17:21 +01:00
eboado
f32aa520e2 - Added SigmaPrime audit report 2021-02-01 09:03:58 +01:00
David Racero
37ac8b5297 Add new edge case when flash liquidation same asset. Add tests. 2021-01-29 18:09:06 +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
Ernesto Boado
b029c9436e Merge branch '198-add-lint-ci-ctep-to-reject-unformatted-code' into 'master'
Add lint CI ctep to reject unformatted code

See merge request aave-tech/protocol-v2!225
2021-01-28 13:32:39 +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
ba054edbd9 Test formatting error 2021-01-27 16:02:44 +01:00
David Racero
17af598680 Add missing npm run to script 2021-01-27 15:58:38 +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
89db02e79c Add include 2021-01-27 11:50:54 +01:00
David Racero
41b7adb4cc Test super linter at Gitlab and Solidity 2021-01-27 10:49:30 +01:00
David Racero
b2d70ec133 Run tests before publish at master 2021-01-26 14:02:47 +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
David Racero
e84ab7cf03 Allow detached to skip tests for testing publish 2021-01-26 13:34:39 +01:00
David Racero
2f4219d643 Detach mode to test prepare and publish step 2021-01-26 13:20:32 +01:00
David Racero
5434b279d1 Fix detached missing tests 2021-01-26 13:03:06 +01:00
David Racero
422d843815 Run CI to test publish image prepare 2021-01-26 13:01:37 +01:00
David Racero
9cd6175f11 Fix gitlab ci 2021-01-26 12:58:39 +01:00
David Racero
56ba85e946 Add publish to Gitlab CI 2021-01-26 12:56:36 +01:00