PoolTogether 3.0
HomeAppBuilder
v3.2.0
v3.2.0
  • ✨Introduction
  • 📡Networks
  • 🚰Resources
  • Protocol
    • 🌐Overview
    • 🏆Prize Pools
      • âš–ī¸ Fairness
      • Compound Prize Pool
      • Stake Prize Pool
      • Custom Yield Sources
    • 💸Prize Strategies
      • Yield Sources
      • 🤑Multiple Winners
    • đŸŽŸī¸ Tokens
      • đŸŽŸī¸ Ticket
      • 🎁Sponsorship
      • 👂Token Listener
    • 🎲Random Number Generator
      • Blockhash
      • Chainlink VRF
    • đŸ´â€â˜ ī¸ Loot Box
    • â›ŊGas Usage
  • Governance
    • đŸ›ī¸ Overview
    • đŸ•šī¸ Controls
    • đŸ—ŗī¸ Process
  • Security
    • Risks
    • Audits & Testing
    • Bounties
Powered by GitBook
On this page
  • Privileged Actions
  • Required Behaviour

Was this helpful?

  1. Protocol

Prize Strategies

Customize how a Prize Pool distributes prizes

PreviousCustom Yield SourcesNextYield Sources

Last updated 4 years ago

Was this helpful?

A Prize Strategy handles prize distribution for a . When a Prize Pool is constructed it is configured with a Prize Strategy. The Prize Strategy has the privileged ability to award tokens from the Prize Pool.

The most popular Prize Strategy offering is the strategy. Earlier versions (< v3.1.0) of the protocol used the Single Random Winner strategy, which is now a trivial subset of Multiple Winners (with numberofWinners = 1).

Prize Strategies must implement the interface so that they can be aware of the full token lifecycle.

Privileged Actions

A Prize Strategy is able to award tokens held by the Prize Pool contract. The Prize Strategy is able to:

  • that has accrued in the Prize Pool

  • held by the Prize Pool

  • owned by the Prize Pool

Required Behaviour

A Prize Strategy must implement the interface so that it can listen to pool token mint, transfer and burn actions by the Prize Pool.

💸
Prize Pool
Multiple Winner
Token Listener
Prize Pool's
Token Listener
award yield
award any ERC20 balance
award any ERC721