diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 4459a92e9..b64c5fb2d 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -1311,6 +1311,12 @@ impl InstanceFilter for ProxyType { ) } ProxyType::StableAssetLiquidity | ProxyType::StableAssetSwap => false, + ProxyType::Homa => { + matches!( + c, + Call::Homa(module_homa::Call::mint { .. }) | Call::Homa(module_homa::Call::request_redeem { .. }) + ) + } } } fn is_superset(&self, o: &Self) -> bool { diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 8a81bb0c8..f73da5d5e 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -339,6 +339,7 @@ pub enum ProxyType { DexLiquidity, StableAssetSwap, StableAssetLiquidity, + Homa, } impl Default for ProxyType { diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index d0ec581e6..3d513441f 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1334,6 +1334,12 @@ impl InstanceFilter for ProxyType { | Call::StableAsset(nutsfinance_stable_asset::Call::redeem_multi { .. }) ) } + ProxyType::Homa => { + matches!( + c, + Call::Homa(module_homa::Call::mint { .. }) | Call::Homa(module_homa::Call::request_redeem { .. }) + ) + } } } fn is_superset(&self, o: &Self) -> bool { diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 7ce88ee95..d726bd833 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -1493,6 +1493,12 @@ impl InstanceFilter for ProxyType { | Call::StableAsset(nutsfinance_stable_asset::Call::redeem_multi { .. }) ) } + ProxyType::Homa => { + matches!( + c, + Call::Homa(module_homa::Call::mint { .. }) | Call::Homa(module_homa::Call::request_redeem { .. }) + ) + } } } fn is_superset(&self, o: &Self) -> bool {