Custom Yield Sources
Create a Prize Pool that Uses a Custom Yield Source
If you would like to create a Prize Pool that generates prizes with a custom yield source, you'll need to:
Subclass the Prize Pool.
Implement the Yield Source interface
Once the subclass is written, you'll need to deploy it. The simplest approach will be to follow the PoolWithMultipleWinnersBuilder and create a contract that builds your custom prize pool with the appropriate strategy.
Last updated