Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
50922b0e
Commit
50922b0e
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
update metadata after rebase
parent
92b13de8
No related branches found
No related tags found
No related merge requests found
Pipeline
#35555
passed
1 year ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/api/runtime-calls.md
+76
-76
76 additions, 76 deletions
docs/api/runtime-calls.md
resources/metadata.scale
+0
-0
0 additions, 0 deletions
resources/metadata.scale
with
76 additions
and
76 deletions
docs/api/runtime-calls.md
+
76
−
76
View file @
50922b0e
...
...
@@ -21,7 +21,7 @@ There are **78** user calls from **21** pallets.
<details><summary><code>
unlink_identity()
</code></summary>
Taking 0.00
76
% of a block.
Taking 0.00
82
% of a block.
```
rust
```
...
...
@@ -36,7 +36,7 @@ unlink the identity associated with the account
<
details
><
summary
><
code
>
schedule
(
when
,
maybe_periodic
,
priority
,
call
)
</
code
></
summary
>
Taking
0.00
8
8
%
of
a
block
.
Taking
0.00
9
8
%
of
a
block
.
```
rust
when: T::BlockNumber
...
...
@@ -53,7 +53,7 @@ Anonymously schedule a task.
<details><summary><code>cancel(when, index)</code></summary>
Taking 0.011
8
% of a block.
Taking 0.01
3
1 % of a block.
```
rust
when: T::BlockNumber
...
...
@@ -68,7 +68,7 @@ Cancel an anonymously scheduled task.
<details><summary><code>schedule_named(id, when, maybe_periodic, priority, call)</code></summary>
Taking 0.01
2
% of a block.
Taking 0.01
31
% of a block.
```
rust
id: TaskName
...
...
@@ -86,7 +86,7 @@ Schedule a named task.
<details><summary><code>cancel_named(id)</code></summary>
Taking 0.01
2
3 % of a block.
Taking 0.013
7
% of a block.
```
rust
id: TaskName
...
...
@@ -157,7 +157,7 @@ be reported.
<details><summary><code>transfer_allow_death(dest, value)</code></summary>
Taking 0.012
9
% of a block.
Taking 0.01
5
2 % of a block.
```
rust
dest: AccountIdLookupOf
<T>
...
...
@@ -199,7 +199,7 @@ WARNING: This call is DEPRECATED! Use `force_set_balance` instead.
<details><summary><code>transfer_keep_alive(dest, value)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
68
% of a block.
```
rust
dest: AccountIdLookupOf
<T>
...
...
@@ -219,7 +219,7 @@ kill the origin account.
<details><summary><code>transfer_all(dest, keep_alive)</code></summary>
Taking 0.01
2
2 % of a block.
Taking 0.01
4
2 % of a block.
```
rust
dest: AccountIdLookupOf
<T>
...
...
@@ -284,7 +284,7 @@ The dispatch origin for this call is `root`.
<details><summary><code>create_oneshot_account(dest, value)</code></summary>
Taking 0.00
84
% of a block.
Taking 0.00
95
% of a block.
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
...
@@ -304,7 +304,7 @@ Origin account is kept alive.
<details><summary><code>consume_oneshot_account(block_height, dest)</code></summary>
Taking 0.01
2
% of a block.
Taking 0.01
34
% of a block.
```
rust
block_height: T::BlockNumber
...
...
@@ -323,7 +323,7 @@ Consume a oneshot account and transfer its balance to an account
<details><summary><code>consume_oneshot_account_with_remaining(block_height, dest, remaining_to, balance)</code></summary>
Taking 0.01
5
5 % of a block.
Taking 0.01
7
5 % of a block.
```
rust
block_height: T::BlockNumber
...
...
@@ -351,7 +351,7 @@ and the remaining amount to another account.
<details><summary><code>invite_smith(receiver)</code></summary>
Taking 0.013
6
% of a block.
Taking 0.01
5
3 % of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -365,7 +365,7 @@ Invite a WoT member to try becoming a Smith
<details><summary><code>accept_invitation()</code></summary>
Taking 0.00
85
% of a block.
Taking 0.00
94
% of a block.
```
rust
```
...
...
@@ -378,7 +378,7 @@ Accept an invitation (must have been invited first)
<details><summary><code>certify_smith(receiver)</code></summary>
Taking 0.01
26
% of a block.
Taking 0.01
39
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -394,7 +394,7 @@ Certify an invited smith which can lead the certified to become a Smith
<details><summary><code>go_offline()</code></summary>
Taking 0.01
03
% of a block.
Taking 0.01
17
% of a block.
```
rust
```
...
...
@@ -407,7 +407,7 @@ ask to leave the set of validators two sessions after
<details><summary><code>go_online()</code></summary>
Taking 0.01
14
% of a block.
Taking 0.01
38
% of a block.
```
rust
```
...
...
@@ -420,7 +420,7 @@ ask to join the set of validators two sessions after
<details><summary><code>set_session_keys(keys)</code></summary>
Taking 0.01
42
% of a block.
Taking 0.01
77
% of a block.
```
rust
keys: T::Keys
...
...
@@ -434,7 +434,7 @@ declare new session keys to replace current ones
<details><summary><code>remove_member_from_blacklist(member_id)</code></summary>
Taking 0.00
7
9 % of a block.
Taking 0.009
4
% of a block.
```
rust
member_id: T::MemberId
...
...
@@ -491,7 +491,7 @@ The weight of this call is defined by the caller.
<details><summary><code>note_preimage(bytes)</code></summary>
Taking 0.
28
04 % of a block.
Taking 0.
5
04
2
% of a block.
```
rust
bytes: Vec
<u8>
...
...
@@ -508,7 +508,7 @@ the preimage. Otherwise, a deposit is taken proportional to the size of the prei
<details><summary><code>unnote_preimage(hash)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
35
% of a block.
```
rust
hash: T::Hash
...
...
@@ -527,7 +527,7 @@ If `len` is provided, then it will be a much cheaper operation.
<details><summary><code>request_preimage(hash)</code></summary>
Taking 0.00
85
% of a block.
Taking 0.00
92
% of a block.
```
rust
hash: T::Hash
...
...
@@ -544,7 +544,7 @@ a user may have paid, and take the control of the preimage out of their hands.
<details><summary><code>unrequest_preimage(hash)</code></summary>
Taking 0.011
2
% of a block.
Taking 0.011
9
% of a block.
```
rust
hash: T::Hash
...
...
@@ -562,7 +562,7 @@ NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
<details><summary><code>execute(proposal, length_bound)</code></summary>
Taking 0.00
5
6 % of a block.
Taking 0.006
1
% of a block.
```
rust
proposal: Box
<
<
T
as
Config
<
I
>
>::Proposal>
...
...
@@ -614,7 +614,7 @@ or put up for voting.
<details><summary><code>vote(proposal, index, approve)</code></summary>
Taking 0.0
088
% of a block.
Taking 0.0
104
% of a block.
```
rust
proposal: T::Hash
...
...
@@ -680,7 +680,7 @@ proposal.
<details><summary><code>claim_uds()</code></summary>
Taking 0.01
31
% of a block.
Taking 0.01
46
% of a block.
```
rust
```
...
...
@@ -693,7 +693,7 @@ Claim Universal Dividends
<details><summary><code>transfer_ud(dest, value)</code></summary>
Taking 0.01
34
% of a block.
Taking 0.01
58
% of a block.
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
...
@@ -708,7 +708,7 @@ Transfer some liquid free balance to another account, in milliUD.
<details><summary><code>transfer_ud_keep_alive(dest, value)</code></summary>
Taking 0.01
25
% of a block.
Taking 0.01
44
% of a block.
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
...
@@ -725,7 +725,7 @@ Transfer some liquid free balance to another account, in milliUD.
<details><summary><code>create_identity(owner_key)</code></summary>
Taking 0.04
39
% of a block.
Taking 0.04
84
% of a block.
```
rust
owner_key: T::AccountId
...
...
@@ -743,7 +743,7 @@ The origin must be allowed to create an identity.
<details><summary><code>confirm_identity(idty_name)</code></summary>
Taking 0.0
181
% of a block.
Taking 0.0
204
% of a block.
```
rust
idty_name: IdtyName
...
...
@@ -761,7 +761,7 @@ The identity must have been created using `create_identity` before it can be con
<details><summary><code>change_owner_key(new_key, new_key_sig)</code></summary>
Taking 0.0
238
% of a block.
Taking 0.0
306
% of a block.
```
rust
new_key: T::AccountId
...
...
@@ -782,7 +782,7 @@ The origin should be the old identity owner key.
<details><summary><code>revoke_identity(idty_index, revocation_key, revocation_sig)</code></summary>
Taking 0.02
27
% of a block.
Taking 0.02
93
% of a block.
```
rust
idty_index: T::IdtyIndex
...
...
@@ -805,7 +805,7 @@ Any signed origin can execute this call.
<details><summary><code>fix_sufficients(owner_key, inc)</code></summary>
Taking 0.00
77
% of a block.
Taking 0.00
81
% of a block.
```
rust
owner_key: T::AccountId
...
...
@@ -820,7 +820,7 @@ change sufficient ref count for given key
<details><summary><code>link_account(account_id, payload_sig)</code></summary>
Taking 0.01
1
% of a block.
Taking 0.01
35
% of a block.
```
rust
account_id: T::AccountId
...
...
@@ -837,7 +837,7 @@ Link an account to an identity
<details><summary><code>add_cert(receiver)</code></summary>
Taking 0.0
19
% of a block.
Taking 0.0
214
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -851,7 +851,7 @@ Add a new certification.
<details><summary><code>renew_cert(receiver)</code></summary>
Taking 0.01
9
% of a block.
Taking 0.01
8
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -865,7 +865,7 @@ Renew an existing certification.
<details><summary><code>del_cert(issuer, receiver)</code></summary>
Taking 0.015
3
% of a block.
Taking 0.015
5
% of a block.
```
rust
issuer: T::IdtyIndex
...
...
@@ -880,7 +880,7 @@ remove a certification (only root)
<details><summary><code>remove_all_certs_received_by(idty_index)</code></summary>
Taking 3.
5004
% of a block.
Taking 3.
7485
% of a block.
```
rust
idty_index: T::IdtyIndex
...
...
@@ -896,7 +896,7 @@ remove all certifications received by an identity (only root)
<details><summary><code>request_distance_evaluation()</code></summary>
Taking 0.0
6
% of a block.
Taking 0.0
194
% of a block.
```
rust
```
...
...
@@ -911,7 +911,7 @@ negative evaluation will result in slash for caller
<details><summary><code>request_distance_evaluation_for(target)</code></summary>
Taking 0.0
805
% of a block.
Taking 0.0
199
% of a block.
```
rust
target: T::IdtyIndex
...
...
@@ -926,7 +926,7 @@ only possible for unvalidated identity
<details><summary><code>update_evaluation(computation_result)</code></summary>
Taking 0.0
9
14 % of a block.
Taking 0.0
2
14 % of a block.
```
rust
computation_result: ComputationResult
...
...
@@ -941,7 +941,7 @@ this is called internally by validators (= inherent)
<details><summary><code>force_update_evaluation(evaluator, computation_result)</code></summary>
Taking 0.0
759
% of a block.
Taking 0.0
14
% of a block.
```
rust
evaluator:
<T
as
frame_system::Config
>
::AccountId
...
...
@@ -956,7 +956,7 @@ Force push an evaluation result to the pool
<details><summary><code>force_valid_distance_status(identity)</code></summary>
Taking 0.0
74
% of a block.
Taking 0.0
173
% of a block.
```
rust
identity:
<T
as
pallet_identity::Config
>
::IdtyIndex
...
...
@@ -1043,7 +1043,7 @@ The dispatch origin for this call must be _Signed_.
<details><summary><code>as_multi_threshold_1(other_signatories, call)</code></summary>
Taking 0.004
9
% of a block.
Taking 0.00
5
4 % of a block.
```
rust
other_signatories: Vec
<T::AccountId>
...
...
@@ -1172,7 +1172,7 @@ NOTE: If this is the final approval, you will want to use `as_multi` instead.
<details><summary><code>cancel_as_multi(threshold, other_signatories, timepoint, call_hash)</code></summary>
Taking 0.0
088
% of a block.
Taking 0.0
103
% of a block.
```
rust
threshold: u16
...
...
@@ -1211,7 +1211,7 @@ transaction for this dispatch.
<details><summary><code>request(randomness_type, salt)</code></summary>
Taking 0.0
191
% of a block.
Taking 0.0
224
% of a block.
```
rust
randomness_type: RandomnessType
...
...
@@ -1228,7 +1228,7 @@ Request a randomness
<details><summary><code>proxy(real, force_proxy_type, call)</code></summary>
Taking 0.00
55
% of a block.
Taking 0.00
64
% of a block.
```
rust
real: AccountIdLookupOf
<T>
...
...
@@ -1252,7 +1252,7 @@ Parameters:
<details><summary><code>add_proxy(delegate, proxy_type, delay)</code></summary>
Taking 0.008
5
% of a block.
Taking 0.00
9
8 % of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1276,7 +1276,7 @@ zero.
<details><summary><code>remove_proxy(delegate, proxy_type, delay)</code></summary>
Taking 0.0
085
% of a block.
Taking 0.0
101
% of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1298,7 +1298,7 @@ Parameters:
<details><summary><code>remove_proxies()</code></summary>
Taking 0.008
4
% of a block.
Taking 0.00
9
8 % of a block.
```
rust
```
...
...
@@ -1316,7 +1316,7 @@ the unreserved fees will be inaccessible. **All access to this account will be l
<details><summary><code>create_pure(proxy_type, delay, index)</code></summary>
Taking 0.0
085
% of a block.
Taking 0.0
109
% of a block.
```
rust
proxy_type: T::ProxyType
...
...
@@ -1349,7 +1349,7 @@ Fails if there are insufficient funds to pay for deposit.
<details><summary><code>kill_pure(spawner, proxy_type, index, height, ext_index)</code></summary>
Taking 0.00
8
4 % of a block.
Taking 0.00
9
4 % of a block.
```
rust
spawner: AccountIdLookupOf
<T>
...
...
@@ -1382,7 +1382,7 @@ account whose `pure` call has corresponding parameters.
<details><summary><code>announce(real, call_hash)</code></summary>
Taking 0.01
2
3 % of a block.
Taking 0.013
8
% of a block.
```
rust
real: AccountIdLookupOf
<T>
...
...
@@ -1411,7 +1411,7 @@ Parameters:
<details><summary><code>remove_announcement(real, call_hash)</code></summary>
Taking 0.01
1
6 % of a block.
Taking 0.01
2
6 % of a block.
```
rust
real: AccountIdLookupOf
<T>
...
...
@@ -1435,7 +1435,7 @@ Parameters:
<details><summary><code>reject_announcement(delegate, call_hash)</code></summary>
Taking 0.01
16
% of a block.
Taking 0.01
28
% of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1459,7 +1459,7 @@ Parameters:
<details><summary><code>proxy_announced(delegate, real, force_proxy_type, call)</code></summary>
Taking 0.01
2
5 % of a block.
Taking 0.01
5
5 % of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1488,7 +1488,7 @@ Parameters:
<details><summary><code>batch(calls)</code></summary>
Taking 0.
1825
% of a block.
Taking 0.
2737
% of a block.
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
...
@@ -1519,7 +1519,7 @@ event is deposited.
<details><summary><code>as_derivative(index, call)</code></summary>
Taking 0.004
6
% of a block.
Taking 0.004
9
% of a block.
```
rust
index: u16
...
...
@@ -1546,7 +1546,7 @@ The dispatch origin for this call must be _Signed_.
<details><summary><code>batch_all(calls)</code></summary>
Taking 0.
1899
% of a block.
Taking 0.
2944
% of a block.
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
...
@@ -1572,7 +1572,7 @@ includes bypassing `frame_system::Config::BaseCallFilter`).
<details><summary><code>force_batch(calls)</code></summary>
Taking 0.
183
3 % of a block.
Taking 0.
311
3 % of a block.
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
...
@@ -1620,7 +1620,7 @@ The dispatch origin for this call must be _Root_.
<details><summary><code>propose_spend(value, beneficiary)</code></summary>
Taking 0.011
1
% of a block.
Taking 0.011
9
% of a block.
```
rust
value: BalanceOf
<T
,
I
>
...
...
@@ -1662,7 +1662,7 @@ beneficiary.
<details><summary><code>remove_approval(proposal_id)</code></summary>
Taking 0.007
7
% of a block.
Taking 0.007
9
% of a block.
```
rust
proposal_id: ProposalIndex
...
...
@@ -1696,7 +1696,7 @@ There are **15** root calls from **8** pallets.
<details><summary><code>set_heap_pages(pages)</code></summary>
Taking 0.010
1
% of a block.
Taking 0.010
5
% of a block.
```
rust
pages: u64
...
...
@@ -1744,7 +1744,7 @@ Set the new runtime code without doing any checks of the given `code`.
<details><summary><code>set_storage(items)</code></summary>
Taking 2.6
23
9 % of a block.
Taking 2.6
59
9 % of a block.
```
rust
items: Vec
<KeyValue>
...
...
@@ -1758,7 +1758,7 @@ Set some items of storage.
<details><summary><code>kill_storage(keys)</code></summary>
Taking 2.6
145
% of a block.
Taking 2.6
329
% of a block.
```
rust
keys: Vec
<Key>
...
...
@@ -1772,7 +1772,7 @@ Kill some items from storage.
<details><summary><code>kill_prefix(prefix, subkeys)</code></summary>
Taking 3.0
011
% of a block.
Taking 3.0
283
% of a block.
```
rust
prefix: Key
...
...
@@ -1811,7 +1811,7 @@ not been enacted yet.
<details><summary><code>force_transfer(source, dest, value)</code></summary>
Taking 0.0
157
% of a block.
Taking 0.0
242
% of a block.
```
rust
source: AccountIdLookupOf
<T>
...
...
@@ -1828,7 +1828,7 @@ may be specified.
<details><summary><code>force_unreserve(who, amount)</code></summary>
Taking 0.00
81
% of a block.
Taking 0.00
96
% of a block.
```
rust
who: AccountIdLookupOf
<T>
...
...
@@ -1847,7 +1847,7 @@ Can only be called by ROOT.
<details><summary><code>remove_member(member_id)</code></summary>
Taking 0.03
45
% of a block.
Taking 0.03
66
% of a block.
```
rust
member_id: T::MemberId
...
...
@@ -1891,7 +1891,7 @@ Only callable by root.
<details><summary><code>set_members(new_members, prime, old_count)</code></summary>
Taking 0.08
23
% of a block.
Taking 0.08
68
% of a block.
```
rust
new_members: Vec
<T::AccountId>
...
...
@@ -1930,7 +1930,7 @@ with other logic managing the member set.
<details><summary><code>disapprove_proposal(proposal_hash)</code></summary>
Taking 0.01
3
4 % of a block.
Taking 0.014 % of a block.
```
rust
proposal_hash: T::Hash
...
...
@@ -1955,7 +1955,7 @@ O(P) where P is the number of max proposals
<details><summary><code>prune_item_identities_names(names)</code></summary>
Taking 2.6
583
% of a block.
Taking 2.6
984
% of a block.
```
rust
names: Vec
<IdtyName>
...
...
@@ -1971,7 +1971,7 @@ remove identity names from storage
<details><summary><code>dispatch_as(as_origin, call)</code></summary>
Taking 0.00
48
% of a block.
Taking 0.00
59
% of a block.
```
rust
as_origin: Box
<T::PalletsOrigin>
...
...
@@ -2002,7 +2002,7 @@ There are **4** disabled calls from **2** pallets.
<details><summary><code>remark(remark)</code></summary>
Taking 0.0
544
% of a block.
Taking 0.0
955
% of a block.
```
rust
remark: Vec
<u8>
...
...
@@ -2019,7 +2019,7 @@ Make some on-chain remark.
<details><summary><code>remark_with_event(remark)</code></summary>
Taking 0.
2043
% of a block.
Taking 0.
3514
% of a block.
```
rust
remark: Vec
<u8>
...
...
@@ -2035,7 +2035,7 @@ Make some on-chain remark and emit event.
<details><summary><code>set_keys(keys, proof)</code></summary>
Taking 0.02
04
% of a block.
Taking 0.02
12
% of a block.
```
rust
keys: T::Keys
...
...
@@ -2058,7 +2058,7 @@ The dispatch origin of this function must be signed.
<details><summary><code>purge_keys()</code></summary>
Taking 0.018
5
% of a block.
Taking 0.018
9
% of a block.
```
rust
```
...
...
This diff is collapsed.
Click to expand it.
resources/metadata.scale
+
0
−
0
View file @
50922b0e
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment