Struct gekko::runtime::polkadot::extrinsics::proxy::Proxy [−][src]
pub struct Proxy<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode, {
pub real: A,
pub force_proxy_type: B,
pub call: C,
}
Expand description
Dispatch the given call
from an account that the sender is authorised for through
Documentation (provided by the runtime metadata)
Dispatch the given call
from an account that the sender is authorised for through
add_proxy
.
Removes any corresponding announcement(s).
The dispatch origin for this call must be Signed.
Parameters:
real
: The account that the proxy will make a call on behalf of.force_proxy_type
: Specify the exact proxy type to be used and checked for this call.call
: The call to be made by thereal
account.
Weight is a function of the number of proxies the user has (P).
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
real: A
Type description: T::AccountId
force_proxy_type: B
Type description: Option<T::ProxyType>
call: C
Type description: Box<<T as Config>::Call>
Trait Implementations
impl<A: Eq, B: Eq, C: Eq> Eq for Proxy<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for Proxy<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> UnwindSafe for Proxy<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.