Day 100 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge on
LearnWeb3IO
started working on a Dex app, set up foundry in it.
installed openzeppelin contracts to build out the ERC-20 Token.
configured remappings in the project and wrote simple contracts to start.
Day 99 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge on
@LearnWeb3IO
Completed the Onchain-DAO app, it just need some bugs fixed to work properly. started building a Decentralized Exchange app like Uniswap v1. initialized foundry init, added openzepp contracts
Day 98 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge on LearnWeb3IO
1. completed writing the Homepage.
2. updated some hooks
3. corrected typos and errors, still some bugs pending to be fixed.
Day 97 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge .
1. completed styling for the website.
2.added a walletconnect projectid from @WalletConnect Cloud
3. modified layout
Day 96 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge .
1.Successfully deployed DAO contract and completed the deployment of all three contracts.
2. initialized nextjs to work on the frontend, defined the constants for contracts, wrote css to style the website.
Day 95 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge .
added a modifier to my activeProposal function, fixed some typos and errors in the CryptoDevsNFT contract, deployed both NFT and Fake NFT Marketplace contract and finally deployed the DAO contract.
Day 94 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge .
added a function to allow the contract owner to withdraw ETH from the DAO if needed and also added a couple of special functions in my FakeNFTMarketPlace contract to allow adding more ETH deposits to the DAO.
Day 93 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge .
completed executeProposal function and add a withdraw Ether function which will help to transfer the entire ETH balance of the contract to the owner address as the ownable contract contains modifier onlyOwner
Day 92 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge .
wrote a final modifier to complete my voteOnproposal function which will help to execute a proposal whose deadline has exceeded, also wrote a code for executeProposal function.
Day 91 of #100DaysofCode #100DaysofCodeLW, #100daysofcodechallenge
added enum to contain possible options for a vote, wrote a function "voteOnProposal" to allow a cryptoDevsNFT holder to cast their vote on an active proposal.