Vaulta

xdappactions

Contract

The data structures defined by this contract.

  • Action parameter in fairness

    {
      "name": "fairness",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "game_hash",
          "type": "string"
        }
      ]
    }
  • Action parameter in gencard

    {
      "name": "gencard",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "string"
        }
      ]
    }
  • Action parameter in login

    {
      "name": "login",
      "base": "",
      "fields": [
        {
          "name": "verification_code",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in playdice

    {
      "name": "playdice",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "player_account",
          "type": "string"
        },
        {
          "name": "bet_quantity",
          "type": "string"
        },
        {
          "name": "dice_number",
          "type": "string"
        }
      ]
    }
  • Action parameter in withdrawal

    {
      "name": "withdrawal",
      "base": "",
      "fields": [
        {
          "name": "verification_code",
          "type": "uint64"
        },
        {
          "name": "withdrawal_amount",
          "type": "string"
        },
        {
          "name": "symbol",
          "type": "string"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }