Commit Graph

56 Commits

Author SHA1 Message Date
EmperorOrokuSaki 7ac1502885 Document methods and make everything camelCase 2022-12-12 23:43:41 +03:30
EmperorOrokuSaki 3cf9be4528 Add msg.sender to the triggered_by field in events 2022-12-12 18:42:00 +03:30
zoruka ca177a0ffe refactor: util script to get contract using hardhat defined network 2022-12-08 16:28:03 -03:00
zoruka e63a9e765a chore: mumbai deployments 2022-12-08 10:57:05 -03:00
zoruka 51136a4ebe chore: fix local merge conflicts 2022-12-08 10:33:37 -03:00
zoruka 84d89141d6 refactor: remove twiced name on gitignore 2022-12-08 10:27:08 -03:00
zoruka d423caf741 refactor: rename polygonMumbai to mumbai 2022-12-08 10:26:06 -03:00
zoruka e01c3d7175 refactor: remove localhost and wrong mumbai deployments 2022-12-08 10:24:33 -03:00
zoruka 45118cb930 refactor: add isTokenController and move _clearTokenControllers to FleekAccessControl contract 2022-12-08 10:22:08 -03:00
zoruka 12a7a2cdf9 refactor: remove upgradeTokenBuild and fix burn requirement 2022-12-08 10:10:57 -03:00
zoruka 752bbb896a refactor: change token controller role validation to _beforeTokenTransfer function 2022-12-08 10:00:49 -03:00
EmperorOrokuSaki c74a270579 Update test commands & add forge-cache and out to .gitignore 2022-12-08 16:22:17 +03:30
zoruka b426d718f6 chore: fix conflicts 2022-12-07 15:49:08 -03:00
zoruka 9cf5a5ad9e feat: add function signature to remove token controllers on transfer functions 2022-12-07 15:44:02 -03:00
zoruka 07ad6b672a feat: add interaction scripts 2022-12-07 15:35:35 -03:00
Felipe Mendes ef8baad617
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>
2022-12-06 17:39:08 -03:00
EmperorOrokuSaki 700293b94b Add foundry tests init (name, symbol, placeholder functions) 2022-12-05 22:57:39 +03:30
EmperorOrokuSaki f10ef82985 Foundry init configs 2022-12-05 22:26:29 +03:30
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
EmperorOrokuSaki 17da15ae97 Add events to all set functions 2022-12-05 21:29:46 +03:30
EmperorOrokuSaki f450a3e8b7 Add setTokenName, setTokenDescription, setTokenImage 2022-12-05 20:59:27 +03:30
EmperorOrokuSaki 970ede7f62 Update deploy script and package.json to match the mumbai deploy script 2022-12-05 20:56:15 +03:30
EmperorOrokuSaki afff3f6f7a Update TokenURI and the metadata struct 2022-12-05 20:53:23 +03:30
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
EmperorOrokuSaki a590717021 Add two deploy scripts for local and mumbai deployments, update hardhat config to match two types and package.json 2022-12-02 00:35:10 +03:30
EmperorOrokuSaki 2ae2dbd354 Update package.json to add the deploy script & remove package-lock.json from the repository 2022-12-02 00:26:14 +03:30
EmperorOrokuSaki a377fb9dd3 Make set methods public, add comments and notes to clarify issues. 2022-12-01 23:47:55 +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
daltoncoder 4700e992e6 fix: working deploy 2022-11-30 12:28:13 -05:00
EmperorOrokuSaki d6b343cfac Update config files. 2022-11-30 19:58:02 +03:30
EmperorOrokuSaki 6f9fb74fee Remove fleekbuilds.sol & update erc721 with a fix 2022-11-30 19:56:46 +03:30
EmperorOrokuSaki 8286b71c84 Fix errors and make the contract environment ready for compiling. 2022-11-30 16:56:28 +03:30
zoruka c9578c88fd fix: sintax wise issues for compilation 2022-11-29 11:59:19 -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
zoruka 7891068b9a feat: add token controller control functions 2022-11-28 15:49:38 -03:00
Felipe Mendes e07d6852ab refactor: FleekERC721 2022-11-28 15:36:26 -03:00
zoruka 2c4c5ed59f wip: FleekERC721 contract 2022-11-28 09:50:45 -03:00
zoruka 3f37d82aca wip: refactor on current nft contract 2022-11-24 14:11:42 -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