Commit Graph

25 Commits

Author SHA1 Message Date
Camila Sosa Morales 6451208871
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 <zo.fmendes@gmail.com>
2022-12-14 18:28:15 -03:00
Camila Sosa Morales 09d24f9723
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 <zo.fmendes@gmail.com>

* Apply suggestions from code review

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* 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 <zo.fmendes@gmail.com>
2022-12-13 09:32:55 -03:00
Felipe Mendes 94c364836e
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 <jsonsivar@gmail.com>

* 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 <artie.eth@gmail.com>
Co-authored-by: daltoncoder <71679972+daltoncoder@users.noreply.github.com>
Co-authored-by: janison <jsonsivar@gmail.com>
2022-12-12 16:56:17 -03:00
Camila Sosa Morales 315672243b
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
2022-12-05 15:15:21 -03:00
Shredder 56ea6ad16c
Merge pull request #17 from FleekHQ/EmperorOrokuSaki-patch-1
Zapier test
2022-12-02 01:32:04 +03:30
Shredder 6d1ada7fec
Zapier test 2022-12-02 01:30:27 +03:30
Camila Sosa Morales c3f4030173
feat: boilerplate for UI (#14)
* feat: boilerplate for UI

* refactor: rename files. change default export for named export
2022-12-01 10:25:30 -03:00
Camila Sosa Morales 320a5a45e3
Add tests (#4)
* refactor: move strings declarations to contracts

* feat: added test for FleekSite contract, also did small refactor on SitesNFTs contract test

* refactor: renamed metadadUpdated event due to conflicts

* feat: added test for FleekSite contract
2022-11-29 11:23:39 -03:00
Felipe Mendes 3a316a6fea
feat: add fleek site nft interfaces and implementation (#2)
* feat: add fleek site nft interfaces and implementation

* refactor: rename contracts and interfaces

* refactor: replace FleekAccessControl with AccessControl from open zeppelin

* refactor: split structure in public variables

* feat: add Fleek and FleekSite constructors

* refactor: remove getMetadata functions
2022-11-24 09:19:45 -03:00
Felipe Mendes 80a0ae98c1
refactor: repo structure (#1)
* chore: update .gitignore folders and add testing script

* feat: sites nft interface

* refactor: implement interface in the contract file

* chore: apply code formatting
2022-11-23 09:09:39 -03:00
miguelToscano f3c49a4261 added access control layer over nft updates 2022-11-10 00:15:56 -03:00
miguelToscano 570f0124a3 updated updateMethod 2022-11-09 15:01:33 -03:00
miguelToscano 334f520331 Added update method 2022-11-03 01:57:09 -03:00
miguelToscano 20b5833785 removed comment 2022-10-12 20:56:37 -03:00
miguelToscano 9d40d9d807 renamed mint param 2022-10-12 20:50:52 -03:00
miguelToscano 388e31c81c removed console log 2022-10-12 16:38:40 -03:00
miguelToscano 5eccdf550d fixed overriden baseURI method 2022-10-12 16:37:46 -03:00
miguelToscano 9ef259d559 fixed minting permissions and added tests 2022-10-12 16:20:30 -03:00
miguelToscano 5a5b6dd695 fixed 2022-10-11 16:03:05 -03:00
miguelToscano e5b64ef8e6 added return statement 2022-10-11 16:02:35 -03:00
miguelToscano a872fe50f6 added tests 2022-10-11 15:32:05 -03:00
miguelToscano a5381f2d72 finished contract 2022-10-11 14:54:52 -03:00
miguelToscano c31c466ce9 added base token uri 2022-10-05 20:09:37 -03:00
miguelToscano 0d7d03c09c Hardhat project creation 2022-09-27 17:03:28 -03:00
miguelToscano 1544de857d
Initial commit 2022-09-27 16:57:59 -03:00