EOS

eggameioball

Contract

The data structures defined by this contract.

  • Table row type of global

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

    { "name": "result", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "game_id", "type": "uint64" }, { "name": "win_amount", "type": "uint64" } ] }
  • Table row type of betrecord

    { "name": "betrecord", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "game_id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "memo", "type": "string" } ] }
  • Table row type of pubkey

    { "name": "pubkey", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "key", "type": "public_key" } ] }
  • Table row type of odds

    { "name": "odds", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "_odds", "type": "float64" } ] }
  • Table row type of game

    { "name": "game", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "type", "type": "uint64" }, { "name": "status", "type": "uint64" }, { "name": "end_time", "type": "time_point_sec" }, { "name": "result", "type": "uint32[]" }, { "name": "bet_amt", "type": "asset" } ] }
  • Table row type of bet

    { "name": "bet", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "game_id", "type": "uint64" }, { "name": "player_name", "type": "string" }, { "name": "referrer", "type": "name" }, { "name": "amount", "type": "asset" }, { "name": "note_amount", "type": "uint64" }, { "name": "num", "type": "string" }, { "name": "type1", "type": "uint32" }, { "name": "type2", "type": "uint32" } ] }
  • Action parameter in offerbet

    { "name": "offerbet", "base": "", "fields": [] }
  • Action parameter in init

    { "name": "init", "base": "", "fields": [ { "name": "key", "type": "public_key" } ] }
  • Action parameter in uninit

    { "name": "uninit", "base": "", "fields": [] }
  • Action parameter in setkey

    { "name": "setkey", "base": "", "fields": [ { "name": "key", "type": "public_key" } ] }
  • Action parameter in setting

    { "name": "setting", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "value", "type": "uint64" } ] }
  • Action parameter in lottery

    { "name": "lottery", "base": "", "fields": [ { "name": "game_id", "type": "uint64" }, { "name": "result", "type": "uint64" }, { "name": "sig", "type": "signature" }, { "name": "seed", "type": "checksum256" } ] }
  • Action parameter in liquidation

    { "name": "liquidation", "base": "", "fields": [ { "name": "game_id", "type": "uint64" } ] }
  • Action parameter in startgame

    { "name": "startgame", "base": "", "fields": [ { "name": "type", "type": "uint64" }, { "name": "game_id", "type": "uint64" }, { "name": "end_time", "type": "uint64" } ] }
  • Action parameter in endgame

    { "name": "endgame", "base": "", "fields": [ { "name": "game_id", "type": "uint64" } ] }
  • Action parameter in setodds

    { "name": "setodds", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "odds", "type": "float64" } ] }
  • Action parameter in handlebet

    { "name": "handlebet", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "status", "type": "uint64" } ] }
  • Action parameter in handleresult

    { "name": "handleresult", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" } ] }