Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Support ERC20 using DSMultsig, DSAuth & DSAuthority #7

Closed
0xc1c4da opened this issue Jan 13, 2017 · 2 comments
Closed

Support ERC20 using DSMultsig, DSAuth & DSAuthority #7

0xc1c4da opened this issue Jan 13, 2017 · 2 comments

Comments

@0xc1c4da
Copy link
Contributor

This is the Multisig contract used by Maker

https://github.com/nexusdev/ds-multisig
https://github.com/nexusdev/ds-auth/blob/master/src/DSAuthority50.sol
https://github.com/nexusdev/ds-auth/blob/master/src/auth.sol

you will want to learn the DSAuthority pattern, which is what allows an ERC20 contract to have restricted access to only a multisig

if you make your ERC20 contract inherit from DSAuth, then you can control it with a DSAuthority which is in turn owned by your multisig.

@3esmit
Copy link
Member

3esmit commented Jul 25, 2017

I've looked into this contracts and seems like overcomplicated and I didn't fit well the usecase. Can we consider closing this as we are going to use other solutions?

@tpatja
Copy link
Contributor

tpatja commented Aug 20, 2017

Contracts for ERC20 support are written by @3esmit and live under contracts/*.sol

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants