substrate icon indicating copy to clipboard operation
substrate copied to clipboard

NFTs fractionalization

Open lana-shanghai opened this issue 3 years ago • 1 comments

Description:

As discussed, this is a pallet that does the following:

  • Takes ownership of an NFT from the pallet-nfts
  • Creates a new asset in pallet-assets
  • Mints the input amount to the previous owner of the NFT as the beneficiary

Questions to clarify:

  • For the created asset, currently, the owner is the previous NFT owner, and the admin is the pallet
  • Need to add a public getter to pallet-assets to query the overall minted amount of a new asset
  • Or keep track of it in the pallet storage, which is convenient if only the pallet can mint

Next steps: add unlocking functionality

lana-shanghai avatar Oct 26 '22 09:10 lana-shanghai

bot bench $ pallet dev pallet_nft_fractionalization

lana-shanghai avatar Apr 17 '23 13:04 lana-shanghai

bot rebase

jsidorenko avatar May 16 '23 16:05 jsidorenko

bot bench $ pallet dev pallet_nft_fractionalization

jsidorenko avatar May 17 '23 16:05 jsidorenko

bot rebase

jsidorenko avatar May 18 '23 14:05 jsidorenko

bot bench $ pallet dev pallet_nft_fractionalization

jsidorenko avatar May 19 '23 12:05 jsidorenko

bot clean

jsidorenko avatar May 19 '23 13:05 jsidorenko

bot bench $ pallet dev pallet_nft_fractionalization

jsidorenko avatar May 19 '23 13:05 jsidorenko

@jsidorenko https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2862010 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_nft_fractionalization. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 4-8206d54a-b5b3-49a1-af98-1048a457f0cd to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar May 19 '23 13:05 command-bot[bot]

@jsidorenko Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_nft_fractionalization has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2862010 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2862010/artifacts/download.

command-bot[bot] avatar May 19 '23 14:05 command-bot[bot]

bot rebase

jsidorenko avatar May 22 '23 10:05 jsidorenko

Rebased

bot merge

jsidorenko avatar May 23 '23 07:05 jsidorenko