Vaulta

dtheoschain1

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "impawned",
          "type": "uint64"
        },
        {
          "name": "frozen",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in addsetting

    {
      "name": "addsetting",
      "base": "",
      "fields": [
        {
          "name": "min_chip",
          "type": "uint64"
        },
        {
          "name": "max_chip",
          "type": "uint64"
        },
        {
          "name": "small_blind",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in adminaction

    {
      "name": "adminaction",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "player_id",
          "type": "uint8"
        },
        {
          "name": "dowhat",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in changeset

    {
      "name": "changeset",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "setting_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in clearroom

    {
      "name": "clearroom",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in closeroom

    {
      "name": "closeroom",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in doaction

    {
      "name": "doaction",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "player_id",
          "type": "uint8"
        },
        {
          "name": "dowhat",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in endgame

    {
      "name": "endgame",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "winner",
          "type": "pair_name_uint64[]"
        },
        {
          "name": "privkeys",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Action parameter in eraseactions

    {
      "name": "eraseactions",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in eraseall

    {
      "name": "eraseall",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in erasegame

    {
      "name": "erasegame",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in erasegmp

    {
      "name": "erasegmp",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in erasesettle

    {
      "name": "erasesettle",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of games

    {
      "name": "game",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "spend_chip",
          "type": "uint64"
        },
        {
          "name": "players",
          "type": "name[]"
        },
        {
          "name": "status",
          "type": "bool"
        }
      ]
    }
  • Table row type of actions

    {
      "name": "game_action",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "player_id",
          "type": "uint8"
        },
        {
          "name": "dowhat",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        }
      ]
    }
  • Table row type of gameplayer

    {
      "name": "game_player",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "public_key",
          "type": "string"
        },
        {
          "name": "private_key",
          "type": "string"
        },
        {
          "name": "encrypt_datas",
          "type": "string"
        },
        {
          "name": "password_slices",
          "type": "string"
        }
      ]
    }
  • Action parameter in login

    {
      "name": "login",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • Struct property of endgame

    Struct property of room

    Struct property of uploadslices

    {
      "name": "pair_name_string",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "value",
          "type": "string"
        }
      ]
    }
  • Struct property of endgame

    Struct property of room

    Struct property of settle

    Struct property of withhold

    {
      "name": "pair_name_uint64",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in punish

    {
      "name": "punish",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in redeem

    {
      "name": "redeem",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rooms

    {
      "name": "room",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "min_chip",
          "type": "uint64"
        },
        {
          "name": "max_chip",
          "type": "uint64"
        },
        {
          "name": "small_blind",
          "type": "uint64"
        },
        {
          "name": "now_game_id",
          "type": "uint64"
        },
        {
          "name": "action_count",
          "type": "uint64"
        },
        {
          "name": "expired_time",
          "type": "uint64"
        },
        {
          "name": "room_setting_id",
          "type": "uint64"
        },
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "time",
          "type": "uint32"
        },
        {
          "name": "closed",
          "type": "bool"
        },
        {
          "name": "players",
          "type": "pair_name_uint64[]"
        },
        {
          "name": "tokens",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Table row type of roomsettings

    {
      "name": "room_setting",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "min_chip",
          "type": "uint64"
        },
        {
          "name": "max_chip",
          "type": "uint64"
        },
        {
          "name": "small_blind",
          "type": "uint64"
        }
      ]
    }
  • Table row type of settles

    {
      "name": "settle",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "win_players",
          "type": "pair_name_uint64[]"
        }
      ]
    }
  • Action parameter in standup

    {
      "name": "standup",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "room_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in startgame

    {
      "name": "startgame",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "players",
          "type": "name[]"
        },
        {
          "name": "pubkeys",
          "type": "string[]"
        },
        {
          "name": "datas",
          "type": "string[]"
        }
      ]
    }
  • Action parameter in unfreeze

    {
      "name": "unfreeze",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in uploadslices

    {
      "name": "uploadslices",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "slices",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Action parameter in withhold

    {
      "name": "withhold",
      "base": "",
      "fields": [
        {
          "name": "room_id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "players",
          "type": "pair_name_uint64[]"
        }
      ]
    }