Vaulta

eostowergame

Contract

The data structures defined by this contract.

  • Table row type of bets

    {
      "name": "bet_history",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Table row type of stats

    {
      "name": "bet_stat",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "game1",
          "type": "uint64"
        },
        {
          "name": "game2",
          "type": "uint64"
        },
        {
          "name": "game3",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in deletelog

    {
      "name": "deletelog",
      "base": "",
      "fields": [
        {
          "name": "limit",
          "type": "uint64"
        }
      ]
    }
  • Table row type of games

    {
      "name": "existed_game",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "score",
          "type": "uint64"
        },
        {
          "name": "game_time",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "bonus_asset",
          "type": "asset"
        }
      ]
    }
  • Table row type of logs

    {
      "name": "game_log",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "user1",
          "type": "name"
        },
        {
          "name": "user2",
          "type": "name"
        },
        {
          "name": "score1",
          "type": "uint64"
        },
        {
          "name": "score2",
          "type": "uint64"
        },
        {
          "name": "time1",
          "type": "uint64"
        },
        {
          "name": "time2",
          "type": "uint64"
        },
        {
          "name": "start_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "bet_asset",
          "type": "asset"
        },
        {
          "name": "bonus_asset1",
          "type": "asset"
        },
        {
          "name": "bonus_asset2",
          "type": "asset"
        }
      ]
    }
  • Table row type of matching

    {
      "name": "match_stat",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "score1",
          "type": "uint64"
        },
        {
          "name": "score2",
          "type": "uint64"
        },
        {
          "name": "score3",
          "type": "uint64"
        },
        {
          "name": "score4",
          "type": "uint64"
        },
        {
          "name": "score5",
          "type": "uint64"
        },
        {
          "name": "result1",
          "type": "uint8"
        },
        {
          "name": "result2",
          "type": "uint8"
        },
        {
          "name": "result3",
          "type": "uint8"
        },
        {
          "name": "result4",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in notifyresult

    {
      "name": "notifyresult",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "msg",
          "type": "string"
        }
      ]
    }
  • Action parameter in playfreegame

    {
      "name": "playfreegame",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        }
      ]
    }
  • Action parameter in pushresult

    {
      "name": "pushresult",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "score",
          "type": "uint64"
        },
        {
          "name": "game_time",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in pushresultref

    {
      "name": "pushresultref",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "score",
          "type": "uint64"
        },
        {
          "name": "game_time",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "referral",
          "type": "string"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in refundasset

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

    {
      "name": "refundgame",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "key",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in removebytime

    {
      "name": "removebytime",
      "base": "",
      "fields": [
        {
          "name": "interval_time",
          "type": "uint64"
        },
        {
          "name": "max_delete",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in sendfreepvp

    {
      "name": "sendfreepvp",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Table row type of users

    {
      "name": "user_history",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "win",
          "type": "uint64"
        },
        {
          "name": "draw",
          "type": "uint64"
        },
        {
          "name": "lose",
          "type": "uint64"
        },
        {
          "name": "high",
          "type": "uint64"
        },
        {
          "name": "average",
          "type": "float64"
        }
      ]
    }