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
Version 0 of the MultiLocation type is being deprecated, so removed the V0 extrinsic it from polkadotXcm.
Modified polkadotXcmV1 extrinsics to autodetect what MultiLocation versions are available in the origin chain and build the parameters accordingly.
Updated CSM deposit extrinsic from polkadotXcmV0 to V1V2
Checklist
[x] If this requires a documentation change, I have created a PR in moonbeam-docs repository.
[x] If this requires it, I have updated the Readme
[x] If necessary, I have updated the examples
[x] I have verified if I need to create/update unit tests
[x] I have verified if I need to create/update acceptance tests
[x] If necessary, I have run acceptance tests on this branch in CI
Description
Version 0 of the MultiLocation type is being deprecated, so removed the
V0
extrinsic it frompolkadotXcm
. ModifiedpolkadotXcm
V1
extrinsics to autodetect whatMultiLocation
versions are available in the origin chain and build the parameters accordingly. Updated CSM deposit extrinsic frompolkadotXcm
V0
toV1V2
Checklist