moonwell-fi / moonwell-contracts-v2

BSD 3-Clause "New" or "Revised" License
22 stars 15 forks source link

Folder Structure and Usability #60

Closed ElliotFriedman closed 4 days ago

ElliotFriedman commented 1 year ago

This ticket aims to make the folder structure cleaner

  1. move mips into their own separate folder
  2. refactor how environment variables are used so you just need to set a directory and it finds the MTokens.json, RewardsConfig.json and ProposalDescription.md automatically based on the directory. This means that all files for MIP's must be named the same. Update docs so it's clear what a user needs to do.
  3. move all hardcoded addresses in addresses.sol into their own respective JSON file. read these files in
  4. update proposals framework to spit out information that is easily placed into the JSON file when new contracts are deployed.
anajuliabit commented 1 month ago

come back here once we figure out how to templatize market add

anajuliabit commented 4 days ago

1 and 3 are done. 2 moved to https://github.com/moonwell-fi/moonwell-contracts-v2/issues/417