team-ooak / ooak-smartcontract

MIT License
1 stars 0 forks source link

1stPresale #10

Open chemonoworld opened 2 years ago

chemonoworld commented 2 years ago

Files

  1. Whitelist.sol - 화리, 화리에 등록된 주소만 민팅 가능
  2. Nickname.sol - 등록된 닉네임; 프리세일 때 민팅시 putIn
  3. Receipt.sol - 프리세일 때 민팅시 지급되는 영수증 nft
  4. IdTag.sol - 민팅 후 제작되어 발급되는 ID tag nft, 구매자 리스트 대상으로 발급됨
  5. FirstPresaleBuyer - 민팅시 등록되는 구매자 리스트
  6. FirstPresale
    • function nftReceiptMint(string memory _nickname) external payable : 영수증 발급(민팅시 웹사이트 버튼과 연결)
    • function nftIdTagMint(uint256 _to, uint256 _from) public onlyOwner : 민팅 후 Id tag 제작 완료 후에 발급(컨트랙트 Owner가)

수정해야하는 것

  1. presale 종료시(limit 도달) Nickname List/ Buyer List 함수 호출 금지되도록 만드는 것
  2. 파일, 폴더 정리
  3. URI 테스트 완료 -> 실제 제작 및 pinata에 저장 후 코드 추가
chemonoworld commented 2 years ago

CreateURI 코드는 디코에 업로드

chemonoworld commented 2 years ago

1 해결