Vaulta

xgameslotto1

Contract

The data structures defined by this contract.

  • Action parameter in callback

    {
      "name": "callback",
      "base": "",
      "fields": [
        {
          "name": "queryId",
          "type": "checksum256"
        },
        {
          "name": "result",
          "type": "uint8[]"
        },
        {
          "name": "proof",
          "type": "uint8[]"
        }
      ]
    }
  • Action parameter in getwinner

    {
      "name": "getwinner",
      "base": "",
      "fields": [
        {
          "name": "maxbets",
          "type": "string"
        }
      ]
    }
  • Table row type of lotwin

    {
      "name": "lotwin",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in placebet

    {
      "name": "placebet",
      "base": "",
      "fields": [
        {
          "name": "auth",
          "type": "name"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "betAmount",
          "type": "asset"
        }
      ]
    }
  • Table row type of record

    {
      "name": "record",
      "base": "",
      "fields": [
        {
          "name": "lotteryid",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "betAmount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in rem

    {
      "name": "rem",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in reset

    {
      "name": "reset",
      "base": "",
      "fields": []
    }