Asset Conversion: Pool Account ID derivation with additional Pallet ID seed (#3250)

Introduce `PalletId` as an additional seed parameter for pool's account
id derivation.

The PR also introduces the `pallet_asset_conversion_ops` pallet with a
call to migrate a given pool to thew new account. Additionally
`fungibles::lifetime::ResetTeam` and `fungible::lifetime::Refund`
traits, to facilitate the migration of pools.

---------

Co-authored-by: command-bot <>
This commit is contained in:
Muharem
2024-04-17 12:39:23 +02:00
committed by GitHub
parent e6f3106d89
commit 4e10d3b0a6
31 changed files with 1647 additions and 39 deletions
+16
View File
@@ -0,0 +1,16 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "Asset Conversion: Pool Account ID derivation with additional Pallet ID seed"
doc:
- audience: Runtime Dev
description: |
Introduce PalletId as an additional seed parameter for pool's account id derivation.
The PR also introduces the `pallet_asset_conversion_ops` pallet with a call to migrate
a pool to the new account. Additionally `fungibles::roles::ResetTeam` and
`fungible::lifetime::Refund` traits, to facilitate the migration functionality.
crates:
- name: pallet-asset-conversion
bump: minor