mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
Proxy for Nomination Pools (#6846)
* add proxy for nomination pools * fmt --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -940,6 +940,7 @@ pub enum ProxyType {
|
||||
CancelProxy,
|
||||
Auction,
|
||||
Society,
|
||||
NominationPools,
|
||||
}
|
||||
|
||||
impl Default for ProxyType {
|
||||
@@ -1024,6 +1025,9 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
|
||||
RuntimeCall::FastUnstake(..)
|
||||
)
|
||||
},
|
||||
ProxyType::NominationPools => {
|
||||
matches!(c, RuntimeCall::NominationPools(..) | RuntimeCall::Utility(..))
|
||||
},
|
||||
ProxyType::IdentityJudgement => matches!(
|
||||
c,
|
||||
RuntimeCall::Identity(pallet_identity::Call::provide_judgement { .. }) |
|
||||
|
||||
Reference in New Issue
Block a user