# Custom Yield Sources

If you would like to create a Prize Pool that generates prizes with a custom yield source, you'll need to:

1. Subclass the [Prize Pool](https://github.com/pooltogether/pooltogether-pool-contracts/blob/master/contracts/prize-pool/PrizePool.sol).
2. Implement the [Yield Source](https://github.com/pooltogether/pooltogether-pool-contracts/blob/master/contracts/prize-pool/YieldSource.sol) interface

Once the subclass is written, you'll need to deploy it.  The simplest approach will be to follow the [PoolWithMultipleWinnersBuilder](https://github.com/pooltogether/pooltogether-pool-contracts/blob/master/contracts/builders/PoolWithMultipleWinnersBuilder.sol) and create a contract that builds your custom prize pool with the appropriate strategy.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://v3.docs.pooltogether.com/master-1/protocol/prize-pool/custom-yield-sources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
