For the complete documentation index, see llms.txt. This page is also available as Markdown.

How are the asset named?

Asset Name Server

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

Last updated