# Win-win Lottery

A win-win lottery is a lottery format in which all participants receive payouts. That is, no one leaves the lottery without money.&#x20;

This is achieved by a special redistribution of funds from purchased tickets.&#x20;

For example, 1% of participants take 10% of the cost of all tickets, 10% of participants take 20%, and the remaining participants share 70% of all lottery funds. You can flexibly configure the percentages of winners and their shares in the CryptoDo constructor interface.

This type of lottery is well perceived by users, because everyone has a chance to get a super prize, while no one leaves empty-handed.

## Why do we need lotteries?&#x20;

1\. Prize draws increase audience activity.&#x20;

2\. An additional source of income. The lottery creator sets a fixed commission for the purchase of tickets in a smart contract.

3\. Attracting a new audience. Prize draws are always a good tool in marketing campaigns.


---

# 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://docs.cryptodo.app/smart-contracts/lottery-contract/win-win-lottery.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.
