EOS

roulette.e

Contract

The data structures defined by this contract.

  • Table row type of bets

    { "name": "bet", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "game_id", "type": "uint64" }, { "name": "player", "type": "name" }, { "name": "referer", "type": "name" }, { "name": "bet", "type": "asset" }, { "name": "bet_type", "type": "uint8" } ] }
  • Table row type of betamount

    { "name": "bet_amount", "base": "", "fields": [ { "name": "player", "type": "name" }, { "name": "bet", "type": "asset" } ] }
  • Table row type of activegame

    { "name": "game", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "end_time", "type": "uint64" }, { "name": "result", "type": "uint8" }, { "name": "symbol", "type": "symbol" }, { "name": "status", "type": "uint8" }, { "name": "largest_winner", "type": "name" }, { "name": "largest_win_amount", "type": "asset" }, { "name": "seed", "type": "checksum256" } ] }
  • Table row type of globals

    { "name": "globalvar", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "val", "type": "uint64" } ] }
  • Action parameter in hardclose

    { "name": "hardclose", "base": "", "fields": [ { "name": "game_id", "type": "uint64" } ] }
  • Table row type of histories

    { "name": "history", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "history_id", "type": "uint64" }, { "name": "player", "type": "name" }, { "name": "bet", "type": "asset" }, { "name": "bet_type", "type": "uint8" }, { "name": "payout", "type": "asset" }, { "name": "close_time", "type": "uint64" }, { "name": "result", "type": "uint64" } ] }
  • Action parameter in init

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

    { "name": "newround", "base": "", "fields": [ { "name": "symbol_type", "type": "symbol" } ] }
  • Table row type of randkeys

    { "name": "randkey", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "key", "type": "public_key" } ] }
  • Action parameter in receipt

    { "name": "receipt", "base": "", "fields": [ { "name": "game_id", "type": "uint64" }, { "name": "seed", "type": "checksum256" }, { "name": "result", "type": "uint8" } ] }
  • Table row type of results

    { "name": "result", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "game_id", "type": "uint64" }, { "name": "result", "type": "uint8" } ] }
  • Action parameter in reveal

    { "name": "reveal", "base": "", "fields": [ { "name": "game_id", "type": "uint64" }, { "name": "signature", "type": "signature" } ] }
  • Action parameter in setglobal

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

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