Vaulta

eoswaronelab

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "acc_info",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "play_id",
          "type": "name"
        },
        {
          "name": "seed",
          "type": "string"
        },
        {
          "name": "inviter",
          "type": "name"
        }
      ]
    }
  • Table row type of activedices

    {
      "name": "active_dice",
      "base": "",
      "fields": [
        {
          "name": "dice_id",
          "type": "uint64"
        },
        {
          "name": "serial",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "under",
          "type": "uint8"
        },
        {
          "name": "size",
          "type": "uint8"
        },
        {
          "name": "battle_id",
          "type": "uint64"
        },
        {
          "name": "team",
          "type": "uint8"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Table row type of chats

    {
      "name": "chat",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "info",
          "type": "string"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claimbalance

    {
      "name": "claimbalance",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • Action parameter in claiminvite

    {
      "name": "claiminvite",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in claimstake

    {
      "name": "claimstake",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • Table row type of wardiceowner

    {
      "name": "dice_owner",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint8"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bonus_cur_user",
          "type": "uint64Array"
        },
        {
          "name": "bonus_sum",
          "type": "uint64Array"
        },
        {
          "name": "level",
          "type": "uint64"
        },
        {
          "name": "last_trade_time",
          "type": "uint64"
        },
        {
          "name": "last_trade_price",
          "type": "uint64"
        }
      ]
    }
  • Table row type of wardices

    {
      "name": "dice_record",
      "base": "",
      "fields": [
        {
          "name": "dice_id",
          "type": "uint64"
        },
        {
          "name": "serial",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "under",
          "type": "uint8"
        },
        {
          "name": "randoms",
          "type": "vuint8_t"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        },
        {
          "name": "team",
          "type": "uint8"
        },
        {
          "name": "battle_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of callslogan

    {
      "name": "dice_slogan",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint8"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "slogan",
          "type": "string"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "expired_time",
          "type": "uint64"
        },
        {
          "name": "battle_id",
          "type": "uint64"
        },
        {
          "name": "points",
          "type": "uint64"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "counter",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in diceresult

    {
      "name": "diceresult",
      "base": "",
      "fields": [
        {
          "name": "result",
          "type": "playerdice_record"
        }
      ]
    }
  • Action parameter in dicetransfer

    {
      "name": "dicetransfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "eos",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in dividend

    {
      "name": "dividend",
      "base": "",
      "fields": [
        {
          "name": "percent",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in eostransfer

    {
      "name": "eostransfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "eos",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in initbattle

    {
      "name": "initbattle",
      "base": "",
      "fields": []
    }
  • Table row type of invitebonus

    {
      "name": "invite_bonus",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "token_amounts",
          "type": "uint64Array"
        }
      ]
    }
  • Action parameter in joinbattle

    {
      "name": "joinbattle",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • Action parameter in lock

    {
      "name": "lock",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in multireveal

    {
      "name": "multireveal",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint64"
        },
        {
          "name": "len",
          "type": "uint64"
        },
        {
          "name": "ids",
          "type": "string"
        },
        {
          "name": "seed_hashs",
          "type": "string"
        },
        {
          "name": "sigs",
          "type": "string"
        },
        {
          "name": "sig_hashs",
          "type": "string"
        }
      ]
    }
  • Action parameter in openbattle

    {
      "name": "openbattle",
      "base": "",
      "fields": []
    }
  • Struct property of diceresult

    {
      "name": "playerdice_record",
      "base": "",
      "fields": [
        {
          "name": "dice_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "under",
          "type": "uint8"
        },
        {
          "name": "randoms",
          "type": "vuint8_t"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "team",
          "type": "uint8"
        },
        {
          "name": "battle_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in restake

    {
      "name": "restake",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint64"
        },
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        }
      ]
    }
  • Action parameter in revealbattle

    {
      "name": "revealbattle",
      "base": "",
      "fields": []
    }
  • Action parameter in reward

    {
      "name": "reward",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "eos",
          "type": "asset"
        }
      ]
    }
  • Action parameter in sendchat

    {
      "name": "sendchat",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "info",
          "type": "string"
        }
      ]
    }
  • Action parameter in setslogan

    {
      "name": "setslogan",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "num",
          "type": "uint8"
        },
        {
          "name": "slogan",
          "type": "string"
        }
      ]
    }
  • Action parameter in settle

    {
      "name": "settle",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint64"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in settlebattle

    {
      "name": "settlebattle",
      "base": "",
      "fields": [
        {
          "name": "battle_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of battlegame

    Table row type of curbattle

    {
      "name": "st_battle_game",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "reveal_time",
          "type": "uint64"
        },
        {
          "name": "counters",
          "type": "uint64Array"
        },
        {
          "name": "points",
          "type": "uint64Array"
        },
        {
          "name": "amounts",
          "type": "uint64Array"
        },
        {
          "name": "balances",
          "type": "uint64Array"
        },
        {
          "name": "winner",
          "type": "uint8"
        }
      ]
    }
  • Table row type of battleid

    {
      "name": "st_battle_id",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of battleuser1

    {
      "name": "st_battle_user",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "team",
          "type": "uint8"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "join_time",
          "type": "uint64"
        }
      ]
    }
  • Table row type of battleuser2

    {
      "name": "st_battle_user2",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "team",
          "type": "uint8"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "join_time",
          "type": "uint64"
        },
        {
          "name": "flag",
          "type": "uint8"
        }
      ]
    }
  • Table row type of bonusstate

    {
      "name": "st_bonus_global",
      "base": "",
      "fields": [
        {
          "name": "offset",
          "type": "name"
        },
        {
          "name": "token_amounts",
          "type": "uint64Array"
        },
        {
          "name": "lock",
          "type": "uint8"
        },
        {
          "name": "stage",
          "type": "uint8"
        },
        {
          "name": "version",
          "type": "uint64"
        }
      ]
    }
  • Table row type of warbonus

    {
      "name": "st_bonus_mgr",
      "base": "",
      "fields": [
        {
          "name": "token_amounts_A",
          "type": "uint64Array"
        },
        {
          "name": "token_amounts_B",
          "type": "uint64Array"
        },
        {
          "name": "unstaking_amount",
          "type": "uint64"
        },
        {
          "name": "stake_amount",
          "type": "uint64"
        },
        {
          "name": "released_amount",
          "type": "uint64"
        }
      ]
    }
  • Table row type of deferredid

    {
      "name": "st_deferred_id",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of global

    {
      "name": "st_global",
      "base": "",
      "fields": [
        {
          "name": "current_dice_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of wartokeninfo

    {
      "name": "st_lock_balance",
      "base": "",
      "fields": [
        {
          "name": "token_amounts",
          "type": "uint64Array"
        }
      ]
    }
  • Table row type of users

    {
      "name": "st_user_stat",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "guess_amount",
          "type": "uint64"
        },
        {
          "name": "payout_amount",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in stake

    {
      "name": "stake",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Table row type of wartest

    Table row type of waruserbonus

    {
      "name": "stake_bonus",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "token_amounts",
          "type": "uint64Array"
        }
      ]
    }
  • Table row type of warstake

    {
      "name": "stake_record",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in subdividend

    {
      "name": "subdividend",
      "base": "",
      "fields": [
        {
          "name": "stage",
          "type": "uint8"
        },
        {
          "name": "isA",
          "type": "uint8"
        },
        {
          "name": "percent",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in test

    {
      "name": "test",
      "base": "",
      "fields": []
    }
  • Action parameter in todiceowner

    {
      "name": "todiceowner",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint8"
        },
        {
          "name": "tonumber",
          "type": "uint8"
        },
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • Action parameter in unlock

    {
      "name": "unlock",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in unstake

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Table row type of warunstake

    {
      "name": "unstake_record",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "time",
          "type": "uint64"
        },
        {
          "name": "is_released",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in updateuser

    {
      "name": "updateuser",
      "base": "",
      "fields": [
        {
          "name": "count",
          "type": "uint64"
        },
        {
          "name": "content",
          "type": "string"
        }
      ]
    }
  • Action parameter in wartransfer

    {
      "name": "wartransfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "eos",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }