GithubHelp home page GithubHelp logo

godsflaw / mkr-authority Goto Github PK

View Code? Open in Web Editor NEW

This project forked from makerdao/mkr-authority

0.0 2.0 0.0 34 KB

Custom authority for allowing MKR to govern MKR.

License: GNU Affero General Public License v3.0

Makefile 1.58% Solidity 98.42%

mkr-authority's Introduction

mkr-authority

Custom authority for allowing MKR to govern MKR.

Intentionally simple. Once set as the MKR token's authority, if the MKR token's owner field is subsequently set to zero, the following properties obtain:

  • any user may call MKR's burn function
  • only authorized users (according to the MkrAuthority's wards) can call MKR's mint() function
  • only the root user set in the authority can call other auth-protected functions of the MKR contract
  • only the root user can modify the MkrAuthority's wards or change the root

Though this contract could be used in different ways, it was designed in the context of an overall design for control of the MKR token via MKR governance as illustrated below.

<~~~ : points to source's authority
<=== : points to source's root or owner

-------    -------    ------------    --------------    -----
|Chief|<~~~|Pause|<===|PauseProxy|<===|MkrAuthority|<~~~|MKR|===>0
-------    -------    ------------    --------------    -----

Such a structure allows governance proposals voted in on the Chief to make arbtirary changes to the MKR token and its permissions subject to a delay. (See DappHub contracts DSChief and DSPause for implementations of the voting contract and the delay contract, respectively.)

Note that the MkrAuthority allows for upgrading of the MKR token's authority or owner by the root.

K specifications of the contract's functionality can be found in: https://github.com/makerdao/k-mkr-authority/

mkr-authority's People

Contributors

kmbarry1 avatar andy8052 avatar

Watchers

James Cloos avatar  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.