Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFT contract #64

Open
6 of 8 tasks
toufic0710 opened this issue Sep 26, 2022 · 0 comments
Open
6 of 8 tasks

NFT contract #64

toufic0710 opened this issue Sep 26, 2022 · 0 comments
Assignees

Comments

@toufic0710
Copy link
Member

toufic0710 commented Sep 26, 2022

Planet description

  • [ ]
    Find an AI that can write a short story based on some text。And use it to generate the monologue of the astronaut in our NFT

. I was standing there in front of the big black monolith,

Tier0-3 NFT contracts x4
The NFT contract is a standard erc721 with metadata and 1 photo link to the given token ID. However we need to overwrite some functions.

  • Mint()
    function can only be called by a D/NFT governance contract, this function can mint a given number of NFT to an address.

  • Burn()
    function will burn the giving IDs and liberate the given ID to be minted again

D/NFT governance contract

  • contract import erc721 interface

  • claim()
    function is used to convert erc20 mysterious box tokens into NFT, this function allows batch transactions to reveal multiple mysterious boxes. It will burn the erc20 mysterious box token, and call an internal _mint() function to mint a random NFT.

  • ForgeMonolith()
    function is used to mint new NFT after the premint ends. This action can only forge tier0 NFTs by giving DGOV. The minting price of tier 0 NFT is 10 Dgov, Users can mint any given number they want. The Dgov used will be transferred into this D/NFT governance contract.

  • reForge()
    function allows you to spend some Dgov to reforge a random new NFT. This function also has a 1 percent chance to forge a higher tiered NFT. Based on the tier of the NFT this action will cost 1, 10, 100, 1000. When reforge a tier 3 nft, the user has 10 percent of chance to win another tier3 NFT and a new nft.

  • ComposeNFT()
    this function will be used to mint higher tier NFTs by burning lower tier. You need to have 10 lower tier to mint a higher tier (+1).

  • stakeForDgov()
    this function can be called to stake NFT and get an interest free loan in DGOV. Based on the different tiers of the NFT, this changes from 10 DGOV for tier 0, 100 DGOV for tier 1, and 1000 for tier2. And 10000 for tier 3.
    (detailed role will be added later)

@yuliu-debond yuliu-debond changed the title nft contract NFT contract Sep 27, 2022
@toufic0710 toufic0710 self-assigned this Oct 3, 2022
@drikssy drikssy self-assigned this Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants