{
"end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"game_name": "<String>"
}
None
None
{
"name": "<String>"
}
{
"Enum": [
{
"OnlyAccount": []
},
{
"LobbyFull": []
},
{
"AlreadyAPlayer": []
},
{
"MissingParameter": []
}
]
}
None
{
"name": "<String>",
"player_to_bet_on": {
"Enum": [
{
"One": []
},
{
"Two": []
}
]
}
}
{
"Enum": [
{
"OnlyAccount": []
},
{
"BetTooLate": []
},
{
"BetClosed": []
},
{
"AlreadyBet": []
},
{
"MissingParameter": []
}
]
}
None
None
None
{
"bet_state": {
"Enum": [
{
"Open": []
},
{
"Closed": []
}
]
},
"end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"gamblers": [
{
"account": "<AccountAddress>",
"amount": "<Amount in microCCD>",
"bet_on": {
"Enum": [
{
"One": []
},
{
"Two": []
}
]
},
"name": "<String>"
}
],
"game_name": "<String>",
"game_state": {
"Enum": [
{
"WaitingForPlayers": []
},
{
"Ready": []
},
{
"InProgress": []
},
{
"Finished": []
}
]
},
"players": [
{
"account": "<AccountAddress>",
"amount": "<Amount in microCCD>",
"name": "<String>",
"position": {
"Enum": [
{
"One": []
},
{
"Two": []
}
]
}
}
]
}
None
None
"<Amount in microCCD>"