Skip to content

Commit

Permalink
runtime: Add LP transfer extrinsics to Transfer proxy type
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Dec 1, 2023
1 parent ab7528a commit 5535ee6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion runtime/altair/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,13 @@ impl InstanceFilter<RuntimeCall> 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 { .. }
)
)
}
}
Expand Down
8 changes: 7 additions & 1 deletion runtime/centrifuge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,13 @@ impl InstanceFilter<RuntimeCall> 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 { .. }
)
)
}
}
Expand Down
8 changes: 7 additions & 1 deletion runtime/development/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,13 @@ impl InstanceFilter<RuntimeCall> 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 { .. }
)
)
}
}
Expand Down

0 comments on commit 5535ee6

Please sign in to comment.