Vaulta

rockscissors

Contract

  • Action parameter in receipt

    {
      "name": "receipt",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "bet_quantity",
          "type": "asset"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "seed",
          "type": "st_seed"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "player_won",
          "type": "int32"
        },
        {
          "name": "player_rsp",
          "type": "uint8"
        },
        {
          "name": "banker_rsp",
          "type": "uint8"
        },
        {
          "name": "x_eos",
          "type": "uint32"
        },
        {
          "name": "x_token",
          "type": "uint32"
        },
        {
          "name": "roulette_idx",
          "type": "uint8"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }