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

Data SFT minter % treasury donation #81

Closed
newbreedofgeek opened this issue Apr 2, 2024 · 2 comments
Closed

Data SFT minter % treasury donation #81

newbreedofgeek opened this issue Apr 2, 2024 · 2 comments
Assignees

Comments

@newbreedofgeek
Copy link
Member

newbreedofgeek commented Apr 2, 2024

[@newbreedofgeek ] to write requirements for this.

  • Admin can set a maxPercentageDonate amount. (e.g. 10%)
  • Admin can set a donationTreasury address to accept Data NFT donations
  • caller (i.e. person who can mint), can select UPTO the maxPercentageDonate amount (e.g. 1, 2,..5,10) % - this can be called donatePercentrage
  • Minter calls "mint", pays bond etc and mint a collection (e.g. 1000 data nfts) and picks a donatePercentrage e.g. 2%.
  • After the Mint is complete, 98% of the collections is sent to Minter.. and 2% is sent to the donationTreasury

Update: SC getDataOut view should be updated to also send maxPercentageDonate (in order to easily fetch in on FE)

@damienen damienen changed the title Data SFT minter % treasury capture Data SFT minter % treasury donation Apr 16, 2024
bucurdavid added a commit that referenced this issue Apr 22, 2024
bucurdavid added a commit that referenced this issue Apr 22, 2024
@bucurdavid
Copy link
Member

Should be delivered with this: Itheum/sdk-mx-data-nft#129

@damienen
Copy link
Member

Reviewed, all good! Needs to be delivered and tested on devnet

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

3 participants