Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
3
votes
Accepted
How to add and configure a pre defined pallet in runtime?
Just to add an example:
let's add the pallet-assets to the substrate-node-template.
First, we add the dependency and the feature in the runtime/Cargo.toml file
The dependency is required for obtaini …
1
vote
Accepted
Treasury pallet how to make payouts in native asset?
If your native currency is comming from pallet-balances and other assets from pallet-assets you could create two instances of pallet-treasury, where:
impl pallet-treasury::Config<Instance1> {
...
Asse …
1
vote
Accepted
How to burn the tokens treasury gets from staking inefficiency?
Yes you are correct (ref):
The remaining reward is send to the configurable end-point T::RewardRemainder.
You can set it to () (implementation) which will result in its
"default" implementation => b …
1
vote
How to add funds to Treasury?
What about doing a simple balance transfer to the account id of the treasury :)
E.g. Polkadot