Skip to content
Snippets Groups Projects
runtime-calls.md 25.5 KiB
Newer Older
<details><summary><code>create_pure(proxy_type, delay, index)</code></summary>
Taking 0.0141 % of a block.
See [`Pallet::create_pure`].
<details><summary><code>kill_pure(spawner, proxy_type, index, height, ext_index)</code></summary>
Taking 0.0125 % of a block.
spawner: AccountIdLookupOf<T>
#### announce - 6

<details><summary><code>announce(real, call_hash)</code></summary>
Taking 0.0218 % of a block.
real: AccountIdLookupOf<T>
#### remove_announcement - 7

<details><summary><code>remove_announcement(real, call_hash)</code></summary>
Taking 0.0198 % of a block.
real: AccountIdLookupOf<T>
call_hash: CallHashOf<T>
```
See [`Pallet::remove_announcement`].
#### reject_announcement - 8

<details><summary><code>reject_announcement(delegate, call_hash)</code></summary>
Taking 0.02 % of a block.
delegate: AccountIdLookupOf<T>
call_hash: CallHashOf<T>
```
See [`Pallet::reject_announcement`].
#### proxy_announced - 9

<details><summary><code>proxy_announced(delegate, real, force_proxy_type, call)</code></summary>
Taking 0.0235 % of a block.
delegate: AccountIdLookupOf<T>
real: AccountIdLookupOf<T>
force_proxy_type: Option<T::ProxyType>
call: Box<<T as Config>::RuntimeCall>
See [`Pallet::proxy_announced`].

#### batch - 0

<details><summary><code>batch(calls)</code></summary>
Taking 0.2728 % of a block.
calls: Vec<<T as Config>::RuntimeCall>
#### as_derivative - 1

<details><summary><code>as_derivative(index, call)</code></summary>
Taking 0.004 % of a block.
call: Box<<T as Config>::RuntimeCall>
See [`Pallet::as_derivative`].
#### batch_all - 2

<details><summary><code>batch_all(calls)</code></summary>
Taking 0.2935 % of a block.
calls: Vec<<T as Config>::RuntimeCall>
#### force_batch - 4

<details><summary><code>force_batch(calls)</code></summary>
Taking 0.3104 % of a block.
calls: Vec<<T as Config>::RuntimeCall>
See [`Pallet::force_batch`].

#### with_weight - 5

<details><summary><code>with_weight(call, weight)</code></summary>
```rust
call: Box<<T as Config>::RuntimeCall>
weight: Weight
```
See [`Pallet::with_weight`].

#### propose_spend - 0

<details><summary><code>propose_spend(value, beneficiary)</code></summary>

Taking 0.0183 % of a block.
beneficiary: AccountIdLookupOf<T>
See [`Pallet::propose_spend`].
<details><summary><code>spend_local(amount, beneficiary)</code></summary>
Taking 0.0036 % of a block.
beneficiary: AccountIdLookupOf<T>
See [`Pallet::spend_local`].
<details><summary><code>remove_approval(proposal_id)</code></summary>
Taking 0.0111 % of a block.
Éloïs's avatar
Éloïs committed
```rust
Éloïs's avatar
Éloïs committed
```
See [`Pallet::remove_approval`].

#### spend - 5

<details><summary><code>spend(asset_kind, amount, beneficiary, valid_from)</code></summary>

Taking 0.0035 % of a block.

```rust
asset_kind: Box<T::AssetKind>
amount: AssetBalanceOf<T, I>
beneficiary: Box<BeneficiaryLookupOf<T, I>>
valid_from: Option<BlockNumberFor<T>>
```
</details>

See [`Pallet::spend`].

#### payout - 6

<details><summary><code>payout(index)</code></summary>

Taking 0.0326 % of a block.
See [`Pallet::payout`].

#### check_status - 7

<details><summary><code>check_status(index)</code></summary>

Taking 0.011 % of a block.
Éloïs's avatar
Éloïs committed
</details>

See [`Pallet::check_status`].
<details><summary><code>void_spend(index)</code></summary>
Taking 0.011 % of a block.
There are **18** root calls from **8** pallets.
<details><summary><code>set_heap_pages(pages)</code></summary>
Taking 0.0169 % of a block.
See [`Pallet::set_heap_pages`].
<details><summary><code>set_code(code)</code></summary>
<details><summary><code>set_code_without_checks(code)</code></summary>
See [`Pallet::set_code_without_checks`].
<details><summary><code>set_storage(items)</code></summary>
Taking 5.9169 % of a block.
```rust
items: Vec<KeyValue>
```
See [`Pallet::set_storage`].
<details><summary><code>kill_storage(keys)</code></summary>
Taking 5.8899 % of a block.
See [`Pallet::kill_storage`].
<details><summary><code>kill_prefix(prefix, subkeys)</code></summary>
Taking 7.0785 % of a block.
See [`Pallet::kill_prefix`].

#### authorize_upgrade - 9

<details><summary><code>authorize_upgrade(code_hash)</code></summary>

Taking 0.0098 % of a block.

```rust
code_hash: T::Hash
```
See [`Pallet::authorize_upgrade`].

#### authorize_upgrade_without_checks - 10

<details><summary><code>authorize_upgrade_without_checks(code_hash)</code></summary>
No weight available.

```rust
code_hash: T::Hash
```
</details>

See [`Pallet::authorize_upgrade_without_checks`].

#### apply_authorized_upgrade - 11

<details><summary><code>apply_authorized_upgrade(code)</code></summary>

Taking 4.1178 % of a block.

```rust
code: Vec<u8>
```
</details>
See [`Pallet::apply_authorized_upgrade`].
<details><summary><code>plan_config_change(config)</code></summary>
```rust
config: NextConfigDescriptor
```
See [`Pallet::plan_config_change`].
<details><summary><code>force_transfer(source, dest, value)</code></summary>
Taking 0.0347 % of a block.
source: AccountIdLookupOf<T>
dest: AccountIdLookupOf<T>
See [`Pallet::force_transfer`].
<details><summary><code>force_unreserve(who, amount)</code></summary>
Taking 0.0128 % of a block.
who: AccountIdLookupOf<T>
See [`Pallet::force_unreserve`].
<details><summary><code>remove_member(member_id)</code></summary>
Taking 0.073 % of a block.
See [`Pallet::remove_member`].
<details><summary><code>note_stalled(delay, best_finalized_block_number)</code></summary>
delay: BlockNumberFor<T>
best_finalized_block_number: BlockNumberFor<T>
See [`Pallet::note_stalled`].
### TechnicalCommittee - 23
<details><summary><code>set_members(new_members, prime, old_count)</code></summary>
Taking 0.175 % of a block.
new_members: Vec<T::AccountId>
prime: Option<T::AccountId>
old_count: MemberCount
See [`Pallet::set_members`].
<details><summary><code>disapprove_proposal(proposal_hash)</code></summary>
Taking 0.0236 % of a block.
See [`Pallet::disapprove_proposal`].
#### prune_item_identities_names - 6
<details><summary><code>prune_item_identities_names(names)</code></summary>
Taking 5.9553 % of a block.
See [`Pallet::prune_item_identities_names`].
<details><summary><code>dispatch_as(as_origin, call)</code></summary>
Taking 0.005 % of a block.
as_origin: Box<T::PalletsOrigin>
call: Box<<T as Config>::RuntimeCall>
See [`Pallet::dispatch_as`].
## Disabled calls

There are **4** disabled calls from **2** pallets.
<details><summary><code>remark(remark)</code></summary>
Taking 0.0946 % of a block.
```rust
remark: Vec<u8>
```
<details><summary><code>remark_with_event(remark)</code></summary>
Taking 0.3505 % of a block.
```rust
remark: Vec<u8>
```
See [`Pallet::remark_with_event`].
<details><summary><code>set_keys(keys, proof)</code></summary>
Taking 0.0406 % of a block.
#### purge_keys - 1

<details><summary><code>purge_keys()</code></summary>
Taking 0.0351 % of a block.