Vaulta

endlesspoker

Contract

The data structures defined by this contract.

  • Table row type of bet1

    {
      "name": "Bet",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "number_of_hands",
          "type": "uint8"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "backend_seed_hash",
          "type": "string"
        },
        {
          "name": "replaced_cards",
          "type": "uint8[]"
        },
        {
          "name": "is_replaced",
          "type": "bool"
        }
      ]
    }
  • Table row type of hash1

    {
      "name": "Hash",
      "base": "",
      "fields": [
        {
          "name": "value",
          "type": "uint32"
        },
        {
          "name": "expiration",
          "type": "uint32"
        }
      ]
    }
  • Struct property of config2

    {
      "name": "Payout",
      "base": "",
      "fields": [
        {
          "name": "eos",
          "type": "int64"
        },
        {
          "name": "etx10000",
          "type": "int64"
        }
      ]
    }
  • Action parameter in bet

    {
      "name": "bet",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "number_of_hands",
          "type": "uint8"
        },
        {
          "name": "expiration",
          "type": "uint32"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "backend_seed_hash",
          "type": "string"
        }
      ]
    }
  • Table row type of config2

    {
      "name": "config2",
      "base": "",
      "fields": [
        {
          "name": "rank_payouts",
          "type": "Payout[]"
        },
        {
          "name": "min_bet_amount",
          "type": "int64"
        },
        {
          "name": "max_bet_amount",
          "type": "int64"
        },
        {
          "name": "jackpot_rank",
          "type": "int32"
        }
      ]
    }
  • Table row type of global3

    {
      "name": "global3",
      "base": "",
      "fields": [
        {
          "name": "next_bet_id",
          "type": "uint64"
        },
        {
          "name": "jackpot_quantity",
          "type": "asset"
        },
        {
          "name": "dividend_quantity",
          "type": "asset"
        },
        {
          "name": "latest_timestamp",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in replacecards

    {
      "name": "replacecards",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "replaced_cards",
          "type": "uint8[]"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "backend_seed",
          "type": "string"
        }
      ]
    }
  • Action parameter in setgame

    {
      "name": "setgame",
      "base": "",
      "fields": [
        {
          "name": "config",
          "type": "Config"
        }
      ]
    }