Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- contract admined { address public admin;
- function admined(){ admin = msg.sender; }
- modifier onlyAdmin(){ require(msg.sender == admin); _; }
- function transferAdminship(address newAdmin) onlyAdmin { admin = newAdmin; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement