Calls
asDerivative
Send a call through an indexed pseudonym of the sender. Filter from origin are passed along. The call will be dispatched with an origin which use the same filter as the origin of this call. NOTE:-
If you need to ensure that any account-based filtering is not honored (i.e. because you expect
proxy
to have been used prior in the call stack and you do not want the call restrictions to apply to any sub-accounts), then useas_multi_threshold_1
in the Multisig pallet instead. -
Prior to version *12, this was called
as_limited_sub
.
batch
Send a batch of dispatch calls. May be called from any origin.calls
: The calls to be dispatched from the same origin. The number of call must not exceed the constant:batched_calls_limit
(available in constant metadata).
frame_system::Config::BaseCallFilter
).
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.
Namespace
batchAll
Send a batch of dispatch calls and atomically execute them. The whole transaction will rollback and fail if any of the calls failed. May be called from any origin.calls
: The calls to be dispatched from the same origin. The number of call must not exceed the constant:batched_calls_limit
(available in constant metadata).
frame_system::Config::BaseCallFilter
).
Namespace
dispatchAs
Dispatches a function call with a provided origin. The dispatch origin for this call must be Root. NamespaceforceBatch
Send a batch of dispatch calls. Unlikebatch
, it allows errors and won’t interrupt.
May be called from any origin.
calls
: The calls to be dispatched from the same origin. The number of call must not exceed the constant:batched_calls_limit
(available in constant metadata).
frame_system::Config::BaseCallFilter
).
Namespace