code: async function solidityState (storageResolver, astList, contractName) {
    var stateVars = extractStateVariables(contractName, astList)
    try {
      return await decodeState(stateVars, storageResolver)
    } catch (e) {
      return '<decoding failed - ' + e.message + '>'
    }
  }
docs: return the state of the given @a contractName as a json object
  
  @param {Object} storageResolver  - resolve storage queries
  @param {astList} astList  - AST nodes of all the sources
  @param {String} contractName  - contract for which state var should be resolved
  @return {Map} - return the state of the contract