Vaulta

tobetiologs1

Contract

The data structures defined by this contract.

  • Table row type of dice

    {
      "name": "dice_record",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "roll_under",
          "type": "uint8"
        },
        {
          "name": "random_roll",
          "type": "uint8"
        },
        {
          "name": "payout",
          "type": "asset"
        }
      ]
    }
  • Table row type of seedhash

    {
      "name": "seed_hash",
      "base": "",
      "fields": [
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "expiration",
          "type": "uint64"
        }
      ]
    }
  • Table row type of allstake

    {
      "name": "all_stake",
      "base": "",
      "fields": [
        {
          "name": "stake",
          "type": "asset"
        }
      ]
    }
  • Table row type of allunstake

    {
      "name": "all_unstake",
      "base": "",
      "fields": [
        {
          "name": "unstake",
          "type": "asset"
        }
      ]
    }
  • Table row type of alluserstake

    {
      "name": "all_user_stake",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "stake",
          "type": "asset"
        },
        {
          "name": "unstake",
          "type": "asset"
        }
      ]
    }
  • Struct property of result

    {
      "name": "dice_result_log",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "gameId",
          "type": "string"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "roll_under",
          "type": "uint8"
        },
        {
          "name": "random_roll",
          "type": "uint8"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "user_seed_hash",
          "type": "string"
        },
        {
          "name": "payout",
          "type": "asset"
        }
      ]
    }
  • Action parameter in result

    {
      "name": "result",
      "base": "",
      "fields": [
        {
          "name": "result",
          "type": "dice_result_log"
        }
      ]
    }
  • Struct property of resultnew

    Struct property of fruitresult

    Struct property of gameresult

    {
      "name": "game_result_log",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "gameId",
          "type": "string"
        },
        {
          "name": "gameType",
          "type": "string"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "betInfo",
          "type": "string"
        },
        {
          "name": "resultInfo",
          "type": "string"
        }
      ]
    }
  • Action parameter in resultnew

    {
      "name": "resultnew",
      "base": "",
      "fields": [
        {
          "name": "result",
          "type": "game_result_log"
        }
      ]
    }
  • Action parameter in fruitresult

    {
      "name": "fruitresult",
      "base": "",
      "fields": [
        {
          "name": "result",
          "type": "game_result_log"
        }
      ]
    }
  • Action parameter in gameresult

    {
      "name": "gameresult",
      "base": "",
      "fields": [
        {
          "name": "result",
          "type": "game_result_log"
        }
      ]
    }