android: Implement get_contracts() method in IMC state object