Skip to content
Snippets Groups Projects
Commit 2338022f authored by Éloïs's avatar Éloïs
Browse files

doc: update user calls doc

parent 54010fa1
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ through on-chain governance mechanisms.
## User calls
There are **52** user calls organized in **17** pallets.
There are **53** user calls organized in **18** pallets.
### 2: Scheduler
......@@ -1453,6 +1453,33 @@ calls: Vec<<T as Config>::Call>
</details>
### 65: Treasury
<details><summary>0: propose_spend(value, beneficiary)</summary>
<p>
### Index
`0`
### Documentation
Put forward a suggestion for spending. A deposit proportional to the value
is reserved and slashed if the proposal is rejected. It is returned once the
proposal is awarded.
### Types of parameters
```rust
value: BalanceOf<T, I>,
beneficiary: <T::Lookup as StaticLookup>::Source
```
</p>
</details>
## Root calls
......
......@@ -66,6 +66,7 @@ impl CallCategory {
}
("SmithsCollective", "set_members" | "disapprove_proposal") => Self::Root,
("Utility", "dispatch_as") => Self::Root,
("Treasury", "approve_proposal" | "reject_proposal") => Self::OtherOrigin,
_ => Self::User,
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment