code: def Deserialize(self, reader):
          
          super(AccountState, self).Deserialize(reader)
          self.ScriptHash = reader.ReadUInt160()
          self.IsFrozen = reader.ReadBool()
          num_votes = reader.ReadVarInt()
          for i in range(0, num_votes):
              self.Votes.append(reader.ReadBytes(33))
  
          num_balances = reader.ReadVarInt()
          self.Balances = {}
          for i in range(0, num_balances):
              assetid = reader.ReadUInt256()
              amount = reader.ReadFixed8()
              self.Balances[assetid] = amount
docs: Deserialize full object.
  
          Args:
              reader (neocore.IO.BinaryReader):