forked from polkadot-evm/frontier
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement add, delete and rotate address of the beneficiaries
- Loading branch information
1 parent
4476faa
commit c26d90a
Showing
5 changed files
with
142 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# License Fee | ||
|
||
Currently we charge the gas-fee as our license-fee when user executes evm/ssvm action, but when the system has no any beneficiary we still burn it. | ||
|
||
## Sudo Permission | ||
We need root permission to update the beneficiaries. Here we use `pallet-sudo` to help us get root permission. Below figure shows us how the evm's extrinsics add and delete beneficiary is work. | ||
|
||
![](./updateBeneficiary.png) | ||
|
||
You could also set up default beneficiaries by customizing chain spec ([Create a Custom Chain Spec](https://substrate.dev/docs/en/tutorials/start-a-private-network/customspec)). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters