PoolTogether 3.0
HomeAppBuilder
v3.1.0
v3.1.0
  • ✨Introduction
  • 📡Networks
  • 🚰Resources
  • 💱Migrating from V2 to V3
  • Protocol
    • 🌐Overview
    • 🏆Prize Pools
      • ⚖️ Fairness
      • Compound Prize Pool
      • Stake Prize Pool
      • yVault Prize Pool
      • Custom Yield Sources
    • 💸Prize Strategies
      • 🤑Multiple Winners
    • 🎟️ Tokens
      • 🎟️ Ticket
      • 🎁Sponsorship
      • 👂Token Listener
    • 🎲Random Number Generator
      • Blockhash
      • Chainlink VRF
    • 🏴‍☠️ Loot Box
    • ⛽Gas Usage
  • Governance
    • 🏛️ Overview
  • 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 SourcesNextMultiple Winners

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