-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
36 additions
and
7 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
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,29 @@ | ||
# Distribution Pallet | ||
## Overview | ||
|
||
The **Distribution Pallet** handles the distribution of whitelisted projects rewards. | ||
|
||
For now only one reward distribution pattern has been implemented, but the pallet could be extended | ||
to offer to the user claiming rewards for a project, a choice between more than one distribution pattern. | ||
|
||
The **Distribution Pallet** receives a list of Whitelisted/Nominated Projects with | ||
their respective calculated rewards. For each project,it will create a corresponding | ||
spending that will be stored until distribution time which corresponds to the beginning of an ***Epoch*** (The distribution timing can be configured to a different value in the runtime). | ||
|
||
|
||
### Terminology | ||
|
||
- **PotId:** Pot containing the funds used to pay the rewards. | ||
- **BufferPeriod:** minimum required buffer time period between project nomination and reward claim. | ||
## Interface | ||
|
||
### Dispatchable Functions | ||
|
||
#### Public | ||
|
||
These calls can be made from any externally held account capable of creating | ||
a signed extrinsic. | ||
|
||
Basic actions: | ||
- `claim_reward_for` - From this extrinsic any user can claim a reward for a nominated/whitelisted project. | ||
License: Apache-2.0 |
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
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