def METHOD_NAME(rotkehlchen_api_server: 'APIServer') -> None:
    """
    Check that the compound endpoint correctly processes requests for stats
    """
    ethereum_transaction_decoder = rotkehlchen_api_server.rest_api.rotkehlchen.chains_aggregator.ethereum.transactions_decoder  # noqa: E501
    tx_hashes = [
        deserialize_evm_tx_hash('0x2bbb296ebf1d94ad28d54c446cb23709b3463c4a43d8b5b8438ff39b2b985e1c'),
    ]
    ethereum_transaction_decoder.decode_transaction_hashes(
        ignore_cache=True,
        tx_hashes=tx_hashes,
    )
    response = requests.get(api_url_for(
        rotkehlchen_api_server,
        'modulestatsresource',
        module='compound',
    ))
    result = assert_proper_response_with_result(response)
    assert result == {
        'interest_profit': {
            '0xF59D4937BF1305856C3a267bB07791507a3377Ee': {
                'eip155:1/erc20:0x6B175474E89094C44Da98b954EedeAC495271d0F': {
                    'amount': '1893.678208215722372195',
                    'usd_value': '1893.678208215722372195',
                },
            },
        },
        'liquidation_profit': {},
        'debt_loss': {},
        'rewards': {
            '0xF59D4937BF1305856C3a267bB07791507a3377Ee': {
                'eip155:1/erc20:0xc00e94Cb662C3520282E6f5717214004A7f26888': {
                    'amount': '0.003613066320816938',
                    'usd_value': '0.0010221689306641185',
                },
            },
        },
    }