Struct gekko::runtime::polkadot::extrinsics::utility::Batch [−][src]
Expand description
Send a batch of dispatch calls.
Documentation (provided by the runtime metadata)
Send a batch of dispatch calls.
May be called from any origin.
calls
: The calls to be dispatched from the same origin.
If origin is root then call are dispatch without checking origin filter. (This includes
bypassing frame_system::Config::BaseCallFilter
).
- Complexity: O(C) where C is the number of calls to be batched.
This will return Ok
in all circumstances. To determine the success of the batch, an
event is deposited. If a call failed and the batch was interrupted, then the
BatchInterrupted
event is deposited, along with the number of successful calls made
and the error of the failed call. If all were successful, then the BatchCompleted
event is deposited.
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
calls: A
Type description: Vec<<T as Config>::Call>
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for Batch<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Batch<A> where
A: 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
.