Created
November 12, 2021 17:29
-
-
Save z0r0z/130735fde449d9f1faa466b46c9923d0 to your computer and use it in GitHub Desktop.
simplest dao ever
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.0; | |
contract DAO { | |
address[] public members; | |
mapping(address => bool) public verified; | |
function addMember(address newMember) external { | |
verified[newMember] = true; | |
members.push(newMember); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment