WAX

rng.waxdao

合约

此合约定义的数据结构。

  • config 的表格行类型

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "assoc_counter",
          "type": "uint64"
        }
      ]
    }
  • initconfig中的操作参数

    {
      "name": "initconfig",
      "base": "",
      "fields": []
    }
  • outcomes 的表格行类型

    {
      "name": "outcomes",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "wallet",
          "type": "name"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        },
        {
          "name": "signing_value",
          "type": "uint64"
        }
      ]
    }
  • receiverand中的操作参数

    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    }
  • roll中的操作参数

    {
      "name": "roll",
      "base": "",
      "fields": [
        {
          "name": "wallet",
          "type": "name"
        }
      ]
    }