RPS Labs
  • 👋Welcome to RPS Labs
  • 📋Table of Contents
  • Overview
    • 💡What we do
  • ✌️Using Lotto SDK
    • For Users
      • Case Studies
    • For Developers
      • 💸Pricing
      • 🧰SDK Docs
        • Getting Started
        • UI Components
        • Hooks
      • 💻API Docs
        • Raffle info
        • Users
        • Pot
      • 📃Smart Contracts
        • RPS Raffle
        • RPS Router
        • Configurable Raffle Parameters
        • Fund Management
        • Deployment Guide
        • Security Considerations
      • ⛓️Supported Chains
  • RESOURCES
    • 🙋‍♂️Contact & Social Links
    • ❓FAQ
    • 🖌️Brand Assets
  • COMING SOON
    • DailyGM!
    • Hypercluster
Powered by GitBook
On this page
  1. Using Lotto SDK
  2. For Developers
  3. Smart Contracts

Configurable Raffle Parameters

The owner of the Raffle Contract has the authority to manage a range of parameters to tailor the raffle experience. Below are the key variables that can be adjusted:

  1. Pot Limit

Defines the maximum amount of funds that can be accumulated in the raffle pot. This sets the ceiling for potential winnings. Raffle will be automatically drawn once funds reach this threshold.

  1. Protocol Fee

Represents the percentage of the raffle proceeds retained by the protocol as a fee, expressed in basis points (bps) and adjustable by the raffle owner.

  1. Ticket Cost

The amount of native currency required to generate a single raffle ticket.

  1. Number of Winners

Specifies how many winners will be chosen in each raffle draw, allowing for single or multiple-winner scenarios.

  1. Prize Amounts

Sets the value of the prizes to be awarded to each winner.

  1. Raffle Fee

Indicates the percentage of transaction fees that go towards the raffle.

Last updated 1 year ago

✌️
📃