https://github.com/damarnez/aave_simulator
Testing the smartcontracts of aave in mainnet.
https://github.com/damarnez/aave_simulator
aave mainnet mainnet-fork mainnet-test smartcontracts solidity solidity-contracts testing
Last synced: about 2 months ago
JSON representation
Testing the smartcontracts of aave in mainnet.
- Host: GitHub
- URL: https://github.com/damarnez/aave_simulator
- Owner: damarnez
- Created: 2020-10-20T16:17:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T14:29:23.000Z (over 3 years ago)
- Last Synced: 2024-04-14T15:51:30.908Z (about 2 years ago)
- Topics: aave, mainnet, mainnet-fork, mainnet-test, smartcontracts, solidity, solidity-contracts, testing
- Language: TypeScript
- Homepage:
- Size: 803 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aave Simulator
## JOB01
- Select an active borrower on the protocol at the selected block height (with some collateral and borrowings).
- Borrow another currency apart from the ones he is borrowing at the moment, moving his HF to exactly 1.1.
- "Force" the price oracle of AAVE to set a price that puts the previous borrower under liquidation.
- With a different account, liquidate the user.
- There is freedom to select the new borrowed currency.
## JOB02
- Select an active depositor on the protocol at the selected block height (with deposits, can be used as collateral or not).
- Transfer all of his available aTokens to transfer to another user account.
- With that user, redeem the aTokens, deposit again, and borrow another currency at stable rate.
## Pre requirements
### GANACHE
```
npm install -g ganache
```
### Environment file
.env
```
ALCHEMY_NODE=https://eth-mainnet.alchemyapi.io/v2/ YOUR KEY
DEBUG=false
```
## Start JOBS
```
npm start
```
### Exclude Jobs
Update the file simulations.json and set to `true` the value disabled.
### System's architecture
