Deployment Guide
Follow the instructions in the SDK-contracts github repository: https://github.com/RPS-Labs/sdk-contracts.
RPSRaffle deployment parameters
potLimit- Specifies the funds threshold at which the raffle is automatically drawn. The draw is triggered when the raffle pool reaches this amount.raffleTicketCost- Defines the cost of a single raffle ticket in wei. It's important to note that the number of tickets issued is calculated based on the_amountInWeiparameter, rather than the actual funds received by the raffle.claimWindow- Sets the duration, in seconds, within which winners must claim their prizes post-raffle draw.protocolFeeInBps- Indicates the portion of the raffle proceeds that is kept as a fee by the protocol, denoted in basis points (bps). For reference, 1% is equivalent to 100 bps. This fee is modifiable by the raffle owner.tradeFeeInBps- Represents the percentage of each transaction fee contributed to the raffle pot, also expressed in basis points.callbackGasLimit- The maximum gas allotted for the Chainlink VRF callback function. This limit directly affects the VRF cost. For precise cost estimations, consult the Chainlink VRF documentation.router- The contract address of the RPS Router that interacts with the RPS Raffle.owner- Designates the owner's address of the RPS Raffle contract, responsible for managing and configuring the contract post-deployment.
Last updated