EOS

dice.bg

Contract

The data structures defined by this contract.

  • Table row type of actbets

    { "name": "actbets", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "player", "type": "name" }, { "name": "referrer", "type": "name" }, { "name": "amount", "type": "asset" }, { "name": "roll_under", "type": "uint8" }, { "name": "random_roll", "type": "uint8" }, { "name": "seed", "type": "checksum256" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "user_seed_hash", "type": "checksum160" }, { "name": "tx_id", "type": "checksum256" }, { "name": "payout", "type": "asset" }, { "name": "created_at", "type": "uint64" }, { "name": "bet_id", "type": "uint64" }, { "name": "proxy", "type": "name" }, { "name": "memo", "type": "string" } ] }
  • Table row type of bets1

    { "name": "bets1", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "player", "type": "name" }, { "name": "referrer", "type": "name" }, { "name": "amount", "type": "asset" }, { "name": "roll_under", "type": "uint8" }, { "name": "random_roll", "type": "uint8" }, { "name": "seed", "type": "checksum256" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "user_seed_hash", "type": "checksum160" }, { "name": "tx_id", "type": "checksum256" }, { "name": "payout", "type": "asset" }, { "name": "created_at", "type": "uint64" }, { "name": "bet_id", "type": "uint64" }, { "name": "proxy", "type": "name" }, { "name": "memo", "type": "string" } ] }
  • Table row type of fundpool1

    { "name": "fundpool1", "base": "", "fields": [ { "name": "locked", "type": "asset" } ] }
  • Table row type of globalstate

    { "name": "global_state", "base": "", "fields": [ { "name": "key", "type": "uint64" }, { "name": "value", "type": "int32" } ] }
  • Action parameter in log

    { "name": "log", "base": "", "fields": [ { "name": "bet", "type": "st_bet_log" } ] }
  • Action parameter in receipt

    { "name": "receipt", "base": "", "fields": [ { "name": "bet", "type": "st_bet_log" } ] }
  • Action parameter in refund

    { "name": "refund", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" } ] }
  • Action parameter in reveal

    { "name": "reveal", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "seed", "type": "checksum256" } ] }
  • Action parameter in reveal1

    { "name": "reveal1", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "seed", "type": "checksum256" }, { "name": "game_id", "type": "uint64" } ] }
  • Action parameter in setlock

    { "name": "setlock", "base": "", "fields": [ { "name": "amount", "type": "asset" } ] }
  • Action parameter in setstate

    { "name": "setstate", "base": "", "fields": [ { "name": "key", "type": "string" }, { "name": "value", "type": "int32" } ] }
  • Struct property of log

    Struct property of receipt

    { "name": "st_bet_log", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "player", "type": "name" }, { "name": "referrer", "type": "name" }, { "name": "amount", "type": "asset" }, { "name": "roll_under", "type": "uint8" }, { "name": "random_roll", "type": "uint8" }, { "name": "house_seed", "type": "checksum256" }, { "name": "house_seed_hash", "type": "checksum256" }, { "name": "player_seed", "type": "string" }, { "name": "player_seed_hash", "type": "checksum160" }, { "name": "tx_id", "type": "checksum256" }, { "name": "payout", "type": "asset" }, { "name": "created_at", "type": "uint64" }, { "name": "bet_id", "type": "uint64" } ] }
  • Table row type of hashlist

    { "name": "st_hash", "base": "", "fields": [ { "name": "hash", "type": "checksum256" }, { "name": "expiration", "type": "uint64" } ] }
  • Table row type of userseeds

    { "name": "userseeds", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "player_seed", "type": "string" } ] }