Crates.io | pallet-tips |
lib.rs | pallet-tips |
version | 37.0.0 |
source | src |
created_at | 2021-02-10 21:30:38.583453 |
updated_at | 2024-09-26 09:40:30.399454 |
description | FRAME pallet to manage tips |
homepage | https://paritytech.github.io/polkadot-sdk/ |
repository | https://github.com/paritytech/polkadot-sdk.git |
max_upload_size | |
id | 353534 |
size | 93,679 |
Note :: This pallet is tightly coupled to pallet-treasury
A subsystem to allow for an agile "tipping" process, whereby a reward may be given without first having a pre-determined stakeholder group come to consensus on how much should be paid.
A group of Tippers
is determined through the config Config
. After half of these have declared
some amount that they believe a particular reported reason deserves, then a countdown period is
entered where any remaining members can declare their tip amounts also. After the close of the
countdown period, the median of all declared tips is paid to the reported beneficiary, along with
any finders fee, in case of a public (and bonded) original report.
report_awesome
- Report something worthy of a tip and register for a finders fee.
retract_tip
- Retract a previous (finders fee registered) report.
tip_new
- Report an item worthy of a tip and declare a specific amount to tip.
tip
- Declare or redeclare an amount to tip for a particular reason.
close_tip
- Close and pay out a tip.
slash_tip
- Remove and slash an already-open tip.
Polkadot SDK stable2409