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