pub type Call = Call;
enum Call {
proxy {
real: MultiAddress<AccountId32, ()>,
force_proxy_type: Option<ProxyType>,
call: Box<RuntimeCall>,
},
add_proxy {
delegate: MultiAddress<AccountId32, ()>,
proxy_type: ProxyType,
delay: u32,
},
remove_proxy {
delegate: MultiAddress<AccountId32, ()>,
proxy_type: ProxyType,
delay: u32,
},
remove_proxies,
create_pure {
proxy_type: ProxyType,
delay: u32,
index: u16,
},
kill_pure {
spawner: MultiAddress<AccountId32, ()>,
proxy_type: ProxyType,
index: u16,
height: u32,
ext_index: u32,
},
announce {
real: MultiAddress<AccountId32, ()>,
call_hash: H256,
},
remove_announcement {
real: MultiAddress<AccountId32, ()>,
call_hash: H256,
},
reject_announcement {
delegate: MultiAddress<AccountId32, ()>,
call_hash: H256,
},
proxy_announced {
delegate: MultiAddress<AccountId32, ()>,
real: MultiAddress<AccountId32, ()>,
force_proxy_type: Option<ProxyType>,
call: Box<RuntimeCall>,
},
}