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 <jsonsivar@gmail.com>
Co-authored-by: Camila Sosa Morales <camisosa@fleek.co>
This commit is contained in:
Felipe Mendes 2022-12-22 14:21:00 -03:00 committed by GitHub
parent f2db3ff0c6
commit 6c901a6001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 1514 additions and 1414 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 FleekHQ
Copyright (c) 2022 Fleek
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -12,7 +12,9 @@ The vision is to have this on a suitable L2 or L3 based on EVM so there is flexi
The goal is to be a more verifiable and crypto-friendly Serverless.yaml or Cloudformation manifests that will enable us to develop use cases on top like community hosting.
Get more information about the project on our [wiki](https://github.com/fleekxyz/non-fungible-apps/wiki).
We've developed a base set of contract code so now we want to harden it as well as add more metadata and features to support use cases with the first use case being community hosting. So be sure to check out the roadmap on the wiki.
You can find the wiki [here](https://github.com/fleekxyz/non-fungible-apps/wiki) for more information about the project.
## ⌨️ Developing
@ -256,3 +258,7 @@ This is an open source initiative! Any new idea is welcome, if you want to help
## 📜 License
Fleek Non Fungible Apps is released under the [MIT License](LICENSE).
## 🐛 Bug reporting
If you have found a bug to report, please create an [issue](https://github.com/fleekxyz/non-fungible-apps/issues). Thank you!

View File

@ -140,7 +140,6 @@ contract FleekERC721 is ERC721, FleekAccessControl {
/**
* @dev Override of _beforeTokenTransfer of ERC721.
* Here it needs to update the token controller roles for mint, burn and transfer.
* IMPORTANT: The function for clearing token controllers is not implemented yet.
*/
function _beforeTokenTransfer(
address from,

View File

@ -1,8 +1,8 @@
const contractName = 'FleekERC721';
const args = [
'FleekSites', // Collection name
'FLKSITE', // Collection symbol
'FleekNFAs', // Collection name
'FLKNFA', // Collection symbol
];
module.exports = async ({ getNamedAccounts, deployments }) => {

View File

@ -1,8 +1,8 @@
const contractName = 'FleekERC721';
const args = [
'FleekSites', // Collection name
'FLKSITE', // Collection symbol
'FleekNFAs', // Collection name
'FLKNFA', // Collection symbol
];
module.exports = async ({ getNamedAccounts, deployments }) => {

View File

@ -1,7 +1,7 @@
{
"name": "sites-as-nfts",
"name": "@fleekxyz/nfa-ui",
"version": "0.0.1",
"description": "Minimal UI for sites as NFTs",
"description": "Minimal UI for Fleek Non Fungible Apps",
"main": "index.js",
"scripts": {
"dev": "vite",
@ -9,7 +9,6 @@
"preview": "vite preview"
},
"author": "Fleek",
"license": "ISC",
"dependencies": {
"@chakra-ui/icons": "^2.0.13",
"@chakra-ui/react": "^2.4.2",

View File

@ -10,7 +10,7 @@ type TileInfoProps = HeadingProps & {
heading: string;
info: React.ReactNode;
widthText?: number;
textAlignText?: 'center' | 'left';
textAlignText?: 'center' | 'left'; //TODO allow more text alignment types
direction?: 'column' | 'row';
alignItems?: string;
};

File diff suppressed because one or more lines are too long

View File

@ -15,8 +15,7 @@ export const FleekERC721 = {
params.externalUrl,
params.ens,
params.commitHash,
params.repo,
'author' // TODO: remove author after contract update
params.repo
);
return response;

View File

@ -6,7 +6,6 @@ const MINT_PARAMS = {
externalUrl: 'https://fleek.co',
commitHash: 'b72e47171746b6a9e29b801af9cb655ecf4d665c',
gitRepository: 'https://github.com/fleekxyz/non-fungible-apps',
author: 'author',
};
const mockDetail = {
@ -28,20 +27,14 @@ const mockDetail = {
trait_type: 'Repository',
value: MINT_PARAMS.gitRepository,
},
//As we're not showing this on the UI, we can remove it
// {
// trait_type: 'Author',
// value: MINT_PARAMS.author,
// },
// {
// trait_type: 'Version',
// value: '0',
// },
{
trait_type: 'Version',
value: '0',
},
],
};
export const fetchSiteDetail = async (tokenId: string) => {
//TODO get site detail from api
return new Promise((resolved, reject) => {
setTimeout(() => {
resolved({

View File

@ -27,7 +27,6 @@ const listSites = [
];
export const fetchMintedSites = async () => {
//TODO get minted sites from api
return new Promise((resolved) => {
setTimeout(() => {
resolved({