Telos

rngconsumer1

Contract

The data structures defined by this contract.

  • Action parameter in delrequest

    {
      "name": "delrequest",
      "base": "",
      "fields": [
        {
          "name": "request_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in randreceipt

    {
      "name": "randreceipt",
      "base": "",
      "fields": [
        {
          "name": "request_id",
          "type": "uint64"
        },
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "number",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in receiverand

    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "caller_id",
          "type": "uint64"
        },
        {
          "name": "random",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in requestrand

    {
      "name": "requestrand",
      "base": "",
      "fields": [
        {
          "name": "seed",
          "type": "uint64"
        },
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "min",
          "type": "uint64"
        },
        {
          "name": "max",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rngrequests

    {
      "name": "rngrequest",
      "base": "",
      "fields": [
        {
          "name": "request_id",
          "type": "uint64"
        },
        {
          "name": "min",
          "type": "uint64"
        },
        {
          "name": "max",
          "type": "uint64"
        },
        {
          "name": "caller",
          "type": "name"
        }
      ]
    }