# How are the asset named?

## Why?

Using an asset identifier, its secure as it's unique, but it's not memorable, so it was used a similar principle to the DNS to create an ANS (Asset Name System)\
We develop an external actor which reads over the blockchain data and provides a simple API\
For each Fixed Payout asset the pre-image of the asset identifier is taken from the message body.

## How?

Asset: "00000000a16a47c2640e5a3b40a50cbbaca19ac6c9a57666cf1d298c1ddf0049469a05a17b1077bde2c9548c651675353a320690f54c9d30e9797edd25e4fdcb2c351d09"\
has a long name GOOGL240122Bear261500 and a short name GOOGLBear261500.

The addressDB allows us to request the mint information of an asset by using \
`/addressdb/contract/mint :`

```
{
    "executionBlock": 470957,
    "sender": "0278e2befe3063f02b01d1f7c08abae7d0669b58be6691baac94e67ad52c540f22",
    "command": "Issue",
    "messageBody": {
        "dict": [
            [
                "Price",
                {
                    "u64": 261500
                }
            ],
            [
                "Start",
                {
                    "u64": 1643058000000
                }
            ],
            [
                "Expiry",
                {
                    "u64": 1643058000000
                }
            ],
            [
                "Ticker",
                {
                    "string": "GOOGL"
                }
            ],
            [
                "Collateral",
                {
                    "string": "000000000000000000000000000000000000000000000000000000000000000000000000"
                }
            ],
            [
                "OraclePubKey",
                {
                    "pk": "020dc7cad106e9284be13576f5271c4f694da464076d2eb44fd5c74265316f70a3"
                }
            ],
            [
                "OracleContractId",
                {
                    "string": "00000000065ee39e9f6af7d6e185f5b72eace28cc48bba05969742f0f9066519f3452369"
                }
            ]
        ]
    }
```

This infos are then formatted to take for the short name: Ticker-Start-Position-Price


---

# 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.zenprotocol.com/apps/fixed-payout/how-are-the-asset-named.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.
