I plan to deploy the current version of the new Comptroller with borrow limits implemented over the weekend. View the PR here. Assuming the deployment goes as planned and matches successfully, the proposal will be made sometime next week.
Update: Deployed here.
This was a somewhat long process with multiple postings about it:
Following the requests of the community, initially, the new code will be introduced without actually being utilized. The newly made community multisig will be set as the “Borrow Limit Guardian” but will not impose any limits. In future proposals, the limits will be set and the role of the community multisig will be further established.
I have written a test suite and a fork simulating the new proposal to test the new code, and it all checks out. Additionally, the new patch has been the comptroller on Koran for the past few weeks. Please proof read the code yourself before voting on the proposal. The code does not touch any core features of the protocol, so it not been audited professionally.
Another new idea I would like to introduce in this proposal is rewards to users who build on the protocol to encourage further development. In the future, this could be automated by the Governance Alpha contract, but for now, this must be added as additional actions to the proposal. Following recommendations, I propose withdrawing $5000 from the SAI reserves (equivalent to 2360 SAI) to my address as a reward for bringing this feature to reality. I don’t have any precedent to base this number on, so if you think it should be different, say so!
All in all, the planned actions of the proposal are as follows:
- Unitroller _setPendingImplementation(NewComptroller)
- NewComptroller _become(Unitroller)
- Unitroller _setBorrowLimitGuardian(community multisig)
- cSAI reduceReserves(2360 * 1e18)
- SAI transfer(Arr00, 2360*1e18)