mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
new proxy for auctions, crowdloans, registrar, slots (#3683)
This commit is contained in:
@@ -662,6 +662,7 @@ pub enum ProxyType {
|
||||
SudoBalances,
|
||||
IdentityJudgement,
|
||||
CancelProxy,
|
||||
Auction,
|
||||
}
|
||||
impl Default for ProxyType {
|
||||
fn default() -> Self {
|
||||
@@ -728,6 +729,10 @@ impl InstanceFilter<Call> for ProxyType {
|
||||
ProxyType::CancelProxy => {
|
||||
matches!(c, Call::Proxy(pallet_proxy::Call::reject_announcement(..)))
|
||||
},
|
||||
ProxyType::Auction => matches!(
|
||||
c,
|
||||
Call::Auctions(..) | Call::Crowdloan(..) | Call::Registrar(..) | Call::Slots(..)
|
||||
),
|
||||
}
|
||||
}
|
||||
fn is_superset(&self, o: &Self) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user