Skip to content

Commit

Permalink
proxy: Add AnchorManagement proxy type (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian authored Jul 27, 2022
1 parent ad1648b commit 60485fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/development/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ pub enum ProxyType {
NFTMint,
NFTTransfer,
NFTManagement,
AnchorManagement,
}
impl Default for ProxyType {
fn default() -> Self {
Expand Down Expand Up @@ -428,6 +429,7 @@ impl InstanceFilter<Call> for ProxyType {
matches!(c, Call::Uniques(pallet_uniques::Call::transfer { .. }))
}
ProxyType::NFTManagement => matches!(c, Call::Uniques(..)),
ProxyType::AnchorManagement => matches!(c, Call::Anchor(..)),
}
}

Expand Down

0 comments on commit 60485fc

Please sign in to comment.