-
Notifications
You must be signed in to change notification settings - Fork 683
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
Trading trait and deal with metadata in Mutate trait for nonfungibles_v2 #1561
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice ! 🚀
The CI pipeline was cancelled due to failure one of the required jobs. |
bot merge |
@jsidorenko |
* tsv-disabling: (39 commits) Handling of disabled validators in backing subsystem (#1259) Switch trie cache random seed (#1935) Expose prometheus metrics for minimal-relay-chain node in collators (#1942) Do not force collators to update after enabling async backing (#1920) Pin PRDoc image to v0.0.5 until we are ready for v0.0.6 (#1947) [prdoc] Start BEEFY gadget by default for Polkadot nodes (#1945) Update bridges subtree (#1944) bump zombienet version (#1931) [FRAME] Message Queue use proper overweight limit (#1873) Cumulus: Allow aura to use initialized collation request receiver (#1911) Use prebuilt try-runtime binary in CI (#1898) Update kusama/polkadot bootnodes (#1895) Introduce XcmFeesToAccount fee manager (#1234) upgraded review bot to v2.1.0 (#1908) Trading trait and deal with metadata in Mutate trait for nonfungibles_v2 (#1561) Add Runtime Missing Crate Descriptions (#1909) Switch to the release env (#1910) Bump paritytech/review-bot from 2.0.1 to 2.1.0 (#1924) Bump actions/checkout from 4.1.0 to 4.1.1 (#1925) Start BEEFY client by default for Polkadot nodes (#1913) ...
…_v2 (#1561) I have added some Traits that are missing and are useful for dealing with non-fungible tokens on other pallets and their implementations for NFTs pallet. - In the Mutate trait, added methods for dealing with the metadata: `set_metadata`, `set_collection_metadata`, `clear_metadata` and `clear_collection_metadata`. The motivation of adding this methods coming from a StackExchange question asking for it: [Setting metadata of an item of the Nfts pallet in a custom pallet](https://substrate.stackexchange.com/questions/9974/setting-metadata-of-an-item-of-the-nfts-pallet-in-a-custom-pallet) - A Trait for trading non-fungible items. The methods in that Trait are `buy_item`, `set_price` and `item_price` An example of where this Trait can be useful is a pallet that deals with [NFT Royalties](https://forum.polkadot.network/t/nfts-royalty-pallet/3766) and needs to perform this actions. --------- Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
This pull request has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/polkadot-release-analysis-v1-3-0/4614/1 |
…_v2 (paritytech#1561) I have added some Traits that are missing and are useful for dealing with non-fungible tokens on other pallets and their implementations for NFTs pallet. - In the Mutate trait, added methods for dealing with the metadata: `set_metadata`, `set_collection_metadata`, `clear_metadata` and `clear_collection_metadata`. The motivation of adding this methods coming from a StackExchange question asking for it: [Setting metadata of an item of the Nfts pallet in a custom pallet](https://substrate.stackexchange.com/questions/9974/setting-metadata-of-an-item-of-the-nfts-pallet-in-a-custom-pallet) - A Trait for trading non-fungible items. The methods in that Trait are `buy_item`, `set_price` and `item_price` An example of where this Trait can be useful is a pallet that deals with [NFT Royalties](https://forum.polkadot.network/t/nfts-royalty-pallet/3766) and needs to perform this actions. --------- Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
I have added some Traits that are missing and are useful for dealing with non-fungible tokens on other pallets and their implementations for NFTs pallet.
In the Mutate trait, added methods for dealing with the metadata:
set_metadata
,set_collection_metadata
,clear_metadata
andclear_collection_metadata
.The motivation of adding this methods coming from a StackExchange question asking for it: Setting metadata of an item of the Nfts pallet in a custom pallet
A Trait for trading non-fungible items. The methods in that Trait are
buy_item
,set_price
anditem_price
An example of where this Trait can be useful is a pallet that deals with NFT Royalties and needs to perform this actions.