
The data structures defined by this contract.
-
{ "name": "bet", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "match_id", "type": "uint64" }, { "name": "bettor", "type": "name" }, { "name": "match_result_options", "type": "uint64[]" }, { "name": "total_goals_options", "type": "uint64[]" }, { "name": "bet_asset", "type": "asset" }, { "name": "payout_asset", "type": "asset" }, { "name": "status", "type": "uint64" }, { "name": "bet_time", "type": "uint64" } ] }
Action parameter in betreceipt
{ "name": "betreceipt", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "bettor", "type": "name" }, { "name": "match_result_options", "type": "uint64[]" }, { "name": "goal_size_options", "type": "uint64[]" }, { "name": "bet_asset", "type": "asset" }, { "name": "bet_time", "type": "uint64" }, { "name": "payout_asset", "type": "asset" }, { "name": "match_id", "type": "uint64" }, { "name": "home_score", "type": "uint8" }, { "name": "away_score", "type": "uint8" } ] }
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_match_id", "type": "uint64" }, { "name": "new_bet_id", "type": "uint64" }, { "name": "pub_key", "type": "public_key" } ] }
Action parameter in initcontract
{ "name": "initcontract", "base": "", "fields": [ { "name": "pub_key", "type": "public_key" } ] }
-
{ "name": "match", "base": "", "fields": [ { "name": "match_id", "type": "uint64" }, { "name": "match_time", "type": "uint64" }, { "name": "match_result_bet_amount", "type": "uint64[]" }, { "name": "total_goals_bet_amount", "type": "uint64[]" }, { "name": "total_bet_asset", "type": "asset" }, { "name": "ram_price", "type": "uint128" }, { "name": "home_score", "type": "uint8" }, { "name": "away_score", "type": "uint8" }, { "name": "home_goals", "type": "uint64[]" }, { "name": "away_goals", "type": "uint64[]" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "sign", "type": "signature" }, { "name": "sign_hash", "type": "checksum256" }, { "name": "status", "type": "uint64" } ] }
Action parameter in matchreceipt
{ "name": "matchreceipt", "base": "", "fields": [ { "name": "match_id", "type": "uint64" }, { "name": "match_time", "type": "uint64" }, { "name": "match_result_bet_amount", "type": "uint64[]" }, { "name": "total_goals_bet_amount", "type": "uint64[]" }, { "name": "total_bet_asset", "type": "asset" }, { "name": "ram_price", "type": "uint128" }, { "name": "home_score", "type": "uint8" }, { "name": "away_score", "type": "uint8" }, { "name": "home_goals", "type": "uint64[]" }, { "name": "away_goals", "type": "uint64[]" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "sign", "type": "signature" }, { "name": "sign_hash", "type": "checksum256" } ] }
-
{ "name": "newpubkey", "base": "", "fields": [ { "name": "pubkey", "type": "public_key" } ] }
-
{ "name": "play", "base": "", "fields": [ { "name": "from", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "memo", "type": "string" } ] }
Action parameter in resolvematch
{ "name": "resolvematch", "base": "", "fields": [ { "name": "match_id", "type": "uint64" }, { "name": "sign", "type": "signature" }, { "name": "seed_hash", "type": "checksum256" }, { "name": "sign_hash", "type": "checksum256" } ] }