Tags: fleekxyz/non-fungible-apps
Tags
refactor: UI page layout component nesting and move app context to re… …dux (#265) * refactor: remove app context to use redux instead * refactor: gradient overlay to single element * refactor: app state backgroundColor to overlayColor * refactor: app page nesting and positioning
release: pre-alpha preview v0.0.2 (#123) * wip: refactor on current nft contract * wip: FleekERC721 contract * refactor: FleekERC721 * feat: add token controller control functions * fix: sintax wise issues for compilation * Fix errors and make the contract environment ready for compiling. * Remove fleekbuilds.sol & update erc721 with a fix * Update config files. * fix: working deploy * Make set methods public, add comments and notes to clarify issues. * Update package.json to add the deploy script & remove package-lock.json from the repository * Add two deploy scripts for local and mumbai deployments, update hardhat config to match two types and package.json * Update TokenURI and the metadata struct * Update deploy script and package.json to match the mumbai deploy script * Add setTokenName, setTokenDescription, setTokenImage * Add events to all set functions * UI 11: refactor vite.config.json (#20) * refactor: refactor vite.config.json and tsconfig.json. Removed tsconfig.node.json. Added files to gitignore * refactor: changes requested from review * Foundry init configs * Add foundry tests init (name, symbol, placeholder functions) * test: hardhat (#21) * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * Fix abi encoding on tokenURI * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * test: improve assertion using deep equality * chore: remove 0.4.24 version from hardhat compilers * refactor: clear empty bytes from bytes32 * refactor: change properties from bytes32 to string Co-authored-by: janison <[email protected]> * add test suites * update erc * Fix token owner error * feat: add interaction scripts * feat: add function signature to remove token controllers on transfer functions * Remove cache files, add/fix tests, update contract to remove/change methods * add more foundry tests for edge cases * Make Burn TokenOwnerOnly & Add test suites * Update test commands & add forge-cache and out to .gitignore * refactor: change token controller role validation to _beforeTokenTransfer function * refactor: remove upgradeTokenBuild and fix burn requirement * refactor: add isTokenController and move _clearTokenControllers to FleekAccessControl contract * refactor: remove localhost and wrong mumbai deployments * refactor: rename polygonMumbai to mumbai * refactor: remove twiced name on gitignore * chore: mumbai deployments * refactor: util script to get contract using hardhat defined network * Add msg.sender to the triggered_by field in events * feat: fleek erc721 (#5) * wip: refactor on current nft contract * wip: FleekERC721 contract * refactor: FleekERC721 * feat: add token controller control functions * fix: sintax wise issues for compilation * Fix errors and make the contract environment ready for compiling. * Remove fleekbuilds.sol & update erc721 with a fix * Update config files. * fix: working deploy * Make set methods public, add comments and notes to clarify issues. * Update package.json to add the deploy script & remove package-lock.json from the repository * Add two deploy scripts for local and mumbai deployments, update hardhat config to match two types and package.json * Update TokenURI and the metadata struct * Update deploy script and package.json to match the mumbai deploy script * Add setTokenName, setTokenDescription, setTokenImage * Add events to all set functions * Foundry init configs * Add foundry tests init (name, symbol, placeholder functions) * test: hardhat (#21) * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * Fix abi encoding on tokenURI * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * test: improve assertion using deep equality * chore: remove 0.4.24 version from hardhat compilers * refactor: clear empty bytes from bytes32 * refactor: change properties from bytes32 to string Co-authored-by: janison <[email protected]> * feat: add interaction scripts * feat: add function signature to remove token controllers on transfer functions * Update test commands & add forge-cache and out to .gitignore * refactor: change token controller role validation to _beforeTokenTransfer function * refactor: remove upgradeTokenBuild and fix burn requirement * refactor: add isTokenController and move _clearTokenControllers to FleekAccessControl contract * refactor: remove localhost and wrong mumbai deployments * refactor: rename polygonMumbai to mumbai * refactor: remove twiced name on gitignore * chore: mumbai deployments * refactor: util script to get contract using hardhat defined network * chore: move forge-std as a submodule * chore: move forge-std as a submodule Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: daltoncoder <71679972 [email protected]> Co-authored-by: janison <[email protected]> * Document methods and make everything camelCase * remove deployments/localhost * remove lib/forge-std * fix hardhat tests by removing the author arg * feat: mint site view (#15) * wip: add routes * refactor: add config for hot reload con vite.config.js * wip: added chakra-ui. start with the form * feat: add formik for form validation * feat: added validation for addresses * feat: add success/failure message. add onSubmit handler * feat: add setSubmitting false * feat: update metadata fields * wip: add mocked function * feat: mocked onSubmit funciton * Apply suggestions from code review Co-authored-by: Felipe Mendes <[email protected]> * Apply suggestions from code review Co-authored-by: Felipe Mendes <[email protected]> * refactor: PR review changes * feat: add validation for image urls. remove controller address * reafctor: refactor fields validation * refactor: create input field component * style: add responsive styles. change bg color and font. change back button * refactor: apply PR comments Co-authored-by: Felipe Mendes <[email protected]> * Make event params all camelCase * feat: minted site detail (#36) * feat: add detail view. add home button component. add loading component * feat: add tile info component * style: change bg color and front family * refactor: remove old file * style: new style for detail view * chore: fix comments * refactor: change SiteNFTDetail type * refactor: PR comments changes Co-authored-by: Felipe Mendes <[email protected]> * chore: readd removed submodule * fix rebase conflict * fixing merge conflicts from rebasing * fix merge * fix merge conflict in gitignore * package.json fix * fix erc721 * refactor: add version for roles * test: add collection roles tests * test: add more token role hardhat tests * chore: add clear token function comment * chore: add husky and lint-staged * fix merge * chore: add prepush test hook * chore: add skip tests flag * chore: remove skip tests flag * fix * fix * Fix hardhat tests by removing the author field. * fix tokenURI return json * feat: list minted sites (#42) * feat: add mintes sites list view * wip: add card but need styles * style: add style to site card component * style: add style to site card * fix: fix onClick propagation * chore: remove unused param * Apply suggestions from code review Co-authored-by: Felipe Mendes <[email protected]> * Update list.tsx Co-authored-by: Felipe Mendes <[email protected]> * chore: precommit hooks (#18) * chore: add husky and lint-staged * chore: add postinstall script * chore: add prepush test hook * chore: add skip tests flag * chore: remove skip tests flag * chore: fix format command to verify json files * feat: add toast hook (#44) * feat: add toast hook * refactor: changes on useToast based on PR comments * reactor: refactor on useToast * chore: add test workflow (#19) * chore: add test workflow * chore: upgrade package lock * chore: add ui tests workflow job * chore: add compile and build steps for test workflow * chore: remove ui test command to run just build on workflow * chore: fix missed conflict * chore: add foundry installation on test workflow * fix: wrong sintax breaking test * chore: set foundry version in workflow * fix: foundry lib version * fix: forge-std submodule * refactor: remove extension AccessControl from FleekAccessControl (#28) * refactor: remove extension AccessControl from FleekAccessControl * refactor: add version for roles * test: add collection roles tests * test: add more token role hardhat tests * refactor: remove lib/forge-std * feat: add role grant and revoke events * test: add access control role event emit tests * refactor: remove abstract keyword from FleekAccessControl * Merge conflicts for #28 (#49) * Add msg.sender to the triggered_by field in events * Document methods and make everything camelCase * Make event params all camelCase * fix: forge-std submodule * make vars camelCase, remove baseURI header, remove addTokenController and removeTokenController, update tests Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: zoruka <[email protected]> Co-authored-by: Janison Sivarajah <[email protected]> Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> * add function headers for accesscontrole.sol * feat: UI metamask integration (#41) * feat: add redux and metamask slice * refactor: move from metamask to generic wallet using ethers * feat: add wallet button base * feat: add getContract function and mint functionality * refactor: move functions to ethereum file * feat: wallet menus and disconnect function * refactor: Ethereum object typings * feat: add FleekERC721 contract interaction abstraction * refactor: remove token detail fetch mock using * refactor: add ethereum mint function to mint site component * feat: add wallet initialize * wip: add signature for lastTokenId function * feat: integrate list of tokens * refactor: mint params construct * fix: global window.ethereum type definition * fix: remove console log * fix: remove todo comment * fix: list view items displaying * add header docs for modifiers and constructors. * chore: add readme base (#12) * chore: add readme base * chore: add proof of concept section on readme * chore: add contributing file * chore: update contributing opening line * chore: add nft presentable info for contract roadmap * chore: add developing and testing sections on readme * chore: remove deploy section on contributing * chore: add code styling section in readme * chore: add project structure section in readme * Add readme with initialization text. * chore: add user interface section in readme * update the interactions guide * Moved test and deployment guides to the main readme and implemented the requested changes. * Change NPM commands to Yarn commands * Add a note for forge-std * docs: fix repo links * style: add style on readme and remove comments from merge * docs: add interaction script examples on readme * docs: remove extra separator * docs: remove extra separator * docs: comment mainnet section on readme * chore: fix repo links on package.json * docs: update project sctructure * chore: UI readme (#55) * docs: update test output examples * docs: add submodule fetch command * docs: add new texts mentioned in pr * docs: add new texts mentioned in pr * docs: fix hardhat node command * chore: move POC info to wiki * docs: remove extra separator * fix: deployment scripts (#56) * chore: add comments in .env.example * chore: update interaction scripts readme section position and link to a deployment guide * docs: fix hint message position * doc: add external lobraries section * chore: update repo name and its bindings (#57) * docs: update readme libraries section Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: Camila Sosa Morales <[email protected]> Co-authored-by: Janison Sivarajah <[email protected]> * Release/0.0.1 fixes (#60) * Update LICENSE * Update README.md * Update local_deploy.js * Update FleekERC721.sol * fix: mumbai deploy args * fix: fix comments release (#61) Co-authored-by: Janison Sivarajah <[email protected]> Co-authored-by: Camila Sosa Morales <[email protected]> * fix: readme and contributing file wiki broken links (#62) * fix: ui readme broken wiki link (#63) * Apply suggestions from code review Co-authored-by: Shredder <110225819 [email protected]> * Add SVG generation test and function. * Add optimization to hardhat config & comment the tokenURI hardhat test * fix: refetching queries (#65) * fix: fix refetcing data on focused * fix: add key to SiteCard items * fix: broken json (#66) * fix: fix broken json error. saving the description correctly * fix: fix pr review comments * fix: fix text display when theres no breakline * fix: fix break lines text on details view. Move the \n replacing to the lib * Move calling _genenrateSVG() to tokenURI() from mint() * Change _generateSVG() mutability to pure from view * Remove foundry test cases that call setTokenImage() since that function is removed from the code base * Fix the HardHat decoding bug by adding base URI to _generateSVG() and updating foundry tests * refactor: UI improvements (#67) * feat: add pointer on SiteCard * fix: don`t show ens when it`s empty * style: add icons on wallet button * styles: align home button on same splace in all views * style: add tooltip on attributes card * chore: install react-icons * feat: add paste feature on owner address field * style: add icon of connected wallet * style: add icon metamask * fix: fix error message on owner address field * chore: remove console.log * style: add colors theme * refactor: refactor icons. Create icon component * refactor: remove function from component * fix: fix husky precommit to add jsx and tsx files * refactor: add metamask icon * fix: fix import * chore: remove metamask svg from assets * feat: add app access points and libraries clean up (#69) * feat: add mirror mapping and management * test: add mirrors tests * chore: add new functions header comments * feat: add isMirrorVerified function * feat: add list of mirrors to token * feat: add require minted to appMirrors function * chore: update solidity compiler on hardhat config * refactor: add token id to other mirror events * refactor: change from mirror to access point and update its metadata * test: updates tests due to contract changes * refactor: clean up string parser from main contract * refactor: remove wronge requirement comments * refactor: strings library (#71) * refactor: move string parse functions to a library * refactor: remove not used modifier * refactor: move svg generation to library * refactor: remove source from aps * refactor: rename accessPoint function * chore: add tailwind and stitches (#75) * styles: add stitches * style: add tailwaind * style: remove sizes * chore: add storybook with sample story * refactor: remove storybook eslint * refactor: add tailwind with vite * fix: fix storybook script * style: dark mode * style: add google fonts * style: add radix colors * style: add radix library * refactor: remove light colors, not used for now * chore: add comment to remove story example * docs: fix mistakes in CONTRIBUTING.md (#64) * Update CONTRIBUTING.md * Apply requested changes. * chore: stitches config for drip (#80) * style: add config stithces for drip and storybook * reafctor: remove commented lines * chore: remove unused library * refactor: merge with develop and fix conflicts * fix: fix storybook * style: add black bg color for dark mode on storybook * chore: button component (#81) * chore: add button component with storybook * chore: add stories button * refactor: remove github custom logo * fix: fix build * chore: changes based on PR review * chore: remove chakra (#86) * refactor: remove chakra * refactor: remove stitches folder * feat: svg preview test screen (#88) * feat: add svg test screen * chore: add svg test comments * test: foundry tests for access points (#79) * feat: add mirror mapping and management * test: add mirrors tests * chore: add new functions header comments * feat: add isMirrorVerified function * feat: add a list of mirrors to token * feat: add require minted to appMirrors function * chore: update solidity compiler on hardhat config * refactor: add token id to other mirror events * refactor: change from mirror to access point and update its metadata * test: updates tests due to contract changes * refactor: clean up string parser from main contract * refactor: remove wronge requirement comments * refactor: strings library (#71) * refactor: move string parse functions to a library * refactor: remove not used modifier * refactor: move svg generation to library * refactor: remove source from aps * refactor: rename accessPoint function * test: fix two foundry test cases * test: fix tests that were not working. * fix: apply requested changes. --------- Co-authored-by: zoruka <[email protected]> * chore: input component (#84) * fix: fix button stories (#87) * feature: stepper component (#91) * feat: subgraph setup for the FleekNFA contracts (#72) * Add verify script and update hardhat config to automate all future code verifications on polygonscan * Update deployments to match the new deployed instance of the contract on polygon mumbai testnet (verified) * feat: Generate the base of the subgraph by graph-cli based on the verified deployed instance on mumbai * bug: fixed type errors in the typescript specification file. * chore: generate a new build of the subgraph * feat: write a script to perform multiple types of queries on the subgraph * docs: Write a README for the query-examples directory to guide users on how they can perform queries * chore: remove the heavy subgraph generated WASM and add all .WASM files to .gitignore * chore: apply the requested changes from Zoruka on the verify_polyscan.js file * docs: write the readme doc for the subgraph * chore: remove deploy from package.json and add build, abis, and generated to .gitignore * chore: remove abis, build, and generated from the branch * chore: move query-examples to examples/query/ and gitignore .graphclient * docs: update readme (add a section for developing and describe build and generated directories better) * chore: remove graphql from the root package.json file * chore: prepare the contracts to be upgradable using openzeppelin proxy plugin (#76) * feat: add proxy upgradable base setting * refactor: upgrade contracts to fit upgradable pattern * fix: hardhat test default fixture * test: trying to fix foundry tests * fix: remove wrong modifier from FleekAccessControl initializer * refactor: change __FleekAccessControl_init function from public to internal * refactor: add __FleekAccessControl_init modifier * feat: proxy store script * chore: add .openzeppelin development files in gitignore * refactor: update local deploy script to use proxy * refactor: mumbai deployment with proxy and fix interaction scripts * test: fix proxy storing values * refactor: proxy storage deploy order * test: move proxy test to deploy folder * refactor: deployment scripts * docs: fix local deploy command * refactor: add more logs in deploy scripts * feat: write deployment files script * refactor: use file scripts in proxy-deploy * refactor: deployment files for mumbai * feat: add token and holder entities (#94) * chore: add the verify command to the package.json file * docs: add the re-deployment section to the README.md file * feat: add support for token and holder entities based on transfer events that are emitted from the contract during the mint process. --------- Co-authored-by: EmperorOrokuSaki <[email protected]> * refactor: change svg generation to match design and update how it is write/read in contract (#95) * refactor: update contract with logo and color, add new svg styling * refactor: fix color storaging * test: fix tests for new app metadata * test: fix solidity tests * chore: update latest deployment files * feat: update mint script and add assets files * refactor: move assets files * refactor: update svg generation styling * feat: add library deployment storage * test: fix contract tests * feat: add setTokenLogo and setTokenColor contract functions * test: add hardhat tests for new set functions * test: add foundry tests for new set functions, split out constant strings to constants library * chore: remove leftover comment * feat: add setTokenLogoAndColor function * test: add test for setTokenLogoAndColor function * test: add test for setTokenLogoAndColor function on foundry * feat: add controller entity and handlers. (#99) * feat: add controller entity and handlers. * chore: update the log messages to be more precise * fix: mistake in the log of roleRevoked events. * feat: replace the Holder entity with the Owner and handle transfer and mint cases. (#100) * chore: change top level folder structure (#105) * folder restructure init - WIP * Update husky for folder change * Properly ignore local zeppelin file * change folder strucutre: update readme and contribution files * remove chakra from readme list of key dependencies * run contract workflow steps in contract dir * Cleanup readmes, split contract into it's own * Apply some suggestions from code review Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: Felipe Mendes <[email protected]> * Move .env.example to contracts folder, and use consistent format for directory references in docs * More readme dir ref fixes * Update poc note in readme, and removed deploy folder from readme * Prettier refactor * Revert "Prettier refactor" This reverts commit 82249e3. * Clean up package.json and add prettier ignore --------- Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: Felipe Mendes <[email protected]> * Forgot to add yarn.lock so separate hotfix pr for it (#108) * styles: fix styles icon button (#98) * chore: rename files * styles: fix styles icon button * chore: remove commented lines * chore: card component (#112) * chore: add card component * refactor: refactor con input styles and added icon * chore: add missing files * Update ui/src/components/card/card.styles.ts Co-authored-by: Felipe Mendes <[email protected]> * Update ui/src/components/card/card.tsx Co-authored-by: Felipe Mendes <[email protected]> * Update ui/src/components/card/card.tsx Co-authored-by: Felipe Mendes <[email protected]> * Update ui/src/components/card/card.tsx Co-authored-by: Felipe Mendes <[email protected]> * chore: change CardText to Text --------- Co-authored-by: Felipe Mendes <[email protected]> * chore: dropdown component (#90) * wip: add dropdown component * wip: added search functionality on dropdown * chore: dropdown component with properties * style: set width pase on parent * refactor: remove old dropdown component and add headless ui * chore: remove unsued radix component dependency * chore: add yarn.lock on root fodler * refactor: remove old folders from root project * chore: add import on index * chore: apply PR review * test: improve foundry test with best practices (#102) * test: add FleekERC721 test base mint and uri * chore: update forge-std version * test: add FleekERC721 burn tests * test: fix role getter * test: add access tests for random address * test: add access tests for owner address * test: add test revert assertions * test: apply revert assertions * test: remove already split tests * fix: wrong renamed file * test: move access point tests * test: refactor access control tests * test: add deploy test cases * test: add balance before and after mint test * test: remove old testsuit * chore: update foundry test folder strcture * test: add assertion to verify added role for random address * test: fix test functions names * test: remove test_addAccessPoint * test: add assertion for appAccessPoints length * test: remove unnecessary assertions on test_tokenURI * test: rename test files * test: refactor testFail to test * feat: mint step 1 UI layout connect with GitHub (#113) * feat: add gh steps * fix: fix import as change the component name * chore: add context for mint view * fix: fix styles for dropdown * chore: add dropdown on github components * styles: fix styles for github repository config card * fix: apply PR review comments * style: reuse no results component * chore: refactor hardhat tests (#103) * chore: rearrange hardhat tests folder structure * chore: add FleekERC721 hardhat test helpers * test: split out deployment tests * test: split out minting tests * test: split out token uri tests * test: split out token roles tests * test: split out collection roles tests * test: split out access points tests * test: split out update properties tests * test: improve test setup for aps and deployment * test: move test resultant base64 logos to constants file * test: init subgraph unit tests (#117) * test: add unit tests for the subgraph for events transfer, NewTokenName, NewTokenDescription, NewTokenExternalURL, NewTokenENS, NewTokenBuild * fix: import errors * fix: remove keyword "indexed" for strings in events. * fix: update subgraph.yaml, schema.graphql, and all generated files with the test files to match the new interface of the contract events. * fix: expose a makeEventId function to avoid repeating code for id generation and also change logIndex before handling events. Update tests to match the new changes. * chore: remove Holder. * fix: wrong import for newLogoEvent * feat: new GH action for the subgraph (#120) * feat: add subgraph unit tests to github action. * feat: add yarn codegen to the github action. * feat: create a subgraph action, remove unit testing subgraphs from test action. * fix: add the location of the contracts. * chore: remove empty tabs from GH workflow files. * chore: add path to the subgraph github action and also add build command. * fix: include a yarn compile step in the subgraph github action. * feat: collection and collectionOwner entities (#122) * feat: add Collection and CollectionOwner entities. Handle CollectionOwner on CollectionRoleGranted and CollectionRoleRevoked events. * feat: collection entity and its handler. * feat: expose a function that returns all non-nested values of an App (#119) * feat: expose a getToken function that returns all non-nested values of an app. Remove the access point mapping in the App struct. * test: add test for getToken to hardhat * test: add test cases for getToken (forge tests). * docs: update header comments for getToken * fix: apply Zoruka's suggestion * fix: apply Zoruka's suggestion for expectingRevert * fix: revert expectRevert * chore: remove leftover lib folder after folder refactor. lib is now inside the contracts sub project folder * chore: remove extra files committed due to folder structure refactor * chore: delete leftover file from folder structure refactor * chore: cleanup UI folders that were leftover from folder structure refactor * chore: fix release 0.0.2 merge conflicts from folder structure refactor * chore: mint form (#115) * wip: form for mint * style: change bgcolor for disabled button * fix: add key to list items * styles: add some spacings and border radius * refactor: change type file and move file validation to form * feat: add minted nft card. add wallet step * refactor: add mint card header to not repeat code * styles: add border radius to svg * styles: fix styles on mint view * style: fix height mint view * fix: fix save repository config * chore: changes based on PR review --------- Co-authored-by: zoruka <[email protected]> Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: daltoncoder <71679972 [email protected]> Co-authored-by: Camila Sosa Morales <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: Camila Sosa Morales <[email protected]>
Version 0.0.1 develop -> main [RELEASE] (#50) * wip: refactor on current nft contract * wip: FleekERC721 contract * refactor: FleekERC721 * feat: add token controller control functions * fix: sintax wise issues for compilation * Fix errors and make the contract environment ready for compiling. * Remove fleekbuilds.sol & update erc721 with a fix * Update config files. * fix: working deploy * Make set methods public, add comments and notes to clarify issues. * Update package.json to add the deploy script & remove package-lock.json from the repository * Add two deploy scripts for local and mumbai deployments, update hardhat config to match two types and package.json * Update TokenURI and the metadata struct * Update deploy script and package.json to match the mumbai deploy script * Add setTokenName, setTokenDescription, setTokenImage * Add events to all set functions * UI 11: refactor vite.config.json (#20) * refactor: refactor vite.config.json and tsconfig.json. Removed tsconfig.node.json. Added files to gitignore * refactor: changes requested from review * Foundry init configs * Add foundry tests init (name, symbol, placeholder functions) * test: hardhat (#21) * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * Fix abi encoding on tokenURI * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * test: improve assertion using deep equality * chore: remove 0.4.24 version from hardhat compilers * refactor: clear empty bytes from bytes32 * refactor: change properties from bytes32 to string Co-authored-by: janison <[email protected]> * add test suites * update erc * Fix token owner error * feat: add interaction scripts * feat: add function signature to remove token controllers on transfer functions * Remove cache files, add/fix tests, update contract to remove/change methods * add more foundry tests for edge cases * Make Burn TokenOwnerOnly & Add test suites * Update test commands & add forge-cache and out to .gitignore * refactor: change token controller role validation to _beforeTokenTransfer function * refactor: remove upgradeTokenBuild and fix burn requirement * refactor: add isTokenController and move _clearTokenControllers to FleekAccessControl contract * refactor: remove localhost and wrong mumbai deployments * refactor: rename polygonMumbai to mumbai * refactor: remove twiced name on gitignore * chore: mumbai deployments * refactor: util script to get contract using hardhat defined network * Add msg.sender to the triggered_by field in events * feat: fleek erc721 (#5) * wip: refactor on current nft contract * wip: FleekERC721 contract * refactor: FleekERC721 * feat: add token controller control functions * fix: sintax wise issues for compilation * Fix errors and make the contract environment ready for compiling. * Remove fleekbuilds.sol & update erc721 with a fix * Update config files. * fix: working deploy * Make set methods public, add comments and notes to clarify issues. * Update package.json to add the deploy script & remove package-lock.json from the repository * Add two deploy scripts for local and mumbai deployments, update hardhat config to match two types and package.json * Update TokenURI and the metadata struct * Update deploy script and package.json to match the mumbai deploy script * Add setTokenName, setTokenDescription, setTokenImage * Add events to all set functions * Foundry init configs * Add foundry tests init (name, symbol, placeholder functions) * test: hardhat (#21) * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * Fix abi encoding on tokenURI * chore: update hardhat config * test: add FleekERC721 tests and remove not used SitesNFTs suit * test: verify ERC721 compatibility * Content type on second abi.encodePacked call in tokenURI * test: improve assertion using deep equality * chore: remove 0.4.24 version from hardhat compilers * refactor: clear empty bytes from bytes32 * refactor: change properties from bytes32 to string Co-authored-by: janison <[email protected]> * feat: add interaction scripts * feat: add function signature to remove token controllers on transfer functions * Update test commands & add forge-cache and out to .gitignore * refactor: change token controller role validation to _beforeTokenTransfer function * refactor: remove upgradeTokenBuild and fix burn requirement * refactor: add isTokenController and move _clearTokenControllers to FleekAccessControl contract * refactor: remove localhost and wrong mumbai deployments * refactor: rename polygonMumbai to mumbai * refactor: remove twiced name on gitignore * chore: mumbai deployments * refactor: util script to get contract using hardhat defined network * chore: move forge-std as a submodule * chore: move forge-std as a submodule Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: daltoncoder <71679972 [email protected]> Co-authored-by: janison <[email protected]> * Document methods and make everything camelCase * remove deployments/localhost * remove lib/forge-std * fix hardhat tests by removing the author arg * feat: mint site view (#15) * wip: add routes * refactor: add config for hot reload con vite.config.js * wip: added chakra-ui. start with the form * feat: add formik for form validation * feat: added validation for addresses * feat: add success/failure message. add onSubmit handler * feat: add setSubmitting false * feat: update metadata fields * wip: add mocked function * feat: mocked onSubmit funciton * Apply suggestions from code review Co-authored-by: Felipe Mendes <[email protected]> * Apply suggestions from code review Co-authored-by: Felipe Mendes <[email protected]> * refactor: PR review changes * feat: add validation for image urls. remove controller address * reafctor: refactor fields validation * refactor: create input field component * style: add responsive styles. change bg color and font. change back button * refactor: apply PR comments Co-authored-by: Felipe Mendes <[email protected]> * Make event params all camelCase * feat: minted site detail (#36) * feat: add detail view. add home button component. add loading component * feat: add tile info component * style: change bg color and front family * refactor: remove old file * style: new style for detail view * chore: fix comments * refactor: change SiteNFTDetail type * refactor: PR comments changes Co-authored-by: Felipe Mendes <[email protected]> * chore: readd removed submodule * fix rebase conflict * fixing merge conflicts from rebasing * fix merge * fix merge conflict in gitignore * package.json fix * fix erc721 * refactor: add version for roles * test: add collection roles tests * test: add more token role hardhat tests * chore: add clear token function comment * chore: add husky and lint-staged * fix merge * chore: add prepush test hook * chore: add skip tests flag * chore: remove skip tests flag * fix * fix * Fix hardhat tests by removing the author field. * fix tokenURI return json * feat: list minted sites (#42) * feat: add mintes sites list view * wip: add card but need styles * style: add style to site card component * style: add style to site card * fix: fix onClick propagation * chore: remove unused param * Apply suggestions from code review Co-authored-by: Felipe Mendes <[email protected]> * Update list.tsx Co-authored-by: Felipe Mendes <[email protected]> * chore: precommit hooks (#18) * chore: add husky and lint-staged * chore: add postinstall script * chore: add prepush test hook * chore: add skip tests flag * chore: remove skip tests flag * chore: fix format command to verify json files * feat: add toast hook (#44) * feat: add toast hook * refactor: changes on useToast based on PR comments * reactor: refactor on useToast * chore: add test workflow (#19) * chore: add test workflow * chore: upgrade package lock * chore: add ui tests workflow job * chore: add compile and build steps for test workflow * chore: remove ui test command to run just build on workflow * chore: fix missed conflict * chore: add foundry installation on test workflow * fix: wrong sintax breaking test * chore: set foundry version in workflow * fix: foundry lib version * fix: forge-std submodule * refactor: remove extension AccessControl from FleekAccessControl (#28) * refactor: remove extension AccessControl from FleekAccessControl * refactor: add version for roles * test: add collection roles tests * test: add more token role hardhat tests * refactor: remove lib/forge-std * feat: add role grant and revoke events * test: add access control role event emit tests * refactor: remove abstract keyword from FleekAccessControl * Merge conflicts for #28 (#49) * Add msg.sender to the triggered_by field in events * Document methods and make everything camelCase * Make event params all camelCase * fix: forge-std submodule * make vars camelCase, remove baseURI header, remove addTokenController and removeTokenController, update tests Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: zoruka <[email protected]> Co-authored-by: Janison Sivarajah <[email protected]> Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> * add function headers for accesscontrole.sol * feat: UI metamask integration (#41) * feat: add redux and metamask slice * refactor: move from metamask to generic wallet using ethers * feat: add wallet button base * feat: add getContract function and mint functionality * refactor: move functions to ethereum file * feat: wallet menus and disconnect function * refactor: Ethereum object typings * feat: add FleekERC721 contract interaction abstraction * refactor: remove token detail fetch mock using * refactor: add ethereum mint function to mint site component * feat: add wallet initialize * wip: add signature for lastTokenId function * feat: integrate list of tokens * refactor: mint params construct * fix: global window.ethereum type definition * fix: remove console log * fix: remove todo comment * fix: list view items displaying * add header docs for modifiers and constructors. * chore: add readme base (#12) * chore: add readme base * chore: add proof of concept section on readme * chore: add contributing file * chore: update contributing opening line * chore: add nft presentable info for contract roadmap * chore: add developing and testing sections on readme * chore: remove deploy section on contributing * chore: add code styling section in readme * chore: add project structure section in readme * Add readme with initialization text. * chore: add user interface section in readme * update the interactions guide * Moved test and deployment guides to the main readme and implemented the requested changes. * Change NPM commands to Yarn commands * Add a note for forge-std * docs: fix repo links * style: add style on readme and remove comments from merge * docs: add interaction script examples on readme * docs: remove extra separator * docs: remove extra separator * docs: comment mainnet section on readme * chore: fix repo links on package.json * docs: update project sctructure * chore: UI readme (#55) * docs: update test output examples * docs: add submodule fetch command * docs: add new texts mentioned in pr * docs: add new texts mentioned in pr * docs: fix hardhat node command * chore: move POC info to wiki * docs: remove extra separator * fix: deployment scripts (#56) * chore: add comments in .env.example * chore: update interaction scripts readme section position and link to a deployment guide * docs: fix hint message position * doc: add external lobraries section * chore: update repo name and its bindings (#57) * docs: update readme libraries section Co-authored-by: EmperorOrokuSaki <[email protected]> Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: Camila Sosa Morales <[email protected]> Co-authored-by: Janison Sivarajah <[email protected]> * Release/0.0.1 fixes (#60) * Update LICENSE * Update README.md * Update local_deploy.js * Update FleekERC721.sol * fix: mumbai deploy args * fix: fix comments release (#61) Co-authored-by: Janison Sivarajah <[email protected]> Co-authored-by: Camila Sosa Morales <[email protected]> * fix: readme and contributing file wiki broken links (#62) * fix: ui readme broken wiki link (#63) * Apply suggestions from code review Co-authored-by: Shredder <110225819 [email protected]> Co-authored-by: zoruka <[email protected]> Co-authored-by: daltoncoder <71679972 [email protected]> Co-authored-by: Camila Sosa Morales <[email protected]> Co-authored-by: janison <[email protected]>