Vaulta

betfyplayers

Contract

The data structures defined by this contract.

  • Action parameter in addplayers

    {
      "name": "addplayers",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "newPlayer",
          "type": "players"
        }
      ]
    }
  • Action parameter in getallplayer

    {
      "name": "getallplayer",
      "base": "",
      "fields": [
        {
          "name": "playid",
          "type": "uint64"
        }
      ]
    }
  • Struct property of addplayers

    Table row type of players

    {
      "name": "players",
      "base": "",
      "fields": [
        {
          "name": "playid",
          "type": "uint64"
        },
        {
          "name": "tokenbet",
          "type": "int32"
        },
        {
          "name": "playername",
          "type": "string"
        },
        {
          "name": "matchid",
          "type": "string"
        },
        {
          "name": "matchactions",
          "type": "string"
        },
        {
          "name": "matchodds",
          "type": "float32"
        },
        {
          "name": "payout",
          "type": "float32"
        },
        {
          "name": "win",
          "type": "bool"
        }
      ]
    }
  • Action parameter in updateplayer

    {
      "name": "updateplayer",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "payout",
          "type": "float32"
        },
        {
          "name": "win",
          "type": "bool"
        },
        {
          "name": "playid",
          "type": "uint64"
        }
      ]
    }