Vaulta

acegameeggs1

Contract

The data structures defined by this contract.

  • Table row type of activegame

    {
      "name": "ActiveGame",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "server_seedhash",
          "type": "string"
        },
        {
          "name": "client_seed",
          "type": "string"
        },
        {
          "name": "client_hash",
          "type": "string"
        },
        {
          "name": "expiration",
          "type": "uint32"
        },
        {
          "name": "cur_price",
          "type": "asset"
        },
        {
          "name": "base_price",
          "type": "asset"
        },
        {
          "name": "total_bet",
          "type": "asset"
        },
        {
          "name": "played_nums",
          "type": "string"
        },
        {
          "name": "reward_nums",
          "type": "string"
        }
      ]
    }
  • Table row type of bet

    {
      "name": "Bet",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "bet_quantity",
          "type": "asset"
        },
        {
          "name": "pos",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in delgame

    {
      "name": "delgame",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of eglobal

    {
      "name": "eglobal",
      "base": "",
      "fields": [
        {
          "name": "next_game_id",
          "type": "uint64"
        },
        {
          "name": "next_bet_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in endgame

    {
      "name": "endgame",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "server_seed",
          "type": "string"
        },
        {
          "name": "client_seed",
          "type": "string"
        }
      ]
    }
  • Action parameter in newgame

    {
      "name": "newgame",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "base_price",
          "type": "asset"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "expiration",
          "type": "uint32"
        },
        {
          "name": "server_seedhash",
          "type": "string"
        },
        {
          "name": "client_seed",
          "type": "string"
        },
        {
          "name": "server_signature",
          "type": "string"
        },
        {
          "name": "client_hash",
          "type": "string"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "play_pos",
          "type": "uint8"
        },
        {
          "name": "is_win",
          "type": "bool"
        }
      ]
    }