> For the complete documentation index, see [llms.txt](https://docs.moonery.io/mnry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moonery.io/mnry/staked-moonery-ticket-usdtckry.md).

# 🎟️Staked Moonery Ticket $TCKRY

When users deposit $MNRY to our Staked Lottery Pool, they receive an ERC20 compatible ticket.\
\
**Contract address.**

⚠️ **ALERT: NEVER SEND YOUR FUNDS DIRECTLY TO AN ADDRESS** ⚠️

| [***0xb548fc41002e64b640f2eec6dfbd616fab9ea19d***](https://bscscan.com//address/0xb548fc41002e64b640f2eec6dfbd616fab9ea19d) |                                          |
| --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| Token name                                                                                                                  | Stake Moonery Ticket                     |
| Token Symbol                                                                                                                | **TCKRY**                                |
| Purpose Token                                                                                                               | Proof of $MNRY Stake to our Lottery Pool |
| Liquidity                                                                                                                   | No                                       |
| Transferable                                                                                                                | Yes                                      |
| ERC20                                                                                                                       | Yes                                      |

The contract organizes the balances into a sum tree data structure so that each address holds a "range" of tokens. This number can be used as an index within that range, and the holder of the tokens in that range is selected:

```javascript
function draw(uint256 randomNumber) public view returns (address)
```

The **randomNumber** will be used as a token index into a specialized data structure that stores the user balances. The randomNumber is constrained to the token supply, and modulo bias is corrected.

The returned address is the user who holds the token index corresponding to the random number.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.moonery.io/mnry/staked-moonery-ticket-usdtckry.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.
