
The data structures defined by this contract.
-
{ "name": "bet", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "amount", "type": "asset" }, { "name": "received_amount", "type": "asset" }, { "name": "bet_time", "type": "time_point_sec" }, { "name": "resolved", "type": "bool" }, { "name": "hash", "type": "checksum256" }, { "name": "reel1", "type": "uint8" }, { "name": "reel2", "type": "uint8" }, { "name": "reel3", "type": "uint8" }, { "name": "reel4", "type": "uint8" }, { "name": "reel5", "type": "uint8" }, { "name": "winnings", "type": "asset" }, { "name": "jackpot", "type": "bool" }, { "name": "dice", "type": "bool" } ] }
Action parameter in betreceipt
{ "name": "betreceipt", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "reel1", "type": "uint8" }, { "name": "reel2", "type": "uint8" }, { "name": "reel3", "type": "uint8" }, { "name": "reel4", "type": "uint8" }, { "name": "reel5", "type": "uint8" }, { "name": "winnings", "type": "asset" }, { "name": "jackpot", "type": "bool" } ] }
-
{ "name": "betresult", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "reel1", "type": "uint8" }, { "name": "reel2", "type": "uint8" }, { "name": "reel3", "type": "uint8" }, { "name": "reel4", "type": "uint8" }, { "name": "reel5", "type": "uint8" }, { "name": "winnings", "type": "asset" }, { "name": "jackpot", "type": "bool" } ] }
-
{ "name": "data", "base": "", "fields": [ { "name": "num1", "type": "uint64" }, { "name": "num2", "type": "uint64" }, { "name": "asset1", "type": "asset" }, { "name": "asset2", "type": "asset" } ] }
-
{ "name": "jackpot", "base": "", "fields": [ { "name": "amount", "type": "asset" } ] }
-
{ "name": "makebet", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "hash", "type": "checksum256" }, { "name": "user", "type": "name" }, { "name": "amount", "type": "asset" }, { "name": "received_amount", "type": "asset" }, { "name": "dice", "type": "bool" } ] }
Action parameter in resolvebet
{ "name": "resolvebet", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "sig", "type": "signature" } ] }
-
{ "name": "setdata", "base": "", "fields": [ { "name": "num1", "type": "uint64" }, { "name": "num2", "type": "uint64" }, { "name": "asset1", "type": "asset" }, { "name": "asset2", "type": "asset" } ] }
-
{ "name": "transfer", "base": "", "fields": [ { "name": "from", "type": "name" }, { "name": "to", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "memo", "type": "string" } ] }