34 major breaking releases

37.0.0 Sep 26, 2024
36.0.0 Jul 18, 2024
35.0.0 Jul 12, 2024
34.0.0 Jun 24, 2024
3.0.0 Feb 10, 2021

#2 in #fee

Download history 295/week @ 2024-06-28 431/week @ 2024-07-05 719/week @ 2024-07-12 467/week @ 2024-07-19 593/week @ 2024-07-26 657/week @ 2024-08-02 842/week @ 2024-08-09 914/week @ 2024-08-16 786/week @ 2024-08-23 374/week @ 2024-08-30 754/week @ 2024-09-06 1098/week @ 2024-09-13 1335/week @ 2024-09-20 1390/week @ 2024-09-27 779/week @ 2024-10-04 735/week @ 2024-10-11

4,381 downloads per month
Used in 13 crates (4 directly)

Apache-2.0

2.5MB
46K SLoC

Tipping Pallet ( pallet-tips )

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.

Terminology

  • Tipping: The process of gathering declarations of amounts to tip and taking the median amount to be transferred from the treasury to a beneficiary account.
  • Tip Reason: The reason for a tip; generally a URL which embodies or explains why a particular individual (identified by an account ID) is worthy of a recognition by the treasury.
  • Finder: The original public reporter of some reason for tipping.
  • Finders Fee: Some proportion of the tip amount that is paid to the reporter of the tip, rather than the main beneficiary.

Interface

Dispatchable Functions

  • 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.

Release

Polkadot SDK stable2409

Dependencies

~17–32MB
~526K SLoC