> For the complete documentation index, see [llms.txt](https://docs.payswap.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payswap.org/zhong-guo-ren/products/betting/bets-without-alpha-encoding.md).

# 无字母编码的投注

这些赌注合约只接受用户的数字答案。底层的智能合约不会将用户提供的答案转换，由于智能合约只能理解数字，因此用户在这些合约上给出的答案需要已经是数字格式。

假设你想让用户下注苹果股票的价格是否会在当天结束时超过或低于170美元。由于选项列表相当有限，用非字母编码的方式处理这些赌注是一个不错的主意。

以下是创建这种赌注事件的逐步指南：

* 进入你的赌注合约。你可以阅读如何在下面的页面上部署你的赌注合约的指南：

{% content-ref url="/pages/nZHVea1yn51Pj0sAgXrv" %}
[投注合约](/zhong-guo-ren/products/betting.md)
{% endcontent-ref %}

* 在你的合约面板上，点击**控制面板**按钮，然后点击**创建/更新事件**按钮。

<div><figure><img src="https://1537385970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MmAKM1uBRsaHufNf3DD%2Fuploads%2Fgit-blob-f4c8141753af5c0f2290fab39f979535c3890f3f%2Fbetting4.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://1537385970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MmAKM1uBRsaHufNf3DD%2Fuploads%2Fgit-blob-c6ee420a27b93835791ccc45425bc5ead4b85459%2Fbetting6.png?alt=media" alt=""><figcaption></figcaption></figure></div>

* 在表单中填写字段，并选择**不**为字母编码参数的选项。
* 验证表单并确认交易。你应该会在你的赌注合约面板的左下方看到该事件列出。

<figure><img src="https://1537385970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MmAKM1uBRsaHufNf3DD%2Fuploads%2Fgit-blob-702e3d815e21b96965552c5bb6540addb64ba087%2Fbetting5.png?alt=media" alt=""><figcaption></figcaption></figure>
