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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
16263cc0
Commit
16263cc0
authored
3 months ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
document burn as disabled
parent
73c8b3cf
No related branches found
No related tags found
1 merge request
!307
mint UD instead of deposit + disable burn
Pipeline
#39532
failed
3 months ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/api/runtime-calls.md
+1
-23
1 addition, 23 deletions
docs/api/runtime-calls.md
xtask/src/gen_doc.rs
+1
-0
1 addition, 0 deletions
xtask/src/gen_doc.rs
with
2 additions
and
23 deletions
docs/api/runtime-calls.md
+
1
−
23
View file @
16263cc0
...
@@ -12,7 +12,7 @@ Calls are categorized according to the dispatch origin they require:
...
@@ -12,7 +12,7 @@ Calls are categorized according to the dispatch origin they require:
We only document user calls below.
We only document user calls below.
There are
**6
4
**
user calls from
**17**
pallets.
There are
**6
3
**
user calls from
**17**
pallets.
## Account - 1
## Account - 1
...
@@ -105,28 +105,6 @@ The dispatch origin of this call must be Signed.
...
@@ -105,28 +105,6 @@ The dispatch origin of this call must be Signed.
transfer everything except at least the existential deposit, which will guarantee to
transfer everything except at least the existential deposit, which will guarantee to
keep the sender account alive (true).
keep the sender account alive (true).
### burn - 10
<details><summary><code>burn(value, keep_alive)</code></summary>
No weight available.
```
rust
value: T::Balance
keep_alive: bool
```
</details>
Burn the specified liquid free balance from the origin account.
If the origin's account ends up below the existential deposit as a result
of the burn and `keep_alive` is false, the account will be reaped.
Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
this `burn` operation will reduce total issuance by the amount _burned_.
## OneshotAccount - 7
## OneshotAccount - 7
### create_oneshot_account - 0
### create_oneshot_account - 0
...
...
This diff is collapsed.
Click to expand it.
xtask/src/gen_doc.rs
+
1
−
0
View file @
16263cc0
...
@@ -232,6 +232,7 @@ impl CallCategory {
...
@@ -232,6 +232,7 @@ impl CallCategory {
|
"force_unreserve"
|
"force_unreserve"
|
"force_adjust_total_issuance"
,
|
"force_adjust_total_issuance"
,
)
=>
Self
::
Root
,
)
=>
Self
::
Root
,
(
"Balances"
,
"burn"
)
=>
Self
::
Disabled
,
(
"Sudo"
,
_
)
=>
Self
::
Sudo
,
(
"Sudo"
,
_
)
=>
Self
::
Sudo
,
(
"Treasury"
,
"approve_proposal"
|
"reject_proposal"
)
=>
Self
::
OtherOrigin
,
(
"Treasury"
,
"approve_proposal"
|
"reject_proposal"
)
=>
Self
::
OtherOrigin
,
(
"Utility"
,
"dispatch_as"
|
"with_weight"
)
=>
Self
::
Root
,
(
"Utility"
,
"dispatch_as"
|
"with_weight"
)
=>
Self
::
Root
,
...
...
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