llamaxyz / aave-fei-rf-update

aave-fei-rf-update

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aave FEI Reserve Factor Update

Payload and tests to set the reserve factor to 99% for FEI in Aave v2 pool on Mainnet.

Installation

It requires Foundry installed to run. You can find instructions here Foundry installation.

To install, run the following commands:

$ git clone https://github.com/llama-community/aave-fei-rf-update.git
$ cd aave-fei-rf-update/
$ npm install
$ forge install

Setup

Duplicate .env.example and rename to .env:

  • Add a valid mainnet URL for an Ethereum JSON-RPC client for the RPC_MAINNET_URL variable.
  • Add a valid Private Key for the PRIVATE_KEY variable.
  • Add a valid Etherscan API Key for the ETHERSCAN_API_KEY variable.

Commands

  • make build - build the project
  • make test [optional](V={1,2,3,4,5}) - run tests (with different debug levels if provided)
  • make match MATCH=<TEST_FUNCTION_NAME> [optional](V=<{1,2,3,4,5}>) - run matched tests (with different debug levels if provided)

Deploy and Verify

  • make deploy-payload - deploy and verify payload on mainnet
  • make deploy-proposal- deploy proposal on mainnet

To confirm the deploy was successful, re-run your test suite but use the newly created contract address.

About

aave-fei-rf-update

License:GNU Affero General Public License v3.0


Languages

Language:Solidity 94.4%Language:Makefile 5.0%Language:Shell 0.6%