Vaulta

rockscissors

Contract

The data structures defined by this contract.

  • Action parameter in blockuser

    {
      "name": "blockuser",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Table row type of waitqueue

    {
      "name": "game_queue",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "bet_amount",
          "type": "asset"
        },
        {
          "name": "player_rsp",
          "type": "uint32"
        },
        {
          "name": "user_seed",
          "type": "uint64"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • Action parameter in healthcheck

    {
      "name": "healthcheck",
      "base": "",
      "fields": []
    }
  • Action parameter in initcontract

    {
      "name": "initcontract",
      "base": "",
      "fields": []
    }
  • Action parameter in pausegame

    {
      "name": "pausegame",
      "base": "",
      "fields": []
    }
  • Action parameter in preparegame

    {
      "name": "preparegame",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "bet_quantity",
          "type": "asset"
        },
        {
          "name": "player_rsp",
          "type": "uint8"
        },
        {
          "name": "user_seed",
          "type": "uint32"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • Action parameter in recoveruser

    {
      "name": "recoveruser",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in resetgame

    {
      "name": "resetgame",
      "base": "",
      "fields": []
    }
  • Table row type of history

    {
      "name": "resolved_bet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "bet_amount",
          "type": "asset"
        },
        {
          "name": "payout_eos",
          "type": "asset"
        },
        {
          "name": "payout_boy",
          "type": "asset"
        },
        {
          "name": "player_won",
          "type": "int32"
        },
        {
          "name": "player_rsp",
          "type": "uint32"
        },
        {
          "name": "banker_rsp",
          "type": "uint32"
        },
        {
          "name": "x_eos",
          "type": "uint32"
        },
        {
          "name": "x_token",
          "type": "uint32"
        },
        {
          "name": "roulette_idx",
          "type": "uint32"
        },
        {
          "name": "expires_at",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in resolvegame

    {
      "name": "resolvegame",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "bet_quantity",
          "type": "asset"
        },
        {
          "name": "player_rsp",
          "type": "uint8"
        },
        {
          "name": "user_seed",
          "type": "uint32"
        },
        {
          "name": "banker_seed",
          "type": "uint64"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "gameid",
          "type": "uint32"
        },
        {
          "name": "banker_seed",
          "type": "string"
        }
      ]
    }
  • Struct property of receipt

    {
      "name": "st_seed",
      "base": "",
      "fields": [
        {
          "name": "timestamp",
          "type": "uint32"
        },
        {
          "name": "player_seed",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in startgame

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