Skip to content

sendra/aave-v2-payloads

 
 

Repository files navigation

Chaso <> AAVE Proposals & payloads

Payload and tests for the Chaos <> AAVE Proposals

Installation

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

In order to install, run the following commands:

$ 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_ETHEREUM 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 - run tests
  • make match MATCH=<TEST_FUNCTION_NAME> - run matched tests

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

used to test and host all payloads for Aave V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 73.7%
  • JavaScript 22.8%
  • TypeScript 2.2%
  • Ruby 0.8%
  • Shell 0.3%
  • Makefile 0.1%
  • Other 0.1%