> For the complete documentation index, see [llms.txt](https://docs.playscript.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.playscript.xyz/start/contracts.md).

# Contracts

Robinhood Chain addresses for the Amazon stock token and the AMZN/USD price feed.

Playscript runs on Robinhood Chain. The prize token is Amazon. The price check uses the Chainlink AMZN/USD feed on that chain.

## Amazon

|                      | Address                                      |
| -------------------- | -------------------------------------------- |
| **AMZN stock token** | `0x12f190a9F9d7D37a250758b26824B97CE941bF54` |
| **AMZN/USD feed**    | `0xD5a1508ceD74c084eBf3cBe853e2C968fB2a651C` |

The stock token is the asset liquidity providers deposit and the asset a winning script receives. The feed is the Chainlink AMZN/USD proxy. A signed Amazon price is accepted only when it sits within 1% of that feed.

## How the pieces fit

* **PLAY** is the stake token. It is what you lock. It is not the prize.
* **Factory** creates one market contract per match. The market address is fixed in advance from the match id, so the vault can recognize that market without an allowlist.
* **Market** is the match. You call it to lock. It grades the five slots after the resolver posts the score.
* **Script NFT** is the position. One NFT is one script. Settling it pays the current holder and burns the NFT.
* **Vault** is shared by every market. It holds Amazon shares for payouts and PLAY from stakes. A market can pull shares only after the vault approves that exact amount.
* **Prices** store the signed PLAY price and the signed Amazon price for a short window. The contract recovers the signer, checks that the signer is the operator, and checks the signed feed price against the AMZN/USD feed above.

The feed address is the mainnet Amazon price. The stock token address is the Amazon token on Robinhood Chain. A lock uses those prices once. Settlement does not read the feed again.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.playscript.xyz/start/contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
