From 5535ee6ebf53aa1845e7b1965fdd6198a9070d22 Mon Sep 17 00:00:00 2001 From: cdamian <17934949+cdamian@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:03:31 +0100 Subject: [PATCH] runtime: Add LP transfer extrinsics to Transfer proxy type --- runtime/altair/src/lib.rs | 8 +++++++- runtime/centrifuge/src/lib.rs | 8 +++++++- runtime/development/src/lib.rs | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/runtime/altair/src/lib.rs b/runtime/altair/src/lib.rs index 82b42ea2cd..1e27be082f 100644 --- a/runtime/altair/src/lib.rs +++ b/runtime/altair/src/lib.rs @@ -585,7 +585,13 @@ impl InstanceFilter for ProxyType { ProxyType::Transfer => { matches!( c, - RuntimeCall::XTokens(..) | RuntimeCall::Balances(..) | RuntimeCall::Tokens(..) + RuntimeCall::XTokens(..) + | RuntimeCall::Balances(..) + | RuntimeCall::Tokens(..) + | RuntimeCall::LiquidityPools( + pallet_liquidituy_pool::Call::Transfer { .. } + | pallet_liquidituy_pool::Call::TransferTrancheTokens { .. } + ) ) } } diff --git a/runtime/centrifuge/src/lib.rs b/runtime/centrifuge/src/lib.rs index 5602265555..2b2de1395e 100644 --- a/runtime/centrifuge/src/lib.rs +++ b/runtime/centrifuge/src/lib.rs @@ -732,7 +732,13 @@ impl InstanceFilter for ProxyType { ProxyType::Transfer => { matches!( c, - RuntimeCall::XTokens(..) | RuntimeCall::Balances(..) | RuntimeCall::Tokens(..) + RuntimeCall::XTokens(..) + | RuntimeCall::Balances(..) + | RuntimeCall::Tokens(..) + | RuntimeCall::LiquidityPools( + pallet_liquidituy_pool::Call::Transfer { .. } + | pallet_liquidituy_pool::Call::TransferTrancheTokens { .. } + ) ) } } diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index ee1010c357..4ca1b1d560 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -600,7 +600,13 @@ impl InstanceFilter for ProxyType { ProxyType::Transfer => { matches!( c, - RuntimeCall::XTokens(..) | RuntimeCall::Balances(..) | RuntimeCall::Tokens(..) + RuntimeCall::XTokens(..) + | RuntimeCall::Balances(..) + | RuntimeCall::Tokens(..) + | RuntimeCall::LiquidityPools( + pallet_liquidituy_pool::Call::Transfer { .. } + | pallet_liquidituy_pool::Call::TransferTrancheTokens { .. } + ) ) } }