Module game_room
Module Info
Module Name game_room
Module Reference 84e1b0e2df
Deployed in block 22,604,782
Deployed in tx c8fc
Age 64 days
Sender Panenka FC
Methods 11
Instances 0
Module Usage
Module Schema
Initialization

Parameters
{
  "contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "entry_fee": "<String of size at most 74 containing an unsigned integer.>",
  "entry_limit": "<UInt32>",
  "game_room_end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "id": "<String>",
  "number_of_runnerups": "<UInt32>",
  "prize": "<String of size at most 74 containing an unsigned integer.>",
  "runnerup_prize": "<String of size at most 74 containing an unsigned integer.>",
  "start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Event
{
  "Enum": [
    {
      "JoinGameRoom": [
        {
          "game_room_id": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String>"
                ]
              }
            ]
          },
          "lineup": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String>"
                ]
              }
            ]
          },
          "team_name": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String>"
                ]
              }
            ]
          },
          "user_name": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String>"
                ]
              }
            ]
          },
          "wallet_address": "<AccountAddress>"
        }
      ]
    },
    {
      "ProcessPayout": [
        {
          "game_room_id": "<String>",
          "prize": "<String of size at most 74 containing an unsigned integer.>",
          "wallet_address": "<AccountAddress>"
        }
      ]
    },
    {
      "ProcessRunnerUpPayout": [
        {
          "game_room_id": "<String>",
          "prize": "<String of size at most 74 containing an unsigned integer.>",
          "wallet_address": "<AccountAddress>"
        }
      ]
    },
    {
      "LineupUpdated": [
        {
          "updated_lineup": "<String>",
          "wallet_address": "<AccountAddress>"
        }
      ]
    }
  ]
}
Methods

Parameters
{
  "contract": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "end": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
        ]
      }
    ]
  },
  "entry_fee": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String of size at most 74 containing an unsigned integer.>"
        ]
      }
    ]
  },
  "entry_limit": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt32>"
        ]
      }
    ]
  },
  "game_room_end": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
        ]
      }
    ]
  },
  "id": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "number_of_runnerups": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt32>"
        ]
      }
    ]
  },
  "prize": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String of size at most 74 containing an unsigned integer.>"
        ]
      }
    ]
  },
  "runnerup_prize": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String of size at most 74 containing an unsigned integer.>"
        ]
      }
    ]
  },
  "start": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
        ]
      }
    ]
  },
  "token_id": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String with lowercase hex>"
        ]
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
{
  "updated_lineup": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
{
  "potential_winner": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
{
  "runner_ups": [
    "<AccountAddress>"
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
{
  "balance": "<String of size at most 74 containing an unsigned integer.>",
  "cis2_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "entry_fee": "<String of size at most 74 containing an unsigned integer.>",
  "entry_limit": "<UInt32>",
  "id": "<String>",
  "participants_count": "<UInt32>",
  "prize": "<String of size at most 74 containing an unsigned integer.>",
  "start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "winner": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  }
}

Parameters
None
Errors
None
Return
[
  "<AccountAddress>"
]

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>",
  "data": {
    "game_room_id": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String>"
          ]
        }
      ]
    },
    "lineup": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String>"
          ]
        }
      ]
    },
    "should_enroll": "<Bool>",
    "team_name": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String>"
          ]
        }
      ]
    },
    "user_name": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String>"
          ]
        }
      ]
    }
  },
  "from": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
[
  "<AccountAddress>"
]

Parameters
{
  "migrate": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<String>",
            "<String with lowercase hex>"
          ]
        ]
      }
    ]
  },
  "module": "<String of size 64 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None

Parameters
{
  "game_room_id": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "lineup": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "should_enroll": "<Bool>",
  "team_name": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "user_name": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "JoinBeforeStartError": []
    },
    {
      "JoinAfterEndError": []
    },
    {
      "AlreadyJoinedGameRoomError": []
    },
    {
      "PayoutBeforeGameRoomEndError": []
    },
    {
      "PayoutAfterWinnerAnnounced": []
    },
    {
      "InvalidWinner": []
    },
    {
      "FailedUpgradeMissingModule": []
    },
    {
      "FailedUpgradeMissingContract": []
    },
    {
      "FailedUpgradeUnsupportedModuleVersion": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    },
    {
      "NotTokenContract": []
    },
    {
      "AmountLessThanEntryFee": []
    },
    {
      "OnlyAccount": []
    },
    {
      "WrongTokenID": []
    },
    {
      "ContractOwnerDenied": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "ParticipantsAlreadyJoined": []
    },
    {
      "MaxEntryReached": []
    },
    {
      "UserNotInGameRoom": []
    },
    {
      "WinnerNotPaidOutYet": []
    },
    {
      "TooManyRunnerUps": []
    },
    {
      "InvalidRunnerUp": []
    },
    {
      "RunnerUpsAlreadyPaid": []
    },
    {
      "WinnerCannotBeRunnerUp": []
    },
    {
      "AlreadyPaidUserInRunnerUps": []
    }
  ]
}
Return
None