Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Vstam1/nonfungibles adapter v2 #7344

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
396 changes: 208 additions & 188 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions xcm/xcm-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ pub use nonfungibles_adapter::{
NonFungiblesAdapter, NonFungiblesMutateAdapter, NonFungiblesTransferAdapter,
};

mod nonfungibles_v2_adapter;
pub use nonfungibles_v2_adapter::{
MultiLocationCollectionId, NonFungiblesV2Adapter, NonFungiblesV2MutateAdapter,
NonFungiblesV2TransferAdapter,
};

mod weight;
pub use weight::{
FixedRateOfFungible, FixedWeightBounds, TakeRevenue, UsingComponents, WeightInfoBounds,
Expand Down
2 changes: 1 addition & 1 deletion xcm/xcm-builder/src/nonfungibles_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! Adapters to work with `frame_support::traits::tokens::fungibles` through XCM.
//! Adapters to work with `frame_support::traits::tokens::nonfungibles` through XCM.

use crate::{AssetChecking, MintLocation};
use frame_support::{
Expand Down
Loading
Loading