Vaulta

ddevonedice1

Contract

The data structures defined by this contract.

  • Table row type of dicerecord

    {
      "name": "dicerecord",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "gameid",
          "type": "uint64"
        },
        {
          "name": "bet",
          "type": "asset"
        },
        {
          "name": "win",
          "type": "asset"
        },
        {
          "name": "rollunder",
          "type": "uint64"
        },
        {
          "name": "gameresult",
          "type": "uint64"
        },
        {
          "name": "create_time",
          "type": "time_point_sec"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Table row type of dicecandy

    {
      "name": "dicecandy",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        }
      ]
    }
  • Action parameter in candy

    {
      "name": "candy",
      "base": "",
      "fields": [
        {
          "name": "game",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in dfdiceroll

    {
      "name": "dfdiceroll",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in diceroll

    {
      "name": "diceroll",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in clear

    {
      "name": "clear",
      "base": "",
      "fields": [
        {
          "name": "toid",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in maintain

    {
      "name": "maintain",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "asset"
        }
      ]
    }
  • Action parameter in unlockuser

    {
      "name": "unlockuser",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "type",
          "type": "asset"
        }
      ]
    }