Payload and tests for the Gauntlet <> AAVE Renewal Propsal
The Proposal Payload does the following:
- 30% of the total annual fee ($600,000 in aUSDC) will be deposited in a vault for the insolvency refund.
- The remaining $800,000 in aUSDC and 9,919 AAVE tokens will be streamed linearly over 1 year from the ecosystem reserve.
It requires Foundry installed to run. You can find instructions here Foundry installation.
$ npm install
$ forge install
$ forge update
$ git submodule update --init --recursive
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.
make build
- build the projectmake 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)
make deploy-payload
- deploy and verify payload on mainnetmake deploy-proposal
- deploy proposal on mainnet
To confirm the deploy was successful, re-run your test suite but use the newly created contract address.