
The data structures defined by this contract.
-
{ "name": "bet", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "round_id", "type": "uint64" }, { "name": "bettor", "type": "name" }, { "name": "referral", "type": "name" }, { "name": "bet_options", "type": "uint64[]" }, { "name": "bet_asset", "type": "asset" }, { "name": "bet_time", "type": "uint64" }, { "name": "payout_asset", "type": "asset" } ] }
Action parameter in betreceipt
{ "name": "betreceipt", "base": "", "fields": [ { "name": "round_id", "type": "uint64" }, { "name": "racing_time", "type": "uint64" }, { "name": "dog_intervals", "type": "uint64[]" }, { "name": "dog_odds", "type": "uint64[]" }, { "name": "total_bet_asset", "type": "asset" }, { "name": "dog_rank", "type": "uint64[]" }, { "name": "total_payout_asset", "type": "asset" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "sign", "type": "signature" }, { "name": "sign_hash", "type": "checksum256" }, { "name": "resolved", "type": "uint64" } ] }
Struct property of exchange_state
{ "name": "connector", "base": "", "fields": [ { "name": "balance", "type": "asset" }, { "name": "weight", "type": "float64" } ] }
Table row type of rammarket
{ "name": "exchange_state", "base": "", "fields": [ { "name": "supply", "type": "asset" }, { "name": "base", "type": "connector" }, { "name": "quote", "type": "connector" } ] }
-
{ "name": "globalvar", "base": "", "fields": [ { "name": "row_id", "type": "uint64" }, { "name": "current_round_id", "type": "uint64" }, { "name": "next_bet_id", "type": "uint64" }, { "name": "pub_key", "type": "public_key" }, { "name": "paused", "type": "bool" }, { "name": "min_bet", "type": "asset" }, { "name": "max_bet", "type": "asset" } ] }
Action parameter in initcontract
{ "name": "initcontract", "base": "", "fields": [ { "name": "pub_key", "type": "public_key" } ] }
-
{ "name": "newpubkey", "base": "", "fields": [ { "name": "pubkey", "type": "public_key" } ] }
-
{ "name": "pause", "base": "", "fields": [ { "name": "paused", "type": "bool" } ] }
Action parameter in resolveround
{ "name": "resolveround", "base": "", "fields": [ { "name": "round_id", "type": "uint64" }, { "name": "sign", "type": "signature" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "sign_hash", "type": "checksum256" } ] }
-
{ "name": "round", "base": "", "fields": [ { "name": "round_id", "type": "uint64" }, { "name": "racing_time", "type": "uint64" }, { "name": "dog_intervals", "type": "uint64[]" }, { "name": "dog_odds", "type": "uint64[]" }, { "name": "dog_names", "type": "string[]" }, { "name": "total_bet_asset", "type": "asset" }, { "name": "ram_price", "type": "uint128" }, { "name": "dog_rank", "type": "uint8[]" }, { "name": "total_payout_asset", "type": "asset" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "sign", "type": "signature" }, { "name": "sign_hash", "type": "checksum256" }, { "name": "resolved", "type": "uint64" } ] }