[ { "type": "function", "name": "create", "inputs": [ { "name": "_players", "type": "bytes" } ], "outputs": [], "constant": false }, { "type": "function", "name": "sendAction", "inputs": [ { "name": "_game_id", "type": "uint64" }, { "name": "_player_id", "type": "uint64" }, { "name": "_game_move", "type": "bytes" } ], "outputs": [], "constant": false }, { "type": "function", "name": "getState", "inputs": [ { "name": "_game_id", "type": "uint64" }, { "name": "_player_id", "type": "uint64" } ], "outputs": [ { "name": "returnValue0", "type": "bytes" } ], "constant": true }, { "type": "function", "name": "getPlayers", "inputs": [ { "name": "_game_id", "type": "uint64" } ], "outputs": [ { "name": "returnValue0", "type": "bytes" } ], "constant": true }, { "type": "function", "name": "getMoves", "inputs": [ { "name": "_game_id", "type": "uint64" } ], "outputs": [ { "name": "returnValue0", "type": "bytes" } ], "constant": true }, { "type": "event", "name": "GameEvent", "inputs": [ { "name": "indexed_id", "type": "uint64", "indexed": true }, { "name": "_id", "type": "uint64", "indexed": false } ] }, { "type": "event", "name": "NewGame", "inputs": [ { "name": "_id", "type": "uint64", "indexed": false }, { "name": "_players", "type": "bytes", "indexed": false } ] } ]