diff --git a/Build a Gamer DAO on Q Blockchain/2. Creating and Deploying a Gamer DAO/3. Build Your First DAO - Setup Voting System.md b/Build a Gamer DAO on Q Blockchain/2. Creating and Deploying a Gamer DAO/3. Build Your First DAO - Setup Voting System.md index de984e62..567d01fa 100644 --- a/Build a Gamer DAO on Q Blockchain/2. Creating and Deploying a Gamer DAO/3. Build Your First DAO - Setup Voting System.md +++ b/Build a Gamer DAO on Q Blockchain/2. Creating and Deploying a Gamer DAO/3. Build Your First DAO - Setup Voting System.md @@ -29,7 +29,7 @@ function createProposal(string memory _description) public { ``` function voteYes(uint _proposalId, uint _tokenAmount) public { - require(isMember[msg.sender] == true, "You should be a memeber to vote"); + require(isMember[msg.sender] == true, "You should be a member to vote"); require(balances[msg.sender] >= _tokenAmount, "Not enough tokens to vote"); require(votes[msg.sender][_proposalId] == false, "You have already voted for this proposal"); votes[msg.sender][_proposalId] = true; @@ -57,7 +57,7 @@ function voteYes(uint _proposalId, uint _tokenAmount) public { ``` function voteNo(uint _proposalId, uint _tokenAmount) public { - require(isMember[msg.sender] == true, "You should be a memeber to vote"); + require(isMember[msg.sender] == true, "You should be a member to vote"); require(balances[msg.sender] >= _tokenAmount, "Not enough tokens to vote"); require(votes[msg.sender][_proposalId] == false, "You have already voted for this proposal"); votes[msg.sender][_proposalId] = true; @@ -188,7 +188,7 @@ contract DAO { // Function for a member to vote on a proposal function voteYes(uint _proposalId, uint _tokenAmount) public { - require(isMember[msg.sender] == true, "You should be a memeber to vote"); + require(isMember[msg.sender] == true, "You should be a member to vote"); require(balances[msg.sender] >= _tokenAmount, "Not enough tokens to vote"); require(votes[msg.sender][_proposalId] == false, "You have already voted for this proposal"); votes[msg.sender][_proposalId] = true; @@ -199,7 +199,7 @@ contract DAO { } function voteNo(uint _proposalId, uint _tokenAmount) public { - require(isMember[msg.sender] == true, "You should be a memeber to vote"); + require(isMember[msg.sender] == true, "You should be a member to vote"); require(balances[msg.sender] >= _tokenAmount, "Not enough tokens to vote"); require(votes[msg.sender][_proposalId] == false, "You have already voted for this proposal"); votes[msg.sender][_proposalId] = true; diff --git a/Codes/Q_boilerplate_code/scripts/AirDropV2/5_createCampaign.js b/Codes/Q_boilerplate_code/scripts/AirDropV2/5_createCampaign.js index 8e4a7423..08c143d6 100644 --- a/Codes/Q_boilerplate_code/scripts/AirDropV2/5_createCampaign.js +++ b/Codes/Q_boilerplate_code/scripts/AirDropV2/5_createCampaign.js @@ -19,7 +19,7 @@ async function main() { const GeneralDAOVotingFactory = await ethers.getContractFactory("GeneralDAOVoting"); const VotingContract = GeneralDAOVotingFactory.attach(VOTING_CONTRACT_ADDRESS); - // Merkle Root; Chnage the address accordingly, make sure there are at least two + // Merkle Root; Change the address accordingly, make sure there are at least two let addresses = [ { addr: "0xABe215Fb79fB827978C82379d5974831E2FB5E0d", diff --git a/README.md b/README.md index ab169213..07ab98cc 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ If you find an error, resolve it and submit a pull request. Let's build this! ## 🤝 Sounds fun! How do I contribute -Since our projects and their tutorials are available and opensourced for everyone, you can step us and report issues, resolve them and become a contributer too. [Follow this short guide](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files#editing-files-in-another-users-repository) by GitHub on how you can edit & contribute. +Since our projects and their tutorials are available and opensourced for everyone, you can step us and report issues, resolve them and become a contributor too. [Follow this short guide](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files#editing-files-in-another-users-repository) by GitHub on how you can edit & contribute. ## ✨ Contributors