I am trying to read a contract I just deployed, and it seems I am unable to do so, as indicated by the symbol next to "NO".


This makes no sense, however, because the function is totally public. Here is the implementation:

function doesRequestExist(address _institution, address _beneficiary, uint _achievementId) public view returns (bool exists) {
    return requestedPayouts[_institution][_beneficiary][_achievementId];

Why am I not allowed to call this function?

1 Answer 1


Well, I feel dumb. I thought that symbol meant that I could not call the function because I was sure the value would be YES for the input parameters I was testing. As it turns out, other factors were causing it to return NO. Once I fixed those things, it started returning YES and the symbol changed to a checkmark.

  • Could you please post the code of your solution?
    – Mowzer
    Commented Feb 18, 2018 at 18:42
  • There is no difference in code for this particular example. All I had to do was provide the Mist wallet with values that return a YES, at which point, it did.
    – dalton_c
    Commented Feb 19, 2018 at 3:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.