Files
pezkuwi-subxt/prdoc
Adrian Catangiu e0584a153d pallet-xcm::transfer_assets_using_type() supports custom actions on destination (#4260)
Change `transfer_assets_using_type()` to not assume `DepositAssets` as
the intended use of the assets on the destination.

Instead provides the caller with the ability to specify custom XCM that
be executed on `dest` chain as the last step of the transfer, thus
allowing custom usecases for the transferred assets. E.g. some are
used/swapped/etc there, while some are sent further to yet another
chain.

Note: this is a follow-up on
https://github.com/paritytech/polkadot-sdk/pull/3695, bringing in an API
change for `transfer_assets_using_type()`. This is ok as the previous
version has not been yet released. Thus, its first release will include
the new API proposed by this PR.

This allows usecases such as:
https://forum.polkadot.network/t/managing-sas-on-multiple-reserve-chains-for-same-asset/7538/4

BTW: all this pallet-xcm asset transfers code will be massively reduced
once we have https://github.com/paritytech/xcm-format/pull/54

---------

Signed-off-by: Adrian Catangiu <adrian@parity.io>
2024-04-24 08:44:42 +00:00
..
2023-12-12 14:29:56 +00:00
2023-12-12 18:51:54 +02:00
2023-09-06 11:25:47 +03:00
2024-04-04 11:47:24 +00:00
2024-04-22 12:06:16 +00:00
2024-04-23 12:53:20 +00:00
2024-04-16 15:17:09 +00:00