<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_stakes(self):
 """List all your stakes. Returns: list of dicts: stakes Each stake is a dict with the following fields: * confidence (`decimal.Decimal`) * roundNumber (`int`) * tournamentId (`int`) * soc (`decimal.Decimal`) * insertedAt (`datetime`) * staker (`str`):
 NMR adress used for staking * status (`str`) * txHash (`str`) * value (`decimal.Decimal`) Example: [{'confidence': Decimal('0.053'), 'insertedAt': datetime.datetime(2017, 9, 26, 8, 18, 36, 709000, tzinfo=tzutc()), 'roundNumber': 74, 'soc': Decimal('56.60'), 'staker': '0x0000000000000000000000000000000000003f9e', 'status': 'confirmed', 'tournamentId': 1, 'txHash': '0x1cbb985629552a0f57b98a1e30a5e7f101a992121db318cef02e02aaf0e91c95', 'value': Decimal('3.00')}, .. ] """

        query = """
          query {
            user {
              stakeTxs {
                confidence
                insertedAt
                roundNumber
                tournamentId
                soc
                staker
                status
                txHash
                value
              }
            }
          }
        """
        data = self.raw_query(query, authorization=True)['data']
        stakes = data['user']['stakeTxs']
        # convert strings to python objects
        for s in stakes:
            utils.replace(s, "insertedAt", utils.parse_datetime_string)
            utils.replace(s, "soc", utils.parse_float_string)
            utils.replace(s, "confidence", utils.parse_float_string)
            utils.replace(s, "value", utils.parse_float_string)
        return stakes