Interpreting "goal app read" response

  • if the variable is a []byte, then tt is set to 1, and tb contains the value
  • if the variable is an uint, then tt is set to 2, and ui contains the value

You indeed need to dig in the code to find this information:

and the TEAL type: