GithubHelp home page GithubHelp logo

aip's Introduction


๐Ÿ‘‹ Hey there! You're currently viewing this on Github, which isn't the intended experience. For the full Aave AIP experience, go to the AIPs website

Contributing

If you plan to add a new Aave Improvement Proposal (AIP) follow this guide:

  1. Fork this repository by clicking 'Fork' in the top right.
  2. Add your AIP to your fork of the repository in the content/aips/ directory. Use the AIP template.
  3. Install the project dependencies: npm install. Note the repository works with Node v12.
  4. Generate the AIP identifier using the following command: npm run generate-filename '[title]' '[date]'. Replace the title and date placeholders with the title and created tags of the AIP md file.
  5. Use the generated identifier for the AIP filename. The final name of the AIP file should be: [generated_identifier]-AIP-[title_abbrev].md.
  6. Submit a Pull Request (PR) to the Pending AIPs branch.

Your first PR should be a draft of the final AIP. It must follow the formatting criteria enforced by the build, as detailed in the AIP template. Make sure you include a discussions-to header with the URL to a discussion forum or open GitHub issue where people can discuss the AIP as a whole.

If your AIP requires images, the image files should be included in a subdirectory of the assets folder for that AIP as follow: assets/[generated_identifier]-AIP-[title_abbrev] (for AIP [generated_identifier]-AIP-[title_abbrev]). When linking to an image in the AIP, use relative links such as ../assets/[generated_identifier]-AIP-[title_abbrev]/image.png.

When you believe your AIP is mature and ready to progress past the WIP phase, feel free to change its status to Proposed.

Contribution example

Let's imagine we believe a parameter of the AAVE reserve should be changed for the common good of the community, in particular, an increase of the liquidation bonus. If we propose the change to the community and consensus is reached, we will make this happen.

First of all, an Aave Request for Comment (ARC) had to be initiated in the Governance Forum, so the community can participate and provide feedback. Here you can find instructions about it.

If the community is aligned with our change proposal, we can start working on the AIP. There is an example of the AIP at the sample-aip branch and the Pull Request (PR) to the Pending AIPs branch that it is needed to be done.

And Voila, we have created our AIP for the proposal!

Now it's time to prepare everything for the proposal submission. Some AIPs are more sophisticated than others, so need tests and even some contract code. In this case, we would just need to prepare the call to the Governance contract with adequate parameters, which can be done with a Payload contract or directly using calldatas. We recommend using a Payload contract since it is much more clarifying, transparent and less error-prone than calldatas.

Here you can find two examples of Payload contracts:

Note: If the proposal is an asset listing here you have some helpful docs about the process to follow.

Once all is ready for the proposal, submit the proposal to Aave Governance.

AIP Statuses

  • WIP - an AIP that is still being developed.
  • Proposed - an AIP that is ready to be proposed on-chain.
  • Approved - an AIP that has been accepted for implementation by the Aave community.
  • Implemented - an AIP that has been released to mainnet.
  • Rejected - an AIP that has been rejected.

aip's People

Contributors

ahnaguib avatar anjan-parafi avatar argeare5 avatar bneiluj avatar bonustrack avatar brandoniles avatar charlie-paxos avatar corbinpage avatar dangerousfood avatar dannydesert avatar dhadrien avatar eboadom avatar guifel avatar hello-shreyas avatar idan-fb avatar jasonhuan avatar kartojal avatar kassandraoftroy avatar kyzia551 avatar lmrank avatar maxfiege avatar miguelmtzinf avatar mrdavey avatar mwerner avatar popra avatar rrettig-law avatar sendra avatar stefanionescu avatar the-3d avatar yun-yeo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.