moonbeam-foundation / xcm-sdk

The Moonbeam XCM SDK enables developers to easily transfer assets between chains, either between parachains or between a parachain and the relay chain, within the Polkadot/Kusama ecosystem. With the SDK, you don't need to worry about determining the multilocation of the origin or destination assets or which extrinsics are used on which networks to
https://moonbeam-foundation.github.io/xcm-sdk/latest/
MIT License
14 stars 9 forks source link

Autodetect ML version available for polkdotXcm extrinsics #64

Closed fgamundi closed 1 year ago

fgamundi commented 1 year ago

Description

Version 0 of the MultiLocation type is being deprecated, so removed the V0 extrinsic it from polkadotXcm. Modified polkadotXcm V1 extrinsics to autodetect what MultiLocation versions are available in the origin chain and build the parameters accordingly. Updated CSM deposit extrinsic from polkadotXcm V0 to V1V2

Checklist